llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp9fpxdayf.c'
source_filename = "/tmp/tmp9fpxdayf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [81 x i8], align 16
%7 = alloca [81 x i8], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %9
9: ; preds = %67, %0
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, -1
store i32 %11, ptr %2, align 4
%12 = icmp ne i32 %10, 0
br i1 %12, label %13, label %68
13: ; preds = %9
%14 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %14)
%16 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%17 = call i32 @strlen(ptr noundef %16)
store i32 %17, ptr %3, align 4
store i32 1, ptr %5, align 4
br label %18
18: ; preds = %64, %13
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp sle i32 %19, %20
br i1 %21, label %22, label %67
22: ; preds = %18
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr %5, align 4
%25 = srem i32 %23, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %62, label %27
27: ; preds = %22
%28 = getelementptr inbounds [81 x i8], ptr %7, i64 0, i64 0
%29 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%30 = load i32, ptr %5, align 4
%31 = call i32 @strncpy(ptr noundef %28, ptr noundef %29, i32 noundef %30)
%32 = load i32, ptr %5, align 4
store i32 %32, ptr %4, align 4
br label %33
33: ; preds = %50, %27
%34 = load i32, ptr %4, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = icmp ne i8 %37, 0
br i1 %38, label %39, label %54
39: ; preds = %33
%40 = getelementptr inbounds [81 x i8], ptr %7, i64 0, i64 0
%41 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%42 = load i32, ptr %4, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %41, i64 %43
%45 = load i32, ptr %5, align 4
%46 = call i64 @strncmp(ptr noundef %40, ptr noundef %44, i32 noundef %45)
%47 = icmp ne i64 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %39
br label %63
49: ; preds = %39
br label %50
50: ; preds = %49
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %4, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %4, align 4
br label %33, !llvm.loop !6
54: ; preds = %33
%55 = load i32, ptr %5, align 4
%56 = call i32 @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %2, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %54
%60 = call i32 @putchar(i8 noundef signext 10)
br label %61
61: ; preds = %59, %54
br label %67
62: ; preds = %22
br label %63
63: ; preds = %62, %48
br label %64
64: ; preds = %63
%65 = load i32, ptr %5, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %5, align 4
br label %18, !llvm.loop !8
67: ; preds = %61, %18
br label %9, !llvm.loop !9
68: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9fpxdayf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [81 x i8], align 16
%7 = alloca [81 x i8], align 16
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = add nsw i32 %9, -1
store i32 %10, ptr %2, align 4
%11 = icmp ne i32 %9, 0
br i1 %11, label %.lr.ph5, label %76
.lr.ph5: ; preds = %0
br label %12
12: ; preds = %.lr.ph5, %72
%13 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %13)
%15 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%16 = call i32 @strlen(ptr noundef %15)
store i32 %16, ptr %3, align 4
store i32 1, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %.lr.ph3, label %.loopexit
.lr.ph3: ; preds = %12
br label %20
20: ; preds = %.lr.ph3, %66
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %5, align 4
%23 = srem i32 %21, %22
%24 = icmp ne i32 %23, 0
br i1 %24, label %64, label %25
25: ; preds = %20
%26 = getelementptr inbounds [81 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%28 = load i32, ptr %5, align 4
%29 = call i32 @strncpy(ptr noundef %26, ptr noundef %27, i32 noundef %28)
%30 = load i32, ptr %5, align 4
store i32 %30, ptr %4, align 4
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %.lr.ph, label %._crit_edge
.lr.ph: ; preds = %25
br label %36
36: ; preds = %.lr.ph, %47
%37 = getelementptr inbounds [81 x i8], ptr %7, i64 0, i64 0
%38 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 0
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i32, ptr %5, align 4
%43 = call i64 @strncmp(ptr noundef %37, ptr noundef %41, i32 noundef %42)
%44 = icmp ne i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %36
br label %65
46: ; preds = %36
br label %47
47: ; preds = %46
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, %48
store i32 %50, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [81 x i8], ptr %6, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = icmp ne i8 %54, 0
br i1 %55, label %36, label %._crit_edge1, !llvm.loop !6
._crit_edge: ; preds = %25
br label %56
._crit_edge1: ; preds = %47
br label %56
56: ; preds = %._crit_edge1, %._crit_edge
%57 = load i32, ptr %5, align 4
%58 = call i32 @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %2, align 4
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %56
%62 = call i32 @putchar(i8 noundef signext 10)
br label %63
63: ; preds = %61, %56
br label %72
64: ; preds = %20
br label %65
65: ; preds = %64, %45
br label %66
66: ; preds = %65
%67 = load i32, ptr %5, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %5, align 4
%69 = load i32, ptr %5, align 4
%70 = load i32, ptr %3, align 4
%71 = icmp sle i32 %69, %70
br i1 %71, label %20, label %..loopexit_crit_edge, !llvm.loop !8
..loopexit_crit_edge: ; preds = %66
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %12
br label %72
72: ; preds = %.loopexit, %63
%73 = load i32, ptr %2, align 4
%74 = add nsw i32 %73, -1
store i32 %74, ptr %2, align 4
%75 = icmp ne i32 %73, 0
br i1 %75, label %12, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %72
br label %76
76: ; preds = %._crit_edge6, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp3y2kgosw.c'
source_filename = "/tmp/tmp3y2kgosw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quat_to_rpy_cov(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 [6 x [7 x double]], align 16
%10 = alloca [6 x [7 x double]], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
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
%17 = call i32 @assert(i32 noundef 0)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 336, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 336, i1 false)
store i32 0, ptr %11, align 4
br label %18
18: ; preds = %61, %4
%19 = load i32, ptr %11, align 4
%20 = icmp slt i32 %19, 6
br i1 %20, label %21, label %64
21: ; preds = %18
store i32 0, ptr %12, align 4
br label %22
22: ; preds = %57, %21
%23 = load i32, ptr %12, align 4
%24 = icmp slt i32 %23, 7
br i1 %24, label %25, label %60
25: ; preds = %22
store i32 0, ptr %13, align 4
br label %26
26: ; preds = %53, %25
%27 = load i32, ptr %13, align 4
%28 = icmp slt i32 %27, 7
br i1 %28, label %29, label %56
29: ; preds = %26
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [6 x [7 x double]], ptr %9, i64 0, i64 %31
%33 = load i32, ptr %13, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [7 x double], ptr %32, i64 0, i64 %34
%36 = load double, ptr %35, align 8
%37 = load ptr, ptr %7, align 8
%38 = load i32, ptr %13, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [7 x double], ptr %37, i64 %39
%41 = load i32, ptr %12, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [7 x double], ptr %40, i64 0, i64 %42
%44 = load double, ptr %43, align 8
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [6 x [7 x double]], ptr %10, i64 0, i64 %46
%48 = load i32, ptr %12, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [7 x double], ptr %47, i64 0, i64 %49
%51 = load double, ptr %50, align 8
%52 = call double @llvm.fmuladd.f64(double %36, double %44, double %51)
store double %52, ptr %50, align 8
br label %53
53: ; preds = %29
%54 = load i32, ptr %13, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %13, align 4
br label %26, !llvm.loop !6
56: ; preds = %26
br label %57
57: ; preds = %56
%58 = load i32, ptr %12, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %12, align 4
br label %22, !llvm.loop !8
60: ; preds = %22
br label %61
61: ; preds = %60
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
br label %18, !llvm.loop !9
64: ; preds = %18
store i32 0, ptr %14, align 4
br label %65
65: ; preds = %108, %64
%66 = load i32, ptr %14, align 4
%67 = icmp slt i32 %66, 6
br i1 %67, label %68, label %111
68: ; preds = %65
store i32 0, ptr %15, align 4
br label %69
69: ; preds = %104, %68
%70 = load i32, ptr %15, align 4
%71 = icmp slt i32 %70, 6
br i1 %71, label %72, label %107
72: ; preds = %69
store i32 0, ptr %16, align 4
br label %73
73: ; preds = %100, %72
%74 = load i32, ptr %16, align 4
%75 = icmp slt i32 %74, 7
br i1 %75, label %76, label %103
76: ; preds = %73
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [6 x [7 x double]], ptr %10, i64 0, i64 %78
%80 = load i32, ptr %16, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [7 x double], ptr %79, i64 0, i64 %81
%83 = load double, ptr %82, align 8
%84 = load i32, ptr %15, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [6 x [7 x double]], ptr %9, i64 0, i64 %85
%87 = load i32, ptr %16, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [7 x double], ptr %86, i64 0, i64 %88
%90 = load double, ptr %89, align 8
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %14, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [6 x double], ptr %91, i64 %93
%95 = load i32, ptr %15, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [6 x double], ptr %94, i64 0, i64 %96
%98 = load double, ptr %97, align 8
%99 = call double @llvm.fmuladd.f64(double %83, double %90, double %98)
store double %99, ptr %97, align 8
br label %100
100: ; preds = %76
%101 = load i32, ptr %16, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %16, align 4
br label %73, !llvm.loop !10
103: ; preds = %73
br label %104
104: ; preds = %103
%105 = load i32, ptr %15, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %15, align 4
br label %69, !llvm.loop !11
107: ; preds = %69
br label %108
108: ; preds = %107
%109 = load i32, ptr %14, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %14, align 4
br label %65, !llvm.loop !12
111: ; preds = %65
ret void
}
declare i32 @assert(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3y2kgosw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quat_to_rpy_cov(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 [6 x [7 x double]], align 16
%10 = alloca [6 x [7 x double]], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
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
%17 = call i32 @assert(i32 noundef 0)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 336, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 336, i1 false)
store i32 0, ptr %11, align 4
%18 = load i32, ptr %11, align 4
%19 = icmp slt i32 %18, 6
br i1 %19, label %.lr.ph5, label %67
.lr.ph5: ; preds = %4
br label %20
20: ; preds = %.lr.ph5, %62
store i32 0, ptr %12, align 4
%21 = load i32, ptr %12, align 4
%22 = icmp slt i32 %21, 7
br i1 %22, label %.lr.ph2, label %61
.lr.ph2: ; preds = %20
br label %23
23: ; preds = %.lr.ph2, %56
store i32 0, ptr %13, align 4
%24 = load i32, ptr %13, align 4
%25 = icmp slt i32 %24, 7
br i1 %25, label %.lr.ph, label %55
.lr.ph: ; preds = %23
br label %26
26: ; preds = %.lr.ph, %50
%27 = load i32, ptr %11, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [6 x [7 x double]], ptr %9, i64 0, i64 %28
%30 = load i32, ptr %13, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [7 x double], ptr %29, i64 0, i64 %31
%33 = load double, ptr %32, align 8
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %13, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [7 x double], ptr %34, i64 %36
%38 = load i32, ptr %12, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [7 x double], ptr %37, i64 0, i64 %39
%41 = load double, ptr %40, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [6 x [7 x double]], ptr %10, i64 0, i64 %43
%45 = load i32, ptr %12, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [7 x double], ptr %44, i64 0, i64 %46
%48 = load double, ptr %47, align 8
%49 = call double @llvm.fmuladd.f64(double %33, double %41, double %48)
store double %49, ptr %47, align 8
br label %50
50: ; preds = %26
%51 = load i32, ptr %13, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %13, align 4
%53 = load i32, ptr %13, align 4
%54 = icmp slt i32 %53, 7
br i1 %54, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %55
55: ; preds = %._crit_edge, %23
br label %56
56: ; preds = %55
%57 = load i32, ptr %12, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %12, align 4
%59 = load i32, ptr %12, align 4
%60 = icmp slt i32 %59, 7
br i1 %60, label %23, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %61
61: ; preds = %._crit_edge3, %20
br label %62
62: ; preds = %61
%63 = load i32, ptr %11, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %11, align 4
%65 = load i32, ptr %11, align 4
%66 = icmp slt i32 %65, 6
br i1 %66, label %20, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %67
67: ; preds = %._crit_edge6, %4
store i32 0, ptr %14, align 4
%68 = load i32, ptr %14, align 4
%69 = icmp slt i32 %68, 6
br i1 %69, label %.lr.ph14, label %117
.lr.ph14: ; preds = %67
br label %70
70: ; preds = %.lr.ph14, %112
store i32 0, ptr %15, align 4
%71 = load i32, ptr %15, align 4
%72 = icmp slt i32 %71, 6
br i1 %72, label %.lr.ph11, label %111
.lr.ph11: ; preds = %70
br label %73
73: ; preds = %.lr.ph11, %106
store i32 0, ptr %16, align 4
%74 = load i32, ptr %16, align 4
%75 = icmp slt i32 %74, 7
br i1 %75, label %.lr.ph8, label %105
.lr.ph8: ; preds = %73
br label %76
76: ; preds = %.lr.ph8, %100
%77 = load i32, ptr %14, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [6 x [7 x double]], ptr %10, i64 0, i64 %78
%80 = load i32, ptr %16, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [7 x double], ptr %79, i64 0, i64 %81
%83 = load double, ptr %82, align 8
%84 = load i32, ptr %15, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [6 x [7 x double]], ptr %9, i64 0, i64 %85
%87 = load i32, ptr %16, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [7 x double], ptr %86, i64 0, i64 %88
%90 = load double, ptr %89, align 8
%91 = load ptr, ptr %8, align 8
%92 = load i32, ptr %14, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [6 x double], ptr %91, i64 %93
%95 = load i32, ptr %15, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [6 x double], ptr %94, i64 0, i64 %96
%98 = load double, ptr %97, align 8
%99 = call double @llvm.fmuladd.f64(double %83, double %90, double %98)
store double %99, ptr %97, align 8
br label %100
100: ; preds = %76
%101 = load i32, ptr %16, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %16, align 4
%103 = load i32, ptr %16, align 4
%104 = icmp slt i32 %103, 7
br i1 %104, label %76, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %100
br label %105
105: ; preds = %._crit_edge9, %73
br label %106
106: ; preds = %105
%107 = load i32, ptr %15, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %15, align 4
%109 = load i32, ptr %15, align 4
%110 = icmp slt i32 %109, 6
br i1 %110, label %73, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %106
br label %111
111: ; preds = %._crit_edge12, %70
br label %112
112: ; preds = %111
%113 = load i32, ptr %14, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %14, align 4
%115 = load i32, ptr %14, align 4
%116 = icmp slt i32 %115, 6
br i1 %116, label %70, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %112
br label %117
117: ; preds = %._crit_edge15, %67
ret void
}
declare i32 @assert(i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp1nta30l0.c'
source_filename = "/tmp/tmp1nta30l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmp1nta30l0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@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/tmp0ak2h687.c'
source_filename = "/tmp/tmp0ak2h687.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sum of fibonacci = %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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @fi(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fi(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/tmp0ak2h687.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sum of fibonacci = %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
store i32 0, ptr %1, align 4
store i32 10, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @fi(i32 noundef %3)
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @fi(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/tmpr6_xp_o7.c'
source_filename = "/tmp/tmpr6_xp_o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [49 x i8] c"Usage: %s <server1:port1> [<server2:port2> ... ]\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"memory too low\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [44 x i8] c"inet_pton() failed - Invalid address string\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"inet_pton() failed\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [17 x i8] c"connect() failed\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"select() failed\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"recv() failed\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"recv() Connection closed prematurely\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"Select timedout!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca %struct.sockaddr_in, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %15, align 8
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 2
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @dieWithMessage(ptr noundef @.str)
br label %22
22: ; preds = %20, %2
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 4
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %15, align 8
%31 = load ptr, ptr %15, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %35
33: ; preds = %22
%34 = call i32 @dieWithMessage(ptr noundef @.str.1)
br label %35
35: ; preds = %33, %22
%36 = call i32 @FD_ZERO(ptr noundef %16)
store i32 0, ptr %10, align 4
store i32 1, ptr %6, align 4
br label %37
37: ; preds = %118, %35
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %9, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %121
41: ; preds = %37
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = call ptr @strtok(ptr noundef %46, ptr noundef @.str.2)
store ptr %47, ptr %13, align 8
%48 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %48, ptr %14, align 8
%49 = load ptr, ptr %14, align 8
%50 = call i32 @atoi(ptr noundef %49)
store i32 %50, ptr %11, align 4
%51 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 12)
%52 = load i32, ptr @AF_INET, align 4
%53 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2
store i32 %52, ptr %53, align 4
%54 = load i32, ptr @AF_INET, align 4
%55 = load ptr, ptr %13, align 8
%56 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1
%57 = getelementptr inbounds %struct.TYPE_2__, ptr %56, i32 0, i32 0
%58 = call i32 @inet_pton(i32 noundef %54, ptr noundef %55, ptr noundef %57)
store i32 %58, ptr %7, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp eq i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %41
%62 = call i32 @dieWithMessage(ptr noundef @.str.3)
br label %69
63: ; preds = %41
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %63
%67 = call i32 @dieWithMessage(ptr noundef @.str.4)
br label %68
68: ; preds = %66, %63
br label %69
69: ; preds = %68, %61
%70 = load i32, ptr %11, align 4
%71 = call i32 @htons(i32 noundef %70)
%72 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0
store i32 %71, ptr %72, align 4
%73 = load i32, ptr @AF_INET, align 4
%74 = load i32, ptr @SOCK_STREAM, align 4
%75 = call i32 @socket(i32 noundef %73, i32 noundef %74, i32 noundef 0)
%76 = load ptr, ptr %15, align 8
%77 = load i32, ptr %6, align 4
%78 = sub nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %76, i64 %79
store i32 %75, ptr %80, align 4
%81 = load ptr, ptr %15, align 8
%82 = load i32, ptr %6, align 4
%83 = sub nsw i32 %82, 1
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds i32, ptr %81, i64 %84
%86 = load i32, ptr %85, align 4
%87 = call i64 @connect(i32 noundef %86, ptr noundef %12, i32 noundef 12)
%88 = icmp slt i64 %87, 0
br i1 %88, label %89, label %91
89: ; preds = %69
%90 = call i32 @dieWithMessage(ptr noundef @.str.5)
br label %91
91: ; preds = %89, %69
%92 = load ptr, ptr %15, align 8
%93 = load i32, ptr %6, align 4
%94 = sub nsw i32 %93, 1
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %92, i64 %95
%97 = load i32, ptr %96, align 4
%98 = call i32 @FD_SET(i32 noundef %97, ptr noundef %16)
%99 = load ptr, ptr %15, align 8
%100 = load i32, ptr %6, align 4
%101 = sub nsw i32 %100, 1
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %99, i64 %102
%104 = load i32, ptr %103, align 4
%105 = load i32, ptr %10, align 4
%106 = icmp sgt i32 %104, %105
br i1 %106, label %107, label %114
107: ; preds = %91
%108 = load ptr, ptr %15, align 8
%109 = load i32, ptr %6, align 4
%110 = sub nsw i32 %109, 1
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %108, i64 %111
%113 = load i32, ptr %112, align 4
br label %116
114: ; preds = %91
%115 = load i32, ptr %10, align 4
br label %116
116: ; preds = %114, %107
%117 = phi i32 [ %113, %107 ], [ %115, %114 ]
store i32 %117, ptr %10, align 4
br label %118
118: ; preds = %116
%119 = load i32, ptr %6, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %6, align 4
br label %37, !llvm.loop !6
121: ; preds = %37
br label %122
122: ; preds = %121, %194
%123 = call i32 @FD_ZERO(ptr noundef %16)
store i32 0, ptr %6, align 4
br label %124
124: ; preds = %135, %122
%125 = load i32, ptr %6, align 4
%126 = load i32, ptr %9, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %128, label %138
128: ; preds = %124
%129 = load ptr, ptr %15, align 8
%130 = load i32, ptr %6, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
%133 = load i32, ptr %132, align 4
%134 = call i32 @FD_SET(i32 noundef %133, ptr noundef %16)
br label %135
135: ; preds = %128
%136 = load i32, ptr %6, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %6, align 4
br label %124, !llvm.loop !8
138: ; preds = %124
%139 = load i32, ptr %10, align 4
%140 = add nsw i32 %139, 1
%141 = call i32 @select(i32 noundef %140, ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef null)
store i32 %141, ptr %7, align 4
%142 = load i32, ptr %7, align 4
%143 = icmp eq i32 %142, -1
br i1 %143, label %144, label %146
144: ; preds = %138
%145 = call i32 @dieWithMessage(ptr noundef @.str.6)
br label %194
146: ; preds = %138
%147 = load i32, ptr %7, align 4
%148 = icmp ne i32 %147, 0
br i1 %148, label %149, label %191
149: ; preds = %146
store i32 0, ptr %6, align 4
br label %150
150: ; preds = %187, %149
%151 = load i32, ptr %6, align 4
%152 = load i32, ptr %9, align 4
%153 = icmp slt i32 %151, %152
br i1 %153, label %154, label %190
154: ; preds = %150
%155 = load ptr, ptr %15, align 8
%156 = load i32, ptr %6, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %155, i64 %157
%159 = load i32, ptr %158, align 4
%160 = call i64 @FD_ISSET(i32 noundef %159, ptr noundef %16)
%161 = icmp ne i64 %160, 0
br i1 %161, label %162, label %186
162: ; preds = %154
%163 = load ptr, ptr %15, align 8
%164 = load i32, ptr %6, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i32, ptr %163, i64 %165
%167 = load i32, ptr %166, align 4
%168 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%169 = call i32 @recv(i32 noundef %167, ptr noundef %168, i32 noundef 1023, i32 noundef 0)
store i32 %169, ptr %8, align 4
%170 = load i32, ptr %8, align 4
%171 = icmp slt i32 %170, 0
br i1 %171, label %172, label %174
172: ; preds = %162
%173 = call i32 @dieWithMessage(ptr noundef @.str.7)
br label %180
174: ; preds = %162
%175 = load i32, ptr %8, align 4
%176 = icmp eq i32 %175, 0
br i1 %176, label %177, label %179
177: ; preds = %174
%178 = call i32 @dieWithMessage(ptr noundef @.str.8)
br label %179
179: ; preds = %177, %174
br label %180
180: ; preds = %179, %172
%181 = load i32, ptr %8, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 %182
store i8 0, ptr %183, align 1
%184 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%185 = call i32 @printf(ptr noundef @.str.9, ptr noundef %184)
br label %186
186: ; preds = %180, %154
br label %187
187: ; preds = %186
%188 = load i32, ptr %6, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %6, align 4
br label %150, !llvm.loop !9
190: ; preds = %150
br label %193
191: ; preds = %146
%192 = call i32 @dieWithMessage(ptr noundef @.str.10)
br label %193
193: ; preds = %191, %190
br label %194
194: ; preds = %193, %144
br label %122
}
declare i32 @dieWithMessage(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpr6_xp_o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@.str = private unnamed_addr constant [49 x i8] c"Usage: %s <server1:port1> [<server2:port2> ... ]\00", align 1
@.str.1 = private unnamed_addr constant [15 x i8] c"memory too low\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c":\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [44 x i8] c"inet_pton() failed - Invalid address string\00", align 1
@.str.4 = private unnamed_addr constant [19 x i8] c"inet_pton() failed\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [17 x i8] c"connect() failed\00", align 1
@.str.6 = private unnamed_addr constant [16 x i8] c"select() failed\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"recv() failed\00", align 1
@.str.8 = private unnamed_addr constant [37 x i8] c"recv() Connection closed prematurely\00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.10 = private unnamed_addr constant [17 x i8] c"Select timedout!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca %struct.sockaddr_in, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca [1024 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %15, align 8
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %18, 2
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @dieWithMessage(ptr noundef @.str)
br label %22
22: ; preds = %20, %2
%23 = load i32, ptr %4, align 4
%24 = sub nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 4
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %15, align 8
%31 = load ptr, ptr %15, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %35
33: ; preds = %22
%34 = call i32 @dieWithMessage(ptr noundef @.str.1)
br label %35
35: ; preds = %33, %22
%36 = call i32 @FD_ZERO(ptr noundef %16)
store i32 0, ptr %10, align 4
store i32 1, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = load i32, ptr %9, align 4
%39 = icmp sle i32 %37, %38
br i1 %39, label %.lr.ph, label %123
.lr.ph: ; preds = %35
br label %40
40: ; preds = %.lr.ph, %117
%41 = load ptr, ptr %5, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = call ptr @strtok(ptr noundef %45, ptr noundef @.str.2)
store ptr %46, ptr %13, align 8
%47 = call ptr @strtok(ptr noundef null, ptr noundef @.str.2)
store ptr %47, ptr %14, align 8
%48 = load ptr, ptr %14, align 8
%49 = call i32 @atoi(ptr noundef %48)
store i32 %49, ptr %11, align 4
%50 = call i32 @memset(ptr noundef %12, i32 noundef 0, i32 noundef 12)
%51 = load i32, ptr @AF_INET, align 4
%52 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 2
store i32 %51, ptr %52, align 4
%53 = load i32, ptr @AF_INET, align 4
%54 = load ptr, ptr %13, align 8
%55 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 1
%56 = getelementptr inbounds %struct.TYPE_2__, ptr %55, i32 0, i32 0
%57 = call i32 @inet_pton(i32 noundef %53, ptr noundef %54, ptr noundef %56)
store i32 %57, ptr %7, align 4
%58 = load i32, ptr %7, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %40
%61 = call i32 @dieWithMessage(ptr noundef @.str.3)
br label %68
62: ; preds = %40
%63 = load i32, ptr %7, align 4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %67
65: ; preds = %62
%66 = call i32 @dieWithMessage(ptr noundef @.str.4)
br label %67
67: ; preds = %65, %62
br label %68
68: ; preds = %67, %60
%69 = load i32, ptr %11, align 4
%70 = call i32 @htons(i32 noundef %69)
%71 = getelementptr inbounds %struct.sockaddr_in, ptr %12, i32 0, i32 0
store i32 %70, ptr %71, align 4
%72 = load i32, ptr @AF_INET, align 4
%73 = load i32, ptr @SOCK_STREAM, align 4
%74 = call i32 @socket(i32 noundef %72, i32 noundef %73, i32 noundef 0)
%75 = load ptr, ptr %15, align 8
%76 = load i32, ptr %6, align 4
%77 = sub nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %75, i64 %78
store i32 %74, ptr %79, align 4
%80 = load ptr, ptr %15, align 8
%81 = load i32, ptr %6, align 4
%82 = sub nsw i32 %81, 1
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %80, i64 %83
%85 = load i32, ptr %84, align 4
%86 = call i64 @connect(i32 noundef %85, ptr noundef %12, i32 noundef 12)
%87 = icmp slt i64 %86, 0
br i1 %87, label %88, label %90
88: ; preds = %68
%89 = call i32 @dieWithMessage(ptr noundef @.str.5)
br label %90
90: ; preds = %88, %68
%91 = load ptr, ptr %15, align 8
%92 = load i32, ptr %6, align 4
%93 = sub nsw i32 %92, 1
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i32, ptr %91, i64 %94
%96 = load i32, ptr %95, align 4
%97 = call i32 @FD_SET(i32 noundef %96, ptr noundef %16)
%98 = load ptr, ptr %15, align 8
%99 = load i32, ptr %6, align 4
%100 = sub nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %98, i64 %101
%103 = load i32, ptr %102, align 4
%104 = load i32, ptr %10, align 4
%105 = icmp sgt i32 %103, %104
br i1 %105, label %106, label %113
106: ; preds = %90
%107 = load ptr, ptr %15, align 8
%108 = load i32, ptr %6, align 4
%109 = sub nsw i32 %108, 1
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %107, i64 %110
%112 = load i32, ptr %111, align 4
br label %115
113: ; preds = %90
%114 = load i32, ptr %10, align 4
br label %115
115: ; preds = %113, %106
%116 = phi i32 [ %112, %106 ], [ %114, %113 ]
store i32 %116, ptr %10, align 4
br label %117
117: ; preds = %115
%118 = load i32, ptr %6, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %6, align 4
%120 = load i32, ptr %6, align 4
%121 = load i32, ptr %9, align 4
%122 = icmp sle i32 %120, %121
br i1 %122, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %117
br label %123
123: ; preds = %._crit_edge, %35
br label %124
124: ; preds = %200, %123
%125 = call i32 @FD_ZERO(ptr noundef %16)
store i32 0, ptr %6, align 4
%126 = load i32, ptr %6, align 4
%127 = load i32, ptr %9, align 4
%128 = icmp slt i32 %126, %127
br i1 %128, label %.lr.ph2, label %142
.lr.ph2: ; preds = %124
br label %129
129: ; preds = %.lr.ph2, %136
%130 = load ptr, ptr %15, align 8
%131 = load i32, ptr %6, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
%134 = load i32, ptr %133, align 4
%135 = call i32 @FD_SET(i32 noundef %134, ptr noundef %16)
br label %136
136: ; preds = %129
%137 = load i32, ptr %6, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %6, align 4
%139 = load i32, ptr %6, align 4
%140 = load i32, ptr %9, align 4
%141 = icmp slt i32 %139, %140
br i1 %141, label %129, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %136
br label %142
142: ; preds = %._crit_edge3, %124
%143 = load i32, ptr %10, align 4
%144 = add nsw i32 %143, 1
%145 = call i32 @select(i32 noundef %144, ptr noundef %16, ptr noundef null, ptr noundef null, ptr noundef null)
store i32 %145, ptr %7, align 4
%146 = load i32, ptr %7, align 4
%147 = icmp eq i32 %146, -1
br i1 %147, label %148, label %150
148: ; preds = %142
%149 = call i32 @dieWithMessage(ptr noundef @.str.6)
br label %200
150: ; preds = %142
%151 = load i32, ptr %7, align 4
%152 = icmp ne i32 %151, 0
br i1 %152, label %153, label %197
153: ; preds = %150
store i32 0, ptr %6, align 4
%154 = load i32, ptr %6, align 4
%155 = load i32, ptr %9, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %.lr.ph5, label %196
.lr.ph5: ; preds = %153
br label %157
157: ; preds = %.lr.ph5, %190
%158 = load ptr, ptr %15, align 8
%159 = load i32, ptr %6, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i32, ptr %158, i64 %160
%162 = load i32, ptr %161, align 4
%163 = call i64 @FD_ISSET(i32 noundef %162, ptr noundef %16)
%164 = icmp ne i64 %163, 0
br i1 %164, label %165, label %189
165: ; preds = %157
%166 = load ptr, ptr %15, align 8
%167 = load i32, ptr %6, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i32, ptr %166, i64 %168
%170 = load i32, ptr %169, align 4
%171 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%172 = call i32 @recv(i32 noundef %170, ptr noundef %171, i32 noundef 1023, i32 noundef 0)
store i32 %172, ptr %8, align 4
%173 = load i32, ptr %8, align 4
%174 = icmp slt i32 %173, 0
br i1 %174, label %175, label %177
175: ; preds = %165
%176 = call i32 @dieWithMessage(ptr noundef @.str.7)
br label %183
177: ; preds = %165
%178 = load i32, ptr %8, align 4
%179 = icmp eq i32 %178, 0
br i1 %179, label %180, label %182
180: ; preds = %177
%181 = call i32 @dieWithMessage(ptr noundef @.str.8)
br label %182
182: ; preds = %180, %177
br label %183
183: ; preds = %182, %175
%184 = load i32, ptr %8, align 4
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 %185
store i8 0, ptr %186, align 1
%187 = getelementptr inbounds [1024 x i8], ptr %17, i64 0, i64 0
%188 = call i32 @printf(ptr noundef @.str.9, ptr noundef %187)
br label %189
189: ; preds = %183, %157
br label %190
190: ; preds = %189
%191 = load i32, ptr %6, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %6, align 4
%193 = load i32, ptr %6, align 4
%194 = load i32, ptr %9, align 4
%195 = icmp slt i32 %193, %194
br i1 %195, label %157, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %190
br label %196
196: ; preds = %._crit_edge6, %153
br label %199
197: ; preds = %150
%198 = call i32 @dieWithMessage(ptr noundef @.str.10)
br label %199
199: ; preds = %197, %196
br label %200
200: ; preds = %199, %148
br label %124
}
declare i32 @dieWithMessage(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @FD_ZERO(ptr noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @FD_SET(i32 noundef, ptr noundef) #1
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @FD_ISSET(i32 noundef, ptr noundef) #1
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpuxsa8n27.c'
source_filename = "/tmp/tmpuxsa8n27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %24
16: ; preds = %12
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %11, i64 %18
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
%25 = load i32, ptr %2, align 4
%26 = sub nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %27
27: ; preds = %36, %24
%28 = load i32, ptr %3, align 4
%29 = icmp sge i32 %28, 0
br i1 %29, label %30, label %39
30: ; preds = %27
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %11, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 @printf(ptr noundef @.str.1, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, -1
store i32 %38, ptr %3, align 4
br label %27, !llvm.loop !8
39: ; preds = %27
store i32 0, ptr %1, align 4
%40 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %40)
%41 = load i32, ptr %1, align 4
ret i32 %41
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxsa8n27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%8 = load i32, ptr %2, align 4
%9 = zext i32 %8 to i64
%10 = call ptr @llvm.stacksave()
store ptr %10, ptr %4, align 8
%11 = alloca i32, i64 %9, align 16
store i64 %9, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %20
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %11, i64 %17
%19 = call i32 @scanf(ptr noundef @.str, ptr noundef %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %0
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 %27, 1
store i32 %28, ptr %3, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp sge i32 %29, 0
br i1 %30, label %.lr.ph2, label %42
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %37
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %11, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 @printf(ptr noundef @.str.1, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sge i32 %40, 0
br i1 %41, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %26
store i32 0, ptr %1, align 4
%43 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %43)
%44 = load i32, ptr %1, align 4
ret i32 %44
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk1xrfxdo.c'
source_filename = "/tmp/tmpk1xrfxdo.c"
target datalayout = "e-m:e-p270: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/tmpk1xrfxdo.c"
target datalayout = "e-m:e-p270: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/tmp439whfo7.c'
source_filename = "/tmp/tmp439whfo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @example_add_var(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @compute(i32 noundef 10)
ret i32 0
}
declare i32 @compute(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/tmp439whfo7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @example_add_var(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = call i32 @compute(i32 noundef 10)
ret i32 0
}
declare i32 @compute(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/tmp6o1ntusy.c'
source_filename = "/tmp/tmp6o1ntusy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nt_unicode(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%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 eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store ptr null, ptr %3, align 8
br label %33
11: ; preds = %2
%12 = load i64, ptr %5, align 8
%13 = mul i64 %12, 2
%14 = call ptr @malloc(i64 noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
store ptr %15, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %31
17: ; preds = %11
br label %18
18: ; preds = %22, %17
%19 = load i64, ptr %5, align 8
%20 = add i64 %19, -1
store i64 %20, ptr %5, align 8
%21 = icmp ugt i64 %19, 0
br i1 %21, label %22, label %30
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %4, align 8
%25 = load i8, ptr %23, align 1
%26 = load ptr, ptr %7, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %7, align 8
store i8 %25, ptr %26, align 1
%28 = load ptr, ptr %7, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %7, align 8
store i8 0, ptr %28, align 1
br label %18, !llvm.loop !6
30: ; preds = %18
br label %31
31: ; preds = %30, %11
%32 = load ptr, ptr %6, align 8
store ptr %32, ptr %3, align 8
br label %33
33: ; preds = %31, %10
%34 = load ptr, ptr %3, align 8
ret ptr %34
}
declare ptr @malloc(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/tmp6o1ntusy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nt_unicode(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%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 eq i64 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %2
store ptr null, ptr %3, align 8
br label %35
11: ; preds = %2
%12 = load i64, ptr %5, align 8
%13 = mul i64 %12, 2
%14 = call ptr @malloc(i64 noundef %13)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
store ptr %15, ptr %7, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %33
17: ; preds = %11
%18 = load i64, ptr %5, align 8
%19 = add i64 %18, -1
store i64 %19, ptr %5, align 8
%20 = icmp ugt i64 %18, 0
br i1 %20, label %.lr.ph, label %32
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
%24 = load i8, ptr %22, align 1
%25 = load ptr, ptr %7, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %7, align 8
store i8 %24, ptr %25, align 1
%27 = load ptr, ptr %7, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %7, align 8
store i8 0, ptr %27, align 1
%29 = load i64, ptr %5, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %5, align 8
%31 = icmp ugt i64 %29, 0
br i1 %31, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %32
32: ; preds = %._crit_edge, %17
br label %33
33: ; preds = %32, %11
%34 = load ptr, ptr %6, align 8
store ptr %34, ptr %3, align 8
br label %35
35: ; preds = %33, %10
%36 = load ptr, ptr %3, align 8
ret ptr %36
}
declare ptr @malloc(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/tmpl7ml3p5a.c'
source_filename = "/tmp/tmpl7ml3p5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/.osir_hash\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"Error: makeHashFile: failed to open %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Error: makeHashFile: failed to write to file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @makeHashFile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %7, align 8
%12 = alloca i8, i64 2, align 16
%13 = load ptr, ptr %4, align 8
%14 = call i32 @hash16(ptr noundef %12, ptr noundef %13, i32 noundef 32)
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = call i64 @strlen(ptr noundef @.str)
%18 = add nsw i64 %16, %17
%19 = call i64 @malloc(i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %8, align 8
%25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str)
%26 = load ptr, ptr %8, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.1)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %34
30: ; preds = %2
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %8, align 8
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32)
store i32 0, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %46
34: ; preds = %2
%35 = load ptr, ptr %9, align 8
%36 = call i32 @fwrite(ptr noundef %12, i32 noundef 1, i32 noundef 2, ptr noundef %35)
%37 = icmp ne i32 %36, 2
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.3)
store i32 0, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %46
41: ; preds = %34
%42 = load ptr, ptr %9, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = load ptr, ptr %8, align 8
%45 = call i32 @free(ptr noundef %44)
store i32 1, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %46
46: ; preds = %41, %38, %30
%47 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %47)
%48 = load i32, ptr %3, align 4
ret i32 %48
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @hash16(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @malloc(i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @free(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl7ml3p5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/.osir_hash\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [40 x i8] c"Error: makeHashFile: failed to open %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [46 x i8] c"Error: makeHashFile: failed to write to file\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @makeHashFile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 2, ptr %6, align 4
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %7, align 8
%12 = alloca i8, i64 2, align 16
%13 = load ptr, ptr %4, align 8
%14 = call i32 @hash16(ptr noundef %12, ptr noundef %13, i32 noundef 32)
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strlen(ptr noundef %15)
%17 = call i64 @strlen(ptr noundef @.str)
%18 = add nsw i64 %16, %17
%19 = call i64 @malloc(i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %8, align 8
%21 = load ptr, ptr %8, align 8
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strcpy(ptr noundef %21, ptr noundef %22)
%24 = load ptr, ptr %8, align 8
%25 = call i32 @strcat(ptr noundef %24, ptr noundef @.str)
%26 = load ptr, ptr %8, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.1)
store ptr %27, ptr %9, align 8
%28 = load ptr, ptr %9, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %34
30: ; preds = %2
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %8, align 8
%33 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %31, ptr noundef @.str.2, ptr noundef %32)
store i32 0, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %46
34: ; preds = %2
%35 = load ptr, ptr %9, align 8
%36 = call i32 @fwrite(ptr noundef %12, i32 noundef 1, i32 noundef 2, ptr noundef %35)
%37 = icmp ne i32 %36, 2
br i1 %37, label %38, label %41
38: ; preds = %34
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.3)
store i32 0, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %46
41: ; preds = %34
%42 = load ptr, ptr %9, align 8
%43 = call i32 @fclose(ptr noundef %42)
%44 = load ptr, ptr %8, align 8
%45 = call i32 @free(ptr noundef %44)
store i32 1, ptr %3, align 4
store i32 1, ptr %10, align 4
br label %46
46: ; preds = %41, %38, %30
%47 = load ptr, ptr %7, align 8
call void @llvm.stackrestore(ptr %47)
%48 = load i32, ptr %3, align 4
ret i32 %48
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @hash16(ptr noundef, ptr noundef, i32 noundef) #2
declare i64 @malloc(i64 noundef) #2
declare i64 @strlen(ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
declare i32 @strcat(ptr noundef, ptr noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare i32 @free(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzkcrq1vk.c'
source_filename = "/tmp/tmpzkcrq1vk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please include the pid as a command line parameter.\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Failure in quad\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Success! New timeslice: %ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %26
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atol(ptr noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = call i64 @syscall(i32 noundef 287, i32 noundef %17)
store i64 %18, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 2, ptr %3, align 4
br label %26
23: ; preds = %12
%24 = load i64, ptr %7, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %24)
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %23, %21, %10
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atol(ptr noundef) #1
declare i64 @syscall(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzkcrq1vk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please include the pid as a command line parameter.\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Failure in quad\00", align 1
@.str.2 = private unnamed_addr constant [29 x i8] c"Success! New timeslice: %ld\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 i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 2
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %26
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = call i32 @atol(ptr noundef %15)
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = call i64 @syscall(i32 noundef 287, i32 noundef %17)
store i64 %18, ptr %7, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %23
21: ; preds = %12
%22 = call i32 @perror(ptr noundef @.str.1)
store i32 2, ptr %3, align 4
br label %26
23: ; preds = %12
%24 = load i64, ptr %7, align 8
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %24)
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %23, %21, %10
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @atol(ptr noundef) #1
declare i64 @syscall(i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq7ikgjef.c'
source_filename = "/tmp/tmpq7ikgjef.c"
target datalayout = "e-m:e-p270: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/tmpq7ikgjef.c"
target datalayout = "e-m:e-p270: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/tmp3b6dvipg.c'
source_filename = "/tmp/tmp3b6dvipg.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"New event!\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 [10 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.epoll_event, align 4
%11 = alloca %struct.epoll_event, align 4
%12 = alloca i32, align 4
%13 = alloca [1 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5000, ptr %8, align 4
%14 = call i32 @epoll_create(i32 noundef 10)
store i32 %14, ptr %6, align 4
store i32 0, ptr %9, align 4
br label %15
15: ; preds = %35, %2
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %16, 10
br i1 %17, label %18, label %38
18: ; preds = %15
%19 = load i32, ptr @EPOLLIN, align 4
%20 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 1
store i32 %19, ptr %20, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %21, %22
%24 = call i32 @create_socket(i32 noundef %23)
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %26
store i32 %24, ptr %27, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr @EPOLL_CTL_ADD, align 4
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %31
%33 = load i32, ptr %32, align 4
%34 = call i32 @epoll_ctl(i32 noundef %28, i32 noundef %29, i32 noundef %33, ptr noundef %10)
br label %35
35: ; preds = %18
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %15, !llvm.loop !6
38: ; preds = %15
br label %39
39: ; preds = %53, %38
%40 = load i32, ptr %6, align 4
%41 = call i32 @epoll_wait(i32 noundef %40, ptr noundef %11, i32 noundef 10, i32 noundef 100)
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = icmp eq i32 %42, 1
br i1 %43, label %44, label %53
44: ; preds = %39
%45 = call i32 @puts(ptr noundef @.str)
%46 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0
%47 = getelementptr inbounds %struct.TYPE_2__, ptr %46, i32 0, i32 0
%48 = load i32, ptr %47, align 4
%49 = getelementptr inbounds [1 x i8], ptr %13, i64 0, i64 0
%50 = call i32 @read(i32 noundef %48, ptr noundef %49, i32 noundef 1)
%51 = getelementptr inbounds [1 x i8], ptr %13, i64 0, i64 0
%52 = call i32 @puts(ptr noundef %51)
br label %54
53: ; preds = %39
br label %39
54: ; preds = %44
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @epoll_create(i32 noundef) #1
declare i32 @create_socket(i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3b6dvipg.c"
target datalayout = "e-m:e-p270: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.epoll_event = type { %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@EPOLLIN = dso_local global i32 0, align 4
@EPOLL_CTL_ADD = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"New event!\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 [10 x i32], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca %struct.epoll_event, align 4
%11 = alloca %struct.epoll_event, align 4
%12 = alloca i32, align 4
%13 = alloca [1 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 5000, ptr %8, align 4
%14 = call i32 @epoll_create(i32 noundef 10)
store i32 %14, ptr %6, align 4
store i32 0, ptr %9, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %15, 10
br i1 %16, label %.lr.ph, label %39
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %34
%18 = load i32, ptr @EPOLLIN, align 4
%19 = getelementptr inbounds %struct.epoll_event, ptr %10, i32 0, i32 1
store i32 %18, ptr %19, align 4
%20 = load i32, ptr %8, align 4
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %20, %21
%23 = call i32 @create_socket(i32 noundef %22)
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %25
store i32 %23, ptr %26, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr @EPOLL_CTL_ADD, align 4
%29 = load i32, ptr %9, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i32], ptr %7, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @epoll_ctl(i32 noundef %27, i32 noundef %28, i32 noundef %32, ptr noundef %10)
br label %34
34: ; preds = %17
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp slt i32 %37, 10
br i1 %38, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %39
39: ; preds = %._crit_edge, %2
br label %40
40: ; preds = %40, %39
%41 = load i32, ptr %6, align 4
%42 = call i32 @epoll_wait(i32 noundef %41, ptr noundef %11, i32 noundef 10, i32 noundef 100)
store i32 %42, ptr %12, align 4
%43 = load i32, ptr %12, align 4
%44 = icmp eq i32 %43, 1
br i1 %44, label %45, label %40
45: ; preds = %40
%46 = call i32 @puts(ptr noundef @.str)
%47 = getelementptr inbounds %struct.epoll_event, ptr %11, i32 0, i32 0
%48 = getelementptr inbounds %struct.TYPE_2__, ptr %47, i32 0, i32 0
%49 = load i32, ptr %48, align 4
%50 = getelementptr inbounds [1 x i8], ptr %13, i64 0, i64 0
%51 = call i32 @read(i32 noundef %49, ptr noundef %50, i32 noundef 1)
%52 = getelementptr inbounds [1 x i8], ptr %13, i64 0, i64 0
%53 = call i32 @puts(ptr noundef %52)
br label %54
54: ; preds = %45
%55 = load i32, ptr %3, align 4
ret i32 %55
}
declare i32 @epoll_create(i32 noundef) #1
declare i32 @create_socket(i32 noundef) #1
declare i32 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @epoll_wait(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp4o_e3pgo.c'
source_filename = "/tmp/tmp4o_e3pgo.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %10, %2
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = load ptr, ptr %5, align 8
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr @stdout, align 4
%14 = call i32 @fputs(ptr noundef %12, i32 noundef %13)
%15 = load i32, ptr @stdout, align 4
%16 = call i32 @fputc(i8 noundef signext 10, i32 noundef %15)
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds ptr, ptr %17, i32 1
store ptr %18, ptr %5, align 8
br label %6, !llvm.loop !6
19: ; preds = %6
ret i32 0
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fputc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4o_e3pgo.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %9
%10 = load ptr, ptr %5, align 8
%11 = load ptr, ptr %10, align 8
%12 = load i32, ptr @stdout, align 4
%13 = call i32 @fputs(ptr noundef %11, i32 noundef %12)
%14 = load i32, ptr @stdout, align 4
%15 = call i32 @fputc(i8 noundef signext 10, i32 noundef %14)
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = load ptr, ptr %18, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %21
21: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @fputc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpb8j8znt_.c'
source_filename = "/tmp/tmpb8j8znt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Obtained %zd stack frames.\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 void @spamm_error_print_backtrace() #0 {
%1 = alloca [50 x ptr], align 16
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = getelementptr inbounds [50 x ptr], ptr %1, i64 0, i64 0
%6 = call i64 @backtrace(ptr noundef %5, i32 noundef 50)
store i64 %6, ptr %2, align 8
%7 = getelementptr inbounds [50 x ptr], ptr %1, i64 0, i64 0
%8 = load i64, ptr %2, align 8
%9 = call ptr @backtrace_symbols(ptr noundef %7, i64 noundef %8)
store ptr %9, ptr %3, align 8
%10 = load i64, ptr %2, align 8
%11 = sub i64 %10, 2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %11)
store i64 2, ptr %4, align 8
br label %13
13: ; preds = %23, %0
%14 = load i64, ptr %4, align 8
%15 = load i64, ptr %2, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %26
17: ; preds = %13
%18 = load ptr, ptr %3, align 8
%19 = load i64, ptr %4, align 8
%20 = getelementptr inbounds ptr, ptr %18, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %21)
br label %23
23: ; preds = %17
%24 = load i64, ptr %4, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %4, align 8
br label %13, !llvm.loop !6
26: ; preds = %13
%27 = load ptr, ptr %3, align 8
%28 = call i32 @free(ptr noundef %27)
ret void
}
declare i64 @backtrace(ptr noundef, i32 noundef) #1
declare ptr @backtrace_symbols(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb8j8znt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"Obtained %zd stack frames.\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 void @spamm_error_print_backtrace() #0 {
%1 = alloca [50 x ptr], align 16
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = getelementptr inbounds [50 x ptr], ptr %1, i64 0, i64 0
%6 = call i64 @backtrace(ptr noundef %5, i32 noundef 50)
store i64 %6, ptr %2, align 8
%7 = getelementptr inbounds [50 x ptr], ptr %1, i64 0, i64 0
%8 = load i64, ptr %2, align 8
%9 = call ptr @backtrace_symbols(ptr noundef %7, i64 noundef %8)
store ptr %9, ptr %3, align 8
%10 = load i64, ptr %2, align 8
%11 = sub i64 %10, 2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %11)
store i64 2, ptr %4, align 8
%13 = load i64, ptr %4, align 8
%14 = load i64, ptr %2, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %28
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %22
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %4, align 8
%19 = getelementptr inbounds ptr, ptr %17, i64 %18
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %20)
br label %22
22: ; preds = %16
%23 = load i64, ptr %4, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %4, align 8
%25 = load i64, ptr %4, align 8
%26 = load i64, ptr %2, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %0
%29 = load ptr, ptr %3, align 8
%30 = call i32 @free(ptr noundef %29)
ret void
}
declare i64 @backtrace(ptr noundef, i32 noundef) #1
declare ptr @backtrace_symbols(ptr noundef, i64 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8kvmccfb.c'
source_filename = "/tmp/tmp8kvmccfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"x1 = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"x2 = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wypisz(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8kvmccfb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"x1 = %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"x2 = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @wypisz(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8k8_hmvt.c'
source_filename = "/tmp/tmp8k8_hmvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Created: Aaron Jones/n\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayDescription() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
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/tmp8k8_hmvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Created: Aaron Jones/n\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @displayDescription() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
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/tmp_7yacb9m.c'
source_filename = "/tmp/tmp_7yacb9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make2Darray_int_continuousMem(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %8, %9
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 4
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 8
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %6, align 8
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %37, %2
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 %28, %29
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %27, i64 %31
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
store ptr %32, ptr %36, align 8
br label %37
37: ; preds = %26
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %22, !llvm.loop !6
40: ; preds = %22
%41 = load ptr, ptr %6, align 8
ret ptr %41
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_7yacb9m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make2Darray_int_continuousMem(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %8, %9
%11 = sext i32 %10 to i64
%12 = mul i64 %11, 4
%13 = trunc i64 %12 to i32
%14 = call i64 @malloc(i32 noundef %13)
%15 = inttoptr i64 %14 to ptr
store ptr %15, ptr %5, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 8
%19 = trunc i64 %18 to i32
%20 = call i64 @malloc(i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %6, align 8
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %42
.lr.ph: ; preds = %2
br label %25
25: ; preds = %.lr.ph, %36
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = mul nsw i32 %27, %28
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %26, i64 %30
%32 = load ptr, ptr %6, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
store ptr %31, ptr %35, align 8
br label %36
36: ; preds = %25
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = load i32, ptr %7, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %2
%43 = load ptr, ptr %6, align 8
ret ptr %43
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv0ewl049.c'
source_filename = "/tmp/tmpv0ewl049.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ip:\00", align 1
@EOF = dso_local global i32 0, align 4
@optarg = dso_local global ptr null, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Usage: %s [-i iterations] [-p password]\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"Enter password: \00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Re-enter same password: \00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Passwords don't match!\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"Cannot get random bytes for salt!\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"PBKDF2$%s$%d$%s$%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"sha256\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [12 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [128 x i8], align 16
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = 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 901, ptr %6, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %17, align 8
store i32 1, ptr %19, align 4
br label %23
23: ; preds = %44, %2
%24 = load i32, ptr %4, align 4
%25 = load ptr, ptr %5, align 8
%26 = call i32 @getopt(i32 noundef %24, ptr noundef %25, ptr noundef @.str)
store i32 %26, ptr %18, align 4
%27 = load i32, ptr @EOF, align 4
%28 = icmp ne i32 %26, %27
br i1 %28, label %29, label %45
29: ; preds = %23
%30 = load i32, ptr %18, align 4
switch i32 %30, label %39 [
i32 105, label %31
i32 112, label %34
]
31: ; preds = %29
%32 = load ptr, ptr @optarg, align 8
%33 = call i32 @atoi(ptr noundef %32)
store i32 %33, ptr %6, align 4
br label %44
34: ; preds = %29
%35 = load ptr, ptr @optarg, align 8
%36 = call ptr @strdup(ptr noundef %35)
store ptr %36, ptr %14, align 8
%37 = load ptr, ptr @optarg, align 8
%38 = call ptr @strdup(ptr noundef %37)
store ptr %38, ptr %15, align 8
store i32 0, ptr %19, align 4
br label %44
39: ; preds = %29
%40 = load i32, ptr @stderr, align 4
%41 = load ptr, ptr %17, align 8
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.1, ptr noundef %41)
%43 = call i32 @exit(i32 noundef %42) #3
unreachable
44: ; preds = %34, %31
br label %23, !llvm.loop !6
45: ; preds = %23
%46 = load i32, ptr @optind, align 4
%47 = sub nsw i32 %46, 1
%48 = load i32, ptr %4, align 4
%49 = sub nsw i32 %48, %47
store i32 %49, ptr %4, align 4
%50 = load i32, ptr @optind, align 4
%51 = sub nsw i32 %50, 1
%52 = load ptr, ptr %5, align 8
%53 = sext i32 %51 to i64
%54 = getelementptr inbounds ptr, ptr %52, i64 %53
store ptr %54, ptr %5, align 8
%55 = load i32, ptr %4, align 4
%56 = icmp ne i32 %55, 1
br i1 %56, label %57, label %62
57: ; preds = %45
%58 = load i32, ptr @stderr, align 4
%59 = load ptr, ptr %17, align 8
%60 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.1, ptr noundef %59)
%61 = call i32 @exit(i32 noundef %60) #3
unreachable
62: ; preds = %45
%63 = load i32, ptr %19, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %69
65: ; preds = %62
%66 = call ptr @getpass(ptr noundef @.str.2)
%67 = call ptr @strdup(ptr noundef %66)
store ptr %67, ptr %14, align 8
%68 = call ptr @getpass(ptr noundef @.str.3)
store ptr %68, ptr %15, align 8
br label %69
69: ; preds = %65, %62
%70 = load ptr, ptr %14, align 8
%71 = load ptr, ptr %15, align 8
%72 = call i64 @strcmp(ptr noundef %70, ptr noundef %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %77
74: ; preds = %69
%75 = load i32, ptr @stderr, align 4
%76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %75, ptr noundef @.str.4)
store i32 1, ptr %3, align 4
br label %114
77: ; preds = %69
%78 = load ptr, ptr %14, align 8
store ptr %78, ptr %16, align 8
%79 = getelementptr inbounds [12 x i8], ptr %10, i64 0, i64 0
%80 = call i32 @RAND_bytes(ptr noundef %79, i32 noundef 12)
store i32 %80, ptr %7, align 4
%81 = load i32, ptr %7, align 4
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %86
83: ; preds = %77
%84 = load i32, ptr @stderr, align 4
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %84, ptr noundef @.str.5)
store i32 2, ptr %3, align 4
br label %114
86: ; preds = %77
%87 = getelementptr inbounds [12 x i8], ptr %10, i64 0, i64 0
%88 = call i32 @base64_encode(ptr noundef %87, i32 noundef 12, ptr noundef %11)
%89 = load ptr, ptr %11, align 8
%90 = call i32 @strlen(ptr noundef %89)
store i32 %90, ptr %8, align 4
%91 = load ptr, ptr %16, align 8
%92 = load ptr, ptr %16, align 8
%93 = call i32 @strlen(ptr noundef %92)
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %8, align 4
%96 = load i32, ptr %6, align 4
%97 = call i32 (...) @EVP_sha256()
%98 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%99 = call i32 @PKCS5_PBKDF2_HMAC(ptr noundef %91, i32 noundef %93, ptr noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef 24, ptr noundef %98)
%100 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%101 = call i32 @base64_encode(ptr noundef %100, i32 noundef 24, ptr noundef %12)
store i32 %101, ptr %9, align 4
%102 = load i32, ptr %9, align 4
%103 = icmp sgt i32 %102, 0
br i1 %103, label %104, label %111
104: ; preds = %86
%105 = load i32, ptr %6, align 4
%106 = load ptr, ptr %11, align 8
%107 = load ptr, ptr %12, align 8
%108 = call i32 @printf(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef %105, ptr noundef %106, ptr noundef %107)
%109 = load ptr, ptr %12, align 8
%110 = call i32 @free(ptr noundef %109)
br label %111
111: ; preds = %104, %86
%112 = load ptr, ptr %16, align 8
%113 = call i32 @free(ptr noundef %112)
store i32 0, ptr %3, align 4
br label %114
114: ; preds = %111, %83, %74
%115 = load i32, ptr %3, align 4
ret i32 %115
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @getpass(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @RAND_bytes(ptr noundef, i32 noundef) #1
declare i32 @base64_encode(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @PKCS5_PBKDF2_HMAC(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @EVP_sha256(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv0ewl049.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ip:\00", align 1
@EOF = dso_local global i32 0, align 4
@optarg = dso_local global ptr null, align 8
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"Usage: %s [-i iterations] [-p password]\0A\00", align 1
@optind = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"Enter password: \00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"Re-enter same password: \00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"Passwords don't match!\0A\00", align 1
@.str.5 = private unnamed_addr constant [35 x i8] c"Cannot get random bytes for salt!\0A\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"PBKDF2$%s$%d$%s$%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c"sha256\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca [12 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca [128 x i8], align 16
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = 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 901, ptr %6, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
store ptr %22, ptr %17, align 8
store i32 1, ptr %19, align 4
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = call i32 @getopt(i32 noundef %23, ptr noundef %24, ptr noundef @.str)
store i32 %25, ptr %18, align 4
%26 = load i32, ptr @EOF, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %.lr.ph, label %49
.lr.ph: ; preds = %2
br label %28
28: ; preds = %.lr.ph, %43
%29 = load i32, ptr %18, align 4
switch i32 %29, label %38 [
i32 105, label %30
i32 112, label %33
]
30: ; preds = %28
%31 = load ptr, ptr @optarg, align 8
%32 = call i32 @atoi(ptr noundef %31)
store i32 %32, ptr %6, align 4
br label %43
33: ; preds = %28
%34 = load ptr, ptr @optarg, align 8
%35 = call ptr @strdup(ptr noundef %34)
store ptr %35, ptr %14, align 8
%36 = load ptr, ptr @optarg, align 8
%37 = call ptr @strdup(ptr noundef %36)
store ptr %37, ptr %15, align 8
store i32 0, ptr %19, align 4
br label %43
38: ; preds = %28
%39 = load i32, ptr @stderr, align 4
%40 = load ptr, ptr %17, align 8
%41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.1, ptr noundef %40)
%42 = call i32 @exit(i32 noundef %41) #3
unreachable
43: ; preds = %33, %30
%44 = load i32, ptr %4, align 4
%45 = load ptr, ptr %5, align 8
%46 = call i32 @getopt(i32 noundef %44, ptr noundef %45, ptr noundef @.str)
store i32 %46, ptr %18, align 4
%47 = load i32, ptr @EOF, align 4
%48 = icmp ne i32 %46, %47
br i1 %48, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %49
49: ; preds = %._crit_edge, %2
%50 = load i32, ptr @optind, align 4
%51 = sub nsw i32 %50, 1
%52 = load i32, ptr %4, align 4
%53 = sub nsw i32 %52, %51
store i32 %53, ptr %4, align 4
%54 = load i32, ptr @optind, align 4
%55 = sub nsw i32 %54, 1
%56 = load ptr, ptr %5, align 8
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds ptr, ptr %56, i64 %57
store ptr %58, ptr %5, align 8
%59 = load i32, ptr %4, align 4
%60 = icmp ne i32 %59, 1
br i1 %60, label %61, label %66
61: ; preds = %49
%62 = load i32, ptr @stderr, align 4
%63 = load ptr, ptr %17, align 8
%64 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.1, ptr noundef %63)
%65 = call i32 @exit(i32 noundef %64) #3
unreachable
66: ; preds = %49
%67 = load i32, ptr %19, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %73
69: ; preds = %66
%70 = call ptr @getpass(ptr noundef @.str.2)
%71 = call ptr @strdup(ptr noundef %70)
store ptr %71, ptr %14, align 8
%72 = call ptr @getpass(ptr noundef @.str.3)
store ptr %72, ptr %15, align 8
br label %73
73: ; preds = %69, %66
%74 = load ptr, ptr %14, align 8
%75 = load ptr, ptr %15, align 8
%76 = call i64 @strcmp(ptr noundef %74, ptr noundef %75)
%77 = icmp ne i64 %76, 0
br i1 %77, label %78, label %81
78: ; preds = %73
%79 = load i32, ptr @stderr, align 4
%80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %79, ptr noundef @.str.4)
store i32 1, ptr %3, align 4
br label %118
81: ; preds = %73
%82 = load ptr, ptr %14, align 8
store ptr %82, ptr %16, align 8
%83 = getelementptr inbounds [12 x i8], ptr %10, i64 0, i64 0
%84 = call i32 @RAND_bytes(ptr noundef %83, i32 noundef 12)
store i32 %84, ptr %7, align 4
%85 = load i32, ptr %7, align 4
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %90
87: ; preds = %81
%88 = load i32, ptr @stderr, align 4
%89 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %88, ptr noundef @.str.5)
store i32 2, ptr %3, align 4
br label %118
90: ; preds = %81
%91 = getelementptr inbounds [12 x i8], ptr %10, i64 0, i64 0
%92 = call i32 @base64_encode(ptr noundef %91, i32 noundef 12, ptr noundef %11)
%93 = load ptr, ptr %11, align 8
%94 = call i32 @strlen(ptr noundef %93)
store i32 %94, ptr %8, align 4
%95 = load ptr, ptr %16, align 8
%96 = load ptr, ptr %16, align 8
%97 = call i32 @strlen(ptr noundef %96)
%98 = load ptr, ptr %11, align 8
%99 = load i32, ptr %8, align 4
%100 = load i32, ptr %6, align 4
%101 = call i32 (...) @EVP_sha256()
%102 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%103 = call i32 @PKCS5_PBKDF2_HMAC(ptr noundef %95, i32 noundef %97, ptr noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef 24, ptr noundef %102)
%104 = getelementptr inbounds [128 x i8], ptr %13, i64 0, i64 0
%105 = call i32 @base64_encode(ptr noundef %104, i32 noundef 24, ptr noundef %12)
store i32 %105, ptr %9, align 4
%106 = load i32, ptr %9, align 4
%107 = icmp sgt i32 %106, 0
br i1 %107, label %108, label %115
108: ; preds = %90
%109 = load i32, ptr %6, align 4
%110 = load ptr, ptr %11, align 8
%111 = load ptr, ptr %12, align 8
%112 = call i32 @printf(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef %109, ptr noundef %110, ptr noundef %111)
%113 = load ptr, ptr %12, align 8
%114 = call i32 @free(ptr noundef %113)
br label %115
115: ; preds = %108, %90
%116 = load ptr, ptr %16, align 8
%117 = call i32 @free(ptr noundef %116)
store i32 0, ptr %3, align 4
br label %118
118: ; preds = %115, %87, %78
%119 = load i32, ptr %3, align 4
ret i32 %119
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare ptr @strdup(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @getpass(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @RAND_bytes(ptr noundef, i32 noundef) #1
declare i32 @base64_encode(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @PKCS5_PBKDF2_HMAC(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @EVP_sha256(...) #1
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7rtj87ch.c'
source_filename = "/tmp/tmp7rtj87ch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objs_cache_init(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @_objs_cache_init(ptr noundef %7, i64 noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef %9, ptr noundef null)
ret ptr %10
}
declare ptr @_objs_cache_init(ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7rtj87ch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objs_cache_init(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = load ptr, ptr %6, align 8
%10 = call ptr @_objs_cache_init(ptr noundef %7, i64 noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef %9, ptr noundef null)
ret ptr %10
}
declare ptr @_objs_cache_init(ptr noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaipawhjz.c'
source_filename = "/tmp/tmpaipawhjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\DB\DB\DB\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\DB \DB\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \DB \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"\DB\DB \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" \DB\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"\DB \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c" \DB\DB\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mvprintnum3x5r(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
switch i32 %8, label %209 [
i32 0, label %9
i32 1, label %29
i32 2, label %49
i32 3, label %69
i32 4, label %89
i32 5, label %109
i32 6, label %129
i32 7, label %149
i32 8, label %169
i32 9, label %189
]
9: ; preds = %3
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @mvprintw(i32 noundef %10, i32 noundef %11, ptr noundef @.str)
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %5, align 4
%16 = call i32 @mvprintw(i32 noundef %14, i32 noundef %15, ptr noundef @.str.1)
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 2
%19 = load i32, ptr %5, align 4
%20 = call i32 @mvprintw(i32 noundef %18, i32 noundef %19, ptr noundef @.str.1)
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 3
%23 = load i32, ptr %5, align 4
%24 = call i32 @mvprintw(i32 noundef %22, i32 noundef %23, ptr noundef @.str.1)
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 4
%27 = load i32, ptr %5, align 4
%28 = call i32 @mvprintw(i32 noundef %26, i32 noundef %27, ptr noundef @.str)
br label %210
29: ; preds = %3
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %5, align 4
%32 = call i32 @mvprintw(i32 noundef %30, i32 noundef %31, ptr noundef @.str.2)
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
%35 = load i32, ptr %5, align 4
%36 = call i32 @mvprintw(i32 noundef %34, i32 noundef %35, ptr noundef @.str.3)
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 2
%39 = load i32, ptr %5, align 4
%40 = call i32 @mvprintw(i32 noundef %38, i32 noundef %39, ptr noundef @.str.2)
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 3
%43 = load i32, ptr %5, align 4
%44 = call i32 @mvprintw(i32 noundef %42, i32 noundef %43, ptr noundef @.str.2)
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 4
%47 = load i32, ptr %5, align 4
%48 = call i32 @mvprintw(i32 noundef %46, i32 noundef %47, ptr noundef @.str)
br label %210
49: ; preds = %3
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %5, align 4
%52 = call i32 @mvprintw(i32 noundef %50, i32 noundef %51, ptr noundef @.str)
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
%55 = load i32, ptr %5, align 4
%56 = call i32 @mvprintw(i32 noundef %54, i32 noundef %55, ptr noundef @.str.4)
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 2
%59 = load i32, ptr %5, align 4
%60 = call i32 @mvprintw(i32 noundef %58, i32 noundef %59, ptr noundef @.str.2)
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 3
%63 = load i32, ptr %5, align 4
%64 = call i32 @mvprintw(i32 noundef %62, i32 noundef %63, ptr noundef @.str.5)
%65 = load i32, ptr %4, align 4
%66 = add nsw i32 %65, 4
%67 = load i32, ptr %5, align 4
%68 = call i32 @mvprintw(i32 noundef %66, i32 noundef %67, ptr noundef @.str)
br label %210
69: ; preds = %3
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %5, align 4
%72 = call i32 @mvprintw(i32 noundef %70, i32 noundef %71, ptr noundef @.str)
%73 = load i32, ptr %4, align 4
%74 = add nsw i32 %73, 1
%75 = load i32, ptr %5, align 4
%76 = call i32 @mvprintw(i32 noundef %74, i32 noundef %75, ptr noundef @.str.4)
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 2
%79 = load i32, ptr %5, align 4
%80 = call i32 @mvprintw(i32 noundef %78, i32 noundef %79, ptr noundef @.str.6)
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, 3
%83 = load i32, ptr %5, align 4
%84 = call i32 @mvprintw(i32 noundef %82, i32 noundef %83, ptr noundef @.str.4)
%85 = load i32, ptr %4, align 4
%86 = add nsw i32 %85, 4
%87 = load i32, ptr %5, align 4
%88 = call i32 @mvprintw(i32 noundef %86, i32 noundef %87, ptr noundef @.str)
br label %210
89: ; preds = %3
%90 = load i32, ptr %4, align 4
%91 = load i32, ptr %5, align 4
%92 = call i32 @mvprintw(i32 noundef %90, i32 noundef %91, ptr noundef @.str.5)
%93 = load i32, ptr %4, align 4
%94 = add nsw i32 %93, 1
%95 = load i32, ptr %5, align 4
%96 = call i32 @mvprintw(i32 noundef %94, i32 noundef %95, ptr noundef @.str.1)
%97 = load i32, ptr %4, align 4
%98 = add nsw i32 %97, 2
%99 = load i32, ptr %5, align 4
%100 = call i32 @mvprintw(i32 noundef %98, i32 noundef %99, ptr noundef @.str)
%101 = load i32, ptr %4, align 4
%102 = add nsw i32 %101, 3
%103 = load i32, ptr %5, align 4
%104 = call i32 @mvprintw(i32 noundef %102, i32 noundef %103, ptr noundef @.str.4)
%105 = load i32, ptr %4, align 4
%106 = add nsw i32 %105, 4
%107 = load i32, ptr %5, align 4
%108 = call i32 @mvprintw(i32 noundef %106, i32 noundef %107, ptr noundef @.str.4)
br label %210
109: ; preds = %3
%110 = load i32, ptr %4, align 4
%111 = load i32, ptr %5, align 4
%112 = call i32 @mvprintw(i32 noundef %110, i32 noundef %111, ptr noundef @.str)
%113 = load i32, ptr %4, align 4
%114 = add nsw i32 %113, 1
%115 = load i32, ptr %5, align 4
%116 = call i32 @mvprintw(i32 noundef %114, i32 noundef %115, ptr noundef @.str.5)
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %117, 2
%119 = load i32, ptr %5, align 4
%120 = call i32 @mvprintw(i32 noundef %118, i32 noundef %119, ptr noundef @.str)
%121 = load i32, ptr %4, align 4
%122 = add nsw i32 %121, 3
%123 = load i32, ptr %5, align 4
%124 = call i32 @mvprintw(i32 noundef %122, i32 noundef %123, ptr noundef @.str.4)
%125 = load i32, ptr %4, align 4
%126 = add nsw i32 %125, 4
%127 = load i32, ptr %5, align 4
%128 = call i32 @mvprintw(i32 noundef %126, i32 noundef %127, ptr noundef @.str)
br label %210
129: ; preds = %3
%130 = load i32, ptr %4, align 4
%131 = load i32, ptr %5, align 4
%132 = call i32 @mvprintw(i32 noundef %130, i32 noundef %131, ptr noundef @.str)
%133 = load i32, ptr %4, align 4
%134 = add nsw i32 %133, 1
%135 = load i32, ptr %5, align 4
%136 = call i32 @mvprintw(i32 noundef %134, i32 noundef %135, ptr noundef @.str.5)
%137 = load i32, ptr %4, align 4
%138 = add nsw i32 %137, 2
%139 = load i32, ptr %5, align 4
%140 = call i32 @mvprintw(i32 noundef %138, i32 noundef %139, ptr noundef @.str)
%141 = load i32, ptr %4, align 4
%142 = add nsw i32 %141, 3
%143 = load i32, ptr %5, align 4
%144 = call i32 @mvprintw(i32 noundef %142, i32 noundef %143, ptr noundef @.str.1)
%145 = load i32, ptr %4, align 4
%146 = add nsw i32 %145, 4
%147 = load i32, ptr %5, align 4
%148 = call i32 @mvprintw(i32 noundef %146, i32 noundef %147, ptr noundef @.str)
br label %210
149: ; preds = %3
%150 = load i32, ptr %4, align 4
%151 = load i32, ptr %5, align 4
%152 = call i32 @mvprintw(i32 noundef %150, i32 noundef %151, ptr noundef @.str)
%153 = load i32, ptr %4, align 4
%154 = add nsw i32 %153, 1
%155 = load i32, ptr %5, align 4
%156 = call i32 @mvprintw(i32 noundef %154, i32 noundef %155, ptr noundef @.str.4)
%157 = load i32, ptr %4, align 4
%158 = add nsw i32 %157, 2
%159 = load i32, ptr %5, align 4
%160 = call i32 @mvprintw(i32 noundef %158, i32 noundef %159, ptr noundef @.str.2)
%161 = load i32, ptr %4, align 4
%162 = add nsw i32 %161, 3
%163 = load i32, ptr %5, align 4
%164 = call i32 @mvprintw(i32 noundef %162, i32 noundef %163, ptr noundef @.str.2)
%165 = load i32, ptr %4, align 4
%166 = add nsw i32 %165, 4
%167 = load i32, ptr %5, align 4
%168 = call i32 @mvprintw(i32 noundef %166, i32 noundef %167, ptr noundef @.str.2)
br label %210
169: ; preds = %3
%170 = load i32, ptr %4, align 4
%171 = load i32, ptr %5, align 4
%172 = call i32 @mvprintw(i32 noundef %170, i32 noundef %171, ptr noundef @.str)
%173 = load i32, ptr %4, align 4
%174 = add nsw i32 %173, 1
%175 = load i32, ptr %5, align 4
%176 = call i32 @mvprintw(i32 noundef %174, i32 noundef %175, ptr noundef @.str.1)
%177 = load i32, ptr %4, align 4
%178 = add nsw i32 %177, 2
%179 = load i32, ptr %5, align 4
%180 = call i32 @mvprintw(i32 noundef %178, i32 noundef %179, ptr noundef @.str)
%181 = load i32, ptr %4, align 4
%182 = add nsw i32 %181, 3
%183 = load i32, ptr %5, align 4
%184 = call i32 @mvprintw(i32 noundef %182, i32 noundef %183, ptr noundef @.str.1)
%185 = load i32, ptr %4, align 4
%186 = add nsw i32 %185, 4
%187 = load i32, ptr %5, align 4
%188 = call i32 @mvprintw(i32 noundef %186, i32 noundef %187, ptr noundef @.str)
br label %210
189: ; preds = %3
%190 = load i32, ptr %4, align 4
%191 = load i32, ptr %5, align 4
%192 = call i32 @mvprintw(i32 noundef %190, i32 noundef %191, ptr noundef @.str)
%193 = load i32, ptr %4, align 4
%194 = add nsw i32 %193, 1
%195 = load i32, ptr %5, align 4
%196 = call i32 @mvprintw(i32 noundef %194, i32 noundef %195, ptr noundef @.str.1)
%197 = load i32, ptr %4, align 4
%198 = add nsw i32 %197, 2
%199 = load i32, ptr %5, align 4
%200 = call i32 @mvprintw(i32 noundef %198, i32 noundef %199, ptr noundef @.str)
%201 = load i32, ptr %4, align 4
%202 = add nsw i32 %201, 3
%203 = load i32, ptr %5, align 4
%204 = call i32 @mvprintw(i32 noundef %202, i32 noundef %203, ptr noundef @.str.4)
%205 = load i32, ptr %4, align 4
%206 = add nsw i32 %205, 4
%207 = load i32, ptr %5, align 4
%208 = call i32 @mvprintw(i32 noundef %206, i32 noundef %207, ptr noundef @.str)
br label %210
209: ; preds = %3
store i32 -1, ptr %7, align 4
br label %210
210: ; preds = %209, %189, %169, %149, %129, %109, %89, %69, %49, %29, %9
%211 = load i32, ptr %7, align 4
ret i32 %211
}
declare i32 @mvprintw(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/tmpaipawhjz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\DB\DB\DB\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"\DB \DB\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" \DB \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"\DB\DB \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c" \DB\00", align 1
@.str.5 = private unnamed_addr constant [4 x i8] c"\DB \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c" \DB\DB\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @mvprintnum3x5r(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %6, align 4
switch i32 %8, label %209 [
i32 0, label %9
i32 1, label %29
i32 2, label %49
i32 3, label %69
i32 4, label %89
i32 5, label %109
i32 6, label %129
i32 7, label %149
i32 8, label %169
i32 9, label %189
]
9: ; preds = %3
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = call i32 @mvprintw(i32 noundef %10, i32 noundef %11, ptr noundef @.str)
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %5, align 4
%16 = call i32 @mvprintw(i32 noundef %14, i32 noundef %15, ptr noundef @.str.1)
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 2
%19 = load i32, ptr %5, align 4
%20 = call i32 @mvprintw(i32 noundef %18, i32 noundef %19, ptr noundef @.str.1)
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 3
%23 = load i32, ptr %5, align 4
%24 = call i32 @mvprintw(i32 noundef %22, i32 noundef %23, ptr noundef @.str.1)
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 4
%27 = load i32, ptr %5, align 4
%28 = call i32 @mvprintw(i32 noundef %26, i32 noundef %27, ptr noundef @.str)
br label %210
29: ; preds = %3
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %5, align 4
%32 = call i32 @mvprintw(i32 noundef %30, i32 noundef %31, ptr noundef @.str.2)
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
%35 = load i32, ptr %5, align 4
%36 = call i32 @mvprintw(i32 noundef %34, i32 noundef %35, ptr noundef @.str.3)
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 2
%39 = load i32, ptr %5, align 4
%40 = call i32 @mvprintw(i32 noundef %38, i32 noundef %39, ptr noundef @.str.2)
%41 = load i32, ptr %4, align 4
%42 = add nsw i32 %41, 3
%43 = load i32, ptr %5, align 4
%44 = call i32 @mvprintw(i32 noundef %42, i32 noundef %43, ptr noundef @.str.2)
%45 = load i32, ptr %4, align 4
%46 = add nsw i32 %45, 4
%47 = load i32, ptr %5, align 4
%48 = call i32 @mvprintw(i32 noundef %46, i32 noundef %47, ptr noundef @.str)
br label %210
49: ; preds = %3
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %5, align 4
%52 = call i32 @mvprintw(i32 noundef %50, i32 noundef %51, ptr noundef @.str)
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
%55 = load i32, ptr %5, align 4
%56 = call i32 @mvprintw(i32 noundef %54, i32 noundef %55, ptr noundef @.str.4)
%57 = load i32, ptr %4, align 4
%58 = add nsw i32 %57, 2
%59 = load i32, ptr %5, align 4
%60 = call i32 @mvprintw(i32 noundef %58, i32 noundef %59, ptr noundef @.str.2)
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 3
%63 = load i32, ptr %5, align 4
%64 = call i32 @mvprintw(i32 noundef %62, i32 noundef %63, ptr noundef @.str.5)
%65 = load i32, ptr %4, align 4
%66 = add nsw i32 %65, 4
%67 = load i32, ptr %5, align 4
%68 = call i32 @mvprintw(i32 noundef %66, i32 noundef %67, ptr noundef @.str)
br label %210
69: ; preds = %3
%70 = load i32, ptr %4, align 4
%71 = load i32, ptr %5, align 4
%72 = call i32 @mvprintw(i32 noundef %70, i32 noundef %71, ptr noundef @.str)
%73 = load i32, ptr %4, align 4
%74 = add nsw i32 %73, 1
%75 = load i32, ptr %5, align 4
%76 = call i32 @mvprintw(i32 noundef %74, i32 noundef %75, ptr noundef @.str.4)
%77 = load i32, ptr %4, align 4
%78 = add nsw i32 %77, 2
%79 = load i32, ptr %5, align 4
%80 = call i32 @mvprintw(i32 noundef %78, i32 noundef %79, ptr noundef @.str.6)
%81 = load i32, ptr %4, align 4
%82 = add nsw i32 %81, 3
%83 = load i32, ptr %5, align 4
%84 = call i32 @mvprintw(i32 noundef %82, i32 noundef %83, ptr noundef @.str.4)
%85 = load i32, ptr %4, align 4
%86 = add nsw i32 %85, 4
%87 = load i32, ptr %5, align 4
%88 = call i32 @mvprintw(i32 noundef %86, i32 noundef %87, ptr noundef @.str)
br label %210
89: ; preds = %3
%90 = load i32, ptr %4, align 4
%91 = load i32, ptr %5, align 4
%92 = call i32 @mvprintw(i32 noundef %90, i32 noundef %91, ptr noundef @.str.5)
%93 = load i32, ptr %4, align 4
%94 = add nsw i32 %93, 1
%95 = load i32, ptr %5, align 4
%96 = call i32 @mvprintw(i32 noundef %94, i32 noundef %95, ptr noundef @.str.1)
%97 = load i32, ptr %4, align 4
%98 = add nsw i32 %97, 2
%99 = load i32, ptr %5, align 4
%100 = call i32 @mvprintw(i32 noundef %98, i32 noundef %99, ptr noundef @.str)
%101 = load i32, ptr %4, align 4
%102 = add nsw i32 %101, 3
%103 = load i32, ptr %5, align 4
%104 = call i32 @mvprintw(i32 noundef %102, i32 noundef %103, ptr noundef @.str.4)
%105 = load i32, ptr %4, align 4
%106 = add nsw i32 %105, 4
%107 = load i32, ptr %5, align 4
%108 = call i32 @mvprintw(i32 noundef %106, i32 noundef %107, ptr noundef @.str.4)
br label %210
109: ; preds = %3
%110 = load i32, ptr %4, align 4
%111 = load i32, ptr %5, align 4
%112 = call i32 @mvprintw(i32 noundef %110, i32 noundef %111, ptr noundef @.str)
%113 = load i32, ptr %4, align 4
%114 = add nsw i32 %113, 1
%115 = load i32, ptr %5, align 4
%116 = call i32 @mvprintw(i32 noundef %114, i32 noundef %115, ptr noundef @.str.5)
%117 = load i32, ptr %4, align 4
%118 = add nsw i32 %117, 2
%119 = load i32, ptr %5, align 4
%120 = call i32 @mvprintw(i32 noundef %118, i32 noundef %119, ptr noundef @.str)
%121 = load i32, ptr %4, align 4
%122 = add nsw i32 %121, 3
%123 = load i32, ptr %5, align 4
%124 = call i32 @mvprintw(i32 noundef %122, i32 noundef %123, ptr noundef @.str.4)
%125 = load i32, ptr %4, align 4
%126 = add nsw i32 %125, 4
%127 = load i32, ptr %5, align 4
%128 = call i32 @mvprintw(i32 noundef %126, i32 noundef %127, ptr noundef @.str)
br label %210
129: ; preds = %3
%130 = load i32, ptr %4, align 4
%131 = load i32, ptr %5, align 4
%132 = call i32 @mvprintw(i32 noundef %130, i32 noundef %131, ptr noundef @.str)
%133 = load i32, ptr %4, align 4
%134 = add nsw i32 %133, 1
%135 = load i32, ptr %5, align 4
%136 = call i32 @mvprintw(i32 noundef %134, i32 noundef %135, ptr noundef @.str.5)
%137 = load i32, ptr %4, align 4
%138 = add nsw i32 %137, 2
%139 = load i32, ptr %5, align 4
%140 = call i32 @mvprintw(i32 noundef %138, i32 noundef %139, ptr noundef @.str)
%141 = load i32, ptr %4, align 4
%142 = add nsw i32 %141, 3
%143 = load i32, ptr %5, align 4
%144 = call i32 @mvprintw(i32 noundef %142, i32 noundef %143, ptr noundef @.str.1)
%145 = load i32, ptr %4, align 4
%146 = add nsw i32 %145, 4
%147 = load i32, ptr %5, align 4
%148 = call i32 @mvprintw(i32 noundef %146, i32 noundef %147, ptr noundef @.str)
br label %210
149: ; preds = %3
%150 = load i32, ptr %4, align 4
%151 = load i32, ptr %5, align 4
%152 = call i32 @mvprintw(i32 noundef %150, i32 noundef %151, ptr noundef @.str)
%153 = load i32, ptr %4, align 4
%154 = add nsw i32 %153, 1
%155 = load i32, ptr %5, align 4
%156 = call i32 @mvprintw(i32 noundef %154, i32 noundef %155, ptr noundef @.str.4)
%157 = load i32, ptr %4, align 4
%158 = add nsw i32 %157, 2
%159 = load i32, ptr %5, align 4
%160 = call i32 @mvprintw(i32 noundef %158, i32 noundef %159, ptr noundef @.str.2)
%161 = load i32, ptr %4, align 4
%162 = add nsw i32 %161, 3
%163 = load i32, ptr %5, align 4
%164 = call i32 @mvprintw(i32 noundef %162, i32 noundef %163, ptr noundef @.str.2)
%165 = load i32, ptr %4, align 4
%166 = add nsw i32 %165, 4
%167 = load i32, ptr %5, align 4
%168 = call i32 @mvprintw(i32 noundef %166, i32 noundef %167, ptr noundef @.str.2)
br label %210
169: ; preds = %3
%170 = load i32, ptr %4, align 4
%171 = load i32, ptr %5, align 4
%172 = call i32 @mvprintw(i32 noundef %170, i32 noundef %171, ptr noundef @.str)
%173 = load i32, ptr %4, align 4
%174 = add nsw i32 %173, 1
%175 = load i32, ptr %5, align 4
%176 = call i32 @mvprintw(i32 noundef %174, i32 noundef %175, ptr noundef @.str.1)
%177 = load i32, ptr %4, align 4
%178 = add nsw i32 %177, 2
%179 = load i32, ptr %5, align 4
%180 = call i32 @mvprintw(i32 noundef %178, i32 noundef %179, ptr noundef @.str)
%181 = load i32, ptr %4, align 4
%182 = add nsw i32 %181, 3
%183 = load i32, ptr %5, align 4
%184 = call i32 @mvprintw(i32 noundef %182, i32 noundef %183, ptr noundef @.str.1)
%185 = load i32, ptr %4, align 4
%186 = add nsw i32 %185, 4
%187 = load i32, ptr %5, align 4
%188 = call i32 @mvprintw(i32 noundef %186, i32 noundef %187, ptr noundef @.str)
br label %210
189: ; preds = %3
%190 = load i32, ptr %4, align 4
%191 = load i32, ptr %5, align 4
%192 = call i32 @mvprintw(i32 noundef %190, i32 noundef %191, ptr noundef @.str)
%193 = load i32, ptr %4, align 4
%194 = add nsw i32 %193, 1
%195 = load i32, ptr %5, align 4
%196 = call i32 @mvprintw(i32 noundef %194, i32 noundef %195, ptr noundef @.str.1)
%197 = load i32, ptr %4, align 4
%198 = add nsw i32 %197, 2
%199 = load i32, ptr %5, align 4
%200 = call i32 @mvprintw(i32 noundef %198, i32 noundef %199, ptr noundef @.str)
%201 = load i32, ptr %4, align 4
%202 = add nsw i32 %201, 3
%203 = load i32, ptr %5, align 4
%204 = call i32 @mvprintw(i32 noundef %202, i32 noundef %203, ptr noundef @.str.4)
%205 = load i32, ptr %4, align 4
%206 = add nsw i32 %205, 4
%207 = load i32, ptr %5, align 4
%208 = call i32 @mvprintw(i32 noundef %206, i32 noundef %207, ptr noundef @.str)
br label %210
209: ; preds = %3
store i32 -1, ptr %7, align 4
br label %210
210: ; preds = %209, %189, %169, %149, %129, %109, %89, %69, %49, %29, %9
%211 = load i32, ptr %7, align 4
ret i32 %211
}
declare i32 @mvprintw(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/tmphhxlct7o.c'
source_filename = "/tmp/tmphhxlct7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%.6f\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 float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %31, %0
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %34
13: ; preds = %9
%14 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load float, ptr %5, align 4
%19 = fadd float %18, 1.000000e+00
store float %19, ptr %5, align 4
br label %30
20: ; preds = %13
%21 = load i32, ptr %7, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load float, ptr %3, align 4
%25 = fadd float %24, 1.000000e+00
store float %25, ptr %3, align 4
br label %29
26: ; preds = %20
%27 = load float, ptr %4, align 4
%28 = fadd float %27, 1.000000e+00
store float %28, ptr %4, align 4
br label %29
29: ; preds = %26, %23
br label %30
30: ; preds = %29, %17
br label %31
31: ; preds = %30
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %9, !llvm.loop !6
34: ; preds = %9
%35 = load float, ptr %3, align 4
%36 = load i32, ptr %2, align 4
%37 = sitofp i32 %36 to float
%38 = fdiv float %35, %37
%39 = call i32 @printf(ptr noundef @.str.1, float noundef %38)
%40 = load float, ptr %4, align 4
%41 = load i32, ptr %2, align 4
%42 = sitofp i32 %41 to float
%43 = fdiv float %40, %42
%44 = call i32 @printf(ptr noundef @.str.1, float noundef %43)
%45 = load float, ptr %5, align 4
%46 = load i32, ptr %2, align 4
%47 = sitofp i32 %46 to float
%48 = fdiv float %45, %47
%49 = call i32 @printf(ptr noundef @.str.1, float noundef %48)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphhxlct7o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [6 x i8] c"%.6f\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 float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
store float 0.000000e+00, ptr %3, align 4
store float 0.000000e+00, ptr %4, align 4
store float 0.000000e+00, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %30
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load float, ptr %5, align 4
%18 = fadd float %17, 1.000000e+00
store float %18, ptr %5, align 4
br label %29
19: ; preds = %12
%20 = load i32, ptr %7, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %19
%23 = load float, ptr %3, align 4
%24 = fadd float %23, 1.000000e+00
store float %24, ptr %3, align 4
br label %28
25: ; preds = %19
%26 = load float, ptr %4, align 4
%27 = fadd float %26, 1.000000e+00
store float %27, ptr %4, align 4
br label %28
28: ; preds = %25, %22
br label %29
29: ; preds = %28, %16
br label %30
30: ; preds = %29
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %0
%37 = load float, ptr %3, align 4
%38 = load i32, ptr %2, align 4
%39 = sitofp i32 %38 to float
%40 = fdiv float %37, %39
%41 = call i32 @printf(ptr noundef @.str.1, float noundef %40)
%42 = load float, ptr %4, align 4
%43 = load i32, ptr %2, align 4
%44 = sitofp i32 %43 to float
%45 = fdiv float %42, %44
%46 = call i32 @printf(ptr noundef @.str.1, float noundef %45)
%47 = load float, ptr %5, align 4
%48 = load i32, ptr %2, align 4
%49 = sitofp i32 %48 to float
%50 = fdiv float %47, %49
%51 = call i32 @printf(ptr noundef @.str.1, float noundef %50)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdvjevkxl.c'
source_filename = "/tmp/tmpdvjevkxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_seq_num(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
store ptr %7, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @htons(i32 noundef %8)
%10 = load ptr, ptr %5, align 8
store i32 %9, ptr %10, align 4
ret void
}
declare i32 @htons(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/tmpdvjevkxl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_seq_num(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 1
store ptr %7, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = call i32 @htons(i32 noundef %8)
%10 = load ptr, ptr %5, align 8
store i32 %9, ptr %10, align 4
ret void
}
declare i32 @htons(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/tmpn6i_2xn8.c'
source_filename = "/tmp/tmpn6i_2xn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_key_delete(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn6i_2xn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pthread_key_delete(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpani7f50a.c'
source_filename = "/tmp/tmpani7f50a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isns_timestamp_help() #0 {
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/tmpani7f50a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isns_timestamp_help() #0 {
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/tmp5m9aaim8.c'
source_filename = "/tmp/tmp5m9aaim8.c"
target datalayout = "e-m:e-p270: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/tmp5m9aaim8.c"
target datalayout = "e-m:e-p270: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/tmp4fqrh_sr.c'
source_filename = "/tmp/tmp4fqrh_sr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popinteger16array_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = mul i32 %7, 16
%9 = call i32 @popNarray(ptr noundef %5, i32 noundef %8)
ret void
}
declare i32 @popNarray(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/tmp4fqrh_sr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @popinteger16array_(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = load i32, ptr %6, align 4
%8 = mul i32 %7, 16
%9 = call i32 @popNarray(ptr noundef %5, i32 noundef %8)
ret void
}
declare i32 @popNarray(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/tmpzehfud4g.c'
source_filename = "/tmp/tmpzehfud4g.c"
target datalayout = "e-m:e-p270: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/tmpzehfud4g.c"
target datalayout = "e-m:e-p270: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/tmp3nbl88o7.c'
source_filename = "/tmp/tmp3nbl88o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @inflt() #0 {
%1 = alloca [80 x i8], align 16
%2 = alloca double, align 8
%3 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @getstring(ptr noundef %3, i32 noundef 80)
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %2)
%7 = icmp slt i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %0
store double 0.000000e+00, ptr %2, align 8
br label %9
9: ; preds = %8, %0
%10 = load double, ptr %2, align 8
ret double %10
}
declare i32 @getstring(ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3nbl88o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @inflt() #0 {
%1 = alloca [80 x i8], align 16
%2 = alloca double, align 8
%3 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%4 = call i32 @getstring(ptr noundef %3, i32 noundef 80)
%5 = getelementptr inbounds [80 x i8], ptr %1, i64 0, i64 0
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %2)
%7 = icmp slt i32 %6, 1
br i1 %7, label %8, label %9
8: ; preds = %0
store double 0.000000e+00, ptr %2, align 8
br label %9
9: ; preds = %8, %0
%10 = load double, ptr %2, align 8
ret double %10
}
declare i32 @getstring(ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa6doc0bz.c'
source_filename = "/tmp/tmpa6doc0bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ibetac(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%8 = load double, ptr %4, align 8
%9 = fsub double 1.000000e+00, %8
%10 = fptosi double %9 to i32
%11 = load double, ptr %6, align 8
%12 = load double, ptr %5, align 8
%13 = call double @ibeta(i32 noundef %10, double noundef %11, double noundef %12)
store double %13, ptr %7, align 8
%14 = load double, ptr %7, align 8
ret double %14
}
declare double @ibeta(i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa6doc0bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @ibetac(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%8 = load double, ptr %4, align 8
%9 = fsub double 1.000000e+00, %8
%10 = fptosi double %9 to i32
%11 = load double, ptr %6, align 8
%12 = load double, ptr %5, align 8
%13 = call double @ibeta(i32 noundef %10, double noundef %11, double noundef %12)
store double %13, ptr %7, align 8
%14 = load double, ptr %7, align 8
ret double %14
}
declare double @ibeta(i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6oovkv9o.c'
source_filename = "/tmp/tmp6oovkv9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UTF8_putc(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp ult i64 %8, 128
br i1 %9, label %10, label %23
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 1
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 -1, ptr %4, align 4
br label %127
17: ; preds = %13
%18 = load i64, ptr %7, align 8
%19 = trunc i64 %18 to i8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
store i8 %19, ptr %21, align 1
br label %22
22: ; preds = %17, %10
store i32 1, ptr %4, align 4
br label %127
23: ; preds = %3
%24 = load i64, ptr %7, align 8
%25 = icmp ult i64 %24, 2048
br i1 %25, label %26, label %48
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %47
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %30, 2
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 -1, ptr %4, align 4
br label %127
33: ; preds = %29
%34 = load i64, ptr %7, align 8
%35 = lshr i64 %34, 6
%36 = and i64 %35, 31
%37 = or i64 %36, 192
%38 = trunc i64 %37 to i8
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 0
store i8 %38, ptr %40, align 1
%41 = load i64, ptr %7, align 8
%42 = and i64 %41, 63
%43 = or i64 %42, 128
%44 = trunc i64 %43 to i8
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
store i8 %44, ptr %46, align 1
br label %47
47: ; preds = %33, %26
store i32 2, ptr %4, align 4
br label %127
48: ; preds = %23
%49 = load i64, ptr %7, align 8
%50 = icmp ult i64 %49, 65536
br i1 %50, label %51, label %87
51: ; preds = %48
%52 = load i64, ptr %7, align 8
%53 = icmp uge i64 %52, 55296
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load i64, ptr %7, align 8
%56 = icmp ule i64 %55, 57343
br i1 %56, label %57, label %58
57: ; preds = %54
store i32 -2, ptr %4, align 4
br label %127
58: ; preds = %54, %51
%59 = load ptr, ptr %5, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %86
61: ; preds = %58
%62 = load i32, ptr %6, align 4
%63 = icmp slt i32 %62, 3
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 -1, ptr %4, align 4
br label %127
65: ; preds = %61
%66 = load i64, ptr %7, align 8
%67 = lshr i64 %66, 12
%68 = and i64 %67, 15
%69 = or i64 %68, 224
%70 = trunc i64 %69 to i8
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 0
store i8 %70, ptr %72, align 1
%73 = load i64, ptr %7, align 8
%74 = lshr i64 %73, 6
%75 = and i64 %74, 63
%76 = or i64 %75, 128
%77 = trunc i64 %76 to i8
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 1
store i8 %77, ptr %79, align 1
%80 = load i64, ptr %7, align 8
%81 = and i64 %80, 63
%82 = or i64 %81, 128
%83 = trunc i64 %82 to i8
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 2
store i8 %83, ptr %85, align 1
br label %86
86: ; preds = %65, %58
store i32 3, ptr %4, align 4
br label %127
87: ; preds = %48
%88 = load i64, ptr %7, align 8
%89 = icmp ule i64 %88, 1114111
br i1 %89, label %90, label %126
90: ; preds = %87
%91 = load ptr, ptr %5, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %125
93: ; preds = %90
%94 = load i32, ptr %6, align 4
%95 = icmp slt i32 %94, 4
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 -1, ptr %4, align 4
br label %127
97: ; preds = %93
%98 = load i64, ptr %7, align 8
%99 = lshr i64 %98, 18
%100 = and i64 %99, 7
%101 = or i64 %100, 240
%102 = trunc i64 %101 to i8
%103 = load ptr, ptr %5, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 0
store i8 %102, ptr %104, align 1
%105 = load i64, ptr %7, align 8
%106 = lshr i64 %105, 12
%107 = and i64 %106, 63
%108 = or i64 %107, 128
%109 = trunc i64 %108 to i8
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 1
store i8 %109, ptr %111, align 1
%112 = load i64, ptr %7, align 8
%113 = lshr i64 %112, 6
%114 = and i64 %113, 63
%115 = or i64 %114, 128
%116 = trunc i64 %115 to i8
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds i8, ptr %117, i64 2
store i8 %116, ptr %118, align 1
%119 = load i64, ptr %7, align 8
%120 = and i64 %119, 63
%121 = or i64 %120, 128
%122 = trunc i64 %121 to i8
%123 = load ptr, ptr %5, align 8
%124 = getelementptr inbounds i8, ptr %123, i64 3
store i8 %122, ptr %124, align 1
br label %125
125: ; preds = %97, %90
store i32 4, ptr %4, align 4
br label %127
126: ; preds = %87
store i32 -2, ptr %4, align 4
br label %127
127: ; preds = %126, %125, %96, %86, %64, %57, %47, %32, %22, %16
%128 = load i32, ptr %4, align 4
ret i32 %128
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6oovkv9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UTF8_putc(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%8 = load i64, ptr %7, align 8
%9 = icmp ult i64 %8, 128
br i1 %9, label %10, label %23
10: ; preds = %3
%11 = load ptr, ptr %5, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %14, 1
br i1 %15, label %16, label %17
16: ; preds = %13
store i32 -1, ptr %4, align 4
br label %127
17: ; preds = %13
%18 = load i64, ptr %7, align 8
%19 = trunc i64 %18 to i8
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 0
store i8 %19, ptr %21, align 1
br label %22
22: ; preds = %17, %10
store i32 1, ptr %4, align 4
br label %127
23: ; preds = %3
%24 = load i64, ptr %7, align 8
%25 = icmp ult i64 %24, 2048
br i1 %25, label %26, label %48
26: ; preds = %23
%27 = load ptr, ptr %5, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %47
29: ; preds = %26
%30 = load i32, ptr %6, align 4
%31 = icmp slt i32 %30, 2
br i1 %31, label %32, label %33
32: ; preds = %29
store i32 -1, ptr %4, align 4
br label %127
33: ; preds = %29
%34 = load i64, ptr %7, align 8
%35 = lshr i64 %34, 6
%36 = and i64 %35, 31
%37 = or i64 %36, 192
%38 = trunc i64 %37 to i8
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 0
store i8 %38, ptr %40, align 1
%41 = load i64, ptr %7, align 8
%42 = and i64 %41, 63
%43 = or i64 %42, 128
%44 = trunc i64 %43 to i8
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
store i8 %44, ptr %46, align 1
br label %47
47: ; preds = %33, %26
store i32 2, ptr %4, align 4
br label %127
48: ; preds = %23
%49 = load i64, ptr %7, align 8
%50 = icmp ult i64 %49, 65536
br i1 %50, label %51, label %87
51: ; preds = %48
%52 = load i64, ptr %7, align 8
%53 = icmp uge i64 %52, 55296
br i1 %53, label %54, label %58
54: ; preds = %51
%55 = load i64, ptr %7, align 8
%56 = icmp ule i64 %55, 57343
br i1 %56, label %57, label %58
57: ; preds = %54
store i32 -2, ptr %4, align 4
br label %127
58: ; preds = %54, %51
%59 = load ptr, ptr %5, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %61, label %86
61: ; preds = %58
%62 = load i32, ptr %6, align 4
%63 = icmp slt i32 %62, 3
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 -1, ptr %4, align 4
br label %127
65: ; preds = %61
%66 = load i64, ptr %7, align 8
%67 = lshr i64 %66, 12
%68 = and i64 %67, 15
%69 = or i64 %68, 224
%70 = trunc i64 %69 to i8
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 0
store i8 %70, ptr %72, align 1
%73 = load i64, ptr %7, align 8
%74 = lshr i64 %73, 6
%75 = and i64 %74, 63
%76 = or i64 %75, 128
%77 = trunc i64 %76 to i8
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds i8, ptr %78, i64 1
store i8 %77, ptr %79, align 1
%80 = load i64, ptr %7, align 8
%81 = and i64 %80, 63
%82 = or i64 %81, 128
%83 = trunc i64 %82 to i8
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 2
store i8 %83, ptr %85, align 1
br label %86
86: ; preds = %65, %58
store i32 3, ptr %4, align 4
br label %127
87: ; preds = %48
%88 = load i64, ptr %7, align 8
%89 = icmp ule i64 %88, 1114111
br i1 %89, label %90, label %126
90: ; preds = %87
%91 = load ptr, ptr %5, align 8
%92 = icmp ne ptr %91, null
br i1 %92, label %93, label %125
93: ; preds = %90
%94 = load i32, ptr %6, align 4
%95 = icmp slt i32 %94, 4
br i1 %95, label %96, label %97
96: ; preds = %93
store i32 -1, ptr %4, align 4
br label %127
97: ; preds = %93
%98 = load i64, ptr %7, align 8
%99 = lshr i64 %98, 18
%100 = and i64 %99, 7
%101 = or i64 %100, 240
%102 = trunc i64 %101 to i8
%103 = load ptr, ptr %5, align 8
%104 = getelementptr inbounds i8, ptr %103, i64 0
store i8 %102, ptr %104, align 1
%105 = load i64, ptr %7, align 8
%106 = lshr i64 %105, 12
%107 = and i64 %106, 63
%108 = or i64 %107, 128
%109 = trunc i64 %108 to i8
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds i8, ptr %110, i64 1
store i8 %109, ptr %111, align 1
%112 = load i64, ptr %7, align 8
%113 = lshr i64 %112, 6
%114 = and i64 %113, 63
%115 = or i64 %114, 128
%116 = trunc i64 %115 to i8
%117 = load ptr, ptr %5, align 8
%118 = getelementptr inbounds i8, ptr %117, i64 2
store i8 %116, ptr %118, align 1
%119 = load i64, ptr %7, align 8
%120 = and i64 %119, 63
%121 = or i64 %120, 128
%122 = trunc i64 %121 to i8
%123 = load ptr, ptr %5, align 8
%124 = getelementptr inbounds i8, ptr %123, i64 3
store i8 %122, ptr %124, align 1
br label %125
125: ; preds = %97, %90
store i32 4, ptr %4, align 4
br label %127
126: ; preds = %87
store i32 -2, ptr %4, align 4
br label %127
127: ; preds = %126, %125, %96, %86, %64, %57, %47, %32, %22, %16
%128 = load i32, ptr %4, align 4
ret i32 %128
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8v2z885o.c'
source_filename = "/tmp/tmp8v2z885o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@spell_number.buf = internal global [128 x i8] zeroinitializer, align 16
@spell_number.numbers = internal global [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16
@.str = private unnamed_addr constant [6 x i8] c" zero\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" one\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" two\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" three\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c" four\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c" five\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" six\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c" seven\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c" eight\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c" nine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @spell_number(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [32 x i64], align 16
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
store i64 0, ptr %4, align 8
br label %7
7: ; preds = %16, %1
%8 = load i64, ptr %2, align 8
%9 = urem i64 %8, 10
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds [32 x i64], ptr %3, i64 0, i64 %10
store i64 %9, ptr %11, align 8
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %2, align 8
%15 = udiv i64 %14, 10
store i64 %15, ptr %2, align 8
br label %16
16: ; preds = %7
%17 = load i64, ptr %2, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %7, label %19, !llvm.loop !6
19: ; preds = %16
store ptr @spell_number.buf, ptr %6, align 8
br label %20
20: ; preds = %44, %19
%21 = load i64, ptr %4, align 8
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %45
23: ; preds = %20
%24 = load i64, ptr %4, align 8
%25 = sub i64 %24, 1
store i64 %25, ptr %4, align 8
%26 = load i64, ptr %4, align 8
%27 = getelementptr inbounds [32 x i64], ptr %3, i64 0, i64 %26
%28 = load i64, ptr %27, align 8
%29 = getelementptr inbounds [10 x ptr], ptr @spell_number.numbers, i64 0, i64 %28
%30 = load ptr, ptr %29, align 8
store ptr %30, ptr %5, align 8
br label %31
31: ; preds = %36, %23
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 0
%34 = load i8, ptr %33, align 1
%35 = icmp ne i8 %34, 0
br i1 %35, label %36, label %44
36: ; preds = %31
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = getelementptr inbounds i8, ptr %37, i64 0
%40 = load i8, ptr %39, align 1
%41 = load ptr, ptr %6, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %41, i64 0
store i8 %40, ptr %43, align 1
br label %31, !llvm.loop !8
44: ; preds = %31
br label %20, !llvm.loop !9
45: ; preds = %20
%46 = load ptr, ptr %6, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 0
store i8 0, ptr %47, align 1
ret ptr @spell_number.buf
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8v2z885o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@spell_number.buf = internal global [128 x i8] zeroinitializer, align 16
@spell_number.numbers = internal global [10 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7, ptr @.str.8, ptr @.str.9], align 16
@.str = private unnamed_addr constant [6 x i8] c" zero\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c" one\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" two\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c" three\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c" four\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c" five\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" six\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c" seven\00", align 1
@.str.8 = private unnamed_addr constant [7 x i8] c" eight\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c" nine\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @spell_number(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca [32 x i64], align 16
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
store i64 0, ptr %4, align 8
br label %7
7: ; preds = %16, %1
%8 = load i64, ptr %2, align 8
%9 = urem i64 %8, 10
%10 = load i64, ptr %4, align 8
%11 = getelementptr inbounds [32 x i64], ptr %3, i64 0, i64 %10
store i64 %9, ptr %11, align 8
%12 = load i64, ptr %4, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %2, align 8
%15 = udiv i64 %14, 10
store i64 %15, ptr %2, align 8
br label %16
16: ; preds = %7
%17 = load i64, ptr %2, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %7, label %19, !llvm.loop !6
19: ; preds = %16
store ptr @spell_number.buf, ptr %6, align 8
%20 = load i64, ptr %4, align 8
%21 = icmp ne i64 %20, 0
br i1 %21, label %.lr.ph2, label %48
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %45
%23 = load i64, ptr %4, align 8
%24 = sub i64 %23, 1
store i64 %24, ptr %4, align 8
%25 = load i64, ptr %4, align 8
%26 = getelementptr inbounds [32 x i64], ptr %3, i64 0, i64 %25
%27 = load i64, ptr %26, align 8
%28 = getelementptr inbounds [10 x ptr], ptr @spell_number.numbers, i64 0, i64 %27
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %5, align 8
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %.lr.ph, label %45
.lr.ph: ; preds = %22
br label %33
33: ; preds = %.lr.ph, %33
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %34, i64 0
%37 = load i8, ptr %36, align 1
%38 = load ptr, ptr %6, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %6, align 8
%40 = getelementptr inbounds i8, ptr %38, i64 0
store i8 %37, ptr %40, align 1
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 0
%43 = load i8, ptr %42, align 1
%44 = icmp ne i8 %43, 0
br i1 %44, label %33, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %33
br label %45
45: ; preds = %._crit_edge, %22
%46 = load i64, ptr %4, align 8
%47 = icmp ne i64 %46, 0
br i1 %47, label %22, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %45
br label %48
48: ; preds = %._crit_edge3, %19
%49 = load ptr, ptr %6, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 0
store i8 0, ptr %50, align 1
ret ptr @spell_number.buf
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpnglip4lz.c'
source_filename = "/tmp/tmpnglip4lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\0Aend\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isEOM(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp eq i32 %5, 4
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strstr(ptr noundef %8, ptr noundef @.str)
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 1, ptr %2, align 4
br label %19
12: ; preds = %7
br label %13
13: ; preds = %12, %1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.1)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %2, align 4
br label %19
18: ; preds = %13
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %18, %17, %11
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(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/tmpnglip4lz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"end\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\0Aend\00\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isEOM(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = icmp eq i32 %5, 4
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
%9 = call ptr @strstr(ptr noundef %8, ptr noundef @.str)
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %7
store i32 1, ptr %2, align 4
br label %19
12: ; preds = %7
br label %13
13: ; preds = %12, %1
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strstr(ptr noundef %14, ptr noundef @.str.1)
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 1, ptr %2, align 4
br label %19
18: ; preds = %13
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %18, %17, %11
%20 = load i32, ptr %2, align 4
ret i32 %20
}
declare i32 @strlen(ptr noundef) #1
declare ptr @strstr(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/tmpvyoe5g5u.c'
source_filename = "/tmp/tmpvyoe5g5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_string_index_of(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i8, align 1
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %2
store i32 -1, ptr %3, align 4
br label %136
28: ; preds = %2
%29 = load i32, ptr %7, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %28
store i32 0, ptr %3, align 4
br label %136
32: ; preds = %28
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %12, align 4
%35 = load ptr, ptr %4, align 8
store ptr %35, ptr %13, align 8
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %14, align 1
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %11, align 4
%44 = sub nsw i32 %42, %43
%45 = add nsw i32 %41, %44
store i32 %45, ptr %15, align 4
store i32 0, ptr %16, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %10, align 4
%48 = add nsw i32 %46, %47
store i32 %48, ptr %16, align 4
br label %49
49: ; preds = %132, %32
%50 = load i32, ptr %16, align 4
%51 = load i32, ptr %15, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %53, label %135
53: ; preds = %49
%54 = load ptr, ptr %13, align 8
%55 = load i32, ptr %16, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = load i8, ptr %14, align 1
%61 = sext i8 %60 to i32
%62 = icmp ne i32 %59, %61
br i1 %62, label %63, label %83
63: ; preds = %53
br label %64
64: ; preds = %81, %63
%65 = load i32, ptr %16, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %16, align 4
%67 = load i32, ptr %15, align 4
%68 = icmp sle i32 %66, %67
br i1 %68, label %69, label %79
69: ; preds = %64
%70 = load ptr, ptr %13, align 8
%71 = load i32, ptr %16, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i8, ptr %70, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = load i8, ptr %14, align 1
%77 = sext i8 %76 to i32
%78 = icmp ne i32 %75, %77
br label %79
79: ; preds = %69, %64
%80 = phi i1 [ false, %64 ], [ %78, %69 ]
br i1 %80, label %81, label %82
81: ; preds = %79
br label %64, !llvm.loop !6
82: ; preds = %79
br label %83
83: ; preds = %82, %53
%84 = load i32, ptr %16, align 4
%85 = load i32, ptr %15, align 4
%86 = icmp sle i32 %84, %85
br i1 %86, label %87, label %131
87: ; preds = %83
%88 = load i32, ptr %16, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %17, align 4
%90 = load i32, ptr %17, align 4
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %90, %91
%93 = sub nsw i32 %92, 1
store i32 %93, ptr %18, align 4
store i32 0, ptr %19, align 4
%94 = load i32, ptr %8, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %19, align 4
br label %96
96: ; preds = %117, %87
%97 = load i32, ptr %17, align 4
%98 = load i32, ptr %18, align 4
%99 = icmp slt i32 %97, %98
br i1 %99, label %100, label %114
100: ; preds = %96
%101 = load ptr, ptr %13, align 8
%102 = load i32, ptr %17, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i8, ptr %101, i64 %103
%105 = load i8, ptr %104, align 1
%106 = sext i8 %105 to i32
%107 = load ptr, ptr %5, align 8
%108 = load i32, ptr %19, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i8, ptr %107, i64 %109
%111 = load i8, ptr %110, align 1
%112 = sext i8 %111 to i32
%113 = icmp eq i32 %106, %112
br label %114
114: ; preds = %100, %96
%115 = phi i1 [ false, %96 ], [ %113, %100 ]
br i1 %115, label %116, label %122
116: ; preds = %114
br label %117
117: ; preds = %116
%118 = load i32, ptr %17, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %17, align 4
%120 = load i32, ptr %19, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %19, align 4
br label %96, !llvm.loop !8
122: ; preds = %114
%123 = load i32, ptr %17, align 4
%124 = load i32, ptr %18, align 4
%125 = icmp eq i32 %123, %124
br i1 %125, label %126, label %130
126: ; preds = %122
%127 = load i32, ptr %16, align 4
%128 = load i32, ptr %9, align 4
%129 = sub nsw i32 %127, %128
store i32 %129, ptr %3, align 4
br label %136
130: ; preds = %122
br label %131
131: ; preds = %130, %83
br label %132
132: ; preds = %131
%133 = load i32, ptr %16, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %16, align 4
br label %49, !llvm.loop !9
135: ; preds = %49
store i32 -1, ptr %3, align 4
br label %136
136: ; preds = %135, %126, %31, %27
%137 = load i32, ptr %3, align 4
ret i32 %137
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvyoe5g5u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_string_index_of(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i8, align 1
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @strlen(ptr noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %28
27: ; preds = %2
store i32 -1, ptr %3, align 4
br label %137
28: ; preds = %2
%29 = load i32, ptr %7, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %28
store i32 0, ptr %3, align 4
br label %137
32: ; preds = %28
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%33 = load i32, ptr %7, align 4
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %12, align 4
%35 = load ptr, ptr %4, align 8
store ptr %35, ptr %13, align 8
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %8, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %14, align 1
%41 = load i32, ptr %9, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %11, align 4
%44 = sub nsw i32 %42, %43
%45 = add nsw i32 %41, %44
store i32 %45, ptr %15, align 4
store i32 0, ptr %16, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %10, align 4
%48 = add nsw i32 %46, %47
store i32 %48, ptr %16, align 4
%49 = load i32, ptr %16, align 4
%50 = load i32, ptr %15, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %.lr.ph, label %136
.lr.ph: ; preds = %32
br label %52
52: ; preds = %.lr.ph, %130
%53 = load ptr, ptr %13, align 8
%54 = load i32, ptr %16, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = load i8, ptr %14, align 1
%60 = sext i8 %59 to i32
%61 = icmp ne i32 %58, %60
br i1 %61, label %62, label %81
62: ; preds = %52
br label %63
63: ; preds = %78, %62
%64 = load i32, ptr %16, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %16, align 4
%66 = load i32, ptr %15, align 4
%67 = icmp sle i32 %65, %66
br i1 %67, label %68, label %78
68: ; preds = %63
%69 = load ptr, ptr %13, align 8
%70 = load i32, ptr %16, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %69, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = load i8, ptr %14, align 1
%76 = sext i8 %75 to i32
%77 = icmp ne i32 %74, %76
br label %78
78: ; preds = %68, %63
%79 = phi i1 [ false, %63 ], [ %77, %68 ]
br i1 %79, label %63, label %80, !llvm.loop !6
80: ; preds = %78
br label %81
81: ; preds = %80, %52
%82 = load i32, ptr %16, align 4
%83 = load i32, ptr %15, align 4
%84 = icmp sle i32 %82, %83
br i1 %84, label %85, label %129
85: ; preds = %81
%86 = load i32, ptr %16, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %17, align 4
%88 = load i32, ptr %17, align 4
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %88, %89
%91 = sub nsw i32 %90, 1
store i32 %91, ptr %18, align 4
store i32 0, ptr %19, align 4
%92 = load i32, ptr %8, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %19, align 4
br label %94
94: ; preds = %115, %85
%95 = load i32, ptr %17, align 4
%96 = load i32, ptr %18, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %112
98: ; preds = %94
%99 = load ptr, ptr %13, align 8
%100 = load i32, ptr %17, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %99, i64 %101
%103 = load i8, ptr %102, align 1
%104 = sext i8 %103 to i32
%105 = load ptr, ptr %5, align 8
%106 = load i32, ptr %19, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %104, %110
br label %112
112: ; preds = %98, %94
%113 = phi i1 [ false, %94 ], [ %111, %98 ]
br i1 %113, label %114, label %120
114: ; preds = %112
br label %115
115: ; preds = %114
%116 = load i32, ptr %17, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %17, align 4
%118 = load i32, ptr %19, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %19, align 4
br label %94, !llvm.loop !8
120: ; preds = %112
%121 = load i32, ptr %17, align 4
%122 = load i32, ptr %18, align 4
%123 = icmp eq i32 %121, %122
br i1 %123, label %124, label %128
124: ; preds = %120
%125 = load i32, ptr %16, align 4
%126 = load i32, ptr %9, align 4
%127 = sub nsw i32 %125, %126
store i32 %127, ptr %3, align 4
br label %137
128: ; preds = %120
br label %129
129: ; preds = %128, %81
br label %130
130: ; preds = %129
%131 = load i32, ptr %16, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %16, align 4
%133 = load i32, ptr %16, align 4
%134 = load i32, ptr %15, align 4
%135 = icmp sle i32 %133, %134
br i1 %135, label %52, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %130
br label %136
136: ; preds = %._crit_edge, %32
store i32 -1, ptr %3, align 4
br label %137
137: ; preds = %136, %124, %31, %27
%138 = load i32, ptr %3, align 4
ret i32 %138
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpfnxfd_dd.c'
source_filename = "/tmp/tmpfnxfd_dd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E2PRegRead(i8 noundef zeroext %0, i8 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
%8 = load i8, ptr %4, align 1
%9 = zext i8 %8 to i32
%10 = shl i32 %9, 8
%11 = load i8, ptr %5, align 1
%12 = zext i8 %11 to i32
%13 = or i32 %10, %12
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
%16 = call i32 @msm_ois_eeprom_read(i32 noundef %14, ptr noundef %15)
ret void
}
declare i32 @msm_ois_eeprom_read(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/tmpfnxfd_dd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @E2PRegRead(i8 noundef zeroext %0, i8 noundef zeroext %1, ptr noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
%8 = load i8, ptr %4, align 1
%9 = zext i8 %8 to i32
%10 = shl i32 %9, 8
%11 = load i8, ptr %5, align 1
%12 = zext i8 %11 to i32
%13 = or i32 %10, %12
store i32 %13, ptr %7, align 4
%14 = load i32, ptr %7, align 4
%15 = load ptr, ptr %6, align 8
%16 = call i32 @msm_ois_eeprom_read(i32 noundef %14, ptr noundef %15)
ret void
}
declare i32 @msm_ois_eeprom_read(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/tmpwu9tj888.c'
source_filename = "/tmp/tmpwu9tj888.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @Initialize_App()
%3 = call i32 @ExitApp(i32 noundef 0)
ret i32 1
}
declare i32 @Initialize_App(...) #1
declare i32 @ExitApp(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/tmpwu9tj888.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @Initialize_App()
%3 = call i32 @ExitApp(i32 noundef 0)
ret i32 1
}
declare i32 @Initialize_App(...) #1
declare i32 @ExitApp(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/tmp3k2tue1r.c'
source_filename = "/tmp/tmp3k2tue1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Test %s FAILED!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"queue_insert_one\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Test %s passed.\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"queue_remove_one\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"queue_insert_multiple_inorder\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"queue_insert_multiple_noorder\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"queue_insert_resize\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = call i32 (...) @queue_insert_one()
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef @.str.1)
br label %22
20: ; preds = %2
%21 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.1)
br label %22
22: ; preds = %20, %15
%23 = call i32 (...) @queue_remove_one()
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef @.str.3)
br label %33
31: ; preds = %22
%32 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3)
br label %33
33: ; preds = %31, %26
%34 = call i32 (...) @queue_insert_multiple_inorder()
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr @stderr, align 4
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str, ptr noundef @.str.4)
br label %44
42: ; preds = %33
%43 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.4)
br label %44
44: ; preds = %42, %37
%45 = call i32 (...) @queue_insert_multiple_noorder()
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %44
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str, ptr noundef @.str.5)
br label %55
53: ; preds = %44
%54 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.5)
br label %55
55: ; preds = %53, %48
%56 = call i32 (...) @queue_insert_resize()
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %11, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %64
59: ; preds = %55
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr @stderr, align 4
%63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str, ptr noundef @.str.6)
br label %66
64: ; preds = %55
%65 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.6)
br label %66
66: ; preds = %64, %59
%67 = load i32, ptr %6, align 4
ret i32 %67
}
declare i32 @queue_insert_one(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @queue_remove_one(...) #1
declare i32 @queue_insert_multiple_inorder(...) #1
declare i32 @queue_insert_multiple_noorder(...) #1
declare i32 @queue_insert_resize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3k2tue1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"Test %s FAILED!\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"queue_insert_one\00", align 1
@.str.2 = private unnamed_addr constant [17 x i8] c"Test %s passed.\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"queue_remove_one\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"queue_insert_multiple_inorder\00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"queue_insert_multiple_noorder\00", align 1
@.str.6 = private unnamed_addr constant [20 x i8] c"queue_insert_resize\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%12 = call i32 (...) @queue_insert_one()
store i32 %12, ptr %7, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %2
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef @.str.1)
br label %22
20: ; preds = %2
%21 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.1)
br label %22
22: ; preds = %20, %15
%23 = call i32 (...) @queue_remove_one()
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %31
26: ; preds = %22
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %6, align 4
%29 = load i32, ptr @stderr, align 4
%30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef @.str.3)
br label %33
31: ; preds = %22
%32 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3)
br label %33
33: ; preds = %31, %26
%34 = call i32 (...) @queue_insert_multiple_inorder()
store i32 %34, ptr %9, align 4
%35 = load i32, ptr %9, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %42
37: ; preds = %33
%38 = load i32, ptr %6, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %6, align 4
%40 = load i32, ptr @stderr, align 4
%41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str, ptr noundef @.str.4)
br label %44
42: ; preds = %33
%43 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.4)
br label %44
44: ; preds = %42, %37
%45 = call i32 (...) @queue_insert_multiple_noorder()
store i32 %45, ptr %10, align 4
%46 = load i32, ptr %10, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %44
%49 = load i32, ptr %6, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %6, align 4
%51 = load i32, ptr @stderr, align 4
%52 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str, ptr noundef @.str.5)
br label %55
53: ; preds = %44
%54 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.5)
br label %55
55: ; preds = %53, %48
%56 = call i32 (...) @queue_insert_resize()
store i32 %56, ptr %11, align 4
%57 = load i32, ptr %11, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %59, label %64
59: ; preds = %55
%60 = load i32, ptr %6, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %6, align 4
%62 = load i32, ptr @stderr, align 4
%63 = call i32 @fprintf(i32 noundef %62, ptr noundef @.str, ptr noundef @.str.6)
br label %66
64: ; preds = %55
%65 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.6)
br label %66
66: ; preds = %64, %59
%67 = load i32, ptr %6, align 4
ret i32 %67
}
declare i32 @queue_insert_one(...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @queue_remove_one(...) #1
declare i32 @queue_insert_multiple_inorder(...) #1
declare i32 @queue_insert_multiple_noorder(...) #1
declare i32 @queue_insert_resize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0x9ui282.c'
source_filename = "/tmp/tmp0x9ui282.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %0
%11 = load i64, ptr %2, align 8
%12 = icmp sgt i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = call i32 @sleep(i32 noundef 600)
%15 = call i32 @wait(ptr noundef %3)
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %10
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sleep(i32 noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmp0x9ui282.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i64 (...) @fork()
store i64 %4, ptr %2, align 8
%5 = load i64, ptr %2, align 8
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = call i32 @perror(ptr noundef @.str)
%9 = call i32 @exit(i32 noundef 1) #3
unreachable
10: ; preds = %0
%11 = load i64, ptr %2, align 8
%12 = icmp sgt i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %10
%14 = call i32 @sleep(i32 noundef 600)
%15 = call i32 @wait(ptr noundef %3)
%16 = call i32 @exit(i32 noundef 0) #3
unreachable
17: ; preds = %10
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @sleep(i32 noundef) #1
declare i32 @wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpntil34dp.c'
source_filename = "/tmp/tmpntil34dp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 6
%5 = call i32 @foo1(i32 noundef %4)
ret i32 %5
}
declare i32 @foo1(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/tmpntil34dp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = add nsw i32 %3, 6
%5 = call i32 @foo1(i32 noundef %4)
ret i32 %5
}
declare i32 @foo1(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/tmp2fjuhp0t.c'
source_filename = "/tmp/tmp2fjuhp0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"[%d] opening %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = call i64 (...) @getpid()
%7 = trunc i64 %6 to i32
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = call ptr @fopenf(ptr noundef %10, ptr noundef %11)
ret ptr %12
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @getpid(...) #1
declare ptr @fopenf(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/tmp2fjuhp0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [17 x i8] c"[%d] opening %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @fopen(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @stderr, align 4
%6 = call i64 (...) @getpid()
%7 = trunc i64 %6 to i32
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %7, ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %4, align 8
%12 = call ptr @fopenf(ptr noundef %10, ptr noundef %11)
ret ptr %12
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @getpid(...) #1
declare ptr @fopenf(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/tmp1k7lkyz7.c'
source_filename = "/tmp/tmp1k7lkyz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"parent\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"child\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"PID=%d; PPID=%d; c=%c; str=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
store i8 88, ptr %2, align 1
%4 = call i64 (...) @fork()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %0
store i8 80, ptr %2, align 1
%7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = call i32 @sleep(i32 noundef 5)
br label %13
10: ; preds = %0
%11 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1)
br label %13
13: ; preds = %10, %6
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (...) @getpid()
%16 = call i32 (...) @getppid()
%17 = load i8, ptr %2, align 1
%18 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i8 noundef signext %17, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef signext, ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #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/tmp1k7lkyz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"parent\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"child\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"PID=%d; PPID=%d; c=%c; str=%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
store i8 88, ptr %2, align 1
%4 = call i64 (...) @fork()
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %10
6: ; preds = %0
store i8 80, ptr %2, align 1
%7 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str)
%9 = call i32 @sleep(i32 noundef 5)
br label %13
10: ; preds = %0
%11 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%12 = call i32 @strcpy(ptr noundef %11, ptr noundef @.str.1)
br label %13
13: ; preds = %10, %6
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (...) @getpid()
%16 = call i32 (...) @getppid()
%17 = load i8, ptr %2, align 1
%18 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.2, i32 noundef %15, i32 noundef %16, i8 noundef signext %17, ptr noundef %18)
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i64 @fork(...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef signext, ptr noundef) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #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/tmppxz772kc.c'
source_filename = "/tmp/tmppxz772kc.c"
target datalayout = "e-m:e-p270: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/tmppxz772kc.c"
target datalayout = "e-m:e-p270: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/tmpre707alw.c'
source_filename = "/tmp/tmpre707alw.c"
target datalayout = "e-m:e-p270: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/tmpre707alw.c"
target datalayout = "e-m:e-p270: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/tmpystzls2_.c'
source_filename = "/tmp/tmpystzls2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Invalid input character: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @hchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sge i32 %5, 48
br i1 %6, label %7, label %16
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 57
br i1 %10, label %11, label %16
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = sub nsw i32 %13, 48
%15 = trunc i32 %14 to i8
store i8 %15, ptr %2, align 1
br label %49
16: ; preds = %7, %1
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = icmp sge i32 %18, 97
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load i8, ptr %3, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 102
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i8, ptr %3, align 1
%26 = sext i8 %25 to i32
%27 = sub nsw i32 %26, 97
%28 = add nsw i32 %27, 10
%29 = trunc i32 %28 to i8
store i8 %29, ptr %2, align 1
br label %49
30: ; preds = %20, %16
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp sge i32 %32, 65
br i1 %33, label %34, label %44
34: ; preds = %30
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp sle i32 %36, 70
br i1 %37, label %38, label %44
38: ; preds = %34
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = sub nsw i32 %40, 65
%42 = add nsw i32 %41, 10
%43 = trunc i32 %42 to i8
store i8 %43, ptr %2, align 1
br label %49
44: ; preds = %34, %30
%45 = load i32, ptr @stderr, align 4
%46 = load i8, ptr %3, align 1
%47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str, i8 noundef signext %46)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %38, %24, %11
%50 = load i8, ptr %2, align 1
ret i8 %50
}
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #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/tmpystzls2_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [29 x i8] c"Invalid input character: %c\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @hchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sge i32 %5, 48
br i1 %6, label %7, label %16
7: ; preds = %1
%8 = load i8, ptr %3, align 1
%9 = sext i8 %8 to i32
%10 = icmp sle i32 %9, 57
br i1 %10, label %11, label %16
11: ; preds = %7
%12 = load i8, ptr %3, align 1
%13 = sext i8 %12 to i32
%14 = sub nsw i32 %13, 48
%15 = trunc i32 %14 to i8
store i8 %15, ptr %2, align 1
br label %49
16: ; preds = %7, %1
%17 = load i8, ptr %3, align 1
%18 = sext i8 %17 to i32
%19 = icmp sge i32 %18, 97
br i1 %19, label %20, label %30
20: ; preds = %16
%21 = load i8, ptr %3, align 1
%22 = sext i8 %21 to i32
%23 = icmp sle i32 %22, 102
br i1 %23, label %24, label %30
24: ; preds = %20
%25 = load i8, ptr %3, align 1
%26 = sext i8 %25 to i32
%27 = sub nsw i32 %26, 97
%28 = add nsw i32 %27, 10
%29 = trunc i32 %28 to i8
store i8 %29, ptr %2, align 1
br label %49
30: ; preds = %20, %16
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp sge i32 %32, 65
br i1 %33, label %34, label %44
34: ; preds = %30
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp sle i32 %36, 70
br i1 %37, label %38, label %44
38: ; preds = %34
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = sub nsw i32 %40, 65
%42 = add nsw i32 %41, 10
%43 = trunc i32 %42 to i8
store i8 %43, ptr %2, align 1
br label %49
44: ; preds = %34, %30
%45 = load i32, ptr @stderr, align 4
%46 = load i8, ptr %3, align 1
%47 = call i32 @fprintf(i32 noundef %45, ptr noundef @.str, i8 noundef signext %46)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %38, %24, %11
%50 = load i8, ptr %2, align 1
ret i8 %50
}
declare i32 @fprintf(i32 noundef, ptr noundef, i8 noundef signext) #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/tmpzf11tt45.c'
source_filename = "/tmp/tmpzf11tt45.c"
target datalayout = "e-m:e-p270: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 { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dumpCurrentTime() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @gettimeofday(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/tmpzf11tt45.c"
target datalayout = "e-m:e-p270: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 { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dumpCurrentTime() #0 {
%1 = alloca %struct.timeval, align 4
%2 = call i32 @gettimeofday(ptr noundef %1, ptr noundef null)
ret void
}
declare i32 @gettimeofday(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/tmpweti5qx5.c'
source_filename = "/tmp/tmpweti5qx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI_2 = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cartesianToPolar(float noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load float, ptr %5, align 4
%11 = load float, ptr %5, align 4
%12 = load float, ptr %6, align 4
%13 = load float, ptr %6, align 4
%14 = fmul float %12, %13
%15 = call float @llvm.fmuladd.f32(float %10, float %11, float %14)
%16 = call double @sqrt(float noundef %15)
%17 = load ptr, ptr %7, align 8
store double %16, ptr %17, align 8
%18 = load float, ptr %5, align 4
%19 = fcmp oeq float %18, 0.000000e+00
br i1 %19, label %20, label %35
20: ; preds = %4
%21 = load float, ptr %6, align 4
%22 = fpext float %21 to double
%23 = fcmp oeq double %22, 0.000000e+00
br i1 %23, label %24, label %25
24: ; preds = %20
store float 0.000000e+00, ptr %9, align 4
br label %34
25: ; preds = %20
%26 = load float, ptr %6, align 4
%27 = fcmp ogt float %26, 0.000000e+00
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = load float, ptr @M_PI_2, align 4
store float %29, ptr %9, align 4
br label %33
30: ; preds = %25
%31 = load float, ptr @M_PI_2, align 4
%32 = fneg float %31
store float %32, ptr %9, align 4
br label %33
33: ; preds = %30, %28
br label %34
34: ; preds = %33, %24
br label %40
35: ; preds = %4
%36 = load float, ptr %6, align 4
%37 = load float, ptr %5, align 4
%38 = fdiv float %36, %37
%39 = call float @atan(float noundef %38)
store float %39, ptr %9, align 4
br label %40
40: ; preds = %35, %34
%41 = load float, ptr %9, align 4
%42 = fpext float %41 to double
%43 = load ptr, ptr %8, align 8
store double %42, ptr %43, align 8
ret void
}
declare double @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @atan(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" }
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/tmpweti5qx5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI_2 = dso_local global float 0.000000e+00, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cartesianToPolar(float noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%10 = load float, ptr %5, align 4
%11 = load float, ptr %5, align 4
%12 = load float, ptr %6, align 4
%13 = load float, ptr %6, align 4
%14 = fmul float %12, %13
%15 = call float @llvm.fmuladd.f32(float %10, float %11, float %14)
%16 = call double @sqrt(float noundef %15)
%17 = load ptr, ptr %7, align 8
store double %16, ptr %17, align 8
%18 = load float, ptr %5, align 4
%19 = fcmp oeq float %18, 0.000000e+00
br i1 %19, label %20, label %35
20: ; preds = %4
%21 = load float, ptr %6, align 4
%22 = fpext float %21 to double
%23 = fcmp oeq double %22, 0.000000e+00
br i1 %23, label %24, label %25
24: ; preds = %20
store float 0.000000e+00, ptr %9, align 4
br label %34
25: ; preds = %20
%26 = load float, ptr %6, align 4
%27 = fcmp ogt float %26, 0.000000e+00
br i1 %27, label %28, label %30
28: ; preds = %25
%29 = load float, ptr @M_PI_2, align 4
store float %29, ptr %9, align 4
br label %33
30: ; preds = %25
%31 = load float, ptr @M_PI_2, align 4
%32 = fneg float %31
store float %32, ptr %9, align 4
br label %33
33: ; preds = %30, %28
br label %34
34: ; preds = %33, %24
br label %40
35: ; preds = %4
%36 = load float, ptr %6, align 4
%37 = load float, ptr %5, align 4
%38 = fdiv float %36, %37
%39 = call float @atan(float noundef %38)
store float %39, ptr %9, align 4
br label %40
40: ; preds = %35, %34
%41 = load float, ptr %9, align 4
%42 = fpext float %41 to double
%43 = load ptr, ptr %8, align 8
store double %42, ptr %43, align 8
ret void
}
declare double @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare float @atan(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" }
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/tmpue6cao9j.c'
source_filename = "/tmp/tmpue6cao9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_permutation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 1, ptr %3, align 4
br label %6
6: ; preds = %37, %1
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 9
br i1 %8, label %9, label %40
9: ; preds = %6
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %10, 9
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13)
br label %15
15: ; preds = %12, %9
store i32 0, ptr %5, align 4
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %4, align 4
br label %17
17: ; preds = %32, %15
%18 = load i32, ptr %4, align 4
%19 = icmp sle i32 %18, 9
br i1 %19, label %20, label %35
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = mul nsw i32 %21, 10
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %22, %23
store i32 %24, ptr %5, align 4
%25 = load i32, ptr %5, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = load i32, ptr %5, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %29)
br label %31
31: ; preds = %28, %20
br label %32
32: ; preds = %31
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %17, !llvm.loop !6
35: ; preds = %17
store i32 0, ptr %5, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %6, !llvm.loop !8
40: ; preds = %6
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpue6cao9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_permutation(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
store i32 1, ptr %4, align 4
store i32 1, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %6, 9
br i1 %7, label %.lr.ph2, label %42
.lr.ph2: ; preds = %1
br label %8
8: ; preds = %.lr.ph2, %37
%9 = load i32, ptr %3, align 4
%10 = icmp sle i32 %9, 9
br i1 %10, label %11, label %14
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12)
br label %14
14: ; preds = %11, %8
store i32 0, ptr %5, align 4
%15 = load i32, ptr %3, align 4
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp sle i32 %16, 9
br i1 %17, label %.lr.ph, label %35
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %30
%19 = load i32, ptr %3, align 4
%20 = mul nsw i32 %19, 10
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %20, %21
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %2, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %29
26: ; preds = %18
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %27)
br label %29
29: ; preds = %26, %18
br label %30
30: ; preds = %29
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp sle i32 %33, 9
br i1 %34, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %14
store i32 0, ptr %5, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %37
37: ; preds = %35
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sle i32 %40, 9
br i1 %41, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %42
42: ; preds = %._crit_edge3, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_qj5xi5i.c'
source_filename = "/tmp/tmp_qj5xi5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a999(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call ptr @malloc(i32 noundef 100)
ret ptr %3
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_qj5xi5i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a999(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call ptr @malloc(i32 noundef 100)
ret ptr %3
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkqwj0rvr.c'
source_filename = "/tmp/tmpkqwj0rvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgph_u32_xxh32s_data(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [4 x i32], align 16
%10 = alloca [4 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %7, align 8
%18 = ptrtoint ptr %17 to i64
%19 = and i64 %18, 3
%20 = trunc i64 %19 to i32
store i32 %20, ptr %11, align 4
%21 = load i64, ptr %5, align 8
%22 = icmp ugt i64 %21, 0
br i1 %22, label %23, label %34
23: ; preds = %3
%24 = load i32, ptr %11, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %11, align 4
%29 = sext i32 %28 to i64
%30 = sub i64 0, %29
%31 = getelementptr inbounds i32, ptr %27, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @htole32(i32 noundef %32)
br label %35
34: ; preds = %23, %3
br label %35
35: ; preds = %34, %26
%36 = phi i32 [ %33, %26 ], [ 0, %34 ]
store i32 %36, ptr %12, align 4
%37 = load i64, ptr %5, align 8
%38 = load i64, ptr %6, align 8
%39 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%40 = call i32 @rgph_xxh32s_init(i64 noundef %37, i64 noundef %38, ptr noundef %39)
%41 = load i32, ptr %11, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %80
43: ; preds = %35
br label %44
44: ; preds = %76, %43
%45 = load ptr, ptr %8, align 8
%46 = load ptr, ptr %7, align 8
%47 = ptrtoint ptr %45 to i64
%48 = ptrtoint ptr %46 to i64
%49 = sub i64 %47, %48
%50 = sdiv exact i64 %49, 4
%51 = icmp sge i64 %50, 16
br i1 %51, label %52, label %79
52: ; preds = %44
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds i32, ptr %53, i64 0
%55 = load i32, ptr %54, align 4
%56 = call i32 @htole32(i32 noundef %55)
%57 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
store i32 %56, ptr %57, align 16
%58 = load ptr, ptr %7, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 4
%60 = load i32, ptr %59, align 4
%61 = call i32 @htole32(i32 noundef %60)
%62 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1
store i32 %61, ptr %62, align 4
%63 = load ptr, ptr %7, align 8
%64 = getelementptr inbounds i32, ptr %63, i64 8
%65 = load i32, ptr %64, align 4
%66 = call i32 @htole32(i32 noundef %65)
%67 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2
store i32 %66, ptr %67, align 8
%68 = load ptr, ptr %7, align 8
%69 = getelementptr inbounds i32, ptr %68, i64 12
%70 = load i32, ptr %69, align 4
%71 = call i32 @htole32(i32 noundef %70)
%72 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3
store i32 %71, ptr %72, align 4
%73 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%74 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%75 = call i32 @rgph_xxh32s_mix(ptr noundef %73, ptr noundef %74)
br label %76
76: ; preds = %52
%77 = load ptr, ptr %7, align 8
%78 = getelementptr inbounds i32, ptr %77, i64 16
store ptr %78, ptr %7, align 8
br label %44, !llvm.loop !6
79: ; preds = %44
br label %102
80: ; preds = %35
br label %81
81: ; preds = %98, %80
%82 = load ptr, ptr %8, align 8
%83 = load ptr, ptr %7, align 8
%84 = ptrtoint ptr %82 to i64
%85 = ptrtoint ptr %83 to i64
%86 = sub i64 %84, %85
%87 = sdiv exact i64 %86, 4
%88 = icmp sge i64 %87, 16
br i1 %88, label %89, label %101
89: ; preds = %81
%90 = load ptr, ptr %7, align 8
%91 = load i32, ptr %11, align 4
%92 = sub nsw i32 4, %91
%93 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%94 = call i32 @rgph_read32u(ptr noundef %90, i32 noundef %92, ptr noundef %12, ptr noundef %93, i32 noundef 4)
%95 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%96 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%97 = call i32 @rgph_xxh32s_mix(ptr noundef %95, ptr noundef %96)
br label %98
98: ; preds = %89
%99 = load ptr, ptr %7, align 8
%100 = getelementptr inbounds i32, ptr %99, i64 16
store ptr %100, ptr %7, align 8
br label %81, !llvm.loop !8
101: ; preds = %81
br label %102
102: ; preds = %101, %79
%103 = load i64, ptr %5, align 8
%104 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%105 = call i32 @rgph_xxh32s_fold(i64 noundef %103, ptr noundef %104)
%106 = load i32, ptr %11, align 4
%107 = icmp eq i32 %106, 0
br i1 %107, label %108, label %131
108: ; preds = %102
br label %109
109: ; preds = %127, %108
%110 = load ptr, ptr %8, align 8
%111 = load ptr, ptr %7, align 8
%112 = ptrtoint ptr %110 to i64
%113 = ptrtoint ptr %111 to i64
%114 = sub i64 %112, %113
%115 = sdiv exact i64 %114, 4
%116 = icmp sge i64 %115, 4
br i1 %116, label %117, label %130
117: ; preds = %109
%118 = load ptr, ptr %7, align 8
%119 = getelementptr inbounds i32, ptr %118, i64 0
%120 = load i32, ptr %119, align 4
%121 = call i32 @htole32(i32 noundef %120)
%122 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
store i32 %121, ptr %122, align 16
%123 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%124 = load i32, ptr %123, align 16
%125 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%126 = call i32 @rgph_xxh32s_fmix4(i32 noundef %124, ptr noundef %125)
br label %127
127: ; preds = %117
%128 = load ptr, ptr %7, align 8
%129 = getelementptr inbounds i32, ptr %128, i64 4
store ptr %129, ptr %7, align 8
br label %109, !llvm.loop !9
130: ; preds = %109
br label %154
131: ; preds = %102
br label %132
132: ; preds = %150, %131
%133 = load ptr, ptr %8, align 8
%134 = load ptr, ptr %7, align 8
%135 = ptrtoint ptr %133 to i64
%136 = ptrtoint ptr %134 to i64
%137 = sub i64 %135, %136
%138 = sdiv exact i64 %137, 4
%139 = icmp sge i64 %138, 4
br i1 %139, label %140, label %153
140: ; preds = %132
%141 = load ptr, ptr %7, align 8
%142 = load i32, ptr %11, align 4
%143 = sub nsw i32 4, %142
%144 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%145 = call i32 @rgph_read32u(ptr noundef %141, i32 noundef %143, ptr noundef %12, ptr noundef %144, i32 noundef 1)
%146 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%147 = load i32, ptr %146, align 16
%148 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%149 = call i32 @rgph_xxh32s_fmix4(i32 noundef %147, ptr noundef %148)
br label %150
150: ; preds = %140
%151 = load ptr, ptr %7, align 8
%152 = getelementptr inbounds i32, ptr %151, i64 4
store ptr %152, ptr %7, align 8
br label %132, !llvm.loop !10
153: ; preds = %132
br label %154
154: ; preds = %153, %130
br label %155
155: ; preds = %169, %154
%156 = load ptr, ptr %8, align 8
%157 = load ptr, ptr %7, align 8
%158 = ptrtoint ptr %156 to i64
%159 = ptrtoint ptr %157 to i64
%160 = sub i64 %158, %159
%161 = sdiv exact i64 %160, 4
%162 = icmp sge i64 %161, 1
br i1 %162, label %163, label %172
163: ; preds = %155
%164 = load ptr, ptr %7, align 8
%165 = getelementptr inbounds i32, ptr %164, i64 0
%166 = load i32, ptr %165, align 4
%167 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%168 = call i32 @rgph_xxh32s_fmix1(i32 noundef %166, ptr noundef %167)
br label %169
169: ; preds = %163
%170 = load ptr, ptr %7, align 8
%171 = getelementptr inbounds i32, ptr %170, i64 1
store ptr %171, ptr %7, align 8
br label %155, !llvm.loop !11
172: ; preds = %155
%173 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%174 = call i32 @rgph_xxh32s_finalise(ptr noundef %173)
%175 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%176 = load i32, ptr %175, align 16
ret i32 %176
}
declare i32 @htole32(i32 noundef) #1
declare i32 @rgph_xxh32s_init(i64 noundef, i64 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_mix(ptr noundef, ptr noundef) #1
declare i32 @rgph_read32u(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rgph_xxh32s_fold(i64 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_fmix4(i32 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_fmix1(i32 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_finalise(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqwj0rvr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rgph_u32_xxh32s_data(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [4 x i32], align 16
%10 = alloca [4 x i32], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i64, ptr %5, align 8
%16 = getelementptr inbounds i32, ptr %14, i64 %15
store ptr %16, ptr %8, align 8
%17 = load ptr, ptr %7, align 8
%18 = ptrtoint ptr %17 to i64
%19 = and i64 %18, 3
%20 = trunc i64 %19 to i32
store i32 %20, ptr %11, align 4
%21 = load i64, ptr %5, align 8
%22 = icmp ugt i64 %21, 0
br i1 %22, label %23, label %34
23: ; preds = %3
%24 = load i32, ptr %11, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load ptr, ptr %7, align 8
%28 = load i32, ptr %11, align 4
%29 = sext i32 %28 to i64
%30 = sub i64 0, %29
%31 = getelementptr inbounds i32, ptr %27, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @htole32(i32 noundef %32)
br label %35
34: ; preds = %23, %3
br label %35
35: ; preds = %34, %26
%36 = phi i32 [ %33, %26 ], [ 0, %34 ]
store i32 %36, ptr %12, align 4
%37 = load i64, ptr %5, align 8
%38 = load i64, ptr %6, align 8
%39 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%40 = call i32 @rgph_xxh32s_init(i64 noundef %37, i64 noundef %38, ptr noundef %39)
%41 = load i32, ptr %11, align 4
%42 = icmp eq i32 %41, 0
br i1 %42, label %43, label %86
43: ; preds = %35
%44 = load ptr, ptr %8, align 8
%45 = load ptr, ptr %7, align 8
%46 = ptrtoint ptr %44 to i64
%47 = ptrtoint ptr %45 to i64
%48 = sub i64 %46, %47
%49 = sdiv exact i64 %48, 4
%50 = icmp sge i64 %49, 16
br i1 %50, label %.lr.ph2, label %85
.lr.ph2: ; preds = %43
br label %51
51: ; preds = %.lr.ph2, %75
%52 = load ptr, ptr %7, align 8
%53 = getelementptr inbounds i32, ptr %52, i64 0
%54 = load i32, ptr %53, align 4
%55 = call i32 @htole32(i32 noundef %54)
%56 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
store i32 %55, ptr %56, align 16
%57 = load ptr, ptr %7, align 8
%58 = getelementptr inbounds i32, ptr %57, i64 4
%59 = load i32, ptr %58, align 4
%60 = call i32 @htole32(i32 noundef %59)
%61 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 1
store i32 %60, ptr %61, align 4
%62 = load ptr, ptr %7, align 8
%63 = getelementptr inbounds i32, ptr %62, i64 8
%64 = load i32, ptr %63, align 4
%65 = call i32 @htole32(i32 noundef %64)
%66 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 2
store i32 %65, ptr %66, align 8
%67 = load ptr, ptr %7, align 8
%68 = getelementptr inbounds i32, ptr %67, i64 12
%69 = load i32, ptr %68, align 4
%70 = call i32 @htole32(i32 noundef %69)
%71 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 3
store i32 %70, ptr %71, align 4
%72 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%73 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%74 = call i32 @rgph_xxh32s_mix(ptr noundef %72, ptr noundef %73)
br label %75
75: ; preds = %51
%76 = load ptr, ptr %7, align 8
%77 = getelementptr inbounds i32, ptr %76, i64 16
store ptr %77, ptr %7, align 8
%78 = load ptr, ptr %8, align 8
%79 = load ptr, ptr %7, align 8
%80 = ptrtoint ptr %78 to i64
%81 = ptrtoint ptr %79 to i64
%82 = sub i64 %80, %81
%83 = sdiv exact i64 %82, 4
%84 = icmp sge i64 %83, 16
br i1 %84, label %51, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %75
br label %85
85: ; preds = %._crit_edge3, %43
br label %114
86: ; preds = %35
%87 = load ptr, ptr %8, align 8
%88 = load ptr, ptr %7, align 8
%89 = ptrtoint ptr %87 to i64
%90 = ptrtoint ptr %88 to i64
%91 = sub i64 %89, %90
%92 = sdiv exact i64 %91, 4
%93 = icmp sge i64 %92, 16
br i1 %93, label %.lr.ph, label %113
.lr.ph: ; preds = %86
br label %94
94: ; preds = %.lr.ph, %103
%95 = load ptr, ptr %7, align 8
%96 = load i32, ptr %11, align 4
%97 = sub nsw i32 4, %96
%98 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%99 = call i32 @rgph_read32u(ptr noundef %95, i32 noundef %97, ptr noundef %12, ptr noundef %98, i32 noundef 4)
%100 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%101 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%102 = call i32 @rgph_xxh32s_mix(ptr noundef %100, ptr noundef %101)
br label %103
103: ; preds = %94
%104 = load ptr, ptr %7, align 8
%105 = getelementptr inbounds i32, ptr %104, i64 16
store ptr %105, ptr %7, align 8
%106 = load ptr, ptr %8, align 8
%107 = load ptr, ptr %7, align 8
%108 = ptrtoint ptr %106 to i64
%109 = ptrtoint ptr %107 to i64
%110 = sub i64 %108, %109
%111 = sdiv exact i64 %110, 4
%112 = icmp sge i64 %111, 16
br i1 %112, label %94, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %103
br label %113
113: ; preds = %._crit_edge, %86
br label %114
114: ; preds = %113, %85
%115 = load i64, ptr %5, align 8
%116 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%117 = call i32 @rgph_xxh32s_fold(i64 noundef %115, ptr noundef %116)
%118 = load i32, ptr %11, align 4
%119 = icmp eq i32 %118, 0
br i1 %119, label %120, label %149
120: ; preds = %114
%121 = load ptr, ptr %8, align 8
%122 = load ptr, ptr %7, align 8
%123 = ptrtoint ptr %121 to i64
%124 = ptrtoint ptr %122 to i64
%125 = sub i64 %123, %124
%126 = sdiv exact i64 %125, 4
%127 = icmp sge i64 %126, 4
br i1 %127, label %.lr.ph8, label %148
.lr.ph8: ; preds = %120
br label %128
128: ; preds = %.lr.ph8, %138
%129 = load ptr, ptr %7, align 8
%130 = getelementptr inbounds i32, ptr %129, i64 0
%131 = load i32, ptr %130, align 4
%132 = call i32 @htole32(i32 noundef %131)
%133 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
store i32 %132, ptr %133, align 16
%134 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%135 = load i32, ptr %134, align 16
%136 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%137 = call i32 @rgph_xxh32s_fmix4(i32 noundef %135, ptr noundef %136)
br label %138
138: ; preds = %128
%139 = load ptr, ptr %7, align 8
%140 = getelementptr inbounds i32, ptr %139, i64 4
store ptr %140, ptr %7, align 8
%141 = load ptr, ptr %8, align 8
%142 = load ptr, ptr %7, align 8
%143 = ptrtoint ptr %141 to i64
%144 = ptrtoint ptr %142 to i64
%145 = sub i64 %143, %144
%146 = sdiv exact i64 %145, 4
%147 = icmp sge i64 %146, 4
br i1 %147, label %128, label %._crit_edge9, !llvm.loop !9
._crit_edge9: ; preds = %138
br label %148
148: ; preds = %._crit_edge9, %120
br label %178
149: ; preds = %114
%150 = load ptr, ptr %8, align 8
%151 = load ptr, ptr %7, align 8
%152 = ptrtoint ptr %150 to i64
%153 = ptrtoint ptr %151 to i64
%154 = sub i64 %152, %153
%155 = sdiv exact i64 %154, 4
%156 = icmp sge i64 %155, 4
br i1 %156, label %.lr.ph5, label %177
.lr.ph5: ; preds = %149
br label %157
157: ; preds = %.lr.ph5, %167
%158 = load ptr, ptr %7, align 8
%159 = load i32, ptr %11, align 4
%160 = sub nsw i32 4, %159
%161 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%162 = call i32 @rgph_read32u(ptr noundef %158, i32 noundef %160, ptr noundef %12, ptr noundef %161, i32 noundef 1)
%163 = getelementptr inbounds [4 x i32], ptr %9, i64 0, i64 0
%164 = load i32, ptr %163, align 16
%165 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%166 = call i32 @rgph_xxh32s_fmix4(i32 noundef %164, ptr noundef %165)
br label %167
167: ; preds = %157
%168 = load ptr, ptr %7, align 8
%169 = getelementptr inbounds i32, ptr %168, i64 4
store ptr %169, ptr %7, align 8
%170 = load ptr, ptr %8, align 8
%171 = load ptr, ptr %7, align 8
%172 = ptrtoint ptr %170 to i64
%173 = ptrtoint ptr %171 to i64
%174 = sub i64 %172, %173
%175 = sdiv exact i64 %174, 4
%176 = icmp sge i64 %175, 4
br i1 %176, label %157, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %167
br label %177
177: ; preds = %._crit_edge6, %149
br label %178
178: ; preds = %177, %148
%179 = load ptr, ptr %8, align 8
%180 = load ptr, ptr %7, align 8
%181 = ptrtoint ptr %179 to i64
%182 = ptrtoint ptr %180 to i64
%183 = sub i64 %181, %182
%184 = sdiv exact i64 %183, 4
%185 = icmp sge i64 %184, 1
br i1 %185, label %.lr.ph11, label %202
.lr.ph11: ; preds = %178
br label %186
186: ; preds = %.lr.ph11, %192
%187 = load ptr, ptr %7, align 8
%188 = getelementptr inbounds i32, ptr %187, i64 0
%189 = load i32, ptr %188, align 4
%190 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%191 = call i32 @rgph_xxh32s_fmix1(i32 noundef %189, ptr noundef %190)
br label %192
192: ; preds = %186
%193 = load ptr, ptr %7, align 8
%194 = getelementptr inbounds i32, ptr %193, i64 1
store ptr %194, ptr %7, align 8
%195 = load ptr, ptr %8, align 8
%196 = load ptr, ptr %7, align 8
%197 = ptrtoint ptr %195 to i64
%198 = ptrtoint ptr %196 to i64
%199 = sub i64 %197, %198
%200 = sdiv exact i64 %199, 4
%201 = icmp sge i64 %200, 1
br i1 %201, label %186, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %192
br label %202
202: ; preds = %._crit_edge12, %178
%203 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%204 = call i32 @rgph_xxh32s_finalise(ptr noundef %203)
%205 = getelementptr inbounds [4 x i32], ptr %10, i64 0, i64 0
%206 = load i32, ptr %205, align 16
ret i32 %206
}
declare i32 @htole32(i32 noundef) #1
declare i32 @rgph_xxh32s_init(i64 noundef, i64 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_mix(ptr noundef, ptr noundef) #1
declare i32 @rgph_read32u(ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @rgph_xxh32s_fold(i64 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_fmix4(i32 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_fmix1(i32 noundef, ptr noundef) #1
declare i32 @rgph_xxh32s_finalise(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpz29dp0gc.c'
source_filename = "/tmp/tmpz29dp0gc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition_R(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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %5, align 4
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %38, %3
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %41
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %22
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @swap(ptr noundef %31, i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %37
37: ; preds = %30, %22
br label %38
38: ; preds = %37
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %18, !llvm.loop !6
41: ; preds = %18
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %8, align 4
%44 = load i32, ptr %6, align 4
%45 = call i32 @swap(ptr noundef %42, i32 noundef %43, i32 noundef %44)
%46 = load i32, ptr %8, align 4
ret i32 %46
}
declare i32 @swap(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/tmpz29dp0gc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @partition_R(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
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = 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
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %5, align 4
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %43
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %37
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %8, align 4
%32 = load i32, ptr %9, align 4
%33 = call i32 @swap(ptr noundef %30, i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %36
36: ; preds = %29, %21
br label %37
37: ; preds = %36
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %3
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %8, align 4
%46 = load i32, ptr %6, align 4
%47 = call i32 @swap(ptr noundef %44, i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %8, align 4
ret i32 %48
}
declare i32 @swap(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/tmpkcn9q9sq.c'
source_filename = "/tmp/tmpkcn9q9sq.c"
target datalayout = "e-m:e-p270: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/tmpkcn9q9sq.c"
target datalayout = "e-m:e-p270: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/tmp3c6say8b.c'
source_filename = "/tmp/tmp3c6say8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"kgdb assertion failed: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"BUG\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @apply_deferrals(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %2
%6 = call i32 @printk(ptr noundef @.str, ptr noundef @.str.1)
%7 = call i32 @show_stack(ptr noundef null)
%8 = call i32 (...) @breakpoint()
br label %9
9: ; preds = %5
ret void
}
declare i32 @printk(ptr noundef, ptr noundef) #1
declare i32 @show_stack(ptr noundef) #1
declare i32 @breakpoint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3c6say8b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"kgdb assertion failed: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"BUG\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @apply_deferrals(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
br label %5
5: ; preds = %2
%6 = call i32 @printk(ptr noundef @.str, ptr noundef @.str.1)
%7 = call i32 @show_stack(ptr noundef null)
%8 = call i32 (...) @breakpoint()
br label %9
9: ; preds = %5
ret void
}
declare i32 @printk(ptr noundef, ptr noundef) #1
declare i32 @show_stack(ptr noundef) #1
declare i32 @breakpoint(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7s34bkai.c'
source_filename = "/tmp/tmp7s34bkai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @func1_in_obj()
ret i32 %6
}
declare i32 @func1_in_obj(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7s34bkai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @func1_in_obj()
ret i32 %6
}
declare i32 @func1_in_obj(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnsvdrgcv.c'
source_filename = "/tmp/tmpnsvdrgcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MediaRenderer_ConnectionManager/event\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"MediaRenderer_ConnectionManager\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"MediaRenderer_RenderingControl/event\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"MediaRenderer_RenderingControl\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"MediaRenderer_AVTransport/event\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"MediaRenderer_AVTransport\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"HTTP/1.1 412 Invalid Service Name\0D\0AContent-Length: 0\0D\0A\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpSudirribeEvents(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 1, %18
%20 = add i64 1, %19
%21 = trunc i64 %20 to i32
%22 = call i64 @malloc(i32 noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %16, align 8
%24 = load ptr, ptr %10, align 8
%25 = load i32, ptr %11, align 4
%26 = call i32 @ILibGetLong(ptr noundef %24, i32 noundef %25, ptr noundef %15)
%27 = load ptr, ptr %16, align 8
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %9, align 4
%30 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef %29)
%31 = load ptr, ptr %16, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
%35 = load ptr, ptr %16, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load i64, ptr %15, align 8
%38 = icmp sgt i64 %37, 7200
br i1 %38, label %39, label %40
39: ; preds = %7
store i64 7200, ptr %15, align 8
br label %40
40: ; preds = %39, %7
%41 = load i32, ptr %9, align 4
%42 = icmp eq i32 %41, 38
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
%46 = call i64 @memcmp(ptr noundef %45, ptr noundef @.str, i32 noundef 37)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %54
48: ; preds = %43
%49 = load i64, ptr %15, align 8
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %13, align 4
%52 = load ptr, ptr %14, align 8
%53 = call i32 @UpnpTryToSudirribe(ptr noundef @.str.1, i64 noundef %49, ptr noundef %50, i32 noundef %51, ptr noundef %52)
br label %87
54: ; preds = %43, %40
%55 = load i32, ptr %9, align 4
%56 = icmp eq i32 %55, 37
br i1 %56, label %57, label %68
57: ; preds = %54
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 1
%60 = call i64 @memcmp(ptr noundef %59, ptr noundef @.str.2, i32 noundef 36)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %68
62: ; preds = %57
%63 = load i64, ptr %15, align 8
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %13, align 4
%66 = load ptr, ptr %14, align 8
%67 = call i32 @UpnpTryToSudirribe(ptr noundef @.str.3, i64 noundef %63, ptr noundef %64, i32 noundef %65, ptr noundef %66)
br label %86
68: ; preds = %57, %54
%69 = load i32, ptr %9, align 4
%70 = icmp eq i32 %69, 32
br i1 %70, label %71, label %82
71: ; preds = %68
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 1
%74 = call i64 @memcmp(ptr noundef %73, ptr noundef @.str.4, i32 noundef 31)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %82
76: ; preds = %71
%77 = load i64, ptr %15, align 8
%78 = load ptr, ptr %12, align 8
%79 = load i32, ptr %13, align 4
%80 = load ptr, ptr %14, align 8
%81 = call i32 @UpnpTryToSudirribe(ptr noundef @.str.5, i64 noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %80)
br label %85
82: ; preds = %71, %68
%83 = load ptr, ptr %14, align 8
%84 = call i32 @ILibWebServer_Send_Raw(ptr noundef %83, ptr noundef @.str.6, i32 noundef 56, i32 noundef 1, i32 noundef 1)
br label %85
85: ; preds = %82, %76
br label %86
86: ; preds = %85, %62
br label %87
87: ; preds = %86, %48
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @ILibGetLong(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @UpnpTryToSudirribe(ptr noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @ILibWebServer_Send_Raw(ptr noundef, 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/tmpnsvdrgcv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"MediaRenderer_ConnectionManager/event\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"MediaRenderer_ConnectionManager\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"MediaRenderer_RenderingControl/event\00", align 1
@.str.3 = private unnamed_addr constant [31 x i8] c"MediaRenderer_RenderingControl\00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"MediaRenderer_AVTransport/event\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c"MediaRenderer_AVTransport\00", align 1
@.str.6 = private unnamed_addr constant [57 x i8] c"HTTP/1.1 412 Invalid Service Name\0D\0AContent-Length: 0\0D\0A\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UpnpSudirribeEvents(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
%16 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 1, %18
%20 = add i64 1, %19
%21 = trunc i64 %20 to i32
%22 = call i64 @malloc(i32 noundef %21)
%23 = inttoptr i64 %22 to ptr
store ptr %23, ptr %16, align 8
%24 = load ptr, ptr %10, align 8
%25 = load i32, ptr %11, align 4
%26 = call i32 @ILibGetLong(ptr noundef %24, i32 noundef %25, ptr noundef %15)
%27 = load ptr, ptr %16, align 8
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %9, align 4
%30 = call i32 @memcpy(ptr noundef %27, ptr noundef %28, i32 noundef %29)
%31 = load ptr, ptr %16, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 0, ptr %34, align 1
%35 = load ptr, ptr %16, align 8
%36 = call i32 @free(ptr noundef %35)
%37 = load i64, ptr %15, align 8
%38 = icmp sgt i64 %37, 7200
br i1 %38, label %39, label %40
39: ; preds = %7
store i64 7200, ptr %15, align 8
br label %40
40: ; preds = %39, %7
%41 = load i32, ptr %9, align 4
%42 = icmp eq i32 %41, 38
br i1 %42, label %43, label %54
43: ; preds = %40
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
%46 = call i64 @memcmp(ptr noundef %45, ptr noundef @.str, i32 noundef 37)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %54
48: ; preds = %43
%49 = load i64, ptr %15, align 8
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %13, align 4
%52 = load ptr, ptr %14, align 8
%53 = call i32 @UpnpTryToSudirribe(ptr noundef @.str.1, i64 noundef %49, ptr noundef %50, i32 noundef %51, ptr noundef %52)
br label %87
54: ; preds = %43, %40
%55 = load i32, ptr %9, align 4
%56 = icmp eq i32 %55, 37
br i1 %56, label %57, label %68
57: ; preds = %54
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 1
%60 = call i64 @memcmp(ptr noundef %59, ptr noundef @.str.2, i32 noundef 36)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %68
62: ; preds = %57
%63 = load i64, ptr %15, align 8
%64 = load ptr, ptr %12, align 8
%65 = load i32, ptr %13, align 4
%66 = load ptr, ptr %14, align 8
%67 = call i32 @UpnpTryToSudirribe(ptr noundef @.str.3, i64 noundef %63, ptr noundef %64, i32 noundef %65, ptr noundef %66)
br label %86
68: ; preds = %57, %54
%69 = load i32, ptr %9, align 4
%70 = icmp eq i32 %69, 32
br i1 %70, label %71, label %82
71: ; preds = %68
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds i8, ptr %72, i64 1
%74 = call i64 @memcmp(ptr noundef %73, ptr noundef @.str.4, i32 noundef 31)
%75 = icmp eq i64 %74, 0
br i1 %75, label %76, label %82
76: ; preds = %71
%77 = load i64, ptr %15, align 8
%78 = load ptr, ptr %12, align 8
%79 = load i32, ptr %13, align 4
%80 = load ptr, ptr %14, align 8
%81 = call i32 @UpnpTryToSudirribe(ptr noundef @.str.5, i64 noundef %77, ptr noundef %78, i32 noundef %79, ptr noundef %80)
br label %85
82: ; preds = %71, %68
%83 = load ptr, ptr %14, align 8
%84 = call i32 @ILibWebServer_Send_Raw(ptr noundef %83, ptr noundef @.str.6, i32 noundef 56, i32 noundef 1, i32 noundef 1)
br label %85
85: ; preds = %82, %76
br label %86
86: ; preds = %85, %62
br label %87
87: ; preds = %86, %48
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @ILibGetLong(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i64 @memcmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @UpnpTryToSudirribe(ptr noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @ILibWebServer_Send_Raw(ptr noundef, 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/tmpn_qhp0dw.c'
source_filename = "/tmp/tmpn_qhp0dw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/ls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
store ptr @.str, ptr %7, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @spawn(i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @spawn(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/tmpn_qhp0dw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/bin/ls\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
store ptr @.str, ptr %7, align 8
%8 = load i32, ptr %4, align 4
%9 = load ptr, ptr %5, align 8
%10 = call i32 @spawn(i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @spawn(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/tmpbgmkyv5j.c'
source_filename = "/tmp/tmpbgmkyv5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ipv4_derank(ptr noundef %0, i32 noundef %1) #0 {
%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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = lshr i32 %9, 24
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = shl i32 %11, 8
%13 = lshr i32 %12, 24
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = shl i32 %14, 16
%16 = lshr i32 %15, 24
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %4, align 4
%18 = shl i32 %17, 24
%19 = lshr i32 %18, 24
store i32 %19, ptr %8, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = call i32 @snprintf(ptr noundef %20, i32 noundef 16, ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
ret i32 %25
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr 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/tmpbgmkyv5j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ipv4_derank(ptr noundef %0, i32 noundef %1) #0 {
%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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = lshr i32 %9, 24
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = shl i32 %11, 8
%13 = lshr i32 %12, 24
store i32 %13, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = shl i32 %14, 16
%16 = lshr i32 %15, 24
store i32 %16, ptr %7, align 4
%17 = load i32, ptr %4, align 4
%18 = shl i32 %17, 24
%19 = lshr i32 %18, 24
store i32 %19, ptr %8, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = call i32 @snprintf(ptr noundef %20, i32 noundef 16, ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23, i32 noundef %24)
ret i32 %25
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr 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/tmpc5el26uo.c'
source_filename = "/tmp/tmpc5el26uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64 }
@.str = private unnamed_addr constant [27 x i8] c"must hold lock upon unlock\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_mutex_unlock_check(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %1
%4 = call i32 (...) @__ESBMC_atomic_begin()
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = call i32 @__ESBMC_assert(i64 noundef %8, ptr noundef @.str)
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 0
store i64 0, ptr %12, align 8
%13 = call i32 (...) @__ESBMC_atomic_end()
ret i32 0
}
declare i32 @__ESBMC_atomic_begin(...) #1
declare i32 @__ESBMC_assert(i64 noundef, ptr noundef) #1
declare i32 @__ESBMC_atomic_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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc5el26uo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i64 }
@.str = private unnamed_addr constant [27 x i8] c"must hold lock upon unlock\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pthread_mutex_unlock_check(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %1
%4 = call i32 (...) @__ESBMC_atomic_begin()
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds %struct.TYPE_5__, ptr %5, i32 0, i32 0
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = load i64, ptr %7, align 8
%9 = call i32 @__ESBMC_assert(i64 noundef %8, ptr noundef @.str)
%10 = load ptr, ptr %2, align 8
%11 = getelementptr inbounds %struct.TYPE_5__, ptr %10, i32 0, i32 0
%12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 0
store i64 0, ptr %12, align 8
%13 = call i32 (...) @__ESBMC_atomic_end()
ret i32 0
}
declare i32 @__ESBMC_atomic_begin(...) #1
declare i32 @__ESBMC_assert(i64 noundef, ptr noundef) #1
declare i32 @__ESBMC_atomic_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"}
|
; ModuleID = '/tmp/tmp4clwkkkn.c'
source_filename = "/tmp/tmp4clwkkkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[2J\1B[1;1H\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clearScreen() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4clwkkkn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[2J\1B[1;1H\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clearScreen() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0cy2whwu.c'
source_filename = "/tmp/tmp0cy2whwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel122nf_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77skernel122nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77skernel122nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmp0cy2whwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel122nf_f77_single(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77skernel122nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77skernel122nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr 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/tmpg52rgvy0.c'
source_filename = "/tmp/tmpg52rgvy0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grfio_decode_zip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @uncompress(ptr noundef %9, ptr noundef %10, ptr noundef %11, i64 noundef %12)
ret i32 %13
}
declare i32 @uncompress(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg52rgvy0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grfio_decode_zip(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = call i32 @uncompress(ptr noundef %9, ptr noundef %10, ptr noundef %11, i64 noundef %12)
ret i32 %13
}
declare i32 @uncompress(ptr noundef, ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqh4ovk9r.c'
source_filename = "/tmp/tmpqh4ovk9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_hwreset_en(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @do_hwreset(i32 noundef 1, i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @do_hwreset(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/tmpqh4ovk9r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do_hwreset_en(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @do_hwreset(i32 noundef 1, i32 noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @do_hwreset(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/tmpc0jcnn6i.c'
source_filename = "/tmp/tmpc0jcnn6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @threading(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @t(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = call i64 @t(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @q()
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %2
ret void
}
declare i64 @t(i32 noundef) #1
declare i32 @q(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc0jcnn6i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @threading(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i64 @t(i32 noundef %5)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %2
%9 = load i32, ptr %3, align 4
%10 = call i64 @t(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 (...) @q()
br label %14
14: ; preds = %12, %8
br label %15
15: ; preds = %14, %2
ret void
}
declare i64 @t(i32 noundef) #1
declare i32 @q(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjyan4h20.c'
source_filename = "/tmp/tmpjyan4h20.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @perlin_interpolated_noise_3d(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%27 = load float, ptr %4, align 4
%28 = fptosi float %27 to i32
store i32 %28, ptr %7, align 4
%29 = load float, ptr %4, align 4
%30 = load i32, ptr %7, align 4
%31 = sitofp i32 %30 to float
%32 = fsub float %29, %31
store float %32, ptr %8, align 4
%33 = load float, ptr %5, align 4
%34 = fptosi float %33 to i32
store i32 %34, ptr %9, align 4
%35 = load float, ptr %5, align 4
%36 = load i32, ptr %9, align 4
%37 = sitofp i32 %36 to float
%38 = fsub float %35, %37
store float %38, ptr %10, align 4
%39 = load float, ptr %6, align 4
%40 = fptosi float %39 to i32
store i32 %40, ptr %11, align 4
%41 = load float, ptr %6, align 4
%42 = load i32, ptr %11, align 4
%43 = sitofp i32 %42 to float
%44 = fsub float %41, %43
store float %44, ptr %12, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %11, align 4
%48 = call float @perlin_smooth_noise_3d(i32 noundef %45, i32 noundef %46, i32 noundef %47)
store float %48, ptr %13, align 4
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %11, align 4
%53 = call float @perlin_smooth_noise_3d(i32 noundef %50, i32 noundef %51, i32 noundef %52)
store float %53, ptr %14, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
%57 = load i32, ptr %11, align 4
%58 = call float @perlin_smooth_noise_3d(i32 noundef %54, i32 noundef %56, i32 noundef %57)
store float %58, ptr %15, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
%63 = call float @perlin_smooth_noise_3d(i32 noundef %59, i32 noundef %60, i32 noundef %62)
store float %63, ptr %16, align 4
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
%68 = load i32, ptr %11, align 4
%69 = call float @perlin_smooth_noise_3d(i32 noundef %65, i32 noundef %67, i32 noundef %68)
store float %69, ptr %17, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %9, align 4
%72 = add nsw i32 %71, 1
%73 = load i32, ptr %11, align 4
%74 = add nsw i32 %73, 1
%75 = call float @perlin_smooth_noise_3d(i32 noundef %70, i32 noundef %72, i32 noundef %74)
store float %75, ptr %18, align 4
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
%78 = load i32, ptr %9, align 4
%79 = load i32, ptr %11, align 4
%80 = add nsw i32 %79, 1
%81 = call float @perlin_smooth_noise_3d(i32 noundef %77, i32 noundef %78, i32 noundef %80)
store float %81, ptr %19, align 4
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
%84 = load i32, ptr %9, align 4
%85 = add nsw i32 %84, 1
%86 = load i32, ptr %11, align 4
%87 = add nsw i32 %86, 1
%88 = call float @perlin_smooth_noise_3d(i32 noundef %83, i32 noundef %85, i32 noundef %87)
store float %88, ptr %20, align 4
%89 = load float, ptr %13, align 4
%90 = load float, ptr %14, align 4
%91 = load float, ptr %8, align 4
%92 = call float @perlin_interpolate(float noundef %89, float noundef %90, float noundef %91)
store float %92, ptr %21, align 4
%93 = load float, ptr %15, align 4
%94 = load float, ptr %16, align 4
%95 = load float, ptr %8, align 4
%96 = call float @perlin_interpolate(float noundef %93, float noundef %94, float noundef %95)
store float %96, ptr %22, align 4
%97 = load float, ptr %17, align 4
%98 = load float, ptr %18, align 4
%99 = load float, ptr %8, align 4
%100 = call float @perlin_interpolate(float noundef %97, float noundef %98, float noundef %99)
store float %100, ptr %23, align 4
%101 = load float, ptr %19, align 4
%102 = load float, ptr %20, align 4
%103 = load float, ptr %8, align 4
%104 = call float @perlin_interpolate(float noundef %101, float noundef %102, float noundef %103)
store float %104, ptr %24, align 4
%105 = load float, ptr %21, align 4
%106 = load float, ptr %22, align 4
%107 = load float, ptr %10, align 4
%108 = call float @perlin_interpolate(float noundef %105, float noundef %106, float noundef %107)
store float %108, ptr %25, align 4
%109 = load float, ptr %23, align 4
%110 = load float, ptr %24, align 4
%111 = load float, ptr %10, align 4
%112 = call float @perlin_interpolate(float noundef %109, float noundef %110, float noundef %111)
store float %112, ptr %26, align 4
%113 = load float, ptr %25, align 4
%114 = load float, ptr %26, align 4
%115 = load float, ptr %12, align 4
%116 = call float @perlin_interpolate(float noundef %113, float noundef %114, float noundef %115)
ret float %116
}
declare float @perlin_smooth_noise_3d(i32 noundef, i32 noundef, i32 noundef) #1
declare float @perlin_interpolate(float 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/tmpjyan4h20.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @perlin_interpolated_noise_3d(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca i32, align 4
%8 = alloca float, align 4
%9 = alloca i32, align 4
%10 = alloca float, align 4
%11 = alloca i32, align 4
%12 = alloca float, align 4
%13 = alloca float, align 4
%14 = alloca float, align 4
%15 = alloca float, align 4
%16 = alloca float, align 4
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca float, align 4
%20 = alloca float, align 4
%21 = alloca float, align 4
%22 = alloca float, align 4
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%27 = load float, ptr %4, align 4
%28 = fptosi float %27 to i32
store i32 %28, ptr %7, align 4
%29 = load float, ptr %4, align 4
%30 = load i32, ptr %7, align 4
%31 = sitofp i32 %30 to float
%32 = fsub float %29, %31
store float %32, ptr %8, align 4
%33 = load float, ptr %5, align 4
%34 = fptosi float %33 to i32
store i32 %34, ptr %9, align 4
%35 = load float, ptr %5, align 4
%36 = load i32, ptr %9, align 4
%37 = sitofp i32 %36 to float
%38 = fsub float %35, %37
store float %38, ptr %10, align 4
%39 = load float, ptr %6, align 4
%40 = fptosi float %39 to i32
store i32 %40, ptr %11, align 4
%41 = load float, ptr %6, align 4
%42 = load i32, ptr %11, align 4
%43 = sitofp i32 %42 to float
%44 = fsub float %41, %43
store float %44, ptr %12, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %11, align 4
%48 = call float @perlin_smooth_noise_3d(i32 noundef %45, i32 noundef %46, i32 noundef %47)
store float %48, ptr %13, align 4
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
%51 = load i32, ptr %9, align 4
%52 = load i32, ptr %11, align 4
%53 = call float @perlin_smooth_noise_3d(i32 noundef %50, i32 noundef %51, i32 noundef %52)
store float %53, ptr %14, align 4
%54 = load i32, ptr %7, align 4
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
%57 = load i32, ptr %11, align 4
%58 = call float @perlin_smooth_noise_3d(i32 noundef %54, i32 noundef %56, i32 noundef %57)
store float %58, ptr %15, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %9, align 4
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
%63 = call float @perlin_smooth_noise_3d(i32 noundef %59, i32 noundef %60, i32 noundef %62)
store float %63, ptr %16, align 4
%64 = load i32, ptr %7, align 4
%65 = add nsw i32 %64, 1
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
%68 = load i32, ptr %11, align 4
%69 = call float @perlin_smooth_noise_3d(i32 noundef %65, i32 noundef %67, i32 noundef %68)
store float %69, ptr %17, align 4
%70 = load i32, ptr %7, align 4
%71 = load i32, ptr %9, align 4
%72 = add nsw i32 %71, 1
%73 = load i32, ptr %11, align 4
%74 = add nsw i32 %73, 1
%75 = call float @perlin_smooth_noise_3d(i32 noundef %70, i32 noundef %72, i32 noundef %74)
store float %75, ptr %18, align 4
%76 = load i32, ptr %7, align 4
%77 = add nsw i32 %76, 1
%78 = load i32, ptr %9, align 4
%79 = load i32, ptr %11, align 4
%80 = add nsw i32 %79, 1
%81 = call float @perlin_smooth_noise_3d(i32 noundef %77, i32 noundef %78, i32 noundef %80)
store float %81, ptr %19, align 4
%82 = load i32, ptr %7, align 4
%83 = add nsw i32 %82, 1
%84 = load i32, ptr %9, align 4
%85 = add nsw i32 %84, 1
%86 = load i32, ptr %11, align 4
%87 = add nsw i32 %86, 1
%88 = call float @perlin_smooth_noise_3d(i32 noundef %83, i32 noundef %85, i32 noundef %87)
store float %88, ptr %20, align 4
%89 = load float, ptr %13, align 4
%90 = load float, ptr %14, align 4
%91 = load float, ptr %8, align 4
%92 = call float @perlin_interpolate(float noundef %89, float noundef %90, float noundef %91)
store float %92, ptr %21, align 4
%93 = load float, ptr %15, align 4
%94 = load float, ptr %16, align 4
%95 = load float, ptr %8, align 4
%96 = call float @perlin_interpolate(float noundef %93, float noundef %94, float noundef %95)
store float %96, ptr %22, align 4
%97 = load float, ptr %17, align 4
%98 = load float, ptr %18, align 4
%99 = load float, ptr %8, align 4
%100 = call float @perlin_interpolate(float noundef %97, float noundef %98, float noundef %99)
store float %100, ptr %23, align 4
%101 = load float, ptr %19, align 4
%102 = load float, ptr %20, align 4
%103 = load float, ptr %8, align 4
%104 = call float @perlin_interpolate(float noundef %101, float noundef %102, float noundef %103)
store float %104, ptr %24, align 4
%105 = load float, ptr %21, align 4
%106 = load float, ptr %22, align 4
%107 = load float, ptr %10, align 4
%108 = call float @perlin_interpolate(float noundef %105, float noundef %106, float noundef %107)
store float %108, ptr %25, align 4
%109 = load float, ptr %23, align 4
%110 = load float, ptr %24, align 4
%111 = load float, ptr %10, align 4
%112 = call float @perlin_interpolate(float noundef %109, float noundef %110, float noundef %111)
store float %112, ptr %26, align 4
%113 = load float, ptr %25, align 4
%114 = load float, ptr %26, align 4
%115 = load float, ptr %12, align 4
%116 = call float @perlin_interpolate(float noundef %113, float noundef %114, float noundef %115)
ret float %116
}
declare float @perlin_smooth_noise_3d(i32 noundef, i32 noundef, i32 noundef) #1
declare float @perlin_interpolate(float 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/tmpp9_jf0oq.c'
source_filename = "/tmp/tmpp9_jf0oq.c"
target datalayout = "e-m:e-p270: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/tmpp9_jf0oq.c"
target datalayout = "e-m:e-p270: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/tmpvqnl9hhe.c'
source_filename = "/tmp/tmpvqnl9hhe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrconcat3(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %3
store ptr @.str, ptr %4, align 8
br label %11
11: ; preds = %10, %3
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %11
store ptr @.str, ptr %5, align 8
br label %15
15: ; preds = %14, %11
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %15
store ptr @.str, ptr %6, align 8
br label %19
19: ; preds = %18, %15
%20 = load ptr, ptr %4, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = add nsw i64 %21, %23
%25 = load ptr, ptr %6, align 8
%26 = call i64 @strlen(ptr noundef %25)
%27 = add nsw i64 %24, %26
%28 = add nsw i64 %27, 1
%29 = call ptr @xmalloc(i64 noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %4, align 8
%32 = call i32 @strcpy(ptr noundef %30, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %5, align 8
%35 = call i32 @strcat(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
%39 = load ptr, ptr %4, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load ptr, ptr %7, align 8
ret ptr %41
}
declare ptr @xmalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpvqnl9hhe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @xstrconcat3(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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %3
store ptr @.str, ptr %4, align 8
br label %11
11: ; preds = %10, %3
%12 = load ptr, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %15, label %14
14: ; preds = %11
store ptr @.str, ptr %5, align 8
br label %15
15: ; preds = %14, %11
%16 = load ptr, ptr %6, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %19, label %18
18: ; preds = %15
store ptr @.str, ptr %6, align 8
br label %19
19: ; preds = %18, %15
%20 = load ptr, ptr %4, align 8
%21 = call i64 @strlen(ptr noundef %20)
%22 = load ptr, ptr %5, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = add nsw i64 %21, %23
%25 = load ptr, ptr %6, align 8
%26 = call i64 @strlen(ptr noundef %25)
%27 = add nsw i64 %24, %26
%28 = add nsw i64 %27, 1
%29 = call ptr @xmalloc(i64 noundef %28)
store ptr %29, ptr %7, align 8
%30 = load ptr, ptr %7, align 8
%31 = load ptr, ptr %4, align 8
%32 = call i32 @strcpy(ptr noundef %30, ptr noundef %31)
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %5, align 8
%35 = call i32 @strcat(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = load ptr, ptr %6, align 8
%38 = call i32 @strcat(ptr noundef %36, ptr noundef %37)
%39 = load ptr, ptr %4, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load ptr, ptr %7, align 8
ret ptr %41
}
declare ptr @xmalloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(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/tmpellgpxso.c'
source_filename = "/tmp/tmpellgpxso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".com/\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c".net/\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c".org/\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c".gov/\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c".mil/\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c".edu/\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c".biz/\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c".info/\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c".us/\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c".uk/\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c".eu/\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c".au/\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c".nz/\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c".fm/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isOkTttl(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 = getelementptr inbounds i8, ptr %4, i64 7
%6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne ptr %6, null
br i1 %7, label %73, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 7
%11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp ne ptr %11, null
br i1 %12, label %73, label %13
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 7
%16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp ne ptr %16, null
br i1 %17, label %73, label %18
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 7
%21 = call ptr @strstr(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp ne ptr %21, null
br i1 %22, label %73, label %23
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 7
%26 = call ptr @strstr(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp ne ptr %26, null
br i1 %27, label %73, label %28
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 7
%31 = call ptr @strstr(ptr noundef %30, ptr noundef @.str.5)
%32 = icmp ne ptr %31, null
br i1 %32, label %73, label %33
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 7
%36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.6)
%37 = icmp ne ptr %36, null
br i1 %37, label %73, label %38
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 7
%41 = call ptr @strstr(ptr noundef %40, ptr noundef @.str.7)
%42 = icmp ne ptr %41, null
br i1 %42, label %73, label %43
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 7
%46 = call ptr @strstr(ptr noundef %45, ptr noundef @.str.8)
%47 = icmp ne ptr %46, null
br i1 %47, label %73, label %48
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 7
%51 = call ptr @strstr(ptr noundef %50, ptr noundef @.str.9)
%52 = icmp ne ptr %51, null
br i1 %52, label %73, label %53
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 7
%56 = call ptr @strstr(ptr noundef %55, ptr noundef @.str.10)
%57 = icmp ne ptr %56, null
br i1 %57, label %73, label %58
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 7
%61 = call ptr @strstr(ptr noundef %60, ptr noundef @.str.11)
%62 = icmp ne ptr %61, null
br i1 %62, label %73, label %63
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 7
%66 = call ptr @strstr(ptr noundef %65, ptr noundef @.str.12)
%67 = icmp ne ptr %66, null
br i1 %67, label %73, label %68
68: ; preds = %63
%69 = load ptr, ptr %3, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 7
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.13)
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %74
73: ; preds = %68, %63, %58, %53, %48, %43, %38, %33, %28, %23, %18, %13, %8, %1
store i32 1, ptr %2, align 4
br label %75
74: ; preds = %68
store i32 0, ptr %2, align 4
br label %75
75: ; preds = %74, %73
%76 = load i32, ptr %2, align 4
ret i32 %76
}
declare ptr @strstr(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/tmpellgpxso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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".com/\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c".net/\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c".org/\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c".gov/\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c".mil/\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c".edu/\00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c".biz/\00", align 1
@.str.7 = private unnamed_addr constant [7 x i8] c".info/\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c".us/\00", align 1
@.str.9 = private unnamed_addr constant [5 x i8] c".uk/\00", align 1
@.str.10 = private unnamed_addr constant [5 x i8] c".eu/\00", align 1
@.str.11 = private unnamed_addr constant [5 x i8] c".au/\00", align 1
@.str.12 = private unnamed_addr constant [5 x i8] c".nz/\00", align 1
@.str.13 = private unnamed_addr constant [5 x i8] c".fm/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isOkTttl(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 = getelementptr inbounds i8, ptr %4, i64 7
%6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str)
%7 = icmp ne ptr %6, null
br i1 %7, label %73, label %8
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds i8, ptr %9, i64 7
%11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp ne ptr %11, null
br i1 %12, label %73, label %13
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 7
%16 = call ptr @strstr(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp ne ptr %16, null
br i1 %17, label %73, label %18
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 7
%21 = call ptr @strstr(ptr noundef %20, ptr noundef @.str.3)
%22 = icmp ne ptr %21, null
br i1 %22, label %73, label %23
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 7
%26 = call ptr @strstr(ptr noundef %25, ptr noundef @.str.4)
%27 = icmp ne ptr %26, null
br i1 %27, label %73, label %28
28: ; preds = %23
%29 = load ptr, ptr %3, align 8
%30 = getelementptr inbounds i8, ptr %29, i64 7
%31 = call ptr @strstr(ptr noundef %30, ptr noundef @.str.5)
%32 = icmp ne ptr %31, null
br i1 %32, label %73, label %33
33: ; preds = %28
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 7
%36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.6)
%37 = icmp ne ptr %36, null
br i1 %37, label %73, label %38
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 7
%41 = call ptr @strstr(ptr noundef %40, ptr noundef @.str.7)
%42 = icmp ne ptr %41, null
br i1 %42, label %73, label %43
43: ; preds = %38
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 7
%46 = call ptr @strstr(ptr noundef %45, ptr noundef @.str.8)
%47 = icmp ne ptr %46, null
br i1 %47, label %73, label %48
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 7
%51 = call ptr @strstr(ptr noundef %50, ptr noundef @.str.9)
%52 = icmp ne ptr %51, null
br i1 %52, label %73, label %53
53: ; preds = %48
%54 = load ptr, ptr %3, align 8
%55 = getelementptr inbounds i8, ptr %54, i64 7
%56 = call ptr @strstr(ptr noundef %55, ptr noundef @.str.10)
%57 = icmp ne ptr %56, null
br i1 %57, label %73, label %58
58: ; preds = %53
%59 = load ptr, ptr %3, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 7
%61 = call ptr @strstr(ptr noundef %60, ptr noundef @.str.11)
%62 = icmp ne ptr %61, null
br i1 %62, label %73, label %63
63: ; preds = %58
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 7
%66 = call ptr @strstr(ptr noundef %65, ptr noundef @.str.12)
%67 = icmp ne ptr %66, null
br i1 %67, label %73, label %68
68: ; preds = %63
%69 = load ptr, ptr %3, align 8
%70 = getelementptr inbounds i8, ptr %69, i64 7
%71 = call ptr @strstr(ptr noundef %70, ptr noundef @.str.13)
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %74
73: ; preds = %68, %63, %58, %53, %48, %43, %38, %33, %28, %23, %18, %13, %8, %1
store i32 1, ptr %2, align 4
br label %75
74: ; preds = %68
store i32 0, ptr %2, align 4
br label %75
75: ; preds = %74, %73
%76 = load i32, ptr %2, align 4
ret i32 %76
}
declare ptr @strstr(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/tmp46fez2u2.c'
source_filename = "/tmp/tmp46fez2u2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %16, %0
%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 %7, label %17
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 10
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = call i32 @putchar(i32 noundef 0)
%12 = call i32 @putchar(i32 noundef 0)
br label %16
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = call i32 @putchar(i32 noundef %14)
br label %16
16: ; preds = %13, %10
br label %3, !llvm.loop !6
17: ; preds = %3
ret i32 0
}
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/tmp46fez2u2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %15
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 10
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = call i32 @putchar(i32 noundef 0)
%11 = call i32 @putchar(i32 noundef 0)
br label %15
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = call i32 @putchar(i32 noundef %13)
br label %15
15: ; preds = %12, %9
%16 = call i32 (...) @getchar()
store i32 %16, ptr %2, align 4
%17 = load i32, ptr @EOF, align 4
%18 = icmp ne i32 %16, %17
br i1 %18, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %19
19: ; preds = %._crit_edge, %0
ret i32 0
}
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/tmpu62ga3_g.c'
source_filename = "/tmp/tmpu62ga3_g.c"
target datalayout = "e-m:e-p270: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/tmpu62ga3_g.c"
target datalayout = "e-m:e-p270: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/tmp926bz8kl.c'
source_filename = "/tmp/tmp926bz8kl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_instruction(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = call i32 @delay(i32 noundef 100)
store volatile i64 16777216, ptr inttoptr (i64 3758260252 to ptr), align 8
%4 = call i32 @delay(i32 noundef 100)
store volatile i64 33554432, ptr inttoptr (i64 3758260244 to ptr), align 8
%5 = call i32 @delay(i32 noundef 100)
store volatile i64 16711680, ptr inttoptr (i64 3758260252 to ptr), align 8
%6 = call i32 @delay(i32 noundef 100)
%7 = load i64, ptr %2, align 8
%8 = shl i64 %7, 16
store volatile i64 %8, ptr inttoptr (i64 3758260244 to ptr), align 8
%9 = call i32 @delay(i32 noundef 100)
store volatile i64 33554432, ptr inttoptr (i64 3758260252 to ptr), align 8
ret void
}
declare i32 @delay(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/tmp926bz8kl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_instruction(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = call i32 @delay(i32 noundef 100)
store volatile i64 16777216, ptr inttoptr (i64 3758260252 to ptr), align 8
%4 = call i32 @delay(i32 noundef 100)
store volatile i64 33554432, ptr inttoptr (i64 3758260244 to ptr), align 8
%5 = call i32 @delay(i32 noundef 100)
store volatile i64 16711680, ptr inttoptr (i64 3758260252 to ptr), align 8
%6 = call i32 @delay(i32 noundef 100)
%7 = load i64, ptr %2, align 8
%8 = shl i64 %7, 16
store volatile i64 %8, ptr inttoptr (i64 3758260244 to ptr), align 8
%9 = call i32 @delay(i32 noundef 100)
store volatile i64 33554432, ptr inttoptr (i64 3758260252 to ptr), align 8
ret void
}
declare i32 @delay(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/tmppc81mz_1.c'
source_filename = "/tmp/tmppc81mz_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i32 noundef %2) #0 {
%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
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %15, %3
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %4, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %9
br label %9, !llvm.loop !6
16: ; preds = %9
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 -1
store ptr %18, ptr %4, align 8
br label %19
19: ; preds = %30, %16
%20 = load i32, ptr %6, align 4
%21 = add i32 %20, -1
store i32 %21, ptr %6, align 4
%22 = icmp ne i32 %20, 0
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br label %28
28: ; preds = %23, %19
%29 = phi i1 [ false, %19 ], [ %27, %23 ]
br i1 %29, label %30, label %36
30: ; preds = %28
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %5, align 8
%33 = load i8, ptr %31, align 1
%34 = load ptr, ptr %4, align 8
%35 = getelementptr inbounds i8, ptr %34, i32 1
store ptr %35, ptr %4, align 8
store i8 %33, ptr %34, align 1
br label %19, !llvm.loop !8
36: ; preds = %28
%37 = load ptr, ptr %4, align 8
store i8 0, ptr %37, align 1
%38 = load ptr, ptr %7, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmppc81mz_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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, i32 noundef %2) #0 {
%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
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
store ptr %8, ptr %7, align 8
br label %9
9: ; preds = %9, %3
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %4, align 8
%12 = load i8, ptr %10, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %9, label %15, !llvm.loop !6
15: ; preds = %9
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 -1
store ptr %17, ptr %4, align 8
br label %18
18: ; preds = %29, %15
%19 = load i32, ptr %6, align 4
%20 = add i32 %19, -1
store i32 %20, ptr %6, align 4
%21 = icmp ne i32 %19, 0
br i1 %21, label %22, label %27
22: ; preds = %18
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %22, %18
%28 = phi i1 [ false, %18 ], [ %26, %22 ]
br i1 %28, label %29, label %35
29: ; preds = %27
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %5, align 8
%32 = load i8, ptr %30, align 1
%33 = load ptr, ptr %4, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %4, align 8
store i8 %32, ptr %33, align 1
br label %18, !llvm.loop !8
35: ; preds = %27
%36 = load ptr, ptr %4, align 8
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %7, align 8
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpojcav6pr.c'
source_filename = "/tmp/tmpojcav6pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"XProcessInternalConnection called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XProcessInternalConnection() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpojcav6pr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"XProcessInternalConnection called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @XProcessInternalConnection() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdgunf5yv.c'
source_filename = "/tmp/tmpdgunf5yv.c"
target datalayout = "e-m:e-p270: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/tmpdgunf5yv.c"
target datalayout = "e-m:e-p270: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/tmpp2zu_m_v.c'
source_filename = "/tmp/tmpp2zu_m_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"git rev-parse HEAD\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @git_current_commit(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
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %34
11: ; preds = %1
%12 = load i32, ptr @PATH_MAX, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %4, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %5, align 8
%16 = load i32, ptr @PATH_MAX, align 4
%17 = call ptr @getcwd(ptr noundef %15, i32 noundef %16)
%18 = icmp ne ptr %17, %15
br i1 %18, label %19, label %20
19: ; preds = %11
store ptr null, ptr %2, align 8
store i32 1, ptr %6, align 4
br label %32
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = call i64 @chdir(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store ptr null, ptr %2, align 8
store i32 1, ptr %6, align 4
br label %32
25: ; preds = %20
%26 = call ptr @git__pipe_read(ptr noundef @.str)
store ptr %26, ptr %7, align 8
%27 = call i64 @chdir(ptr noundef %15)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %2, align 8
store i32 1, ptr %6, align 4
br label %32
32: ; preds = %25, %24, %19
%33 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %33)
br label %34
34: ; preds = %32, %10
%35 = load ptr, ptr %2, align 8
ret ptr %35
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @getcwd(ptr noundef, i32 noundef) #2
declare i64 @chdir(ptr noundef) #2
declare ptr @git__pipe_read(ptr noundef) #2
declare i32 @assert(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp2zu_m_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"git rev-parse HEAD\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @git_current_commit(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
%7 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
store ptr null, ptr %2, align 8
br label %34
11: ; preds = %1
%12 = load i32, ptr @PATH_MAX, align 4
%13 = zext i32 %12 to i64
%14 = call ptr @llvm.stacksave()
store ptr %14, ptr %4, align 8
%15 = alloca i8, i64 %13, align 16
store i64 %13, ptr %5, align 8
%16 = load i32, ptr @PATH_MAX, align 4
%17 = call ptr @getcwd(ptr noundef %15, i32 noundef %16)
%18 = icmp ne ptr %17, %15
br i1 %18, label %19, label %20
19: ; preds = %11
store ptr null, ptr %2, align 8
store i32 1, ptr %6, align 4
br label %32
20: ; preds = %11
%21 = load ptr, ptr %3, align 8
%22 = call i64 @chdir(ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %20
store ptr null, ptr %2, align 8
store i32 1, ptr %6, align 4
br label %32
25: ; preds = %20
%26 = call ptr @git__pipe_read(ptr noundef @.str)
store ptr %26, ptr %7, align 8
%27 = call i64 @chdir(ptr noundef %15)
%28 = icmp eq i64 %27, 0
%29 = zext i1 %28 to i32
%30 = call i32 @assert(i32 noundef %29)
%31 = load ptr, ptr %7, align 8
store ptr %31, ptr %2, align 8
store i32 1, ptr %6, align 4
br label %32
32: ; preds = %25, %24, %19
%33 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %33)
br label %34
34: ; preds = %32, %10
%35 = load ptr, ptr %2, align 8
ret ptr %35
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @getcwd(ptr noundef, i32 noundef) #2
declare i64 @chdir(ptr noundef) #2
declare ptr @git__pipe_read(ptr noundef) #2
declare i32 @assert(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7rbab925.c'
source_filename = "/tmp/tmp7rbab925.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remove(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %20
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISDIR(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call i32 @rmdir(ptr noundef %15)
store i32 %16, ptr %2, align 4
br label %20
17: ; preds = %9
%18 = load ptr, ptr %3, align 8
%19 = call i32 @unlink(ptr noundef %18)
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %17, %14, %8
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i32 @rmdir(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7rbab925.c"
target datalayout = "e-m:e-p270: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.stat = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @remove(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %1
store i32 -1, ptr %2, align 4
br label %20
9: ; preds = %1
%10 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i64 @S_ISDIR(i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = call i32 @rmdir(ptr noundef %15)
store i32 %16, ptr %2, align 4
br label %20
17: ; preds = %9
%18 = load ptr, ptr %3, align 8
%19 = call i32 @unlink(ptr noundef %18)
store i32 %19, ptr %2, align 4
br label %20
20: ; preds = %17, %14, %8
%21 = load i32, ptr %2, align 4
ret i32 %21
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i32 @rmdir(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppuh9m0k5.c'
source_filename = "/tmp/tmppuh9m0k5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef 0)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppuh9m0k5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = call i32 @printf(ptr noundef @.str.1, i32 noundef 0)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjyva0hxn.c'
source_filename = "/tmp/tmpjyva0hxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PIPE_BUF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"fifo1\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"read_fifo read: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr @PIPE_BUF, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %4, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %5, align 8
store i32 438, ptr %6, align 4
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #4
unreachable
17: ; preds = %0
br label %18
18: ; preds = %23, %17
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr @PIPE_BUF, align 4
%21 = call i32 @read(i32 noundef %19, ptr noundef %10, i32 noundef %20)
store i32 %21, ptr %3, align 4
%22 = icmp sgt i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
br label %18, !llvm.loop !6
25: ; preds = %18
%26 = load i32, ptr %2, align 4
%27 = call i32 @close(i32 noundef %26)
%28 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjyva0hxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PIPE_BUF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"fifo1\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"open\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"read_fifo read: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = load i32, ptr @PIPE_BUF, align 4
%8 = zext i32 %7 to i64
%9 = call ptr @llvm.stacksave()
store ptr %9, ptr %4, align 8
%10 = alloca i8, i64 %8, align 16
store i64 %8, ptr %5, align 8
store i32 438, ptr %6, align 4
%11 = load i32, ptr @O_RDONLY, align 4
%12 = call i32 @open(ptr noundef @.str, i32 noundef %11)
store i32 %12, ptr %2, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %0
%15 = call i32 @perror(ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #4
unreachable
17: ; preds = %0
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr @PIPE_BUF, align 4
%20 = call i32 @read(i32 noundef %18, ptr noundef %10, i32 noundef %19)
store i32 %20, ptr %3, align 4
%21 = icmp sgt i32 %20, 0
br i1 %21, label %.lr.ph, label %28
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %22
%23 = call i32 @printf(ptr noundef @.str.2, ptr noundef %10)
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr @PIPE_BUF, align 4
%26 = call i32 @read(i32 noundef %24, ptr noundef %10, i32 noundef %25)
store i32 %26, ptr %3, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %17
%29 = load i32, ptr %2, align 4
%30 = call i32 @close(i32 noundef %29)
%31 = call i32 @exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @open(ptr noundef, i32 noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ptr noundef) #2
declare i32 @close(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkbjo2uic.c'
source_filename = "/tmp/tmpkbjo2uic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @minipack_sizeof_bool() #0 {
ret i64 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkbjo2uic.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @minipack_sizeof_bool() #0 {
ret i64 1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplhu9_w0d.c'
source_filename = "/tmp/tmplhu9_w0d.c"
target datalayout = "e-m:e-p270: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/tmplhu9_w0d.c"
target datalayout = "e-m:e-p270: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/tmpwq8op6zw.c'
source_filename = "/tmp/tmpwq8op6zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_proto_aes_set_encrypt_key(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @OAES_SET_ENCRYPT_KEY(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @OAES_SET_ENCRYPT_KEY(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwq8op6zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hash_proto_aes_set_encrypt_key(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load ptr, ptr %6, align 8
%10 = call i32 @OAES_SET_ENCRYPT_KEY(ptr noundef %7, i32 noundef %8, ptr noundef %9)
ret i32 %10
}
declare i32 @OAES_SET_ENCRYPT_KEY(ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeu6bwgso.c'
source_filename = "/tmp/tmpeu6bwgso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FIONBIO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @oct_set_blocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @FIONBIO, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
ret i32 %6
}
declare i32 @ioctl(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/tmpeu6bwgso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FIONBIO = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @oct_set_blocking(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr @FIONBIO, align 4
%6 = call i32 @ioctl(i32 noundef %4, i32 noundef %5, ptr noundef %3)
ret i32 %6
}
declare i32 @ioctl(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/tmp17w9wx3q.c'
source_filename = "/tmp/tmp17w9wx3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 5, ptr %1, align 4
store i32 3, ptr %2, align 4
store ptr %1, ptr %3, align 8
store ptr %2, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %6, align 4
store i32 %7, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %12, align 4
%14 = add nsw i32 %11, %13
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %14)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp17w9wx3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 5, ptr %1, align 4
store i32 3, ptr %2, align 4
store ptr %1, ptr %3, align 8
store ptr %2, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %6, align 4
store i32 %7, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %12, align 4
%14 = add nsw i32 %11, %13
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %14)
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"}
|
; ModuleID = '/tmp/tmpe_qlfvfl.c'
source_filename = "/tmp/tmpe_qlfvfl.c"
target datalayout = "e-m:e-p270: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.stat = type { i64 }
@.str = private unnamed_addr constant [18 x i8] c"No snapshot : %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mem_load(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @stat(ptr noundef %11, ptr noundef %6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%20 = load i64, ptr %19, align 8
store i64 %20, ptr %9, align 8
%21 = load i64, ptr %9, align 8
%22 = call ptr @malloc(i64 noundef %21)
store ptr %22, ptr %8, align 8
%23 = load ptr, ptr %8, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %18
store ptr null, ptr %3, align 8
br label %47
26: ; preds = %18
%27 = load ptr, ptr %4, align 8
%28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1)
store ptr %28, ptr %10, align 8
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %9, align 8
%31 = load ptr, ptr %10, align 8
%32 = call i32 @fread(ptr noundef %29, i32 noundef 1, i64 noundef %30, ptr noundef %31)
store i32 %32, ptr %7, align 4
%33 = load ptr, ptr %10, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i64, ptr %9, align 8
%36 = load ptr, ptr %5, align 8
store i64 %35, ptr %36, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = load i64, ptr %9, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %26
br label %45
42: ; preds = %26
%43 = load ptr, ptr %8, align 8
%44 = call i32 @free(ptr noundef %43)
store ptr null, ptr %3, align 8
br label %47
45: ; preds = %41
%46 = load ptr, ptr %8, align 8
store ptr %46, ptr %3, align 8
br label %47
47: ; preds = %45, %42, %25
%48 = load ptr, ptr %3, align 8
ret ptr %48
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i64 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(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/tmpe_qlfvfl.c"
target datalayout = "e-m:e-p270: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.stat = type { i64 }
@.str = private unnamed_addr constant [18 x i8] c"No snapshot : %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @mem_load(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr null, ptr %8, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i64 @stat(ptr noundef %11, ptr noundef %6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %2
%15 = load ptr, ptr %4, align 8
%16 = call i32 @printf(ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 1) #3
unreachable
18: ; preds = %2
%19 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%20 = load i64, ptr %19, align 8
store i64 %20, ptr %9, align 8
%21 = load i64, ptr %9, align 8
%22 = call ptr @malloc(i64 noundef %21)
store ptr %22, ptr %8, align 8
%23 = load ptr, ptr %8, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %18
store ptr null, ptr %3, align 8
br label %47
26: ; preds = %18
%27 = load ptr, ptr %4, align 8
%28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.1)
store ptr %28, ptr %10, align 8
%29 = load ptr, ptr %8, align 8
%30 = load i64, ptr %9, align 8
%31 = load ptr, ptr %10, align 8
%32 = call i32 @fread(ptr noundef %29, i32 noundef 1, i64 noundef %30, ptr noundef %31)
store i32 %32, ptr %7, align 4
%33 = load ptr, ptr %10, align 8
%34 = call i32 @fclose(ptr noundef %33)
%35 = load i64, ptr %9, align 8
%36 = load ptr, ptr %5, align 8
store i64 %35, ptr %36, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = load i64, ptr %9, align 8
%40 = icmp eq i64 %38, %39
br i1 %40, label %41, label %42
41: ; preds = %26
br label %45
42: ; preds = %26
%43 = load ptr, ptr %8, align 8
%44 = call i32 @free(ptr noundef %43)
store ptr null, ptr %3, align 8
br label %47
45: ; preds = %41
%46 = load ptr, ptr %8, align 8
store ptr %46, ptr %3, align 8
br label %47
47: ; preds = %45, %42, %25
%48 = load ptr, ptr %3, align 8
ret ptr %48
}
declare i64 @stat(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @malloc(i64 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i64 noundef, ptr noundef) #1
declare i32 @fclose(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/tmpa3n1epr8.c'
source_filename = "/tmp/tmpa3n1epr8.c"
target datalayout = "e-m:e-p270: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/tmpa3n1epr8.c"
target datalayout = "e-m:e-p270: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/tmpnvgzzsjn.c'
source_filename = "/tmp/tmpnvgzzsjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"/proc/sys/fs/protected_hardlinks\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"[FAIL] open\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"[FAIL] read\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"[FAIL] see requirements (README.md)\00", align 1
@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 i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @err(i32 noundef %9, ptr noundef @.str.1)
br label %11
11: ; preds = %8, %0
%12 = load i32, ptr %3, align 4
%13 = call i32 @read(i32 noundef %12, ptr noundef %2, i32 noundef 1)
%14 = sext i32 %13 to i64
%15 = icmp ne i64 %14, 1
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @err(i32 noundef %17, ptr noundef @.str.2)
br label %19
19: ; preds = %16, %11
%20 = load i32, ptr %3, align 4
%21 = call i32 @close(i32 noundef %20)
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 48
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load i32, ptr @EXIT_FAILURE, align 4
%27 = call i32 @errx(i32 noundef %26, ptr noundef @.str.3)
br label %28
28: ; preds = %25, %19
%29 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %29
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @errx(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnvgzzsjn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"/proc/sys/fs/protected_hardlinks\00", align 1
@O_RDONLY = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"[FAIL] open\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"[FAIL] read\00", align 1
@.str.3 = private unnamed_addr constant [36 x i8] c"[FAIL] see requirements (README.md)\00", align 1
@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 i8, align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDONLY, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %11
8: ; preds = %0
%9 = load i32, ptr @EXIT_FAILURE, align 4
%10 = call i32 @err(i32 noundef %9, ptr noundef @.str.1)
br label %11
11: ; preds = %8, %0
%12 = load i32, ptr %3, align 4
%13 = call i32 @read(i32 noundef %12, ptr noundef %2, i32 noundef 1)
%14 = sext i32 %13 to i64
%15 = icmp ne i64 %14, 1
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load i32, ptr @EXIT_FAILURE, align 4
%18 = call i32 @err(i32 noundef %17, ptr noundef @.str.2)
br label %19
19: ; preds = %16, %11
%20 = load i32, ptr %3, align 4
%21 = call i32 @close(i32 noundef %20)
%22 = load i8, ptr %2, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 48
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load i32, ptr @EXIT_FAILURE, align 4
%27 = call i32 @errx(i32 noundef %26, ptr noundef @.str.3)
br label %28
28: ; preds = %25, %19
%29 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %29
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @errx(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpazor5ggz.c'
source_filename = "/tmp/tmpazor5ggz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stpncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %8
8: ; preds = %18, %3
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br label %16
16: ; preds = %11, %8
%17 = phi i1 [ false, %8 ], [ %15, %11 ]
br i1 %17, label %18, label %26
18: ; preds = %16
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load i8, ptr %19, align 1
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
store i8 %21, ptr %22, align 1
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %6, align 8
br label %8, !llvm.loop !6
26: ; preds = %16
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %7, align 8
br label %28
28: ; preds = %31, %26
%29 = load i64, ptr %6, align 8
%30 = icmp ne i64 %29, 0
br i1 %30, label %31, label %36
31: ; preds = %28
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %4, align 8
store i8 0, ptr %32, align 1
%34 = load i64, ptr %6, align 8
%35 = add i64 %34, -1
store i64 %35, ptr %6, align 8
br label %28, !llvm.loop !8
36: ; preds = %28
%37 = load ptr, ptr %7, align 8
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpazor5ggz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stpncpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %8
8: ; preds = %18, %3
%9 = load i64, ptr %6, align 8
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp ne i32 %14, 0
br label %16
16: ; preds = %11, %8
%17 = phi i1 [ false, %8 ], [ %15, %11 ]
br i1 %17, label %18, label %26
18: ; preds = %16
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load i8, ptr %19, align 1
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %4, align 8
store i8 %21, ptr %22, align 1
%24 = load i64, ptr %6, align 8
%25 = add i64 %24, -1
store i64 %25, ptr %6, align 8
br label %8, !llvm.loop !6
26: ; preds = %16
%27 = load ptr, ptr %4, align 8
store ptr %27, ptr %7, align 8
%28 = load i64, ptr %6, align 8
%29 = icmp ne i64 %28, 0
br i1 %29, label %.lr.ph, label %37
.lr.ph: ; preds = %26
br label %30
30: ; preds = %.lr.ph, %30
%31 = load ptr, ptr %4, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %4, align 8
store i8 0, ptr %31, align 1
%33 = load i64, ptr %6, align 8
%34 = add i64 %33, -1
store i64 %34, ptr %6, align 8
%35 = load i64, ptr %6, align 8
%36 = icmp ne i64 %35, 0
br i1 %36, label %30, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %30
br label %37
37: ; preds = %._crit_edge, %26
%38 = load ptr, ptr %7, align 8
ret ptr %38
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpgy3vhr31.c'
source_filename = "/tmp/tmpgy3vhr31.c"
target datalayout = "e-m:e-p270: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/tmpgy3vhr31.c"
target datalayout = "e-m:e-p270: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/tmp8zol1kiw.c'
source_filename = "/tmp/tmp8zol1kiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsplit(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
br label %13
13: ; preds = %24, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %8, align 8
%20 = call ptr @strstr(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %11, align 8
%21 = icmp ne ptr %20, null
br label %22
22: ; preds = %17, %13
%23 = phi i1 [ false, %13 ], [ %21, %17 ]
br i1 %23, label %24, label %37
24: ; preds = %22
%25 = load ptr, ptr %11, align 8
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %10, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds ptr, ptr %27, i64 %30
store ptr %26, ptr %31, align 8
%32 = load ptr, ptr %11, align 8
%33 = load ptr, ptr %8, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store ptr %36, ptr %10, align 8
br label %13, !llvm.loop !6
37: ; preds = %22
%38 = load ptr, ptr %10, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %47
40: ; preds = %37
%41 = load ptr, ptr %10, align 8
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
%45 = sext i32 %43 to i64
%46 = getelementptr inbounds ptr, ptr %42, i64 %45
store ptr %41, ptr %46, align 8
br label %47
47: ; preds = %40, %37
%48 = load i32, ptr %9, align 4
ret i32 %48
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zol1kiw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strsplit(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %10, align 8
br label %13
13: ; preds = %24, %4
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %22
17: ; preds = %13
%18 = load ptr, ptr %10, align 8
%19 = load ptr, ptr %8, align 8
%20 = call ptr @strstr(ptr noundef %18, ptr noundef %19)
store ptr %20, ptr %11, align 8
%21 = icmp ne ptr %20, null
br label %22
22: ; preds = %17, %13
%23 = phi i1 [ false, %13 ], [ %21, %17 ]
br i1 %23, label %24, label %37
24: ; preds = %22
%25 = load ptr, ptr %11, align 8
store i8 0, ptr %25, align 1
%26 = load ptr, ptr %10, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
%30 = sext i32 %28 to i64
%31 = getelementptr inbounds ptr, ptr %27, i64 %30
store ptr %26, ptr %31, align 8
%32 = load ptr, ptr %11, align 8
%33 = load ptr, ptr %8, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %32, i64 %35
store ptr %36, ptr %10, align 8
br label %13, !llvm.loop !6
37: ; preds = %22
%38 = load ptr, ptr %10, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %47
40: ; preds = %37
%41 = load ptr, ptr %10, align 8
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
%45 = sext i32 %43 to i64
%46 = getelementptr inbounds ptr, ptr %42, i64 %45
store ptr %41, ptr %46, align 8
br label %47
47: ; preds = %40, %37
%48 = load i32, ptr %9, align 4
ret i32 %48
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkt2bze78.c'
source_filename = "/tmp/tmpkt2bze78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @platform_getuuid(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fread(ptr noundef %5, i32 noundef 16, i32 noundef 1, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fclose(ptr noundef %8)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkt2bze78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/random\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @platform_getuuid(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @fread(ptr noundef %5, i32 noundef 16, i32 noundef 1, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = call i32 @fclose(ptr noundef %8)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsibasnl7.c'
source_filename = "/tmp/tmpsibasnl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"menu_server.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_menu() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca [2048 x i8], align 16
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %1, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %6
6: ; preds = %12, %0
%7 = load ptr, ptr %1, align 8
%8 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%9 = call i64 @fscanf(ptr noundef %7, ptr noundef @.str.3, ptr noundef %8)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %13)
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %6, !llvm.loop !6
16: ; preds = %6
%17 = load ptr, ptr %1, align 8
%18 = call i32 @fclose(ptr noundef %17)
store i32 %18, ptr %2, align 4
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsibasnl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"menu_server.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_menu() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca [2048 x i8], align 16
%4 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %4, ptr %1, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%8 = call i64 @fscanf(ptr noundef %6, ptr noundef @.str.3, ptr noundef %7)
%9 = load i64, ptr @EOF, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %11
%12 = getelementptr inbounds [2048 x i8], ptr %3, i64 0, i64 0
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = load ptr, ptr %1, align 8
%16 = call i64 @fscanf(ptr noundef %15, ptr noundef @.str.3, ptr noundef %7)
%17 = load i64, ptr @EOF, align 8
%18 = icmp ne i64 %16, %17
br i1 %18, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %19
19: ; preds = %._crit_edge, %0
%20 = load ptr, ptr %1, align 8
%21 = call i32 @fclose(ptr noundef %20)
store i32 %21, ptr %2, align 4
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv0pwail3.c'
source_filename = "/tmp/tmpv0pwail3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [3 x i32] [i32 5, i32 6, i32 0], align 4
@.str = private unnamed_addr constant [31 x i8] c"a[0] = %d\0Aa[1] = %d\0Aa[2] = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.a, i64 12, i1 false)
%3 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%4 = load i32, ptr %3, align 4
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%6 = load i32, ptr %5, align 4
%7 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%8 = load i32, ptr %7, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %6, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv0pwail3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [3 x i32] [i32 5, i32 6, i32 0], align 4
@.str = private unnamed_addr constant [31 x i8] c"a[0] = %d\0Aa[1] = %d\0Aa[2] = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [3 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.main.a, i64 12, i1 false)
%3 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 0
%4 = load i32, ptr %3, align 4
%5 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 1
%6 = load i32, ptr %5, align 4
%7 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 2
%8 = load i32, ptr %7, align 4
%9 = call i32 @printf(ptr noundef @.str, i32 noundef %4, i32 noundef %6, i32 noundef %8)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxlg87_wq.c'
source_filename = "/tmp/tmpxlg87_wq.c"
target datalayout = "e-m:e-p270: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/tmpxlg87_wq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_b3m59fy.c'
source_filename = "/tmp/tmp_b3m59fy.c"
target datalayout = "e-m:e-p270: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/tmp_b3m59fy.c"
target datalayout = "e-m:e-p270: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/tmp42lkip9z.c'
source_filename = "/tmp/tmp42lkip9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_resolv_unspec_gai(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, 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/tmp42lkip9z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_resolv_unspec_gai(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, 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/tmp9z1t4uw0.c'
source_filename = "/tmp/tmp9z1t4uw0.c"
target datalayout = "e-m:e-p270: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/tmp9z1t4uw0.c"
target datalayout = "e-m:e-p270: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/tmpwcvpptzj.c'
source_filename = "/tmp/tmpwcvpptzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"entre com o X: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d\C2\BA termo = %f \0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"soma = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
br label %6
6: ; preds = %15, %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
br label %9
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = icmp sge i32 %10, -20
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = icmp sle i32 %13, -1
br label %15
15: ; preds = %12, %9
%16 = phi i1 [ false, %9 ], [ %14, %12 ]
br i1 %16, label %6, label %17, !llvm.loop !6
17: ; preds = %15
store i32 1, ptr %4, align 4
br label %18
18: ; preds = %41, %17
%19 = load i32, ptr %4, align 4
%20 = icmp sle i32 %19, 20
br i1 %20, label %21, label %44
21: ; preds = %18
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %22, %23
%25 = sdiv i32 1, %24
%26 = sitofp i32 %25 to float
store float %26, ptr %3, align 4
%27 = load i32, ptr %4, align 4
%28 = load float, ptr %3, align 4
%29 = fpext float %28 to double
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27, double noundef %29)
%31 = load float, ptr %2, align 4
%32 = fpext float %31 to double
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %33, %34
%36 = sitofp i32 %35 to float
%37 = fpext float %36 to double
%38 = fdiv double 1.000000e+00, %37
%39 = fadd double %32, %38
%40 = fptrunc double %39 to float
store float %40, ptr %2, align 4
br label %41
41: ; preds = %21
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
br label %18, !llvm.loop !8
44: ; preds = %18
%45 = load float, ptr %2, align 4
%46 = fpext float %45 to double
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %46)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwcvpptzj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"entre com o X: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d\C2\BA termo = %f \0A\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"soma = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
br label %6
6: ; preds = %15, %0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
br label %9
9: ; preds = %6
%10 = load i32, ptr %5, align 4
%11 = icmp sge i32 %10, -20
br i1 %11, label %12, label %15
12: ; preds = %9
%13 = load i32, ptr %5, align 4
%14 = icmp sle i32 %13, -1
br label %15
15: ; preds = %12, %9
%16 = phi i1 [ false, %9 ], [ %14, %12 ]
br i1 %16, label %6, label %17, !llvm.loop !6
17: ; preds = %15
store i32 1, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp sle i32 %18, 20
br i1 %19, label %.lr.ph, label %45
.lr.ph: ; preds = %17
br label %20
20: ; preds = %.lr.ph, %40
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %21, %22
%24 = sdiv i32 1, %23
%25 = sitofp i32 %24 to float
store float %25, ptr %3, align 4
%26 = load i32, ptr %4, align 4
%27 = load float, ptr %3, align 4
%28 = fpext float %27 to double
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26, double noundef %28)
%30 = load float, ptr %2, align 4
%31 = fpext float %30 to double
%32 = load i32, ptr %5, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %32, %33
%35 = sitofp i32 %34 to float
%36 = fpext float %35 to double
%37 = fdiv double 1.000000e+00, %36
%38 = fadd double %31, %37
%39 = fptrunc double %38 to float
store float %39, ptr %2, align 4
br label %40
40: ; preds = %20
%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 = icmp sle i32 %43, 20
br i1 %44, label %20, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %17
%46 = load float, ptr %2, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %47)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuxpvsmk4.c'
source_filename = "/tmp/tmpuxpvsmk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_or16_int32_t(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 = %21, %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 %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = or i32 %15, 16
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuxpvsmk4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vlogical_imm_or16_int32_t(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 %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = or i32 %14, 16
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy18stvd6.c'
source_filename = "/tmp/tmpy18stvd6.c"
target datalayout = "e-m:e-p270: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/tmpy18stvd6.c"
target datalayout = "e-m:e-p270: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/tmpm_e9zfk_.c'
source_filename = "/tmp/tmpm_e9zfk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make(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 = mul nsw i32 %5, %6
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
ret ptr %12
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm_e9zfk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make(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 = mul nsw i32 %5, %6
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
ret ptr %12
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5bun5rjj.c'
source_filename = "/tmp/tmp5bun5rjj.c"
target datalayout = "e-m:e-p270: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/tmp5bun5rjj.c"
target datalayout = "e-m:e-p270: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/tmpemr75jde.c'
source_filename = "/tmp/tmpemr75jde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpemr75jde.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.