llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpeh65msid.c'
source_filename = "/tmp/tmpeh65msid.c"
target datalayout = "e-m:e-p270: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/tmpeh65msid.c"
target datalayout = "e-m:e-p270: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/tmpsgt8qmx1.c'
source_filename = "/tmp/tmpsgt8qmx1.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sub_time_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%10 = load i64, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = icmp slt i64 %10, %13
br i1 %14, label %15, label %49
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 1
%21 = load i64, ptr %20, align 8
%22 = icmp sle i64 %18, %21
br i1 %22, label %23, label %28
23: ; preds = %15
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds %struct.timeval, ptr %24, i32 0, i32 1
store i64 0, ptr %25, align 8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.timeval, ptr %26, i32 0, i32 0
store i64 0, ptr %27, align 8
store i32 -1, ptr %4, align 4
br label %82
28: ; preds = %15
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 1
%31 = load i64, ptr %30, align 8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds %struct.timeval, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = add nsw i64 %34, 1
%36 = sub nsw i64 %31, %35
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.timeval, ptr %37, i32 0, i32 1
store i64 %36, ptr %38, align 8
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds %struct.timeval, ptr %39, i32 0, i32 0
%41 = load i64, ptr %40, align 8
%42 = add nsw i64 1000000, %41
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds %struct.timeval, ptr %43, i32 0, i32 0
%45 = load i64, ptr %44, align 8
%46 = sub nsw i64 %42, %45
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.timeval, ptr %47, i32 0, i32 0
store i64 %46, ptr %48, align 8
br label %81
49: ; preds = %3
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 1
%52 = load i64, ptr %51, align 8
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds %struct.timeval, ptr %53, i32 0, i32 1
%55 = load i64, ptr %54, align 8
%56 = icmp slt i64 %52, %55
br i1 %56, label %57, label %62
57: ; preds = %49
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds %struct.timeval, ptr %58, i32 0, i32 1
store i64 0, ptr %59, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds %struct.timeval, ptr %60, i32 0, i32 0
store i64 0, ptr %61, align 8
store i32 -1, ptr %4, align 4
br label %82
62: ; preds = %49
%63 = load ptr, ptr %6, align 8
%64 = getelementptr inbounds %struct.timeval, ptr %63, i32 0, i32 1
%65 = load i64, ptr %64, align 8
%66 = load ptr, ptr %7, align 8
%67 = getelementptr inbounds %struct.timeval, ptr %66, i32 0, i32 1
%68 = load i64, ptr %67, align 8
%69 = sub nsw i64 %65, %68
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds %struct.timeval, ptr %70, i32 0, i32 1
store i64 %69, ptr %71, align 8
%72 = load ptr, ptr %6, align 8
%73 = getelementptr inbounds %struct.timeval, ptr %72, i32 0, i32 0
%74 = load i64, ptr %73, align 8
%75 = load ptr, ptr %7, align 8
%76 = getelementptr inbounds %struct.timeval, ptr %75, i32 0, i32 0
%77 = load i64, ptr %76, align 8
%78 = sub nsw i64 %74, %77
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds %struct.timeval, ptr %79, i32 0, i32 0
store i64 %78, ptr %80, align 8
br label %81
81: ; preds = %62, %28
store i32 0, ptr %4, align 4
br label %82
82: ; preds = %81, %57, %23
%83 = load i32, ptr %4, align 4
ret i32 %83
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsgt8qmx1.c"
target datalayout = "e-m:e-p270: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.timeval = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sub_time_katcp(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load ptr, ptr %6, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%10 = load i64, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
%12 = getelementptr inbounds %struct.timeval, ptr %11, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = icmp slt i64 %10, %13
br i1 %14, label %15, label %49
15: ; preds = %3
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds %struct.timeval, ptr %16, i32 0, i32 1
%18 = load i64, ptr %17, align 8
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds %struct.timeval, ptr %19, i32 0, i32 1
%21 = load i64, ptr %20, align 8
%22 = icmp sle i64 %18, %21
br i1 %22, label %23, label %28
23: ; preds = %15
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds %struct.timeval, ptr %24, i32 0, i32 1
store i64 0, ptr %25, align 8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds %struct.timeval, ptr %26, i32 0, i32 0
store i64 0, ptr %27, align 8
store i32 -1, ptr %4, align 4
br label %82
28: ; preds = %15
%29 = load ptr, ptr %6, align 8
%30 = getelementptr inbounds %struct.timeval, ptr %29, i32 0, i32 1
%31 = load i64, ptr %30, align 8
%32 = load ptr, ptr %7, align 8
%33 = getelementptr inbounds %struct.timeval, ptr %32, i32 0, i32 1
%34 = load i64, ptr %33, align 8
%35 = add nsw i64 %34, 1
%36 = sub nsw i64 %31, %35
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds %struct.timeval, ptr %37, i32 0, i32 1
store i64 %36, ptr %38, align 8
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds %struct.timeval, ptr %39, i32 0, i32 0
%41 = load i64, ptr %40, align 8
%42 = add nsw i64 1000000, %41
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds %struct.timeval, ptr %43, i32 0, i32 0
%45 = load i64, ptr %44, align 8
%46 = sub nsw i64 %42, %45
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds %struct.timeval, ptr %47, i32 0, i32 0
store i64 %46, ptr %48, align 8
br label %81
49: ; preds = %3
%50 = load ptr, ptr %6, align 8
%51 = getelementptr inbounds %struct.timeval, ptr %50, i32 0, i32 1
%52 = load i64, ptr %51, align 8
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds %struct.timeval, ptr %53, i32 0, i32 1
%55 = load i64, ptr %54, align 8
%56 = icmp slt i64 %52, %55
br i1 %56, label %57, label %62
57: ; preds = %49
%58 = load ptr, ptr %5, align 8
%59 = getelementptr inbounds %struct.timeval, ptr %58, i32 0, i32 1
store i64 0, ptr %59, align 8
%60 = load ptr, ptr %5, align 8
%61 = getelementptr inbounds %struct.timeval, ptr %60, i32 0, i32 0
store i64 0, ptr %61, align 8
store i32 -1, ptr %4, align 4
br label %82
62: ; preds = %49
%63 = load ptr, ptr %6, align 8
%64 = getelementptr inbounds %struct.timeval, ptr %63, i32 0, i32 1
%65 = load i64, ptr %64, align 8
%66 = load ptr, ptr %7, align 8
%67 = getelementptr inbounds %struct.timeval, ptr %66, i32 0, i32 1
%68 = load i64, ptr %67, align 8
%69 = sub nsw i64 %65, %68
%70 = load ptr, ptr %5, align 8
%71 = getelementptr inbounds %struct.timeval, ptr %70, i32 0, i32 1
store i64 %69, ptr %71, align 8
%72 = load ptr, ptr %6, align 8
%73 = getelementptr inbounds %struct.timeval, ptr %72, i32 0, i32 0
%74 = load i64, ptr %73, align 8
%75 = load ptr, ptr %7, align 8
%76 = getelementptr inbounds %struct.timeval, ptr %75, i32 0, i32 0
%77 = load i64, ptr %76, align 8
%78 = sub nsw i64 %74, %77
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds %struct.timeval, ptr %79, i32 0, i32 0
store i64 %78, ptr %80, align 8
br label %81
81: ; preds = %62, %28
store i32 0, ptr %4, align 4
br label %82
82: ; preds = %81, %57, %23
%83 = load i32, ptr %4, align 4
ret i32 %83
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx57vrai9.c'
source_filename = "/tmp/tmpx57vrai9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g02(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
store double 0.000000e+00, ptr %18, align 8
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %20, align 8
store double 1.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %17, align 4
br label %23
23: ; preds = %82, %8
%24 = load i32, ptr %17, align 4
%25 = load i32, ptr %13, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %85
27: ; preds = %23
%28 = load double, ptr %18, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %17, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %29, i64 %31
%33 = load double, ptr %32, align 8
%34 = call double @cos(double noundef %33) #4
%35 = call double @pow(double noundef %34, i32 noundef 4)
%36 = fadd double %28, %35
store double %36, ptr %18, align 8
%37 = load double, ptr %19, align 8
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %17, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
%42 = load double, ptr %41, align 8
%43 = call double @cos(double noundef %42) #4
%44 = fmul double %37, %43
%45 = load ptr, ptr %9, align 8
%46 = load i32, ptr %17, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = call double @cos(double noundef %49) #4
%51 = fmul double %44, %50
store double %51, ptr %19, align 8
%52 = load double, ptr %20, align 8
%53 = load i32, ptr %17, align 4
%54 = add nsw i32 %53, 1
%55 = sitofp i32 %54 to double
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %17, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
%61 = fmul double %55, %60
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %17, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
%66 = load double, ptr %65, align 8
%67 = call double @llvm.fmuladd.f64(double %61, double %66, double %52)
store double %67, ptr %20, align 8
%68 = load double, ptr %21, align 8
%69 = load ptr, ptr %9, align 8
%70 = load i32, ptr %17, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, ptr %69, i64 %71
%73 = load double, ptr %72, align 8
%74 = fmul double %68, %73
store double %74, ptr %21, align 8
%75 = load double, ptr %22, align 8
%76 = load ptr, ptr %9, align 8
%77 = load i32, ptr %17, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, ptr %76, i64 %78
%80 = load double, ptr %79, align 8
%81 = fadd double %75, %80
store double %81, ptr %22, align 8
br label %82
82: ; preds = %27
%83 = load i32, ptr %17, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %17, align 4
br label %23, !llvm.loop !6
85: ; preds = %23
%86 = load double, ptr %18, align 8
%87 = load double, ptr %19, align 8
%88 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %87, double %86)
%89 = load double, ptr %20, align 8
%90 = call double @sqrt(double noundef %89) #4
%91 = fdiv double %88, %90
%92 = call double @llvm.fabs.f64(double %91)
%93 = load ptr, ptr %10, align 8
%94 = getelementptr inbounds double, ptr %93, i64 0
store double %92, ptr %94, align 8
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds double, ptr %95, i64 0
%97 = load double, ptr %96, align 8
%98 = fneg double %97
%99 = load ptr, ptr %10, align 8
%100 = getelementptr inbounds double, ptr %99, i64 0
store double %98, ptr %100, align 8
%101 = load double, ptr %21, align 8
%102 = fsub double 7.500000e-01, %101
%103 = load ptr, ptr %11, align 8
%104 = getelementptr inbounds double, ptr %103, i64 0
store double %102, ptr %104, align 8
%105 = load double, ptr %22, align 8
%106 = load i32, ptr %13, align 4
%107 = sitofp i32 %106 to double
%108 = call double @llvm.fmuladd.f64(double -7.500000e+00, double %107, double %105)
%109 = load ptr, ptr %11, align 8
%110 = getelementptr inbounds double, ptr %109, i64 1
store double %108, ptr %110, align 8
ret void
}
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx57vrai9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g02(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store ptr %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store ptr %2, ptr %11, align 8
store ptr %3, ptr %12, align 8
store i32 %4, ptr %13, align 4
store i32 %5, ptr %14, align 4
store i32 %6, ptr %15, align 4
store i32 %7, ptr %16, align 4
store double 0.000000e+00, ptr %18, align 8
store double 1.000000e+00, ptr %19, align 8
store double 0.000000e+00, ptr %20, align 8
store double 1.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %22, align 8
store i32 0, ptr %17, align 4
%23 = load i32, ptr %17, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %.lr.ph, label %87
.lr.ph: ; preds = %8
br label %26
26: ; preds = %.lr.ph, %81
%27 = load double, ptr %18, align 8
%28 = load ptr, ptr %9, align 8
%29 = load i32, ptr %17, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %28, i64 %30
%32 = load double, ptr %31, align 8
%33 = call double @cos(double noundef %32) #4
%34 = call double @pow(double noundef %33, i32 noundef 4)
%35 = fadd double %27, %34
store double %35, ptr %18, align 8
%36 = load double, ptr %19, align 8
%37 = load ptr, ptr %9, align 8
%38 = load i32, ptr %17, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = call double @cos(double noundef %41) #4
%43 = fmul double %36, %42
%44 = load ptr, ptr %9, align 8
%45 = load i32, ptr %17, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = call double @cos(double noundef %48) #4
%50 = fmul double %43, %49
store double %50, ptr %19, align 8
%51 = load double, ptr %20, align 8
%52 = load i32, ptr %17, align 4
%53 = add nsw i32 %52, 1
%54 = sitofp i32 %53 to double
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %17, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %55, i64 %57
%59 = load double, ptr %58, align 8
%60 = fmul double %54, %59
%61 = load ptr, ptr %9, align 8
%62 = load i32, ptr %17, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
%65 = load double, ptr %64, align 8
%66 = call double @llvm.fmuladd.f64(double %60, double %65, double %51)
store double %66, ptr %20, align 8
%67 = load double, ptr %21, align 8
%68 = load ptr, ptr %9, align 8
%69 = load i32, ptr %17, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, ptr %68, i64 %70
%72 = load double, ptr %71, align 8
%73 = fmul double %67, %72
store double %73, ptr %21, align 8
%74 = load double, ptr %22, align 8
%75 = load ptr, ptr %9, align 8
%76 = load i32, ptr %17, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds double, ptr %75, i64 %77
%79 = load double, ptr %78, align 8
%80 = fadd double %74, %79
store double %80, ptr %22, align 8
br label %81
81: ; preds = %26
%82 = load i32, ptr %17, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %17, align 4
%84 = load i32, ptr %17, align 4
%85 = load i32, ptr %13, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %81
br label %87
87: ; preds = %._crit_edge, %8
%88 = load double, ptr %18, align 8
%89 = load double, ptr %19, align 8
%90 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %89, double %88)
%91 = load double, ptr %20, align 8
%92 = call double @sqrt(double noundef %91) #4
%93 = fdiv double %90, %92
%94 = call double @llvm.fabs.f64(double %93)
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds double, ptr %95, i64 0
store double %94, ptr %96, align 8
%97 = load ptr, ptr %10, align 8
%98 = getelementptr inbounds double, ptr %97, i64 0
%99 = load double, ptr %98, align 8
%100 = fneg double %99
%101 = load ptr, ptr %10, align 8
%102 = getelementptr inbounds double, ptr %101, i64 0
store double %100, ptr %102, align 8
%103 = load double, ptr %21, align 8
%104 = fsub double 7.500000e-01, %103
%105 = load ptr, ptr %11, align 8
%106 = getelementptr inbounds double, ptr %105, i64 0
store double %104, ptr %106, align 8
%107 = load double, ptr %22, align 8
%108 = load i32, ptr %13, align 4
%109 = sitofp i32 %108 to double
%110 = call double @llvm.fmuladd.f64(double -7.500000e+00, double %109, double %107)
%111 = load ptr, ptr %11, align 8
%112 = getelementptr inbounds double, ptr %111, i64 1
store double %110, ptr %112, align 8
ret void
}
declare double @pow(double noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @cos(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpsezpjwqu.c'
source_filename = "/tmp/tmpsezpjwqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-r\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-m\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%s = %i \09\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c" \0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"\0A (JVG)\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-a\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%i,%i\0A\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"$%i = %i \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printReg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 31, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @strcmp(ptr noundef @.str, ptr noundef %13)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %48
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @getRegisterNumber(ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @getRegisterNumber(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i32 1
store ptr %26, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 0
%29 = xor i1 %28, true
%30 = zext i1 %29 to i32
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %40
33: ; preds = %16
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = call i32 @checkAllRegistersAreValid(ptr noundef %35)
%37 = icmp ne i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = call i32 (...) @printInvalidCommandMessage()
br label %143
40: ; preds = %33, %16
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = call i32 (...) @printInvalidCommandMessage()
br label %143
47: ; preds = %40
br label %108
48: ; preds = %2
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %51)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %95
54: ; preds = %48
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds ptr, ptr %55, i32 1
store ptr %56, ptr %4, align 8
%57 = load ptr, ptr %4, align 8
%58 = call i32 @checkAllRegistersAreValid(ptr noundef %57)
%59 = icmp ne i32 %58, 0
br i1 %59, label %62, label %60
60: ; preds = %54
%61 = call i32 (...) @printInvalidCommandMessage()
br label %143
62: ; preds = %54
store i32 0, ptr %7, align 4
br label %63
63: ; preds = %92, %62
%64 = load ptr, ptr %4, align 8
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds ptr, ptr %64, i64 %66
%68 = load ptr, ptr %67, align 8
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %93
70: ; preds = %63
%71 = load ptr, ptr %4, align 8
%72 = load i32, ptr %7, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = load ptr, ptr %3, align 8
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %7, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds ptr, ptr %77, i64 %79
%81 = load ptr, ptr %80, align 8
%82 = call i32 @getRegisterNumber(ptr noundef %81)
%83 = call i32 @getRegisterValue(ptr noundef %76, i32 noundef %82)
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %75, i32 noundef %83)
%85 = load i32, ptr %7, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %7, align 4
%87 = load i32, ptr %7, align 4
%88 = srem i32 %87, 8
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %92
90: ; preds = %70
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %92
92: ; preds = %90, %70
br label %63, !llvm.loop !6
93: ; preds = %63
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %143
95: ; preds = %48
%96 = load ptr, ptr %4, align 8
%97 = getelementptr inbounds ptr, ptr %96, i64 0
%98 = load ptr, ptr %97, align 8
%99 = call i64 @strcmp(ptr noundef @.str.5, ptr noundef %98)
%100 = icmp ne i64 %99, 0
%101 = xor i1 %100, true
%102 = zext i1 %101 to i32
%103 = icmp eq i32 %102, 0
br i1 %103, label %104, label %106
104: ; preds = %95
%105 = call i32 (...) @printInvalidCommandMessage()
br label %143
106: ; preds = %95
br label %107
107: ; preds = %106
br label %108
108: ; preds = %107, %47
%109 = load i32, ptr %5, align 4
store i32 %109, ptr %8, align 4
%110 = load i32, ptr %8, align 4
%111 = load i32, ptr %6, align 4
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %110, i32 noundef %111)
store i32 0, ptr %9, align 4
br label %113
113: ; preds = %140, %108
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %6, align 4
%116 = srem i32 %115, 8
%117 = icmp slt i32 %114, %116
br i1 %117, label %118, label %143
118: ; preds = %113
store i32 0, ptr %10, align 4
br label %119
119: ; preds = %135, %118
%120 = load i32, ptr %10, align 4
%121 = icmp slt i32 %120, 8
br i1 %121, label %122, label %138
122: ; preds = %119
%123 = load i32, ptr %8, align 4
%124 = load i32, ptr %6, align 4
%125 = icmp sgt i32 %123, %124
br i1 %125, label %126, label %127
126: ; preds = %122
br label %138
127: ; preds = %122
%128 = load i32, ptr %8, align 4
%129 = load ptr, ptr %3, align 8
%130 = load i32, ptr %8, align 4
%131 = call i32 @getRegisterValue(ptr noundef %129, i32 noundef %130)
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %128, i32 noundef %131)
%133 = load i32, ptr %8, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %8, align 4
br label %135
135: ; preds = %127
%136 = load i32, ptr %10, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %10, align 4
br label %119, !llvm.loop !8
138: ; preds = %126, %119
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %140
140: ; preds = %138
%141 = load i32, ptr %9, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %9, align 4
br label %113, !llvm.loop !9
143: ; preds = %38, %45, %60, %93, %104, %113
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @getRegisterNumber(ptr noundef) #1
declare i32 @checkAllRegistersAreValid(ptr noundef) #1
declare i32 @printInvalidCommandMessage(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getRegisterValue(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsezpjwqu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-r\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-m\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%s = %i \09\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c" \0A\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"\0A (JVG)\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"-a\00", align 1
@.str.6 = private unnamed_addr constant [7 x i8] c"%i,%i\0A\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"$%i = %i \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printReg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
store i32 31, ptr %6, align 4
%11 = load ptr, ptr %4, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i64 @strcmp(ptr noundef @.str, ptr noundef %13)
%15 = icmp eq i64 %14, 0
br i1 %15, label %16, label %48
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds ptr, ptr %17, i64 1
%19 = load ptr, ptr %18, align 8
%20 = call i32 @getRegisterNumber(ptr noundef %19)
store i32 %20, ptr %5, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
%24 = call i32 @getRegisterNumber(ptr noundef %23)
store i32 %24, ptr %6, align 4
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i32 1
store ptr %26, ptr %4, align 8
%27 = load i32, ptr %5, align 4
%28 = icmp ne i32 %27, 0
%29 = xor i1 %28, true
%30 = zext i1 %29 to i32
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %40
33: ; preds = %16
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 1
%36 = call i32 @checkAllRegistersAreValid(ptr noundef %35)
%37 = icmp ne i32 %36, 0
br i1 %37, label %40, label %38
38: ; preds = %33
%39 = call i32 (...) @printInvalidCommandMessage()
br label %152
40: ; preds = %33, %16
%41 = load ptr, ptr %4, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 2
%43 = load ptr, ptr %42, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %47
45: ; preds = %40
%46 = call i32 (...) @printInvalidCommandMessage()
br label %152
47: ; preds = %40
br label %113
48: ; preds = %2
%49 = load ptr, ptr %4, align 8
%50 = getelementptr inbounds ptr, ptr %49, i64 0
%51 = load ptr, ptr %50, align 8
%52 = call i64 @strcmp(ptr noundef @.str.1, ptr noundef %51)
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %100
54: ; preds = %48
%55 = load ptr, ptr %4, align 8
%56 = getelementptr inbounds ptr, ptr %55, i32 1
store ptr %56, ptr %4, align 8
%57 = load ptr, ptr %4, align 8
%58 = call i32 @checkAllRegistersAreValid(ptr noundef %57)
%59 = icmp ne i32 %58, 0
br i1 %59, label %62, label %60
60: ; preds = %54
%61 = call i32 (...) @printInvalidCommandMessage()
br label %152
62: ; preds = %54
store i32 0, ptr %7, align 4
%63 = load ptr, ptr %4, align 8
%64 = load i32, ptr %7, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %.lr.ph, label %98
.lr.ph: ; preds = %62
br label %69
69: ; preds = %.lr.ph, %91
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds ptr, ptr %70, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load ptr, ptr %3, align 8
%76 = load ptr, ptr %4, align 8
%77 = load i32, ptr %7, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds ptr, ptr %76, i64 %78
%80 = load ptr, ptr %79, align 8
%81 = call i32 @getRegisterNumber(ptr noundef %80)
%82 = call i32 @getRegisterValue(ptr noundef %75, i32 noundef %81)
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %74, i32 noundef %82)
%84 = load i32, ptr %7, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %7, align 4
%86 = load i32, ptr %7, align 4
%87 = srem i32 %86, 8
%88 = icmp eq i32 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %69
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %91
91: ; preds = %89, %69
%92 = load ptr, ptr %4, align 8
%93 = load i32, ptr %7, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds ptr, ptr %92, i64 %94
%96 = load ptr, ptr %95, align 8
%97 = icmp ne ptr %96, null
br i1 %97, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %91
br label %98
98: ; preds = %._crit_edge, %62
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %152
100: ; preds = %48
%101 = load ptr, ptr %4, align 8
%102 = getelementptr inbounds ptr, ptr %101, i64 0
%103 = load ptr, ptr %102, align 8
%104 = call i64 @strcmp(ptr noundef @.str.5, ptr noundef %103)
%105 = icmp ne i64 %104, 0
%106 = xor i1 %105, true
%107 = zext i1 %106 to i32
%108 = icmp eq i32 %107, 0
br i1 %108, label %109, label %111
109: ; preds = %100
%110 = call i32 (...) @printInvalidCommandMessage()
br label %152
111: ; preds = %100
br label %112
112: ; preds = %111
br label %113
113: ; preds = %112, %47
%114 = load i32, ptr %5, align 4
store i32 %114, ptr %8, align 4
%115 = load i32, ptr %8, align 4
%116 = load i32, ptr %6, align 4
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %115, i32 noundef %116)
store i32 0, ptr %9, align 4
%118 = load i32, ptr %9, align 4
%119 = load i32, ptr %6, align 4
%120 = srem i32 %119, 8
%121 = icmp slt i32 %118, %120
br i1 %121, label %.lr.ph5, label %.loopexit1
.lr.ph5: ; preds = %113
br label %122
122: ; preds = %.lr.ph5, %145
store i32 0, ptr %10, align 4
%123 = load i32, ptr %10, align 4
%124 = icmp slt i32 %123, 8
br i1 %124, label %.lr.ph3, label %.loopexit
.lr.ph3: ; preds = %122
br label %125
125: ; preds = %.lr.ph3, %138
%126 = load i32, ptr %8, align 4
%127 = load i32, ptr %6, align 4
%128 = icmp sgt i32 %126, %127
br i1 %128, label %129, label %130
129: ; preds = %125
br label %143
130: ; preds = %125
%131 = load i32, ptr %8, align 4
%132 = load ptr, ptr %3, align 8
%133 = load i32, ptr %8, align 4
%134 = call i32 @getRegisterValue(ptr noundef %132, i32 noundef %133)
%135 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %131, i32 noundef %134)
%136 = load i32, ptr %8, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %8, align 4
br label %138
138: ; preds = %130
%139 = load i32, ptr %10, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %10, align 4
%141 = load i32, ptr %10, align 4
%142 = icmp slt i32 %141, 8
br i1 %142, label %125, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %138
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %122
br label %143
143: ; preds = %.loopexit, %129
%144 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %145
145: ; preds = %143
%146 = load i32, ptr %9, align 4
%147 = add nsw i32 %146, 1
store i32 %147, ptr %9, align 4
%148 = load i32, ptr %9, align 4
%149 = load i32, ptr %6, align 4
%150 = srem i32 %149, 8
%151 = icmp slt i32 %148, %150
br i1 %151, label %122, label %..loopexit1_crit_edge, !llvm.loop !9
..loopexit1_crit_edge: ; preds = %145
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %113
br label %152
152: ; preds = %.loopexit1, %109, %98, %60, %45, %38
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @getRegisterNumber(ptr noundef) #1
declare i32 @checkAllRegistersAreValid(ptr noundef) #1
declare i32 @printInvalidCommandMessage(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getRegisterValue(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp26x3mokv.c'
source_filename = "/tmp/tmp26x3mokv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bloquerAccesIndispensableNouveauNiveau(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @bloquerAccesIndispensableLigneNouveauNiveau(i32 noundef %3, i32 noundef 1, i32 noundef 38, i32 noundef 11)
%5 = load i32, ptr %2, align 4
%6 = call i32 @bloquerAccesIndispensableLigneNouveauNiveau(i32 noundef %5, i32 noundef 27, i32 noundef 38, i32 noundef 12)
%7 = load i32, ptr %2, align 4
%8 = call i32 @bloquerAccesIndispensableColonneNouveauNiveau(i32 noundef %7, i32 noundef 19, i32 noundef 1, i32 noundef 26)
%9 = load i32, ptr %2, align 4
%10 = call i32 @bloquerAccesIndispensableColonneNouveauNiveau(i32 noundef %9, i32 noundef 19, i32 noundef 50, i32 noundef 29)
ret void
}
declare i32 @bloquerAccesIndispensableLigneNouveauNiveau(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bloquerAccesIndispensableColonneNouveauNiveau(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp26x3mokv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bloquerAccesIndispensableNouveauNiveau(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @bloquerAccesIndispensableLigneNouveauNiveau(i32 noundef %3, i32 noundef 1, i32 noundef 38, i32 noundef 11)
%5 = load i32, ptr %2, align 4
%6 = call i32 @bloquerAccesIndispensableLigneNouveauNiveau(i32 noundef %5, i32 noundef 27, i32 noundef 38, i32 noundef 12)
%7 = load i32, ptr %2, align 4
%8 = call i32 @bloquerAccesIndispensableColonneNouveauNiveau(i32 noundef %7, i32 noundef 19, i32 noundef 1, i32 noundef 26)
%9 = load i32, ptr %2, align 4
%10 = call i32 @bloquerAccesIndispensableColonneNouveauNiveau(i32 noundef %9, i32 noundef 19, i32 noundef 50, i32 noundef 29)
ret void
}
declare i32 @bloquerAccesIndispensableLigneNouveauNiveau(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @bloquerAccesIndispensableColonneNouveauNiveau(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpatcmwg6y.c'
source_filename = "/tmp/tmpatcmwg6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"enter some words with tabs backspaces and \\ inside:\0A\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
br label %4
4: ; preds = %31, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %32
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 92
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = call i32 @putchar(i32 noundef 92)
%13 = call i32 @putchar(i32 noundef 92)
br label %31
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, 8
br i1 %16, label %17, label %20
17: ; preds = %14
%18 = call i32 @putchar(i32 noundef 92)
%19 = call i32 @putchar(i32 noundef 98)
br label %30
20: ; preds = %14
%21 = load i32, ptr %2, align 4
%22 = icmp eq i32 %21, 9
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 @putchar(i32 noundef 92)
%25 = call i32 @putchar(i32 noundef 116)
br label %29
26: ; preds = %20
%27 = load i32, ptr %2, align 4
%28 = call i32 @putchar(i32 noundef %27)
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29, %17
br label %31
31: ; preds = %30, %11
br label %4, !llvm.loop !6
32: ; preds = %4
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpatcmwg6y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"enter some words with tabs backspaces and \\ inside:\0A\00", align 1
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %34
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %30
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 92
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call i32 @putchar(i32 noundef 92)
%12 = call i32 @putchar(i32 noundef 92)
br label %30
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = icmp eq i32 %14, 8
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = call i32 @putchar(i32 noundef 92)
%18 = call i32 @putchar(i32 noundef 98)
br label %29
19: ; preds = %13
%20 = load i32, ptr %2, align 4
%21 = icmp eq i32 %20, 9
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = call i32 @putchar(i32 noundef 92)
%24 = call i32 @putchar(i32 noundef 116)
br label %28
25: ; preds = %19
%26 = load i32, ptr %2, align 4
%27 = call i32 @putchar(i32 noundef %26)
br label %28
28: ; preds = %25, %22
br label %29
29: ; preds = %28, %16
br label %30
30: ; preds = %29, %10
%31 = call i32 (...) @getchar()
store i32 %31, ptr %2, align 4
%32 = load i32, ptr @EOF, align 4
%33 = icmp ne i32 %31, %32
br i1 %33, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %34
34: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_4815wq1.c'
source_filename = "/tmp/tmp_4815wq1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_4815wq1.c"
target datalayout = "e-m:e-p270: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/tmp4wmrs2t9.c'
source_filename = "/tmp/tmp4wmrs2t9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p_ls_closest_approach(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [3 x double], align 16
%10 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @diff_3d(ptr noundef %11, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds double, ptr %15, i64 0
%17 = load double, ptr %16, align 8
%18 = fcmp oeq double %17, 0.000000e+00
br i1 %18, label %19, label %33
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds double, ptr %20, i64 1
%22 = load double, ptr %21, align 8
%23 = fcmp oeq double %22, 0.000000e+00
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds double, ptr %25, i64 2
%27 = load double, ptr %26, align 8
%28 = fcmp oeq double %27, 0.000000e+00
br i1 %28, label %29, label %33
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i32 @cp_3d(ptr noundef %30, ptr noundef %31)
br label %69
33: ; preds = %24, %19, %4
%34 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %6, align 8
%37 = call i32 @diff_3d(ptr noundef %34, ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0
%40 = call double @inner_3d(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %5, align 8
%43 = call double @inner_3d(ptr noundef %41, ptr noundef %42)
%44 = fdiv double %40, %43
store double %44, ptr %10, align 8
%45 = load double, ptr %10, align 8
%46 = fcmp olt double %45, 0.000000e+00
br i1 %46, label %47, label %51
47: ; preds = %33
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = call i32 @cp_3d(ptr noundef %48, ptr noundef %49)
br label %68
51: ; preds = %33
%52 = load double, ptr %10, align 8
%53 = fcmp ogt double %52, 1.000000e+00
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %7, align 8
%57 = call i32 @cp_3d(ptr noundef %55, ptr noundef %56)
br label %67
58: ; preds = %51
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %5, align 8
%61 = load double, ptr %10, align 8
%62 = call i32 @scale_3d(ptr noundef %59, ptr noundef %60, double noundef %61)
%63 = load ptr, ptr %5, align 8
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %6, align 8
%66 = call i32 @sum_3d(ptr noundef %63, ptr noundef %64, ptr noundef %65)
br label %67
67: ; preds = %58, %54
br label %68
68: ; preds = %67, %47
br label %69
69: ; preds = %68, %29
ret void
}
declare i32 @diff_3d(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cp_3d(ptr noundef, ptr noundef) #1
declare double @inner_3d(ptr noundef, ptr noundef) #1
declare i32 @scale_3d(ptr noundef, ptr noundef, double noundef) #1
declare i32 @sum_3d(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/tmp4wmrs2t9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @p_ls_closest_approach(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [3 x double], align 16
%10 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
%14 = call i32 @diff_3d(ptr noundef %11, ptr noundef %12, ptr noundef %13)
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds double, ptr %15, i64 0
%17 = load double, ptr %16, align 8
%18 = fcmp oeq double %17, 0.000000e+00
br i1 %18, label %19, label %33
19: ; preds = %4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds double, ptr %20, i64 1
%22 = load double, ptr %21, align 8
%23 = fcmp oeq double %22, 0.000000e+00
br i1 %23, label %24, label %33
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds double, ptr %25, i64 2
%27 = load double, ptr %26, align 8
%28 = fcmp oeq double %27, 0.000000e+00
br i1 %28, label %29, label %33
29: ; preds = %24
%30 = load ptr, ptr %5, align 8
%31 = load ptr, ptr %6, align 8
%32 = call i32 @cp_3d(ptr noundef %30, ptr noundef %31)
br label %69
33: ; preds = %24, %19, %4
%34 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0
%35 = load ptr, ptr %8, align 8
%36 = load ptr, ptr %6, align 8
%37 = call i32 @diff_3d(ptr noundef %34, ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds [3 x double], ptr %9, i64 0, i64 0
%40 = call double @inner_3d(ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %5, align 8
%42 = load ptr, ptr %5, align 8
%43 = call double @inner_3d(ptr noundef %41, ptr noundef %42)
%44 = fdiv double %40, %43
store double %44, ptr %10, align 8
%45 = load double, ptr %10, align 8
%46 = fcmp olt double %45, 0.000000e+00
br i1 %46, label %47, label %51
47: ; preds = %33
%48 = load ptr, ptr %5, align 8
%49 = load ptr, ptr %6, align 8
%50 = call i32 @cp_3d(ptr noundef %48, ptr noundef %49)
br label %68
51: ; preds = %33
%52 = load double, ptr %10, align 8
%53 = fcmp ogt double %52, 1.000000e+00
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %7, align 8
%57 = call i32 @cp_3d(ptr noundef %55, ptr noundef %56)
br label %67
58: ; preds = %51
%59 = load ptr, ptr %5, align 8
%60 = load ptr, ptr %5, align 8
%61 = load double, ptr %10, align 8
%62 = call i32 @scale_3d(ptr noundef %59, ptr noundef %60, double noundef %61)
%63 = load ptr, ptr %5, align 8
%64 = load ptr, ptr %5, align 8
%65 = load ptr, ptr %6, align 8
%66 = call i32 @sum_3d(ptr noundef %63, ptr noundef %64, ptr noundef %65)
br label %67
67: ; preds = %58, %54
br label %68
68: ; preds = %67, %47
br label %69
69: ; preds = %68, %29
ret void
}
declare i32 @diff_3d(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @cp_3d(ptr noundef, ptr noundef) #1
declare double @inner_3d(ptr noundef, ptr noundef) #1
declare i32 @scale_3d(ptr noundef, ptr noundef, double noundef) #1
declare i32 @sum_3d(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/tmpleyidlf7.c'
source_filename = "/tmp/tmpleyidlf7.c"
target datalayout = "e-m:e-p270: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/tmpleyidlf7.c"
target datalayout = "e-m:e-p270: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/tmptq4r_h9l.c'
source_filename = "/tmp/tmptq4r_h9l.c"
target datalayout = "e-m:e-p270: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/tmptq4r_h9l.c"
target datalayout = "e-m:e-p270: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/tmp57dkdto0.c'
source_filename = "/tmp/tmp57dkdto0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapsort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %25, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %28
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = sub nsw i32 %12, %13
%15 = call i32 @MaxHeapify(ptr noundef %11, i32 noundef 1, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i32, ptr %16, i64 1
%18 = load ptr, ptr %3, align 8
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %18, i64 %22
%24 = call i32 @swap(ptr noundef %17, ptr noundef %23)
br label %25
25: ; preds = %10
%26 = load i32, ptr %5, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %5, align 4
br label %6, !llvm.loop !6
28: ; preds = %6
ret void
}
declare i32 @MaxHeapify(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp57dkdto0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @heapsort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %24
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = sub nsw i32 %11, %12
%14 = call i32 @MaxHeapify(ptr noundef %10, i32 noundef 1, i32 noundef %13)
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i32, ptr %15, i64 1
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %17, i64 %21
%23 = call i32 @swap(ptr noundef %16, ptr noundef %22)
br label %24
24: ; preds = %9
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
ret void
}
declare i32 @MaxHeapify(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpojf4iy_2.c'
source_filename = "/tmp/tmpojf4iy_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
store i32 0, ptr %1, align 4
store i16 -16909, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = call i32 @print_date(i16 noundef zeroext %3)
%5 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %5
}
declare i32 @print_date(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojf4iy_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
store i32 0, ptr %1, align 4
store i16 -16909, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = call i32 @print_date(i16 noundef zeroext %3)
%5 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %5
}
declare i32 @print_date(i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8cxz1yij.c'
source_filename = "/tmp/tmp8cxz1yij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gmtime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8cxz1yij.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gmtime(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn6sg6u90.c'
source_filename = "/tmp/tmpn6sg6u90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @artificial2() #0 {
%1 = alloca [7 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 28, i1 false)
store i32 0, ptr %3, align 4
%7 = getelementptr inbounds [7 x i32], ptr %1, i64 0, i64 0
%8 = call i32 @avail_colo(i8 noundef signext 94, ptr noundef %7)
%9 = getelementptr inbounds [7 x i32], ptr %1, i64 0, i64 0
%10 = call i32 @number_of_choice(ptr noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %16
16: ; preds = %35, %0
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 7
br i1 %18, label %19, label %38
19: ; preds = %16
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [7 x i32], ptr %1, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %23, 1
br i1 %24, label %25, label %34
25: ; preds = %19
%26 = load i32, ptr %6, align 4
%27 = call signext i8 @convert_int_char(i32 noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %3, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
store i8 %27, ptr %31, align 1
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %34
34: ; preds = %25, %19
br label %35
35: ; preds = %34
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %16, !llvm.loop !6
38: ; preds = %16
%39 = load ptr, ptr %5, align 8
%40 = call i32 (...) @rand()
%41 = load i32, ptr %2, align 4
%42 = srem i32 %40, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %39, i64 %43
%45 = load i8, ptr %44, align 1
store i8 %45, ptr %4, align 1
%46 = load ptr, ptr %5, align 8
%47 = call i32 @free(ptr noundef %46)
%48 = load i8, ptr %4, align 1
%49 = call i32 @printf(ptr noundef @.str, i8 noundef signext %48)
%50 = load i8, ptr %4, align 1
%51 = call i32 @update(i8 noundef signext 94, i8 noundef signext %50)
%52 = call i32 (...) @print_board()
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @avail_colo(i8 noundef signext, ptr noundef) #2
declare i32 @number_of_choice(ptr noundef) #2
declare ptr @malloc(i32 noundef) #2
declare signext i8 @convert_int_char(i32 noundef) #2
declare i32 @rand(...) #2
declare i32 @free(ptr noundef) #2
declare i32 @printf(ptr noundef, i8 noundef signext) #2
declare i32 @update(i8 noundef signext, i8 noundef signext) #2
declare i32 @print_board(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn6sg6u90.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @artificial2() #0 {
%1 = alloca [7 x i32], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
call void @llvm.memset.p0.i64(ptr align 16 %1, i8 0, i64 28, i1 false)
store i32 0, ptr %3, align 4
%7 = getelementptr inbounds [7 x i32], ptr %1, i64 0, i64 0
%8 = call i32 @avail_colo(i8 noundef signext 94, ptr noundef %7)
%9 = getelementptr inbounds [7 x i32], ptr %1, i64 0, i64 0
%10 = call i32 @number_of_choice(ptr noundef %9)
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = mul i64 %12, 1
%14 = trunc i64 %13 to i32
%15 = call ptr @malloc(i32 noundef %14)
store ptr %15, ptr %5, align 8
store i32 0, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 7
br i1 %17, label %.lr.ph, label %39
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %34
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [7 x i32], ptr %1, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %24, label %33
24: ; preds = %18
%25 = load i32, ptr %6, align 4
%26 = call signext i8 @convert_int_char(i32 noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
br label %33
33: ; preds = %24, %18
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 7
br i1 %38, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %0
%40 = load ptr, ptr %5, align 8
%41 = call i32 (...) @rand()
%42 = load i32, ptr %2, align 4
%43 = srem i32 %41, %42
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %40, i64 %44
%46 = load i8, ptr %45, align 1
store i8 %46, ptr %4, align 1
%47 = load ptr, ptr %5, align 8
%48 = call i32 @free(ptr noundef %47)
%49 = load i8, ptr %4, align 1
%50 = call i32 @printf(ptr noundef @.str, i8 noundef signext %49)
%51 = load i8, ptr %4, align 1
%52 = call i32 @update(i8 noundef signext 94, i8 noundef signext %51)
%53 = call i32 (...) @print_board()
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @avail_colo(i8 noundef signext, ptr noundef) #2
declare i32 @number_of_choice(ptr noundef) #2
declare ptr @malloc(i32 noundef) #2
declare signext i8 @convert_int_char(i32 noundef) #2
declare i32 @rand(...) #2
declare i32 @free(ptr noundef) #2
declare i32 @printf(ptr noundef, i8 noundef signext) #2
declare i32 @update(i8 noundef signext, i8 noundef signext) #2
declare i32 @print_board(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpki7zdjbf.c'
source_filename = "/tmp/tmpki7zdjbf.c"
target datalayout = "e-m:e-p270: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/tmpki7zdjbf.c"
target datalayout = "e-m:e-p270: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/tmpck2pq6cs.c'
source_filename = "/tmp/tmpck2pq6cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @con_early_putstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
br label %4
4: ; preds = %10, %1
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
store i8 %7, ptr %3, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %4
%11 = load i8, ptr %3, align 1
%12 = call i32 @con_early_putch(i8 noundef signext %11)
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @con_early_putch(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpck2pq6cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @con_early_putstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i32 1
store ptr %5, ptr %2, align 8
%6 = load i8, ptr %4, align 1
store i8 %6, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %9
%10 = load i8, ptr %3, align 1
%11 = call i32 @con_early_putch(i8 noundef signext %10)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i32 1
store ptr %13, ptr %2, align 8
%14 = load i8, ptr %12, align 1
store i8 %14, ptr %3, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %17
17: ; preds = %._crit_edge, %1
ret void
}
declare i32 @con_early_putch(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp4by65qtj.c'
source_filename = "/tmp/tmp4by65qtj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpc_dac_set_output() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i64 8, ptr %3, align 8
br label %4
4: ; preds = %8, %0
%5 = call i64 (...) @usart_in_waiting()
%6 = load i64, ptr %3, align 8
%7 = icmp ult i64 %5, %6
br i1 %7, label %8, label %9
8: ; preds = %4
br label %4, !llvm.loop !6
9: ; preds = %4
%10 = call i32 @usart_read(ptr noundef %1, i32 noundef 4)
%11 = call i32 @usart_read(ptr noundef %2, i32 noundef 4)
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %2, align 4
%14 = call i32 @dac_set_output(i32 noundef %12, i32 noundef %13)
ret void
}
declare i64 @usart_in_waiting(...) #1
declare i32 @usart_read(ptr noundef, i32 noundef) #1
declare i32 @dac_set_output(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/tmp4by65qtj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rpc_dac_set_output() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i64, align 8
store i64 8, ptr %3, align 8
br label %4
4: ; preds = %4, %0
%5 = call i64 (...) @usart_in_waiting()
%6 = load i64, ptr %3, align 8
%7 = icmp ult i64 %5, %6
br i1 %7, label %4, label %8, !llvm.loop !6
8: ; preds = %4
%9 = call i32 @usart_read(ptr noundef %1, i32 noundef 4)
%10 = call i32 @usart_read(ptr noundef %2, i32 noundef 4)
%11 = load i32, ptr %1, align 4
%12 = load i32, ptr %2, align 4
%13 = call i32 @dac_set_output(i32 noundef %11, i32 noundef %12)
ret void
}
declare i64 @usart_in_waiting(...) #1
declare i32 @usart_read(ptr noundef, i32 noundef) #1
declare i32 @dac_set_output(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/tmpv3ma7k3_.c'
source_filename = "/tmp/tmpv3ma7k3_.c"
target datalayout = "e-m:e-p270: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/tmpv3ma7k3_.c"
target datalayout = "e-m:e-p270: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/tmp410lp9dg.c'
source_filename = "/tmp/tmp410lp9dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @connectionHandler(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [1024 x i8], align 16
%7 = alloca [1024 x i8], align 16
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 1024)
store i32 %11, ptr %8, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %26
14: ; preds = %2
%15 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%16 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%17 = load i32, ptr %8, align 4
%18 = call i32 @rot13(ptr noundef %15, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = load i32, ptr %8, align 4
%22 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef %21)
%23 = icmp slt i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %14
store i32 -1, ptr %3, align 4
br label %26
25: ; preds = %14
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %13
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @rot13(ptr noundef, ptr noundef, i32 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp410lp9dg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @connectionHandler(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [1024 x i8], align 16
%7 = alloca [1024 x i8], align 16
%8 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%11 = call i32 @read(i32 noundef %9, ptr noundef %10, i32 noundef 1024)
store i32 %11, ptr %8, align 4
%12 = icmp slt i32 %11, 1
br i1 %12, label %13, label %14
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %26
14: ; preds = %2
%15 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%16 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%17 = load i32, ptr %8, align 4
%18 = call i32 @rot13(ptr noundef %15, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %5, align 4
%20 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%21 = load i32, ptr %8, align 4
%22 = call i32 @write(i32 noundef %19, ptr noundef %20, i32 noundef %21)
%23 = icmp slt i32 %22, 1
br i1 %23, label %24, label %25
24: ; preds = %14
store i32 -1, ptr %3, align 4
br label %26
25: ; preds = %14
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %13
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @rot13(ptr noundef, ptr noundef, i32 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpikdgep8z.c'
source_filename = "/tmp/tmpikdgep8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MOTOR_ON_OFF_Wakeup() #0 {
%1 = call i32 (...) @MOTOR_ON_OFF_RestoreConfig()
ret void
}
declare i32 @MOTOR_ON_OFF_RestoreConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpikdgep8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MOTOR_ON_OFF_Wakeup() #0 {
%1 = call i32 (...) @MOTOR_ON_OFF_RestoreConfig()
ret void
}
declare i32 @MOTOR_ON_OFF_RestoreConfig(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjyv3lns0.c'
source_filename = "/tmp/tmpjyv3lns0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_message(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%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 %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
store i8 10, ptr %11, align 1
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 1024
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %14, %2
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20)
ret void
}
declare i32 @strlen(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjyv3lns0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_message(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%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 %4, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
store i8 10, ptr %11, align 1
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 1024
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load i32, ptr %5, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %5, align 4
br label %17
17: ; preds = %14, %2
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = call i32 @write(i32 noundef %18, ptr noundef %19, i32 noundef %20)
ret void
}
declare i32 @strlen(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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptrs32vhr.c'
source_filename = "/tmp/tmptrs32vhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 1024)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @free(ptr noundef %4)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptrs32vhr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = call i64 @malloc(i32 noundef 1024)
%3 = inttoptr i64 %2 to ptr
store ptr %3, ptr %1, align 8
%4 = load ptr, ptr %1, align 8
%5 = call i32 @free(ptr noundef %4)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1pnw_11d.c'
source_filename = "/tmp/tmp1pnw_11d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBLPMEndpointGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 864
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
%8 = load volatile i32, ptr %7, align 4
%9 = and i32 %8, 61440
%10 = ashr i32 %9, 12
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = shl i32 %11, 4
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1pnw_11d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USBLPMEndpointGet(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = add nsw i32 %4, 864
%6 = sext i32 %5 to i64
%7 = inttoptr i64 %6 to ptr
%8 = load volatile i32, ptr %7, align 4
%9 = and i32 %8, 61440
%10 = ashr i32 %9, 12
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = shl i32 %11, 4
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqsh7co7u.c'
source_filename = "/tmp/tmpqsh7co7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_digit(ptr noundef %0, ptr noundef %1, i64 noundef %2, i8 noundef signext %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i8 %3, ptr %9, align 1
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
br label %12
12: ; preds = %52, %5
%13 = load i32, ptr %11, align 4
%14 = sext i32 %13 to i64
%15 = load i64, ptr %8, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %55
17: ; preds = %12
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %11, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %11, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
store i8 %22, ptr %26, align 1
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %11, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = icmp sge i32 %32, 48
br i1 %33, label %34, label %51
34: ; preds = %17
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %11, align 4
%37 = sext 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 sle i32 %40, 57
br i1 %41, label %42, label %51
42: ; preds = %34
%43 = load i8, ptr %9, align 1
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
store i8 %43, ptr %47, align 1
%48 = load ptr, ptr %10, align 8
%49 = load i32, ptr %48, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %48, align 4
br label %51
51: ; preds = %42, %34, %17
br label %52
52: ; preds = %51
%53 = load i32, ptr %11, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %11, align 4
br label %12, !llvm.loop !6
55: ; preds = %12
%56 = load ptr, ptr %6, align 8
ret ptr %56
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpqsh7co7u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replace_digit(ptr noundef %0, ptr noundef %1, i64 noundef %2, i8 noundef signext %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store i8 %3, ptr %9, align 1
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%12 = load i32, ptr %11, align 4
%13 = sext i32 %12 to i64
%14 = load i64, ptr %8, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %58
.lr.ph: ; preds = %5
br label %16
16: ; preds = %.lr.ph, %51
%17 = load ptr, ptr %7, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
%21 = load i8, ptr %20, align 1
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %11, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 %21, ptr %25, align 1
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp sge i32 %31, 48
br i1 %32, label %33, label %50
33: ; preds = %16
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp sle i32 %39, 57
br i1 %40, label %41, label %50
41: ; preds = %33
%42 = load i8, ptr %9, align 1
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
%47 = load ptr, ptr %10, align 8
%48 = load i32, ptr %47, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %47, align 4
br label %50
50: ; preds = %41, %33, %16
br label %51
51: ; preds = %50
%52 = load i32, ptr %11, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %11, align 4
%54 = load i32, ptr %11, align 4
%55 = sext i32 %54 to i64
%56 = load i64, ptr %8, align 8
%57 = icmp ult i64 %55, %56
br i1 %57, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %58
58: ; preds = %._crit_edge, %5
%59 = load ptr, ptr %6, align 8
ret ptr %59
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpxey9pm4w.c'
source_filename = "/tmp/tmpxey9pm4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_get(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @env_find(ptr noundef %8, ptr noundef %9, ptr noundef %6, ptr noundef null)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @env_load(ptr noundef %13, i32 noundef %14, ptr noundef null, ptr noundef null, ptr noundef %7, ptr noundef null, ptr noundef null)
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %12
%18 = load ptr, ptr %7, align 8
store ptr %18, ptr %3, align 8
br label %21
19: ; preds = %12
br label %20
20: ; preds = %19, %2
store ptr null, ptr %3, align 8
br label %21
21: ; preds = %20, %17
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare i64 @env_find(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @env_load(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxey9pm4w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @env_get(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = call i64 @env_find(ptr noundef %8, ptr noundef %9, ptr noundef %6, ptr noundef null)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %20
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = call i32 @env_load(ptr noundef %13, i32 noundef %14, ptr noundef null, ptr noundef null, ptr noundef %7, ptr noundef null, ptr noundef null)
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %12
%18 = load ptr, ptr %7, align 8
store ptr %18, ptr %3, align 8
br label %21
19: ; preds = %12
br label %20
20: ; preds = %19, %2
store ptr null, ptr %3, align 8
br label %21
21: ; preds = %20, %17
%22 = load ptr, ptr %3, align 8
ret ptr %22
}
declare i64 @env_find(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @env_load(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp54_05kyu.c'
source_filename = "/tmp/tmp54_05kyu.c"
target datalayout = "e-m:e-p270: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/tmp54_05kyu.c"
target datalayout = "e-m:e-p270: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/tmpelecxi0z.c'
source_filename = "/tmp/tmpelecxi0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"ERROR: memory allocation (malloc) failed in call_dgeqrf\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @call_dgeqrf(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 -1, ptr %14, align 4
store ptr null, ptr %15, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %11, align 8
%18 = call i32 @dgeqrf_(ptr noundef %7, ptr noundef %8, ptr noundef %16, ptr noundef %10, ptr noundef %17, ptr noundef %13, ptr noundef %14, ptr noundef %12)
%19 = load i32, ptr %12, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = load i32, ptr %12, align 4
store i32 %22, ptr %6, align 4
br label %45
23: ; preds = %5
%24 = load double, ptr %13, align 8
%25 = fptosi double %24 to i32
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %14, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 8, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %15, align 8
%32 = load ptr, ptr %15, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %23
%35 = load i32, ptr @stderr, align 4
%36 = call i32 @fputs(ptr noundef @.str, i32 noundef %35)
store i32 -999, ptr %6, align 4
br label %45
37: ; preds = %23
%38 = load ptr, ptr %9, align 8
%39 = load ptr, ptr %11, align 8
%40 = load ptr, ptr %15, align 8
%41 = call i32 @dgeqrf_(ptr noundef %7, ptr noundef %8, ptr noundef %38, ptr noundef %10, ptr noundef %39, ptr noundef %40, ptr noundef %14, ptr noundef %12)
%42 = load ptr, ptr %15, align 8
%43 = call i32 @free(ptr noundef %42)
%44 = load i32, ptr %12, align 4
store i32 %44, ptr %6, align 4
br label %45
45: ; preds = %37, %34, %21
%46 = load i32, ptr %6, align 4
ret i32 %46
}
declare i32 @dgeqrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpelecxi0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"ERROR: memory allocation (malloc) failed in call_dgeqrf\0A\00", align 1
@stderr = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @call_dgeqrf(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca double, align 8
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
store i32 %0, ptr %7, align 4
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store i32 0, ptr %12, align 4
store i32 -1, ptr %14, align 4
store ptr null, ptr %15, align 8
%16 = load ptr, ptr %9, align 8
%17 = load ptr, ptr %11, align 8
%18 = call i32 @dgeqrf_(ptr noundef %7, ptr noundef %8, ptr noundef %16, ptr noundef %10, ptr noundef %17, ptr noundef %13, ptr noundef %14, ptr noundef %12)
%19 = load i32, ptr %12, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %5
%22 = load i32, ptr %12, align 4
store i32 %22, ptr %6, align 4
br label %45
23: ; preds = %5
%24 = load double, ptr %13, align 8
%25 = fptosi double %24 to i32
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %14, align 4
%27 = sext i32 %26 to i64
%28 = mul i64 8, %27
%29 = trunc i64 %28 to i32
%30 = call i64 @malloc(i32 noundef %29)
%31 = inttoptr i64 %30 to ptr
store ptr %31, ptr %15, align 8
%32 = load ptr, ptr %15, align 8
%33 = icmp eq ptr %32, null
br i1 %33, label %34, label %37
34: ; preds = %23
%35 = load i32, ptr @stderr, align 4
%36 = call i32 @fputs(ptr noundef @.str, i32 noundef %35)
store i32 -999, ptr %6, align 4
br label %45
37: ; preds = %23
%38 = load ptr, ptr %9, align 8
%39 = load ptr, ptr %11, align 8
%40 = load ptr, ptr %15, align 8
%41 = call i32 @dgeqrf_(ptr noundef %7, ptr noundef %8, ptr noundef %38, ptr noundef %10, ptr noundef %39, ptr noundef %40, ptr noundef %14, ptr noundef %12)
%42 = load ptr, ptr %15, align 8
%43 = call i32 @free(ptr noundef %42)
%44 = load i32, ptr %12, align 4
store i32 %44, ptr %6, align 4
br label %45
45: ; preds = %37, %34, %21
%46 = load i32, ptr %6, align 4
ret i32 %46
}
declare i32 @dgeqrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptcsepd3m.c'
source_filename = "/tmp/tmptcsepd3m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"signed %08x, %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"unsigned %08x, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_7() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 -1, ptr %1, align 1
store i8 -1, ptr %2, align 1
%7 = load i8, ptr %1, align 1
%8 = load i8, ptr %1, align 1
%9 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7, i8 noundef zeroext %8)
%10 = load i8, ptr %2, align 1
%11 = load i8, ptr %2, align 1
%12 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %10, i8 noundef zeroext %11)
store i8 -128, ptr %3, align 1
store i8 -128, ptr %4, align 1
%13 = load i8, ptr %3, align 1
%14 = load i8, ptr %3, align 1
%15 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %13, i8 noundef zeroext %14)
%16 = load i8, ptr %4, align 1
%17 = load i8, ptr %4, align 1
%18 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %16, i8 noundef zeroext %17)
store i8 127, ptr %5, align 1
store i8 127, ptr %6, align 1
%19 = load i8, ptr %5, align 1
%20 = load i8, ptr %5, align 1
%21 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %19, i8 noundef zeroext %20)
%22 = load i8, ptr %6, align 1
%23 = load i8, ptr %6, align 1
%24 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %22, i8 noundef zeroext %23)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptcsepd3m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"signed %08x, %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"unsigned %08x, %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_7() #0 {
%1 = alloca i8, align 1
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i8, align 1
store i8 -1, ptr %1, align 1
store i8 -1, ptr %2, align 1
%7 = load i8, ptr %1, align 1
%8 = load i8, ptr %1, align 1
%9 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7, i8 noundef zeroext %8)
%10 = load i8, ptr %2, align 1
%11 = load i8, ptr %2, align 1
%12 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %10, i8 noundef zeroext %11)
store i8 -128, ptr %3, align 1
store i8 -128, ptr %4, align 1
%13 = load i8, ptr %3, align 1
%14 = load i8, ptr %3, align 1
%15 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %13, i8 noundef zeroext %14)
%16 = load i8, ptr %4, align 1
%17 = load i8, ptr %4, align 1
%18 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %16, i8 noundef zeroext %17)
store i8 127, ptr %5, align 1
store i8 127, ptr %6, align 1
%19 = load i8, ptr %5, align 1
%20 = load i8, ptr %5, align 1
%21 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %19, i8 noundef zeroext %20)
%22 = load i8, ptr %6, align 1
%23 = load i8, ptr %6, align 1
%24 = call i32 @printf(ptr noundef @.str.1, i8 noundef zeroext %22, i8 noundef zeroext %23)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwoon__1s.c'
source_filename = "/tmp/tmpwoon__1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @do_set(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %4, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %5, align 8
store i32 1, ptr %6, align 4
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %30
16: ; preds = %1
%17 = trunc i64 %11 to i32
%18 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %2, align 8
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %21 to i64
%24 = sub i64 %22, %23
%25 = trunc i64 %24 to i32
%26 = call i32 @strncpy(ptr noundef %13, ptr noundef %19, i32 noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = call i32 @nvram_set(ptr noundef %13, ptr noundef %28)
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %16, %1
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %32)
ret i32 %31
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @nvram_set(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwoon__1s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @do_set(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strstr(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = zext i32 %10 to i64
%12 = call ptr @llvm.stacksave()
store ptr %12, ptr %4, align 8
%13 = alloca i8, i64 %11, align 16
store i64 %11, ptr %5, align 8
store i32 1, ptr %6, align 4
%14 = load ptr, ptr %3, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %30
16: ; preds = %1
%17 = trunc i64 %11 to i32
%18 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef %17)
%19 = load ptr, ptr %2, align 8
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %2, align 8
%22 = ptrtoint ptr %20 to i64
%23 = ptrtoint ptr %21 to i64
%24 = sub i64 %22, %23
%25 = trunc i64 %24 to i32
%26 = call i32 @strncpy(ptr noundef %13, ptr noundef %19, i32 noundef %25)
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 1
%29 = call i32 @nvram_set(ptr noundef %13, ptr noundef %28)
store i32 %29, ptr %6, align 4
br label %30
30: ; preds = %16, %1
%31 = load i32, ptr %6, align 4
%32 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %32)
ret i32 %31
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @nvram_set(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpecklrrqv.c'
source_filename = "/tmp/tmpecklrrqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %7, align 8
%14 = icmp ne i64 %12, 0
br i1 %14, label %16, label %15
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %66
16: ; preds = %3
br label %17
17: ; preds = %51, %16
%18 = load ptr, ptr %8, align 8
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %48
22: ; preds = %17
%23 = load ptr, ptr %9, align 8
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %48
27: ; preds = %22
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %48
30: ; preds = %27
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = load ptr, ptr %9, align 8
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp eq i32 %33, %36
br i1 %37, label %46, label %38
38: ; preds = %30
%39 = load ptr, ptr %8, align 8
%40 = load i8, ptr %39, align 1
%41 = call i32 @my_tolower(i8 noundef zeroext %40)
%42 = load ptr, ptr %9, align 8
%43 = load i8, ptr %42, align 1
%44 = call i32 @my_tolower(i8 noundef zeroext %43)
%45 = icmp eq i32 %41, %44
br label %46
46: ; preds = %38, %30
%47 = phi i1 [ true, %30 ], [ %45, %38 ]
br label %48
48: ; preds = %46, %27, %22, %17
%49 = phi i1 [ false, %27 ], [ false, %22 ], [ false, %17 ], [ %47, %46 ]
br i1 %49, label %50, label %58
50: ; preds = %48
br label %51
51: ; preds = %50
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %8, align 8
%54 = load ptr, ptr %9, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %9, align 8
%56 = load i64, ptr %7, align 8
%57 = add i64 %56, -1
store i64 %57, ptr %7, align 8
br label %17, !llvm.loop !6
58: ; preds = %48
%59 = load ptr, ptr %8, align 8
%60 = load i8, ptr %59, align 1
%61 = call i32 @my_tolower(i8 noundef zeroext %60)
%62 = load ptr, ptr %9, align 8
%63 = load i8, ptr %62, align 1
%64 = call i32 @my_tolower(i8 noundef zeroext %63)
%65 = sub nsw i32 %61, %64
store i32 %65, ptr %4, align 4
br label %66
66: ; preds = %58, %15
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @my_tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpecklrrqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = 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
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %8, align 8
%11 = load ptr, ptr %6, align 8
store ptr %11, ptr %9, align 8
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %7, align 8
%14 = icmp ne i64 %12, 0
br i1 %14, label %16, label %15
15: ; preds = %3
store i32 0, ptr %4, align 4
br label %66
16: ; preds = %3
br label %17
17: ; preds = %51, %16
%18 = load ptr, ptr %8, align 8
%19 = load i8, ptr %18, align 1
%20 = zext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %48
22: ; preds = %17
%23 = load ptr, ptr %9, align 8
%24 = load i8, ptr %23, align 1
%25 = zext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %48
27: ; preds = %22
%28 = load i64, ptr %7, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %48
30: ; preds = %27
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = zext i8 %32 to i32
%34 = load ptr, ptr %9, align 8
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp eq i32 %33, %36
br i1 %37, label %46, label %38
38: ; preds = %30
%39 = load ptr, ptr %8, align 8
%40 = load i8, ptr %39, align 1
%41 = call i32 @my_tolower(i8 noundef zeroext %40)
%42 = load ptr, ptr %9, align 8
%43 = load i8, ptr %42, align 1
%44 = call i32 @my_tolower(i8 noundef zeroext %43)
%45 = icmp eq i32 %41, %44
br label %46
46: ; preds = %38, %30
%47 = phi i1 [ true, %30 ], [ %45, %38 ]
br label %48
48: ; preds = %46, %27, %22, %17
%49 = phi i1 [ false, %27 ], [ false, %22 ], [ false, %17 ], [ %47, %46 ]
br i1 %49, label %50, label %58
50: ; preds = %48
br label %51
51: ; preds = %50
%52 = load ptr, ptr %8, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %8, align 8
%54 = load ptr, ptr %9, align 8
%55 = getelementptr inbounds i8, ptr %54, i32 1
store ptr %55, ptr %9, align 8
%56 = load i64, ptr %7, align 8
%57 = add i64 %56, -1
store i64 %57, ptr %7, align 8
br label %17, !llvm.loop !6
58: ; preds = %48
%59 = load ptr, ptr %8, align 8
%60 = load i8, ptr %59, align 1
%61 = call i32 @my_tolower(i8 noundef zeroext %60)
%62 = load ptr, ptr %9, align 8
%63 = load i8, ptr %62, align 1
%64 = call i32 @my_tolower(i8 noundef zeroext %63)
%65 = sub nsw i32 %61, %64
store i32 %65, ptr %4, align 4
br label %66
66: ; preds = %58, %15
%67 = load i32, ptr %4, align 4
ret i32 %67
}
declare i32 @my_tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu6l160z9.c'
source_filename = "/tmp/tmpu6l160z9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@sexpo.q = internal global [8 x double] [double 0x3FE62E43096A0C0D, double 0x3FEDDE32858E49DA, double 0x3FEFA4E30E57B198, double 0x3FEFF3ADAC761530, double 0x3FEFFE9A0422A470, double 0x3FEFFFDCFA417A1E, double 0x3FEFFFFD10617713, double 1.000000e+00], align 16
@sexpo.i = internal global i64 0, align 8
@sexpo.sexpo = internal global double 0.000000e+00, align 8
@sexpo.a = internal global double 0.000000e+00, align 8
@sexpo.u = internal global double 0.000000e+00, align 8
@sexpo.ustar = internal global double 0.000000e+00, align 8
@sexpo.umin = internal global double 0.000000e+00, align 8
@sexpo.q1 = internal global ptr @sexpo.q, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @sexpo() #0 {
%1 = alloca double, align 8
store double 0.000000e+00, ptr @sexpo.a, align 8
%2 = call double (...) @ranf()
store double %2, ptr @sexpo.u, align 8
br label %8
3: ; preds = %14
%4 = load ptr, ptr @sexpo.q1, align 8
%5 = load double, ptr %4, align 8
%6 = load double, ptr @sexpo.a, align 8
%7 = fadd double %6, %5
store double %7, ptr @sexpo.a, align 8
br label %8
8: ; preds = %3, %0
%9 = load double, ptr @sexpo.u, align 8
%10 = load double, ptr @sexpo.u, align 8
%11 = fadd double %10, %9
store double %11, ptr @sexpo.u, align 8
%12 = load double, ptr @sexpo.u, align 8
%13 = fcmp ole double %12, 1.000000e+00
br i1 %13, label %14, label %15
14: ; preds = %8
br label %3
15: ; preds = %8
%16 = load double, ptr @sexpo.u, align 8
%17 = fsub double %16, 1.000000e+00
store double %17, ptr @sexpo.u, align 8
%18 = load double, ptr @sexpo.u, align 8
%19 = load ptr, ptr @sexpo.q1, align 8
%20 = load double, ptr %19, align 8
%21 = fcmp ogt double %18, %20
br i1 %21, label %22, label %23
22: ; preds = %15
br label %28
23: ; preds = %15
%24 = load double, ptr @sexpo.a, align 8
%25 = load double, ptr @sexpo.u, align 8
%26 = fadd double %24, %25
store double %26, ptr @sexpo.sexpo, align 8
%27 = load double, ptr @sexpo.sexpo, align 8
store double %27, ptr %1, align 8
br label %55
28: ; preds = %22
store i64 1, ptr @sexpo.i, align 8
%29 = call double (...) @ranf()
store double %29, ptr @sexpo.ustar, align 8
%30 = load double, ptr @sexpo.ustar, align 8
store double %30, ptr @sexpo.umin, align 8
br label %31
31: ; preds = %47, %28
%32 = call double (...) @ranf()
store double %32, ptr @sexpo.ustar, align 8
%33 = load double, ptr @sexpo.ustar, align 8
%34 = load double, ptr @sexpo.umin, align 8
%35 = fcmp olt double %33, %34
br i1 %35, label %36, label %38
36: ; preds = %31
%37 = load double, ptr @sexpo.ustar, align 8
store double %37, ptr @sexpo.umin, align 8
br label %38
38: ; preds = %36, %31
%39 = load i64, ptr @sexpo.i, align 8
%40 = add nsw i64 %39, 1
store i64 %40, ptr @sexpo.i, align 8
%41 = load double, ptr @sexpo.u, align 8
%42 = load i64, ptr @sexpo.i, align 8
%43 = getelementptr inbounds double, ptr @sexpo.q, i64 %42
%44 = getelementptr inbounds double, ptr %43, i64 -1
%45 = load double, ptr %44, align 8
%46 = fcmp ogt double %41, %45
br i1 %46, label %47, label %48
47: ; preds = %38
br label %31
48: ; preds = %38
%49 = load double, ptr @sexpo.a, align 8
%50 = load double, ptr @sexpo.umin, align 8
%51 = load ptr, ptr @sexpo.q1, align 8
%52 = load double, ptr %51, align 8
%53 = call double @llvm.fmuladd.f64(double %50, double %52, double %49)
store double %53, ptr @sexpo.sexpo, align 8
%54 = load double, ptr @sexpo.sexpo, align 8
store double %54, ptr %1, align 8
br label %55
55: ; preds = %48, %23
%56 = load double, ptr %1, align 8
ret double %56
}
declare double @ranf(...) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu6l160z9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@sexpo.q = internal global [8 x double] [double 0x3FE62E43096A0C0D, double 0x3FEDDE32858E49DA, double 0x3FEFA4E30E57B198, double 0x3FEFF3ADAC761530, double 0x3FEFFE9A0422A470, double 0x3FEFFFDCFA417A1E, double 0x3FEFFFFD10617713, double 1.000000e+00], align 16
@sexpo.i = internal global i64 0, align 8
@sexpo.sexpo = internal global double 0.000000e+00, align 8
@sexpo.a = internal global double 0.000000e+00, align 8
@sexpo.u = internal global double 0.000000e+00, align 8
@sexpo.ustar = internal global double 0.000000e+00, align 8
@sexpo.umin = internal global double 0.000000e+00, align 8
@sexpo.q1 = internal global ptr @sexpo.q, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @sexpo() #0 {
%1 = alloca double, align 8
store double 0.000000e+00, ptr @sexpo.a, align 8
%2 = call double (...) @ranf()
store double %2, ptr @sexpo.u, align 8
%3 = load double, ptr @sexpo.u, align 8
%4 = load double, ptr @sexpo.u, align 8
%5 = fadd double %4, %3
store double %5, ptr @sexpo.u, align 8
%6 = load double, ptr @sexpo.u, align 8
%7 = fcmp ole double %6, 1.000000e+00
br i1 %7, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %18
8: ; preds = %18
%9 = load ptr, ptr @sexpo.q1, align 8
%10 = load double, ptr %9, align 8
%11 = load double, ptr @sexpo.a, align 8
%12 = fadd double %11, %10
store double %12, ptr @sexpo.a, align 8
%13 = load double, ptr @sexpo.u, align 8
%14 = load double, ptr @sexpo.u, align 8
%15 = fadd double %14, %13
store double %15, ptr @sexpo.u, align 8
%16 = load double, ptr @sexpo.u, align 8
%17 = fcmp ole double %16, 1.000000e+00
br i1 %17, label %18, label %._crit_edge
18: ; preds = %.lr.ph, %8
br label %8
._crit_edge: ; preds = %8
br label %19
19: ; preds = %._crit_edge, %0
%20 = load double, ptr @sexpo.u, align 8
%21 = fsub double %20, 1.000000e+00
store double %21, ptr @sexpo.u, align 8
%22 = load double, ptr @sexpo.u, align 8
%23 = load ptr, ptr @sexpo.q1, align 8
%24 = load double, ptr %23, align 8
%25 = fcmp ogt double %22, %24
br i1 %25, label %26, label %27
26: ; preds = %19
br label %32
27: ; preds = %19
%28 = load double, ptr @sexpo.a, align 8
%29 = load double, ptr @sexpo.u, align 8
%30 = fadd double %28, %29
store double %30, ptr @sexpo.sexpo, align 8
%31 = load double, ptr @sexpo.sexpo, align 8
store double %31, ptr %1, align 8
br label %58
32: ; preds = %26
store i64 1, ptr @sexpo.i, align 8
%33 = call double (...) @ranf()
store double %33, ptr @sexpo.ustar, align 8
%34 = load double, ptr @sexpo.ustar, align 8
store double %34, ptr @sexpo.umin, align 8
br label %35
35: ; preds = %42, %32
%36 = call double (...) @ranf()
store double %36, ptr @sexpo.ustar, align 8
%37 = load double, ptr @sexpo.ustar, align 8
%38 = load double, ptr @sexpo.umin, align 8
%39 = fcmp olt double %37, %38
br i1 %39, label %40, label %42
40: ; preds = %35
%41 = load double, ptr @sexpo.ustar, align 8
store double %41, ptr @sexpo.umin, align 8
br label %42
42: ; preds = %40, %35
%43 = load i64, ptr @sexpo.i, align 8
%44 = add nsw i64 %43, 1
store i64 %44, ptr @sexpo.i, align 8
%45 = load double, ptr @sexpo.u, align 8
%46 = load i64, ptr @sexpo.i, align 8
%47 = getelementptr inbounds double, ptr @sexpo.q, i64 %46
%48 = getelementptr inbounds double, ptr %47, i64 -1
%49 = load double, ptr %48, align 8
%50 = fcmp ogt double %45, %49
br i1 %50, label %35, label %51
51: ; preds = %42
%52 = load double, ptr @sexpo.a, align 8
%53 = load double, ptr @sexpo.umin, align 8
%54 = load ptr, ptr @sexpo.q1, align 8
%55 = load double, ptr %54, align 8
%56 = call double @llvm.fmuladd.f64(double %53, double %55, double %52)
store double %56, ptr @sexpo.sexpo, align 8
%57 = load double, ptr @sexpo.sexpo, align 8
store double %57, ptr %1, align 8
br label %58
58: ; preds = %51, %27
%59 = load double, ptr %1, align 8
ret double %59
}
declare double @ranf(...) #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"}
|
; ModuleID = '/tmp/tmpw7wxm9no.c'
source_filename = "/tmp/tmpw7wxm9no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mintaka_state_synch_() #0 {
%1 = call i32 (...) @mintaka_state_synch()
ret void
}
declare i32 @mintaka_state_synch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw7wxm9no.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mintaka_state_synch_() #0 {
%1 = call i32 (...) @mintaka_state_synch()
ret void
}
declare i32 @mintaka_state_synch(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnmxbnp74.c'
source_filename = "/tmp/tmpnmxbnp74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"Internal error occurred inside testing framework.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testInternalError() #0 {
%1 = call i32 @perror(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnmxbnp74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"Internal error occurred inside testing framework.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testInternalError() #0 {
%1 = call i32 @perror(ptr noundef @.str)
%2 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgwyg_d2f.c'
source_filename = "/tmp/tmpgwyg_d2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_progressbar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @japi_progressbar(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @japi_progressbar(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/tmpgwyg_d2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @j_progressbar(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @japi_progressbar(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @japi_progressbar(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/tmp5uz99dd0.c'
source_filename = "/tmp/tmp5uz99dd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ber_add_set(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
%5 = call ptr @ber_get_element(i32 noundef 17)
store ptr %5, ptr %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @ber_link_elements(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %8, %7
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @ber_get_element(i32 noundef) #1
declare i32 @ber_link_elements(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/tmp5uz99dd0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ber_add_set(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
%5 = call ptr @ber_get_element(i32 noundef 17)
store ptr %5, ptr %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %13
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @ber_link_elements(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
store ptr %12, ptr %2, align 8
br label %13
13: ; preds = %8, %7
%14 = load ptr, ptr %2, align 8
ret ptr %14
}
declare ptr @ber_get_element(i32 noundef) #1
declare i32 @ber_link_elements(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/tmp1e8jbu_c.c'
source_filename = "/tmp/tmp1e8jbu_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"Ingrese tres numeros, separados por un espacio: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d %d\0A%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%d\0A%d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"%d\0A%d\0A%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
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i32 noundef %17)
br label %211
19: ; preds = %10, %0
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %24, %25
br i1 %26, label %27, label %32
27: ; preds = %23
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28, i32 noundef %29, i32 noundef %30)
br label %210
32: ; preds = %23, %19
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %45
40: ; preds = %36
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %3, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41, i32 noundef %42, i32 noundef %43)
br label %209
45: ; preds = %36, %32
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp eq i32 %46, %47
br i1 %48, label %49, label %58
49: ; preds = %45
%50 = load i32, ptr %2, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %58
53: ; preds = %49
%54 = load i32, ptr %2, align 4
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %3, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54, i32 noundef %55, i32 noundef %56)
br label %208
58: ; preds = %49, %45
%59 = load i32, ptr %2, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load i32, ptr %2, align 4
%64 = load i32, ptr %3, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %71
66: ; preds = %62
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %4, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %67, i32 noundef %68, i32 noundef %69)
br label %207
71: ; preds = %62, %58
%72 = load i32, ptr %3, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp eq i32 %72, %73
br i1 %74, label %75, label %84
75: ; preds = %71
%76 = load i32, ptr %2, align 4
%77 = load i32, ptr %3, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load i32, ptr %2, align 4
%81 = load i32, ptr %3, align 4
%82 = load i32, ptr %4, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %80, i32 noundef %81, i32 noundef %82)
br label %206
84: ; preds = %75, %71
%85 = load i32, ptr %3, align 4
%86 = load i32, ptr %4, align 4
%87 = icmp eq i32 %85, %86
br i1 %87, label %88, label %97
88: ; preds = %84
%89 = load i32, ptr %2, align 4
%90 = load i32, ptr %3, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %97
92: ; preds = %88
%93 = load i32, ptr %3, align 4
%94 = load i32, ptr %4, align 4
%95 = load i32, ptr %2, align 4
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %93, i32 noundef %94, i32 noundef %95)
br label %205
97: ; preds = %88, %84
%98 = load i32, ptr %2, align 4
%99 = load i32, ptr %3, align 4
%100 = icmp sgt i32 %98, %99
br i1 %100, label %101, label %114
101: ; preds = %97
%102 = load i32, ptr %2, align 4
%103 = load i32, ptr %4, align 4
%104 = icmp sgt i32 %102, %103
br i1 %104, label %105, label %114
105: ; preds = %101
%106 = load i32, ptr %3, align 4
%107 = load i32, ptr %4, align 4
%108 = icmp sgt i32 %106, %107
br i1 %108, label %109, label %114
109: ; preds = %105
%110 = load i32, ptr %2, align 4
%111 = load i32, ptr %3, align 4
%112 = load i32, ptr %4, align 4
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %110, i32 noundef %111, i32 noundef %112)
br label %204
114: ; preds = %105, %101, %97
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr %3, align 4
%117 = icmp sgt i32 %115, %116
br i1 %117, label %118, label %131
118: ; preds = %114
%119 = load i32, ptr %2, align 4
%120 = load i32, ptr %4, align 4
%121 = icmp sgt i32 %119, %120
br i1 %121, label %122, label %131
122: ; preds = %118
%123 = load i32, ptr %3, align 4
%124 = load i32, ptr %4, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %126, label %131
126: ; preds = %122
%127 = load i32, ptr %2, align 4
%128 = load i32, ptr %4, align 4
%129 = load i32, ptr %3, align 4
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %127, i32 noundef %128, i32 noundef %129)
br label %203
131: ; preds = %122, %118, %114
%132 = load i32, ptr %3, align 4
%133 = load i32, ptr %2, align 4
%134 = icmp sgt i32 %132, %133
br i1 %134, label %135, label %148
135: ; preds = %131
%136 = load i32, ptr %3, align 4
%137 = load i32, ptr %4, align 4
%138 = icmp sgt i32 %136, %137
br i1 %138, label %139, label %148
139: ; preds = %135
%140 = load i32, ptr %2, align 4
%141 = load i32, ptr %4, align 4
%142 = icmp sgt i32 %140, %141
br i1 %142, label %143, label %148
143: ; preds = %139
%144 = load i32, ptr %3, align 4
%145 = load i32, ptr %2, align 4
%146 = load i32, ptr %4, align 4
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %144, i32 noundef %145, i32 noundef %146)
br label %202
148: ; preds = %139, %135, %131
%149 = load i32, ptr %3, align 4
%150 = load i32, ptr %2, align 4
%151 = icmp sgt i32 %149, %150
br i1 %151, label %152, label %165
152: ; preds = %148
%153 = load i32, ptr %3, align 4
%154 = load i32, ptr %4, align 4
%155 = icmp sgt i32 %153, %154
br i1 %155, label %156, label %165
156: ; preds = %152
%157 = load i32, ptr %2, align 4
%158 = load i32, ptr %4, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %160, label %165
160: ; preds = %156
%161 = load i32, ptr %3, align 4
%162 = load i32, ptr %4, align 4
%163 = load i32, ptr %2, align 4
%164 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %161, i32 noundef %162, i32 noundef %163)
br label %201
165: ; preds = %156, %152, %148
%166 = load i32, ptr %4, align 4
%167 = load i32, ptr %2, align 4
%168 = icmp sgt i32 %166, %167
br i1 %168, label %169, label %182
169: ; preds = %165
%170 = load i32, ptr %4, align 4
%171 = load i32, ptr %3, align 4
%172 = icmp sgt i32 %170, %171
br i1 %172, label %173, label %182
173: ; preds = %169
%174 = load i32, ptr %2, align 4
%175 = load i32, ptr %3, align 4
%176 = icmp sgt i32 %174, %175
br i1 %176, label %177, label %182
177: ; preds = %173
%178 = load i32, ptr %4, align 4
%179 = load i32, ptr %2, align 4
%180 = load i32, ptr %3, align 4
%181 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %178, i32 noundef %179, i32 noundef %180)
br label %200
182: ; preds = %173, %169, %165
%183 = load i32, ptr %4, align 4
%184 = load i32, ptr %2, align 4
%185 = icmp sgt i32 %183, %184
br i1 %185, label %186, label %199
186: ; preds = %182
%187 = load i32, ptr %4, align 4
%188 = load i32, ptr %3, align 4
%189 = icmp sgt i32 %187, %188
br i1 %189, label %190, label %199
190: ; preds = %186
%191 = load i32, ptr %2, align 4
%192 = load i32, ptr %3, align 4
%193 = icmp slt i32 %191, %192
br i1 %193, label %194, label %199
194: ; preds = %190
%195 = load i32, ptr %4, align 4
%196 = load i32, ptr %3, align 4
%197 = load i32, ptr %2, align 4
%198 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %195, i32 noundef %196, i32 noundef %197)
br label %199
199: ; preds = %194, %190, %186, %182
br label %200
200: ; preds = %199, %177
br label %201
201: ; preds = %200, %160
br label %202
202: ; preds = %201, %143
br label %203
203: ; preds = %202, %126
br label %204
204: ; preds = %203, %109
br label %205
205: ; preds = %204, %92
br label %206
206: ; preds = %205, %79
br label %207
207: ; preds = %206, %66
br label %208
208: ; preds = %207, %53
br label %209
209: ; preds = %208, %40
br label %210
210: ; preds = %209, %27
br label %211
211: ; preds = %210, %14
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp1e8jbu_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [49 x i8] c"Ingrese tres numeros, separados por un espacio: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %d %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"%d %d\0A%d\0A\00", align 1
@.str.4 = private unnamed_addr constant [10 x i8] c"%d\0A%d %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [10 x i8] c"%d\0A%d\0A%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
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i32 noundef %17)
br label %211
19: ; preds = %10, %0
%20 = load i32, ptr %2, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp sgt i32 %24, %25
br i1 %26, label %27, label %32
27: ; preds = %23
%28 = load i32, ptr %2, align 4
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28, i32 noundef %29, i32 noundef %30)
br label %210
32: ; preds = %23, %19
%33 = load i32, ptr %2, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp eq i32 %33, %34
br i1 %35, label %36, label %45
36: ; preds = %32
%37 = load i32, ptr %2, align 4
%38 = load i32, ptr %4, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %45
40: ; preds = %36
%41 = load i32, ptr %4, align 4
%42 = load i32, ptr %2, align 4
%43 = load i32, ptr %3, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %41, i32 noundef %42, i32 noundef %43)
br label %209
45: ; preds = %36, %32
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp eq i32 %46, %47
br i1 %48, label %49, label %58
49: ; preds = %45
%50 = load i32, ptr %2, align 4
%51 = load i32, ptr %3, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %58
53: ; preds = %49
%54 = load i32, ptr %2, align 4
%55 = load i32, ptr %4, align 4
%56 = load i32, ptr %3, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54, i32 noundef %55, i32 noundef %56)
br label %208
58: ; preds = %49, %45
%59 = load i32, ptr %2, align 4
%60 = load i32, ptr %4, align 4
%61 = icmp eq i32 %59, %60
br i1 %61, label %62, label %71
62: ; preds = %58
%63 = load i32, ptr %2, align 4
%64 = load i32, ptr %3, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %71
66: ; preds = %62
%67 = load i32, ptr %3, align 4
%68 = load i32, ptr %2, align 4
%69 = load i32, ptr %4, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %67, i32 noundef %68, i32 noundef %69)
br label %207
71: ; preds = %62, %58
%72 = load i32, ptr %3, align 4
%73 = load i32, ptr %4, align 4
%74 = icmp eq i32 %72, %73
br i1 %74, label %75, label %84
75: ; preds = %71
%76 = load i32, ptr %2, align 4
%77 = load i32, ptr %3, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load i32, ptr %2, align 4
%81 = load i32, ptr %3, align 4
%82 = load i32, ptr %4, align 4
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %80, i32 noundef %81, i32 noundef %82)
br label %206
84: ; preds = %75, %71
%85 = load i32, ptr %3, align 4
%86 = load i32, ptr %4, align 4
%87 = icmp eq i32 %85, %86
br i1 %87, label %88, label %97
88: ; preds = %84
%89 = load i32, ptr %2, align 4
%90 = load i32, ptr %3, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %92, label %97
92: ; preds = %88
%93 = load i32, ptr %3, align 4
%94 = load i32, ptr %4, align 4
%95 = load i32, ptr %2, align 4
%96 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %93, i32 noundef %94, i32 noundef %95)
br label %205
97: ; preds = %88, %84
%98 = load i32, ptr %2, align 4
%99 = load i32, ptr %3, align 4
%100 = icmp sgt i32 %98, %99
br i1 %100, label %101, label %114
101: ; preds = %97
%102 = load i32, ptr %2, align 4
%103 = load i32, ptr %4, align 4
%104 = icmp sgt i32 %102, %103
br i1 %104, label %105, label %114
105: ; preds = %101
%106 = load i32, ptr %3, align 4
%107 = load i32, ptr %4, align 4
%108 = icmp sgt i32 %106, %107
br i1 %108, label %109, label %114
109: ; preds = %105
%110 = load i32, ptr %2, align 4
%111 = load i32, ptr %3, align 4
%112 = load i32, ptr %4, align 4
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %110, i32 noundef %111, i32 noundef %112)
br label %204
114: ; preds = %105, %101, %97
%115 = load i32, ptr %2, align 4
%116 = load i32, ptr %3, align 4
%117 = icmp sgt i32 %115, %116
br i1 %117, label %118, label %131
118: ; preds = %114
%119 = load i32, ptr %2, align 4
%120 = load i32, ptr %4, align 4
%121 = icmp sgt i32 %119, %120
br i1 %121, label %122, label %131
122: ; preds = %118
%123 = load i32, ptr %3, align 4
%124 = load i32, ptr %4, align 4
%125 = icmp slt i32 %123, %124
br i1 %125, label %126, label %131
126: ; preds = %122
%127 = load i32, ptr %2, align 4
%128 = load i32, ptr %4, align 4
%129 = load i32, ptr %3, align 4
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %127, i32 noundef %128, i32 noundef %129)
br label %203
131: ; preds = %122, %118, %114
%132 = load i32, ptr %3, align 4
%133 = load i32, ptr %2, align 4
%134 = icmp sgt i32 %132, %133
br i1 %134, label %135, label %148
135: ; preds = %131
%136 = load i32, ptr %3, align 4
%137 = load i32, ptr %4, align 4
%138 = icmp sgt i32 %136, %137
br i1 %138, label %139, label %148
139: ; preds = %135
%140 = load i32, ptr %2, align 4
%141 = load i32, ptr %4, align 4
%142 = icmp sgt i32 %140, %141
br i1 %142, label %143, label %148
143: ; preds = %139
%144 = load i32, ptr %3, align 4
%145 = load i32, ptr %2, align 4
%146 = load i32, ptr %4, align 4
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %144, i32 noundef %145, i32 noundef %146)
br label %202
148: ; preds = %139, %135, %131
%149 = load i32, ptr %3, align 4
%150 = load i32, ptr %2, align 4
%151 = icmp sgt i32 %149, %150
br i1 %151, label %152, label %165
152: ; preds = %148
%153 = load i32, ptr %3, align 4
%154 = load i32, ptr %4, align 4
%155 = icmp sgt i32 %153, %154
br i1 %155, label %156, label %165
156: ; preds = %152
%157 = load i32, ptr %2, align 4
%158 = load i32, ptr %4, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %160, label %165
160: ; preds = %156
%161 = load i32, ptr %3, align 4
%162 = load i32, ptr %4, align 4
%163 = load i32, ptr %2, align 4
%164 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %161, i32 noundef %162, i32 noundef %163)
br label %201
165: ; preds = %156, %152, %148
%166 = load i32, ptr %4, align 4
%167 = load i32, ptr %2, align 4
%168 = icmp sgt i32 %166, %167
br i1 %168, label %169, label %182
169: ; preds = %165
%170 = load i32, ptr %4, align 4
%171 = load i32, ptr %3, align 4
%172 = icmp sgt i32 %170, %171
br i1 %172, label %173, label %182
173: ; preds = %169
%174 = load i32, ptr %2, align 4
%175 = load i32, ptr %3, align 4
%176 = icmp sgt i32 %174, %175
br i1 %176, label %177, label %182
177: ; preds = %173
%178 = load i32, ptr %4, align 4
%179 = load i32, ptr %2, align 4
%180 = load i32, ptr %3, align 4
%181 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %178, i32 noundef %179, i32 noundef %180)
br label %200
182: ; preds = %173, %169, %165
%183 = load i32, ptr %4, align 4
%184 = load i32, ptr %2, align 4
%185 = icmp sgt i32 %183, %184
br i1 %185, label %186, label %199
186: ; preds = %182
%187 = load i32, ptr %4, align 4
%188 = load i32, ptr %3, align 4
%189 = icmp sgt i32 %187, %188
br i1 %189, label %190, label %199
190: ; preds = %186
%191 = load i32, ptr %2, align 4
%192 = load i32, ptr %3, align 4
%193 = icmp slt i32 %191, %192
br i1 %193, label %194, label %199
194: ; preds = %190
%195 = load i32, ptr %4, align 4
%196 = load i32, ptr %3, align 4
%197 = load i32, ptr %2, align 4
%198 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %195, i32 noundef %196, i32 noundef %197)
br label %199
199: ; preds = %194, %190, %186, %182
br label %200
200: ; preds = %199, %177
br label %201
201: ; preds = %200, %160
br label %202
202: ; preds = %201, %143
br label %203
203: ; preds = %202, %126
br label %204
204: ; preds = %203, %109
br label %205
205: ; preds = %204, %92
br label %206
206: ; preds = %205, %79
br label %207
207: ; preds = %206, %66
br label %208
208: ; preds = %207, %53
br label %209
209: ; preds = %208, %40
br label %210
210: ; preds = %209, %27
br label %211
211: ; preds = %210, %14
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(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/tmp2w_xhi2e.c'
source_filename = "/tmp/tmp2w_xhi2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"----------------new url---------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"url : %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @buf_format(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 12, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %53, %1
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 6
br i1 %12, label %13, label %56
13: ; preds = %10
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %8, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %51
25: ; preds = %13
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %28
28: ; preds = %32, %25
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %7, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %32, label %45
32: ; preds = %28
%33 = load ptr, ptr %3, align 8
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load i32, ptr %6, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %39
store i8 %37, ptr %40, align 1
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
%43 = load i32, ptr %4, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %4, align 4
br label %28, !llvm.loop !6
45: ; preds = %28
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %47
store i8 46, ptr %48, align 1
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
br label %52
51: ; preds = %13
br label %56
52: ; preds = %45
br label %53
53: ; preds = %52
%54 = load i32, ptr %5, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %5, align 4
br label %10, !llvm.loop !8
56: ; preds = %51, %10
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, -1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %60
store i8 0, ptr %61, align 1
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%63 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %63)
%65 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%66 = call i32 @strlen(ptr noundef %65)
%67 = icmp sgt i32 %66, 4
br i1 %67, label %68, label %74
68: ; preds = %56
%69 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%70 = call i32 @url_judge(ptr noundef %69)
%71 = icmp eq i32 %70, 1
br i1 %71, label %72, label %73
72: ; preds = %68
store i32 1, ptr %2, align 4
br label %75
73: ; preds = %68
store i32 0, ptr %2, align 4
br label %75
74: ; preds = %56
store i32 2, ptr %2, align 4
br label %75
75: ; preds = %74, %73, %72
%76 = load i32, ptr %2, align 4
ret i32 %76
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @url_judge(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2w_xhi2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"----------------new url---------------\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"url : %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @buf_format(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [100 x i8], align 16
store ptr %0, ptr %3, align 8
store i32 12, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %10, 6
br i1 %11, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %1
br label %12
12: ; preds = %.lr.ph2, %54
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %52
24: ; preds = %12
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph, label %46
.lr.ph: ; preds = %24
br label %30
30: ; preds = %.lr.ph, %30
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %37
store i8 %35, ptr %38, align 1
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %4, align 4
%43 = load i32, ptr %4, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp sle i32 %43, %44
br i1 %45, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %46
46: ; preds = %._crit_edge, %24
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %48
store i8 46, ptr %49, align 1
%50 = load i32, ptr %6, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %6, align 4
br label %53
52: ; preds = %12
br label %59
53: ; preds = %46
br label %54
54: ; preds = %53
%55 = load i32, ptr %5, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %5, align 4
%57 = load i32, ptr %5, align 4
%58 = icmp slt i32 %57, 6
br i1 %58, label %12, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %54
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %59
59: ; preds = %.loopexit, %52
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, -1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 %63
store i8 0, ptr %64, align 1
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%66 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %66)
%68 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%69 = call i32 @strlen(ptr noundef %68)
%70 = icmp sgt i32 %69, 4
br i1 %70, label %71, label %77
71: ; preds = %59
%72 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%73 = call i32 @url_judge(ptr noundef %72)
%74 = icmp eq i32 %73, 1
br i1 %74, label %75, label %76
75: ; preds = %71
store i32 1, ptr %2, align 4
br label %78
76: ; preds = %71
store i32 0, ptr %2, align 4
br label %78
77: ; preds = %59
store i32 2, ptr %2, align 4
br label %78
78: ; preds = %77, %76, %75
%79 = load i32, ptr %2, align 4
ret i32 %79
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @url_judge(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp26qtf9lq.c'
source_filename = "/tmp/tmp26qtf9lq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"==================== TEST ALEX =================\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"================== TEST HATHEM =================\0A\0A\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)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 (...) @test_hatem_fusion()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_hatem_fusion(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp26qtf9lq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [51 x i8] c"==================== TEST ALEX =================\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\0A\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [52 x i8] c"================== TEST HATHEM =================\0A\0A\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)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 (...) @test_hatem_fusion()
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @test_hatem_fusion(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphyk8au9s.c'
source_filename = "/tmp/tmphyk8au9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @select_part(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds i64, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8
%13 = sitofp i64 %12 to double
%14 = call i64 (...) @rand()
%15 = sitofp i64 %14 to double
%16 = load double, ptr @RAND_MAX, align 8
%17 = fadd double %16, 1.000000e+00
%18 = fdiv double %15, %17
%19 = fmul double %13, %18
%20 = fptosi double %19 to i64
store i64 %20, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i64, ptr %7, align 8
%26 = getelementptr inbounds i64, ptr %24, i64 %25
%27 = load i64, ptr %26, align 8
store i64 %27, ptr %8, align 8
%28 = load i64, ptr %8, align 8
ret i64 %28
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyk8au9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @select_part(i64 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds i64, ptr %9, i64 %10
%12 = load i64, ptr %11, align 8
%13 = sitofp i64 %12 to double
%14 = call i64 (...) @rand()
%15 = sitofp i64 %14 to double
%16 = load double, ptr @RAND_MAX, align 8
%17 = fadd double %16, 1.000000e+00
%18 = fdiv double %15, %17
%19 = fmul double %13, %18
%20 = fptosi double %19 to i64
store i64 %20, ptr %7, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i64, ptr %4, align 8
%23 = getelementptr inbounds ptr, ptr %21, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i64, ptr %7, align 8
%26 = getelementptr inbounds i64, ptr %24, i64 %25
%27 = load i64, ptr %26, align 8
store i64 %27, ptr %8, align 8
%28 = load i64, ptr %8, align 8
ret i64 %28
}
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpksozagg1.c'
source_filename = "/tmp/tmpksozagg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ESPIPE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rewind(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ESPIPE, align 4
store i32 %3, ptr @errno, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpksozagg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ESPIPE = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @rewind(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @ESPIPE, align 4
store i32 %3, ptr @errno, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyfie0d2e.c'
source_filename = "/tmp/tmpyfie0d2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_be() #0 {
%1 = call i32 @res_hl(i32 noundef 7)
ret void
}
declare i32 @res_hl(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/tmpyfie0d2e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcb_be() #0 {
%1 = call i32 @res_hl(i32 noundef 7)
ret void
}
declare i32 @res_hl(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/tmpf4r4ee_s.c'
source_filename = "/tmp/tmpf4r4ee_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_set_uplink_frequency(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @send_freq_to_ICR10(double noundef %3)
ret void
}
declare i32 @send_freq_to_ICR10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf4r4ee_s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plugin_set_uplink_frequency(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call i32 @send_freq_to_ICR10(double noundef %3)
ret void
}
declare i32 @send_freq_to_ICR10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpm10t2lli.c'
source_filename = "/tmp/tmpm10t2lli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"2 + 3 = %d\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 @add(i32 noundef 2, i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm10t2lli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"2 + 3 = %d\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 @add(i32 noundef 2, i32 noundef 3)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb0rp5k3f.c'
source_filename = "/tmp/tmpb0rp5k3f.c"
target datalayout = "e-m:e-p270: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 { double, double }
@CLOCK_PROCESS_CPUTIME_ID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getTime() #0 {
%1 = alloca %struct.timespec, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = load i32, ptr @CLOCK_PROCESS_CPUTIME_ID, align 4
%5 = call i32 @clock_gettime(i32 noundef %4, ptr noundef %1)
%6 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0
%7 = load double, ptr %6, align 8
store double %7, ptr %2, align 8
%8 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1
%9 = load double, ptr %8, align 8
store double %9, ptr %3, align 8
%10 = load double, ptr %2, align 8
%11 = load double, ptr %3, align 8
%12 = fdiv double %11, 1.000000e+06
%13 = call double @llvm.fmuladd.f64(double %10, double 1.000000e+03, double %12)
ret double %13
}
declare i32 @clock_gettime(i32 noundef, ptr 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb0rp5k3f.c"
target datalayout = "e-m:e-p270: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 { double, double }
@CLOCK_PROCESS_CPUTIME_ID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @getTime() #0 {
%1 = alloca %struct.timespec, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = load i32, ptr @CLOCK_PROCESS_CPUTIME_ID, align 4
%5 = call i32 @clock_gettime(i32 noundef %4, ptr noundef %1)
%6 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 0
%7 = load double, ptr %6, align 8
store double %7, ptr %2, align 8
%8 = getelementptr inbounds %struct.timespec, ptr %1, i32 0, i32 1
%9 = load double, ptr %8, align 8
store double %9, ptr %3, align 8
%10 = load double, ptr %2, align 8
%11 = load double, ptr %3, align 8
%12 = fdiv double %11, 1.000000e+06
%13 = call double @llvm.fmuladd.f64(double %10, double 1.000000e+03, double %12)
ret double %13
}
declare i32 @clock_gettime(i32 noundef, ptr 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"}
|
; ModuleID = '/tmp/tmpprbk_des.c'
source_filename = "/tmp/tmpprbk_des.c"
target datalayout = "e-m:e-p270: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/tmpprbk_des.c"
target datalayout = "e-m:e-p270: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/tmprblgwano.c'
source_filename = "/tmp/tmprblgwano.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_author_email(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp sgt i32 %9, 255
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 -1, ptr %2, align 4
br label %13
12: ; preds = %7
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprblgwano.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @validate_author_email(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 -1, ptr %2, align 4
br label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp sgt i32 %9, 255
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 -1, ptr %2, align 4
br label %13
12: ; preds = %7
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %11, %6
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw2wyhvvh.c'
source_filename = "/tmp/tmpw2wyhvvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Q_UTF8Strlen(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 = %8, %1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %8, label %16
8: ; preds = %4
%9 = load i32, ptr %3, align 4
%10 = add nsw i32 %9, 1
store i32 %10, ptr %3, align 4
%11 = load ptr, ptr %2, align 8
%12 = call i32 @Q_UTF8Width(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds i8, ptr %13, i64 %14
store ptr %15, ptr %2, align 8
br label %4, !llvm.loop !6
16: ; preds = %4
%17 = load i32, ptr %3, align 4
ret i32 %17
}
declare i32 @Q_UTF8Width(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpw2wyhvvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Q_UTF8Strlen(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
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @Q_UTF8Width(ptr noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = sext i32 %11 to i64
%14 = getelementptr inbounds i8, ptr %12, i64 %13
store ptr %14, ptr %2, align 8
%15 = load ptr, ptr %2, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %18
18: ; preds = %._crit_edge, %1
%19 = load i32, ptr %3, align 4
ret i32 %19
}
declare i32 @Q_UTF8Width(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpwp6d24m5.c'
source_filename = "/tmp/tmpwp6d24m5.c"
target datalayout = "e-m:e-p270: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/tmpwp6d24m5.c"
target datalayout = "e-m:e-p270: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/tmphr0_a2et.c'
source_filename = "/tmp/tmphr0_a2et.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.a = internal global [3 x i32] [i32 0, i32 1, i32 2], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr getelementptr inbounds ([3 x i32], ptr @main.a, i64 1, i64 0), ptr %2, align 8
br label %3
3: ; preds = %7, %0
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i32, ptr %4, i32 -1
store ptr %5, ptr %2, align 8
%6 = icmp ugt ptr %4, @main.a
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = call i32 @foo(ptr noundef %8)
br label %3, !llvm.loop !6
10: ; preds = %3
%11 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphr0_a2et.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@main.a = internal global [3 x i32] [i32 0, i32 1, i32 2], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr getelementptr inbounds ([3 x i32], ptr @main.a, i64 1, i64 0), ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i32 -1
store ptr %4, ptr %2, align 8
%5 = icmp ugt ptr %3, @main.a
br i1 %5, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = call i32 @foo(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i32, ptr %9, i32 -1
store ptr %10, ptr %2, align 8
%11 = icmp ugt ptr %9, @main.a
br i1 %11, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %12
12: ; preds = %._crit_edge, %0
%13 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @foo(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo2agtjmw.c'
source_filename = "/tmp/tmpo2agtjmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rand_double(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = call double (...) @rand()
%7 = load double, ptr @RAND_MAX, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = fsub double %8, %9
%11 = fdiv double %7, %10
%12 = fdiv double %6, %11
%13 = fadd double %5, %12
ret double %13
}
declare double @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo2agtjmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rand_double(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = call double (...) @rand()
%7 = load double, ptr @RAND_MAX, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %3, align 8
%10 = fsub double %8, %9
%11 = fdiv double %7, %10
%12 = fdiv double %6, %11
%13 = fadd double %5, %12
ret double %13
}
declare double @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfjolwx5h.c'
source_filename = "/tmp/tmpfjolwx5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*--------------------------------\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"|Costs Hand Game Total\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"| Hands \00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"| Inspections \00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"| Games \00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"| Runs \00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"| Information \00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"| Think time \00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c"|Total Costs \00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"|Winnings \00", align 1
@.str.10 = private unnamed_addr constant [34 x i8] c"|Net Worth \00", align 1
@.str.11 = private unnamed_addr constant [34 x i8] c"|Return \00", align 1
@.str.12 = private unnamed_addr constant [34 x i8] c"|================================\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printtopbettingbox() #0 {
%1 = call i32 @move(i32 noundef 2, i64 noundef 31)
%2 = call i32 @printw(ptr noundef @.str)
%3 = call i32 @move(i32 noundef 3, i64 noundef 31)
%4 = call i32 @printw(ptr noundef @.str.1)
%5 = call i32 @move(i32 noundef 4, i64 noundef 31)
%6 = call i32 @printw(ptr noundef @.str.2)
%7 = call i32 @move(i32 noundef 5, i64 noundef 31)
%8 = call i32 @printw(ptr noundef @.str.3)
%9 = call i32 @move(i32 noundef 6, i64 noundef 31)
%10 = call i32 @printw(ptr noundef @.str.4)
%11 = call i32 @move(i32 noundef 7, i64 noundef 31)
%12 = call i32 @printw(ptr noundef @.str.5)
%13 = call i32 @move(i32 noundef 8, i64 noundef 31)
%14 = call i32 @printw(ptr noundef @.str.6)
%15 = call i32 @move(i32 noundef 9, i64 noundef 31)
%16 = call i32 @printw(ptr noundef @.str.7)
%17 = call i32 @move(i32 noundef 10, i64 noundef 31)
%18 = call i32 @printw(ptr noundef @.str.8)
%19 = call i32 @move(i32 noundef 11, i64 noundef 31)
%20 = call i32 @printw(ptr noundef @.str.9)
%21 = call i32 @move(i32 noundef 12, i64 noundef 31)
%22 = call i32 @printw(ptr noundef @.str.10)
%23 = call i32 @move(i32 noundef 13, i64 noundef 31)
%24 = call i32 @printw(ptr noundef @.str.11)
%25 = call i32 @move(i32 noundef 14, i64 noundef 31)
%26 = call i32 @printw(ptr noundef @.str.12)
ret void
}
declare i32 @move(i32 noundef, i64 noundef) #1
declare i32 @printw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfjolwx5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"*--------------------------------\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"|Costs Hand Game Total\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"| Hands \00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"| Inspections \00", align 1
@.str.4 = private unnamed_addr constant [34 x i8] c"| Games \00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"| Runs \00", align 1
@.str.6 = private unnamed_addr constant [34 x i8] c"| Information \00", align 1
@.str.7 = private unnamed_addr constant [34 x i8] c"| Think time \00", align 1
@.str.8 = private unnamed_addr constant [34 x i8] c"|Total Costs \00", align 1
@.str.9 = private unnamed_addr constant [34 x i8] c"|Winnings \00", align 1
@.str.10 = private unnamed_addr constant [34 x i8] c"|Net Worth \00", align 1
@.str.11 = private unnamed_addr constant [34 x i8] c"|Return \00", align 1
@.str.12 = private unnamed_addr constant [34 x i8] c"|================================\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printtopbettingbox() #0 {
%1 = call i32 @move(i32 noundef 2, i64 noundef 31)
%2 = call i32 @printw(ptr noundef @.str)
%3 = call i32 @move(i32 noundef 3, i64 noundef 31)
%4 = call i32 @printw(ptr noundef @.str.1)
%5 = call i32 @move(i32 noundef 4, i64 noundef 31)
%6 = call i32 @printw(ptr noundef @.str.2)
%7 = call i32 @move(i32 noundef 5, i64 noundef 31)
%8 = call i32 @printw(ptr noundef @.str.3)
%9 = call i32 @move(i32 noundef 6, i64 noundef 31)
%10 = call i32 @printw(ptr noundef @.str.4)
%11 = call i32 @move(i32 noundef 7, i64 noundef 31)
%12 = call i32 @printw(ptr noundef @.str.5)
%13 = call i32 @move(i32 noundef 8, i64 noundef 31)
%14 = call i32 @printw(ptr noundef @.str.6)
%15 = call i32 @move(i32 noundef 9, i64 noundef 31)
%16 = call i32 @printw(ptr noundef @.str.7)
%17 = call i32 @move(i32 noundef 10, i64 noundef 31)
%18 = call i32 @printw(ptr noundef @.str.8)
%19 = call i32 @move(i32 noundef 11, i64 noundef 31)
%20 = call i32 @printw(ptr noundef @.str.9)
%21 = call i32 @move(i32 noundef 12, i64 noundef 31)
%22 = call i32 @printw(ptr noundef @.str.10)
%23 = call i32 @move(i32 noundef 13, i64 noundef 31)
%24 = call i32 @printw(ptr noundef @.str.11)
%25 = call i32 @move(i32 noundef 14, i64 noundef 31)
%26 = call i32 @printw(ptr noundef @.str.12)
ret void
}
declare i32 @move(i32 noundef, i64 noundef) #1
declare i32 @printw(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl0298nmp.c'
source_filename = "/tmp/tmpl0298nmp.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ugchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @ungetc(i8 noundef signext %3, i32 noundef %4)
ret void
}
declare i32 @ungetc(i8 noundef signext, 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/tmpl0298nmp.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ugchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = load i32, ptr @stdin, align 4
%5 = call i32 @ungetc(i8 noundef signext %3, i32 noundef %4)
ret void
}
declare i32 @ungetc(i8 noundef signext, 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/tmpqd3pyhl9.c'
source_filename = "/tmp/tmpqd3pyhl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 2
br i1 %4, label %5, label %26
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 10
br i1 %10, label %11, label %26
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 11
br i1 %13, label %14, label %26
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 17
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 18
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, 23
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = call i32 @bar(i32 noundef %24, i32 noundef 1)
br label %26
26: ; preds = %23, %20, %17, %14, %11, %8, %5, %1
ret void
}
declare i32 @bar(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/tmpqd3pyhl9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 2
br i1 %4, label %5, label %26
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 3
br i1 %7, label %8, label %26
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %9, 10
br i1 %10, label %11, label %26
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = icmp ne i32 %12, 11
br i1 %13, label %14, label %26
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = icmp ne i32 %15, 17
br i1 %16, label %17, label %26
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 18
br i1 %19, label %20, label %26
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = icmp ne i32 %21, 23
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = call i32 @bar(i32 noundef %24, i32 noundef 1)
br label %26
26: ; preds = %23, %20, %17, %14, %11, %8, %5, %1
ret void
}
declare i32 @bar(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/tmpi9hqa4e9.c'
source_filename = "/tmp/tmpi9hqa4e9.c"
target datalayout = "e-m:e-p270: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/tmpi9hqa4e9.c"
target datalayout = "e-m:e-p270: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/tmpsyb1bnpv.c'
source_filename = "/tmp/tmpsyb1bnpv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fcntl_with_lock(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @fcntl(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/tmpsyb1bnpv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fcntl_with_lock(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @fcntl(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/tmpkrpl024v.c'
source_filename = "/tmp/tmpkrpl024v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Mesh size must must be greater than 2, use default\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"Mesh size: %d x %d, epsilon=%6.4f, total Jacobi iterations: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%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
store i32 8, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %22
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 8, ptr %6, align 4
br label %21
21: ; preds = %19, %13
br label %22
22: ; preds = %21, %2
%23 = load i32, ptr %6, align 4
%24 = zext i32 %23 to i64
%25 = load i32, ptr %6, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %7, align 8
%28 = mul nuw i64 %24, %26
%29 = alloca double, i64 %28, align 16
store i64 %24, ptr %8, align 8
store i64 %26, ptr %9, align 8
%30 = load i32, ptr %6, align 4
%31 = call i32 @init_array(i32 noundef %30, ptr noundef %29)
%32 = load i32, ptr %6, align 4
%33 = call i32 @jacobi(i32 noundef %32, ptr noundef %29, double noundef 1.000000e-03)
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %10, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34, i32 noundef %35, double noundef 1.000000e-03, i32 noundef %36)
%38 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %38)
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @init_array(i32 noundef, ptr noundef) #1
declare i32 @jacobi(i32 noundef, ptr noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkrpl024v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"Mesh size must must be greater than 2, use default\0A\00", align 1
@.str.1 = private unnamed_addr constant [64 x i8] c"Mesh size: %d x %d, epsilon=%6.4f, total Jacobi iterations: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%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
store i32 8, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %22
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
%18 = icmp slt i32 %17, 2
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 8, ptr %6, align 4
br label %21
21: ; preds = %19, %13
br label %22
22: ; preds = %21, %2
%23 = load i32, ptr %6, align 4
%24 = zext i32 %23 to i64
%25 = load i32, ptr %6, align 4
%26 = zext i32 %25 to i64
%27 = call ptr @llvm.stacksave()
store ptr %27, ptr %7, align 8
%28 = mul nuw i64 %24, %26
%29 = alloca double, i64 %28, align 16
store i64 %24, ptr %8, align 8
store i64 %26, ptr %9, align 8
%30 = load i32, ptr %6, align 4
%31 = call i32 @init_array(i32 noundef %30, ptr noundef %29)
%32 = load i32, ptr %6, align 4
%33 = call i32 @jacobi(i32 noundef %32, ptr noundef %29, double noundef 1.000000e-03)
store i32 %33, ptr %10, align 4
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %6, align 4
%36 = load i32, ptr %10, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %34, i32 noundef %35, double noundef 1.000000e-03, i32 noundef %36)
%38 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %38)
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @init_array(i32 noundef, ptr noundef) #1
declare i32 @jacobi(i32 noundef, ptr noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe0tl0dvh.c'
source_filename = "/tmp/tmpe0tl0dvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@F_OK = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_access(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @strdup(ptr noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strtok(ptr noundef %7, ptr noundef @.str)
%9 = load i32, ptr @F_OK, align 4
%10 = load i32, ptr @X_OK, align 4
%11 = or i32 %9, %10
%12 = call i32 @access(i32 noundef %8, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load i32, ptr %4, align 4
ret i32 %15
}
declare ptr @strdup(ptr noundef) #1
declare i32 @access(i32 noundef, i32 noundef) #1
declare i32 @strtok(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe0tl0dvh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@F_OK = dso_local global i32 0, align 4
@X_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_access(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @strdup(ptr noundef %5)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strtok(ptr noundef %7, ptr noundef @.str)
%9 = load i32, ptr @F_OK, align 4
%10 = load i32, ptr @X_OK, align 4
%11 = or i32 %9, %10
%12 = call i32 @access(i32 noundef %8, i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = call i32 @free(ptr noundef %13)
%15 = load i32, ptr %4, align 4
ret i32 %15
}
declare ptr @strdup(ptr noundef) #1
declare i32 @access(i32 noundef, i32 noundef) #1
declare i32 @strtok(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6t57lxmm.c'
source_filename = "/tmp/tmp6t57lxmm.c"
target datalayout = "e-m:e-p270: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/tmp6t57lxmm.c"
target datalayout = "e-m:e-p270: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/tmpcer6krml.c'
source_filename = "/tmp/tmpcer6krml.c"
target datalayout = "e-m:e-p270: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/tmpcer6krml.c"
target datalayout = "e-m:e-p270: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/tmp4pvyebdd.c'
source_filename = "/tmp/tmp4pvyebdd.c"
target datalayout = "e-m:e-p270: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/tmp4pvyebdd.c"
target datalayout = "e-m:e-p270: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/tmphjbasz9j.c'
source_filename = "/tmp/tmphjbasz9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Not enough memory.\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"x^2=4\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"solve x\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Error return.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @matho_init()
%5 = icmp ne i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = call i32 @matho_parse(ptr noundef @.str.1, ptr noundef null)
%11 = call i32 @matho_process(ptr noundef @.str.2, ptr noundef %2)
store i32 %11, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %15)
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = call i32 @free(ptr noundef %20)
br label %24
22: ; preds = %14
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %24
24: ; preds = %22, %19
br label %25
25: ; preds = %24, %9
%26 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @matho_init(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @matho_parse(ptr noundef, ptr noundef) #1
declare i32 @matho_process(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmphjbasz9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Not enough memory.\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"x^2=4\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"solve x\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Error return.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 (...) @matho_init()
%5 = icmp ne i32 %4, 0
br i1 %5, label %9, label %6
6: ; preds = %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @exit(i32 noundef 1) #3
unreachable
9: ; preds = %0
%10 = call i32 @matho_parse(ptr noundef @.str.1, ptr noundef null)
%11 = call i32 @matho_process(ptr noundef @.str.2, ptr noundef %2)
store i32 %11, ptr %3, align 4
%12 = load ptr, ptr %2, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %25
14: ; preds = %9
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %15)
%17 = load i32, ptr %3, align 4
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %14
%20 = load ptr, ptr %2, align 8
%21 = call i32 @free(ptr noundef %20)
br label %24
22: ; preds = %14
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %24
24: ; preds = %22, %19
br label %25
25: ; preds = %24, %9
%26 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @matho_init(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @matho_parse(ptr noundef, ptr noundef) #1
declare i32 @matho_process(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpdc9o0x84.c'
source_filename = "/tmp/tmpdc9o0x84.c"
target datalayout = "e-m:e-p270: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.ether_addr = type { ptr }
@ether_ntoa.s = internal global ptr null, align 8
@.str = private unnamed_addr constant [18 x i8] c"%x:%x:%x:%x:%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ether_ntoa(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr @ether_ntoa.s, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %13
6: ; preds = %1
%7 = call i64 @malloc(i32 noundef 18)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr @ether_ntoa.s, align 8
%9 = load ptr, ptr @ether_ntoa.s, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %6
store ptr null, ptr %2, align 8
br label %55
12: ; preds = %6
br label %13
13: ; preds = %12, %1
%14 = load ptr, ptr @ether_ntoa.s, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
store i8 0, ptr %15, align 1
%16 = load ptr, ptr @ether_ntoa.s, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.ether_addr, ptr %17, i32 0, i32 0
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 0
%21 = load i64, ptr %20, align 8
%22 = trunc i64 %21 to i32
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds %struct.ether_addr, ptr %23, i32 0, i32 0
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds i64, ptr %25, i64 1
%27 = load i64, ptr %26, align 8
%28 = trunc i64 %27 to i32
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds %struct.ether_addr, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i64, ptr %31, i64 2
%33 = load i64, ptr %32, align 8
%34 = trunc i64 %33 to i32
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.ether_addr, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i64, ptr %37, i64 3
%39 = load i64, ptr %38, align 8
%40 = trunc i64 %39 to i32
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds %struct.ether_addr, ptr %41, i32 0, i32 0
%43 = load ptr, ptr %42, align 8
%44 = getelementptr inbounds i64, ptr %43, i64 4
%45 = load i64, ptr %44, align 8
%46 = trunc i64 %45 to i32
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds %struct.ether_addr, ptr %47, i32 0, i32 0
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds i64, ptr %49, i64 5
%51 = load i64, ptr %50, align 8
%52 = trunc i64 %51 to i32
%53 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %22, i32 noundef %28, i32 noundef %34, i32 noundef %40, i32 noundef %46, i32 noundef %52)
%54 = load ptr, ptr @ether_ntoa.s, align 8
store ptr %54, ptr %2, align 8
br label %55
55: ; preds = %13, %11
%56 = load ptr, ptr %2, align 8
ret ptr %56
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdc9o0x84.c"
target datalayout = "e-m:e-p270: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.ether_addr = type { ptr }
@ether_ntoa.s = internal global ptr null, align 8
@.str = private unnamed_addr constant [18 x i8] c"%x:%x:%x:%x:%x:%x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ether_ntoa(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr @ether_ntoa.s, align 8
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %13
6: ; preds = %1
%7 = call i64 @malloc(i32 noundef 18)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr @ether_ntoa.s, align 8
%9 = load ptr, ptr @ether_ntoa.s, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %6
store ptr null, ptr %2, align 8
br label %55
12: ; preds = %6
br label %13
13: ; preds = %12, %1
%14 = load ptr, ptr @ether_ntoa.s, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 0
store i8 0, ptr %15, align 1
%16 = load ptr, ptr @ether_ntoa.s, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.ether_addr, ptr %17, i32 0, i32 0
%19 = load ptr, ptr %18, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 0
%21 = load i64, ptr %20, align 8
%22 = trunc i64 %21 to i32
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds %struct.ether_addr, ptr %23, i32 0, i32 0
%25 = load ptr, ptr %24, align 8
%26 = getelementptr inbounds i64, ptr %25, i64 1
%27 = load i64, ptr %26, align 8
%28 = trunc i64 %27 to i32
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds %struct.ether_addr, ptr %29, i32 0, i32 0
%31 = load ptr, ptr %30, align 8
%32 = getelementptr inbounds i64, ptr %31, i64 2
%33 = load i64, ptr %32, align 8
%34 = trunc i64 %33 to i32
%35 = load ptr, ptr %3, align 8
%36 = getelementptr inbounds %struct.ether_addr, ptr %35, i32 0, i32 0
%37 = load ptr, ptr %36, align 8
%38 = getelementptr inbounds i64, ptr %37, i64 3
%39 = load i64, ptr %38, align 8
%40 = trunc i64 %39 to i32
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds %struct.ether_addr, ptr %41, i32 0, i32 0
%43 = load ptr, ptr %42, align 8
%44 = getelementptr inbounds i64, ptr %43, i64 4
%45 = load i64, ptr %44, align 8
%46 = trunc i64 %45 to i32
%47 = load ptr, ptr %3, align 8
%48 = getelementptr inbounds %struct.ether_addr, ptr %47, i32 0, i32 0
%49 = load ptr, ptr %48, align 8
%50 = getelementptr inbounds i64, ptr %49, i64 5
%51 = load i64, ptr %50, align 8
%52 = trunc i64 %51 to i32
%53 = call i32 @sprintf(ptr noundef %16, ptr noundef @.str, i32 noundef %22, i32 noundef %28, i32 noundef %34, i32 noundef %40, i32 noundef %46, i32 noundef %52)
%54 = load ptr, ptr @ether_ntoa.s, align 8
store ptr %54, ptr %2, align 8
br label %55
55: ; preds = %13, %11
%56 = load ptr, ptr %2, align 8
ret ptr %56
}
declare i64 @malloc(i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpck82r2km.c'
source_filename = "/tmp/tmpck82r2km.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [7 x i8] c"XXXXXX\00", align 1
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@CLOCK_REALTIME = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%06lX\00", align 1
@F_OK = dso_local global i32 0, align 4
@EEXIST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__mktemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.timespec, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %5, align 8
store i32 10000, ptr %6, align 4
%10 = load i64, ptr %5, align 8
%11 = icmp ult i64 %10, 6
br i1 %11, label %19, label %12
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = getelementptr inbounds i8, ptr %15, i64 -6
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %12, %1
%20 = load i32, ptr @EINVAL, align 4
store i32 %20, ptr @errno, align 4
store ptr null, ptr %2, align 8
br label %58
21: ; preds = %12
%22 = load i32, ptr @CLOCK_REALTIME, align 4
%23 = call i32 @clock_gettime(i32 noundef %22, ptr noundef %4)
%24 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = ptrtoint ptr %4 to i64
%27 = udiv i64 %26, 16
%28 = add i64 %25, %27
%29 = load ptr, ptr %3, align 8
%30 = ptrtoint ptr %29 to i64
%31 = add i64 %28, %30
store i64 %31, ptr %7, align 8
br label %32
32: ; preds = %50, %21
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %6, align 4
%35 = icmp ne i32 %33, 0
br i1 %35, label %36, label %54
36: ; preds = %32
%37 = load ptr, ptr %3, align 8
%38 = load i64, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 %38
%40 = getelementptr inbounds i8, ptr %39, i64 -6
%41 = load i64, ptr %7, align 8
%42 = and i64 %41, 16777215
%43 = call i32 @snprintf(ptr noundef %40, i32 noundef 7, ptr noundef @.str.1, i64 noundef %42)
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr @F_OK, align 4
%46 = call i64 @access(ptr noundef %44, i32 noundef %45)
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %36
%49 = load ptr, ptr %3, align 8
store ptr %49, ptr %2, align 8
br label %58
50: ; preds = %36
%51 = load i64, ptr %7, align 8
%52 = mul i64 %51, 1103515245
%53 = add i64 %52, 12345
store i64 %53, ptr %7, align 8
br label %32, !llvm.loop !6
54: ; preds = %32
%55 = load ptr, ptr %3, align 8
store i8 0, ptr %55, align 1
%56 = load i32, ptr @EEXIST, align 4
store i32 %56, ptr @errno, align 4
%57 = load ptr, ptr %3, align 8
store ptr %57, ptr %2, align 8
br label %58
58: ; preds = %54, %48, %19
%59 = load ptr, ptr %2, align 8
ret ptr %59
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @access(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/tmpck82r2km.c"
target datalayout = "e-m:e-p270: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 }
@.str = private unnamed_addr constant [7 x i8] c"XXXXXX\00", align 1
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@CLOCK_REALTIME = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [6 x i8] c"%06lX\00", align 1
@F_OK = dso_local global i32 0, align 4
@EEXIST = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__mktemp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca %struct.timespec, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %5, align 8
store i32 10000, ptr %6, align 4
%10 = load i64, ptr %5, align 8
%11 = icmp ult i64 %10, 6
br i1 %11, label %19, label %12
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i8, ptr %13, i64 %14
%16 = getelementptr inbounds i8, ptr %15, i64 -6
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %21
19: ; preds = %12, %1
%20 = load i32, ptr @EINVAL, align 4
store i32 %20, ptr @errno, align 4
store ptr null, ptr %2, align 8
br label %60
21: ; preds = %12
%22 = load i32, ptr @CLOCK_REALTIME, align 4
%23 = call i32 @clock_gettime(i32 noundef %22, ptr noundef %4)
%24 = getelementptr inbounds %struct.timespec, ptr %4, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = ptrtoint ptr %4 to i64
%27 = udiv i64 %26, 16
%28 = add i64 %25, %27
%29 = load ptr, ptr %3, align 8
%30 = ptrtoint ptr %29 to i64
%31 = add i64 %28, %30
store i64 %31, ptr %7, align 8
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %6, align 4
%34 = icmp ne i32 %32, 0
br i1 %34, label %.lr.ph, label %56
.lr.ph: ; preds = %21
br label %35
35: ; preds = %.lr.ph, %49
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %36, i64 %37
%39 = getelementptr inbounds i8, ptr %38, i64 -6
%40 = load i64, ptr %7, align 8
%41 = and i64 %40, 16777215
%42 = call i32 @snprintf(ptr noundef %39, i32 noundef 7, ptr noundef @.str.1, i64 noundef %41)
%43 = load ptr, ptr %3, align 8
%44 = load i32, ptr @F_OK, align 4
%45 = call i64 @access(ptr noundef %43, i32 noundef %44)
%46 = icmp slt i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %35
%48 = load ptr, ptr %3, align 8
store ptr %48, ptr %2, align 8
br label %60
49: ; preds = %35
%50 = load i64, ptr %7, align 8
%51 = mul i64 %50, 1103515245
%52 = add i64 %51, 12345
store i64 %52, ptr %7, align 8
%53 = load i32, ptr %6, align 4
%54 = add nsw i32 %53, -1
store i32 %54, ptr %6, align 4
%55 = icmp ne i32 %53, 0
br i1 %55, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %56
56: ; preds = %._crit_edge, %21
%57 = load ptr, ptr %3, align 8
store i8 0, ptr %57, align 1
%58 = load i32, ptr @EEXIST, align 4
store i32 %58, ptr @errno, align 4
%59 = load ptr, ptr %3, align 8
store ptr %59, ptr %2, align 8
br label %60
60: ; preds = %56, %47, %19
%61 = load ptr, ptr %2, align 8
ret ptr %61
}
declare i64 @strlen(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @clock_gettime(i32 noundef, ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1
declare i64 @access(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/tmpdaepe2e7.c'
source_filename = "/tmp/tmpdaepe2e7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawOcta() #0 {
%1 = call i32 @glColor3f(double noundef 8.000000e-01, double noundef 5.000000e-01, double noundef 5.000000e-01)
%2 = call i32 (...) @glPushMatrix()
%3 = call i32 @glScalef(double noundef 6.000000e+00, double noundef 6.000000e+00, double noundef 6.000000e+00)
%4 = call i32 (...) @glutWireOctahedron()
%5 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glPushMatrix(...) #1
declare i32 @glScalef(double noundef, double noundef, double noundef) #1
declare i32 @glutWireOctahedron(...) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdaepe2e7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @drawOcta() #0 {
%1 = call i32 @glColor3f(double noundef 8.000000e-01, double noundef 5.000000e-01, double noundef 5.000000e-01)
%2 = call i32 (...) @glPushMatrix()
%3 = call i32 @glScalef(double noundef 6.000000e+00, double noundef 6.000000e+00, double noundef 6.000000e+00)
%4 = call i32 (...) @glutWireOctahedron()
%5 = call i32 (...) @glPopMatrix()
ret void
}
declare i32 @glColor3f(double noundef, double noundef, double noundef) #1
declare i32 @glPushMatrix(...) #1
declare i32 @glScalef(double noundef, double noundef, double noundef) #1
declare i32 @glutWireOctahedron(...) #1
declare i32 @glPopMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa6el2q7l.c'
source_filename = "/tmp/tmpa6el2q7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\0A ERROR: Invalid inputs to merge sort\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13, %10, %3
%17 = call i32 @printf(ptr noundef @.str)
br label %42
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
br label %42
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %5, align 4
%27 = sub nsw i32 %25, %26
%28 = sdiv i32 %27, 2
%29 = add nsw i32 %24, %28
store i32 %29, ptr %7, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %7, align 4
call void @merge_sort(ptr noundef %30, i32 noundef %31, i32 noundef %32)
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
%36 = load i32, ptr %6, align 4
call void @merge_sort(ptr noundef %33, i32 noundef %35, i32 noundef %36)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @merge(ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
br label %42
42: ; preds = %23, %22, %16
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @merge(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/tmpa6el2q7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"\0A ERROR: Invalid inputs to merge sort\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @merge_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %3
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %13, %10, %3
%17 = call i32 @printf(ptr noundef @.str)
br label %42
18: ; preds = %13
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp sge i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
br label %42
23: ; preds = %18
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %5, align 4
%27 = sub nsw i32 %25, %26
%28 = sdiv i32 %27, 2
%29 = add nsw i32 %24, %28
store i32 %29, ptr %7, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %7, align 4
call void @merge_sort(ptr noundef %30, i32 noundef %31, i32 noundef %32)
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
%36 = load i32, ptr %6, align 4
call void @merge_sort(ptr noundef %33, i32 noundef %35, i32 noundef %36)
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %6, align 4
%41 = call i32 @merge(ptr noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40)
br label %42
42: ; preds = %23, %22, %16
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @merge(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/tmpvtlt926x.c'
source_filename = "/tmp/tmpvtlt926x.c"
target datalayout = "e-m:e-p270: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/tmpvtlt926x.c"
target datalayout = "e-m:e-p270: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/tmp5iv2il_i.c'
source_filename = "/tmp/tmp5iv2il_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @calclike(i32 noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %8, align 4
br label %11
11: ; preds = %73, %3
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %12, 4
br i1 %13, label %14, label %76
14: ; preds = %11
%15 = load i32, ptr %8, align 4
store i32 %15, ptr %9, align 4
br label %16
16: ; preds = %69, %14
%17 = load i32, ptr %9, align 4
%18 = icmp slt i32 %17, 4
br i1 %18, label %19, label %72
19: ; preds = %16
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp eq i32 %20, %21
br i1 %22, label %23, label %27
23: ; preds = %19
%24 = load double, ptr %5, align 8
%25 = fsub double 1.000000e+00, %24
%26 = fdiv double %25, 2.000000e+00
store double %26, ptr %7, align 8
br label %30
27: ; preds = %19
%28 = load double, ptr %5, align 8
%29 = fdiv double %28, 6.000000e+00
store double %29, ptr %7, align 8
br label %30
30: ; preds = %27, %23
%31 = load i32, ptr %4, align 4
%32 = load i32, ptr %9, align 4
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load double, ptr %7, align 8
%36 = load double, ptr %5, align 8
%37 = fsub double 1.000000e+00, %36
%38 = fdiv double %37, 2.000000e+00
%39 = fadd double %35, %38
store double %39, ptr %7, align 8
br label %45
40: ; preds = %30
%41 = load double, ptr %7, align 8
%42 = load double, ptr %5, align 8
%43 = fdiv double %42, 6.000000e+00
%44 = fadd double %41, %43
store double %44, ptr %7, align 8
br label %45
45: ; preds = %40, %34
%46 = load double, ptr %7, align 8
%47 = fcmp ole double %46, 0.000000e+00
br i1 %47, label %48, label %53
48: ; preds = %45
%49 = load ptr, ptr %6, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
store double -1.000000e+06, ptr %52, align 8
br label %66
53: ; preds = %45
%54 = load ptr, ptr %6, align 8
%55 = load i32, ptr %10, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = load double, ptr %7, align 8
%60 = call double @log(double noundef %59) #2
%61 = fadd double %58, %60
%62 = load ptr, ptr %6, align 8
%63 = load i32, ptr %10, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %62, i64 %64
store double %61, ptr %65, align 8
br label %66
66: ; preds = %53, %48
%67 = load i32, ptr %10, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %10, align 4
br label %69
69: ; preds = %66
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %9, align 4
br label %16, !llvm.loop !6
72: ; preds = %16
br label %73
73: ; preds = %72
%74 = load i32, ptr %8, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %8, align 4
br label %11, !llvm.loop !8
76: ; preds = %11
ret void
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5iv2il_i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @calclike(i32 noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca double, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store double %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %8, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %.lr.ph2, label %78
.lr.ph2: ; preds = %3
br label %13
13: ; preds = %.lr.ph2, %73
%14 = load i32, ptr %8, align 4
store i32 %14, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 4
br i1 %16, label %.lr.ph, label %72
.lr.ph: ; preds = %13
br label %17
17: ; preds = %.lr.ph, %67
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %25
21: ; preds = %17
%22 = load double, ptr %5, align 8
%23 = fsub double 1.000000e+00, %22
%24 = fdiv double %23, 2.000000e+00
store double %24, ptr %7, align 8
br label %28
25: ; preds = %17
%26 = load double, ptr %5, align 8
%27 = fdiv double %26, 6.000000e+00
store double %27, ptr %7, align 8
br label %28
28: ; preds = %25, %21
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %9, align 4
%31 = icmp eq i32 %29, %30
br i1 %31, label %32, label %38
32: ; preds = %28
%33 = load double, ptr %7, align 8
%34 = load double, ptr %5, align 8
%35 = fsub double 1.000000e+00, %34
%36 = fdiv double %35, 2.000000e+00
%37 = fadd double %33, %36
store double %37, ptr %7, align 8
br label %43
38: ; preds = %28
%39 = load double, ptr %7, align 8
%40 = load double, ptr %5, align 8
%41 = fdiv double %40, 6.000000e+00
%42 = fadd double %39, %41
store double %42, ptr %7, align 8
br label %43
43: ; preds = %38, %32
%44 = load double, ptr %7, align 8
%45 = fcmp ole double %44, 0.000000e+00
br i1 %45, label %46, label %51
46: ; preds = %43
%47 = load ptr, ptr %6, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %47, i64 %49
store double -1.000000e+06, ptr %50, align 8
br label %64
51: ; preds = %43
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, ptr %52, i64 %54
%56 = load double, ptr %55, align 8
%57 = load double, ptr %7, align 8
%58 = call double @log(double noundef %57) #2
%59 = fadd double %56, %58
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %10, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
store double %59, ptr %63, align 8
br label %64
64: ; preds = %51, %46
%65 = load i32, ptr %10, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %10, align 4
br label %67
67: ; preds = %64
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp slt i32 %70, 4
br i1 %71, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %67
br label %72
72: ; preds = %._crit_edge, %13
br label %73
73: ; preds = %72
%74 = load i32, ptr %8, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %8, align 4
%76 = load i32, ptr %8, align 4
%77 = icmp slt i32 %76, 4
br i1 %77, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %78
78: ; preds = %._crit_edge3, %3
ret void
}
; Function Attrs: nounwind
declare double @log(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpbv02ysf3.c'
source_filename = "/tmp/tmpbv02ysf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vector_only_slot_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @xfree(ptr noundef %3)
ret void
}
declare i32 @xfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbv02ysf3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vector_only_slot_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @xfree(ptr noundef %3)
ret void
}
declare i32 @xfree(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgq1wvlti.c'
source_filename = "/tmp/tmpgq1wvlti.c"
target datalayout = "e-m:e-p270: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/tmpgq1wvlti.c"
target datalayout = "e-m:e-p270: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/tmppr_0jcrd.c'
source_filename = "/tmp/tmppr_0jcrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_docommand(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (...) @monLock()
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @_docommand(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = call i32 (...) @monUnlock()
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @monLock(...) #1
declare i32 @_docommand(ptr noundef, i32 noundef) #1
declare i32 @monUnlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppr_0jcrd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mon_docommand(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = call i32 (...) @monLock()
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @_docommand(ptr noundef %7, i32 noundef %8)
store i32 %9, ptr %5, align 4
%10 = call i32 (...) @monUnlock()
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @monLock(...) #1
declare i32 @_docommand(ptr noundef, i32 noundef) #1
declare i32 @monUnlock(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp83ilztg8.c'
source_filename = "/tmp/tmp83ilztg8.c"
target datalayout = "e-m:e-p270: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/tmp83ilztg8.c"
target datalayout = "e-m:e-p270: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/tmps2p6k6ov.c'
source_filename = "/tmp/tmps2p6k6ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @larvaDelay(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
store ptr %0, ptr %2, align 8
store float 1.000000e+00, ptr %3, align 4
store float 0x3FB99999A0000000, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load float, ptr %3, align 4
%7 = load float, ptr %4, align 4
%8 = call float @BoxMuller(ptr noundef %5, float noundef %6, float noundef %7)
ret float %8
}
declare float @BoxMuller(ptr noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps2p6k6ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @larvaDelay(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca float, align 4
%4 = alloca float, align 4
store ptr %0, ptr %2, align 8
store float 1.000000e+00, ptr %3, align 4
store float 0x3FB99999A0000000, ptr %4, align 4
%5 = load ptr, ptr %2, align 8
%6 = load float, ptr %3, align 4
%7 = load float, ptr %4, align 4
%8 = call float @BoxMuller(ptr noundef %5, float noundef %6, float noundef %7)
ret float %8
}
declare float @BoxMuller(ptr noundef, float noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnw44gztr.c'
source_filename = "/tmp/tmpnw44gztr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %10, %3
store ptr null, ptr %4, align 8
br label %46
14: ; preds = %10
br label %15
15: ; preds = %19, %14
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = icmp ne i8 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %5, align 8
br label %15, !llvm.loop !6
22: ; preds = %15
br label %23
23: ; preds = %33, %22
%24 = load i64, ptr %7, align 8
%25 = icmp ugt i64 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %23
%27 = load ptr, ptr %6, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp ne i32 %29, 0
br label %31
31: ; preds = %26, %23
%32 = phi i1 [ false, %23 ], [ %30, %26 ]
br i1 %32, label %33, label %43
33: ; preds = %31
%34 = load ptr, ptr %6, align 8
%35 = load i8, ptr %34, align 1
%36 = load ptr, ptr %5, align 8
store i8 %35, ptr %36, align 1
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = load ptr, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %6, align 8
%41 = load i64, ptr %7, align 8
%42 = add i64 %41, -1
store i64 %42, ptr %7, align 8
br label %23, !llvm.loop !8
43: ; preds = %31
%44 = load ptr, ptr %5, align 8
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %5, align 8
store ptr %45, ptr %4, align 8
br label %46
46: ; preds = %43, %13
%47 = load ptr, ptr %4, align 8
ret ptr %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpnw44gztr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %3
%11 = load ptr, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %10, %3
store ptr null, ptr %4, align 8
br label %48
14: ; preds = %10
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %.lr.ph, label %24
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load ptr, ptr %5, align 8
%22 = load i8, ptr %21, align 1
%23 = icmp ne i8 %22, 0
br i1 %23, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %14
br label %25
25: ; preds = %35, %24
%26 = load i64, ptr %7, align 8
%27 = icmp ugt i64 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %25
%29 = load ptr, ptr %6, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 0
br label %33
33: ; preds = %28, %25
%34 = phi i1 [ false, %25 ], [ %32, %28 ]
br i1 %34, label %35, label %45
35: ; preds = %33
%36 = load ptr, ptr %6, align 8
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %5, align 8
store i8 %37, ptr %38, align 1
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %6, align 8
%43 = load i64, ptr %7, align 8
%44 = add i64 %43, -1
store i64 %44, ptr %7, align 8
br label %25, !llvm.loop !8
45: ; preds = %33
%46 = load ptr, ptr %5, align 8
store i8 0, ptr %46, align 1
%47 = load ptr, ptr %5, align 8
store ptr %47, ptr %4, align 8
br label %48
48: ; preds = %45, %13
%49 = load ptr, ptr %4, align 8
ret ptr %49
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp02l3na07.c'
source_filename = "/tmp/tmp02l3na07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"darkmantle\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"MM 46\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d: %d hp\00", align 1
@.str.3 = private unnamed_addr constant [200 x i8] c"A creature in a boat or raft that tries and fails to detach a darkmantle from itself or another creature must succeed on a DC 10 Dexterity saving throw or fall out of the vessel and into the water.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @darkmantle(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %25, %1
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ult i32 %7, %8
br i1 %9, label %10, label %28
10: ; preds = %6
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @d(i32 noundef 6)
%14 = call i32 @d(i32 noundef 6)
%15 = add nsw i32 %13, %14
%16 = call i32 @d(i32 noundef 6)
%17 = add nsw i32 %15, %16
%18 = call i32 @d(i32 noundef 6)
%19 = add nsw i32 %17, %18
%20 = call i32 @d(i32 noundef 6)
%21 = add nsw i32 %19, %20
%22 = add nsw i32 %21, 5
%23 = call i32 @printf(ptr noundef @.str.2, i32 noundef %12, i32 noundef %22)
%24 = call i32 @putchar(i8 noundef signext 10)
br label %25
25: ; preds = %10
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %6, !llvm.loop !6
28: ; preds = %6
%29 = call i32 @putchar(i8 noundef signext 10)
%30 = call i32 @niceprint(ptr noundef @.str.3)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @d(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @niceprint(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp02l3na07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"darkmantle\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"MM 46\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d: %d hp\00", align 1
@.str.3 = private unnamed_addr constant [200 x i8] c"A creature in a boat or raft that tries and fails to detach a darkmantle from itself or another creature must succeed on a DC 10 Dexterity saving throw or fall out of the vessel and into the water.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @darkmantle(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @nicename(i32 noundef %4, ptr noundef @.str, ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp ult i32 %6, %7
br i1 %8, label %.lr.ph, label %30
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %24
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 @d(i32 noundef 6)
%13 = call i32 @d(i32 noundef 6)
%14 = add nsw i32 %12, %13
%15 = call i32 @d(i32 noundef 6)
%16 = add nsw i32 %14, %15
%17 = call i32 @d(i32 noundef 6)
%18 = add nsw i32 %16, %17
%19 = call i32 @d(i32 noundef 6)
%20 = add nsw i32 %18, %19
%21 = add nsw i32 %20, 5
%22 = call i32 @printf(ptr noundef @.str.2, i32 noundef %11, i32 noundef %21)
%23 = call i32 @putchar(i8 noundef signext 10)
br label %24
24: ; preds = %9
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp ult i32 %27, %28
br i1 %29, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %1
%31 = call i32 @putchar(i8 noundef signext 10)
%32 = call i32 @niceprint(ptr noundef @.str.3)
ret void
}
declare i32 @nicename(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @d(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @niceprint(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpf849vcl4.c'
source_filename = "/tmp/tmpf849vcl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uninitvar_ispunct() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @ispunct(i32 noundef %2) #2
ret void
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @ispunct(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 = { 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 #2 = { 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/tmpf849vcl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @uninitvar_ispunct() #0 {
%1 = alloca i32, align 4
%2 = load i32, ptr %1, align 4
%3 = call i32 @ispunct(i32 noundef %2) #2
ret void
}
; Function Attrs: nounwind willreturn memory(read)
declare i32 @ispunct(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 = { 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 #2 = { 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/tmpyjsswhqs.c'
source_filename = "/tmp/tmpyjsswhqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dgl32.g = internal global [16 x double] [double 0x3FA8BBC8488CC499, double 0x3FC27E0EA717F237, double 0x3FCEA0F7E19C094B, double 0x3FD53D55CE57BDF6, double 0x3FDAF76B57C6F8F1, double 0x3FE038862866B29D, double 0x3FE2CE9146962CA4, double 0x3FE537A89C487F8A, double 0x3FE76E0931D693BA, double 0x3FE96C69481C4BC5, double 0x3FEB2E04FD686A13, double 0x3FECAEA9B4574CB9, double 0x3FEDEAC0259F7F42, double 0x3FEEDF5518053BAA, double 0x3FEF8A212714BCDC, double 0x3FEFE995E70409B6], align 16
@dgl32.w = internal global [16 x double] [double 0x3FB8B6D9EAEC77AD, double 0x3FB87BC776F8C6D7, double 0x3FB8062FC0F6FEF9, double 0x3FB7572BDB3F6E51, double 0x3FB6705E18E13ED1, double 0x3FB553EE25EBEBC6, double 0x3FB40483E126FD14, double 0x3FB2854103B35E0C, double 0x3FB0D9B9A62CAC10, double 0x3FAE0BD76C924981, double 0x3FAA1C6AE961FBFA, double 0x3FA5EE963A335495, double 0x3FA18C5800A355D9, double 0x3F9A0060A8531FFA, double 0x3F90AA3C248696C9, double 0x3F7CBF8BC743CC5D], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dgl32(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%9 = load double, ptr %4, align 8
%10 = load double, ptr %5, align 8
%11 = fcmp oeq double %9, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store double 0.000000e+00, ptr %3, align 8
br label %67
13: ; preds = %2
store i32 0, ptr %8, align 4
%14 = load double, ptr %4, align 8
%15 = load double, ptr %5, align 8
%16 = fcmp ogt double %14, %15
br i1 %16, label %17, label %21
17: ; preds = %13
store i32 1, ptr %8, align 4
%18 = load double, ptr %4, align 8
store double %18, ptr %6, align 8
%19 = load double, ptr %5, align 8
store double %19, ptr %4, align 8
%20 = load double, ptr %6, align 8
store double %20, ptr %5, align 8
br label %21
21: ; preds = %17, %13
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %6, align 8
br label %22
22: ; preds = %50, %21
%23 = load i32, ptr %7, align 4
%24 = icmp slt i32 %23, 16
br i1 %24, label %25, label %53
25: ; preds = %22
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [16 x double], ptr @dgl32.w, i64 0, i64 %27
%29 = load double, ptr %28, align 8
%30 = load double, ptr %4, align 8
%31 = load double, ptr %5, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [16 x double], ptr @dgl32.g, i64 0, i64 %33
%35 = load double, ptr %34, align 8
%36 = call i32 @_Normal(double noundef %30, double noundef %31, double noundef %35)
%37 = call double @_f(i32 noundef %36)
%38 = load double, ptr %4, align 8
%39 = load double, ptr %5, align 8
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [16 x double], ptr @dgl32.g, i64 0, i64 %41
%43 = load double, ptr %42, align 8
%44 = fneg double %43
%45 = call i32 @_Normal(double noundef %38, double noundef %39, double noundef %44)
%46 = call double @_f(i32 noundef %45)
%47 = fadd double %37, %46
%48 = load double, ptr %6, align 8
%49 = call double @llvm.fmuladd.f64(double %29, double %47, double %48)
store double %49, ptr %6, align 8
br label %50
50: ; preds = %25
%51 = load i32, ptr %7, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %7, align 4
br label %22, !llvm.loop !6
53: ; preds = %22
%54 = load double, ptr %5, align 8
%55 = load double, ptr %4, align 8
%56 = fsub double %54, %55
%57 = fdiv double %56, 2.000000e+00
%58 = load double, ptr %6, align 8
%59 = fmul double %58, %57
store double %59, ptr %6, align 8
%60 = load i32, ptr %8, align 4
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %53
%63 = load double, ptr %6, align 8
%64 = fneg double %63
store double %64, ptr %3, align 8
br label %67
65: ; preds = %53
%66 = load double, ptr %6, align 8
store double %66, ptr %3, align 8
br label %67
67: ; preds = %65, %62, %12
%68 = load double, ptr %3, align 8
ret double %68
}
declare double @_f(i32 noundef) #1
declare i32 @_Normal(double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyjsswhqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dgl32.g = internal global [16 x double] [double 0x3FA8BBC8488CC499, double 0x3FC27E0EA717F237, double 0x3FCEA0F7E19C094B, double 0x3FD53D55CE57BDF6, double 0x3FDAF76B57C6F8F1, double 0x3FE038862866B29D, double 0x3FE2CE9146962CA4, double 0x3FE537A89C487F8A, double 0x3FE76E0931D693BA, double 0x3FE96C69481C4BC5, double 0x3FEB2E04FD686A13, double 0x3FECAEA9B4574CB9, double 0x3FEDEAC0259F7F42, double 0x3FEEDF5518053BAA, double 0x3FEF8A212714BCDC, double 0x3FEFE995E70409B6], align 16
@dgl32.w = internal global [16 x double] [double 0x3FB8B6D9EAEC77AD, double 0x3FB87BC776F8C6D7, double 0x3FB8062FC0F6FEF9, double 0x3FB7572BDB3F6E51, double 0x3FB6705E18E13ED1, double 0x3FB553EE25EBEBC6, double 0x3FB40483E126FD14, double 0x3FB2854103B35E0C, double 0x3FB0D9B9A62CAC10, double 0x3FAE0BD76C924981, double 0x3FAA1C6AE961FBFA, double 0x3FA5EE963A335495, double 0x3FA18C5800A355D9, double 0x3F9A0060A8531FFA, double 0x3F90AA3C248696C9, double 0x3F7CBF8BC743CC5D], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @dgl32(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%9 = load double, ptr %4, align 8
%10 = load double, ptr %5, align 8
%11 = fcmp oeq double %9, %10
br i1 %11, label %12, label %13
12: ; preds = %2
store double 0.000000e+00, ptr %3, align 8
br label %68
13: ; preds = %2
store i32 0, ptr %8, align 4
%14 = load double, ptr %4, align 8
%15 = load double, ptr %5, align 8
%16 = fcmp ogt double %14, %15
br i1 %16, label %17, label %21
17: ; preds = %13
store i32 1, ptr %8, align 4
%18 = load double, ptr %4, align 8
store double %18, ptr %6, align 8
%19 = load double, ptr %5, align 8
store double %19, ptr %4, align 8
%20 = load double, ptr %6, align 8
store double %20, ptr %5, align 8
br label %21
21: ; preds = %17, %13
store i32 0, ptr %7, align 4
store double 0.000000e+00, ptr %6, align 8
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 16
br i1 %23, label %.lr.ph, label %54
.lr.ph: ; preds = %21
br label %24
24: ; preds = %.lr.ph, %49
%25 = load i32, ptr %7, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [16 x double], ptr @dgl32.w, i64 0, i64 %26
%28 = load double, ptr %27, align 8
%29 = load double, ptr %4, align 8
%30 = load double, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [16 x double], ptr @dgl32.g, i64 0, i64 %32
%34 = load double, ptr %33, align 8
%35 = call i32 @_Normal(double noundef %29, double noundef %30, double noundef %34)
%36 = call double @_f(i32 noundef %35)
%37 = load double, ptr %4, align 8
%38 = load double, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [16 x double], ptr @dgl32.g, i64 0, i64 %40
%42 = load double, ptr %41, align 8
%43 = fneg double %42
%44 = call i32 @_Normal(double noundef %37, double noundef %38, double noundef %43)
%45 = call double @_f(i32 noundef %44)
%46 = fadd double %36, %45
%47 = load double, ptr %6, align 8
%48 = call double @llvm.fmuladd.f64(double %28, double %46, double %47)
store double %48, ptr %6, align 8
br label %49
49: ; preds = %24
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp slt i32 %52, 16
br i1 %53, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %54
54: ; preds = %._crit_edge, %21
%55 = load double, ptr %5, align 8
%56 = load double, ptr %4, align 8
%57 = fsub double %55, %56
%58 = fdiv double %57, 2.000000e+00
%59 = load double, ptr %6, align 8
%60 = fmul double %59, %58
store double %60, ptr %6, align 8
%61 = load i32, ptr %8, align 4
%62 = icmp ne i32 %61, 0
br i1 %62, label %63, label %66
63: ; preds = %54
%64 = load double, ptr %6, align 8
%65 = fneg double %64
store double %65, ptr %3, align 8
br label %68
66: ; preds = %54
%67 = load double, ptr %6, align 8
store double %67, ptr %3, align 8
br label %68
68: ; preds = %66, %63, %12
%69 = load double, ptr %3, align 8
ret double %69
}
declare double @_f(i32 noundef) #1
declare i32 @_Normal(double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn3p7tpbi.c'
source_filename = "/tmp/tmpn3p7tpbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concatestrings(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %7, %9
%11 = add nsw i32 %10, 1
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = add nsw i32 %25, 1
%27 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %3, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = load ptr, ptr %4, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = add nsw i32 %30, %32
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %28, i64 %35
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %5, align 8
ret ptr %37
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr 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/tmpn3p7tpbi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @concatestrings(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = load ptr, ptr %4, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = add nsw i32 %7, %9
%11 = add nsw i32 %10, 1
%12 = call ptr @malloc(i32 noundef %11)
store ptr %12, ptr %5, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %16)
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %18, i64 %21
%23 = load ptr, ptr %4, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i32 @strlen(ptr noundef %24)
%26 = add nsw i32 %25, 1
%27 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %26)
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %3, align 8
%30 = call i32 @strlen(ptr noundef %29)
%31 = load ptr, ptr %4, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = add nsw i32 %30, %32
%34 = add nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %28, i64 %35
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %5, align 8
ret ptr %37
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr 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/tmptm40nu_c.c'
source_filename = "/tmp/tmptm40nu_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%ju: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ju \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 void @print_prime_factors(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [64 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [64 x i32], ptr %5, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @get_prime_factors(i32 noundef 0, ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @pthread_mutex_lock(ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
store i32 0, ptr %6, align 4
br label %15
15: ; preds = %25, %2
%16 = load i32, ptr %6, align 4
%17 = load i32, ptr %7, align 4
%18 = icmp sle i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [64 x i32], ptr %5, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%30 = load ptr, ptr %4, align 8
%31 = call i32 @pthread_mutex_unlock(ptr noundef %30)
ret void
}
declare i32 @get_prime_factors(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @pthread_mutex_lock(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pthread_mutex_unlock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmptm40nu_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%ju: \00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%ju \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 void @print_prime_factors(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [64 x i32], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%8 = getelementptr inbounds [64 x i32], ptr %5, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @get_prime_factors(i32 noundef 0, ptr noundef %8, i32 noundef %9)
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = call i32 @pthread_mutex_lock(ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
store i32 0, ptr %6, align 4
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %24
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [64 x i32], ptr %5, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %18
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %2
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%32 = load ptr, ptr %4, align 8
%33 = call i32 @pthread_mutex_unlock(ptr noundef %32)
ret void
}
declare i32 @get_prime_factors(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @pthread_mutex_lock(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pthread_mutex_unlock(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp9x78c4yx.c'
source_filename = "/tmp/tmp9x78c4yx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"select.sh \22%s\22 %s \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @process_generic_datatype_system_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%14 = call ptr @strdup(ptr noundef %13)
ret ptr %14
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9x78c4yx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"select.sh \22%s\22 %s \22%s\22\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @process_generic_datatype_system_string(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [1024 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %6, align 8
%12 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [1024 x i8], ptr %7, i64 0, i64 0
%14 = call ptr @strdup(ptr noundef %13)
ret ptr %14
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #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"}
|
; ModuleID = '/tmp/tmpogx3hhdr.c'
source_filename = "/tmp/tmpogx3hhdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %3, ptr %2, align 4
br label %4
4: ; preds = %0, %4
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
br label %4
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpogx3hhdr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %3, ptr %2, align 4
br label %4
4: ; preds = %4, %0
%5 = load i32, ptr %2, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr %2, align 4
br label %4
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdpnxn42l.c'
source_filename = "/tmp/tmpdpnxn42l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello World\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdpnxn42l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello World\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjzo323fh.c'
source_filename = "/tmp/tmpjzo323fh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"temp-trymkffo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @mkfifo(ptr noundef @.str, i32 noundef 0)
ret void
}
declare i32 @mkfifo(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/tmpjzo323fh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"temp-trymkffo\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = call i32 @mkfifo(ptr noundef @.str, i32 noundef 0)
ret void
}
declare i32 @mkfifo(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/tmpa40pglgr.c'
source_filename = "/tmp/tmpa40pglgr.c"
target datalayout = "e-m:e-p270: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/tmpa40pglgr.c"
target datalayout = "e-m:e-p270: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/tmpeh9dw6gx.c'
source_filename = "/tmp/tmpeh9dw6gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRandom(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
%8 = load i32, ptr %4, align 4
%9 = srem i32 %8, 4
%10 = sext i32 %9 to i64
store i64 %10, ptr %6, align 8
store i64 0, ptr %5, align 8
br label %11
11: ; preds = %24, %2
%12 = load i64, ptr %5, align 8
%13 = load i32, ptr %4, align 4
%14 = sdiv i32 %13, 4
%15 = sext i32 %14 to i64
%16 = icmp slt i64 %12, %15
br i1 %16, label %17, label %27
17: ; preds = %11
%18 = call i64 (...) @random()
store i64 %18, ptr %7, align 8
%19 = load ptr, ptr %3, align 8
%20 = load i64, ptr %5, align 8
%21 = mul nsw i64 %20, 4
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = call i32 @memcpy(ptr noundef %22, ptr noundef %7, i64 noundef 4)
br label %24
24: ; preds = %17
%25 = load i64, ptr %5, align 8
%26 = add nsw i64 %25, 1
store i64 %26, ptr %5, align 8
br label %11, !llvm.loop !6
27: ; preds = %11
%28 = load i64, ptr %6, align 8
%29 = icmp sgt i64 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %27
%31 = call i64 (...) @random()
store i64 %31, ptr %7, align 8
%32 = load ptr, ptr %3, align 8
%33 = load i64, ptr %5, align 8
%34 = mul nsw i64 %33, 4
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i64, ptr %6, align 8
%37 = call i32 @memcpy(ptr noundef %35, ptr noundef %7, i64 noundef %36)
br label %38
38: ; preds = %30, %27
ret i32 0
}
declare i64 @random(...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeh9dw6gx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getRandom(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i64 0, ptr %5, align 8
store i64 0, ptr %6, align 8
store i64 0, ptr %7, align 8
%8 = load i32, ptr %4, align 4
%9 = srem i32 %8, 4
%10 = sext i32 %9 to i64
store i64 %10, ptr %6, align 8
store i64 0, ptr %5, align 8
%11 = load i64, ptr %5, align 8
%12 = load i32, ptr %4, align 4
%13 = sdiv i32 %12, 4
%14 = sext i32 %13 to i64
%15 = icmp slt i64 %11, %14
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %23
%17 = call i64 (...) @random()
store i64 %17, ptr %7, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %5, align 8
%20 = mul nsw i64 %19, 4
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = call i32 @memcpy(ptr noundef %21, ptr noundef %7, i64 noundef 4)
br label %23
23: ; preds = %16
%24 = load i64, ptr %5, align 8
%25 = add nsw i64 %24, 1
store i64 %25, ptr %5, align 8
%26 = load i64, ptr %5, align 8
%27 = load i32, ptr %4, align 4
%28 = sdiv i32 %27, 4
%29 = sext i32 %28 to i64
%30 = icmp slt i64 %26, %29
br i1 %30, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %31
31: ; preds = %._crit_edge, %2
%32 = load i64, ptr %6, align 8
%33 = icmp sgt i64 %32, 0
br i1 %33, label %34, label %42
34: ; preds = %31
%35 = call i64 (...) @random()
store i64 %35, ptr %7, align 8
%36 = load ptr, ptr %3, align 8
%37 = load i64, ptr %5, align 8
%38 = mul nsw i64 %37, 4
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i64, ptr %6, align 8
%41 = call i32 @memcpy(ptr noundef %39, ptr noundef %7, i64 noundef %40)
br label %42
42: ; preds = %34, %31
ret i32 0
}
declare i64 @random(...) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp51jdf9mw.c'
source_filename = "/tmp/tmp51jdf9mw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 0, %6
%8 = call i32 @encode(i32 noundef %5, i32 noundef %7)
ret i32 %8
}
declare i32 @encode(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/tmp51jdf9mw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @decode(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = sub nsw i32 0, %6
%8 = call i32 @encode(i32 noundef %5, i32 noundef %7)
ret i32 %8
}
declare i32 @encode(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/tmpso6sppj2.c'
source_filename = "/tmp/tmpso6sppj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Win-Lines\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HariMain() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (...) @init_mem()
%5 = call i64 @malloc(i32 noundef 16000)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @win_open(ptr noundef %7, i32 noundef 160, i32 noundef 100, i32 noundef -1, ptr noundef @.str)
store i32 %8, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %27, %0
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 8
br i1 %11, label %12, label %30
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %3, align 4
%16 = mul nsw i32 %15, 9
%17 = add nsw i32 %16, 26
%18 = load i32, ptr %3, align 4
%19 = call i32 @win_line(i32 noundef %14, i32 noundef 8, i32 noundef 26, i32 noundef 77, i32 noundef %17, i32 noundef %18)
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
%22 = load i32, ptr %3, align 4
%23 = mul nsw i32 %22, 9
%24 = add nsw i32 %23, 88
%25 = load i32, ptr %3, align 4
%26 = call i32 @win_line(i32 noundef %21, i32 noundef 88, i32 noundef 26, i32 noundef %24, i32 noundef 89, i32 noundef %25)
br label %27
27: ; preds = %12
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
br label %9, !llvm.loop !6
30: ; preds = %9
%31 = load i32, ptr %2, align 4
%32 = call i32 @win_refresh(i32 noundef %31, i32 noundef 6, i32 noundef 26, i32 noundef 154, i32 noundef 90)
br label %33
33: ; preds = %37, %30
%34 = call i32 @getkey(i32 noundef 1)
%35 = icmp eq i32 10, %34
br i1 %35, label %36, label %37
36: ; preds = %33
br label %38
37: ; preds = %33
br label %33
38: ; preds = %36
%39 = load i32, ptr %2, align 4
%40 = call i32 @win_close(i32 noundef %39)
%41 = call i32 (...) @api_end()
ret void
}
declare i32 @init_mem(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @win_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @win_line(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @win_refresh(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getkey(i32 noundef) #1
declare i32 @win_close(i32 noundef) #1
declare i32 @api_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpso6sppj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Win-Lines\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HariMain() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = call i32 (...) @init_mem()
%5 = call i64 @malloc(i32 noundef 16000)
%6 = inttoptr i64 %5 to ptr
store ptr %6, ptr %1, align 8
%7 = load ptr, ptr %1, align 8
%8 = call i32 @win_open(ptr noundef %7, i32 noundef 160, i32 noundef 100, i32 noundef -1, ptr noundef @.str)
store i32 %8, ptr %2, align 4
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 8
br i1 %10, label %.lr.ph, label %31
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %26
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %3, align 4
%15 = mul nsw i32 %14, 9
%16 = add nsw i32 %15, 26
%17 = load i32, ptr %3, align 4
%18 = call i32 @win_line(i32 noundef %13, i32 noundef 8, i32 noundef 26, i32 noundef 77, i32 noundef %16, i32 noundef %17)
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %21, 9
%23 = add nsw i32 %22, 88
%24 = load i32, ptr %3, align 4
%25 = call i32 @win_line(i32 noundef %20, i32 noundef 88, i32 noundef 26, i32 noundef %23, i32 noundef 89, i32 noundef %24)
br label %26
26: ; preds = %11
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %29, 8
br i1 %30, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %31
31: ; preds = %._crit_edge, %0
%32 = load i32, ptr %2, align 4
%33 = call i32 @win_refresh(i32 noundef %32, i32 noundef 6, i32 noundef 26, i32 noundef 154, i32 noundef 90)
br label %34
34: ; preds = %34, %31
%35 = call i32 @getkey(i32 noundef 1)
%36 = icmp eq i32 10, %35
br i1 %36, label %37, label %34
37: ; preds = %34
br label %38
38: ; preds = %37
%39 = load i32, ptr %2, align 4
%40 = call i32 @win_close(i32 noundef %39)
%41 = call i32 (...) @api_end()
ret void
}
declare i32 @init_mem(...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @win_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @win_line(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @win_refresh(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getkey(i32 noundef) #1
declare i32 @win_close(i32 noundef) #1
declare i32 @api_end(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpwcx_1bwi.c'
source_filename = "/tmp/tmpwcx_1bwi.c"
target datalayout = "e-m:e-p270: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/tmpwcx_1bwi.c"
target datalayout = "e-m:e-p270: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/tmpmbbzzfy5.c'
source_filename = "/tmp/tmpmbbzzfy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diomelf_init() #0 {
%1 = call i32 (...) @register_diomelf_function_list()
ret void
}
declare i32 @register_diomelf_function_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmbbzzfy5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @diomelf_init() #0 {
%1 = call i32 (...) @register_diomelf_function_list()
ret void
}
declare i32 @register_diomelf_function_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpilb5y8l2.c'
source_filename = "/tmp/tmpilb5y8l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chl_fcgi_init() #0 {
%1 = call i32 (...) @_cgi_init()
%2 = call i32 (...) @_error_init()
%3 = call i32 (...) @_http_init()
%4 = call i32 (...) @_inline_init()
ret void
}
declare i32 @_cgi_init(...) #1
declare i32 @_error_init(...) #1
declare i32 @_http_init(...) #1
declare i32 @_inline_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpilb5y8l2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chl_fcgi_init() #0 {
%1 = call i32 (...) @_cgi_init()
%2 = call i32 (...) @_error_init()
%3 = call i32 (...) @_http_init()
%4 = call i32 (...) @_inline_init()
ret void
}
declare i32 @_cgi_init(...) #1
declare i32 @_error_init(...) #1
declare i32 @_http_init(...) #1
declare i32 @_inline_init(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwwpd0d4x.c'
source_filename = "/tmp/tmpwwpd0d4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @intr_wrap_503(i16 noundef signext %0, i16 noundef signext %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i16, align 2
store i16 %0, ptr %3, align 2
store i16 %1, ptr %4, align 2
%5 = call signext i16 @btest_h(ptr noundef %3, ptr noundef %4)
ret i16 %5
}
declare signext i16 @btest_h(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/tmpwwpd0d4x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i16 @intr_wrap_503(i16 noundef signext %0, i16 noundef signext %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i16, align 2
store i16 %0, ptr %3, align 2
store i16 %1, ptr %4, align 2
%5 = call signext i16 @btest_h(ptr noundef %3, ptr noundef %4)
ret i16 %5
}
declare signext i16 @btest_h(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/tmpr_1jjquz.c'
source_filename = "/tmp/tmpr_1jjquz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %14, %0
%7 = load i32, ptr %2, align 4
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 0, %11
br i1 %12, label %13, label %14
13: ; preds = %9
br label %20
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %13, %6
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr_1jjquz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%d,%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %13
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 0, %10
br i1 %11, label %12, label %13
12: ; preds = %8
br label %21
13: ; preds = %8
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, %16
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp ne i32 %19, 0
br i1 %20, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %13
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %21
21: ; preds = %.loopexit, %12
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = call i32 @printf(ptr noundef @.str.1, i32 noundef %22, i32 noundef %23)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdxrbiwnt.c'
source_filename = "/tmp/tmpdxrbiwnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_compreplc() #0 {
%1 = call i32 @replace(i32 noundef 1)
ret void
}
declare i32 @replace(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/tmpdxrbiwnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @op_compreplc() #0 {
%1 = call i32 @replace(i32 noundef 1)
ret void
}
declare i32 @replace(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/tmpu0rs5jhh.c'
source_filename = "/tmp/tmpu0rs5jhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v[%d] = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 5, %8
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
store i32 0, ptr %2, align 4
br label %17
17: ; preds = %27, %16
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %20, label %30
20: ; preds = %17
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %17, !llvm.loop !8
30: ; preds = %17
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu0rs5jhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"v[%d] = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 5
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 5, %7
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = icmp slt i32 %18, 5
br i1 %19, label %.lr.ph2, label %32
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %27
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %23
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %25)
br label %27
27: ; preds = %20
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %30, 5
br i1 %31, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %17
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb3l0_dqm.c'
source_filename = "/tmp/tmpb3l0_dqm.c"
target datalayout = "e-m:e-p270: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/tmpb3l0_dqm.c"
target datalayout = "e-m:e-p270: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/tmpugw3xo5b.c'
source_filename = "/tmp/tmpugw3xo5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"/sys/class/gpio/unexport\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @unsetGpio(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
store i32 %0, ptr %3, align 4
%6 = load i32, ptr @O_WRONLY, align 4
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %24
10: ; preds = %1
%11 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%12 = load i32, ptr %3, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
%18 = call i64 @write(i32 noundef %14, ptr noundef %15, i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %10
store i32 -1, ptr %2, align 4
br label %24
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = call i32 @close(i32 noundef %22)
store i32 0, ptr %2, align 4
br label %24
24: ; preds = %21, %20, %9
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpugw3xo5b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"/sys/class/gpio/unexport\00", align 1
@O_WRONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @unsetGpio(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [50 x i8], align 16
store i32 %0, ptr %3, align 4
%6 = load i32, ptr @O_WRONLY, align 4
%7 = call i32 @open(ptr noundef @.str, i32 noundef %6)
store i32 %7, ptr %4, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %24
10: ; preds = %1
%11 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%12 = load i32, ptr %3, align 4
%13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str.1, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%16 = getelementptr inbounds [50 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
%18 = call i64 @write(i32 noundef %14, ptr noundef %15, i32 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %10
store i32 -1, ptr %2, align 4
br label %24
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = call i32 @close(i32 noundef %22)
store i32 0, ptr %2, align 4
br label %24
24: ; preds = %21, %20, %9
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3ajrlxl2.c'
source_filename = "/tmp/tmp3ajrlxl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = 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/tmp3ajrlxl2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = 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/tmprpnu62pk.c'
source_filename = "/tmp/tmprpnu62pk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = 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/tmprpnu62pk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"error!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = 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/tmp52rt776q.c'
source_filename = "/tmp/tmp52rt776q.c"
target datalayout = "e-m:e-p270: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/tmp52rt776q.c"
target datalayout = "e-m:e-p270: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/tmp99eknzth.c'
source_filename = "/tmp/tmp99eknzth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"\0D\0ACONTENT-LENGTH:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @get_content_length(ptr noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store i16 0, ptr %2, align 2
br label %17
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef @.str)
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = call i64 @strtol(ptr noundef %14, ptr noundef null, i32 noundef 10)
%16 = trunc i64 %15 to i16
store i16 %16, ptr %2, align 2
br label %17
17: ; preds = %10, %9
%18 = load i16, ptr %2, align 2
ret i16 %18
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp99eknzth.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"\0D\0ACONTENT-LENGTH:\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @get_content_length(ptr noundef %0) #0 {
%2 = alloca i16, align 2
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store i16 0, ptr %2, align 2
br label %17
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
%12 = call i32 @strlen(ptr noundef @.str)
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = call i64 @strtol(ptr noundef %14, ptr noundef null, i32 noundef 10)
%16 = trunc i64 %15 to i16
store i16 %16, ptr %2, align 2
br label %17
17: ; preds = %10, %9
%18 = load i16, ptr %2, align 2
ret i16 %18
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2bmap7xq.c'
source_filename = "/tmp/tmp2bmap7xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Bad data length!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_int(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ne i64 %8, 2
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i64, ptr %5, align 8
%12 = icmp ne i64 %11, 4
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr @stdout, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %29
16: ; preds = %10, %2
store i32 0, ptr %6, align 4
store ptr %6, ptr %7, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp eq i64 %17, 2
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef 2)
br label %27
23: ; preds = %16
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %4, align 8
%26 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef 4)
br label %27
27: ; preds = %23, %19
%28 = load i32, ptr %6, align 4
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %27, %13
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @fprintf(i32 noundef, ptr 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/tmp2bmap7xq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Bad data length!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_int(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%8 = load i64, ptr %5, align 8
%9 = icmp ne i64 %8, 2
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i64, ptr %5, align 8
%12 = icmp ne i64 %11, 4
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr @stdout, align 4
%15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str)
store i32 -1, ptr %3, align 4
br label %29
16: ; preds = %10, %2
store i32 0, ptr %6, align 4
store ptr %6, ptr %7, align 8
%17 = load i64, ptr %5, align 8
%18 = icmp eq i64 %17, 2
br i1 %18, label %19, label %23
19: ; preds = %16
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @memcpy(ptr noundef %20, ptr noundef %21, i32 noundef 2)
br label %27
23: ; preds = %16
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %4, align 8
%26 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef 4)
br label %27
27: ; preds = %23, %19
%28 = load i32, ptr %6, align 4
store i32 %28, ptr %3, align 4
br label %29
29: ; preds = %27, %13
%30 = load i32, ptr %3, align 4
ret i32 %30
}
declare i32 @fprintf(i32 noundef, ptr 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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.