llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpppbue_i0.c'
source_filename = "/tmp/tmpppbue_i0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %18, %0
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %10, label %21
10: ; preds = %7
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%12 = call double (...) @benchmark()
store double %12, ptr %2, align 8
%13 = load double, ptr %2, align 8
%14 = call i32 @print_results(double noundef %13)
%15 = load i32, ptr %3, align 4
%16 = add nsw i32 %15, 1
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %7, !llvm.loop !6
21: ; preds = %7
%22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%23 = load i32, ptr %1, align 4
ret i32 %23
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpppbue_i0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"# c::%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @time(ptr noundef null)
%5 = call i32 @srand(i32 noundef %4)
%6 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 3
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %17
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%11 = call double (...) @benchmark()
store double %11, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = call i32 @print_results(double noundef %12)
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15)
br label %17
17: ; preds = %9
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %0
%23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3)
%24 = load i32, ptr %1, align 4
ret i32 %24
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(...) #1
declare i32 @print_results(double noundef) #1
declare i32 @print_summary(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps0ppye8a.c'
source_filename = "/tmp/tmps0ppye8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hsv_v16(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = mul nsw i32 %15, %16
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = sub nsw i32 %18, 3
store i32 %19, ptr %11, align 4
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
store ptr %23, ptr %12, align 8
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %24, i64 %26
store ptr %27, ptr %13, align 8
br label %28
28: ; preds = %77, %4
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, -1
store i32 %30, ptr %10, align 4
%31 = icmp ne i32 %29, 0
br i1 %31, label %32, label %82
32: ; preds = %28
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds i32, ptr %33, i32 1
store ptr %34, ptr %12, align 8
%35 = load i32, ptr %33, align 4
store i32 %35, ptr %14, align 4
%36 = load i32, ptr %14, align 4
%37 = sext i32 %36 to i64
%38 = load i32, ptr %14, align 4
%39 = ashr i32 %38, 8
%40 = sext i32 %39 to i64
%41 = icmp sge i64 %37, %40
br i1 %41, label %42, label %52
42: ; preds = %32
%43 = load i32, ptr %14, align 4
%44 = sext i32 %43 to i64
%45 = load i32, ptr %14, align 4
%46 = ashr i32 %45, 16
%47 = sext i32 %46 to i64
%48 = icmp sge i64 %44, %47
br i1 %48, label %49, label %52
49: ; preds = %42
%50 = load i32, ptr %14, align 4
%51 = sext i32 %50 to i64
br label %77
52: ; preds = %42, %32
%53 = load i32, ptr %14, align 4
%54 = ashr i32 %53, 8
%55 = sext i32 %54 to i64
%56 = load i32, ptr %14, align 4
%57 = ashr i32 %56, 16
%58 = sext i32 %57 to i64
%59 = icmp sge i64 %55, %58
br i1 %59, label %60, label %71
60: ; preds = %52
%61 = load i32, ptr %14, align 4
%62 = ashr i32 %61, 8
%63 = sext i32 %62 to i64
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = icmp sge i64 %63, %65
br i1 %66, label %67, label %71
67: ; preds = %60
%68 = load i32, ptr %14, align 4
%69 = ashr i32 %68, 8
%70 = sext i32 %69 to i64
br label %75
71: ; preds = %60, %52
%72 = load i32, ptr %14, align 4
%73 = ashr i32 %72, 16
%74 = sext i32 %73 to i64
br label %75
75: ; preds = %71, %67
%76 = phi i64 [ %70, %67 ], [ %74, %71 ]
br label %77
77: ; preds = %75, %49
%78 = phi i64 [ %51, %49 ], [ %76, %75 ]
%79 = shl i64 %78, 8
%80 = load ptr, ptr %13, align 8
%81 = getelementptr inbounds i64, ptr %80, i32 1
store ptr %81, ptr %13, align 8
store i64 %79, ptr %80, align 8
br label %28, !llvm.loop !6
82: ; preds = %28
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/tmps0ppye8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hsv_v16(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store ptr null, ptr %9, align 8
%15 = load i32, ptr %7, align 4
%16 = load i32, ptr %8, align 4
%17 = mul nsw i32 %15, %16
store i32 %17, ptr %10, align 4
%18 = load i32, ptr %10, align 4
%19 = sub nsw i32 %18, 3
store i32 %19, ptr %11, align 4
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i64, ptr %20, i64 %22
store ptr %23, ptr %12, align 8
%24 = load ptr, ptr %9, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i64, ptr %24, i64 %26
store ptr %27, ptr %13, align 8
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %28, -1
store i32 %29, ptr %10, align 4
%30 = icmp ne i32 %28, 0
br i1 %30, label %.lr.ph, label %84
.lr.ph: ; preds = %4
br label %31
31: ; preds = %.lr.ph, %76
%32 = load ptr, ptr %12, align 8
%33 = getelementptr inbounds i32, ptr %32, i32 1
store ptr %33, ptr %12, align 8
%34 = load i32, ptr %32, align 4
store i32 %34, ptr %14, align 4
%35 = load i32, ptr %14, align 4
%36 = sext i32 %35 to i64
%37 = load i32, ptr %14, align 4
%38 = ashr i32 %37, 8
%39 = sext i32 %38 to i64
%40 = icmp sge i64 %36, %39
br i1 %40, label %41, label %51
41: ; preds = %31
%42 = load i32, ptr %14, align 4
%43 = sext i32 %42 to i64
%44 = load i32, ptr %14, align 4
%45 = ashr i32 %44, 16
%46 = sext i32 %45 to i64
%47 = icmp sge i64 %43, %46
br i1 %47, label %48, label %51
48: ; preds = %41
%49 = load i32, ptr %14, align 4
%50 = sext i32 %49 to i64
br label %76
51: ; preds = %41, %31
%52 = load i32, ptr %14, align 4
%53 = ashr i32 %52, 8
%54 = sext i32 %53 to i64
%55 = load i32, ptr %14, align 4
%56 = ashr i32 %55, 16
%57 = sext i32 %56 to i64
%58 = icmp sge i64 %54, %57
br i1 %58, label %59, label %70
59: ; preds = %51
%60 = load i32, ptr %14, align 4
%61 = ashr i32 %60, 8
%62 = sext i32 %61 to i64
%63 = load i32, ptr %14, align 4
%64 = sext i32 %63 to i64
%65 = icmp sge i64 %62, %64
br i1 %65, label %66, label %70
66: ; preds = %59
%67 = load i32, ptr %14, align 4
%68 = ashr i32 %67, 8
%69 = sext i32 %68 to i64
br label %74
70: ; preds = %59, %51
%71 = load i32, ptr %14, align 4
%72 = ashr i32 %71, 16
%73 = sext i32 %72 to i64
br label %74
74: ; preds = %70, %66
%75 = phi i64 [ %69, %66 ], [ %73, %70 ]
br label %76
76: ; preds = %74, %48
%77 = phi i64 [ %50, %48 ], [ %75, %74 ]
%78 = shl i64 %77, 8
%79 = load ptr, ptr %13, align 8
%80 = getelementptr inbounds i64, ptr %79, i32 1
store ptr %80, ptr %13, align 8
store i64 %78, ptr %79, align 8
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, -1
store i32 %82, ptr %10, align 4
%83 = icmp ne i32 %81, 0
br i1 %83, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %84
84: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpc1n4ngf_.c'
source_filename = "/tmp/tmpc1n4ngf_.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"%s:%d:\\ at end of line!\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"%s:%d: Unbalanced \22 in line\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseconf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %16, align 4
store ptr null, ptr %13, align 8
%18 = load ptr, ptr %9, align 8
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %15, align 4
%20 = load ptr, ptr %9, align 8
store ptr %20, ptr %12, align 8
store i32 0, ptr %14, align 4
br label %21
21: ; preds = %158, %5
%22 = load i32, ptr %14, align 4
%23 = load i32, ptr %15, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %161
25: ; preds = %21
%26 = load i32, ptr %17, align 4
switch i32 %26, label %139 [
i32 0, label %27
i32 1, label %75
i32 2, label %107
]
27: ; preds = %25
%28 = load ptr, ptr %12, align 8
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 34
br i1 %31, label %32, label %35
32: ; preds = %27
%33 = load ptr, ptr %12, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
store ptr %34, ptr %13, align 8
store i32 1, ptr %17, align 4
br label %139
35: ; preds = %27
%36 = load ptr, ptr %12, align 8
%37 = load i8, ptr %36, align 1
%38 = call i32 @isspace(i8 noundef signext %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %35
br label %139
41: ; preds = %35
%42 = load ptr, ptr %12, align 8
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp eq i32 %44, 92
br i1 %45, label %46, label %67
46: ; preds = %41
%47 = load i32, ptr %14, align 4
%48 = load i32, ptr %15, align 4
%49 = sub nsw i32 %48, 1
%50 = icmp eq i32 %47, %49
br i1 %50, label %51, label %56
51: ; preds = %46
%52 = load i32, ptr @stderr, align 4
%53 = load ptr, ptr %7, align 8
%54 = load i32, ptr %8, align 4
%55 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str, ptr noundef %53, i32 noundef %54)
store i32 0, ptr %6, align 4
br label %206
56: ; preds = %46
%57 = load ptr, ptr %12, align 8
store ptr %57, ptr %13, align 8
%58 = load ptr, ptr %12, align 8
%59 = load ptr, ptr %12, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 1
%61 = load i32, ptr %15, align 4
%62 = load i32, ptr %14, align 4
%63 = sub nsw i32 %61, %62
%64 = call i32 @memmove(ptr noundef %58, ptr noundef %60, i32 noundef %63)
%65 = load i32, ptr %15, align 4
%66 = add nsw i32 %65, -1
store i32 %66, ptr %15, align 4
store i32 2, ptr %17, align 4
br label %67
67: ; preds = %56, %41
%68 = load ptr, ptr %12, align 8
%69 = load i8, ptr %68, align 1
%70 = call i32 @isspace(i8 noundef signext %69)
%71 = icmp ne i32 %70, 0
br i1 %71, label %74, label %72
72: ; preds = %67
%73 = load ptr, ptr %12, align 8
store ptr %73, ptr %13, align 8
store i32 2, ptr %17, align 4
br label %139
74: ; preds = %67
br label %139
75: ; preds = %25
%76 = load ptr, ptr %12, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp eq i32 %78, 34
br i1 %79, label %80, label %81
80: ; preds = %75
store i32 3, ptr %17, align 4
br label %81
81: ; preds = %80, %75
%82 = load ptr, ptr %12, align 8
%83 = load i8, ptr %82, align 1
%84 = sext i8 %83 to i32
%85 = icmp eq i32 %84, 92
br i1 %85, label %86, label %106
86: ; preds = %81
%87 = load i32, ptr %14, align 4
%88 = load i32, ptr %15, align 4
%89 = sub nsw i32 %88, 1
%90 = icmp eq i32 %87, %89
br i1 %90, label %91, label %96
91: ; preds = %86
%92 = load i32, ptr @stderr, align 4
%93 = load ptr, ptr %7, align 8
%94 = load i32, ptr %8, align 4
%95 = call i32 @fprintf(i32 noundef %92, ptr noundef @.str, ptr noundef %93, i32 noundef %94)
store i32 0, ptr %6, align 4
br label %206
96: ; preds = %86
%97 = load ptr, ptr %12, align 8
%98 = load ptr, ptr %12, align 8
%99 = getelementptr inbounds i8, ptr %98, i64 1
%100 = load i32, ptr %15, align 4
%101 = load i32, ptr %14, align 4
%102 = sub nsw i32 %100, %101
%103 = call i32 @memmove(ptr noundef %97, ptr noundef %99, i32 noundef %102)
%104 = load i32, ptr %15, align 4
%105 = add nsw i32 %104, -1
store i32 %105, ptr %15, align 4
br label %106
106: ; preds = %96, %81
br label %139
107: ; preds = %25
%108 = load ptr, ptr %12, align 8
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp eq i32 %110, 92
br i1 %111, label %112, label %132
112: ; preds = %107
%113 = load i32, ptr %14, align 4
%114 = load i32, ptr %15, align 4
%115 = sub nsw i32 %114, 1
%116 = icmp eq i32 %113, %115
br i1 %116, label %117, label %122
117: ; preds = %112
%118 = load i32, ptr @stderr, align 4
%119 = load ptr, ptr %7, align 8
%120 = load i32, ptr %8, align 4
%121 = call i32 @fprintf(i32 noundef %118, ptr noundef @.str, ptr noundef %119, i32 noundef %120)
store i32 0, ptr %6, align 4
br label %206
122: ; preds = %112
%123 = load ptr, ptr %12, align 8
%124 = load ptr, ptr %12, align 8
%125 = getelementptr inbounds i8, ptr %124, i64 1
%126 = load i32, ptr %15, align 4
%127 = load i32, ptr %14, align 4
%128 = sub nsw i32 %126, %127
%129 = call i32 @memmove(ptr noundef %123, ptr noundef %125, i32 noundef %128)
%130 = load i32, ptr %15, align 4
%131 = add nsw i32 %130, -1
store i32 %131, ptr %15, align 4
br label %139
132: ; preds = %107
%133 = load ptr, ptr %12, align 8
%134 = load i8, ptr %133, align 1
%135 = call i32 @isspace(i8 noundef signext %134)
%136 = icmp ne i32 %135, 0
br i1 %136, label %138, label %137
137: ; preds = %132
br label %139
138: ; preds = %132
store i32 3, ptr %17, align 4
br label %139
139: ; preds = %138, %25, %137, %122, %106, %74, %72, %40, %32
%140 = load i32, ptr %17, align 4
%141 = icmp eq i32 %140, 3
br i1 %141, label %142, label %155
142: ; preds = %139
%143 = load i32, ptr %16, align 4
%144 = load i32, ptr %11, align 4
%145 = icmp slt i32 %143, %144
br i1 %145, label %146, label %153
146: ; preds = %142
%147 = load ptr, ptr %13, align 8
%148 = load ptr, ptr %10, align 8
%149 = load i32, ptr %16, align 4
%150 = add nsw i32 %149, 1
store i32 %150, ptr %16, align 4
%151 = sext i32 %149 to i64
%152 = getelementptr inbounds ptr, ptr %148, i64 %151
store ptr %147, ptr %152, align 8
br label %153
153: ; preds = %146, %142
%154 = load ptr, ptr %12, align 8
store i8 0, ptr %154, align 1
store ptr null, ptr %13, align 8
store i32 0, ptr %17, align 4
br label %155
155: ; preds = %153, %139
%156 = load ptr, ptr %12, align 8
%157 = getelementptr inbounds i8, ptr %156, i32 1
store ptr %157, ptr %12, align 8
br label %158
158: ; preds = %155
%159 = load i32, ptr %14, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %14, align 4
br label %21, !llvm.loop !6
161: ; preds = %21
%162 = load i32, ptr %17, align 4
%163 = icmp eq i32 %162, 1
br i1 %163, label %164, label %169
164: ; preds = %161
%165 = load i32, ptr @stderr, align 4
%166 = load ptr, ptr %7, align 8
%167 = load i32, ptr %8, align 4
%168 = call i32 @fprintf(i32 noundef %165, ptr noundef @.str.1, ptr noundef %166, i32 noundef %167)
store i32 0, ptr %6, align 4
br label %206
169: ; preds = %161
%170 = load i32, ptr %17, align 4
%171 = icmp eq i32 %170, 2
br i1 %171, label %172, label %185
172: ; preds = %169
%173 = load ptr, ptr %12, align 8
store i8 0, ptr %173, align 1
%174 = load i32, ptr %16, align 4
%175 = load i32, ptr %11, align 4
%176 = icmp slt i32 %174, %175
br i1 %176, label %177, label %184
177: ; preds = %172
%178 = load ptr, ptr %13, align 8
%179 = load ptr, ptr %10, align 8
%180 = load i32, ptr %16, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %16, align 4
%182 = sext i32 %180 to i64
%183 = getelementptr inbounds ptr, ptr %179, i64 %182
store ptr %178, ptr %183, align 8
br label %184
184: ; preds = %177, %172
br label %185
185: ; preds = %184, %169
%186 = load i32, ptr %16, align 4
store i32 %186, ptr %14, align 4
br label %187
187: ; preds = %196, %185
%188 = load i32, ptr %14, align 4
%189 = load i32, ptr %11, align 4
%190 = icmp slt i32 %188, %189
br i1 %190, label %191, label %199
191: ; preds = %187
%192 = load ptr, ptr %10, align 8
%193 = load i32, ptr %14, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds ptr, ptr %192, i64 %194
store ptr null, ptr %195, align 8
br label %196
196: ; preds = %191
%197 = load i32, ptr %14, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %14, align 4
br label %187, !llvm.loop !8
199: ; preds = %187
%200 = load ptr, ptr %10, align 8
%201 = getelementptr inbounds ptr, ptr %200, i64 0
%202 = load ptr, ptr %201, align 8
%203 = icmp eq ptr %202, null
br i1 %203, label %204, label %205
204: ; preds = %199
store i32 0, ptr %6, align 4
br label %206
205: ; preds = %199
store i32 1, ptr %6, align 4
br label %206
206: ; preds = %205, %204, %164, %117, %91, %51
%207 = load i32, ptr %6, align 4
ret i32 %207
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc1n4ngf_.c"
target datalayout = "e-m:e-p270: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 [24 x i8] c"%s:%d:\\ at end of line!\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"%s:%d: Unbalanced \22 in line\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @parseconf(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 0, ptr %17, align 4
store i32 0, ptr %16, align 4
store ptr null, ptr %13, align 8
%18 = load ptr, ptr %9, align 8
%19 = call i32 @strlen(ptr noundef %18)
store i32 %19, ptr %15, align 4
%20 = load ptr, ptr %9, align 8
store ptr %20, ptr %12, align 8
store i32 0, ptr %14, align 4
%21 = load i32, ptr %14, align 4
%22 = load i32, ptr %15, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %.lr.ph, label %163
.lr.ph: ; preds = %5
br label %24
24: ; preds = %.lr.ph, %157
%25 = load i32, ptr %17, align 4
switch i32 %25, label %138 [
i32 0, label %26
i32 1, label %74
i32 2, label %106
]
26: ; preds = %24
%27 = load ptr, ptr %12, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 34
br i1 %30, label %31, label %34
31: ; preds = %26
%32 = load ptr, ptr %12, align 8
%33 = getelementptr inbounds i8, ptr %32, i64 1
store ptr %33, ptr %13, align 8
store i32 1, ptr %17, align 4
br label %138
34: ; preds = %26
%35 = load ptr, ptr %12, align 8
%36 = load i8, ptr %35, align 1
%37 = call i32 @isspace(i8 noundef signext %36)
%38 = icmp ne i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %34
br label %138
40: ; preds = %34
%41 = load ptr, ptr %12, align 8
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 92
br i1 %44, label %45, label %66
45: ; preds = %40
%46 = load i32, ptr %14, align 4
%47 = load i32, ptr %15, align 4
%48 = sub nsw i32 %47, 1
%49 = icmp eq i32 %46, %48
br i1 %49, label %50, label %55
50: ; preds = %45
%51 = load i32, ptr @stderr, align 4
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %8, align 4
%54 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str, ptr noundef %52, i32 noundef %53)
store i32 0, ptr %6, align 4
br label %210
55: ; preds = %45
%56 = load ptr, ptr %12, align 8
store ptr %56, ptr %13, align 8
%57 = load ptr, ptr %12, align 8
%58 = load ptr, ptr %12, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 1
%60 = load i32, ptr %15, align 4
%61 = load i32, ptr %14, align 4
%62 = sub nsw i32 %60, %61
%63 = call i32 @memmove(ptr noundef %57, ptr noundef %59, i32 noundef %62)
%64 = load i32, ptr %15, align 4
%65 = add nsw i32 %64, -1
store i32 %65, ptr %15, align 4
store i32 2, ptr %17, align 4
br label %66
66: ; preds = %55, %40
%67 = load ptr, ptr %12, align 8
%68 = load i8, ptr %67, align 1
%69 = call i32 @isspace(i8 noundef signext %68)
%70 = icmp ne i32 %69, 0
br i1 %70, label %73, label %71
71: ; preds = %66
%72 = load ptr, ptr %12, align 8
store ptr %72, ptr %13, align 8
store i32 2, ptr %17, align 4
br label %138
73: ; preds = %66
br label %138
74: ; preds = %24
%75 = load ptr, ptr %12, align 8
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 34
br i1 %78, label %79, label %80
79: ; preds = %74
store i32 3, ptr %17, align 4
br label %80
80: ; preds = %79, %74
%81 = load ptr, ptr %12, align 8
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 92
br i1 %84, label %85, label %105
85: ; preds = %80
%86 = load i32, ptr %14, align 4
%87 = load i32, ptr %15, align 4
%88 = sub nsw i32 %87, 1
%89 = icmp eq i32 %86, %88
br i1 %89, label %90, label %95
90: ; preds = %85
%91 = load i32, ptr @stderr, align 4
%92 = load ptr, ptr %7, align 8
%93 = load i32, ptr %8, align 4
%94 = call i32 @fprintf(i32 noundef %91, ptr noundef @.str, ptr noundef %92, i32 noundef %93)
store i32 0, ptr %6, align 4
br label %210
95: ; preds = %85
%96 = load ptr, ptr %12, align 8
%97 = load ptr, ptr %12, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 1
%99 = load i32, ptr %15, align 4
%100 = load i32, ptr %14, align 4
%101 = sub nsw i32 %99, %100
%102 = call i32 @memmove(ptr noundef %96, ptr noundef %98, i32 noundef %101)
%103 = load i32, ptr %15, align 4
%104 = add nsw i32 %103, -1
store i32 %104, ptr %15, align 4
br label %105
105: ; preds = %95, %80
br label %138
106: ; preds = %24
%107 = load ptr, ptr %12, align 8
%108 = load i8, ptr %107, align 1
%109 = sext i8 %108 to i32
%110 = icmp eq i32 %109, 92
br i1 %110, label %111, label %131
111: ; preds = %106
%112 = load i32, ptr %14, align 4
%113 = load i32, ptr %15, align 4
%114 = sub nsw i32 %113, 1
%115 = icmp eq i32 %112, %114
br i1 %115, label %116, label %121
116: ; preds = %111
%117 = load i32, ptr @stderr, align 4
%118 = load ptr, ptr %7, align 8
%119 = load i32, ptr %8, align 4
%120 = call i32 @fprintf(i32 noundef %117, ptr noundef @.str, ptr noundef %118, i32 noundef %119)
store i32 0, ptr %6, align 4
br label %210
121: ; preds = %111
%122 = load ptr, ptr %12, align 8
%123 = load ptr, ptr %12, align 8
%124 = getelementptr inbounds i8, ptr %123, i64 1
%125 = load i32, ptr %15, align 4
%126 = load i32, ptr %14, align 4
%127 = sub nsw i32 %125, %126
%128 = call i32 @memmove(ptr noundef %122, ptr noundef %124, i32 noundef %127)
%129 = load i32, ptr %15, align 4
%130 = add nsw i32 %129, -1
store i32 %130, ptr %15, align 4
br label %138
131: ; preds = %106
%132 = load ptr, ptr %12, align 8
%133 = load i8, ptr %132, align 1
%134 = call i32 @isspace(i8 noundef signext %133)
%135 = icmp ne i32 %134, 0
br i1 %135, label %137, label %136
136: ; preds = %131
br label %138
137: ; preds = %131
store i32 3, ptr %17, align 4
br label %138
138: ; preds = %137, %136, %121, %105, %73, %71, %39, %31, %24
%139 = load i32, ptr %17, align 4
%140 = icmp eq i32 %139, 3
br i1 %140, label %141, label %154
141: ; preds = %138
%142 = load i32, ptr %16, align 4
%143 = load i32, ptr %11, align 4
%144 = icmp slt i32 %142, %143
br i1 %144, label %145, label %152
145: ; preds = %141
%146 = load ptr, ptr %13, align 8
%147 = load ptr, ptr %10, align 8
%148 = load i32, ptr %16, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %16, align 4
%150 = sext i32 %148 to i64
%151 = getelementptr inbounds ptr, ptr %147, i64 %150
store ptr %146, ptr %151, align 8
br label %152
152: ; preds = %145, %141
%153 = load ptr, ptr %12, align 8
store i8 0, ptr %153, align 1
store ptr null, ptr %13, align 8
store i32 0, ptr %17, align 4
br label %154
154: ; preds = %152, %138
%155 = load ptr, ptr %12, align 8
%156 = getelementptr inbounds i8, ptr %155, i32 1
store ptr %156, ptr %12, align 8
br label %157
157: ; preds = %154
%158 = load i32, ptr %14, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %14, align 4
%160 = load i32, ptr %14, align 4
%161 = load i32, ptr %15, align 4
%162 = icmp slt i32 %160, %161
br i1 %162, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %157
br label %163
163: ; preds = %._crit_edge, %5
%164 = load i32, ptr %17, align 4
%165 = icmp eq i32 %164, 1
br i1 %165, label %166, label %171
166: ; preds = %163
%167 = load i32, ptr @stderr, align 4
%168 = load ptr, ptr %7, align 8
%169 = load i32, ptr %8, align 4
%170 = call i32 @fprintf(i32 noundef %167, ptr noundef @.str.1, ptr noundef %168, i32 noundef %169)
store i32 0, ptr %6, align 4
br label %210
171: ; preds = %163
%172 = load i32, ptr %17, align 4
%173 = icmp eq i32 %172, 2
br i1 %173, label %174, label %187
174: ; preds = %171
%175 = load ptr, ptr %12, align 8
store i8 0, ptr %175, align 1
%176 = load i32, ptr %16, align 4
%177 = load i32, ptr %11, align 4
%178 = icmp slt i32 %176, %177
br i1 %178, label %179, label %186
179: ; preds = %174
%180 = load ptr, ptr %13, align 8
%181 = load ptr, ptr %10, align 8
%182 = load i32, ptr %16, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %16, align 4
%184 = sext i32 %182 to i64
%185 = getelementptr inbounds ptr, ptr %181, i64 %184
store ptr %180, ptr %185, align 8
br label %186
186: ; preds = %179, %174
br label %187
187: ; preds = %186, %171
%188 = load i32, ptr %16, align 4
store i32 %188, ptr %14, align 4
%189 = load i32, ptr %14, align 4
%190 = load i32, ptr %11, align 4
%191 = icmp slt i32 %189, %190
br i1 %191, label %.lr.ph2, label %203
.lr.ph2: ; preds = %187
br label %192
192: ; preds = %.lr.ph2, %197
%193 = load ptr, ptr %10, align 8
%194 = load i32, ptr %14, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds ptr, ptr %193, i64 %195
store ptr null, ptr %196, align 8
br label %197
197: ; preds = %192
%198 = load i32, ptr %14, align 4
%199 = add nsw i32 %198, 1
store i32 %199, ptr %14, align 4
%200 = load i32, ptr %14, align 4
%201 = load i32, ptr %11, align 4
%202 = icmp slt i32 %200, %201
br i1 %202, label %192, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %197
br label %203
203: ; preds = %._crit_edge3, %187
%204 = load ptr, ptr %10, align 8
%205 = getelementptr inbounds ptr, ptr %204, i64 0
%206 = load ptr, ptr %205, align 8
%207 = icmp eq ptr %206, null
br i1 %207, label %208, label %209
208: ; preds = %203
store i32 0, ptr %6, align 4
br label %210
209: ; preds = %203
store i32 1, ptr %6, align 4
br label %210
210: ; preds = %209, %208, %166, %116, %90, %50
%211 = load i32, ptr %6, align 4
ret i32 %211
}
declare i32 @strlen(ptr noundef) #1
declare i32 @isspace(i8 noundef signext) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp6smitqu2.c'
source_filename = "/tmp/tmp6smitqu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" [0] [1] [2] [3]\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\0AstudentGrades[%d] \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%-5d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %35, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %38
14: ; preds = %10
%15 = load i32, ptr %7, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15)
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %31, %14
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %34
21: ; preds = %17
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i32], ptr %22, i64 %24
%26 = load i32, ptr %8, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [4 x i32], ptr %25, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
br label %31
31: ; preds = %21
%32 = load i32, ptr %8, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %8, align 4
br label %17, !llvm.loop !6
34: ; preds = %17
br label %35
35: ; preds = %34
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
br label %10, !llvm.loop !8
38: ; preds = %10
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6smitqu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" [0] [1] [2] [3]\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"\0AstudentGrades[%d] \00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%-5d\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printArray(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph2, label %42
.lr.ph2: ; preds = %3
br label %13
13: ; preds = %.lr.ph2, %36
%14 = load i32, ptr %7, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
store i32 0, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %35
.lr.ph: ; preds = %13
br label %19
19: ; preds = %.lr.ph, %29
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [4 x i32], ptr %20, i64 %22
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [4 x i32], ptr %23, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %27)
br label %29
29: ; preds = %19
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %8, align 4
%32 = load i32, ptr %8, align 4
%33 = load i32, ptr %6, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %35
35: ; preds = %._crit_edge, %13
br label %36
36: ; preds = %35
%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 %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %42
42: ; preds = %._crit_edge3, %3
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2i995ek3.c'
source_filename = "/tmp/tmp2i995ek3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NID_secp256k1 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bbp_ec_new_pubkey(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i32, ptr @NID_secp256k1, align 4
%8 = call ptr @EC_KEY_new_by_curve_name(i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @o2i_ECPublicKey(ptr noundef %5, ptr noundef %6, i64 noundef %10)
%12 = load ptr, ptr %5, align 8
ret ptr %12
}
declare ptr @EC_KEY_new_by_curve_name(i32 noundef) #1
declare i32 @o2i_ECPublicKey(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/tmp2i995ek3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NID_secp256k1 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @bbp_ec_new_pubkey(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load i32, ptr @NID_secp256k1, align 4
%8 = call ptr @EC_KEY_new_by_curve_name(i32 noundef %7)
store ptr %8, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %6, align 8
%10 = load i64, ptr %4, align 8
%11 = call i32 @o2i_ECPublicKey(ptr noundef %5, ptr noundef %6, i64 noundef %10)
%12 = load ptr, ptr %5, align 8
ret ptr %12
}
declare ptr @EC_KEY_new_by_curve_name(i32 noundef) #1
declare i32 @o2i_ECPublicKey(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/tmpg_1a4e_m.c'
source_filename = "/tmp/tmpg_1a4e_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FNV_hash64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr %2, ptr %4, align 8
store i32 -2128831035, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %19, %1
%7 = load i32, ptr %3, align 4
%8 = sext i32 %7 to i64
%9 = icmp ult i64 %8, 4
br i1 %9, label %10, label %22
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = mul i32 16777619, %11
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = xor i32 %12, %17
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %6, !llvm.loop !6
22: ; preds = %6
%23 = load i32, ptr %5, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpg_1a4e_m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @FNV_hash64(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store ptr %2, ptr %4, align 8
store i32 -2128831035, ptr %5, align 4
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = icmp ult i64 %7, 4
br i1 %8, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %18
%10 = load i32, ptr %5, align 4
%11 = mul i32 16777619, %10
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = xor i32 %11, %16
store i32 %17, ptr %5, align 4
br label %18
18: ; preds = %9
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = icmp ult i64 %22, 4
br i1 %23, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %1
%25 = load i32, ptr %5, align 4
ret i32 %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1krbci1c.c'
source_filename = "/tmp/tmp1krbci1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store ptr %3, ptr %4, align 8
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %12, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = load ptr, ptr %4, align 8
%10 = load i32, ptr %2, align 4
%11 = call i32 @f(ptr noundef %9, i32 noundef %10)
br label %12
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load ptr, ptr %4, align 8
%17 = call i32 @g(ptr noundef %16)
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %25, %15
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %21, label %28
21: ; preds = %18
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %2, align 4
%24 = call i32 @f(ptr noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
br label %18, !llvm.loop !8
28: ; preds = %18
%29 = load i32, ptr %1, align 4
ret i32 %29
}
declare i32 @f(ptr noundef, i32 noundef) #1
declare i32 @g(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1krbci1c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store ptr %3, ptr %4, align 8
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %11
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %2, align 4
%10 = call i32 @f(ptr noundef %8, i32 noundef %9)
br label %11
11: ; preds = %7
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 10
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
%17 = load ptr, ptr %4, align 8
%18 = call i32 @g(ptr noundef %17)
store i32 0, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 10
br i1 %20, label %.lr.ph2, label %30
.lr.ph2: ; preds = %16
br label %21
21: ; preds = %.lr.ph2, %25
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %2, align 4
%24 = call i32 @f(ptr noundef %22, i32 noundef %23)
br label %25
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 10
br i1 %29, label %21, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %25
br label %30
30: ; preds = %._crit_edge3, %16
%31 = load i32, ptr %1, align 4
ret i32 %31
}
declare i32 @f(ptr noundef, i32 noundef) #1
declare i32 @g(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpo140j84w.c'
source_filename = "/tmp/tmpo140j84w.c"
target datalayout = "e-m:e-p270: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/tmpo140j84w.c"
target datalayout = "e-m:e-p270: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/tmpgnt4c7ln.c'
source_filename = "/tmp/tmpgnt4c7ln.c"
target datalayout = "e-m:e-p270: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/tmpgnt4c7ln.c"
target datalayout = "e-m:e-p270: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/tmp6jnbjftu.c'
source_filename = "/tmp/tmp6jnbjftu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fwide(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %4, align 4
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6jnbjftu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fwide(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
store ptr %5, ptr %3, align 8
%6 = load i32, ptr %4, align 4
ret i32 %6
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp86rnun0u.c'
source_filename = "/tmp/tmp86rnun0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @st7796_set_pos(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 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @st7796_draw_start(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @st7796_draw_start(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/tmp86rnun0u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @st7796_set_pos(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 = load i32, ptr %3, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @st7796_draw_start(i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8)
ret void
}
declare i32 @st7796_draw_start(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/tmp0ctd0ocb.c'
source_filename = "/tmp/tmp0ctd0ocb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @condition_alphabetSmallOrSpace(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 32
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = call i64 @condition_alphabetSmall(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @condition_alphabetSmall(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ctd0ocb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @condition_alphabetSmallOrSpace(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = sext i8 %3 to i32
%5 = icmp eq i32 %4, 32
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i8, ptr %2, align 1
%8 = call i64 @condition_alphabetSmall(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ true, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i64 @condition_alphabetSmall(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeqyeofxa.c'
source_filename = "/tmp/tmpeqyeofxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @xxx()
%2 = call i32 (...) @foo()
ret i32 0
}
declare i32 @xxx(...) #1
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeqyeofxa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @xxx()
%2 = call i32 (...) @foo()
ret i32 0
}
declare i32 @xxx(...) #1
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxnop4n3k.c'
source_filename = "/tmp/tmpxnop4n3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"fn_a() called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fn_a() #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/tmpxnop4n3k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"fn_a() called\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fn_a() #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/tmpoyl78ex1.c'
source_filename = "/tmp/tmpoyl78ex1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"LSS: %s, %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Suff_arr: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"No repetitions found!\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @longest_substring(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %6, align 8
%22 = alloca i32, i64 %20, align 16
store i64 %20, ptr %7, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = call i32 @create_suff_arr3(ptr noundef %23, ptr noundef %22, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
br label %27
27: ; preds = %37, %2
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %40
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %22, i64 %33
%35 = load i32, ptr %34, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %31
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %27, !llvm.loop !6
40: ; preds = %27
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %5, align 4
br label %42
42: ; preds = %68, %40
%43 = load i32, ptr %5, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %71
46: ; preds = %42
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %22, i64 %48
%50 = load i32, ptr %49, align 4
store i32 %50, ptr %8, align 4
br label %51
51: ; preds = %63, %46
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %66
55: ; preds = %51
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %61)
br label %63
63: ; preds = %55
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %51, !llvm.loop !8
66: ; preds = %51
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %68
68: ; preds = %66
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %5, align 4
br label %42, !llvm.loop !9
71: ; preds = %42
%72 = load i32, ptr %4, align 4
%73 = sub nsw i32 %72, 1
store i32 %73, ptr %9, align 4
%74 = load i32, ptr %9, align 4
%75 = zext i32 %74 to i64
%76 = alloca i32, i64 %75, align 16
store i64 %75, ptr %10, align 8
%77 = load ptr, ptr %3, align 8
%78 = load i32, ptr %4, align 4
%79 = call i32 @kasai_lcp(ptr noundef %77, ptr noundef %76, ptr noundef %22, i32 noundef %78)
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 0, ptr %5, align 4
br label %80
80: ; preds = %98, %71
%81 = load i32, ptr %5, align 4
%82 = load i32, ptr %9, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %84, label %101
84: ; preds = %80
%85 = load i32, ptr %5, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %76, i64 %86
%88 = load i32, ptr %87, align 4
%89 = load i32, ptr %11, align 4
%90 = icmp sgt i32 %88, %89
br i1 %90, label %91, label %97
91: ; preds = %84
%92 = load i32, ptr %5, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %76, i64 %93
%95 = load i32, ptr %94, align 4
store i32 %95, ptr %11, align 4
%96 = load i32, ptr %5, align 4
store i32 %96, ptr %12, align 4
br label %97
97: ; preds = %91, %84
br label %98
98: ; preds = %97
%99 = load i32, ptr %5, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %5, align 4
br label %80, !llvm.loop !10
101: ; preds = %80
%102 = load i32, ptr %12, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds i32, ptr %22, i64 %103
%105 = load i32, ptr %104, align 4
store i32 %105, ptr %13, align 4
%106 = load i32, ptr %12, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %22, i64 %107
%109 = load i32, ptr %108, align 4
%110 = load i32, ptr %11, align 4
%111 = add nsw i32 %109, %110
%112 = sub nsw i32 %111, 1
store i32 %112, ptr %14, align 4
%113 = load i32, ptr %14, align 4
%114 = load i32, ptr %13, align 4
%115 = sub nsw i32 %113, %114
store i32 %115, ptr %15, align 4
%116 = load i32, ptr %13, align 4
store i32 %116, ptr %5, align 4
br label %117
117: ; preds = %130, %101
%118 = load i32, ptr %5, align 4
%119 = load i32, ptr %14, align 4
%120 = add nsw i32 %119, 1
%121 = icmp slt i32 %118, %120
br i1 %121, label %122, label %133
122: ; preds = %117
%123 = load ptr, ptr %3, align 8
%124 = load i32, ptr %5, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %123, i64 %125
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %128)
br label %130
130: ; preds = %122
%131 = load i32, ptr %5, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %5, align 4
br label %117, !llvm.loop !11
133: ; preds = %117
%134 = load i32, ptr %11, align 4
%135 = icmp eq i32 %134, 0
br i1 %135, label %136, label %138
136: ; preds = %133
%137 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %142
138: ; preds = %133
%139 = load i32, ptr %15, align 4
%140 = add nsw i32 %139, 1
%141 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %140)
br label %142
142: ; preds = %138, %136
%143 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %143)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @create_suff_arr3(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @kasai_lcp(ptr noundef, ptr noundef, 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoyl78ex1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"LSS: %s, %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Suff_arr: \00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"No repetitions found!\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @longest_substring(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %4, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16, i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = zext i32 %19 to i64
%21 = call ptr @llvm.stacksave()
store ptr %21, ptr %6, align 8
%22 = alloca i32, i64 %20, align 16
store i64 %20, ptr %7, align 8
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = call i32 @create_suff_arr3(ptr noundef %23, ptr noundef %22, i32 noundef %24)
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph, label %42
.lr.ph: ; preds = %2
br label %30
30: ; preds = %.lr.ph, %36
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %22, i64 %32
%34 = load i32, ptr %33, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34)
br label %36
36: ; preds = %30
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %4, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %2
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %5, align 4
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %.lr.ph5, label %77
.lr.ph5: ; preds = %42
br label %47
47: ; preds = %.lr.ph5, %71
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %22, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %8, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %.lr.ph2, label %69
.lr.ph2: ; preds = %47
br label %55
55: ; preds = %.lr.ph2, %63
%56 = load ptr, ptr %3, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i8, ptr %56, i64 %58
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %61)
br label %63
63: ; preds = %55
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = load i32, ptr %4, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %55, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %69
69: ; preds = %._crit_edge3, %47
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %71
71: ; preds = %69
%72 = load i32, ptr %5, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %5, align 4
%74 = load i32, ptr %5, align 4
%75 = load i32, ptr %4, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %47, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %71
br label %77
77: ; preds = %._crit_edge6, %42
%78 = load i32, ptr %4, align 4
%79 = sub nsw i32 %78, 1
store i32 %79, ptr %9, align 4
%80 = load i32, ptr %9, align 4
%81 = zext i32 %80 to i64
%82 = alloca i32, i64 %81, align 16
store i64 %81, ptr %10, align 8
%83 = load ptr, ptr %3, align 8
%84 = load i32, ptr %4, align 4
%85 = call i32 @kasai_lcp(ptr noundef %83, ptr noundef %82, ptr noundef %22, i32 noundef %84)
store i32 -1, ptr %11, align 4
store i32 -1, ptr %12, align 4
store i32 0, ptr %5, align 4
%86 = load i32, ptr %5, align 4
%87 = load i32, ptr %9, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph8, label %109
.lr.ph8: ; preds = %77
br label %89
89: ; preds = %.lr.ph8, %103
%90 = load i32, ptr %5, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %82, i64 %91
%93 = load i32, ptr %92, align 4
%94 = load i32, ptr %11, align 4
%95 = icmp sgt i32 %93, %94
br i1 %95, label %96, label %102
96: ; preds = %89
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i32, ptr %82, i64 %98
%100 = load i32, ptr %99, align 4
store i32 %100, ptr %11, align 4
%101 = load i32, ptr %5, align 4
store i32 %101, ptr %12, align 4
br label %102
102: ; preds = %96, %89
br label %103
103: ; preds = %102
%104 = load i32, ptr %5, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %5, align 4
%106 = load i32, ptr %5, align 4
%107 = load i32, ptr %9, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %89, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %103
br label %109
109: ; preds = %._crit_edge9, %77
%110 = load i32, ptr %12, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %22, i64 %111
%113 = load i32, ptr %112, align 4
store i32 %113, ptr %13, align 4
%114 = load i32, ptr %12, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i32, ptr %22, i64 %115
%117 = load i32, ptr %116, align 4
%118 = load i32, ptr %11, align 4
%119 = add nsw i32 %117, %118
%120 = sub nsw i32 %119, 1
store i32 %120, ptr %14, align 4
%121 = load i32, ptr %14, align 4
%122 = load i32, ptr %13, align 4
%123 = sub nsw i32 %121, %122
store i32 %123, ptr %15, align 4
%124 = load i32, ptr %13, align 4
store i32 %124, ptr %5, align 4
%125 = load i32, ptr %5, align 4
%126 = load i32, ptr %14, align 4
%127 = add nsw i32 %126, 1
%128 = icmp slt i32 %125, %127
br i1 %128, label %.lr.ph11, label %144
.lr.ph11: ; preds = %109
br label %129
129: ; preds = %.lr.ph11, %137
%130 = load ptr, ptr %3, align 8
%131 = load i32, ptr %5, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i8, ptr %130, i64 %132
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %135)
br label %137
137: ; preds = %129
%138 = load i32, ptr %5, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %5, align 4
%140 = load i32, ptr %5, align 4
%141 = load i32, ptr %14, align 4
%142 = add nsw i32 %141, 1
%143 = icmp slt i32 %140, %142
br i1 %143, label %129, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %137
br label %144
144: ; preds = %._crit_edge12, %109
%145 = load i32, ptr %11, align 4
%146 = icmp eq i32 %145, 0
br i1 %146, label %147, label %149
147: ; preds = %144
%148 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %153
149: ; preds = %144
%150 = load i32, ptr %15, align 4
%151 = add nsw i32 %150, 1
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %151)
br label %153
153: ; preds = %149, %147
%154 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %154)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @create_suff_arr3(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @kasai_lcp(ptr noundef, ptr noundef, 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpfid6rm3_.c'
source_filename = "/tmp/tmpfid6rm3_.c"
target datalayout = "e-m:e-p270: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/tmpfid6rm3_.c"
target datalayout = "e-m:e-p270: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/tmp0ydgn697.c'
source_filename = "/tmp/tmp0ydgn697.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X_OK = dso_local global i32 0, align 4
@write = dso_local global i64 0, align 8
@W_OK = dso_local global i32 0, align 4
@F_OK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"cannot access %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"descended to root trying to create dirs\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"cannot create %s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sys_checkdir(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 = load i32, ptr @X_OK, align 4
%8 = load i64, ptr @write, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr @W_OK, align 4
br label %13
12: ; preds = %2
br label %13
13: ; preds = %12, %10
%14 = phi i32 [ %11, %10 ], [ 0, %12 ]
%15 = or i32 %7, %14
%16 = call i64 @access(ptr noundef %6, i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %49
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr @F_OK, align 4
%21 = call i64 @access(ptr noundef %19, i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr @errno, align 4
%26 = call i32 @strerror(i32 noundef %25)
%27 = call i32 (ptr, ...) @die(ptr noundef @.str, ptr noundef %24, i32 noundef %26)
br label %28
28: ; preds = %23, %18
%29 = load ptr, ptr %3, align 8
%30 = call ptr @strrchr(ptr noundef %29, i8 noundef signext 47)
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %5, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %35, label %33
33: ; preds = %28
%34 = call i32 (ptr, ...) @die(ptr noundef @.str.1)
br label %35
35: ; preds = %33, %28
%36 = load ptr, ptr %5, align 8
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %4, align 4
call void @sys_checkdir(ptr noundef %37, i32 noundef %38)
%39 = load ptr, ptr %5, align 8
store i8 47, ptr %39, align 1
%40 = load ptr, ptr %3, align 8
%41 = call i64 @mkdir(ptr noundef %40, i32 noundef 511)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr @errno, align 4
%46 = call i32 @strerror(i32 noundef %45)
%47 = call i32 (ptr, ...) @die(ptr noundef @.str.2, ptr noundef %44, i32 noundef %46)
br label %48
48: ; preds = %43, %35
br label %49
49: ; preds = %48, %13
ret void
}
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @die(ptr noundef, ...) #1
declare i32 @strerror(i32 noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0ydgn697.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X_OK = dso_local global i32 0, align 4
@write = dso_local global i64 0, align 8
@W_OK = dso_local global i32 0, align 4
@F_OK = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"cannot access %s: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [41 x i8] c"descended to root trying to create dirs\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"cannot create %s: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sys_checkdir(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 = load i32, ptr @X_OK, align 4
%8 = load i64, ptr @write, align 8
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = load i32, ptr @W_OK, align 4
br label %13
12: ; preds = %2
br label %13
13: ; preds = %12, %10
%14 = phi i32 [ %11, %10 ], [ 0, %12 ]
%15 = or i32 %7, %14
%16 = call i64 @access(ptr noundef %6, i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %49
18: ; preds = %13
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr @F_OK, align 4
%21 = call i64 @access(ptr noundef %19, i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %28, label %23
23: ; preds = %18
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr @errno, align 4
%26 = call i32 @strerror(i32 noundef %25)
%27 = call i32 (ptr, ...) @die(ptr noundef @.str, ptr noundef %24, i32 noundef %26)
br label %28
28: ; preds = %23, %18
%29 = load ptr, ptr %3, align 8
%30 = call ptr @strrchr(ptr noundef %29, i8 noundef signext 47)
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %5, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %35, label %33
33: ; preds = %28
%34 = call i32 (ptr, ...) @die(ptr noundef @.str.1)
br label %35
35: ; preds = %33, %28
%36 = load ptr, ptr %5, align 8
store i8 0, ptr %36, align 1
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %4, align 4
call void @sys_checkdir(ptr noundef %37, i32 noundef %38)
%39 = load ptr, ptr %5, align 8
store i8 47, ptr %39, align 1
%40 = load ptr, ptr %3, align 8
%41 = call i64 @mkdir(ptr noundef %40, i32 noundef 511)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr @errno, align 4
%46 = call i32 @strerror(i32 noundef %45)
%47 = call i32 (ptr, ...) @die(ptr noundef @.str.2, ptr noundef %44, i32 noundef %46)
br label %48
48: ; preds = %43, %35
br label %49
49: ; preds = %48, %13
ret void
}
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @die(ptr noundef, ...) #1
declare i32 @strerror(i32 noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @mkdir(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqqir7bx6.c'
source_filename = "/tmp/tmpqqir7bx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_house_post(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %12, align 8
store i32 0, ptr %10, align 4
br label %19
19: ; preds = %29, %4
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %8, align 4
%22 = sub nsw i32 %21, 1
%23 = icmp slt i32 %20, %22
br i1 %23, label %24, label %32
24: ; preds = %19
%25 = load ptr, ptr %12, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, ptr %25, i64 %27
store double 0.000000e+00, ptr %28, align 8
br label %29
29: ; preds = %24
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
br label %19, !llvm.loop !6
32: ; preds = %19
%33 = load i32, ptr %8, align 4
%34 = sub nsw i32 %33, 1
store i32 %34, ptr %10, align 4
br label %35
35: ; preds = %53, %32
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %5, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %56
39: ; preds = %35
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %10, align 4
%43 = load i32, ptr %5, align 4
%44 = mul nsw i32 %42, %43
%45 = add nsw i32 %41, %44
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %40, i64 %46
%48 = load double, ptr %47, align 8
%49 = load ptr, ptr %12, align 8
%50 = load i32, ptr %10, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
store double %48, ptr %52, align 8
br label %53
53: ; preds = %39
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
br label %35, !llvm.loop !8
56: ; preds = %35
%57 = load i32, ptr %5, align 4
%58 = load ptr, ptr %12, align 8
%59 = load i32, ptr %8, align 4
%60 = call ptr @r8vec_house_column(i32 noundef %57, ptr noundef %58, i32 noundef %59)
store ptr %60, ptr %11, align 8
%61 = load i32, ptr %5, align 4
%62 = load ptr, ptr %11, align 8
%63 = call ptr @r8mat_house_form(i32 noundef %61, ptr noundef %62)
store ptr %63, ptr %9, align 8
%64 = load ptr, ptr %11, align 8
%65 = call i32 @free(ptr noundef %64)
%66 = load ptr, ptr %12, align 8
%67 = call i32 @free(ptr noundef %66)
%68 = load ptr, ptr %9, align 8
ret ptr %68
}
declare i64 @malloc(i32 noundef) #1
declare ptr @r8vec_house_column(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @r8mat_house_form(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqqir7bx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @r8mat_house_post(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = mul i64 %14, 8
%16 = trunc i64 %15 to i32
%17 = call i64 @malloc(i32 noundef %16)
%18 = inttoptr i64 %17 to ptr
store ptr %18, ptr %12, align 8
store i32 0, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %8, align 4
%21 = sub nsw i32 %20, 1
%22 = icmp slt i32 %19, %21
br i1 %22, label %.lr.ph, label %35
.lr.ph: ; preds = %4
br label %23
23: ; preds = %.lr.ph, %28
%24 = load ptr, ptr %12, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, ptr %24, i64 %26
store double 0.000000e+00, ptr %27, align 8
br label %28
28: ; preds = %23
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %32, 1
%34 = icmp slt i32 %31, %33
br i1 %34, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %35
35: ; preds = %._crit_edge, %4
%36 = load i32, ptr %8, align 4
%37 = sub nsw i32 %36, 1
store i32 %37, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph2, label %61
.lr.ph2: ; preds = %35
br label %41
41: ; preds = %.lr.ph2, %55
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %10, align 4
%45 = load i32, ptr %5, align 4
%46 = mul nsw i32 %44, %45
%47 = add nsw i32 %43, %46
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds double, ptr %42, i64 %48
%50 = load double, ptr %49, align 8
%51 = load ptr, ptr %12, align 8
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
store double %50, ptr %54, align 8
br label %55
55: ; preds = %41
%56 = load i32, ptr %10, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %10, align 4
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %5, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %55
br label %61
61: ; preds = %._crit_edge3, %35
%62 = load i32, ptr %5, align 4
%63 = load ptr, ptr %12, align 8
%64 = load i32, ptr %8, align 4
%65 = call ptr @r8vec_house_column(i32 noundef %62, ptr noundef %63, i32 noundef %64)
store ptr %65, ptr %11, align 8
%66 = load i32, ptr %5, align 4
%67 = load ptr, ptr %11, align 8
%68 = call ptr @r8mat_house_form(i32 noundef %66, ptr noundef %67)
store ptr %68, ptr %9, align 8
%69 = load ptr, ptr %11, align 8
%70 = call i32 @free(ptr noundef %69)
%71 = load ptr, ptr %12, align 8
%72 = call i32 @free(ptr noundef %71)
%73 = load ptr, ptr %9, align 8
ret ptr %73
}
declare i64 @malloc(i32 noundef) #1
declare ptr @r8vec_house_column(i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @r8mat_house_form(i32 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp13axrnar.c'
source_filename = "/tmp/tmp13axrnar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(%02x)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PrintString(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
br label %5
5: ; preds = %22, %2
%6 = load i32, ptr %4, align 4
%7 = add i32 %6, -1
store i32 %7, ptr %4, align 4
%8 = icmp ugt i32 %6, 0
br i1 %8, label %9, label %25
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isprint(i8 noundef zeroext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %18
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = call i32 @putchar(i8 noundef signext %16)
br label %22
18: ; preds = %9
%19 = load ptr, ptr %3, align 8
%20 = load i8, ptr %19, align 1
%21 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %20)
br label %22
22: ; preds = %18, %14
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i32 1
store ptr %24, ptr %3, align 8
br label %5, !llvm.loop !6
25: ; preds = %5
%26 = load ptr, ptr %3, align 8
ret ptr %26
}
declare i64 @isprint(i8 noundef zeroext) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp13axrnar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"(%02x)\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PrintString(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = add i32 %5, -1
store i32 %6, ptr %4, align 4
%7 = icmp ugt i32 %5, 0
br i1 %7, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %8
8: ; preds = %.lr.ph, %21
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isprint(i8 noundef zeroext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %17
13: ; preds = %8
%14 = load ptr, ptr %3, align 8
%15 = load i8, ptr %14, align 1
%16 = call i32 @putchar(i8 noundef signext %15)
br label %21
17: ; preds = %8
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %19)
br label %21
21: ; preds = %17, %13
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %3, align 8
%24 = load i32, ptr %4, align 4
%25 = add i32 %24, -1
store i32 %25, ptr %4, align 4
%26 = icmp ugt i32 %24, 0
br i1 %26, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
declare i64 @isprint(i8 noundef zeroext) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbppi8l9j.c'
source_filename = "/tmp/tmpbppi8l9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eventfd\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eventfd(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 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr @EINVAL, align 4
store i32 %6, ptr @errno, align 4
ret i32 -1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbppi8l9j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"eventfd\0A\00", align 1
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eventfd(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 = call i32 @printf(ptr noundef @.str)
%6 = load i32, ptr @EINVAL, align 4
store i32 %6, ptr @errno, align 4
ret i32 -1
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd4109h2r.c'
source_filename = "/tmp/tmpd4109h2r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tw1_compare_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @str_cmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @str_cmp(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/tmpd4109h2r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tw1_compare_str(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @str_cmp(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @str_cmp(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/tmprrorpkqr.c'
source_filename = "/tmp/tmprrorpkqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@genunf.genunf = internal global float 0.000000e+00, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"LOW > HIGH in GENUNF: LOW %16.6E HIGH: %16.6E\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Abort\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @genunf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = fcmp ogt float %5, %6
br i1 %7, label %9, label %8
8: ; preds = %2
br label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, float noundef %11, float noundef %12)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %14)
%16 = call i32 @exit(i32 noundef 1) #4
unreachable
17: ; preds = %8
%18 = load float, ptr %3, align 4
%19 = load float, ptr %4, align 4
%20 = load float, ptr %3, align 4
%21 = fsub float %19, %20
%22 = call float (...) @ranf()
%23 = call float @llvm.fmuladd.f32(float %21, float %22, float %18)
store float %23, ptr @genunf.genunf, align 4
%24 = load float, ptr @genunf.genunf, align 4
ret float %24
}
declare i32 @fprintf(i32 noundef, ptr noundef, float noundef, float noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare float @ranf(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprrorpkqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@genunf.genunf = internal global float 0.000000e+00, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [47 x i8] c"LOW > HIGH in GENUNF: LOW %16.6E HIGH: %16.6E\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"Abort\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @genunf(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = fcmp ogt float %5, %6
br i1 %7, label %9, label %8
8: ; preds = %2
br label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load float, ptr %3, align 4
%12 = load float, ptr %4, align 4
%13 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, float noundef %11, float noundef %12)
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef @.str.1, i32 noundef %14)
%16 = call i32 @exit(i32 noundef 1) #4
unreachable
17: ; preds = %8
%18 = load float, ptr %3, align 4
%19 = load float, ptr %4, align 4
%20 = load float, ptr %3, align 4
%21 = fsub float %19, %20
%22 = call float (...) @ranf()
%23 = call float @llvm.fmuladd.f32(float %21, float %22, float %18)
store float %23, ptr @genunf.genunf, align 4
%24 = load float, ptr @genunf.genunf, align 4
ret float %24
}
declare i32 @fprintf(i32 noundef, ptr noundef, float noundef, float noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare float @ranf(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
|
; ModuleID = '/tmp/tmpze_0uhq6.c'
source_filename = "/tmp/tmpze_0uhq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"\0ACopyright: Thorsten Joachims, [email protected]\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"This software is available for non-commercial use only. It must not\0A\00", align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"be modified and distributed without prior permission of the author.\0A\00", align 1
@.str.3 = private unnamed_addr constant [69 x i8] c"The author is not responsible for implications from the use of this\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"software.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copyright_notice() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmpze_0uhq6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [65 x i8] c"\0ACopyright: Thorsten Joachims, [email protected]\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"This software is available for non-commercial use only. It must not\0A\00", align 1
@.str.2 = private unnamed_addr constant [69 x i8] c"be modified and distributed without prior permission of the author.\0A\00", align 1
@.str.3 = private unnamed_addr constant [69 x i8] c"The author is not responsible for implications from the use of this\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"software.\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @copyright_notice() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
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/tmp609bhhig.c'
source_filename = "/tmp/tmp609bhhig.c"
target datalayout = "e-m:e-p270: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 [39 x i8] c" No target program name : aborting.\0A\00", align 1
@PRIO_PROCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Failed ioperm lp0 on\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Failed ioperm lp1 on\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Failed ioperm lp2 on\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS0 on\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS1 on\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS2 on\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS3 on\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c" execv failed\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c" Target program was %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef -1) #3
unreachable
12: ; preds = %2
%13 = load i32, ptr @PRIO_PROCESS, align 4
%14 = call i32 @setpriority(i32 noundef %13, i32 noundef 0, i32 noundef 0)
%15 = call i64 @ioperm(i32 noundef 888, i32 noundef 3, i32 noundef 1)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = call i32 @perror(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %12
%20 = call i64 @ioperm(i32 noundef 632, i32 noundef 3, i32 noundef 1)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @perror(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %19
%25 = call i64 @ioperm(i32 noundef 956, i32 noundef 3, i32 noundef 1)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @perror(ptr noundef @.str.3)
br label %29
29: ; preds = %27, %24
%30 = call i64 @ioperm(i32 noundef 1016, i32 noundef 8, i32 noundef 1)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @perror(ptr noundef @.str.4)
br label %34
34: ; preds = %32, %29
%35 = call i64 @ioperm(i32 noundef 760, i32 noundef 8, i32 noundef 1)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @perror(ptr noundef @.str.5)
br label %39
39: ; preds = %37, %34
%40 = call i64 @ioperm(i32 noundef 1000, i32 noundef 8, i32 noundef 1)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 @perror(ptr noundef @.str.6)
br label %44
44: ; preds = %42, %39
%45 = call i64 @ioperm(i32 noundef 744, i32 noundef 8, i32 noundef 1)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 @perror(ptr noundef @.str.7)
br label %49
49: ; preds = %47, %44
%50 = call i32 (...) @getgid()
%51 = call i32 @setgid(i32 noundef %50)
%52 = call i32 (...) @getuid()
%53 = call i32 @setuid(i32 noundef %52)
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 1
%59 = call i32 @execvp(ptr noundef %56, ptr noundef %58)
%60 = call i32 @perror(ptr noundef @.str.8)
%61 = load i32, ptr @stderr, align 4
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 1
%64 = load ptr, ptr %63, align 8
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.9, ptr noundef %64)
%66 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setpriority(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setgid(i32 noundef) #1
declare i32 @getgid(...) #1
declare i32 @setuid(i32 noundef) #1
declare i32 @getuid(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp609bhhig.c"
target datalayout = "e-m:e-p270: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 [39 x i8] c" No target program name : aborting.\0A\00", align 1
@PRIO_PROCESS = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [21 x i8] c"Failed ioperm lp0 on\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"Failed ioperm lp1 on\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"Failed ioperm lp2 on\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS0 on\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS1 on\00", align 1
@.str.6 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS2 on\00", align 1
@.str.7 = private unnamed_addr constant [23 x i8] c"Failed ioperm ttyS3 on\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c" execv failed\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c" Target program was %s.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 2
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = call i32 @exit(i32 noundef -1) #3
unreachable
12: ; preds = %2
%13 = load i32, ptr @PRIO_PROCESS, align 4
%14 = call i32 @setpriority(i32 noundef %13, i32 noundef 0, i32 noundef 0)
%15 = call i64 @ioperm(i32 noundef 888, i32 noundef 3, i32 noundef 1)
%16 = icmp ne i64 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %12
%18 = call i32 @perror(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %12
%20 = call i64 @ioperm(i32 noundef 632, i32 noundef 3, i32 noundef 1)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @perror(ptr noundef @.str.2)
br label %24
24: ; preds = %22, %19
%25 = call i64 @ioperm(i32 noundef 956, i32 noundef 3, i32 noundef 1)
%26 = icmp ne i64 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %24
%28 = call i32 @perror(ptr noundef @.str.3)
br label %29
29: ; preds = %27, %24
%30 = call i64 @ioperm(i32 noundef 1016, i32 noundef 8, i32 noundef 1)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %34
32: ; preds = %29
%33 = call i32 @perror(ptr noundef @.str.4)
br label %34
34: ; preds = %32, %29
%35 = call i64 @ioperm(i32 noundef 760, i32 noundef 8, i32 noundef 1)
%36 = icmp ne i64 %35, 0
br i1 %36, label %37, label %39
37: ; preds = %34
%38 = call i32 @perror(ptr noundef @.str.5)
br label %39
39: ; preds = %37, %34
%40 = call i64 @ioperm(i32 noundef 1000, i32 noundef 8, i32 noundef 1)
%41 = icmp ne i64 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %39
%43 = call i32 @perror(ptr noundef @.str.6)
br label %44
44: ; preds = %42, %39
%45 = call i64 @ioperm(i32 noundef 744, i32 noundef 8, i32 noundef 1)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = call i32 @perror(ptr noundef @.str.7)
br label %49
49: ; preds = %47, %44
%50 = call i32 (...) @getgid()
%51 = call i32 @setgid(i32 noundef %50)
%52 = call i32 (...) @getuid()
%53 = call i32 @setuid(i32 noundef %52)
%54 = load ptr, ptr %5, align 8
%55 = getelementptr inbounds ptr, ptr %54, i64 1
%56 = load ptr, ptr %55, align 8
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds ptr, ptr %57, i64 1
%59 = call i32 @execvp(ptr noundef %56, ptr noundef %58)
%60 = call i32 @perror(ptr noundef @.str.8)
%61 = load i32, ptr @stderr, align 4
%62 = load ptr, ptr %5, align 8
%63 = getelementptr inbounds ptr, ptr %62, i64 1
%64 = load ptr, ptr %63, align 8
%65 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.9, ptr noundef %64)
%66 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setpriority(i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @ioperm(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @setgid(i32 noundef) #1
declare i32 @getgid(...) #1
declare i32 @setuid(i32 noundef) #1
declare i32 @getuid(...) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpudx6ylky.c'
source_filename = "/tmp/tmpudx6ylky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@aim_callhandler.i = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aim_callhandler(i32 noundef %0, i32 noundef %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i16, align 2
%9 = alloca i16, align 2
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i16 %2, ptr %8, align 2
store i16 %3, ptr %9, align 2
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %4
store i32 0, ptr %5, align 4
br label %30
13: ; preds = %4
%14 = load i16, ptr %9, align 2
%15 = zext i16 %14 to i32
%16 = icmp eq i32 %15, 65535
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %5, align 4
br label %30
18: ; preds = %13
%19 = load i32, ptr @aim_callhandler.i, align 4
%20 = icmp sge i32 %19, 1
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 (...) @abort() #2
unreachable
23: ; preds = %18
%24 = load i32, ptr @aim_callhandler.i, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr @aim_callhandler.i, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = load i16, ptr %8, align 2
%29 = call i32 @aim_callhandler(i32 noundef %26, i32 noundef %27, i16 noundef zeroext %28, i16 noundef zeroext -1)
store i32 %29, ptr %5, align 4
br label %30
30: ; preds = %23, %17, %12
%31 = load i32, ptr %5, align 4
ret i32 %31
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpudx6ylky.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@aim_callhandler.i = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aim_callhandler(i32 noundef %0, i32 noundef %1, i16 noundef zeroext %2, i16 noundef zeroext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i16, align 2
%9 = alloca i16, align 2
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i16 %2, ptr %8, align 2
store i16 %3, ptr %9, align 2
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %13, label %12
12: ; preds = %4
store i32 0, ptr %5, align 4
br label %30
13: ; preds = %4
%14 = load i16, ptr %9, align 2
%15 = zext i16 %14 to i32
%16 = icmp eq i32 %15, 65535
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 0, ptr %5, align 4
br label %30
18: ; preds = %13
%19 = load i32, ptr @aim_callhandler.i, align 4
%20 = icmp sge i32 %19, 1
br i1 %20, label %21, label %23
21: ; preds = %18
%22 = call i32 (...) @abort() #2
unreachable
23: ; preds = %18
%24 = load i32, ptr @aim_callhandler.i, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr @aim_callhandler.i, align 4
%26 = load i32, ptr %6, align 4
%27 = load i32, ptr %7, align 4
%28 = load i16, ptr %8, align 2
%29 = call i32 @aim_callhandler(i32 noundef %26, i32 noundef %27, i16 noundef zeroext %28, i16 noundef zeroext -1)
store i32 %29, ptr %5, align 4
br label %30
30: ; preds = %23, %17, %12
%31 = load i32, ptr %5, align 4
ret i32 %31
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyhq6qlwn.c'
source_filename = "/tmp/tmpyhq6qlwn.c"
target datalayout = "e-m:e-p270: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/tmpyhq6qlwn.c"
target datalayout = "e-m:e-p270: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/tmpjiaxoup6.c'
source_filename = "/tmp/tmpjiaxoup6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0x11\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x11() #0 {
%1 = call i64 @isbdigit(i32 noundef 17)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 90, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpjiaxoup6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isbdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"isbdigit should be 0 for 0x11\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isbdigit_0x11() #0 {
%1 = call i64 @isbdigit(i32 noundef 17)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 90, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isbdigit(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/tmpmjuyaav4.c'
source_filename = "/tmp/tmpmjuyaav4.c"
target datalayout = "e-m:e-p270: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/tmpmjuyaav4.c"
target datalayout = "e-m:e-p270: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/tmpkz2an4vc.c'
source_filename = "/tmp/tmpkz2an4vc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\0A\0ARESULT: *** FAIL (%i) ***\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"\0A\0ARESULT: Success\0A\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 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i64 (...) @test_convolve()
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = add nsw i64 %6, %4
%8 = trunc i64 %7 to i32
store i32 %8, ptr %2, align 4
%9 = call i64 (...) @test_decimate()
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = add nsw i64 %11, %9
%13 = trunc i64 %12 to i32
store i32 %13, ptr %2, align 4
%14 = call i64 (...) @test_mse()
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = add nsw i64 %16, %14
%18 = trunc i64 %17 to i32
store i32 %18, ptr %2, align 4
%19 = call i64 (...) @test_psnr()
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %19
%23 = trunc i64 %22 to i32
store i32 %23, ptr %2, align 4
%24 = call i64 (...) @test_ssim()
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = add nsw i64 %26, %24
%28 = trunc i64 %27 to i32
store i32 %28, ptr %2, align 4
%29 = call i64 (...) @test_ms_ssim()
%30 = load i32, ptr %2, align 4
%31 = sext i32 %30 to i64
%32 = add nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %0
%37 = load i32, ptr %2, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
br label %41
39: ; preds = %0
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr %2, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @test_convolve(...) #1
declare i64 @test_decimate(...) #1
declare i64 @test_mse(...) #1
declare i64 @test_psnr(...) #1
declare i64 @test_ssim(...) #1
declare i64 @test_ms_ssim(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkz2an4vc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [30 x i8] c"\0A\0ARESULT: *** FAIL (%i) ***\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"\0A\0ARESULT: Success\0A\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 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i64 (...) @test_convolve()
%5 = load i32, ptr %2, align 4
%6 = sext i32 %5 to i64
%7 = add nsw i64 %6, %4
%8 = trunc i64 %7 to i32
store i32 %8, ptr %2, align 4
%9 = call i64 (...) @test_decimate()
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = add nsw i64 %11, %9
%13 = trunc i64 %12 to i32
store i32 %13, ptr %2, align 4
%14 = call i64 (...) @test_mse()
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = add nsw i64 %16, %14
%18 = trunc i64 %17 to i32
store i32 %18, ptr %2, align 4
%19 = call i64 (...) @test_psnr()
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %19
%23 = trunc i64 %22 to i32
store i32 %23, ptr %2, align 4
%24 = call i64 (...) @test_ssim()
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = add nsw i64 %26, %24
%28 = trunc i64 %27 to i32
store i32 %28, ptr %2, align 4
%29 = call i64 (...) @test_ms_ssim()
%30 = load i32, ptr %2, align 4
%31 = sext i32 %30 to i64
%32 = add nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %0
%37 = load i32, ptr %2, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %37)
br label %41
39: ; preds = %0
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %41
41: ; preds = %39, %36
%42 = load i32, ptr %2, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @test_convolve(...) #1
declare i64 @test_decimate(...) #1
declare i64 @test_mse(...) #1
declare i64 @test_psnr(...) #1
declare i64 @test_ssim(...) #1
declare i64 @test_ms_ssim(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvlneh2r4.c'
source_filename = "/tmp/tmpvlneh2r4.c"
target datalayout = "e-m:e-p270: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/tmpvlneh2r4.c"
target datalayout = "e-m:e-p270: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/tmpe41ft4ek.c'
source_filename = "/tmp/tmpe41ft4ek.c"
target datalayout = "e-m:e-p270: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/tmpe41ft4ek.c"
target datalayout = "e-m:e-p270: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/tmprv78_hyx.c'
source_filename = "/tmp/tmprv78_hyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_READONLY = 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/tmprv78_hyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SQLITE_READONLY = 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/tmpaipnv_0f.c'
source_filename = "/tmp/tmpaipnv_0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_RDLCK = dso_local global i32 0, align 4
@F_WRLCK = 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/tmpaipnv_0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@F_RDLCK = dso_local global i32 0, align 4
@F_WRLCK = 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/tmpxadh95df.c'
source_filename = "/tmp/tmpxadh95df.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [69 x i8] c"Invalid number. Please enter an integer greater than or equal to 3: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @capturePositiveValue() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3
3: ; preds = %6, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 3
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = call i32 @printf(ptr noundef @.str.1)
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3, !llvm.loop !6
9: ; preds = %3
%10 = load i32, ptr %1, align 4
ret i32 %10
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxadh95df.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [69 x i8] c"Invalid number. Please enter an integer greater than or equal to 3: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @capturePositiveValue() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 3
br i1 %4, label %.lr.ph, label %10
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = call i32 @printf(ptr noundef @.str.1)
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 3
br i1 %9, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %10
10: ; preds = %._crit_edge, %0
%11 = load i32, ptr %1, align 4
ret i32 %11
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn08yt9zp.c'
source_filename = "/tmp/tmpn08yt9zp.c"
target datalayout = "e-m:e-p270: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/tmpn08yt9zp.c"
target datalayout = "e-m:e-p270: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/tmpz201e3qm.c'
source_filename = "/tmp/tmpz201e3qm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i32 1
store ptr %9, ptr %5, align 8
br label %10
10: ; preds = %17, %2
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load ptr, ptr %5, align 8
%15 = load ptr, ptr %14, align 8
%16 = call i32 @scanfile(ptr noundef %15)
br label %17
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i32 1
store ptr %21, ptr %5, align 8
br label %10, !llvm.loop !6
22: ; preds = %10
ret i32 0
}
declare i32 @scanfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpz201e3qm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = add nsw i32 %6, -1
store i32 %7, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i32 1
store ptr %9, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %16
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %13, align 8
%15 = call i32 @scanfile(ptr noundef %14)
br label %16
16: ; preds = %12
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, -1
store i32 %18, ptr %4, align 4
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i32 1
store ptr %20, ptr %5, align 8
%21 = load i32, ptr %4, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %23
23: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @scanfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpb2y9gx2f.c'
source_filename = "/tmp/tmpb2y9gx2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"start is %s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [99 x i8] c"warning - unclosed loop detected in get_list_as_string with requested tag %s and delimiters %s %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [97 x i8] c"Warning - blank loop detected in get_list_as_string with requested tag %s and delimiters %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_list_as_string(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%23 = load ptr, ptr %11, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %6
store ptr @.str, ptr %11, align 8
br label %26
26: ; preds = %25, %6
%27 = load ptr, ptr %12, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %30, label %29
29: ; preds = %26
store ptr @.str.1, ptr %12, align 8
br label %30
30: ; preds = %29, %26
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %9, align 8
%33 = load ptr, ptr %10, align 8
%34 = load ptr, ptr %13, align 8
%35 = call ptr @find_argument(i32 noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34)
store ptr %35, ptr %14, align 8
%36 = load ptr, ptr %14, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %39
38: ; preds = %30
store ptr null, ptr %7, align 8
br label %138
39: ; preds = %30
%40 = load ptr, ptr %14, align 8
%41 = call i32 @printf(ptr noundef @.str.2, ptr noundef %40)
%42 = load ptr, ptr %11, align 8
%43 = load ptr, ptr %14, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 0
%45 = load i8, ptr %44, align 1
%46 = call i32 @strchr(ptr noundef %42, i8 noundef signext %45)
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %39
%49 = load ptr, ptr %14, align 8
%50 = call ptr @copy_string(ptr noundef %49)
store ptr %50, ptr %7, align 8
br label %138
51: ; preds = %39
%52 = load i32, ptr %8, align 4
%53 = load ptr, ptr %9, align 8
%54 = load ptr, ptr %10, align 8
%55 = call i32 @find_tok(i32 noundef %52, ptr noundef %53, ptr noundef %54)
store i32 %55, ptr %15, align 4
%56 = load i32, ptr %15, align 4
store i32 %56, ptr %17, align 4
br label %57
57: ; preds = %84, %51
%58 = load i32, ptr %17, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %87
61: ; preds = %57
%62 = load ptr, ptr %9, align 8
%63 = load i32, ptr %17, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = load ptr, ptr %12, align 8
%68 = call ptr @find_first_delim_in_string(ptr noundef %66, ptr noundef %67)
%69 = icmp ne ptr %68, null
br i1 %69, label %70, label %72
70: ; preds = %61
%71 = load i32, ptr %17, align 4
store i32 %71, ptr %16, align 4
br label %87
72: ; preds = %61
%73 = load i32, ptr %17, align 4
%74 = load i32, ptr %8, align 4
%75 = sub nsw i32 %74, 1
%76 = icmp eq i32 %73, %75
br i1 %76, label %77, label %83
77: ; preds = %72
%78 = load i32, ptr @stderr, align 4
%79 = load ptr, ptr %10, align 8
%80 = load ptr, ptr %11, align 8
%81 = load ptr, ptr %12, align 8
%82 = call i32 @fprintf(i32 noundef %78, ptr noundef @.str.3, ptr noundef %79, ptr noundef %80, ptr noundef %81)
store ptr null, ptr %7, align 8
br label %138
83: ; preds = %72
br label %84
84: ; preds = %83
%85 = load i32, ptr %17, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %17, align 4
br label %57, !llvm.loop !6
87: ; preds = %70, %57
%88 = load i32, ptr %8, align 4
%89 = load ptr, ptr %9, align 8
%90 = load i32, ptr %15, align 4
%91 = load i32, ptr %16, align 4
%92 = call ptr @argv_subset_to_string(i32 noundef %88, ptr noundef %89, i32 noundef %90, i32 noundef %91)
store ptr %92, ptr %18, align 8
%93 = load i32, ptr %15, align 4
store i32 %93, ptr %19, align 4
br label %94
94: ; preds = %103, %87
%95 = load i32, ptr %19, align 4
%96 = load i32, ptr %16, align 4
%97 = icmp sle i32 %95, %96
br i1 %97, label %98, label %106
98: ; preds = %94
%99 = load ptr, ptr %13, align 8
%100 = load i32, ptr %19, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i32, ptr %99, i64 %101
store i32 1, ptr %102, align 4
br label %103
103: ; preds = %98
%104 = load i32, ptr %19, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %19, align 4
br label %94, !llvm.loop !8
106: ; preds = %94
%107 = load ptr, ptr %18, align 8
%108 = load ptr, ptr %11, align 8
%109 = call ptr @find_first_delim_in_string(ptr noundef %107, ptr noundef %108)
store ptr %109, ptr %20, align 8
%110 = load ptr, ptr %20, align 8
%111 = call i32 @assert(ptr noundef %110)
%112 = load ptr, ptr %20, align 8
%113 = call i64 @strlen(ptr noundef %112)
%114 = icmp eq i64 %113, 0
br i1 %114, label %115, label %123
115: ; preds = %106
%116 = load i32, ptr @stderr, align 4
%117 = load ptr, ptr %10, align 8
%118 = load ptr, ptr %11, align 8
%119 = load ptr, ptr %12, align 8
%120 = call i32 @fprintf(i32 noundef %116, ptr noundef @.str.4, ptr noundef %117, ptr noundef %118, ptr noundef %119)
%121 = load ptr, ptr %18, align 8
%122 = call i32 @free(ptr noundef %121)
store ptr null, ptr %7, align 8
br label %138
123: ; preds = %106
%124 = load ptr, ptr %20, align 8
%125 = getelementptr inbounds i8, ptr %124, i32 1
store ptr %125, ptr %20, align 8
%126 = load ptr, ptr %20, align 8
%127 = load ptr, ptr %12, align 8
%128 = call ptr @find_first_delim_in_string(ptr noundef %126, ptr noundef %127)
store ptr %128, ptr %21, align 8
%129 = load ptr, ptr %21, align 8
%130 = call i32 @assert(ptr noundef %129)
%131 = load ptr, ptr %21, align 8
%132 = getelementptr inbounds i8, ptr %131, i64 0
store i8 0, ptr %132, align 1
%133 = load ptr, ptr %20, align 8
%134 = call ptr @copy_string(ptr noundef %133)
store ptr %134, ptr %22, align 8
%135 = load ptr, ptr %18, align 8
%136 = call i32 @free(ptr noundef %135)
%137 = load ptr, ptr %22, align 8
store ptr %137, ptr %7, align 8
br label %138
138: ; preds = %123, %115, %77, %48, %38
%139 = load ptr, ptr %7, align 8
ret ptr %139
}
declare ptr @find_argument(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @copy_string(ptr noundef) #1
declare i32 @find_tok(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @find_first_delim_in_string(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @argv_subset_to_string(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb2y9gx2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"start is %s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [99 x i8] c"warning - unclosed loop detected in get_list_as_string with requested tag %s and delimiters %s %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [97 x i8] c"Warning - blank loop detected in get_list_as_string with requested tag %s and delimiters %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_list_as_string(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca ptr, align 8
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
%23 = load ptr, ptr %11, align 8
%24 = icmp ne ptr %23, null
br i1 %24, label %26, label %25
25: ; preds = %6
store ptr @.str, ptr %11, align 8
br label %26
26: ; preds = %25, %6
%27 = load ptr, ptr %12, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %30, label %29
29: ; preds = %26
store ptr @.str.1, ptr %12, align 8
br label %30
30: ; preds = %29, %26
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %9, align 8
%33 = load ptr, ptr %10, align 8
%34 = load ptr, ptr %13, align 8
%35 = call ptr @find_argument(i32 noundef %31, ptr noundef %32, ptr noundef %33, ptr noundef %34)
store ptr %35, ptr %14, align 8
%36 = load ptr, ptr %14, align 8
%37 = icmp eq ptr %36, null
br i1 %37, label %38, label %39
38: ; preds = %30
store ptr null, ptr %7, align 8
br label %142
39: ; preds = %30
%40 = load ptr, ptr %14, align 8
%41 = call i32 @printf(ptr noundef @.str.2, ptr noundef %40)
%42 = load ptr, ptr %11, align 8
%43 = load ptr, ptr %14, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 0
%45 = load i8, ptr %44, align 1
%46 = call i32 @strchr(ptr noundef %42, i8 noundef signext %45)
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %39
%49 = load ptr, ptr %14, align 8
%50 = call ptr @copy_string(ptr noundef %49)
store ptr %50, ptr %7, align 8
br label %142
51: ; preds = %39
%52 = load i32, ptr %8, align 4
%53 = load ptr, ptr %9, align 8
%54 = load ptr, ptr %10, align 8
%55 = call i32 @find_tok(i32 noundef %52, ptr noundef %53, ptr noundef %54)
store i32 %55, ptr %15, align 4
%56 = load i32, ptr %15, align 4
store i32 %56, ptr %17, align 4
%57 = load i32, ptr %17, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %51
br label %60
60: ; preds = %.lr.ph, %83
%61 = load ptr, ptr %9, align 8
%62 = load i32, ptr %17, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = load ptr, ptr %12, align 8
%67 = call ptr @find_first_delim_in_string(ptr noundef %65, ptr noundef %66)
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %71
69: ; preds = %60
%70 = load i32, ptr %17, align 4
store i32 %70, ptr %16, align 4
br label %89
71: ; preds = %60
%72 = load i32, ptr %17, align 4
%73 = load i32, ptr %8, align 4
%74 = sub nsw i32 %73, 1
%75 = icmp eq i32 %72, %74
br i1 %75, label %76, label %82
76: ; preds = %71
%77 = load i32, ptr @stderr, align 4
%78 = load ptr, ptr %10, align 8
%79 = load ptr, ptr %11, align 8
%80 = load ptr, ptr %12, align 8
%81 = call i32 @fprintf(i32 noundef %77, ptr noundef @.str.3, ptr noundef %78, ptr noundef %79, ptr noundef %80)
store ptr null, ptr %7, align 8
br label %142
82: ; preds = %71
br label %83
83: ; preds = %82
%84 = load i32, ptr %17, align 4
%85 = add nsw i32 %84, 1
store i32 %85, ptr %17, align 4
%86 = load i32, ptr %17, align 4
%87 = load i32, ptr %8, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %60, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %83
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %51
br label %89
89: ; preds = %.loopexit, %69
%90 = load i32, ptr %8, align 4
%91 = load ptr, ptr %9, align 8
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %16, align 4
%94 = call ptr @argv_subset_to_string(i32 noundef %90, ptr noundef %91, i32 noundef %92, i32 noundef %93)
store ptr %94, ptr %18, align 8
%95 = load i32, ptr %15, align 4
store i32 %95, ptr %19, align 4
%96 = load i32, ptr %19, align 4
%97 = load i32, ptr %16, align 4
%98 = icmp sle i32 %96, %97
br i1 %98, label %.lr.ph1, label %110
.lr.ph1: ; preds = %89
br label %99
99: ; preds = %.lr.ph1, %104
%100 = load ptr, ptr %13, align 8
%101 = load i32, ptr %19, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i32, ptr %100, i64 %102
store i32 1, ptr %103, align 4
br label %104
104: ; preds = %99
%105 = load i32, ptr %19, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %19, align 4
%107 = load i32, ptr %19, align 4
%108 = load i32, ptr %16, align 4
%109 = icmp sle i32 %107, %108
br i1 %109, label %99, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %104
br label %110
110: ; preds = %._crit_edge, %89
%111 = load ptr, ptr %18, align 8
%112 = load ptr, ptr %11, align 8
%113 = call ptr @find_first_delim_in_string(ptr noundef %111, ptr noundef %112)
store ptr %113, ptr %20, align 8
%114 = load ptr, ptr %20, align 8
%115 = call i32 @assert(ptr noundef %114)
%116 = load ptr, ptr %20, align 8
%117 = call i64 @strlen(ptr noundef %116)
%118 = icmp eq i64 %117, 0
br i1 %118, label %119, label %127
119: ; preds = %110
%120 = load i32, ptr @stderr, align 4
%121 = load ptr, ptr %10, align 8
%122 = load ptr, ptr %11, align 8
%123 = load ptr, ptr %12, align 8
%124 = call i32 @fprintf(i32 noundef %120, ptr noundef @.str.4, ptr noundef %121, ptr noundef %122, ptr noundef %123)
%125 = load ptr, ptr %18, align 8
%126 = call i32 @free(ptr noundef %125)
store ptr null, ptr %7, align 8
br label %142
127: ; preds = %110
%128 = load ptr, ptr %20, align 8
%129 = getelementptr inbounds i8, ptr %128, i32 1
store ptr %129, ptr %20, align 8
%130 = load ptr, ptr %20, align 8
%131 = load ptr, ptr %12, align 8
%132 = call ptr @find_first_delim_in_string(ptr noundef %130, ptr noundef %131)
store ptr %132, ptr %21, align 8
%133 = load ptr, ptr %21, align 8
%134 = call i32 @assert(ptr noundef %133)
%135 = load ptr, ptr %21, align 8
%136 = getelementptr inbounds i8, ptr %135, i64 0
store i8 0, ptr %136, align 1
%137 = load ptr, ptr %20, align 8
%138 = call ptr @copy_string(ptr noundef %137)
store ptr %138, ptr %22, align 8
%139 = load ptr, ptr %18, align 8
%140 = call i32 @free(ptr noundef %139)
%141 = load ptr, ptr %22, align 8
store ptr %141, ptr %7, align 8
br label %142
142: ; preds = %127, %119, %76, %48, %38
%143 = load ptr, ptr %7, align 8
ret ptr %143
}
declare ptr @find_argument(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @strchr(ptr noundef, i8 noundef signext) #1
declare ptr @copy_string(ptr noundef) #1
declare i32 @find_tok(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @find_first_delim_in_string(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @argv_subset_to_string(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpnfe4phcg.c'
source_filename = "/tmp/tmpnfe4phcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 48, i1 false)
%4 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 0
store i32 31, ptr %4, align 16
%5 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 1
store i32 29, ptr %5, align 4
%6 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 4
store i32 31, ptr %6, align 16
%7 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 5
store i32 30, ptr %7, align 4
%8 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 6
store i32 31, ptr %8, align 8
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %20, %0
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 12
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %16
%18 = load i32, ptr %17, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnfe4phcg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2d\09%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [12 x i32], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %2, i8 0, i64 48, i1 false)
%4 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 0
store i32 31, ptr %4, align 16
%5 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 1
store i32 29, ptr %5, align 4
%6 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 4
store i32 31, ptr %6, align 16
%7 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 5
store i32 30, ptr %7, align 4
%8 = getelementptr inbounds [12 x i32], ptr %2, i32 0, i32 6
store i32 31, ptr %8, align 8
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 12
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %19
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [12 x i32], ptr %2, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp slt i32 %22, 12
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %24
24: ; preds = %._crit_edge, %0
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpeyqv6jx1.c'
source_filename = "/tmp/tmpeyqv6jx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @malloc(i32 noundef 100505)
%4 = call ptr @realloc(ptr noundef null, i32 noundef 405)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = call i32 (...) @__dump_alloc_info()
ret i32 0
}
declare i32 @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @__dump_alloc_info(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeyqv6jx1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%3 = call i32 @malloc(i32 noundef 100505)
%4 = call ptr @realloc(ptr noundef null, i32 noundef 405)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
%7 = call i32 (...) @__dump_alloc_info()
ret i32 0
}
declare i32 @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @__dump_alloc_info(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptj4kbgg9.c'
source_filename = "/tmp/tmptj4kbgg9.c"
target datalayout = "e-m:e-p270: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/tmptj4kbgg9.c"
target datalayout = "e-m:e-p270: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/tmpvnukhbqx.c'
source_filename = "/tmp/tmpvnukhbqx.c"
target datalayout = "e-m:e-p270: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/tmpvnukhbqx.c"
target datalayout = "e-m:e-p270: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/tmpby2ou1bf.c'
source_filename = "/tmp/tmpby2ou1bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wigNaiveSynthesis_symY(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%25 = load i32, ptr %8, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %7
%28 = load i32, ptr %8, align 4
br label %32
29: ; preds = %7
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 0, %30
br label %32
32: ; preds = %29, %27
%33 = phi i32 [ %28, %27 ], [ %31, %29 ]
%34 = load i32, ptr %9, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = load i32, ptr %9, align 4
br label %41
38: ; preds = %32
%39 = load i32, ptr %9, align 4
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %38, %36
%42 = phi i32 [ %37, %36 ], [ %40, %38 ]
%43 = icmp sgt i32 %33, %42
br i1 %43, label %44, label %54
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = load i32, ptr %8, align 4
br label %52
49: ; preds = %44
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 0, %50
br label %52
52: ; preds = %49, %47
%53 = phi i32 [ %48, %47 ], [ %51, %49 ]
br label %64
54: ; preds = %41
%55 = load i32, ptr %9, align 4
%56 = icmp sgt i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = load i32, ptr %9, align 4
br label %62
59: ; preds = %54
%60 = load i32, ptr %9, align 4
%61 = sub nsw i32 0, %60
br label %62
62: ; preds = %59, %57
%63 = phi i32 [ %58, %57 ], [ %61, %59 ]
br label %64
64: ; preds = %62, %52
%65 = phi i32 [ %53, %52 ], [ %63, %62 ]
store i32 %65, ptr %17, align 4
%66 = load i32, ptr %10, align 4
%67 = mul nsw i32 2, %66
store i32 %67, ptr %18, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %70, label %79
70: ; preds = %64
%71 = load i32, ptr %17, align 4
%72 = load i32, ptr %9, align 4
%73 = sub nsw i32 %71, %72
%74 = srem i32 %73, 2
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 -1, ptr %19, align 4
br label %78
77: ; preds = %70
store i32 1, ptr %19, align 4
br label %78
78: ; preds = %77, %76
br label %88
79: ; preds = %64
%80 = load i32, ptr %17, align 4
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %80, %81
%83 = srem i32 %82, 2
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %79
store i32 -1, ptr %19, align 4
br label %87
86: ; preds = %79
store i32 1, ptr %19, align 4
br label %87
87: ; preds = %86, %85
br label %88
88: ; preds = %87, %78
%89 = load ptr, ptr %12, align 8
%90 = load i32, ptr %10, align 4
%91 = load i32, ptr %17, align 4
%92 = sub nsw i32 %90, %91
%93 = load i32, ptr %18, align 4
%94 = mul nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %89, i64 %95
%97 = load i32, ptr %10, align 4
%98 = load i32, ptr %17, align 4
%99 = sub nsw i32 %97, %98
%100 = sext i32 %99 to i64
%101 = sub i64 0, %100
%102 = getelementptr inbounds double, ptr %96, i64 %101
store ptr %102, ptr %20, align 8
%103 = load ptr, ptr %14, align 8
%104 = load ptr, ptr %11, align 8
%105 = load i32, ptr %18, align 4
%106 = sext i32 %105 to i64
%107 = mul i64 8, %106
%108 = trunc i64 %107 to i32
%109 = call i32 @memcpy(ptr noundef %103, ptr noundef %104, i32 noundef %108)
store i32 0, ptr %15, align 4
br label %110
110: ; preds = %125, %88
%111 = load i32, ptr %15, align 4
%112 = load i32, ptr %18, align 4
%113 = icmp slt i32 %111, %112
br i1 %113, label %114, label %128
114: ; preds = %110
%115 = load i32, ptr %19, align 4
%116 = sitofp i32 %115 to double
%117 = load ptr, ptr %14, align 8
%118 = load i32, ptr %15, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds double, ptr %117, i64 %119
%121 = load double, ptr %120, align 8
%122 = fmul double %121, %116
store double %122, ptr %120, align 8
%123 = load i32, ptr %19, align 4
%124 = mul nsw i32 %123, -1
store i32 %124, ptr %19, align 4
br label %125
125: ; preds = %114
%126 = load i32, ptr %15, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %15, align 4
br label %110, !llvm.loop !6
128: ; preds = %110
store i32 0, ptr %15, align 4
br label %129
129: ; preds = %251, %128
%130 = load i32, ptr %15, align 4
%131 = load i32, ptr %18, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %133, label %254
133: ; preds = %129
store double 0.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %22, align 8
store double 0.000000e+00, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %16, align 4
br label %134
134: ; preds = %154, %133
%135 = load i32, ptr %16, align 4
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %17, align 4
%138 = sub nsw i32 %136, %137
%139 = srem i32 %138, 4
%140 = icmp slt i32 %135, %139
br i1 %140, label %141, label %157
141: ; preds = %134
%142 = load ptr, ptr %20, align 8
%143 = load i32, ptr %16, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, ptr %142, i64 %144
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %14, align 8
%148 = load i32, ptr %16, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %147, i64 %149
%151 = load double, ptr %150, align 8
%152 = load double, ptr %21, align 8
%153 = call double @llvm.fmuladd.f64(double %146, double %151, double %152)
store double %153, ptr %21, align 8
br label %154
154: ; preds = %141
%155 = load i32, ptr %16, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %16, align 4
br label %134, !llvm.loop !8
157: ; preds = %134
br label %158
158: ; preds = %219, %157
%159 = load i32, ptr %16, align 4
%160 = load i32, ptr %10, align 4
%161 = load i32, ptr %17, align 4
%162 = sub nsw i32 %160, %161
%163 = icmp slt i32 %159, %162
br i1 %163, label %164, label %222
164: ; preds = %158
%165 = load ptr, ptr %20, align 8
%166 = load i32, ptr %16, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, ptr %165, i64 %167
%169 = load double, ptr %168, align 8
%170 = load ptr, ptr %14, align 8
%171 = load i32, ptr %16, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %170, i64 %172
%174 = load double, ptr %173, align 8
%175 = load double, ptr %21, align 8
%176 = call double @llvm.fmuladd.f64(double %169, double %174, double %175)
store double %176, ptr %21, align 8
%177 = load ptr, ptr %20, align 8
%178 = load i32, ptr %16, align 4
%179 = add nsw i32 %178, 1
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %177, i64 %180
%182 = load double, ptr %181, align 8
%183 = load ptr, ptr %14, align 8
%184 = load i32, ptr %16, align 4
%185 = add nsw i32 %184, 1
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds double, ptr %183, i64 %186
%188 = load double, ptr %187, align 8
%189 = load double, ptr %22, align 8
%190 = call double @llvm.fmuladd.f64(double %182, double %188, double %189)
store double %190, ptr %22, align 8
%191 = load ptr, ptr %20, align 8
%192 = load i32, ptr %16, align 4
%193 = add nsw i32 %192, 2
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds double, ptr %191, i64 %194
%196 = load double, ptr %195, align 8
%197 = load ptr, ptr %14, align 8
%198 = load i32, ptr %16, align 4
%199 = add nsw i32 %198, 2
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds double, ptr %197, i64 %200
%202 = load double, ptr %201, align 8
%203 = load double, ptr %23, align 8
%204 = call double @llvm.fmuladd.f64(double %196, double %202, double %203)
store double %204, ptr %23, align 8
%205 = load ptr, ptr %20, align 8
%206 = load i32, ptr %16, align 4
%207 = add nsw i32 %206, 3
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds double, ptr %205, i64 %208
%210 = load double, ptr %209, align 8
%211 = load ptr, ptr %14, align 8
%212 = load i32, ptr %16, align 4
%213 = add nsw i32 %212, 3
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds double, ptr %211, i64 %214
%216 = load double, ptr %215, align 8
%217 = load double, ptr %24, align 8
%218 = call double @llvm.fmuladd.f64(double %210, double %216, double %217)
store double %218, ptr %24, align 8
br label %219
219: ; preds = %164
%220 = load i32, ptr %16, align 4
%221 = add nsw i32 %220, 4
store i32 %221, ptr %16, align 4
br label %158, !llvm.loop !9
222: ; preds = %158
%223 = load double, ptr %21, align 8
%224 = load double, ptr %22, align 8
%225 = fadd double %223, %224
%226 = load double, ptr %23, align 8
%227 = fadd double %225, %226
%228 = load double, ptr %24, align 8
%229 = fadd double %227, %228
%230 = load ptr, ptr %13, align 8
%231 = load i32, ptr %15, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %230, i64 %232
store double %229, ptr %233, align 8
%234 = load ptr, ptr %12, align 8
%235 = load i32, ptr %18, align 4
%236 = load i32, ptr %15, align 4
%237 = sub nsw i32 %235, %236
%238 = sub nsw i32 %237, 1
%239 = load i32, ptr %10, align 4
%240 = load i32, ptr %17, align 4
%241 = sub nsw i32 %239, %240
%242 = mul nsw i32 %238, %241
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds double, ptr %234, i64 %243
%245 = load i32, ptr %10, align 4
%246 = load i32, ptr %17, align 4
%247 = sub nsw i32 %245, %246
%248 = sext i32 %247 to i64
%249 = sub i64 0, %248
%250 = getelementptr inbounds double, ptr %244, i64 %249
store ptr %250, ptr %20, align 8
br label %251
251: ; preds = %222
%252 = load i32, ptr %15, align 4
%253 = add nsw i32 %252, 1
store i32 %253, ptr %15, align 4
br label %129, !llvm.loop !10
254: ; preds = %129
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpby2ou1bf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wigNaiveSynthesis_symY(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
store i32 %0, ptr %8, align 4
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store ptr %3, ptr %11, align 8
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%25 = load i32, ptr %8, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %29
27: ; preds = %7
%28 = load i32, ptr %8, align 4
br label %32
29: ; preds = %7
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 0, %30
br label %32
32: ; preds = %29, %27
%33 = phi i32 [ %28, %27 ], [ %31, %29 ]
%34 = load i32, ptr %9, align 4
%35 = icmp sgt i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = load i32, ptr %9, align 4
br label %41
38: ; preds = %32
%39 = load i32, ptr %9, align 4
%40 = sub nsw i32 0, %39
br label %41
41: ; preds = %38, %36
%42 = phi i32 [ %37, %36 ], [ %40, %38 ]
%43 = icmp sgt i32 %33, %42
br i1 %43, label %44, label %54
44: ; preds = %41
%45 = load i32, ptr %8, align 4
%46 = icmp sgt i32 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %44
%48 = load i32, ptr %8, align 4
br label %52
49: ; preds = %44
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 0, %50
br label %52
52: ; preds = %49, %47
%53 = phi i32 [ %48, %47 ], [ %51, %49 ]
br label %64
54: ; preds = %41
%55 = load i32, ptr %9, align 4
%56 = icmp sgt i32 %55, 0
br i1 %56, label %57, label %59
57: ; preds = %54
%58 = load i32, ptr %9, align 4
br label %62
59: ; preds = %54
%60 = load i32, ptr %9, align 4
%61 = sub nsw i32 0, %60
br label %62
62: ; preds = %59, %57
%63 = phi i32 [ %58, %57 ], [ %61, %59 ]
br label %64
64: ; preds = %62, %52
%65 = phi i32 [ %53, %52 ], [ %63, %62 ]
store i32 %65, ptr %17, align 4
%66 = load i32, ptr %10, align 4
%67 = mul nsw i32 2, %66
store i32 %67, ptr %18, align 4
%68 = load i32, ptr %8, align 4
%69 = icmp slt i32 %68, 0
br i1 %69, label %70, label %79
70: ; preds = %64
%71 = load i32, ptr %17, align 4
%72 = load i32, ptr %9, align 4
%73 = sub nsw i32 %71, %72
%74 = srem i32 %73, 2
%75 = icmp ne i32 %74, 0
br i1 %75, label %76, label %77
76: ; preds = %70
store i32 -1, ptr %19, align 4
br label %78
77: ; preds = %70
store i32 1, ptr %19, align 4
br label %78
78: ; preds = %77, %76
br label %88
79: ; preds = %64
%80 = load i32, ptr %17, align 4
%81 = load i32, ptr %8, align 4
%82 = add nsw i32 %80, %81
%83 = srem i32 %82, 2
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %86
85: ; preds = %79
store i32 -1, ptr %19, align 4
br label %87
86: ; preds = %79
store i32 1, ptr %19, align 4
br label %87
87: ; preds = %86, %85
br label %88
88: ; preds = %87, %78
%89 = load ptr, ptr %12, align 8
%90 = load i32, ptr %10, align 4
%91 = load i32, ptr %17, align 4
%92 = sub nsw i32 %90, %91
%93 = load i32, ptr %18, align 4
%94 = mul nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds double, ptr %89, i64 %95
%97 = load i32, ptr %10, align 4
%98 = load i32, ptr %17, align 4
%99 = sub nsw i32 %97, %98
%100 = sext i32 %99 to i64
%101 = sub i64 0, %100
%102 = getelementptr inbounds double, ptr %96, i64 %101
store ptr %102, ptr %20, align 8
%103 = load ptr, ptr %14, align 8
%104 = load ptr, ptr %11, align 8
%105 = load i32, ptr %18, align 4
%106 = sext i32 %105 to i64
%107 = mul i64 8, %106
%108 = trunc i64 %107 to i32
%109 = call i32 @memcpy(ptr noundef %103, ptr noundef %104, i32 noundef %108)
store i32 0, ptr %15, align 4
%110 = load i32, ptr %15, align 4
%111 = load i32, ptr %18, align 4
%112 = icmp slt i32 %110, %111
br i1 %112, label %.lr.ph, label %130
.lr.ph: ; preds = %88
br label %113
113: ; preds = %.lr.ph, %124
%114 = load i32, ptr %19, align 4
%115 = sitofp i32 %114 to double
%116 = load ptr, ptr %14, align 8
%117 = load i32, ptr %15, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds double, ptr %116, i64 %118
%120 = load double, ptr %119, align 8
%121 = fmul double %120, %115
store double %121, ptr %119, align 8
%122 = load i32, ptr %19, align 4
%123 = mul nsw i32 %122, -1
store i32 %123, ptr %19, align 4
br label %124
124: ; preds = %113
%125 = load i32, ptr %15, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %15, align 4
%127 = load i32, ptr %15, align 4
%128 = load i32, ptr %18, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %113, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %124
br label %130
130: ; preds = %._crit_edge, %88
store i32 0, ptr %15, align 4
%131 = load i32, ptr %15, align 4
%132 = load i32, ptr %18, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %.lr.ph8, label %267
.lr.ph8: ; preds = %130
br label %134
134: ; preds = %.lr.ph8, %261
store double 0.000000e+00, ptr %21, align 8
store double 0.000000e+00, ptr %22, align 8
store double 0.000000e+00, ptr %23, align 8
store double 0.000000e+00, ptr %24, align 8
store i32 0, ptr %16, align 4
%135 = load i32, ptr %16, align 4
%136 = load i32, ptr %10, align 4
%137 = load i32, ptr %17, align 4
%138 = sub nsw i32 %136, %137
%139 = srem i32 %138, 4
%140 = icmp slt i32 %135, %139
br i1 %140, label %.lr.ph2, label %163
.lr.ph2: ; preds = %134
br label %141
141: ; preds = %.lr.ph2, %154
%142 = load ptr, ptr %20, align 8
%143 = load i32, ptr %16, align 4
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds double, ptr %142, i64 %144
%146 = load double, ptr %145, align 8
%147 = load ptr, ptr %14, align 8
%148 = load i32, ptr %16, align 4
%149 = sext i32 %148 to i64
%150 = getelementptr inbounds double, ptr %147, i64 %149
%151 = load double, ptr %150, align 8
%152 = load double, ptr %21, align 8
%153 = call double @llvm.fmuladd.f64(double %146, double %151, double %152)
store double %153, ptr %21, align 8
br label %154
154: ; preds = %141
%155 = load i32, ptr %16, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %16, align 4
%157 = load i32, ptr %16, align 4
%158 = load i32, ptr %10, align 4
%159 = load i32, ptr %17, align 4
%160 = sub nsw i32 %158, %159
%161 = srem i32 %160, 4
%162 = icmp slt i32 %157, %161
br i1 %162, label %141, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %154
br label %163
163: ; preds = %._crit_edge3, %134
%164 = load i32, ptr %16, align 4
%165 = load i32, ptr %10, align 4
%166 = load i32, ptr %17, align 4
%167 = sub nsw i32 %165, %166
%168 = icmp slt i32 %164, %167
br i1 %168, label %.lr.ph5, label %232
.lr.ph5: ; preds = %163
br label %169
169: ; preds = %.lr.ph5, %224
%170 = load ptr, ptr %20, align 8
%171 = load i32, ptr %16, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, ptr %170, i64 %172
%174 = load double, ptr %173, align 8
%175 = load ptr, ptr %14, align 8
%176 = load i32, ptr %16, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds double, ptr %175, i64 %177
%179 = load double, ptr %178, align 8
%180 = load double, ptr %21, align 8
%181 = call double @llvm.fmuladd.f64(double %174, double %179, double %180)
store double %181, ptr %21, align 8
%182 = load ptr, ptr %20, align 8
%183 = load i32, ptr %16, align 4
%184 = add nsw i32 %183, 1
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, ptr %182, i64 %185
%187 = load double, ptr %186, align 8
%188 = load ptr, ptr %14, align 8
%189 = load i32, ptr %16, align 4
%190 = add nsw i32 %189, 1
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, ptr %188, i64 %191
%193 = load double, ptr %192, align 8
%194 = load double, ptr %22, align 8
%195 = call double @llvm.fmuladd.f64(double %187, double %193, double %194)
store double %195, ptr %22, align 8
%196 = load ptr, ptr %20, align 8
%197 = load i32, ptr %16, align 4
%198 = add nsw i32 %197, 2
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %196, i64 %199
%201 = load double, ptr %200, align 8
%202 = load ptr, ptr %14, align 8
%203 = load i32, ptr %16, align 4
%204 = add nsw i32 %203, 2
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds double, ptr %202, i64 %205
%207 = load double, ptr %206, align 8
%208 = load double, ptr %23, align 8
%209 = call double @llvm.fmuladd.f64(double %201, double %207, double %208)
store double %209, ptr %23, align 8
%210 = load ptr, ptr %20, align 8
%211 = load i32, ptr %16, align 4
%212 = add nsw i32 %211, 3
%213 = sext i32 %212 to i64
%214 = getelementptr inbounds double, ptr %210, i64 %213
%215 = load double, ptr %214, align 8
%216 = load ptr, ptr %14, align 8
%217 = load i32, ptr %16, align 4
%218 = add nsw i32 %217, 3
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds double, ptr %216, i64 %219
%221 = load double, ptr %220, align 8
%222 = load double, ptr %24, align 8
%223 = call double @llvm.fmuladd.f64(double %215, double %221, double %222)
store double %223, ptr %24, align 8
br label %224
224: ; preds = %169
%225 = load i32, ptr %16, align 4
%226 = add nsw i32 %225, 4
store i32 %226, ptr %16, align 4
%227 = load i32, ptr %16, align 4
%228 = load i32, ptr %10, align 4
%229 = load i32, ptr %17, align 4
%230 = sub nsw i32 %228, %229
%231 = icmp slt i32 %227, %230
br i1 %231, label %169, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %224
br label %232
232: ; preds = %._crit_edge6, %163
%233 = load double, ptr %21, align 8
%234 = load double, ptr %22, align 8
%235 = fadd double %233, %234
%236 = load double, ptr %23, align 8
%237 = fadd double %235, %236
%238 = load double, ptr %24, align 8
%239 = fadd double %237, %238
%240 = load ptr, ptr %13, align 8
%241 = load i32, ptr %15, align 4
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds double, ptr %240, i64 %242
store double %239, ptr %243, align 8
%244 = load ptr, ptr %12, align 8
%245 = load i32, ptr %18, align 4
%246 = load i32, ptr %15, align 4
%247 = sub nsw i32 %245, %246
%248 = sub nsw i32 %247, 1
%249 = load i32, ptr %10, align 4
%250 = load i32, ptr %17, align 4
%251 = sub nsw i32 %249, %250
%252 = mul nsw i32 %248, %251
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds double, ptr %244, i64 %253
%255 = load i32, ptr %10, align 4
%256 = load i32, ptr %17, align 4
%257 = sub nsw i32 %255, %256
%258 = sext i32 %257 to i64
%259 = sub i64 0, %258
%260 = getelementptr inbounds double, ptr %254, i64 %259
store ptr %260, ptr %20, align 8
br label %261
261: ; preds = %232
%262 = load i32, ptr %15, align 4
%263 = add nsw i32 %262, 1
store i32 %263, ptr %15, align 4
%264 = load i32, ptr %15, align 4
%265 = load i32, ptr %18, align 4
%266 = icmp slt i32 %264, %265
br i1 %266, label %134, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %261
br label %267
267: ; preds = %._crit_edge9, %130
ret void
}
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpsxx58mrs.c'
source_filename = "/tmp/tmpsxx58mrs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mpc_daemon() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %1, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %7
br label %13
13: ; preds = %12
%14 = call i32 (...) @setsid()
%15 = call i32 (...) @fork()
store i32 %15, ptr %1, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %13
%20 = load i32, ptr %1, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %19
br label %25
25: ; preds = %24
store i32 0, ptr %2, align 4
br label %26
26: ; preds = %32, %25
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %27, 3
br i1 %28, label %29, label %35
29: ; preds = %26
%30 = load i32, ptr %2, align 4
%31 = call i32 @close(i32 noundef %30)
br label %32
32: ; preds = %29
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
br label %26, !llvm.loop !6
35: ; preds = %26
%36 = call i32 @chdir(ptr noundef @.str)
%37 = call i32 @umask(i32 noundef 0)
ret void
}
declare i32 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setsid(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @umask(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsxx58mrs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/tmp\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mpc_daemon() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 (...) @fork()
store i32 %3, ptr %1, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %7
5: ; preds = %0
%6 = call i32 @exit(i32 noundef 0) #3
unreachable
7: ; preds = %0
%8 = load i32, ptr %1, align 4
%9 = icmp slt i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %7
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %7
br label %13
13: ; preds = %12
%14 = call i32 (...) @setsid()
%15 = call i32 (...) @fork()
store i32 %15, ptr %1, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = call i32 @exit(i32 noundef 0) #3
unreachable
19: ; preds = %13
%20 = load i32, ptr %1, align 4
%21 = icmp slt i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @exit(i32 noundef 1) #3
unreachable
24: ; preds = %19
br label %25
25: ; preds = %24
store i32 0, ptr %2, align 4
%26 = load i32, ptr %2, align 4
%27 = icmp slt i32 %26, 3
br i1 %27, label %.lr.ph, label %36
.lr.ph: ; preds = %25
br label %28
28: ; preds = %.lr.ph, %31
%29 = load i32, ptr %2, align 4
%30 = call i32 @close(i32 noundef %29)
br label %31
31: ; preds = %28
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %2, align 4
%34 = load i32, ptr %2, align 4
%35 = icmp slt i32 %34, 3
br i1 %35, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %36
36: ; preds = %._crit_edge, %25
%37 = call i32 @chdir(ptr noundef @.str)
%38 = call i32 @umask(i32 noundef 0)
ret void
}
declare i32 @fork(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setsid(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @chdir(ptr noundef) #1
declare i32 @umask(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp41i49o3p.c'
source_filename = "/tmp/tmp41i49o3p.c"
target datalayout = "e-m:e-p270: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 = %7, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @putchar(i32 noundef %5)
br label %7
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %3, label %11, !llvm.loop !6
11: ; preds = %7
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/tmp41i49o3p.c"
target datalayout = "e-m:e-p270: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 = %7, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @putchar(i32 noundef %5)
br label %7
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr @EOF, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %3, label %11, !llvm.loop !6
11: ; preds = %7
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/tmpj7491pkz.c'
source_filename = "/tmp/tmpj7491pkz.c"
target datalayout = "e-m:e-p270: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/tmpj7491pkz.c"
target datalayout = "e-m:e-p270: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/tmprlhpj3y0.c'
source_filename = "/tmp/tmprlhpj3y0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TM_sph2cart(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %26, align 4
store i32 0, ptr %9, align 4
br label %29
29: ; preds = %55, %4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %58
33: ; preds = %29
%34 = load i32, ptr %9, align 4
%35 = mul nsw i32 3, %34
%36 = add nsw i32 %35, 2
%37 = sitofp i32 %36 to double
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 3
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %38, i64 %41
%43 = load double, ptr %42, align 8
%44 = fmul double %37, %43
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, ptr %45, i64 %47
%49 = load double, ptr %48, align 8
%50 = fmul double 1.200000e+01, %49
%51 = fdiv double %44, %50
%52 = fptosi double %51 to i32
%53 = load i32, ptr %26, align 4
%54 = add nsw i32 %53, %52
store i32 %54, ptr %26, align 4
br label %55
55: ; preds = %33
%56 = load i32, ptr %9, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %9, align 4
br label %29, !llvm.loop !6
58: ; preds = %29
%59 = load i32, ptr %26, align 4
%60 = call ptr @calloc(i32 noundef %59, i32 noundef 8)
store ptr %60, ptr %27, align 8
store ptr %60, ptr %28, align 8
store i32 0, ptr %9, align 4
br label %61
61: ; preds = %321, %58
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp sle i32 %62, %63
br i1 %64, label %65, label %324
65: ; preds = %61
store i32 0, ptr %11, align 4
br label %66
66: ; preds = %317, %65
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 2
%72 = mul nsw i32 %69, %71
%73 = sdiv i32 %72, 2
%74 = icmp slt i32 %67, %73
br i1 %74, label %75, label %320
75: ; preds = %66
%76 = load i32, ptr %9, align 4
%77 = sub nsw i32 %76, 1
%78 = add nsw i32 %77, 1
%79 = load i32, ptr %9, align 4
%80 = sub nsw i32 %79, 1
%81 = add nsw i32 %80, 2
%82 = mul nsw i32 %78, %81
%83 = load i32, ptr %9, align 4
%84 = sub nsw i32 %83, 1
%85 = add nsw i32 %84, 3
%86 = mul nsw i32 %82, %85
%87 = sdiv i32 %86, 6
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %87, %88
%90 = mul nsw i32 %89, 3
store i32 %90, ptr %13, align 4
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr %13, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
%95 = load i32, ptr %94, align 4
store i32 %95, ptr %17, align 4
%96 = load ptr, ptr %7, align 8
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %96, i64 %99
%101 = load i32, ptr %100, align 4
store i32 %101, ptr %18, align 4
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 2
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %102, i64 %105
%107 = load i32, ptr %106, align 4
store i32 %107, ptr %19, align 4
%108 = load ptr, ptr %8, align 8
%109 = load i32, ptr %17, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
%112 = load double, ptr %111, align 8
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %18, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load double, ptr %116, align 8
%118 = fmul double %112, %117
%119 = load ptr, ptr %8, align 8
%120 = load i32, ptr %19, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
%123 = load double, ptr %122, align 8
%124 = fmul double %118, %123
%125 = load ptr, ptr %8, align 8
%126 = load i32, ptr %17, align 4
%127 = mul nsw i32 2, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %125, i64 %128
%130 = load double, ptr %129, align 8
%131 = load ptr, ptr %8, align 8
%132 = load i32, ptr %18, align 4
%133 = mul nsw i32 2, %132
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %131, i64 %134
%136 = load double, ptr %135, align 8
%137 = fmul double %130, %136
%138 = load ptr, ptr %8, align 8
%139 = load i32, ptr %19, align 4
%140 = mul nsw i32 2, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %138, i64 %141
%143 = load double, ptr %142, align 8
%144 = fmul double %137, %143
%145 = fdiv double %124, %144
%146 = call double @sqrt(double noundef %145) #4
store double %146, ptr %24, align 8
store i32 0, ptr %12, align 4
br label %147
147: ; preds = %313, %75
%148 = load i32, ptr %12, align 4
%149 = load i32, ptr %9, align 4
%150 = add nsw i32 %149, 1
%151 = load i32, ptr %9, align 4
%152 = add nsw i32 %151, 2
%153 = mul nsw i32 %150, %152
%154 = sdiv i32 %153, 2
%155 = icmp slt i32 %148, %154
br i1 %155, label %156, label %316
156: ; preds = %147
%157 = load i32, ptr %9, align 4
%158 = sub nsw i32 %157, 1
%159 = add nsw i32 %158, 1
%160 = load i32, ptr %9, align 4
%161 = sub nsw i32 %160, 1
%162 = add nsw i32 %161, 2
%163 = mul nsw i32 %159, %162
%164 = load i32, ptr %9, align 4
%165 = sub nsw i32 %164, 1
%166 = add nsw i32 %165, 3
%167 = mul nsw i32 %163, %166
%168 = sdiv i32 %167, 6
%169 = load i32, ptr %12, align 4
%170 = add nsw i32 %168, %169
%171 = mul nsw i32 %170, 3
store i32 %171, ptr %13, align 4
%172 = load ptr, ptr %7, align 8
%173 = load i32, ptr %13, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i32, ptr %172, i64 %174
%176 = load i32, ptr %175, align 4
store i32 %176, ptr %20, align 4
%177 = load ptr, ptr %7, align 8
%178 = load i32, ptr %13, align 4
%179 = add nsw i32 %178, 1
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds i32, ptr %177, i64 %180
%182 = load i32, ptr %181, align 4
store i32 %182, ptr %21, align 4
%183 = load ptr, ptr %7, align 8
%184 = load i32, ptr %13, align 4
%185 = add nsw i32 %184, 2
%186 = sext i32 %185 to i64
%187 = getelementptr inbounds i32, ptr %183, i64 %186
%188 = load i32, ptr %187, align 4
store i32 %188, ptr %22, align 4
%189 = load i32, ptr %17, align 4
%190 = load i32, ptr %20, align 4
%191 = add nsw i32 %189, %190
store i32 %191, ptr %14, align 4
%192 = load i32, ptr %18, align 4
%193 = load i32, ptr %21, align 4
%194 = add nsw i32 %192, %193
store i32 %194, ptr %15, align 4
%195 = load i32, ptr %19, align 4
%196 = load i32, ptr %22, align 4
%197 = add nsw i32 %195, %196
store i32 %197, ptr %16, align 4
%198 = load i32, ptr %14, align 4
%199 = srem i32 %198, 2
%200 = icmp eq i32 %199, 0
br i1 %200, label %201, label %308
201: ; preds = %156
%202 = load i32, ptr %15, align 4
%203 = srem i32 %202, 2
%204 = icmp eq i32 %203, 0
br i1 %204, label %205, label %308
205: ; preds = %201
%206 = load i32, ptr %16, align 4
%207 = srem i32 %206, 2
%208 = icmp eq i32 %207, 0
br i1 %208, label %209, label %308
209: ; preds = %205
%210 = load ptr, ptr %8, align 8
%211 = load i32, ptr %20, align 4
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds double, ptr %210, i64 %212
%214 = load double, ptr %213, align 8
%215 = load ptr, ptr %8, align 8
%216 = load i32, ptr %21, align 4
%217 = sext i32 %216 to i64
%218 = getelementptr inbounds double, ptr %215, i64 %217
%219 = load double, ptr %218, align 8
%220 = fmul double %214, %219
%221 = load ptr, ptr %8, align 8
%222 = load i32, ptr %22, align 4
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds double, ptr %221, i64 %223
%225 = load double, ptr %224, align 8
%226 = fmul double %220, %225
%227 = load ptr, ptr %8, align 8
%228 = load i32, ptr %20, align 4
%229 = mul nsw i32 2, %228
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds double, ptr %227, i64 %230
%232 = load double, ptr %231, align 8
%233 = load ptr, ptr %8, align 8
%234 = load i32, ptr %21, align 4
%235 = mul nsw i32 2, %234
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, ptr %233, i64 %236
%238 = load double, ptr %237, align 8
%239 = fmul double %232, %238
%240 = load ptr, ptr %8, align 8
%241 = load i32, ptr %22, align 4
%242 = mul nsw i32 2, %241
%243 = sext i32 %242 to i64
%244 = getelementptr inbounds double, ptr %240, i64 %243
%245 = load double, ptr %244, align 8
%246 = fmul double %239, %245
%247 = fdiv double %226, %246
%248 = call double @sqrt(double noundef %247) #4
store double %248, ptr %25, align 8
%249 = load ptr, ptr %8, align 8
%250 = load i32, ptr %14, align 4
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds double, ptr %249, i64 %251
%253 = load double, ptr %252, align 8
%254 = load ptr, ptr %8, align 8
%255 = load i32, ptr %15, align 4
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds double, ptr %254, i64 %256
%258 = load double, ptr %257, align 8
%259 = fmul double %253, %258
%260 = load ptr, ptr %8, align 8
%261 = load i32, ptr %16, align 4
%262 = sext i32 %261 to i64
%263 = getelementptr inbounds double, ptr %260, i64 %262
%264 = load double, ptr %263, align 8
%265 = fmul double %259, %264
%266 = load double, ptr %24, align 8
%267 = fmul double %265, %266
%268 = load double, ptr %25, align 8
%269 = fmul double %267, %268
%270 = load ptr, ptr %8, align 8
%271 = load i32, ptr %14, align 4
%272 = sdiv i32 %271, 2
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds double, ptr %270, i64 %273
%275 = load double, ptr %274, align 8
%276 = load ptr, ptr %8, align 8
%277 = load i32, ptr %15, align 4
%278 = sdiv i32 %277, 2
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds double, ptr %276, i64 %279
%281 = load double, ptr %280, align 8
%282 = fmul double %275, %281
%283 = load ptr, ptr %8, align 8
%284 = load i32, ptr %16, align 4
%285 = sdiv i32 %284, 2
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds double, ptr %283, i64 %286
%288 = load double, ptr %287, align 8
%289 = fmul double %282, %288
%290 = fdiv double %269, %289
store double %290, ptr %23, align 8
%291 = load i32, ptr %9, align 4
%292 = sub nsw i32 0, %291
store i32 %292, ptr %10, align 4
br label %293
293: ; preds = %304, %209
%294 = load i32, ptr %10, align 4
%295 = load i32, ptr %9, align 4
%296 = icmp sle i32 %294, %295
br i1 %296, label %297, label %307
297: ; preds = %293
%298 = load double, ptr %23, align 8
%299 = load ptr, ptr %5, align 8
%300 = load double, ptr %299, align 8
%301 = load ptr, ptr %28, align 8
%302 = load double, ptr %301, align 8
%303 = call double @llvm.fmuladd.f64(double %298, double %300, double %302)
store double %303, ptr %301, align 8
br label %304
304: ; preds = %297
%305 = load i32, ptr %10, align 4
%306 = add nsw i32 %305, 1
store i32 %306, ptr %10, align 4
br label %293, !llvm.loop !8
307: ; preds = %293
br label %308
308: ; preds = %307, %205, %201, %156
%309 = load ptr, ptr %28, align 8
%310 = getelementptr inbounds double, ptr %309, i32 1
store ptr %310, ptr %28, align 8
%311 = load ptr, ptr %5, align 8
%312 = getelementptr inbounds double, ptr %311, i32 1
store ptr %312, ptr %5, align 8
br label %313
313: ; preds = %308
%314 = load i32, ptr %12, align 4
%315 = add nsw i32 %314, 1
store i32 %315, ptr %12, align 4
br label %147, !llvm.loop !9
316: ; preds = %147
br label %317
317: ; preds = %316
%318 = load i32, ptr %11, align 4
%319 = add nsw i32 %318, 1
store i32 %319, ptr %11, align 4
br label %66, !llvm.loop !10
320: ; preds = %66
br label %321
321: ; preds = %320
%322 = load i32, ptr %9, align 4
%323 = add nsw i32 %322, 1
store i32 %323, ptr %9, align 4
br label %61, !llvm.loop !11
324: ; preds = %61
%325 = load ptr, ptr %27, align 8
ret ptr %325
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmprlhpj3y0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @TM_sph2cart(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store i32 0, ptr %26, align 4
store i32 0, ptr %9, align 4
%29 = load i32, ptr %9, align 4
%30 = load i32, ptr %6, align 4
%31 = icmp sle i32 %29, %30
br i1 %31, label %.lr.ph, label %60
.lr.ph: ; preds = %4
br label %32
32: ; preds = %.lr.ph, %54
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 3, %33
%35 = add nsw i32 %34, 2
%36 = sitofp i32 %35 to double
%37 = load ptr, ptr %8, align 8
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 3
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %37, i64 %40
%42 = load double, ptr %41, align 8
%43 = fmul double %36, %42
%44 = load ptr, ptr %8, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds double, ptr %44, i64 %46
%48 = load double, ptr %47, align 8
%49 = fmul double 1.200000e+01, %48
%50 = fdiv double %43, %49
%51 = fptosi double %50 to i32
%52 = load i32, ptr %26, align 4
%53 = add nsw i32 %52, %51
store i32 %53, ptr %26, align 4
br label %54
54: ; preds = %32
%55 = load i32, ptr %9, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %9, align 4
%58 = load i32, ptr %6, align 4
%59 = icmp sle i32 %57, %58
br i1 %59, label %32, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %60
60: ; preds = %._crit_edge, %4
%61 = load i32, ptr %26, align 4
%62 = call ptr @calloc(i32 noundef %61, i32 noundef 8)
store ptr %62, ptr %27, align 8
store ptr %62, ptr %28, align 8
store i32 0, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp sle i32 %63, %64
br i1 %65, label %.lr.ph11, label %344
.lr.ph11: ; preds = %60
br label %66
66: ; preds = %.lr.ph11, %338
store i32 0, ptr %11, align 4
%67 = load i32, ptr %11, align 4
%68 = load i32, ptr %9, align 4
%69 = add nsw i32 %68, 1
%70 = load i32, ptr %9, align 4
%71 = add nsw i32 %70, 2
%72 = mul nsw i32 %69, %71
%73 = sdiv i32 %72, 2
%74 = icmp slt i32 %67, %73
br i1 %74, label %.lr.ph8, label %337
.lr.ph8: ; preds = %66
br label %75
75: ; preds = %.lr.ph8, %326
%76 = load i32, ptr %9, align 4
%77 = sub nsw i32 %76, 1
%78 = add nsw i32 %77, 1
%79 = load i32, ptr %9, align 4
%80 = sub nsw i32 %79, 1
%81 = add nsw i32 %80, 2
%82 = mul nsw i32 %78, %81
%83 = load i32, ptr %9, align 4
%84 = sub nsw i32 %83, 1
%85 = add nsw i32 %84, 3
%86 = mul nsw i32 %82, %85
%87 = sdiv i32 %86, 6
%88 = load i32, ptr %11, align 4
%89 = add nsw i32 %87, %88
%90 = mul nsw i32 %89, 3
store i32 %90, ptr %13, align 4
%91 = load ptr, ptr %7, align 8
%92 = load i32, ptr %13, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds i32, ptr %91, i64 %93
%95 = load i32, ptr %94, align 4
store i32 %95, ptr %17, align 4
%96 = load ptr, ptr %7, align 8
%97 = load i32, ptr %13, align 4
%98 = add nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i32, ptr %96, i64 %99
%101 = load i32, ptr %100, align 4
store i32 %101, ptr %18, align 4
%102 = load ptr, ptr %7, align 8
%103 = load i32, ptr %13, align 4
%104 = add nsw i32 %103, 2
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds i32, ptr %102, i64 %105
%107 = load i32, ptr %106, align 4
store i32 %107, ptr %19, align 4
%108 = load ptr, ptr %8, align 8
%109 = load i32, ptr %17, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds double, ptr %108, i64 %110
%112 = load double, ptr %111, align 8
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %18, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds double, ptr %113, i64 %115
%117 = load double, ptr %116, align 8
%118 = fmul double %112, %117
%119 = load ptr, ptr %8, align 8
%120 = load i32, ptr %19, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
%123 = load double, ptr %122, align 8
%124 = fmul double %118, %123
%125 = load ptr, ptr %8, align 8
%126 = load i32, ptr %17, align 4
%127 = mul nsw i32 2, %126
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, ptr %125, i64 %128
%130 = load double, ptr %129, align 8
%131 = load ptr, ptr %8, align 8
%132 = load i32, ptr %18, align 4
%133 = mul nsw i32 2, %132
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds double, ptr %131, i64 %134
%136 = load double, ptr %135, align 8
%137 = fmul double %130, %136
%138 = load ptr, ptr %8, align 8
%139 = load i32, ptr %19, align 4
%140 = mul nsw i32 2, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %138, i64 %141
%143 = load double, ptr %142, align 8
%144 = fmul double %137, %143
%145 = fdiv double %124, %144
%146 = call double @sqrt(double noundef %145) #4
store double %146, ptr %24, align 8
store i32 0, ptr %12, align 4
%147 = load i32, ptr %12, align 4
%148 = load i32, ptr %9, align 4
%149 = add nsw i32 %148, 1
%150 = load i32, ptr %9, align 4
%151 = add nsw i32 %150, 2
%152 = mul nsw i32 %149, %151
%153 = sdiv i32 %152, 2
%154 = icmp slt i32 %147, %153
br i1 %154, label %.lr.ph5, label %325
.lr.ph5: ; preds = %75
br label %155
155: ; preds = %.lr.ph5, %314
%156 = load i32, ptr %9, align 4
%157 = sub nsw i32 %156, 1
%158 = add nsw i32 %157, 1
%159 = load i32, ptr %9, align 4
%160 = sub nsw i32 %159, 1
%161 = add nsw i32 %160, 2
%162 = mul nsw i32 %158, %161
%163 = load i32, ptr %9, align 4
%164 = sub nsw i32 %163, 1
%165 = add nsw i32 %164, 3
%166 = mul nsw i32 %162, %165
%167 = sdiv i32 %166, 6
%168 = load i32, ptr %12, align 4
%169 = add nsw i32 %167, %168
%170 = mul nsw i32 %169, 3
store i32 %170, ptr %13, align 4
%171 = load ptr, ptr %7, align 8
%172 = load i32, ptr %13, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds i32, ptr %171, i64 %173
%175 = load i32, ptr %174, align 4
store i32 %175, ptr %20, align 4
%176 = load ptr, ptr %7, align 8
%177 = load i32, ptr %13, align 4
%178 = add nsw i32 %177, 1
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i32, ptr %176, i64 %179
%181 = load i32, ptr %180, align 4
store i32 %181, ptr %21, align 4
%182 = load ptr, ptr %7, align 8
%183 = load i32, ptr %13, align 4
%184 = add nsw i32 %183, 2
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds i32, ptr %182, i64 %185
%187 = load i32, ptr %186, align 4
store i32 %187, ptr %22, align 4
%188 = load i32, ptr %17, align 4
%189 = load i32, ptr %20, align 4
%190 = add nsw i32 %188, %189
store i32 %190, ptr %14, align 4
%191 = load i32, ptr %18, align 4
%192 = load i32, ptr %21, align 4
%193 = add nsw i32 %191, %192
store i32 %193, ptr %15, align 4
%194 = load i32, ptr %19, align 4
%195 = load i32, ptr %22, align 4
%196 = add nsw i32 %194, %195
store i32 %196, ptr %16, align 4
%197 = load i32, ptr %14, align 4
%198 = srem i32 %197, 2
%199 = icmp eq i32 %198, 0
br i1 %199, label %200, label %309
200: ; preds = %155
%201 = load i32, ptr %15, align 4
%202 = srem i32 %201, 2
%203 = icmp eq i32 %202, 0
br i1 %203, label %204, label %309
204: ; preds = %200
%205 = load i32, ptr %16, align 4
%206 = srem i32 %205, 2
%207 = icmp eq i32 %206, 0
br i1 %207, label %208, label %309
208: ; preds = %204
%209 = load ptr, ptr %8, align 8
%210 = load i32, ptr %20, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds double, ptr %209, i64 %211
%213 = load double, ptr %212, align 8
%214 = load ptr, ptr %8, align 8
%215 = load i32, ptr %21, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds double, ptr %214, i64 %216
%218 = load double, ptr %217, align 8
%219 = fmul double %213, %218
%220 = load ptr, ptr %8, align 8
%221 = load i32, ptr %22, align 4
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds double, ptr %220, i64 %222
%224 = load double, ptr %223, align 8
%225 = fmul double %219, %224
%226 = load ptr, ptr %8, align 8
%227 = load i32, ptr %20, align 4
%228 = mul nsw i32 2, %227
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds double, ptr %226, i64 %229
%231 = load double, ptr %230, align 8
%232 = load ptr, ptr %8, align 8
%233 = load i32, ptr %21, align 4
%234 = mul nsw i32 2, %233
%235 = sext i32 %234 to i64
%236 = getelementptr inbounds double, ptr %232, i64 %235
%237 = load double, ptr %236, align 8
%238 = fmul double %231, %237
%239 = load ptr, ptr %8, align 8
%240 = load i32, ptr %22, align 4
%241 = mul nsw i32 2, %240
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds double, ptr %239, i64 %242
%244 = load double, ptr %243, align 8
%245 = fmul double %238, %244
%246 = fdiv double %225, %245
%247 = call double @sqrt(double noundef %246) #4
store double %247, ptr %25, align 8
%248 = load ptr, ptr %8, align 8
%249 = load i32, ptr %14, align 4
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds double, ptr %248, i64 %250
%252 = load double, ptr %251, align 8
%253 = load ptr, ptr %8, align 8
%254 = load i32, ptr %15, align 4
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, ptr %253, i64 %255
%257 = load double, ptr %256, align 8
%258 = fmul double %252, %257
%259 = load ptr, ptr %8, align 8
%260 = load i32, ptr %16, align 4
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds double, ptr %259, i64 %261
%263 = load double, ptr %262, align 8
%264 = fmul double %258, %263
%265 = load double, ptr %24, align 8
%266 = fmul double %264, %265
%267 = load double, ptr %25, align 8
%268 = fmul double %266, %267
%269 = load ptr, ptr %8, align 8
%270 = load i32, ptr %14, align 4
%271 = sdiv i32 %270, 2
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds double, ptr %269, i64 %272
%274 = load double, ptr %273, align 8
%275 = load ptr, ptr %8, align 8
%276 = load i32, ptr %15, align 4
%277 = sdiv i32 %276, 2
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds double, ptr %275, i64 %278
%280 = load double, ptr %279, align 8
%281 = fmul double %274, %280
%282 = load ptr, ptr %8, align 8
%283 = load i32, ptr %16, align 4
%284 = sdiv i32 %283, 2
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds double, ptr %282, i64 %285
%287 = load double, ptr %286, align 8
%288 = fmul double %281, %287
%289 = fdiv double %268, %288
store double %289, ptr %23, align 8
%290 = load i32, ptr %9, align 4
%291 = sub nsw i32 0, %290
store i32 %291, ptr %10, align 4
%292 = load i32, ptr %10, align 4
%293 = load i32, ptr %9, align 4
%294 = icmp sle i32 %292, %293
br i1 %294, label %.lr.ph2, label %308
.lr.ph2: ; preds = %208
br label %295
295: ; preds = %.lr.ph2, %302
%296 = load double, ptr %23, align 8
%297 = load ptr, ptr %5, align 8
%298 = load double, ptr %297, align 8
%299 = load ptr, ptr %28, align 8
%300 = load double, ptr %299, align 8
%301 = call double @llvm.fmuladd.f64(double %296, double %298, double %300)
store double %301, ptr %299, align 8
br label %302
302: ; preds = %295
%303 = load i32, ptr %10, align 4
%304 = add nsw i32 %303, 1
store i32 %304, ptr %10, align 4
%305 = load i32, ptr %10, align 4
%306 = load i32, ptr %9, align 4
%307 = icmp sle i32 %305, %306
br i1 %307, label %295, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %302
br label %308
308: ; preds = %._crit_edge3, %208
br label %309
309: ; preds = %308, %204, %200, %155
%310 = load ptr, ptr %28, align 8
%311 = getelementptr inbounds double, ptr %310, i32 1
store ptr %311, ptr %28, align 8
%312 = load ptr, ptr %5, align 8
%313 = getelementptr inbounds double, ptr %312, i32 1
store ptr %313, ptr %5, align 8
br label %314
314: ; preds = %309
%315 = load i32, ptr %12, align 4
%316 = add nsw i32 %315, 1
store i32 %316, ptr %12, align 4
%317 = load i32, ptr %12, align 4
%318 = load i32, ptr %9, align 4
%319 = add nsw i32 %318, 1
%320 = load i32, ptr %9, align 4
%321 = add nsw i32 %320, 2
%322 = mul nsw i32 %319, %321
%323 = sdiv i32 %322, 2
%324 = icmp slt i32 %317, %323
br i1 %324, label %155, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %314
br label %325
325: ; preds = %._crit_edge6, %75
br label %326
326: ; preds = %325
%327 = load i32, ptr %11, align 4
%328 = add nsw i32 %327, 1
store i32 %328, ptr %11, align 4
%329 = load i32, ptr %11, align 4
%330 = load i32, ptr %9, align 4
%331 = add nsw i32 %330, 1
%332 = load i32, ptr %9, align 4
%333 = add nsw i32 %332, 2
%334 = mul nsw i32 %331, %333
%335 = sdiv i32 %334, 2
%336 = icmp slt i32 %329, %335
br i1 %336, label %75, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %326
br label %337
337: ; preds = %._crit_edge9, %66
br label %338
338: ; preds = %337
%339 = load i32, ptr %9, align 4
%340 = add nsw i32 %339, 1
store i32 %340, ptr %9, align 4
%341 = load i32, ptr %9, align 4
%342 = load i32, ptr %6, align 4
%343 = icmp sle i32 %341, %342
br i1 %343, label %66, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %338
br label %344
344: ; preds = %._crit_edge12, %60
%345 = load ptr, ptr %27, align 8
ret ptr %345
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmp92y0i33n.c'
source_filename = "/tmp/tmp92y0i33n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoBresenhamLine() #0 {
%1 = call i32 @Putb(i32 noundef 36, i32 noundef 4)
ret void
}
declare i32 @Putb(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/tmp92y0i33n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoBresenhamLine() #0 {
%1 = call i32 @Putb(i32 noundef 36, i32 noundef 4)
ret void
}
declare i32 @Putb(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/tmp6s44gbvq.c'
source_filename = "/tmp/tmp6s44gbvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadVal(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
store i8 0, ptr %9, align 1
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef %13)
br label %15
15: ; preds = %36, %3
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %7, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %42
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = call i64 @feof(ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %19
store ptr null, ptr %4, align 8
br label %43
24: ; preds = %19
%25 = load ptr, ptr %5, align 8
%26 = call signext i8 @fgetc(ptr noundef %25)
store i8 %26, ptr %9, align 1
%27 = load i8, ptr %9, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 32
br i1 %29, label %34, label %30
30: ; preds = %24
%31 = load i8, ptr %9, align 1
%32 = sext i8 %31 to i32
%33 = icmp eq i32 %32, 10
br i1 %33, label %34, label %36
34: ; preds = %30, %24
%35 = load ptr, ptr %6, align 8
store ptr %35, ptr %4, align 8
br label %43
36: ; preds = %30
%37 = load i8, ptr %9, align 1
%38 = load ptr, ptr %6, align 8
%39 = load i64, ptr %8, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %8, align 8
%41 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 %37, ptr %41, align 1
br label %15, !llvm.loop !6
42: ; preds = %15
store ptr null, ptr %4, align 8
br label %43
43: ; preds = %42, %34, %23
%44 = load ptr, ptr %4, align 8
ret ptr %44
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp6s44gbvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ReadVal(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 0, ptr %8, align 8
store i8 0, ptr %9, align 1
%10 = load ptr, ptr %6, align 8
%11 = load i64, ptr %7, align 8
%12 = mul i64 1, %11
%13 = trunc i64 %12 to i32
%14 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef %13)
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %7, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %44
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %35
%19 = load ptr, ptr %5, align 8
%20 = call i64 @feof(ptr noundef %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %18
store ptr null, ptr %4, align 8
br label %45
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = call signext i8 @fgetc(ptr noundef %24)
store i8 %25, ptr %9, align 1
%26 = load i8, ptr %9, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 32
br i1 %28, label %33, label %29
29: ; preds = %23
%30 = load i8, ptr %9, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %31, 10
br i1 %32, label %33, label %35
33: ; preds = %29, %23
%34 = load ptr, ptr %6, align 8
store ptr %34, ptr %4, align 8
br label %45
35: ; preds = %29
%36 = load i8, ptr %9, align 1
%37 = load ptr, ptr %6, align 8
%38 = load i64, ptr %8, align 8
%39 = add i64 %38, 1
store i64 %39, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %37, i64 %38
store i8 %36, ptr %40, align 1
%41 = load i64, ptr %8, align 8
%42 = load i64, ptr %7, align 8
%43 = icmp ult i64 %41, %42
br i1 %43, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %44
44: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %45
45: ; preds = %44, %33, %22
%46 = load ptr, ptr %4, align 8
ret ptr %46
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @feof(ptr noundef) #1
declare signext i8 @fgetc(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpc9djoa3g.c'
source_filename = "/tmp/tmpc9djoa3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IXUSR = 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/tmpc9djoa3g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRUSR = dso_local global i32 0, align 4
@S_IXUSR = 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/tmp2cquust_.c'
source_filename = "/tmp/tmp2cquust_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ma_sun(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = call double @llvm.fmuladd.f64(double %6, double 0xBE2B6A8C99F12DE6, double 0x3E64482363D88470)
%8 = call double @llvm.fmuladd.f64(double %5, double %7, double 0xBF2424329D9A6885)
%9 = call double @llvm.fmuladd.f64(double %4, double %8, double 0x40E193E19BFC299A)
%10 = call double @llvm.fmuladd.f64(double %3, double %9, double 0x407658773B3001D0)
%11 = call double @fmod(double noundef %10, double noundef 3.600000e+02) #3
%12 = fmul double %11, 0x3F91DF46A2529D39
ret double %12
}
; Function Attrs: nounwind
declare double @fmod(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2cquust_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ma_sun(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = load double, ptr %2, align 8
%5 = load double, ptr %2, align 8
%6 = load double, ptr %2, align 8
%7 = call double @llvm.fmuladd.f64(double %6, double 0xBE2B6A8C99F12DE6, double 0x3E64482363D88470)
%8 = call double @llvm.fmuladd.f64(double %5, double %7, double 0xBF2424329D9A6885)
%9 = call double @llvm.fmuladd.f64(double %4, double %8, double 0x40E193E19BFC299A)
%10 = call double @llvm.fmuladd.f64(double %3, double %9, double 0x407658773B3001D0)
%11 = call double @fmod(double noundef %10, double noundef 3.600000e+02) #3
%12 = fmul double %11, 0x3F91DF46A2529D39
ret double %12
}
; Function Attrs: nounwind
declare double @fmod(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphk8ukv8h.c'
source_filename = "/tmp/tmphk8ukv8h.c"
target datalayout = "e-m:e-p270: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/tmphk8ukv8h.c"
target datalayout = "e-m:e-p270: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/tmpwy46f9kb.c'
source_filename = "/tmp/tmpwy46f9kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file2_func1() #0 {
%1 = call i32 (...) @file2_func2()
ret void
}
declare i32 @file2_func2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwy46f9kb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @file2_func1() #0 {
%1 = call i32 (...) @file2_func2()
ret void
}
declare i32 @file2_func2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpta8mluj2.c'
source_filename = "/tmp/tmpta8mluj2.c"
target datalayout = "e-m:e-p270: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.sched_param = type { i32 }
@PTHREAD_EXPLICIT_SCHED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"setinheritsched %d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"getinheritsched %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"PTHREAD_EXPLICIT_SCHED\00", align 1
@PTHREAD_INHERIT_SCHED = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"PTHREAD_INHERIT_SCHED\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1
@SCHED_RR = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [30 x i8] c"policy:errno %d,real value%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"res %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"policy:errno %d,%d\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"schedpolicy %s\0A\00", align 1
@SCHED_FIFO = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [11 x i8] c"SCHED_FIFO\00", align 1
@SCHED_OTHER = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [12 x i8] c"SCHED_OTHER\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"err\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"max_priority:%d\0A\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c"min_priority:%d\0A\00", align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"sched_priority:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @child_thread(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sched_param, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = call i32 @pthread_attr_init(ptr noundef %7)
%10 = load i32, ptr @PTHREAD_EXPLICIT_SCHED, align 4
%11 = call i64 @pthread_attr_setinheritsched(ptr noundef %7, i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load i32, ptr @errno, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %13, %1
%17 = call i32 @pthread_attr_getinheritsched(ptr noundef %7, ptr noundef %3)
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr @PTHREAD_EXPLICIT_SCHED, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %16
br label %28
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @PTHREAD_INHERIT_SCHED, align 4
%25 = icmp eq i32 %23, %24
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.3, ptr @.str.4
br label %28
28: ; preds = %22, %21
%29 = phi ptr [ @.str.2, %21 ], [ %27, %22 ]
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29)
%31 = load i32, ptr @SCHED_RR, align 4
%32 = call i32 @pthread_attr_setschedpolicy(ptr noundef %7, i32 noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %28
%36 = load i32, ptr @errno, align 4
%37 = load i32, ptr %8, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %37)
br label %39
39: ; preds = %35, %28
%40 = load i32, ptr %8, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %40)
%42 = load i32, ptr %8, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %39
%45 = load i32, ptr @errno, align 4
%46 = load i32, ptr %8, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %44, %39
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @SCHED_FIFO, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %53
52: ; preds = %48
br label %66
53: ; preds = %48
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr @SCHED_FIFO, align 4
%56 = icmp eq i32 %54, %55
br i1 %56, label %57, label %58
57: ; preds = %53
br label %64
58: ; preds = %53
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr @SCHED_OTHER, align 4
%61 = icmp eq i32 %59, %60
%62 = zext i1 %61 to i64
%63 = select i1 %61, ptr @.str.10, ptr @.str.11
br label %64
64: ; preds = %58, %57
%65 = phi ptr [ @.str.9, %57 ], [ %63, %58 ]
br label %66
66: ; preds = %64, %52
%67 = phi ptr [ @.str.9, %52 ], [ %65, %64 ]
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %67)
%69 = load i32, ptr %4, align 4
%70 = call i32 @sched_get_priority_max(i32 noundef %69)
%71 = load i32, ptr %5, align 4
%72 = call i32 @sched_get_priority_max(i32 noundef %71)
%73 = load i32, ptr %4, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %73)
%75 = load i32, ptr %5, align 4
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %75)
%77 = load i32, ptr %4, align 4
%78 = getelementptr inbounds %struct.sched_param, ptr %6, i32 0, i32 0
store i32 %77, ptr %78, align 4
%79 = call i32 @pthread_attr_setschedparam(ptr noundef %7, ptr noundef %6)
%80 = getelementptr inbounds %struct.sched_param, ptr %6, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %81)
%83 = call i32 @pthread_attr_destroy(ptr noundef %7)
ret ptr null
}
declare i32 @pthread_attr_init(ptr noundef) #1
declare i64 @pthread_attr_setinheritsched(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pthread_attr_getinheritsched(ptr noundef, ptr noundef) #1
declare i32 @pthread_attr_setschedpolicy(ptr noundef, i32 noundef) #1
declare i32 @sched_get_priority_max(i32 noundef) #1
declare i32 @pthread_attr_setschedparam(ptr noundef, ptr noundef) #1
declare i32 @pthread_attr_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpta8mluj2.c"
target datalayout = "e-m:e-p270: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.sched_param = type { i32 }
@PTHREAD_EXPLICIT_SCHED = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"setinheritsched %d\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [20 x i8] c"getinheritsched %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"PTHREAD_EXPLICIT_SCHED\00", align 1
@PTHREAD_INHERIT_SCHED = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [22 x i8] c"PTHREAD_INHERIT_SCHED\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1
@SCHED_RR = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [30 x i8] c"policy:errno %d,real value%d\0A\00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"res %d\0A\00", align 1
@.str.7 = private unnamed_addr constant [20 x i8] c"policy:errno %d,%d\0A\00", align 1
@.str.8 = private unnamed_addr constant [16 x i8] c"schedpolicy %s\0A\00", align 1
@SCHED_FIFO = dso_local global i32 0, align 4
@.str.9 = private unnamed_addr constant [11 x i8] c"SCHED_FIFO\00", align 1
@SCHED_OTHER = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [12 x i8] c"SCHED_OTHER\00", align 1
@.str.11 = private unnamed_addr constant [4 x i8] c"err\00", align 1
@.str.12 = private unnamed_addr constant [17 x i8] c"max_priority:%d\0A\00", align 1
@.str.13 = private unnamed_addr constant [17 x i8] c"min_priority:%d\0A\00", align 1
@.str.14 = private unnamed_addr constant [19 x i8] c"sched_priority:%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @child_thread(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sched_param, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%9 = call i32 @pthread_attr_init(ptr noundef %7)
%10 = load i32, ptr @PTHREAD_EXPLICIT_SCHED, align 4
%11 = call i64 @pthread_attr_setinheritsched(ptr noundef %7, i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %1
%14 = load i32, ptr @errno, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %13, %1
%17 = call i32 @pthread_attr_getinheritsched(ptr noundef %7, ptr noundef %3)
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr @PTHREAD_EXPLICIT_SCHED, align 4
%20 = icmp eq i32 %18, %19
br i1 %20, label %21, label %22
21: ; preds = %16
br label %28
22: ; preds = %16
%23 = load i32, ptr %3, align 4
%24 = load i32, ptr @PTHREAD_INHERIT_SCHED, align 4
%25 = icmp eq i32 %23, %24
%26 = zext i1 %25 to i64
%27 = select i1 %25, ptr @.str.3, ptr @.str.4
br label %28
28: ; preds = %22, %21
%29 = phi ptr [ @.str.2, %21 ], [ %27, %22 ]
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %29)
%31 = load i32, ptr @SCHED_RR, align 4
%32 = call i32 @pthread_attr_setschedpolicy(ptr noundef %7, i32 noundef %31)
store i32 %32, ptr %8, align 4
%33 = load i32, ptr %8, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %39
35: ; preds = %28
%36 = load i32, ptr @errno, align 4
%37 = load i32, ptr %8, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %37)
br label %39
39: ; preds = %35, %28
%40 = load i32, ptr %8, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %40)
%42 = load i32, ptr %8, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %48
44: ; preds = %39
%45 = load i32, ptr @errno, align 4
%46 = load i32, ptr %8, align 4
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45, i32 noundef %46)
br label %48
48: ; preds = %44, %39
%49 = load i32, ptr %3, align 4
%50 = load i32, ptr @SCHED_FIFO, align 4
%51 = icmp eq i32 %49, %50
br i1 %51, label %52, label %53
52: ; preds = %48
br label %66
53: ; preds = %48
%54 = load i32, ptr %3, align 4
%55 = load i32, ptr @SCHED_FIFO, align 4
%56 = icmp eq i32 %54, %55
br i1 %56, label %57, label %58
57: ; preds = %53
br label %64
58: ; preds = %53
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr @SCHED_OTHER, align 4
%61 = icmp eq i32 %59, %60
%62 = zext i1 %61 to i64
%63 = select i1 %61, ptr @.str.10, ptr @.str.11
br label %64
64: ; preds = %58, %57
%65 = phi ptr [ @.str.9, %57 ], [ %63, %58 ]
br label %66
66: ; preds = %64, %52
%67 = phi ptr [ @.str.9, %52 ], [ %65, %64 ]
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %67)
%69 = load i32, ptr %4, align 4
%70 = call i32 @sched_get_priority_max(i32 noundef %69)
%71 = load i32, ptr %5, align 4
%72 = call i32 @sched_get_priority_max(i32 noundef %71)
%73 = load i32, ptr %4, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %73)
%75 = load i32, ptr %5, align 4
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, i32 noundef %75)
%77 = load i32, ptr %4, align 4
%78 = getelementptr inbounds %struct.sched_param, ptr %6, i32 0, i32 0
store i32 %77, ptr %78, align 4
%79 = call i32 @pthread_attr_setschedparam(ptr noundef %7, ptr noundef %6)
%80 = getelementptr inbounds %struct.sched_param, ptr %6, i32 0, i32 0
%81 = load i32, ptr %80, align 4
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %81)
%83 = call i32 @pthread_attr_destroy(ptr noundef %7)
ret ptr null
}
declare i32 @pthread_attr_init(ptr noundef) #1
declare i64 @pthread_attr_setinheritsched(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @pthread_attr_getinheritsched(ptr noundef, ptr noundef) #1
declare i32 @pthread_attr_setschedpolicy(ptr noundef, i32 noundef) #1
declare i32 @sched_get_priority_max(i32 noundef) #1
declare i32 @pthread_attr_setschedparam(ptr noundef, ptr noundef) #1
declare i32 @pthread_attr_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxzd7_wu7.c'
source_filename = "/tmp/tmpxzd7_wu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apr_listen(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @listen(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @listen(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/tmpxzd7_wu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @apr_listen(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @listen(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @listen(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/tmpyzp2gsa2.c'
source_filename = "/tmp/tmpyzp2gsa2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_SIGN_ENVELOPE_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PKCS7_SIGN_ENVELOPE_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @PKCS7_SIGN_ENVELOPE_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyzp2gsa2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PKCS7_SIGN_ENVELOPE_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @PKCS7_SIGN_ENVELOPE_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @PKCS7_SIGN_ENVELOPE_it)
%2 = inttoptr i64 %1 to ptr
ret ptr %2
}
declare i64 @ASN1_item_new(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdnrutdja.c'
source_filename = "/tmp/tmpdnrutdja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"Congratulations, you win!!! You successfully changed the code flow\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @win() #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/tmpdnrutdja.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"Congratulations, you win!!! You successfully changed the code flow\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @win() #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/tmpswp0fofl.c'
source_filename = "/tmp/tmpswp0fofl.c"
target datalayout = "e-m:e-p270: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 @is_dir(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 i32 @assert(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %4)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %1
%11 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i64 @S_ISDIR(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
store i32 1, ptr %2, align 4
br label %18
16: ; preds = %10
br label %17
17: ; preds = %16, %1
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %15
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @assert(ptr noundef) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(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/tmpswp0fofl.c"
target datalayout = "e-m:e-p270: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 @is_dir(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 i32 @assert(ptr noundef %5)
%7 = load ptr, ptr %3, align 8
%8 = call i64 @lstat(ptr noundef %7, ptr noundef %4)
%9 = icmp eq i64 %8, 0
br i1 %9, label %10, label %17
10: ; preds = %1
%11 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i64 @S_ISDIR(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %10
store i32 1, ptr %2, align 4
br label %18
16: ; preds = %10
br label %17
17: ; preds = %16, %1
store i32 0, ptr %2, align 4
br label %18
18: ; preds = %17, %15
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i32 @assert(ptr noundef) #1
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(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/tmpjlxt6hd4.c'
source_filename = "/tmp/tmpjlxt6hd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"kp %d %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 1, ptr %1, align 4
store ptr null, ptr %2, align 8
%3 = load i32, ptr %1, align 4
%4 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %3)
store i32 100, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 8, ptr noundef %7)
%9 = call i64 @malloc(i32 noundef 10)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 8, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjlxt6hd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"kp %d %p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 1, ptr %1, align 4
store ptr null, ptr %2, align 8
%3 = load i32, ptr %1, align 4
%4 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %3)
store i32 100, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 8, ptr noundef %7)
%9 = call i64 @malloc(i32 noundef 10)
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %2, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef 8, ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = call i32 @free(ptr noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjsmhva6z.c'
source_filename = "/tmp/tmpjsmhva6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %26
8: ; preds = %1
store i32 1, ptr %4, align 4
br label %9
9: ; preds = %22, %8
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 10000
br i1 %11, label %12, label %25
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = mul nsw i32 %14, %15
%17 = icmp slt i32 %13, %16
br i1 %17, label %18, label %21
18: ; preds = %12
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
store i32 %20, ptr %2, align 4
br label %26
21: ; preds = %12
br label %22
22: ; preds = %21
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %9, !llvm.loop !6
25: ; preds = %9
store i32 10000, ptr %2, align 4
br label %26
26: ; preds = %25, %18, %7
%27 = load i32, ptr %2, align 4
ret i32 %27
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjsmhva6z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sqrt(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %27
8: ; preds = %1
store i32 1, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 10000
br i1 %10, label %.lr.ph, label %26
.lr.ph: ; preds = %8
br label %11
11: ; preds = %.lr.ph, %21
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = mul nsw i32 %13, %14
%16 = icmp slt i32 %12, %15
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = load i32, ptr %4, align 4
%19 = sub nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %27
20: ; preds = %11
br label %21
21: ; preds = %20
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 10000
br i1 %25, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %8
store i32 10000, ptr %2, align 4
br label %27
27: ; preds = %26, %17, %7
%28 = load i32, ptr %2, align 4
ret i32 %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp08_isxac.c'
source_filename = "/tmp/tmp08_isxac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_SETMASK = 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/tmp08_isxac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIG_SETMASK = 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/tmpj1yzelwz.c'
source_filename = "/tmp/tmpj1yzelwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add64(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = add nsw i64 %5, %6
ret i64 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj1yzelwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add64(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = add nsw i64 %5, %6
ret i64 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn4z5yauw.c'
source_filename = "/tmp/tmpn4z5yauw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubble_sorti(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
br label %16
16: ; preds = %63, %2
store i32 0, ptr %6, align 4
store i32 1, ptr %5, align 4
br label %17
17: ; preds = %59, %16
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %62
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = load i32, ptr %5, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %22, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i32, ptr %28, i64 %30
%32 = load i32, ptr %31, align 4
%33 = icmp sgt i32 %27, %32
br i1 %33, label %34, label %58
34: ; preds = %21
br label %35
35: ; preds = %34
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %5, align 4
%38 = sub nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
%41 = load i32, ptr %40, align 4
store i32 %41, ptr %7, align 4
%42 = load ptr, ptr %3, align 8
%43 = load i32, ptr %5, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %47, i64 %50
store i32 %46, ptr %51, align 4
%52 = load i32, ptr %7, align 4
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %5, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
store i32 %52, ptr %56, align 4
br label %57
57: ; preds = %35
store i32 1, ptr %6, align 4
br label %58
58: ; preds = %57, %21
br label %59
59: ; preds = %58
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %17, !llvm.loop !6
62: ; preds = %17
br label %63
63: ; preds = %62
%64 = load i32, ptr %6, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %16, label %66, !llvm.loop !8
66: ; preds = %63
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn4z5yauw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bubble_sorti(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
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%8 = load ptr, ptr %3, align 8
%9 = icmp ne ptr %8, null
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
%14 = zext i1 %13 to i32
%15 = call i32 @assert(i32 noundef %14)
br label %16
16: ; preds = %65, %2
store i32 0, ptr %6, align 4
store i32 1, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph, label %64
.lr.ph: ; preds = %16
br label %20
20: ; preds = %.lr.ph, %58
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %5, align 4
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %21, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, align 8
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i32, ptr %27, i64 %29
%31 = load i32, ptr %30, align 4
%32 = icmp sgt i32 %26, %31
br i1 %32, label %33, label %57
33: ; preds = %20
br label %34
34: ; preds = %33
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %5, align 4
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %35, i64 %38
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %7, align 4
%41 = load ptr, ptr %3, align 8
%42 = load i32, ptr %5, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %46, i64 %49
store i32 %45, ptr %50, align 4
%51 = load i32, ptr %7, align 4
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
store i32 %51, ptr %55, align 4
br label %56
56: ; preds = %34
store i32 1, ptr %6, align 4
br label %57
57: ; preds = %56, %20
br label %58
58: ; preds = %57
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
%61 = load i32, ptr %5, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %64
64: ; preds = %._crit_edge, %16
br label %65
65: ; preds = %64
%66 = load i32, ptr %6, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %16, label %68, !llvm.loop !8
68: ; preds = %65
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi2khdztj.c'
source_filename = "/tmp/tmpi2khdztj.c"
target datalayout = "e-m:e-p270: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/tmpi2khdztj.c"
target datalayout = "e-m:e-p270: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/tmpvuyp0aa4.c'
source_filename = "/tmp/tmpvuyp0aa4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_decompress_fast_withPrefix64k(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @LZ4_decompress_fast(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @LZ4_decompress_fast(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvuyp0aa4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LZ4_decompress_fast_withPrefix64k(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @LZ4_decompress_fast(ptr noundef %7, ptr noundef %8, i32 noundef %9)
ret i32 %10
}
declare i32 @LZ4_decompress_fast(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8nc3pfc9.c'
source_filename = "/tmp/tmp8nc3pfc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_GETFD = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmp8nc3pfc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_GETFD = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@SOCK_STREAM = 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/tmpbgn8cytn.c'
source_filename = "/tmp/tmpbgn8cytn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotl_32d(i16 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i32, align 4
store i16 %0, ptr %3, align 2
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = shl i32 %5, 24
%7 = load i32, ptr %4, align 4
%8 = ashr i32 %7, 8
%9 = or i32 %6, %8
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbgn8cytn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotl_32d(i16 noundef signext %0, i32 noundef %1) #0 {
%3 = alloca i16, align 2
%4 = alloca i32, align 4
store i16 %0, ptr %3, align 2
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = shl i32 %5, 24
%7 = load i32, ptr %4, align 4
%8 = ashr i32 %7, 8
%9 = or i32 %6, %8
ret i32 %9
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqimlvdl3.c'
source_filename = "/tmp/tmpqimlvdl3.c"
target datalayout = "e-m:e-p270: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/tmpqimlvdl3.c"
target datalayout = "e-m:e-p270: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/tmprwxltpmv.c'
source_filename = "/tmp/tmprwxltpmv.c"
target datalayout = "e-m:e-p270: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/tmprwxltpmv.c"
target datalayout = "e-m:e-p270: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/tmp04sz312b.c'
source_filename = "/tmp/tmp04sz312b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Primeiro programa em C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmp04sz312b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Primeiro programa em C!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
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/tmpyzyscq0k.c'
source_filename = "/tmp/tmpyzyscq0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Default_PDM_IRQHandler() #0 {
br label %1
1: ; preds = %0, %1
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyzyscq0k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Default_PDM_IRQHandler() #0 {
br label %1
1: ; preds = %1, %0
br label %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoe649xyd.c'
source_filename = "/tmp/tmpoe649xyd.c"
target datalayout = "e-m:e-p270: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/tmpoe649xyd.c"
target datalayout = "e-m:e-p270: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/tmpbrh073tk.c'
source_filename = "/tmp/tmpbrh073tk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WI_slamBackground() #0 {
%1 = call i32 @V_CopyRect(i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 320, i32 noundef 200, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @V_CopyRect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbrh073tk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WI_slamBackground() #0 {
%1 = call i32 @V_CopyRect(i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 320, i32 noundef 200, i32 noundef 0, i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @V_CopyRect(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpevcsuo2j.c'
source_filename = "/tmp/tmpevcsuo2j.c"
target datalayout = "e-m:e-p270: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/tmpevcsuo2j.c"
target datalayout = "e-m:e-p270: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/tmpjhbubali.c'
source_filename = "/tmp/tmpjhbubali.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hash.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"NULL\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"\E7\B5\90\E6\9E\9C\E3\82\92hash.txt\E3\81\AB\E6\9B\B8\E3\81\8D\E8\BE\BC\E3\81\BF\E3\81\BE\E3\81\97\E3\81\9F\E3\80\82\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"\E3\83\95\E3\82\A1\E3\82\A4\E3\83\AB\E3\81\AB\E7\B5\90\E6\9E\9C\E3\82\92\E6\9B\B8\E3\81\8D\E8\BE\BC\E3\82\81\E3\81\BE\E3\81\9B\E3\82\93\E3\81\A7\E3\81\97\E3\81\9F\E3\80\82\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10000 x i32], align 16
%3 = alloca [20000 x ptr], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 160000, i1 false)
%9 = call i64 @time(ptr noundef null)
%10 = trunc i64 %9 to i32
%11 = call i32 @srand(i32 noundef %10)
store i32 0, ptr %5, align 4
br label %12
12: ; preds = %21, %0
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 10000
br i1 %14, label %15, label %24
15: ; preds = %12
%16 = call i32 (...) @rand()
%17 = srem i32 %16, 20000
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %19
store i32 %17, ptr %20, align 4
br label %21
21: ; preds = %15
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %12, !llvm.loop !6
24: ; preds = %12
store i32 0, ptr %6, align 4
br label %25
25: ; preds = %53, %24
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 10000
br i1 %27, label %28, label %56
28: ; preds = %25
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @hash_func(i32 noundef %32)
store i32 %33, ptr %7, align 4
br label %34
34: ; preds = %43, %28
%35 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %46
40: ; preds = %34
%41 = load i32, ptr %7, align 4
%42 = srem i32 %41, 20000
store i32 %42, ptr %7, align 4
br label %43
43: ; preds = %40
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %34, !llvm.loop !8
46: ; preds = %34
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %48
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %51
store ptr %49, ptr %52, align 8
br label %53
53: ; preds = %46
%54 = load i32, ptr %6, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %6, align 4
br label %25, !llvm.loop !9
56: ; preds = %25
%57 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %57, ptr %4, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %86
59: ; preds = %56
store i32 0, ptr %8, align 4
br label %60
60: ; preds = %81, %59
%61 = load i32, ptr %8, align 4
%62 = icmp slt i32 %61, 20000
br i1 %62, label %63, label %84
63: ; preds = %60
%64 = load i32, ptr %8, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %77
69: ; preds = %63
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %8, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load i32, ptr %74, align 4
%76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %70, ptr noundef @.str.2, i32 noundef %75)
br label %80
77: ; preds = %63
%78 = load ptr, ptr %4, align 8
%79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %78, ptr noundef @.str.3)
br label %80
80: ; preds = %77, %69
br label %81
81: ; preds = %80
%82 = load i32, ptr %8, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %8, align 4
br label %60, !llvm.loop !10
84: ; preds = %60
%85 = call i32 @printf(ptr noundef @.str.4)
br label %88
86: ; preds = %56
%87 = call i32 @printf(ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %89
88: ; preds = %84
store i32 0, ptr %1, align 4
br label %89
89: ; preds = %88, %86
%90 = load i32, ptr %1, align 4
ret i32 %90
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @srand(i32 noundef) #2
declare i64 @time(ptr noundef) #2
declare i32 @rand(...) #2
declare i32 @hash_func(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjhbubali.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hash.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"NULL\0A\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"\E7\B5\90\E6\9E\9C\E3\82\92hash.txt\E3\81\AB\E6\9B\B8\E3\81\8D\E8\BE\BC\E3\81\BF\E3\81\BE\E3\81\97\E3\81\9F\E3\80\82\0A\00", align 1
@.str.5 = private unnamed_addr constant [59 x i8] c"\E3\83\95\E3\82\A1\E3\82\A4\E3\83\AB\E3\81\AB\E7\B5\90\E6\9E\9C\E3\82\92\E6\9B\B8\E3\81\8D\E8\BE\BC\E3\82\81\E3\81\BE\E3\81\9B\E3\82\93\E3\81\A7\E3\81\97\E3\81\9F\E3\80\82\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [10000 x i32], align 16
%3 = alloca [20000 x ptr], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 160000, i1 false)
%9 = call i64 @time(ptr noundef null)
%10 = trunc i64 %9 to i32
%11 = call i32 @srand(i32 noundef %10)
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 10000
br i1 %13, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %14
14: ; preds = %.lr.ph, %20
%15 = call i32 (...) @rand()
%16 = srem i32 %15, 20000
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %18
store i32 %16, ptr %19, align 4
br label %20
20: ; preds = %14
%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 = icmp slt i32 %23, 10000
br i1 %24, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %0
store i32 0, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = icmp slt i32 %26, 10000
br i1 %27, label %.lr.ph5, label %62
.lr.ph5: ; preds = %25
br label %28
28: ; preds = %.lr.ph5, %57
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %31, align 4
%33 = call i32 @hash_func(i32 noundef %32)
store i32 %33, ptr %7, align 4
%34 = load i32, ptr %7, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %.lr.ph2, label %50
.lr.ph2: ; preds = %28
br label %39
39: ; preds = %.lr.ph2, %42
%40 = load i32, ptr %7, align 4
%41 = srem i32 %40, 20000
store i32 %41, ptr %7, align 4
br label %42
42: ; preds = %39
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %39, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %50
50: ; preds = %._crit_edge3, %28
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [10000 x i32], ptr %2, i64 0, i64 %52
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %55
store ptr %53, ptr %56, align 8
br label %57
57: ; preds = %50
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
%60 = load i32, ptr %6, align 4
%61 = icmp slt i32 %60, 10000
br i1 %61, label %28, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %57
br label %62
62: ; preds = %._crit_edge6, %25
%63 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %63, ptr %4, align 8
%64 = icmp ne ptr %63, null
br i1 %64, label %65, label %93
65: ; preds = %62
store i32 0, ptr %8, align 4
%66 = load i32, ptr %8, align 4
%67 = icmp slt i32 %66, 20000
br i1 %67, label %.lr.ph8, label %91
.lr.ph8: ; preds = %65
br label %68
68: ; preds = %.lr.ph8, %86
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = icmp ne ptr %72, null
br i1 %73, label %74, label %82
74: ; preds = %68
%75 = load ptr, ptr %4, align 8
%76 = load i32, ptr %8, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [20000 x ptr], ptr %3, i64 0, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = load i32, ptr %79, align 4
%81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str.2, i32 noundef %80)
br label %85
82: ; preds = %68
%83 = load ptr, ptr %4, align 8
%84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.3)
br label %85
85: ; preds = %82, %74
br label %86
86: ; preds = %85
%87 = load i32, ptr %8, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %8, align 4
%89 = load i32, ptr %8, align 4
%90 = icmp slt i32 %89, 20000
br i1 %90, label %68, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %86
br label %91
91: ; preds = %._crit_edge9, %65
%92 = call i32 @printf(ptr noundef @.str.4)
br label %95
93: ; preds = %62
%94 = call i32 @printf(ptr noundef @.str.5)
store i32 -1, ptr %1, align 4
br label %96
95: ; preds = %91
store i32 0, ptr %1, align 4
br label %96
96: ; preds = %95, %93
%97 = load i32, ptr %1, align 4
ret i32 %97
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @srand(i32 noundef) #2
declare i64 @time(ptr noundef) #2
declare i32 @rand(...) #2
declare i32 @hash_func(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpu2li3sbj.c'
source_filename = "/tmp/tmpu2li3sbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_cxx_builtin() #0 {
%1 = call i32 (...) @__builtin_is_constant_evaluated()
ret i32 %1
}
declare i32 @__builtin_is_constant_evaluated(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu2li3sbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_cxx_builtin() #0 {
%1 = call i32 (...) @__builtin_is_constant_evaluated()
ret i32 %1
}
declare i32 @__builtin_is_constant_evaluated(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7o4e6ift.c'
source_filename = "/tmp/tmp7o4e6ift.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %1, align 4
br label %5
5: ; preds = %53, %0
%6 = load i32, ptr %1, align 4
%7 = icmp slt i32 %6, 1000
br i1 %7, label %8, label %56
8: ; preds = %5
store i32 1, ptr %2, align 4
br label %9
9: ; preds = %49, %8
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %52
13: ; preds = %9
store i32 1, ptr %3, align 4
br label %14
14: ; preds = %45, %13
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %48
18: ; preds = %14
%19 = load i32, ptr %1, align 4
%20 = load i32, ptr %1, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %2, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %3, align 4
%27 = mul nsw i32 %25, %26
%28 = add nsw i32 %24, %27
%29 = icmp eq i32 %21, %28
br i1 %29, label %30, label %44
30: ; preds = %18
%31 = load i32, ptr %1, align 4
%32 = load i32, ptr %2, align 4
%33 = add nsw i32 %31, %32
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %33, %34
%36 = icmp eq i32 %35, 1000
br i1 %36, label %37, label %44
37: ; preds = %30
%38 = load i32, ptr %1, align 4
%39 = load i32, ptr %2, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %3, align 4
%42 = mul nsw i32 %40, %41
%43 = call i32 @printf(ptr noundef @.str, i32 noundef %42)
br label %44
44: ; preds = %37, %30, %18
br label %45
45: ; preds = %44
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
br label %14, !llvm.loop !6
48: ; preds = %14
br label %49
49: ; preds = %48
%50 = load i32, ptr %2, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %2, align 4
br label %9, !llvm.loop !8
52: ; preds = %9
br label %53
53: ; preds = %52
%54 = load i32, ptr %1, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %1, align 4
br label %5, !llvm.loop !9
56: ; preds = %5
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7o4e6ift.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 1, ptr %1, align 4
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %1, align 4
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 1000
br i1 %6, label %.lr.ph5, label %61
.lr.ph5: ; preds = %0
br label %7
7: ; preds = %.lr.ph5, %56
store i32 1, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph2, label %55
.lr.ph2: ; preds = %7
br label %11
11: ; preds = %.lr.ph2, %49
store i32 1, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %48
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %42
%16 = load i32, ptr %1, align 4
%17 = load i32, ptr %1, align 4
%18 = mul nsw i32 %16, %17
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %22, %23
%25 = add nsw i32 %21, %24
%26 = icmp eq i32 %18, %25
br i1 %26, label %27, label %41
27: ; preds = %15
%28 = load i32, ptr %1, align 4
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %28, %29
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %30, %31
%33 = icmp eq i32 %32, 1000
br i1 %33, label %34, label %41
34: ; preds = %27
%35 = load i32, ptr %1, align 4
%36 = load i32, ptr %2, align 4
%37 = mul nsw i32 %35, %36
%38 = load i32, ptr %3, align 4
%39 = mul nsw i32 %37, %38
%40 = call i32 @printf(ptr noundef @.str, i32 noundef %39)
br label %41
41: ; preds = %34, %27, %15
br label %42
42: ; preds = %41
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %48
48: ; preds = %._crit_edge, %11
br label %49
49: ; preds = %48
%50 = load i32, ptr %2, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %2, align 4
%52 = load i32, ptr %2, align 4
%53 = load i32, ptr %1, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %7
br label %56
56: ; preds = %55
%57 = load i32, ptr %1, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %1, align 4
%59 = load i32, ptr %1, align 4
%60 = icmp slt i32 %59, 1000
br i1 %60, label %7, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %56
br label %61
61: ; preds = %._crit_edge6, %0
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpodfazhry.c'
source_filename = "/tmp/tmpodfazhry.c"
target datalayout = "e-m:e-p270: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 [20 x i32] [i32 20, i32 19, i32 18, i32 17, i32 16, i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 80, i1 false)
%3 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @bubbleSort(ptr noundef %3, i32 noundef 20)
%5 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 3
%6 = load i32, ptr %5, align 4
ret i32 %6
}
; 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 @bubbleSort(ptr 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/tmpodfazhry.c"
target datalayout = "e-m:e-p270: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 [20 x i32] [i32 20, i32 19, i32 18, i32 17, i32 16, i32 15, i32 14, i32 13, i32 12, i32 11, i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [20 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a, i64 80, i1 false)
%3 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @bubbleSort(ptr noundef %3, i32 noundef 20)
%5 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 3
%6 = load i32, ptr %5, align 4
ret i32 %6
}
; 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 @bubbleSort(ptr 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/tmpq9lpn3ns.c'
source_filename = "/tmp/tmpq9lpn3ns.c"
target datalayout = "e-m:e-p270: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/tmpq9lpn3ns.c"
target datalayout = "e-m:e-p270: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/tmpvd773eyh.c'
source_filename = "/tmp/tmpvd773eyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i64 0, align 8
@ENOMEM = dso_local global i64 0, align 8
@EX_DATAERR = dso_local global i32 0, align 4
@EX_OSERR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvd773eyh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOENT = dso_local global i64 0, align 8
@ENOMEM = dso_local global i64 0, align 8
@EX_DATAERR = dso_local global i32 0, align 4
@EX_OSERR = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwobwko15.c'
source_filename = "/tmp/tmpwobwko15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @WriteChar_Real(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 255
%6 = trunc i32 %5 to i8
store i8 %6, ptr %3, align 1
%7 = load i8, ptr %3, align 1
%8 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fflush(i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
declare i32 @fflush(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/tmpwobwko15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @WriteChar_Real(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = and i32 %4, 255
%6 = trunc i32 %5 to i8
store i8 %6, ptr %3, align 1
%7 = load i8, ptr %3, align 1
%8 = call i32 @printf(ptr noundef @.str, i8 noundef zeroext %7)
%9 = load i32, ptr @stdout, align 4
%10 = call i32 @fflush(i32 noundef %9)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef zeroext) #1
declare i32 @fflush(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/tmphjjux45_.c'
source_filename = "/tmp/tmphjjux45_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Iz success.\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Iz fail.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @func()
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
br label %12
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %13
12: ; preds = %8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %12, %10
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @func(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphjjux45_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Iz success.\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"Iz fail.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @func()
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %2
%9 = call i32 @printf(ptr noundef @.str)
br label %12
10: ; preds = %2
%11 = call i32 @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %13
12: ; preds = %8
store i32 0, ptr %3, align 4
br label %13
13: ; preds = %12, %10
%14 = load i32, ptr %3, align 4
ret i32 %14
}
declare i32 @func(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2rj5owr_.c'
source_filename = "/tmp/tmp2rj5owr_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aq5_strcat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %8, %10
%12 = add nsw i32 %11, 1
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %28
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load ptr, ptr %5, align 8
%26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %6, align 8
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %16, %15
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2rj5owr_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aq5_strcat(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = load ptr, ptr %5, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %8, %10
%12 = add nsw i32 %11, 1
%13 = call ptr @malloc(i32 noundef %12)
store ptr %13, ptr %6, align 8
%14 = icmp eq ptr %13, null
br i1 %14, label %15, label %16
15: ; preds = %2
store ptr null, ptr %3, align 8
br label %28
16: ; preds = %2
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %4, align 8
%19 = call i32 @strcpy(ptr noundef %17, ptr noundef %18)
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %4, align 8
%22 = call i32 @strlen(ptr noundef %21)
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load ptr, ptr %5, align 8
%26 = call i32 @strcpy(ptr noundef %24, ptr noundef %25)
%27 = load ptr, ptr %6, align 8
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %16, %15
%29 = load ptr, ptr %3, align 8
ret ptr %29
}
declare ptr @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc81wfemh.c'
source_filename = "/tmp/tmpc81wfemh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cleanup\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"lock\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"linefeed\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"baud0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cleanup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @writeport(i32 noundef %4, ptr noundef @.str.1)
%6 = load i32, ptr %2, align 4
%7 = call i32 @writeport(i32 noundef %6, ptr noundef @.str.2)
%8 = load i32, ptr %2, align 4
%9 = call i32 @writeport(i32 noundef %8, ptr noundef @.str.3)
%10 = call i32 @sleep(i32 noundef 2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @writeport(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc81wfemh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cleanup\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"lock\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"linefeed\0A\00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"baud0\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cleanup(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @writeport(i32 noundef %4, ptr noundef @.str.1)
%6 = load i32, ptr %2, align 4
%7 = call i32 @writeport(i32 noundef %6, ptr noundef @.str.2)
%8 = load i32, ptr %2, align 4
%9 = call i32 @writeport(i32 noundef %8, ptr noundef @.str.3)
%10 = call i32 @sleep(i32 noundef 2)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @writeport(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppp8y9fo9.c'
source_filename = "/tmp/tmppp8y9fo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2147483648, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @test(i32 noundef %7, i32 noundef %8)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @test(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppp8y9fo9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -2147483648, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = call i32 @test(i32 noundef %7, i32 noundef %8)
%10 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @test(i32 noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzcoemb77.c'
source_filename = "/tmp/tmpzcoemb77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t5() #0 {
%1 = alloca [32 x i32], align 16
%2 = alloca [1024 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %13, %0
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 1024
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %11
store i32 %9, ptr %12, align 4
br label %13
13: ; preds = %8
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %5, !llvm.loop !6
16: ; preds = %5
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %24, %16
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 32
br i1 %19, label %20, label %27
20: ; preds = %17
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %22
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
br label %17, !llvm.loop !8
27: ; preds = %17
store i32 0, ptr %4, align 4
br label %28
28: ; preds = %37, %27
%29 = load i32, ptr %4, align 4
%30 = icmp slt i32 %29, 32
br i1 %30, label %31, label %40
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %34, align 4
br label %37
37: ; preds = %31
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %28, !llvm.loop !9
40: ; preds = %28
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %58, %40
%42 = load i32, ptr %4, align 4
%43 = icmp slt i32 %42, 1024
br i1 %43, label %44, label %61
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %46
%48 = load i32, ptr %47, align 4
%49 = srem i32 %48, 2
%50 = icmp ne i32 %49, 0
br i1 %50, label %51, label %57
51: ; preds = %44
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = mul nsw i32 %55, 2
store i32 %56, ptr %54, align 4
br label %57
57: ; preds = %51, %44
br label %58
58: ; preds = %57
%59 = load i32, ptr %4, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %4, align 4
br label %41, !llvm.loop !10
61: ; preds = %41
store i32 0, ptr %4, align 4
br label %62
62: ; preds = %71, %61
%63 = load i32, ptr %4, align 4
%64 = icmp slt i32 %63, 32
br i1 %64, label %65, label %74
65: ; preds = %62
%66 = load i32, ptr %4, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %67
%69 = load i32, ptr %68, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %68, align 4
br label %71
71: ; preds = %65
%72 = load i32, ptr %4, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %4, align 4
br label %62, !llvm.loop !11
74: ; preds = %62
store i32 0, ptr %3, align 4
br label %75
75: ; preds = %86, %74
%76 = load i32, ptr %3, align 4
%77 = icmp slt i32 %76, 32
br i1 %77, label %78, label %89
78: ; preds = %75
%79 = load i32, ptr %3, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %80
%82 = load i32, ptr %81, align 4
%83 = icmp eq i32 %82, 2
%84 = zext i1 %83 to i32
%85 = call i32 @assert(i32 noundef %84)
br label %86
86: ; preds = %78
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %3, align 4
br label %75, !llvm.loop !12
89: ; preds = %75
store i32 0, ptr %3, align 4
br label %90
90: ; preds = %111, %89
%91 = load i32, ptr %3, align 4
%92 = icmp slt i32 %91, 1024
br i1 %92, label %93, label %114
93: ; preds = %90
%94 = load i32, ptr %3, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %95
%97 = load i32, ptr %96, align 4
%98 = load i32, ptr %3, align 4
%99 = srem i32 %98, 2
%100 = icmp eq i32 %99, 0
br i1 %100, label %101, label %103
101: ; preds = %93
%102 = load i32, ptr %3, align 4
br label %106
103: ; preds = %93
%104 = load i32, ptr %3, align 4
%105 = mul nsw i32 %104, 2
br label %106
106: ; preds = %103, %101
%107 = phi i32 [ %102, %101 ], [ %105, %103 ]
%108 = icmp eq i32 %97, %107
%109 = zext i1 %108 to i32
%110 = call i32 @assert(i32 noundef %109)
br label %111
111: ; preds = %106
%112 = load i32, ptr %3, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %3, align 4
br label %90, !llvm.loop !13
114: ; preds = %90
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzcoemb77.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @t5() #0 {
%1 = alloca [32 x i32], align 16
%2 = alloca [1024 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 1024
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %12
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %10
store i32 %8, ptr %11, align 4
br label %12
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %15, 1024
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
store i32 0, ptr %3, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %18, 32
br i1 %19, label %.lr.ph2, label %29
.lr.ph2: ; preds = %17
br label %20
20: ; preds = %.lr.ph2, %24
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %22
store i32 0, ptr %23, align 4
br label %24
24: ; preds = %20
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 32
br i1 %28, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %29
29: ; preds = %._crit_edge3, %17
store i32 0, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp slt i32 %30, 32
br i1 %31, label %.lr.ph5, label %43
.lr.ph5: ; preds = %29
br label %32
32: ; preds = %.lr.ph5, %38
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %34
%36 = load i32, ptr %35, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %35, align 4
br label %38
38: ; preds = %32
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
%41 = load i32, ptr %4, align 4
%42 = icmp slt i32 %41, 32
br i1 %42, label %32, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %38
br label %43
43: ; preds = %._crit_edge6, %29
store i32 0, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp slt i32 %44, 1024
br i1 %45, label %.lr.ph8, label %65
.lr.ph8: ; preds = %43
br label %46
46: ; preds = %.lr.ph8, %60
%47 = load i32, ptr %4, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %48
%50 = load i32, ptr %49, align 4
%51 = srem i32 %50, 2
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %46
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = mul nsw i32 %57, 2
store i32 %58, ptr %56, align 4
br label %59
59: ; preds = %53, %46
br label %60
60: ; preds = %59
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %4, align 4
%63 = load i32, ptr %4, align 4
%64 = icmp slt i32 %63, 1024
br i1 %64, label %46, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %60
br label %65
65: ; preds = %._crit_edge9, %43
store i32 0, ptr %4, align 4
%66 = load i32, ptr %4, align 4
%67 = icmp slt i32 %66, 32
br i1 %67, label %.lr.ph11, label %79
.lr.ph11: ; preds = %65
br label %68
68: ; preds = %.lr.ph11, %74
%69 = load i32, ptr %4, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %71, align 4
br label %74
74: ; preds = %68
%75 = load i32, ptr %4, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %4, align 4
%77 = load i32, ptr %4, align 4
%78 = icmp slt i32 %77, 32
br i1 %78, label %68, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %74
br label %79
79: ; preds = %._crit_edge12, %65
store i32 0, ptr %3, align 4
%80 = load i32, ptr %3, align 4
%81 = icmp slt i32 %80, 32
br i1 %81, label %.lr.ph14, label %95
.lr.ph14: ; preds = %79
br label %82
82: ; preds = %.lr.ph14, %90
%83 = load i32, ptr %3, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [32 x i32], ptr %1, i64 0, i64 %84
%86 = load i32, ptr %85, align 4
%87 = icmp eq i32 %86, 2
%88 = zext i1 %87 to i32
%89 = call i32 @assert(i32 noundef %88)
br label %90
90: ; preds = %82
%91 = load i32, ptr %3, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %3, align 4
%93 = load i32, ptr %3, align 4
%94 = icmp slt i32 %93, 32
br i1 %94, label %82, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %90
br label %95
95: ; preds = %._crit_edge15, %79
store i32 0, ptr %3, align 4
%96 = load i32, ptr %3, align 4
%97 = icmp slt i32 %96, 1024
br i1 %97, label %.lr.ph17, label %121
.lr.ph17: ; preds = %95
br label %98
98: ; preds = %.lr.ph17, %116
%99 = load i32, ptr %3, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds [1024 x i32], ptr %2, i64 0, i64 %100
%102 = load i32, ptr %101, align 4
%103 = load i32, ptr %3, align 4
%104 = srem i32 %103, 2
%105 = icmp eq i32 %104, 0
br i1 %105, label %106, label %108
106: ; preds = %98
%107 = load i32, ptr %3, align 4
br label %111
108: ; preds = %98
%109 = load i32, ptr %3, align 4
%110 = mul nsw i32 %109, 2
br label %111
111: ; preds = %108, %106
%112 = phi i32 [ %107, %106 ], [ %110, %108 ]
%113 = icmp eq i32 %102, %112
%114 = zext i1 %113 to i32
%115 = call i32 @assert(i32 noundef %114)
br label %116
116: ; preds = %111
%117 = load i32, ptr %3, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %3, align 4
%119 = load i32, ptr %3, align 4
%120 = icmp slt i32 %119, 1024
br i1 %120, label %98, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %116
br label %121
121: ; preds = %._crit_edge18, %95
ret void
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
|
; ModuleID = '/tmp/tmp8g4iz34m.c'
source_filename = "/tmp/tmp8g4iz34m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fprint_rng(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @print_rng(ptr noundef %4)
ret i32 %5
}
declare i32 @print_rng(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8g4iz34m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fprint_rng(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i32 @print_rng(ptr noundef %4)
ret i32 %5
}
declare i32 @print_rng(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5an010b8.c'
source_filename = "/tmp/tmp5an010b8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"add r1 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @add_offset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @output_with_tab(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @output_number(i32 noundef %4)
%6 = call i32 (...) @newline()
ret void
}
declare i32 @output_with_tab(ptr noundef) #1
declare i32 @output_number(i32 noundef) #1
declare i32 @newline(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5an010b8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"add r1 \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @add_offset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @output_with_tab(ptr noundef @.str)
%4 = load i32, ptr %2, align 4
%5 = call i32 @output_number(i32 noundef %4)
%6 = call i32 (...) @newline()
ret void
}
declare i32 @output_with_tab(ptr noundef) #1
declare i32 @output_number(i32 noundef) #1
declare i32 @newline(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi_0idcw1.c'
source_filename = "/tmp/tmpi_0idcw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeNormalizedVectorAngle3fDeg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @glmDotProduct3f(ptr noundef %5, ptr noundef %6)
%8 = call i32 @acos(i32 noundef %7)
%9 = call float @glmDegf(i32 noundef %8)
ret float %9
}
declare float @glmDegf(i32 noundef) #1
declare i32 @acos(i32 noundef) #1
declare i32 @glmDotProduct3f(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/tmpi_0idcw1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @glmComputeNormalizedVectorAngle3fDeg(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @glmDotProduct3f(ptr noundef %5, ptr noundef %6)
%8 = call i32 @acos(i32 noundef %7)
%9 = call float @glmDegf(i32 noundef %8)
ret float %9
}
declare float @glmDegf(i32 noundef) #1
declare i32 @acos(i32 noundef) #1
declare i32 @glmDotProduct3f(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/tmpl88h8wo1.c'
source_filename = "/tmp/tmpl88h8wo1.c"
target datalayout = "e-m:e-p270: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/tmpl88h8wo1.c"
target datalayout = "e-m:e-p270: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/tmp80v0stl_.c'
source_filename = "/tmp/tmp80v0stl_.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"The value of 0x2aab6c531058 is %lx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %6, align 4
store ptr %6, ptr %8, align 8
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %9, align 4
br label %26
17: ; preds = %2
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr %9, align 4
%24 = load ptr, ptr %8, align 8
store i32 %23, ptr %24, align 4
br label %25
25: ; preds = %22, %17
br label %26
26: ; preds = %25, %14
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %27, align 4
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = mul i64 8, %30
%32 = trunc i64 %31 to i32
%33 = call i64 @malloc(i32 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %7, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %36, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %35, i64 %38
store ptr null, ptr %39, align 8
store i64 0, ptr %10, align 8
br label %40
40: ; preds = %44, %26
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %9, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %67
44: ; preds = %40
%45 = load ptr, ptr %5, align 8
%46 = load i64, ptr %10, align 8
%47 = getelementptr inbounds ptr, ptr %45, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = add nsw i32 %49, 1
%51 = call i64 @malloc(i32 noundef %50)
%52 = inttoptr i64 %51 to ptr
%53 = load ptr, ptr %7, align 8
%54 = load i64, ptr %10, align 8
%55 = getelementptr inbounds ptr, ptr %53, i64 %54
store ptr %52, ptr %55, align 8
%56 = load ptr, ptr %7, align 8
%57 = load i64, ptr %10, align 8
%58 = getelementptr inbounds ptr, ptr %56, i64 %57
%59 = load ptr, ptr %58, align 8
%60 = load ptr, ptr %5, align 8
%61 = load i64, ptr %10, align 8
%62 = getelementptr inbounds ptr, ptr %60, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = call i32 @strcpy(ptr noundef %59, ptr noundef %63)
%65 = load i64, ptr %10, align 8
%66 = add i64 %65, 1
store i64 %66, ptr %10, align 8
br label %40, !llvm.loop !6
67: ; preds = %40
%68 = load i32, ptr @stderr, align 4
%69 = load i64, ptr inttoptr (i64 46915745157208 to ptr), align 8
%70 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str, i64 noundef %69)
%71 = load ptr, ptr %5, align 8
%72 = load i64, ptr %10, align 8
%73 = getelementptr inbounds ptr, ptr %71, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = call i32 @strlen(ptr noundef %74)
%76 = add nsw i32 %75, 1
%77 = call i64 @malloc(i32 noundef %76)
%78 = inttoptr i64 %77 to ptr
%79 = load ptr, ptr %7, align 8
%80 = load i64, ptr %10, align 8
%81 = getelementptr inbounds ptr, ptr %79, i64 %80
store ptr %78, ptr %81, align 8
%82 = load ptr, ptr %7, align 8
%83 = load i64, ptr %10, align 8
%84 = getelementptr inbounds ptr, ptr %82, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load ptr, ptr %5, align 8
%87 = load i64, ptr %10, align 8
%88 = getelementptr inbounds ptr, ptr %86, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = call i32 @strcpy(ptr noundef %85, ptr noundef %89)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp80v0stl_.c"
target datalayout = "e-m:e-p270: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 [36 x i8] c"The value of 0x2aab6c531058 is %lx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 4, ptr %6, align 4
store ptr %6, ptr %8, align 8
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = load ptr, ptr %8, align 8
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %9, align 4
br label %26
17: ; preds = %2
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %9, align 4
%21 = icmp sgt i32 %19, %20
br i1 %21, label %22, label %25
22: ; preds = %17
%23 = load i32, ptr %9, align 4
%24 = load ptr, ptr %8, align 8
store i32 %23, ptr %24, align 4
br label %25
25: ; preds = %22, %17
br label %26
26: ; preds = %25, %14
%27 = load ptr, ptr %8, align 8
%28 = load i32, ptr %27, align 4
%29 = add nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = mul i64 8, %30
%32 = trunc i64 %31 to i32
%33 = call i64 @malloc(i32 noundef %32)
%34 = inttoptr i64 %33 to ptr
store ptr %34, ptr %7, align 8
%35 = load ptr, ptr %7, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %36, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %35, i64 %38
store ptr null, ptr %39, align 8
store i64 0, ptr %10, align 8
%40 = load i32, ptr %9, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %9, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %.lr.ph, label %69
.lr.ph: ; preds = %26
br label %43
43: ; preds = %.lr.ph, %43
%44 = load ptr, ptr %5, align 8
%45 = load i64, ptr %10, align 8
%46 = getelementptr inbounds ptr, ptr %44, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = call i32 @strlen(ptr noundef %47)
%49 = add nsw i32 %48, 1
%50 = call i64 @malloc(i32 noundef %49)
%51 = inttoptr i64 %50 to ptr
%52 = load ptr, ptr %7, align 8
%53 = load i64, ptr %10, align 8
%54 = getelementptr inbounds ptr, ptr %52, i64 %53
store ptr %51, ptr %54, align 8
%55 = load ptr, ptr %7, align 8
%56 = load i64, ptr %10, align 8
%57 = getelementptr inbounds ptr, ptr %55, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load ptr, ptr %5, align 8
%60 = load i64, ptr %10, align 8
%61 = getelementptr inbounds ptr, ptr %59, i64 %60
%62 = load ptr, ptr %61, align 8
%63 = call i32 @strcpy(ptr noundef %58, ptr noundef %62)
%64 = load i64, ptr %10, align 8
%65 = add i64 %64, 1
store i64 %65, ptr %10, align 8
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, -1
store i32 %67, ptr %9, align 4
%68 = icmp sgt i32 %67, 0
br i1 %68, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %69
69: ; preds = %._crit_edge, %26
%70 = load i32, ptr @stderr, align 4
%71 = load i64, ptr inttoptr (i64 46915745157208 to ptr), align 8
%72 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str, i64 noundef %71)
%73 = load ptr, ptr %5, align 8
%74 = load i64, ptr %10, align 8
%75 = getelementptr inbounds ptr, ptr %73, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = call i32 @strlen(ptr noundef %76)
%78 = add nsw i32 %77, 1
%79 = call i64 @malloc(i32 noundef %78)
%80 = inttoptr i64 %79 to ptr
%81 = load ptr, ptr %7, align 8
%82 = load i64, ptr %10, align 8
%83 = getelementptr inbounds ptr, ptr %81, i64 %82
store ptr %80, ptr %83, align 8
%84 = load ptr, ptr %7, align 8
%85 = load i64, ptr %10, align 8
%86 = getelementptr inbounds ptr, ptr %84, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = load ptr, ptr %5, align 8
%89 = load i64, ptr %10, align 8
%90 = getelementptr inbounds ptr, ptr %88, i64 %89
%91 = load ptr, ptr %90, align 8
%92 = call i32 @strcpy(ptr noundef %87, ptr noundef %91)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpe4isj2hg.c'
source_filename = "/tmp/tmpe4isj2hg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"The ASCII number of character c is: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Convert the char to int\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"The integer number of the char is: %d\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 i32, align 4
store i32 0, ptr %1, align 4
store i8 51, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = sub nsw i32 %9, 48
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4isj2hg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"The ASCII number of character c is: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"Convert the char to int\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"The integer number of the char is: %d\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 i32, align 4
store i32 0, ptr %1, align 4
store i8 51, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = sub nsw i32 %9, 48
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0665m6d4.c'
source_filename = "/tmp/tmp0665m6d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [94 x i8] c"xterm 2> /dev/null -T ARPreqReplay -e \22aireplay-ng -3 -b %s -h %s %s --ignore-negative-one\22 &\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ARPreqReplay(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 [256 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @system(ptr noundef %13)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0665m6d4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [94 x i8] c"xterm 2> /dev/null -T ARPreqReplay -e \22aireplay-ng -3 -b %s -h %s %s --ignore-negative-one\22 &\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ARPreqReplay(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 [256 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10, ptr noundef %11)
%13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%14 = call i32 @system(ptr noundef %13)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxm7nzpel.c'
source_filename = "/tmp/tmpxm7nzpel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ImageKit_Colorspace_HSV2RGB(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, 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/tmpxm7nzpel.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ImageKit_Colorspace_HSV2RGB(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, 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/tmpr2z3qrtk.c'
source_filename = "/tmp/tmpr2z3qrtk.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Value not hexadecimal: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"TapeAlert\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Check_TapeAlert(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 3
br i1 %6, label %7, label %29
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 3
%10 = load ptr, ptr %9, align 8
%11 = call i32 @ishex(ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %7
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 3
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %7
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, 4
br i1 %22, label %23, label %24
23: ; preds = %20
br label %34
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 @PrintErrorExit(ptr noundef %27, ptr noundef @.str.1)
br label %29
29: ; preds = %24, %2
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 @PrintErrorExit(ptr noundef %32, ptr noundef @.str.1)
br label %34
34: ; preds = %29, %23
ret void
}
declare i32 @ishex(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @PrintErrorExit(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr2z3qrtk.c"
target datalayout = "e-m:e-p270: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 [27 x i8] c"Value not hexadecimal: %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"TapeAlert\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Check_TapeAlert(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 3
br i1 %6, label %7, label %29
7: ; preds = %2
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 3
%10 = load ptr, ptr %9, align 8
%11 = call i32 @ishex(ptr noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %20, label %13
13: ; preds = %7
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 3
%17 = load ptr, ptr %16, align 8
%18 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %7
%21 = load i32, ptr %3, align 4
%22 = icmp eq i32 %21, 4
br i1 %22, label %23, label %24
23: ; preds = %20
br label %34
24: ; preds = %20
%25 = load ptr, ptr %4, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 0
%27 = load ptr, ptr %26, align 8
%28 = call i32 @PrintErrorExit(ptr noundef %27, ptr noundef @.str.1)
br label %29
29: ; preds = %24, %2
%30 = load ptr, ptr %4, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 0
%32 = load ptr, ptr %31, align 8
%33 = call i32 @PrintErrorExit(ptr noundef %32, ptr noundef @.str.1)
br label %34
34: ; preds = %29, %23
ret void
}
declare i32 @ishex(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @PrintErrorExit(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfpl6za04.c'
source_filename = "/tmp/tmpfpl6za04.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_string_to_file(ptr noalias noundef %0, ptr noalias noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = call i32 @fclose(ptr noundef %14)
store i32 1, ptr %3, align 4
br label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %16, %10
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfpl6za04.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_string_to_file(ptr noalias noundef %0, ptr noalias noundef %1) #0 {
%3 = alloca i32, align 4
%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
%7 = load ptr, ptr %4, align 8
%8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %6, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @fprintf(ptr noundef %11, ptr noundef @.str.1, ptr noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = call i32 @fclose(ptr noundef %14)
store i32 1, ptr %3, align 4
br label %17
16: ; preds = %2
store i32 0, ptr %3, align 4
br label %17
17: ; preds = %16, %10
%18 = load i32, ptr %3, align 4
ret i32 %18
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0ntx63es.c'
source_filename = "/tmp/tmp0ntx63es.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocateArrayD2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @calloc(i32 noundef %7, i32 noundef 8)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %22, %2
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load i32, ptr %4, align 4
%16 = call i64 @calloc(i32 noundef %15, i32 noundef 8)
%17 = inttoptr i64 %16 to ptr
%18 = load ptr, ptr %6, align 8
%19 = load i32, ptr %5, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
store ptr %17, ptr %21, align 8
br label %22
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = load ptr, ptr %6, align 8
ret ptr %26
}
declare i64 @calloc(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/tmp0ntx63es.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @allocateArrayD2(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = call i64 @calloc(i32 noundef %7, i32 noundef 8)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %6, align 8
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %4, align 4
%15 = call i64 @calloc(i32 noundef %14, i32 noundef 8)
%16 = inttoptr i64 %15 to ptr
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
store ptr %16, ptr %20, align 8
br label %21
21: ; preds = %13
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %6, align 8
ret ptr %28
}
declare i64 @calloc(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/tmpz3c0dcgu.c'
source_filename = "/tmp/tmpz3c0dcgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@IPC_CREAT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"shmget Failed: shmid = %d, errno = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"shmat Failed: shmid = %d, errno = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Error in shared memory contents: shmid = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"Correct shared memory contents\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 i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr @errno, align 8
%5 = call i64 (...) @getpid()
store i64 %5, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i32, ptr @IPC_CREAT, align 4
%8 = or i32 %7, 438
%9 = call i32 @shmget(i64 noundef %6, i32 noundef 16384, i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = call i32 @perror(ptr noundef @.str)
%13 = load i32, ptr %2, align 4
%14 = load i64, ptr @errno, align 8
%15 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 1, ptr noundef @.str.1, i32 noundef %13, i64 noundef %14)
%16 = call i32 (...) @tst_exit()
br label %17
17: ; preds = %11, %0
%18 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 0, ptr noundef @.str)
%19 = load i32, ptr %2, align 4
%20 = call i64 @shmat(i32 noundef %19, ptr noundef inttoptr (i64 524288 to ptr), i32 noundef 0)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp eq ptr %22, inttoptr (i64 -1 to ptr)
br i1 %23, label %24, label %32
24: ; preds = %17
%25 = call i32 @perror(ptr noundef @.str.2)
%26 = load i32, ptr %2, align 4
%27 = load i64, ptr @errno, align 8
%28 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 1, ptr noundef @.str.3, i32 noundef %26, i64 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = call i32 @rm_shm(i32 noundef %29)
%31 = call i32 (...) @tst_exit()
br label %32
32: ; preds = %24, %17
%33 = load ptr, ptr %3, align 8
store i8 49, ptr %33, align 1
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
store i8 50, ptr %35, align 1
%36 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 0, ptr noundef @.str.2)
%37 = load i32, ptr %2, align 4
%38 = call i32 @rm_shm(i32 noundef %37)
%39 = load ptr, ptr %3, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 49
br i1 %42, label %49, label %43
43: ; preds = %32
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 50
br i1 %48, label %49, label %52
49: ; preds = %43, %32
%50 = load i32, ptr %2, align 4
%51 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 1, ptr noundef @.str.4, i32 noundef %50)
br label %52
52: ; preds = %49, %43
%53 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 0, ptr noundef @.str.5)
%54 = call i32 (...) @tst_exit()
ret i32 0
}
declare i64 @getpid(...) #1
declare i32 @shmget(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @tst_resm(i32 noundef, ptr noundef, ...) #1
declare i32 @tst_exit(...) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @rm_shm(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/tmpz3c0dcgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@IPC_CREAT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"shmget\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"shmget Failed: shmid = %d, errno = %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"shmat Failed: shmid = %d, errno = %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [45 x i8] c"Error in shared memory contents: shmid = %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [31 x i8] c"Correct shared memory contents\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 i64, align 8
store i32 0, ptr %1, align 4
store i64 0, ptr @errno, align 8
%5 = call i64 (...) @getpid()
store i64 %5, ptr %4, align 8
%6 = load i64, ptr %4, align 8
%7 = load i32, ptr @IPC_CREAT, align 4
%8 = or i32 %7, 438
%9 = call i32 @shmget(i64 noundef %6, i32 noundef 16384, i32 noundef %8)
store i32 %9, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = call i32 @perror(ptr noundef @.str)
%13 = load i32, ptr %2, align 4
%14 = load i64, ptr @errno, align 8
%15 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 1, ptr noundef @.str.1, i32 noundef %13, i64 noundef %14)
%16 = call i32 (...) @tst_exit()
br label %17
17: ; preds = %11, %0
%18 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 0, ptr noundef @.str)
%19 = load i32, ptr %2, align 4
%20 = call i64 @shmat(i32 noundef %19, ptr noundef inttoptr (i64 524288 to ptr), i32 noundef 0)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %3, align 8
%22 = load ptr, ptr %3, align 8
%23 = icmp eq ptr %22, inttoptr (i64 -1 to ptr)
br i1 %23, label %24, label %32
24: ; preds = %17
%25 = call i32 @perror(ptr noundef @.str.2)
%26 = load i32, ptr %2, align 4
%27 = load i64, ptr @errno, align 8
%28 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 1, ptr noundef @.str.3, i32 noundef %26, i64 noundef %27)
%29 = load i32, ptr %2, align 4
%30 = call i32 @rm_shm(i32 noundef %29)
%31 = call i32 (...) @tst_exit()
br label %32
32: ; preds = %24, %17
%33 = load ptr, ptr %3, align 8
store i8 49, ptr %33, align 1
%34 = load ptr, ptr %3, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
store i8 50, ptr %35, align 1
%36 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 0, ptr noundef @.str.2)
%37 = load i32, ptr %2, align 4
%38 = call i32 @rm_shm(i32 noundef %37)
%39 = load ptr, ptr %3, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 49
br i1 %42, label %49, label %43
43: ; preds = %32
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i64 1
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp ne i32 %47, 50
br i1 %48, label %49, label %52
49: ; preds = %43, %32
%50 = load i32, ptr %2, align 4
%51 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 1, ptr noundef @.str.4, i32 noundef %50)
br label %52
52: ; preds = %49, %43
%53 = call i32 (i32, ptr, ...) @tst_resm(i32 noundef 0, ptr noundef @.str.5)
%54 = call i32 (...) @tst_exit()
ret i32 0
}
declare i64 @getpid(...) #1
declare i32 @shmget(i64 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @tst_resm(i32 noundef, ptr noundef, ...) #1
declare i32 @tst_exit(...) #1
declare i64 @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @rm_shm(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/tmpoavs_bzf.c'
source_filename = "/tmp/tmpoavs_bzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Read_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoavs_bzf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Read_int(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @printf(ptr noundef @.str, ptr noundef %4)
%6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%7 = load i32, ptr %3, align 4
ret i32 %7
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpf8o2k4j_.c'
source_filename = "/tmp/tmpf8o2k4j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IFF_PROMISC = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFFLAGS = dso_local global i32 0, align 4
@SIOCGIFINDEX = dso_local global i32 0, align 4
@SIOCSIFFLAGS = 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/tmpf8o2k4j_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IFF_PROMISC = dso_local global i32 0, align 4
@IFNAMSIZ = dso_local global i32 0, align 4
@SIOCGIFFLAGS = dso_local global i32 0, align 4
@SIOCGIFINDEX = dso_local global i32 0, align 4
@SIOCSIFFLAGS = 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/tmpyulrrzfk.c'
source_filename = "/tmp/tmpyulrrzfk.c"
target datalayout = "e-m:e-p270: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/tmpyulrrzfk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.