llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpg7vnetaf.c'
source_filename = "/tmp/tmpg7vnetaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multiply(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call double @topDynArr(ptr noundef %5)
store double %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @popDynArr(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call double @topDynArr(ptr noundef %9)
store double %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @popDynArr(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %4, align 8
%16 = fmul double %14, %15
%17 = call i32 @pushDynArr(ptr noundef %13, double noundef %16)
ret void
}
declare double @topDynArr(ptr noundef) #1
declare i32 @popDynArr(ptr noundef) #1
declare i32 @pushDynArr(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg7vnetaf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @multiply(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call double @topDynArr(ptr noundef %5)
store double %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @popDynArr(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call double @topDynArr(ptr noundef %9)
store double %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @popDynArr(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = load double, ptr %3, align 8
%15 = load double, ptr %4, align 8
%16 = fmul double %14, %15
%17 = call i32 @pushDynArr(ptr noundef %13, double noundef %16)
ret void
}
declare double @topDynArr(ptr noundef) #1
declare i32 @popDynArr(ptr noundef) #1
declare i32 @pushDynArr(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvsg7afzh.c'
source_filename = "/tmp/tmpvsg7afzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i8 noundef signext %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %3
store ptr null, ptr %4, align 8
br label %29
11: ; preds = %3
br label %12
12: ; preds = %25, %11
%13 = load i64, ptr %7, align 8
%14 = add i64 %13, -1
store i64 %14, ptr %7, align 8
%15 = icmp ugt i64 %13, 0
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = load i8, ptr %6, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %19, %21
br i1 %22, label %23, label %25
23: ; preds = %16
%24 = load ptr, ptr %5, align 8
store ptr %24, ptr %4, align 8
br label %29
25: ; preds = %16
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %5, align 8
br label %12, !llvm.loop !6
28: ; preds = %12
store ptr null, ptr %4, align 8
br label %29
29: ; preds = %28, %23, %10
%30 = load ptr, ptr %4, align 8
ret ptr %30
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpvsg7afzh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strnchr(ptr noundef %0, i8 noundef signext %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i8, align 1
%7 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i8 %1, ptr %6, align 1
store i64 %2, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %3
store ptr null, ptr %4, align 8
br label %31
11: ; preds = %3
%12 = load i64, ptr %7, align 8
%13 = add i64 %12, -1
store i64 %13, ptr %7, align 8
%14 = icmp ugt i64 %12, 0
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %11
br label %15
15: ; preds = %.lr.ph, %24
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = load i8, ptr %6, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %18, %20
br i1 %21, label %22, label %24
22: ; preds = %15
%23 = load ptr, ptr %5, align 8
store ptr %23, ptr %4, align 8
br label %31
24: ; preds = %15
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
%27 = load i64, ptr %7, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %7, align 8
%29 = icmp ugt i64 %27, 0
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %11
store ptr null, ptr %4, align 8
br label %31
31: ; preds = %30, %22, %10
%32 = load ptr, ptr %4, align 8
ret ptr %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1j2_yig9.c'
source_filename = "/tmp/tmp1j2_yig9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Arguments:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%i: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Hi there, exit!\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
br label %8
8: ; preds = %20, %2
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %23
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds ptr, ptr %14, i64 %16
%18 = load ptr, ptr %17, align 8
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13, ptr noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
br label %8, !llvm.loop !6
23: ; preds = %8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1j2_yig9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"Arguments:\0A\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"%i: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"Hi there, exit!\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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %19
%12 = load i32, ptr %6, align 4
%13 = load ptr, ptr %5, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds ptr, ptr %13, i64 %15
%17 = load ptr, ptr %16, align 8
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12, ptr noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %6, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %2
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3gbrn4od.c'
source_filename = "/tmp/tmp3gbrn4od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 2
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atoi(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %6, align 4
%16 = call ptr @convert(ptr noundef %14, i32 noundef %15)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare ptr @convert(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3gbrn4od.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = 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
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 2
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atoi(ptr noundef %10)
store i32 %11, ptr %6, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = load i32, ptr %6, align 4
%16 = call ptr @convert(ptr noundef %14, i32 noundef %15)
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i32 @printf(ptr noundef @.str, ptr noundef %17)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare ptr @convert(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpznc0kam8.c'
source_filename = "/tmp/tmpznc0kam8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cwrapper_q_sortrev_float_with_indices(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %4
br label %361
17: ; preds = %4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = icmp sgt i32 %20, 16
br i1 %21, label %22, label %226
22: ; preds = %17
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %24, %25
%27 = call i32 (...) @rand()
%28 = mul nsw i32 %26, %27
%29 = sitofp i32 %28 to double
%30 = load i32, ptr @RAND_MAX, align 4
%31 = sitofp i32 %30 to double
%32 = fmul double 1.000000e+00, %31
%33 = fdiv double %29, %32
%34 = fptosi double %33 to i32
%35 = add nsw i32 %23, %34
store i32 %35, ptr %11, align 4
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
store float %40, ptr %9, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %10, align 4
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
store float %50, ptr %54, align 4
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
store i32 %59, ptr %63, align 4
%64 = load float, ptr %9, align 4
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %65, i64 %67
store float %64, ptr %68, align 4
%69 = load i32, ptr %10, align 4
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
store i32 %69, ptr %73, align 4
%74 = load i32, ptr %7, align 4
store i32 %74, ptr %11, align 4
%75 = load i32, ptr %8, align 4
store i32 %75, ptr %12, align 4
br label %76
76: ; preds = %166, %22
%77 = load i32, ptr %7, align 4
%78 = load i32, ptr %8, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %80, label %167
80: ; preds = %76
br label %81
81: ; preds = %95, %80
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %8, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds float, ptr %82, i64 %84
%86 = load float, ptr %85, align 4
%87 = load float, ptr %9, align 4
%88 = fcmp ole float %86, %87
br i1 %88, label %89, label %93
89: ; preds = %81
%90 = load i32, ptr %7, align 4
%91 = load i32, ptr %8, align 4
%92 = icmp slt i32 %90, %91
br label %93
93: ; preds = %89, %81
%94 = phi i1 [ false, %81 ], [ %92, %89 ]
br i1 %94, label %95, label %98
95: ; preds = %93
%96 = load i32, ptr %8, align 4
%97 = add nsw i32 %96, -1
store i32 %97, ptr %8, align 4
br label %81, !llvm.loop !6
98: ; preds = %93
%99 = load i32, ptr %7, align 4
%100 = load i32, ptr %8, align 4
%101 = icmp ne i32 %99, %100
br i1 %101, label %102, label %123
102: ; preds = %98
%103 = load ptr, ptr %5, align 8
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %103, i64 %105
%107 = load float, ptr %106, align 4
%108 = load ptr, ptr %5, align 8
%109 = load i32, ptr %7, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds float, ptr %108, i64 %110
store float %107, ptr %111, align 4
%112 = load ptr, ptr %6, align 8
%113 = load i32, ptr %8, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
%116 = load i32, ptr %115, align 4
%117 = load ptr, ptr %6, align 8
%118 = load i32, ptr %7, align 4
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds i32, ptr %117, i64 %119
store i32 %116, ptr %120, align 4
%121 = load i32, ptr %7, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %7, align 4
br label %123
123: ; preds = %102, %98
br label %124
124: ; preds = %138, %123
%125 = load ptr, ptr %5, align 8
%126 = load i32, ptr %7, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds float, ptr %125, i64 %127
%129 = load float, ptr %128, align 4
%130 = load float, ptr %9, align 4
%131 = fcmp oge float %129, %130
br i1 %131, label %132, label %136
132: ; preds = %124
%133 = load i32, ptr %7, align 4
%134 = load i32, ptr %8, align 4
%135 = icmp slt i32 %133, %134
br label %136
136: ; preds = %132, %124
%137 = phi i1 [ false, %124 ], [ %135, %132 ]
br i1 %137, label %138, label %141
138: ; preds = %136
%139 = load i32, ptr %7, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %7, align 4
br label %124, !llvm.loop !8
141: ; preds = %136
%142 = load i32, ptr %7, align 4
%143 = load i32, ptr %8, align 4
%144 = icmp ne i32 %142, %143
br i1 %144, label %145, label %166
145: ; preds = %141
%146 = load ptr, ptr %5, align 8
%147 = load i32, ptr %7, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds float, ptr %146, i64 %148
%150 = load float, ptr %149, align 4
%151 = load ptr, ptr %5, align 8
%152 = load i32, ptr %8, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds float, ptr %151, i64 %153
store float %150, ptr %154, align 4
%155 = load ptr, ptr %6, align 8
%156 = load i32, ptr %7, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i32, ptr %155, i64 %157
%159 = load i32, ptr %158, align 4
%160 = load ptr, ptr %6, align 8
%161 = load i32, ptr %8, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds i32, ptr %160, i64 %162
store i32 %159, ptr %163, align 4
%164 = load i32, ptr %8, align 4
%165 = add nsw i32 %164, -1
store i32 %165, ptr %8, align 4
br label %166
166: ; preds = %145, %141
br label %76, !llvm.loop !9
167: ; preds = %76
%168 = load float, ptr %9, align 4
%169 = load ptr, ptr %5, align 8
%170 = load i32, ptr %7, align 4
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds float, ptr %169, i64 %171
store float %168, ptr %172, align 4
%173 = load i32, ptr %10, align 4
%174 = load ptr, ptr %6, align 8
%175 = load i32, ptr %7, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds i32, ptr %174, i64 %176
store i32 %173, ptr %177, align 4
%178 = load i32, ptr %11, align 4
%179 = load i32, ptr %12, align 4
%180 = add nsw i32 %178, %179
%181 = sdiv i32 %180, 2
store i32 %181, ptr %8, align 4
%182 = load i32, ptr %7, align 4
%183 = load i32, ptr %8, align 4
%184 = icmp slt i32 %182, %183
br i1 %184, label %185, label %205
185: ; preds = %167
br label %186
186: ; preds = %201, %185
%187 = load ptr, ptr %5, align 8
%188 = load i32, ptr %7, align 4
%189 = add nsw i32 %188, 1
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds float, ptr %187, i64 %190
%192 = load float, ptr %191, align 4
%193 = load float, ptr %9, align 4
%194 = fcmp oeq float %192, %193
br i1 %194, label %195, label %199
195: ; preds = %186
%196 = load i32, ptr %7, align 4
%197 = load i32, ptr %8, align 4
%198 = icmp slt i32 %196, %197
br label %199
199: ; preds = %195, %186
%200 = phi i1 [ false, %186 ], [ %198, %195 ]
br i1 %200, label %201, label %204
201: ; preds = %199
%202 = load i32, ptr %7, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %7, align 4
br label %186, !llvm.loop !10
204: ; preds = %199
br label %225
205: ; preds = %167
br label %206
206: ; preds = %221, %205
%207 = load ptr, ptr %5, align 8
%208 = load i32, ptr %7, align 4
%209 = sub nsw i32 %208, 1
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds float, ptr %207, i64 %210
%212 = load float, ptr %211, align 4
%213 = load float, ptr %9, align 4
%214 = fcmp oeq float %212, %213
br i1 %214, label %215, label %219
215: ; preds = %206
%216 = load i32, ptr %7, align 4
%217 = load i32, ptr %8, align 4
%218 = icmp sgt i32 %216, %217
br label %219
219: ; preds = %215, %206
%220 = phi i1 [ false, %206 ], [ %218, %215 ]
br i1 %220, label %221, label %224
221: ; preds = %219
%222 = load i32, ptr %7, align 4
%223 = add nsw i32 %222, -1
store i32 %223, ptr %7, align 4
br label %206, !llvm.loop !11
224: ; preds = %219
br label %225
225: ; preds = %224, %204
br label %341
226: ; preds = %17
%227 = load ptr, ptr %5, align 8
%228 = load i32, ptr %7, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds float, ptr %227, i64 %229
%231 = load float, ptr %230, align 4
store float %231, ptr %9, align 4
%232 = load ptr, ptr %6, align 8
%233 = load i32, ptr %7, align 4
%234 = sext i32 %233 to i64
%235 = getelementptr inbounds i32, ptr %232, i64 %234
%236 = load i32, ptr %235, align 4
store i32 %236, ptr %10, align 4
%237 = load i32, ptr %7, align 4
store i32 %237, ptr %11, align 4
%238 = load i32, ptr %8, align 4
store i32 %238, ptr %12, align 4
br label %239
239: ; preds = %329, %226
%240 = load i32, ptr %7, align 4
%241 = load i32, ptr %8, align 4
%242 = icmp slt i32 %240, %241
br i1 %242, label %243, label %330
243: ; preds = %239
br label %244
244: ; preds = %258, %243
%245 = load ptr, ptr %5, align 8
%246 = load i32, ptr %8, align 4
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds float, ptr %245, i64 %247
%249 = load float, ptr %248, align 4
%250 = load float, ptr %9, align 4
%251 = fcmp ole float %249, %250
br i1 %251, label %252, label %256
252: ; preds = %244
%253 = load i32, ptr %7, align 4
%254 = load i32, ptr %8, align 4
%255 = icmp slt i32 %253, %254
br label %256
256: ; preds = %252, %244
%257 = phi i1 [ false, %244 ], [ %255, %252 ]
br i1 %257, label %258, label %261
258: ; preds = %256
%259 = load i32, ptr %8, align 4
%260 = add nsw i32 %259, -1
store i32 %260, ptr %8, align 4
br label %244, !llvm.loop !12
261: ; preds = %256
%262 = load i32, ptr %7, align 4
%263 = load i32, ptr %8, align 4
%264 = icmp ne i32 %262, %263
br i1 %264, label %265, label %286
265: ; preds = %261
%266 = load ptr, ptr %5, align 8
%267 = load i32, ptr %8, align 4
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds float, ptr %266, i64 %268
%270 = load float, ptr %269, align 4
%271 = load ptr, ptr %5, align 8
%272 = load i32, ptr %7, align 4
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds float, ptr %271, i64 %273
store float %270, ptr %274, align 4
%275 = load ptr, ptr %6, align 8
%276 = load i32, ptr %8, align 4
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds i32, ptr %275, i64 %277
%279 = load i32, ptr %278, align 4
%280 = load ptr, ptr %6, align 8
%281 = load i32, ptr %7, align 4
%282 = sext i32 %281 to i64
%283 = getelementptr inbounds i32, ptr %280, i64 %282
store i32 %279, ptr %283, align 4
%284 = load i32, ptr %7, align 4
%285 = add nsw i32 %284, 1
store i32 %285, ptr %7, align 4
br label %286
286: ; preds = %265, %261
br label %287
287: ; preds = %301, %286
%288 = load ptr, ptr %5, align 8
%289 = load i32, ptr %7, align 4
%290 = sext i32 %289 to i64
%291 = getelementptr inbounds float, ptr %288, i64 %290
%292 = load float, ptr %291, align 4
%293 = load float, ptr %9, align 4
%294 = fcmp oge float %292, %293
br i1 %294, label %295, label %299
295: ; preds = %287
%296 = load i32, ptr %7, align 4
%297 = load i32, ptr %8, align 4
%298 = icmp slt i32 %296, %297
br label %299
299: ; preds = %295, %287
%300 = phi i1 [ false, %287 ], [ %298, %295 ]
br i1 %300, label %301, label %304
301: ; preds = %299
%302 = load i32, ptr %7, align 4
%303 = add nsw i32 %302, 1
store i32 %303, ptr %7, align 4
br label %287, !llvm.loop !13
304: ; preds = %299
%305 = load i32, ptr %7, align 4
%306 = load i32, ptr %8, align 4
%307 = icmp ne i32 %305, %306
br i1 %307, label %308, label %329
308: ; preds = %304
%309 = load ptr, ptr %5, align 8
%310 = load i32, ptr %7, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds float, ptr %309, i64 %311
%313 = load float, ptr %312, align 4
%314 = load ptr, ptr %5, align 8
%315 = load i32, ptr %8, align 4
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds float, ptr %314, i64 %316
store float %313, ptr %317, align 4
%318 = load ptr, ptr %6, align 8
%319 = load i32, ptr %7, align 4
%320 = sext i32 %319 to i64
%321 = getelementptr inbounds i32, ptr %318, i64 %320
%322 = load i32, ptr %321, align 4
%323 = load ptr, ptr %6, align 8
%324 = load i32, ptr %8, align 4
%325 = sext i32 %324 to i64
%326 = getelementptr inbounds i32, ptr %323, i64 %325
store i32 %322, ptr %326, align 4
%327 = load i32, ptr %8, align 4
%328 = add nsw i32 %327, -1
store i32 %328, ptr %8, align 4
br label %329
329: ; preds = %308, %304
br label %239, !llvm.loop !14
330: ; preds = %239
%331 = load float, ptr %9, align 4
%332 = load ptr, ptr %5, align 8
%333 = load i32, ptr %7, align 4
%334 = sext i32 %333 to i64
%335 = getelementptr inbounds float, ptr %332, i64 %334
store float %331, ptr %335, align 4
%336 = load i32, ptr %10, align 4
%337 = load ptr, ptr %6, align 8
%338 = load i32, ptr %7, align 4
%339 = sext i32 %338 to i64
%340 = getelementptr inbounds i32, ptr %337, i64 %339
store i32 %336, ptr %340, align 4
br label %341
341: ; preds = %330, %225
%342 = load i32, ptr %11, align 4
%343 = load i32, ptr %7, align 4
%344 = icmp slt i32 %342, %343
br i1 %344, label %345, label %351
345: ; preds = %341
%346 = load ptr, ptr %5, align 8
%347 = load ptr, ptr %6, align 8
%348 = load i32, ptr %11, align 4
%349 = load i32, ptr %7, align 4
%350 = sub nsw i32 %349, 1
call void @cwrapper_q_sortrev_float_with_indices(ptr noundef %346, ptr noundef %347, i32 noundef %348, i32 noundef %350)
br label %351
351: ; preds = %345, %341
%352 = load i32, ptr %7, align 4
%353 = load i32, ptr %12, align 4
%354 = icmp slt i32 %352, %353
br i1 %354, label %355, label %361
355: ; preds = %351
%356 = load ptr, ptr %5, align 8
%357 = load ptr, ptr %6, align 8
%358 = load i32, ptr %7, align 4
%359 = add nsw i32 %358, 1
%360 = load i32, ptr %12, align 4
call void @cwrapper_q_sortrev_float_with_indices(ptr noundef %356, ptr noundef %357, i32 noundef %359, i32 noundef %360)
br label %361
361: ; preds = %16, %355, %351
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpznc0kam8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cwrapper_q_sortrev_float_with_indices(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %17
16: ; preds = %4
br label %365
17: ; preds = %4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %7, align 4
%20 = sub nsw i32 %18, %19
%21 = icmp sgt i32 %20, 16
br i1 %21, label %22, label %228
22: ; preds = %17
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %7, align 4
%26 = sub nsw i32 %24, %25
%27 = call i32 (...) @rand()
%28 = mul nsw i32 %26, %27
%29 = sitofp i32 %28 to double
%30 = load i32, ptr @RAND_MAX, align 4
%31 = sitofp i32 %30 to double
%32 = fmul double 1.000000e+00, %31
%33 = fdiv double %29, %32
%34 = fptosi double %33 to i32
%35 = add nsw i32 %23, %34
store i32 %35, ptr %11, align 4
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %11, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds float, ptr %36, i64 %38
%40 = load float, ptr %39, align 4
store float %40, ptr %9, align 4
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %11, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
store i32 %45, ptr %10, align 4
%46 = load ptr, ptr %5, align 8
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds float, ptr %46, i64 %48
%50 = load float, ptr %49, align 4
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %11, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds float, ptr %51, i64 %53
store float %50, ptr %54, align 4
%55 = load ptr, ptr %6, align 8
%56 = load i32, ptr %7, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %6, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
store i32 %59, ptr %63, align 4
%64 = load float, ptr %9, align 4
%65 = load ptr, ptr %5, align 8
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds float, ptr %65, i64 %67
store float %64, ptr %68, align 4
%69 = load i32, ptr %10, align 4
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %7, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
store i32 %69, ptr %73, align 4
%74 = load i32, ptr %7, align 4
store i32 %74, ptr %11, align 4
%75 = load i32, ptr %8, align 4
store i32 %75, ptr %12, align 4
%76 = load i32, ptr %7, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %.lr.ph2, label %169
.lr.ph2: ; preds = %22
br label %79
79: ; preds = %.lr.ph2, %165
br label %80
80: ; preds = %94, %79
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %8, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %81, i64 %83
%85 = load float, ptr %84, align 4
%86 = load float, ptr %9, align 4
%87 = fcmp ole float %85, %86
br i1 %87, label %88, label %92
88: ; preds = %80
%89 = load i32, ptr %7, align 4
%90 = load i32, ptr %8, align 4
%91 = icmp slt i32 %89, %90
br label %92
92: ; preds = %88, %80
%93 = phi i1 [ false, %80 ], [ %91, %88 ]
br i1 %93, label %94, label %97
94: ; preds = %92
%95 = load i32, ptr %8, align 4
%96 = add nsw i32 %95, -1
store i32 %96, ptr %8, align 4
br label %80, !llvm.loop !6
97: ; preds = %92
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp ne i32 %98, %99
br i1 %100, label %101, label %122
101: ; preds = %97
%102 = load ptr, ptr %5, align 8
%103 = load i32, ptr %8, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds float, ptr %102, i64 %104
%106 = load float, ptr %105, align 4
%107 = load ptr, ptr %5, align 8
%108 = load i32, ptr %7, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds float, ptr %107, i64 %109
store float %106, ptr %110, align 4
%111 = load ptr, ptr %6, align 8
%112 = load i32, ptr %8, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %111, i64 %113
%115 = load i32, ptr %114, align 4
%116 = load ptr, ptr %6, align 8
%117 = load i32, ptr %7, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %116, i64 %118
store i32 %115, ptr %119, align 4
%120 = load i32, ptr %7, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %7, align 4
br label %122
122: ; preds = %101, %97
br label %123
123: ; preds = %137, %122
%124 = load ptr, ptr %5, align 8
%125 = load i32, ptr %7, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds float, ptr %124, i64 %126
%128 = load float, ptr %127, align 4
%129 = load float, ptr %9, align 4
%130 = fcmp oge float %128, %129
br i1 %130, label %131, label %135
131: ; preds = %123
%132 = load i32, ptr %7, align 4
%133 = load i32, ptr %8, align 4
%134 = icmp slt i32 %132, %133
br label %135
135: ; preds = %131, %123
%136 = phi i1 [ false, %123 ], [ %134, %131 ]
br i1 %136, label %137, label %140
137: ; preds = %135
%138 = load i32, ptr %7, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %7, align 4
br label %123, !llvm.loop !8
140: ; preds = %135
%141 = load i32, ptr %7, align 4
%142 = load i32, ptr %8, align 4
%143 = icmp ne i32 %141, %142
br i1 %143, label %144, label %165
144: ; preds = %140
%145 = load ptr, ptr %5, align 8
%146 = load i32, ptr %7, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds float, ptr %145, i64 %147
%149 = load float, ptr %148, align 4
%150 = load ptr, ptr %5, align 8
%151 = load i32, ptr %8, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds float, ptr %150, i64 %152
store float %149, ptr %153, align 4
%154 = load ptr, ptr %6, align 8
%155 = load i32, ptr %7, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %154, i64 %156
%158 = load i32, ptr %157, align 4
%159 = load ptr, ptr %6, align 8
%160 = load i32, ptr %8, align 4
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds i32, ptr %159, i64 %161
store i32 %158, ptr %162, align 4
%163 = load i32, ptr %8, align 4
%164 = add nsw i32 %163, -1
store i32 %164, ptr %8, align 4
br label %165
165: ; preds = %144, %140
%166 = load i32, ptr %7, align 4
%167 = load i32, ptr %8, align 4
%168 = icmp slt i32 %166, %167
br i1 %168, label %79, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %165
br label %169
169: ; preds = %._crit_edge3, %22
%170 = load float, ptr %9, align 4
%171 = load ptr, ptr %5, align 8
%172 = load i32, ptr %7, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds float, ptr %171, i64 %173
store float %170, ptr %174, align 4
%175 = load i32, ptr %10, align 4
%176 = load ptr, ptr %6, align 8
%177 = load i32, ptr %7, align 4
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds i32, ptr %176, i64 %178
store i32 %175, ptr %179, align 4
%180 = load i32, ptr %11, align 4
%181 = load i32, ptr %12, align 4
%182 = add nsw i32 %180, %181
%183 = sdiv i32 %182, 2
store i32 %183, ptr %8, align 4
%184 = load i32, ptr %7, align 4
%185 = load i32, ptr %8, align 4
%186 = icmp slt i32 %184, %185
br i1 %186, label %187, label %207
187: ; preds = %169
br label %188
188: ; preds = %203, %187
%189 = load ptr, ptr %5, align 8
%190 = load i32, ptr %7, align 4
%191 = add nsw i32 %190, 1
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds float, ptr %189, i64 %192
%194 = load float, ptr %193, align 4
%195 = load float, ptr %9, align 4
%196 = fcmp oeq float %194, %195
br i1 %196, label %197, label %201
197: ; preds = %188
%198 = load i32, ptr %7, align 4
%199 = load i32, ptr %8, align 4
%200 = icmp slt i32 %198, %199
br label %201
201: ; preds = %197, %188
%202 = phi i1 [ false, %188 ], [ %200, %197 ]
br i1 %202, label %203, label %206
203: ; preds = %201
%204 = load i32, ptr %7, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %7, align 4
br label %188, !llvm.loop !10
206: ; preds = %201
br label %227
207: ; preds = %169
br label %208
208: ; preds = %223, %207
%209 = load ptr, ptr %5, align 8
%210 = load i32, ptr %7, align 4
%211 = sub nsw i32 %210, 1
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds float, ptr %209, i64 %212
%214 = load float, ptr %213, align 4
%215 = load float, ptr %9, align 4
%216 = fcmp oeq float %214, %215
br i1 %216, label %217, label %221
217: ; preds = %208
%218 = load i32, ptr %7, align 4
%219 = load i32, ptr %8, align 4
%220 = icmp sgt i32 %218, %219
br label %221
221: ; preds = %217, %208
%222 = phi i1 [ false, %208 ], [ %220, %217 ]
br i1 %222, label %223, label %226
223: ; preds = %221
%224 = load i32, ptr %7, align 4
%225 = add nsw i32 %224, -1
store i32 %225, ptr %7, align 4
br label %208, !llvm.loop !11
226: ; preds = %221
br label %227
227: ; preds = %226, %206
br label %345
228: ; preds = %17
%229 = load ptr, ptr %5, align 8
%230 = load i32, ptr %7, align 4
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds float, ptr %229, i64 %231
%233 = load float, ptr %232, align 4
store float %233, ptr %9, align 4
%234 = load ptr, ptr %6, align 8
%235 = load i32, ptr %7, align 4
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds i32, ptr %234, i64 %236
%238 = load i32, ptr %237, align 4
store i32 %238, ptr %10, align 4
%239 = load i32, ptr %7, align 4
store i32 %239, ptr %11, align 4
%240 = load i32, ptr %8, align 4
store i32 %240, ptr %12, align 4
%241 = load i32, ptr %7, align 4
%242 = load i32, ptr %8, align 4
%243 = icmp slt i32 %241, %242
br i1 %243, label %.lr.ph, label %334
.lr.ph: ; preds = %228
br label %244
244: ; preds = %.lr.ph, %330
br label %245
245: ; preds = %259, %244
%246 = load ptr, ptr %5, align 8
%247 = load i32, ptr %8, align 4
%248 = sext i32 %247 to i64
%249 = getelementptr inbounds float, ptr %246, i64 %248
%250 = load float, ptr %249, align 4
%251 = load float, ptr %9, align 4
%252 = fcmp ole float %250, %251
br i1 %252, label %253, label %257
253: ; preds = %245
%254 = load i32, ptr %7, align 4
%255 = load i32, ptr %8, align 4
%256 = icmp slt i32 %254, %255
br label %257
257: ; preds = %253, %245
%258 = phi i1 [ false, %245 ], [ %256, %253 ]
br i1 %258, label %259, label %262
259: ; preds = %257
%260 = load i32, ptr %8, align 4
%261 = add nsw i32 %260, -1
store i32 %261, ptr %8, align 4
br label %245, !llvm.loop !12
262: ; preds = %257
%263 = load i32, ptr %7, align 4
%264 = load i32, ptr %8, align 4
%265 = icmp ne i32 %263, %264
br i1 %265, label %266, label %287
266: ; preds = %262
%267 = load ptr, ptr %5, align 8
%268 = load i32, ptr %8, align 4
%269 = sext i32 %268 to i64
%270 = getelementptr inbounds float, ptr %267, i64 %269
%271 = load float, ptr %270, align 4
%272 = load ptr, ptr %5, align 8
%273 = load i32, ptr %7, align 4
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds float, ptr %272, i64 %274
store float %271, ptr %275, align 4
%276 = load ptr, ptr %6, align 8
%277 = load i32, ptr %8, align 4
%278 = sext i32 %277 to i64
%279 = getelementptr inbounds i32, ptr %276, i64 %278
%280 = load i32, ptr %279, align 4
%281 = load ptr, ptr %6, align 8
%282 = load i32, ptr %7, align 4
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds i32, ptr %281, i64 %283
store i32 %280, ptr %284, align 4
%285 = load i32, ptr %7, align 4
%286 = add nsw i32 %285, 1
store i32 %286, ptr %7, align 4
br label %287
287: ; preds = %266, %262
br label %288
288: ; preds = %302, %287
%289 = load ptr, ptr %5, align 8
%290 = load i32, ptr %7, align 4
%291 = sext i32 %290 to i64
%292 = getelementptr inbounds float, ptr %289, i64 %291
%293 = load float, ptr %292, align 4
%294 = load float, ptr %9, align 4
%295 = fcmp oge float %293, %294
br i1 %295, label %296, label %300
296: ; preds = %288
%297 = load i32, ptr %7, align 4
%298 = load i32, ptr %8, align 4
%299 = icmp slt i32 %297, %298
br label %300
300: ; preds = %296, %288
%301 = phi i1 [ false, %288 ], [ %299, %296 ]
br i1 %301, label %302, label %305
302: ; preds = %300
%303 = load i32, ptr %7, align 4
%304 = add nsw i32 %303, 1
store i32 %304, ptr %7, align 4
br label %288, !llvm.loop !13
305: ; preds = %300
%306 = load i32, ptr %7, align 4
%307 = load i32, ptr %8, align 4
%308 = icmp ne i32 %306, %307
br i1 %308, label %309, label %330
309: ; preds = %305
%310 = load ptr, ptr %5, align 8
%311 = load i32, ptr %7, align 4
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds float, ptr %310, i64 %312
%314 = load float, ptr %313, align 4
%315 = load ptr, ptr %5, align 8
%316 = load i32, ptr %8, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds float, ptr %315, i64 %317
store float %314, ptr %318, align 4
%319 = load ptr, ptr %6, align 8
%320 = load i32, ptr %7, align 4
%321 = sext i32 %320 to i64
%322 = getelementptr inbounds i32, ptr %319, i64 %321
%323 = load i32, ptr %322, align 4
%324 = load ptr, ptr %6, align 8
%325 = load i32, ptr %8, align 4
%326 = sext i32 %325 to i64
%327 = getelementptr inbounds i32, ptr %324, i64 %326
store i32 %323, ptr %327, align 4
%328 = load i32, ptr %8, align 4
%329 = add nsw i32 %328, -1
store i32 %329, ptr %8, align 4
br label %330
330: ; preds = %309, %305
%331 = load i32, ptr %7, align 4
%332 = load i32, ptr %8, align 4
%333 = icmp slt i32 %331, %332
br i1 %333, label %244, label %._crit_edge, !llvm.loop !14
._crit_edge: ; preds = %330
br label %334
334: ; preds = %._crit_edge, %228
%335 = load float, ptr %9, align 4
%336 = load ptr, ptr %5, align 8
%337 = load i32, ptr %7, align 4
%338 = sext i32 %337 to i64
%339 = getelementptr inbounds float, ptr %336, i64 %338
store float %335, ptr %339, align 4
%340 = load i32, ptr %10, align 4
%341 = load ptr, ptr %6, align 8
%342 = load i32, ptr %7, align 4
%343 = sext i32 %342 to i64
%344 = getelementptr inbounds i32, ptr %341, i64 %343
store i32 %340, ptr %344, align 4
br label %345
345: ; preds = %334, %227
%346 = load i32, ptr %11, align 4
%347 = load i32, ptr %7, align 4
%348 = icmp slt i32 %346, %347
br i1 %348, label %349, label %355
349: ; preds = %345
%350 = load ptr, ptr %5, align 8
%351 = load ptr, ptr %6, align 8
%352 = load i32, ptr %11, align 4
%353 = load i32, ptr %7, align 4
%354 = sub nsw i32 %353, 1
call void @cwrapper_q_sortrev_float_with_indices(ptr noundef %350, ptr noundef %351, i32 noundef %352, i32 noundef %354)
br label %355
355: ; preds = %349, %345
%356 = load i32, ptr %7, align 4
%357 = load i32, ptr %12, align 4
%358 = icmp slt i32 %356, %357
br i1 %358, label %359, label %365
359: ; preds = %355
%360 = load ptr, ptr %5, align 8
%361 = load ptr, ptr %6, align 8
%362 = load i32, ptr %7, align 4
%363 = add nsw i32 %362, 1
%364 = load i32, ptr %12, align 4
call void @cwrapper_q_sortrev_float_with_indices(ptr noundef %360, ptr noundef %361, i32 noundef %363, i32 noundef %364)
br label %365
365: ; preds = %359, %355, %16
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpwuv6tg6d.c'
source_filename = "/tmp/tmpwuv6tg6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_randLCG_explicit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul i32 %3, 2147001325
%5 = add i32 %4, 715136305
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwuv6tg6d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stb_randLCG_explicit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = mul i32 %3, 2147001325
%5 = add i32 %4, 715136305
ret i32 %5
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd3j4mvp3.c'
source_filename = "/tmp/tmpd3j4mvp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %7, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %7, align 4
br label %19
19: ; preds = %15, %11
%20 = call i32 @time(i32 noundef 0)
%21 = call i32 @srand(i32 noundef %20)
%22 = call i32 (...) @rand()
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %23, %24
%26 = srem i32 %22, %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %26, %27
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd3j4mvp3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calculate(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %15
11: ; preds = %2
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %6, align 4
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %7, align 4
br label %19
15: ; preds = %2
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %3, align 4
store i32 %18, ptr %7, align 4
br label %19
19: ; preds = %15, %11
%20 = call i32 @time(i32 noundef 0)
%21 = call i32 @srand(i32 noundef %20)
%22 = call i32 (...) @rand()
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %23, %24
%26 = srem i32 %22, %25
%27 = load i32, ptr %6, align 4
%28 = add nsw i32 %26, %27
store i32 %28, ptr %5, align 4
%29 = load i32, ptr %5, align 4
ret i32 %29
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(i32 noundef) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplggjbay4.c'
source_filename = "/tmp/tmplggjbay4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addDeviceInfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca [256 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %14, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %7, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%22 = load ptr, ptr %8, align 8
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @open(ptr noundef %24, i32 noundef 0)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %4
br label %54
29: ; preds = %4
%30 = load i32, ptr %11, align 4
%31 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 256)
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = icmp sle i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29
br label %54
36: ; preds = %29
%37 = load i32, ptr %12, align 4
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, %37
store i32 %40, ptr %38, align 4
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %43
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%47 = call i32 @strcat(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @tidyStringUp(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @strlen(ptr noundef %50)
%52 = add nsw i32 %51, 1
%53 = load ptr, ptr %6, align 8
store i32 %52, ptr %53, align 4
br label %54
54: ; preds = %36, %35, %28
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @tidyStringUp(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplggjbay4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @addDeviceInfo(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca [256 x i8], align 16
%10 = alloca [256 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%13 = load ptr, ptr %5, align 8
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %14, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %13, i64 %16
store i8 0, ptr %17, align 1
%18 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%19 = load ptr, ptr %7, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
%21 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%22 = load ptr, ptr %8, align 8
%23 = call i32 @strcat(ptr noundef %21, ptr noundef %22)
%24 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @open(ptr noundef %24, i32 noundef 0)
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %11, align 4
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %29
28: ; preds = %4
br label %54
29: ; preds = %4
%30 = load i32, ptr %11, align 4
%31 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%32 = call i32 @read(i32 noundef %30, ptr noundef %31, i32 noundef 256)
store i32 %32, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = icmp sle i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %29
br label %54
36: ; preds = %29
%37 = load i32, ptr %12, align 4
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %38, align 4
%40 = add nsw i32 %39, %37
store i32 %40, ptr %38, align 4
%41 = load i32, ptr %12, align 4
%42 = sub nsw i32 %41, 1
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 %43
store i8 0, ptr %44, align 1
%45 = load ptr, ptr %5, align 8
%46 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0
%47 = call i32 @strcat(ptr noundef %45, ptr noundef %46)
%48 = load ptr, ptr %5, align 8
%49 = call i32 @tidyStringUp(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = call i32 @strlen(ptr noundef %50)
%52 = add nsw i32 %51, 1
%53 = load ptr, ptr %6, align 8
store i32 %52, ptr %53, align 4
br label %54
54: ; preds = %36, %35, %28
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @tidyStringUp(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz3lbdnjx.c'
source_filename = "/tmp/tmpz3lbdnjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_8259A() #0 {
%1 = call i32 @out_byte(i32 noundef 32, i32 noundef 17)
%2 = call i32 @out_byte(i32 noundef 160, i32 noundef 17)
%3 = call i32 @out_byte(i32 noundef 33, i32 noundef 32)
%4 = call i32 @out_byte(i32 noundef 161, i32 noundef 40)
%5 = call i32 @out_byte(i32 noundef 33, i32 noundef 4)
%6 = call i32 @out_byte(i32 noundef 161, i32 noundef 2)
%7 = call i32 @out_byte(i32 noundef 33, i32 noundef 1)
%8 = call i32 @out_byte(i32 noundef 161, i32 noundef 1)
%9 = call i32 @out_byte(i32 noundef 33, i32 noundef 254)
%10 = call i32 @out_byte(i32 noundef 161, i32 noundef 255)
ret void
}
declare i32 @out_byte(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/tmpz3lbdnjx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_8259A() #0 {
%1 = call i32 @out_byte(i32 noundef 32, i32 noundef 17)
%2 = call i32 @out_byte(i32 noundef 160, i32 noundef 17)
%3 = call i32 @out_byte(i32 noundef 33, i32 noundef 32)
%4 = call i32 @out_byte(i32 noundef 161, i32 noundef 40)
%5 = call i32 @out_byte(i32 noundef 33, i32 noundef 4)
%6 = call i32 @out_byte(i32 noundef 161, i32 noundef 2)
%7 = call i32 @out_byte(i32 noundef 33, i32 noundef 1)
%8 = call i32 @out_byte(i32 noundef 161, i32 noundef 1)
%9 = call i32 @out_byte(i32 noundef 33, i32 noundef 254)
%10 = call i32 @out_byte(i32 noundef 161, i32 noundef 255)
ret void
}
declare i32 @out_byte(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/tmp2mppi7ec.c'
source_filename = "/tmp/tmp2mppi7ec.c"
target datalayout = "e-m:e-p270: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/tmp2mppi7ec.c"
target datalayout = "e-m:e-p270: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/tmpeu02ffc0.c'
source_filename = "/tmp/tmpeu02ffc0.c"
target datalayout = "e-m:e-p270: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/tmpeu02ffc0.c"
target datalayout = "e-m:e-p270: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/tmp2i8v7umx.c'
source_filename = "/tmp/tmp2i8v7umx.c"
target datalayout = "e-m:e-p270: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/tmp2i8v7umx.c"
target datalayout = "e-m:e-p270: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/tmp9zx3u2ci.c'
source_filename = "/tmp/tmp9zx3u2ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"i: %d, j: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @partition2(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %6, align 4
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %10, align 4
br label %18
18: ; preds = %3
br i1 true, label %19, label %57
19: ; preds = %18
br label %20
20: ; preds = %28, %19
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i32, ptr %21, i64 %23
%25 = load i32, ptr %24, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %31
28: ; preds = %20
%29 = load i32, ptr %9, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %9, align 4
br label %20, !llvm.loop !6
31: ; preds = %20
br label %32
32: ; preds = %40, %31
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %10, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %33, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp sgt i32 %37, %38
br i1 %39, label %40, label %43
40: ; preds = %32
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, -1
store i32 %42, ptr %10, align 4
br label %32, !llvm.loop !8
43: ; preds = %32
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %10, align 4
%46 = call i32 @printf(ptr noundef @.str, i32 noundef %44, i32 noundef %45)
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %10, align 4
%49 = icmp sge i32 %47, %48
br i1 %49, label %50, label %55
50: ; preds = %43
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %10, align 4
%53 = load i32, ptr %7, align 4
%54 = call i32 @swap(ptr noundef %51, i32 noundef %52, i32 noundef %53)
br label %55
55: ; preds = %50, %43
%56 = load i32, ptr %10, align 4
store i32 %56, ptr %4, align 4
br label %57
57: ; preds = %55, %18
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9zx3u2ci.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"i: %d, j: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @partition2(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %8, align 4
%16 = load i32, ptr %6, align 4
store i32 %16, ptr %9, align 4
%17 = load i32, ptr %7, align 4
store i32 %17, ptr %10, align 4
br label %18
18: ; preds = %3
br i1 true, label %19, label %69
19: ; preds = %18
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = load i32, ptr %23, align 4
%25 = load i32, ptr %8, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %37
.lr.ph: ; preds = %19
br label %27
27: ; preds = %.lr.ph, %27
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = load i32, ptr %8, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %37
37: ; preds = %._crit_edge, %19
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %10, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp sgt i32 %42, %43
br i1 %44, label %.lr.ph2, label %55
.lr.ph2: ; preds = %37
br label %45
45: ; preds = %.lr.ph2, %45
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %10, align 4
%48 = load ptr, ptr %5, align 8
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %45, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %55
55: ; preds = %._crit_edge3, %37
%56 = load i32, ptr %9, align 4
%57 = load i32, ptr %10, align 4
%58 = call i32 @printf(ptr noundef @.str, i32 noundef %56, i32 noundef %57)
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %10, align 4
%61 = icmp sge i32 %59, %60
br i1 %61, label %62, label %67
62: ; preds = %55
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %10, align 4
%65 = load i32, ptr %7, align 4
%66 = call i32 @swap(ptr noundef %63, i32 noundef %64, i32 noundef %65)
br label %67
67: ; preds = %62, %55
%68 = load i32, ptr %10, align 4
store i32 %68, ptr %4, align 4
br label %69
69: ; preds = %67, %18
%70 = load i32, ptr %4, align 4
ret i32 %70
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2zchfi2z.c'
source_filename = "/tmp/tmp2zchfi2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sbrk(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i32 (...) @svcPanic()
%5 = load i32, ptr %2, align 4
ret i32 %5
}
declare i32 @svcPanic(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2zchfi2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sbrk(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i32 (...) @svcPanic()
%5 = load i32, ptr %2, align 4
ret i32 %5
}
declare i32 @svcPanic(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw3x7cai3.c'
source_filename = "/tmp/tmpw3x7cai3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sketch\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sketchStart(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sendCmd(i32 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @sendCmd(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw3x7cai3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sketch\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sketchStart(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @sendCmd(i32 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @sendCmd(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphg8kc0cq.c'
source_filename = "/tmp/tmphg8kc0cq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"Most people's C programs should be indented six feet downward and covered with dirt.\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/tmphg8kc0cq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [85 x i8] c"Most people's C programs should be indented six feet downward and covered with dirt.\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/tmpbbsmch2m.c'
source_filename = "/tmp/tmpbbsmch2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"msgget failed\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
%3 = load i32, ptr @IPC_PRIVATE, align 4
%4 = load i32, ptr @IPC_CREAT, align 4
%5 = or i32 %4, 384
%6 = call i32 @msgget(i32 noundef %3, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %12
11: ; preds = %0
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %11, %9
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @msgget(i32 noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbbsmch2m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [14 x i8] c"msgget failed\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
%3 = load i32, ptr @IPC_PRIVATE, align 4
%4 = load i32, ptr @IPC_CREAT, align 4
%5 = or i32 %4, 384
%6 = call i32 @msgget(i32 noundef %3, i32 noundef %5)
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %0
%10 = call i32 @puts(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %12
11: ; preds = %0
store i32 0, ptr %1, align 4
br label %12
12: ; preds = %11, %9
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @msgget(i32 noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcuukmm9v.c'
source_filename = "/tmp/tmpcuukmm9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"x&y = 0x%.2x, x|y = 0x%.2x, ~x|~y = 0x%.2x, x&!y = 0x%.2x\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"x&&y = 0x%.2x, x||y = 0x%.2x, !x||!y = 0x%.2x, x&&~y = 0x%.2x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 102, ptr %2, align 4
store i32 57, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = and i32 %4, %5
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr %2, align 4
%11 = xor i32 %10, -1
%12 = load i32, ptr %3, align 4
%13 = xor i32 %12, -1
%14 = or i32 %11, %13
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
%19 = zext i1 %18 to i32
%20 = and i32 %15, %19
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9, i32 noundef %14, i32 noundef %20)
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %0
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %24, %0
%28 = phi i1 [ false, %0 ], [ %26, %24 ]
%29 = zext i1 %28 to i32
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %27
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 0
br label %35
35: ; preds = %32, %27
%36 = phi i1 [ true, %27 ], [ %34, %32 ]
%37 = zext i1 %36 to i32
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %35
%41 = load i32, ptr %3, align 4
%42 = icmp ne i32 %41, 0
%43 = xor i1 %42, true
br label %44
44: ; preds = %40, %35
%45 = phi i1 [ true, %35 ], [ %43, %40 ]
%46 = zext i1 %45 to i32
%47 = load i32, ptr %2, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %44
%50 = load i32, ptr %3, align 4
%51 = xor i32 %50, -1
%52 = icmp ne i32 %51, 0
br label %53
53: ; preds = %49, %44
%54 = phi i1 [ false, %44 ], [ %52, %49 ]
%55 = zext i1 %54 to i32
%56 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %37, i32 noundef %46, i32 noundef %55)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcuukmm9v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [59 x i8] c"x&y = 0x%.2x, x|y = 0x%.2x, ~x|~y = 0x%.2x, x&!y = 0x%.2x\0A\00", align 1
@.str.1 = private unnamed_addr constant [63 x i8] c"x&&y = 0x%.2x, x||y = 0x%.2x, !x||!y = 0x%.2x, x&&~y = 0x%.2x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 102, ptr %2, align 4
store i32 57, ptr %3, align 4
%4 = load i32, ptr %2, align 4
%5 = load i32, ptr %3, align 4
%6 = and i32 %4, %5
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr %2, align 4
%11 = xor i32 %10, -1
%12 = load i32, ptr %3, align 4
%13 = xor i32 %12, -1
%14 = or i32 %11, %13
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %16, 0
%18 = xor i1 %17, true
%19 = zext i1 %18 to i32
%20 = and i32 %15, %19
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9, i32 noundef %14, i32 noundef %20)
%22 = load i32, ptr %2, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %27
24: ; preds = %0
%25 = load i32, ptr %3, align 4
%26 = icmp ne i32 %25, 0
br label %27
27: ; preds = %24, %0
%28 = phi i1 [ false, %0 ], [ %26, %24 ]
%29 = zext i1 %28 to i32
%30 = load i32, ptr %2, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %35, label %32
32: ; preds = %27
%33 = load i32, ptr %3, align 4
%34 = icmp ne i32 %33, 0
br label %35
35: ; preds = %32, %27
%36 = phi i1 [ true, %27 ], [ %34, %32 ]
%37 = zext i1 %36 to i32
%38 = load i32, ptr %2, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %44
40: ; preds = %35
%41 = load i32, ptr %3, align 4
%42 = icmp ne i32 %41, 0
%43 = xor i1 %42, true
br label %44
44: ; preds = %40, %35
%45 = phi i1 [ true, %35 ], [ %43, %40 ]
%46 = zext i1 %45 to i32
%47 = load i32, ptr %2, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %53
49: ; preds = %44
%50 = load i32, ptr %3, align 4
%51 = xor i32 %50, -1
%52 = icmp ne i32 %51, 0
br label %53
53: ; preds = %49, %44
%54 = phi i1 [ false, %44 ], [ %52, %49 ]
%55 = zext i1 %54 to i32
%56 = call i32 @printf(ptr noundef @.str.1, i32 noundef %29, i32 noundef %37, i32 noundef %46, i32 noundef %55)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzdfbeu0n.c'
source_filename = "/tmp/tmpzdfbeu0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_redraw() #0 {
%1 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzdfbeu0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gui_redraw() #0 {
%1 = call i32 (...) @glutPostRedisplay()
ret void
}
declare i32 @glutPostRedisplay(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptbk8y6_3.c'
source_filename = "/tmp/tmptbk8y6_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %3, align 4
br label %7
7: ; preds = %26, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 32
br i1 %14, label %23, label %15
15: ; preds = %7
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 9
br label %23
23: ; preds = %15, %7
%24 = phi i1 [ true, %7 ], [ %22, %15 ]
br i1 %24, label %25, label %29
25: ; preds = %23
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %7, !llvm.loop !6
29: ; preds = %23
br label %30
30: ; preds = %38, %29
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %51
38: ; preds = %30
%39 = load ptr, ptr %2, align 8
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %45
store i8 %43, ptr %46, align 1
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
br label %30, !llvm.loop !8
51: ; preds = %30
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %53
store i8 0, ptr %54, align 1
%55 = load ptr, ptr %2, align 8
%56 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%57 = call i32 @strcpy(ptr noundef %55, ptr noundef %56)
%58 = load ptr, ptr %2, align 8
ret ptr %58
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptbk8y6_3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ltrim(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [1024 x i8], align 16
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %3, align 4
br label %7
7: ; preds = %26, %1
%8 = load ptr, ptr %2, align 8
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 32
br i1 %14, label %23, label %15
15: ; preds = %7
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 9
br label %23
23: ; preds = %15, %7
%24 = phi i1 [ true, %7 ], [ %22, %15 ]
br i1 %24, label %25, label %29
25: ; preds = %23
br label %26
26: ; preds = %25
%27 = load i32, ptr %3, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %3, align 4
br label %7, !llvm.loop !6
29: ; preds = %23
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 0
br i1 %36, label %.lr.ph, label %57
.lr.ph: ; preds = %29
br label %37
37: ; preds = %.lr.ph, %37
%38 = load ptr, ptr %2, align 8
%39 = load i32, ptr %3, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %44
store i8 %42, ptr %45, align 1
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
%50 = load ptr, ptr %2, align 8
%51 = load i32, ptr %3, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp ne i32 %55, 0
br i1 %56, label %37, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %37
br label %57
57: ; preds = %._crit_edge, %29
%58 = load i32, ptr %4, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 %59
store i8 0, ptr %60, align 1
%61 = load ptr, ptr %2, align 8
%62 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0
%63 = call i32 @strcpy(ptr noundef %61, ptr noundef %62)
%64 = load ptr, ptr %2, align 8
ret ptr %64
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxf5be81l.c'
source_filename = "/tmp/tmpxf5be81l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeTTY(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxf5be81l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @closeTTY(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ywmaspk.c'
source_filename = "/tmp/tmp5ywmaspk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef %3)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @deallocateAll()
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @deallocateAll(...) #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/tmp5ywmaspk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @error(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef %3)
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 (...) @deallocateAll()
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
declare i32 @deallocateAll(...) #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/tmp1ll2tj7m.c'
source_filename = "/tmp/tmp1ll2tj7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%ld %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
br label %5
5: ; preds = %27, %0
%6 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%7 = load i64, ptr @EOF, align 8
%8 = icmp ne i64 %6, %7
br i1 %8, label %9, label %28
9: ; preds = %5
br label %10
10: ; preds = %26, %9
%11 = load i64, ptr %4, align 8
%12 = add nsw i64 %11, -1
store i64 %12, ptr %4, align 8
%13 = icmp ne i64 %11, 0
br i1 %13, label %14, label %27
14: ; preds = %10
%15 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%16 = load i64, ptr %3, align 8
%17 = load i64, ptr %2, align 8
%18 = srem i64 %16, %17
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %24
20: ; preds = %14
%21 = load i64, ptr %2, align 8
%22 = load i64, ptr %3, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %21, i64 noundef %22)
br label %26
24: ; preds = %14
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %26
26: ; preds = %24, %20
br label %10, !llvm.loop !6
27: ; preds = %10
br label %5, !llvm.loop !8
28: ; preds = %5
ret i32 0
}
declare i64 @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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1ll2tj7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [8 x i8] c"%ld %ld\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"%ld %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"-1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
%5 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%6 = load i64, ptr @EOF, align 8
%7 = icmp ne i64 %5, %6
br i1 %7, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %8
8: ; preds = %.lr.ph2, %28
%9 = load i64, ptr %4, align 8
%10 = add nsw i64 %9, -1
store i64 %10, ptr %4, align 8
%11 = icmp ne i64 %9, 0
br i1 %11, label %.lr.ph, label %28
.lr.ph: ; preds = %8
br label %12
12: ; preds = %.lr.ph, %24
%13 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3)
%14 = load i64, ptr %3, align 8
%15 = load i64, ptr %2, align 8
%16 = srem i64 %14, %15
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %22
18: ; preds = %12
%19 = load i64, ptr %2, align 8
%20 = load i64, ptr %3, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %19, i64 noundef %20)
br label %24
22: ; preds = %12
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %18
%25 = load i64, ptr %4, align 8
%26 = add nsw i64 %25, -1
store i64 %26, ptr %4, align 8
%27 = icmp ne i64 %25, 0
br i1 %27, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %28
28: ; preds = %._crit_edge, %8
%29 = call i64 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%30 = load i64, ptr @EOF, align 8
%31 = icmp ne i64 %29, %30
br i1 %31, label %8, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %28
br label %32
32: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i64 @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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi75ejk7q.c'
source_filename = "/tmp/tmpi75ejk7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"The winding numbers :\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"The directions :\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c" direction %d :\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c" %.3e\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"The errors :\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dobldobl_generate(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %8, align 8
%16 = call i32 @generate_winding_numbers(i32 noundef %14, ptr noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %13, align 4
br label %18
18: ; preds = %29, %5
%19 = load i32, ptr %13, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %32
22: ; preds = %18
%23 = load ptr, ptr %8, align 8
%24 = load i32, ptr %13, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %22
%30 = load i32, ptr %13, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %13, align 4
br label %18, !llvm.loop !6
32: ; preds = %18
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = mul nsw i32 2, %35
%37 = load ptr, ptr %9, align 8
%38 = call i32 @generate_directions(i32 noundef %34, i32 noundef %36, ptr noundef %37)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %13, align 4
store i32 0, ptr %11, align 4
br label %40
40: ; preds = %66, %32
%41 = load i32, ptr %11, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %69
44: ; preds = %40
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %46)
store i32 0, ptr %12, align 4
br label %48
48: ; preds = %61, %44
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %7, align 4
%51 = mul nsw i32 2, %50
%52 = icmp slt i32 %49, %51
br i1 %52, label %53, label %64
53: ; preds = %48
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds double, ptr %54, i64 %57
%59 = load double, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %59)
br label %61
61: ; preds = %53
%62 = load i32, ptr %12, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %12, align 4
br label %48, !llvm.loop !8
64: ; preds = %48
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %66
66: ; preds = %64
%67 = load i32, ptr %11, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %11, align 4
br label %40, !llvm.loop !9
69: ; preds = %40
%70 = load i32, ptr %6, align 4
%71 = mul nsw i32 2, %70
%72 = load ptr, ptr %10, align 8
%73 = call i32 @generate_errors(i32 noundef %71, ptr noundef %72)
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %13, align 4
br label %75
75: ; preds = %87, %69
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %6, align 4
%78 = mul nsw i32 2, %77
%79 = icmp slt i32 %76, %78
br i1 %79, label %80, label %90
80: ; preds = %75
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %13, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, ptr %81, i64 %83
%85 = load double, ptr %84, align 8
%86 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %85)
br label %87
87: ; preds = %80
%88 = load i32, ptr %13, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %13, align 4
br label %75, !llvm.loop !10
90: ; preds = %75
%91 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @generate_winding_numbers(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @generate_directions(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @generate_errors(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpi75ejk7q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"The winding numbers :\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"The directions :\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c" direction %d :\00", align 1
@.str.5 = private unnamed_addr constant [6 x i8] c" %.3e\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c"The errors :\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @dobldobl_generate(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%14 = load i32, ptr %6, align 4
%15 = load ptr, ptr %8, align 8
%16 = call i32 @generate_winding_numbers(i32 noundef %14, ptr noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %13, align 4
%18 = load i32, ptr %13, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %34
.lr.ph: ; preds = %5
br label %21
21: ; preds = %.lr.ph, %28
%22 = load ptr, ptr %8, align 8
%23 = load i32, ptr %13, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %26)
br label %28
28: ; preds = %21
%29 = load i32, ptr %13, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %13, align 4
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %5
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = mul nsw i32 2, %37
%39 = load ptr, ptr %9, align 8
%40 = call i32 @generate_directions(i32 noundef %36, i32 noundef %38, ptr noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %13, align 4
store i32 0, ptr %11, align 4
%42 = load i32, ptr %11, align 4
%43 = load i32, ptr %6, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph5, label %76
.lr.ph5: ; preds = %34
br label %45
45: ; preds = %.lr.ph5, %70
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %46, 1
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %47)
store i32 0, ptr %12, align 4
%49 = load i32, ptr %12, align 4
%50 = load i32, ptr %7, align 4
%51 = mul nsw i32 2, %50
%52 = icmp slt i32 %49, %51
br i1 %52, label %.lr.ph2, label %68
.lr.ph2: ; preds = %45
br label %53
53: ; preds = %.lr.ph2, %61
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %13, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %13, align 4
%57 = sext i32 %55 to i64
%58 = getelementptr inbounds double, ptr %54, i64 %57
%59 = load double, ptr %58, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %59)
br label %61
61: ; preds = %53
%62 = load i32, ptr %12, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %12, align 4
%64 = load i32, ptr %12, align 4
%65 = load i32, ptr %7, align 4
%66 = mul nsw i32 2, %65
%67 = icmp slt i32 %64, %66
br i1 %67, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %61
br label %68
68: ; preds = %._crit_edge3, %45
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %70
70: ; preds = %68
%71 = load i32, ptr %11, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %11, align 4
%73 = load i32, ptr %11, align 4
%74 = load i32, ptr %6, align 4
%75 = icmp slt i32 %73, %74
br i1 %75, label %45, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %70
br label %76
76: ; preds = %._crit_edge6, %34
%77 = load i32, ptr %6, align 4
%78 = mul nsw i32 2, %77
%79 = load ptr, ptr %10, align 8
%80 = call i32 @generate_errors(i32 noundef %78, ptr noundef %79)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %13, align 4
%82 = load i32, ptr %13, align 4
%83 = load i32, ptr %6, align 4
%84 = mul nsw i32 2, %83
%85 = icmp slt i32 %82, %84
br i1 %85, label %.lr.ph8, label %100
.lr.ph8: ; preds = %76
br label %86
86: ; preds = %.lr.ph8, %93
%87 = load ptr, ptr %10, align 8
%88 = load i32, ptr %13, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %91)
br label %93
93: ; preds = %86
%94 = load i32, ptr %13, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %13, align 4
%96 = load i32, ptr %13, align 4
%97 = load i32, ptr %6, align 4
%98 = mul nsw i32 2, %97
%99 = icmp slt i32 %96, %98
br i1 %99, label %86, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %93
br label %100
100: ; preds = %._crit_edge9, %76
%101 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @generate_winding_numbers(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @generate_directions(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @generate_errors(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpr620o565.c'
source_filename = "/tmp/tmpr620o565.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @MMCSD_goIdleState() #0 {
%1 = call zeroext i16 @MMCSD_sendCmd(i32 noundef 16384, i32 noundef 0, i32 noundef 0, i32 noundef 4)
ret i16 %1
}
declare zeroext i16 @MMCSD_sendCmd(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/tmpr620o565.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @MMCSD_goIdleState() #0 {
%1 = call zeroext i16 @MMCSD_sendCmd(i32 noundef 16384, i32 noundef 0, i32 noundef 0, i32 noundef 4)
ret i16 %1
}
declare zeroext i16 @MMCSD_sendCmd(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/tmp3l69wctv.c'
source_filename = "/tmp/tmp3l69wctv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, 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/tmp3l69wctv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, 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/tmpdj0yl_am.c'
source_filename = "/tmp/tmpdj0yl_am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utils_copyValue(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdj0yl_am.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @utils_copyValue(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0s_237d6.c'
source_filename = "/tmp/tmp0s_237d6.c"
target datalayout = "e-m:e-p270: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/tmp0s_237d6.c"
target datalayout = "e-m:e-p270: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/tmp35_kwr6t.c'
source_filename = "/tmp/tmp35_kwr6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [79 x i8] c"{ \22arch\22: \22%s\22, \22os\22: \22%s\22, \22host\22: \22%s\22, \22cpus\22: %d, \22physical_memory\22: %d }\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [100 x i8], align 16
%10 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @system_hostname(ptr noundef %11, i32 noundef 100)
%13 = call i32 (...) @system_available_cpus()
store i32 %13, ptr %7, align 4
%14 = call i32 (...) @system_phys_memory()
store i32 %14, ptr %8, align 4
%15 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%16 = call i32 @system_os(ptr noundef %15, i32 noundef 100)
%17 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%18 = call i32 @system_arch(ptr noundef %17, i32 noundef 100)
%19 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%20 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%21 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = call i32 @execvp(ptr noundef %27, ptr noundef %29)
%31 = load i32, ptr @EXIT_SUCCESS, align 4
%32 = call i32 @exit(i32 noundef %31) #3
unreachable
}
declare i32 @system_hostname(ptr noundef, i32 noundef) #1
declare i32 @system_available_cpus(...) #1
declare i32 @system_phys_memory(...) #1
declare i32 @system_os(ptr noundef, i32 noundef) #1
declare i32 @system_arch(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp35_kwr6t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [79 x i8] c"{ \22arch\22: \22%s\22, \22os\22: \22%s\22, \22host\22: \22%s\22, \22cpus\22: %d, \22physical_memory\22: %d }\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [100 x i8], align 16
%10 = alloca [100 x i8], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%12 = call i32 @system_hostname(ptr noundef %11, i32 noundef 100)
%13 = call i32 (...) @system_available_cpus()
store i32 %13, ptr %7, align 4
%14 = call i32 (...) @system_phys_memory()
store i32 %14, ptr %8, align 4
%15 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%16 = call i32 @system_os(ptr noundef %15, i32 noundef 100)
%17 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%18 = call i32 @system_arch(ptr noundef %17, i32 noundef 100)
%19 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%20 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%21 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %8, align 4
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %19, ptr noundef %20, ptr noundef %21, i32 noundef %22, i32 noundef %23)
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds ptr, ptr %28, i64 1
%30 = call i32 @execvp(ptr noundef %27, ptr noundef %29)
%31 = load i32, ptr @EXIT_SUCCESS, align 4
%32 = call i32 @exit(i32 noundef %31) #3
unreachable
}
declare i32 @system_hostname(ptr noundef, i32 noundef) #1
declare i32 @system_available_cpus(...) #1
declare i32 @system_phys_memory(...) #1
declare i32 @system_os(ptr noundef, i32 noundef) #1
declare i32 @system_arch(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @execvp(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpem4roq3a.c'
source_filename = "/tmp/tmpem4roq3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pso_rosenbrock(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %45, %3
%10 = load i32, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = sub nsw i32 %11, 1
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %48
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %8, align 4
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %15, i64 %18
%20 = load double, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %8, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = fptosi double %25 to i32
%27 = call i32 @pow(i32 noundef %26, i32 noundef 2)
%28 = sitofp i32 %27 to double
%29 = fsub double %20, %28
%30 = fptosi double %29 to i32
%31 = call i32 @pow(i32 noundef %30, i32 noundef 2)
%32 = mul nsw i32 100, %31
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %8, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %33, i64 %35
%37 = load double, ptr %36, align 8
%38 = fsub double 1.000000e+00, %37
%39 = fptosi double %38 to i32
%40 = call i32 @pow(i32 noundef %39, i32 noundef 2)
%41 = add nsw i32 %32, %40
%42 = sitofp i32 %41 to double
%43 = load double, ptr %7, align 8
%44 = fadd double %43, %42
store double %44, ptr %7, align 8
br label %45
45: ; preds = %14
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %8, align 4
br label %9, !llvm.loop !6
48: ; preds = %9
%49 = load double, ptr %7, align 8
ret double %49
}
declare i32 @pow(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/tmpem4roq3a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pso_rosenbrock(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %8, align 4
%10 = load i32, ptr %5, align 4
%11 = sub nsw i32 %10, 1
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %51
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %44
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %8, align 4
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %14, i64 %17
%19 = load double, ptr %18, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
%24 = load double, ptr %23, align 8
%25 = fptosi double %24 to i32
%26 = call i32 @pow(i32 noundef %25, i32 noundef 2)
%27 = sitofp i32 %26 to double
%28 = fsub double %19, %27
%29 = fptosi double %28 to i32
%30 = call i32 @pow(i32 noundef %29, i32 noundef 2)
%31 = mul nsw i32 100, %30
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %8, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
%36 = load double, ptr %35, align 8
%37 = fsub double 1.000000e+00, %36
%38 = fptosi double %37 to i32
%39 = call i32 @pow(i32 noundef %38, i32 noundef 2)
%40 = add nsw i32 %31, %39
%41 = sitofp i32 %40 to double
%42 = load double, ptr %7, align 8
%43 = fadd double %42, %41
store double %43, ptr %7, align 8
br label %44
44: ; preds = %13
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
%47 = load i32, ptr %8, align 4
%48 = load i32, ptr %5, align 4
%49 = sub nsw i32 %48, 1
%50 = icmp slt i32 %47, %49
br i1 %50, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %51
51: ; preds = %._crit_edge, %3
%52 = load double, ptr %7, align 8
ret double %52
}
declare i32 @pow(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/tmpkxd5d043.c'
source_filename = "/tmp/tmpkxd5d043.c"
target datalayout = "e-m:e-p270: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/tmpkxd5d043.c"
target datalayout = "e-m:e-p270: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/tmpfubs6yi4.c'
source_filename = "/tmp/tmpfubs6yi4.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @entab() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1000 x i8], align 16
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %80, %0
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 999
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = call i32 (...) @getchar()
store i32 %14, ptr %2, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 10
br label %20
20: ; preds = %17, %13, %10
%21 = phi i1 [ false, %13 ], [ false, %10 ], [ %19, %17 ]
br i1 %21, label %22, label %83
22: ; preds = %20
%23 = load i32, ptr %8, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %45, label %25
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 9
br i1 %27, label %31, label %28
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 32
br i1 %30, label %31, label %45
31: ; preds = %28, %25
store i32 1, ptr %8, align 4
%32 = load i32, ptr %1, align 4
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp eq i32 %33, 9
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 4
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %35, %31
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 32
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %44
44: ; preds = %41, %38
br label %79
45: ; preds = %28, %22
%46 = load i32, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %73
48: ; preds = %45
store i32 0, ptr %8, align 4
br label %49
49: ; preds = %71, %48
%50 = load i32, ptr %5, align 4
%51 = icmp sgt i32 %50, 0
br i1 %51, label %52, label %72
52: ; preds = %49
%53 = load i32, ptr %5, align 4
%54 = sdiv i32 %53, 4
%55 = call i64 @floor(i32 noundef %54)
%56 = icmp sgt i64 %55, 0
br i1 %56, label %57, label %64
57: ; preds = %52
%58 = load i32, ptr %3, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %3, align 4
%60 = sext i32 %58 to i64
%61 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %60
store i8 9, ptr %61, align 1
%62 = load i32, ptr %5, align 4
%63 = sub nsw i32 %62, 4
store i32 %63, ptr %5, align 4
br label %71
64: ; preds = %52
%65 = load i32, ptr %3, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %3, align 4
%67 = sext i32 %65 to i64
%68 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %67
store i8 32, ptr %68, align 1
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, -1
store i32 %70, ptr %5, align 4
br label %71
71: ; preds = %64, %57
br label %49, !llvm.loop !6
72: ; preds = %49
br label %73
73: ; preds = %72, %45
%74 = load i32, ptr %2, align 4
%75 = trunc i32 %74 to i8
%76 = load i32, ptr %1, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %77
store i8 %75, ptr %78, align 1
br label %79
79: ; preds = %73, %44
br label %80
80: ; preds = %79
%81 = load i32, ptr %1, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %1, align 4
br label %10, !llvm.loop !8
83: ; preds = %20
%84 = load i32, ptr %1, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %85
store i8 0, ptr %86, align 1
%87 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%88 = call i32 @printf(ptr noundef @.str, ptr noundef %87)
%89 = load i32, ptr %1, align 4
ret i32 %89
}
declare i32 @getchar(...) #1
declare i64 @floor(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfubs6yi4.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @entab() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca [1000 x i8], align 16
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %1, align 4
br label %10
10: ; preds = %81, %0
%11 = load i32, ptr %1, align 4
%12 = icmp slt i32 %11, 999
br i1 %12, label %13, label %20
13: ; preds = %10
%14 = call i32 (...) @getchar()
store i32 %14, ptr %2, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 10
br label %20
20: ; preds = %17, %13, %10
%21 = phi i1 [ false, %13 ], [ false, %10 ], [ %19, %17 ]
br i1 %21, label %22, label %84
22: ; preds = %20
%23 = load i32, ptr %8, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %45, label %25
25: ; preds = %22
%26 = load i32, ptr %2, align 4
%27 = icmp eq i32 %26, 9
br i1 %27, label %31, label %28
28: ; preds = %25
%29 = load i32, ptr %2, align 4
%30 = icmp eq i32 %29, 32
br i1 %30, label %31, label %45
31: ; preds = %28, %25
store i32 1, ptr %8, align 4
%32 = load i32, ptr %1, align 4
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp eq i32 %33, 9
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 4
store i32 %37, ptr %5, align 4
br label %38
38: ; preds = %35, %31
%39 = load i32, ptr %2, align 4
%40 = icmp eq i32 %39, 32
br i1 %40, label %41, label %44
41: ; preds = %38
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
br label %44
44: ; preds = %41, %38
br label %80
45: ; preds = %28, %22
%46 = load i32, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %74
48: ; preds = %45
store i32 0, ptr %8, align 4
%49 = load i32, ptr %5, align 4
%50 = icmp sgt i32 %49, 0
br i1 %50, label %.lr.ph, label %73
.lr.ph: ; preds = %48
br label %51
51: ; preds = %.lr.ph, %70
%52 = load i32, ptr %5, align 4
%53 = sdiv i32 %52, 4
%54 = call i64 @floor(i32 noundef %53)
%55 = icmp sgt i64 %54, 0
br i1 %55, label %56, label %63
56: ; preds = %51
%57 = load i32, ptr %3, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %3, align 4
%59 = sext i32 %57 to i64
%60 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %59
store i8 9, ptr %60, align 1
%61 = load i32, ptr %5, align 4
%62 = sub nsw i32 %61, 4
store i32 %62, ptr %5, align 4
br label %70
63: ; preds = %51
%64 = load i32, ptr %3, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %3, align 4
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %66
store i8 32, ptr %67, align 1
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, -1
store i32 %69, ptr %5, align 4
br label %70
70: ; preds = %63, %56
%71 = load i32, ptr %5, align 4
%72 = icmp sgt i32 %71, 0
br i1 %72, label %51, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %70
br label %73
73: ; preds = %._crit_edge, %48
br label %74
74: ; preds = %73, %45
%75 = load i32, ptr %2, align 4
%76 = trunc i32 %75 to i8
%77 = load i32, ptr %1, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %78
store i8 %76, ptr %79, align 1
br label %80
80: ; preds = %74, %44
br label %81
81: ; preds = %80
%82 = load i32, ptr %1, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %1, align 4
br label %10, !llvm.loop !8
84: ; preds = %20
%85 = load i32, ptr %1, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 %86
store i8 0, ptr %87, align 1
%88 = getelementptr inbounds [1000 x i8], ptr %9, i64 0, i64 0
%89 = call i32 @printf(ptr noundef @.str, ptr noundef %88)
%90 = load i32, ptr %1, align 4
ret i32 %90
}
declare i32 @getchar(...) #1
declare i64 @floor(i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpi582mxjf.c'
source_filename = "/tmp/tmpi582mxjf.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 }
@RLIMIT_CPU = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"Get:\09RLIMIT_CPU %ld (soft) %ld (hard)\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Set:\09RLIMIT_CPU %ld (soft) %ld (hard)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setLimit(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.rlimit, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr @RLIMIT_CPU, align 4
%8 = call i32 @getrlimit(i32 noundef %7, ptr noundef %6)
%9 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %5, align 4
%17 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = load i32, ptr @RLIMIT_CPU, align 4
%19 = call i32 @setrlimit(i32 noundef %18, ptr noundef %6)
%20 = load i32, ptr @RLIMIT_CPU, align 4
%21 = call i32 @getrlimit(i32 noundef %20, ptr noundef %6)
%22 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %25)
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @getrlimit(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @setrlimit(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi582mxjf.c"
target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 }
@RLIMIT_CPU = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"Get:\09RLIMIT_CPU %ld (soft) %ld (hard)\0A\00", align 1
@.str.1 = private unnamed_addr constant [39 x i8] c"Set:\09RLIMIT_CPU %ld (soft) %ld (hard)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @setLimit(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.rlimit, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%7 = load i32, ptr @RLIMIT_CPU, align 4
%8 = call i32 @getrlimit(i32 noundef %7, ptr noundef %6)
%9 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
%12 = load i32, ptr %11, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
store i32 %14, ptr %15, align 4
%16 = load i32, ptr %5, align 4
%17 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
store i32 %16, ptr %17, align 4
%18 = load i32, ptr @RLIMIT_CPU, align 4
%19 = call i32 @setrlimit(i32 noundef %18, ptr noundef %6)
%20 = load i32, ptr @RLIMIT_CPU, align 4
%21 = call i32 @getrlimit(i32 noundef %20, ptr noundef %6)
%22 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 0
%23 = load i32, ptr %22, align 4
%24 = getelementptr inbounds %struct.rlimit, ptr %6, i32 0, i32 1
%25 = load i32, ptr %24, align 4
%26 = call i32 @printf(ptr noundef @.str.1, i32 noundef %23, i32 noundef %25)
%27 = load i32, ptr %3, align 4
ret i32 %27
}
declare i32 @getrlimit(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @setrlimit(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_396h8fm.c'
source_filename = "/tmp/tmp_396h8fm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nb_kernel020nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel020nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel020nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_396h8fm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nb_kernel020nf_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel020nf_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel020nf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfwm3ml19.c'
source_filename = "/tmp/tmpfwm3ml19.c"
target datalayout = "e-m:e-p270: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/tmpfwm3ml19.c"
target datalayout = "e-m:e-p270: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/tmp3czcf9fx.c'
source_filename = "/tmp/tmp3czcf9fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %14
14: ; preds = %91, %5
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
store ptr %15, ptr %19, align 8
store i32 0, ptr %13, align 4
br label %20
20: ; preds = %56, %14
%21 = load ptr, ptr %10, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i8, ptr %22, align 1
%24 = call ptr @strchr(ptr noundef %21, i8 noundef signext %23)
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %57
26: ; preds = %20
%27 = load ptr, ptr %6, align 8
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i32, ptr %13, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %28, ptr %36, align 1
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %6, align 8
%39 = load ptr, ptr %8, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %8, align 8
%41 = load i32, ptr %13, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %13, align 4
%43 = load ptr, ptr %9, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds ptr, ptr %43, i64 %45
%47 = load ptr, ptr %46, align 8
%48 = load i32, ptr %13, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 0, ptr %50, align 1
%51 = load ptr, ptr %6, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %26
br label %57
56: ; preds = %26
br label %20, !llvm.loop !6
57: ; preds = %55, %20
%58 = load i32, ptr %13, align 4
%59 = icmp sgt i32 %58, 0
br i1 %59, label %60, label %63
60: ; preds = %57
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %11, align 4
br label %63
63: ; preds = %60, %57
%64 = load ptr, ptr %6, align 8
%65 = load i8, ptr %64, align 1
%66 = sext i8 %65 to i32
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %63
br label %94
69: ; preds = %63
br label %70
70: ; preds = %84, %69
%71 = load ptr, ptr %10, align 8
%72 = load ptr, ptr %6, align 8
%73 = load i8, ptr %72, align 1
%74 = call ptr @strchr(ptr noundef %71, i8 noundef signext %73)
%75 = icmp ne ptr %74, null
br i1 %75, label %76, label %85
76: ; preds = %70
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds i8, ptr %77, i32 1
store ptr %78, ptr %6, align 8
%79 = load ptr, ptr %6, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp eq i32 %81, 0
br i1 %82, label %83, label %84
83: ; preds = %76
br label %85
84: ; preds = %76
br label %70, !llvm.loop !8
85: ; preds = %83, %70
%86 = load ptr, ptr %6, align 8
%87 = load i8, ptr %86, align 1
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %85
br label %94
91: ; preds = %85
%92 = load ptr, ptr %8, align 8
%93 = getelementptr inbounds i8, ptr %92, i32 1
store ptr %93, ptr %8, align 8
br label %14
94: ; preds = %90, %68
%95 = load i32, ptr %11, align 4
ret i32 %95
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3czcf9fx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @split(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %14
14: ; preds = %99, %5
%15 = load ptr, ptr %8, align 8
%16 = load ptr, ptr %9, align 8
%17 = load i32, ptr %11, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds ptr, ptr %16, i64 %18
store ptr %15, ptr %19, align 8
store i32 0, ptr %13, align 4
%20 = load ptr, ptr %10, align 8
%21 = load ptr, ptr %6, align 8
%22 = load i8, ptr %21, align 1
%23 = call ptr @strchr(ptr noundef %20, i8 noundef signext %22)
%24 = icmp eq ptr %23, null
br i1 %24, label %.lr.ph, label %.loopexit1
.lr.ph: ; preds = %14
br label %31
25: ; preds = %31
%26 = load ptr, ptr %10, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i8, ptr %27, align 1
%29 = call ptr @strchr(ptr noundef %26, i8 noundef signext %28)
%30 = icmp eq ptr %29, null
br i1 %30, label %31, label %..loopexit1_crit_edge, !llvm.loop !6
31: ; preds = %.lr.ph, %25
%32 = load ptr, ptr %6, align 8
%33 = load i8, ptr %32, align 1
%34 = load ptr, ptr %9, align 8
%35 = load i32, ptr %11, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = load i32, ptr %13, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 %33, ptr %41, align 1
%42 = load ptr, ptr %6, align 8
%43 = getelementptr inbounds i8, ptr %42, i32 1
store ptr %43, ptr %6, align 8
%44 = load ptr, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %8, align 8
%46 = load i32, ptr %13, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %13, align 4
%48 = load ptr, ptr %9, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds ptr, ptr %48, i64 %50
%52 = load ptr, ptr %51, align 8
%53 = load i32, ptr %13, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
store i8 0, ptr %55, align 1
%56 = load ptr, ptr %6, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %25
60: ; preds = %31
br label %61
..loopexit1_crit_edge: ; preds = %25
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %14
br label %61
61: ; preds = %.loopexit1, %60
%62 = load i32, ptr %13, align 4
%63 = icmp sgt i32 %62, 0
br i1 %63, label %64, label %67
64: ; preds = %61
%65 = load i32, ptr %11, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %11, align 4
br label %67
67: ; preds = %64, %61
%68 = load ptr, ptr %6, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 0
br i1 %71, label %72, label %73
72: ; preds = %67
br label %102
73: ; preds = %67
%74 = load ptr, ptr %10, align 8
%75 = load ptr, ptr %6, align 8
%76 = load i8, ptr %75, align 1
%77 = call ptr @strchr(ptr noundef %74, i8 noundef signext %76)
%78 = icmp ne ptr %77, null
br i1 %78, label %.lr.ph2, label %.loopexit
.lr.ph2: ; preds = %73
br label %85
79: ; preds = %85
%80 = load ptr, ptr %10, align 8
%81 = load ptr, ptr %6, align 8
%82 = load i8, ptr %81, align 1
%83 = call ptr @strchr(ptr noundef %80, i8 noundef signext %82)
%84 = icmp ne ptr %83, null
br i1 %84, label %85, label %..loopexit_crit_edge, !llvm.loop !8
85: ; preds = %.lr.ph2, %79
%86 = load ptr, ptr %6, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %6, align 8
%88 = load ptr, ptr %6, align 8
%89 = load i8, ptr %88, align 1
%90 = sext i8 %89 to i32
%91 = icmp eq i32 %90, 0
br i1 %91, label %92, label %79
92: ; preds = %85
br label %93
..loopexit_crit_edge: ; preds = %79
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %73
br label %93
93: ; preds = %.loopexit, %92
%94 = load ptr, ptr %6, align 8
%95 = load i8, ptr %94, align 1
%96 = sext i8 %95 to i32
%97 = icmp eq i32 %96, 0
br i1 %97, label %98, label %99
98: ; preds = %93
br label %102
99: ; preds = %93
%100 = load ptr, ptr %8, align 8
%101 = getelementptr inbounds i8, ptr %100, i32 1
store ptr %101, ptr %8, align 8
br label %14
102: ; preds = %98, %72
%103 = load i32, ptr %11, align 4
ret i32 %103
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpglewy48d.c'
source_filename = "/tmp/tmpglewy48d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Input your brainfuck code below.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_intro_message() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpglewy48d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Input your brainfuck code below.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_intro_message() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz900asif.c'
source_filename = "/tmp/tmpz900asif.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"RunlessBASIC: fatal: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fail(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz900asif.c"
target datalayout = "e-m:e-p270: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 [25 x i8] c"RunlessBASIC: fatal: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fail(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcrcy15bc.c'
source_filename = "/tmp/tmpcrcy15bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coeffB(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 %4, align 8
%6 = load i64, ptr %3, align 8
%7 = sub nsw i64 %5, %6
%8 = call i32 @gfpow(i64 noundef %7)
%9 = xor i32 %8, 1
%10 = call i32 @gfmiv(i32 noundef %9)
%11 = load i64, ptr %3, align 8
%12 = call i32 @gfpow(i64 noundef %11)
%13 = call i32 @gfmiv(i32 noundef %12)
%14 = call i64 @gfmult(i32 noundef %10, i32 noundef %13)
ret i64 %14
}
declare i64 @gfmult(i32 noundef, i32 noundef) #1
declare i32 @gfmiv(i32 noundef) #1
declare i32 @gfpow(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/tmpcrcy15bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @coeffB(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 %4, align 8
%6 = load i64, ptr %3, align 8
%7 = sub nsw i64 %5, %6
%8 = call i32 @gfpow(i64 noundef %7)
%9 = xor i32 %8, 1
%10 = call i32 @gfmiv(i32 noundef %9)
%11 = load i64, ptr %3, align 8
%12 = call i32 @gfpow(i64 noundef %11)
%13 = call i32 @gfmiv(i32 noundef %12)
%14 = call i64 @gfmult(i32 noundef %10, i32 noundef %13)
ret i64 %14
}
declare i64 @gfmult(i32 noundef, i32 noundef) #1
declare i32 @gfmiv(i32 noundef) #1
declare i32 @gfpow(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/tmpz3p5fpk_.c'
source_filename = "/tmp/tmpz3p5fpk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quadric_reshape(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 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double -2.500000e+00, %16
%18 = load i32, ptr %3, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
%21 = load i32, ptr %4, align 4
%22 = sitofp i32 %21 to double
%23 = fmul double 2.500000e+00, %22
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = fdiv double %23, %25
%27 = call i32 @glOrtho(double noundef -2.500000e+00, double noundef 2.500000e+00, double noundef %20, double noundef %26, double noundef -1.000000e+01, double noundef 1.000000e+01)
br label %42
28: ; preds = %2
%29 = load i32, ptr %4, align 4
%30 = sitofp i32 %29 to double
%31 = fmul double -2.500000e+00, %30
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fdiv double %31, %33
%35 = load i32, ptr %4, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double 2.500000e+00, %36
%38 = load i32, ptr %3, align 4
%39 = sitofp i32 %38 to double
%40 = fdiv double %37, %39
%41 = call i32 @glOrtho(double noundef %34, double noundef %40, double noundef -2.500000e+00, double noundef 2.500000e+00, double noundef -1.000000e+01, double noundef 1.000000e+01)
br label %42
42: ; preds = %28, %14
%43 = load i32, ptr @GL_MODELVIEW, align 4
%44 = call i32 @glMatrixMode(i32 noundef %43)
%45 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glOrtho(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz3p5fpk_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @quadric_reshape(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 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6)
%8 = load i32, ptr @GL_PROJECTION, align 4
%9 = call i32 @glMatrixMode(i32 noundef %8)
%10 = call i32 (...) @glLoadIdentity()
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp sle i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sitofp i32 %15 to double
%17 = fmul double -2.500000e+00, %16
%18 = load i32, ptr %3, align 4
%19 = sitofp i32 %18 to double
%20 = fdiv double %17, %19
%21 = load i32, ptr %4, align 4
%22 = sitofp i32 %21 to double
%23 = fmul double 2.500000e+00, %22
%24 = load i32, ptr %3, align 4
%25 = sitofp i32 %24 to double
%26 = fdiv double %23, %25
%27 = call i32 @glOrtho(double noundef -2.500000e+00, double noundef 2.500000e+00, double noundef %20, double noundef %26, double noundef -1.000000e+01, double noundef 1.000000e+01)
br label %42
28: ; preds = %2
%29 = load i32, ptr %4, align 4
%30 = sitofp i32 %29 to double
%31 = fmul double -2.500000e+00, %30
%32 = load i32, ptr %3, align 4
%33 = sitofp i32 %32 to double
%34 = fdiv double %31, %33
%35 = load i32, ptr %4, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double 2.500000e+00, %36
%38 = load i32, ptr %3, align 4
%39 = sitofp i32 %38 to double
%40 = fdiv double %37, %39
%41 = call i32 @glOrtho(double noundef %34, double noundef %40, double noundef -2.500000e+00, double noundef 2.500000e+00, double noundef -1.000000e+01, double noundef 1.000000e+01)
br label %42
42: ; preds = %28, %14
%43 = load i32, ptr @GL_MODELVIEW, align 4
%44 = call i32 @glMatrixMode(i32 noundef %43)
%45 = call i32 (...) @glLoadIdentity()
ret void
}
declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @glOrtho(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0fe9_dse.c'
source_filename = "/tmp/tmp0fe9_dse.c"
target datalayout = "e-m:e-p270: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/tmp0fe9_dse.c"
target datalayout = "e-m:e-p270: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/tmpefcvd0o_.c'
source_filename = "/tmp/tmpefcvd0o_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ueStrNBytes(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 ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %7, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %24, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %27
13: ; preds = %9
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = call i64 @ueBytesFromChar(i8 noundef signext %18)
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = add nsw i64 %21, %19
%23 = trunc i64 %22 to i32
store i32 %23, ptr %6, align 4
br label %24
24: ; preds = %13
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %9, !llvm.loop !6
27: ; preds = %9
%28 = load i32, ptr %6, align 4
ret i32 %28
}
declare i64 @ueBytesFromChar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpefcvd0o_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ueStrNBytes(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 ptr, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %7, align 8
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %29
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %23
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = call i64 @ueBytesFromChar(i8 noundef signext %17)
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = add nsw i64 %20, %18
%22 = trunc i64 %21 to i32
store i32 %22, ptr %6, align 4
br label %23
23: ; preds = %12
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %29
29: ; preds = %._crit_edge, %2
%30 = load i32, ptr %6, align 4
ret i32 %30
}
declare i64 @ueBytesFromChar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm2fet0fg.c'
source_filename = "/tmp/tmpm2fet0fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nif_check_integrity(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
store i64 %8, ptr %4, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ne i64 %9, 9
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -10, ptr %2, align 4
br label %32
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call i64 @prepare_nif(ptr noundef %13)
store i64 %14, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp eq i64 %15, -20
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 -20, ptr %2, align 4
br label %32
18: ; preds = %12
%19 = load i64, ptr %5, align 8
%20 = srem i64 %19, 23
%21 = trunc i64 %20 to i32
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %6, align 4
%27 = call signext i8 @control_letter(i32 noundef %26)
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %25, %28
%30 = zext i1 %29 to i64
%31 = select i1 %29, i32 1, i32 0
store i32 %31, ptr %2, align 4
br label %32
32: ; preds = %18, %17, %11
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i64 @strlen(ptr noundef) #1
declare i64 @prepare_nif(ptr noundef) #1
declare signext i8 @control_letter(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/tmpm2fet0fg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nif_check_integrity(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
store i64 %8, ptr %4, align 8
%9 = load i64, ptr %4, align 8
%10 = icmp ne i64 %9, 9
br i1 %10, label %11, label %12
11: ; preds = %1
store i32 -10, ptr %2, align 4
br label %32
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
%14 = call i64 @prepare_nif(ptr noundef %13)
store i64 %14, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = icmp eq i64 %15, -20
br i1 %16, label %17, label %18
17: ; preds = %12
store i32 -20, ptr %2, align 4
br label %32
18: ; preds = %12
%19 = load i64, ptr %5, align 8
%20 = srem i64 %19, 23
%21 = trunc i64 %20 to i32
store i32 %21, ptr %6, align 4
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds i8, ptr %22, i64 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %6, align 4
%27 = call signext i8 @control_letter(i32 noundef %26)
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %25, %28
%30 = zext i1 %29 to i64
%31 = select i1 %29, i32 1, i32 0
store i32 %31, ptr %2, align 4
br label %32
32: ; preds = %18, %17, %11
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i64 @strlen(ptr noundef) #1
declare i64 @prepare_nif(ptr noundef) #1
declare signext i8 @control_letter(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/tmpk11ha36u.c'
source_filename = "/tmp/tmpk11ha36u.c"
target datalayout = "e-m:e-p270: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/tmpk11ha36u.c"
target datalayout = "e-m:e-p270: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/tmp1v4q_332.c'
source_filename = "/tmp/tmp1v4q_332.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_vm = type { i32, i32, i32 }
%struct.sockaddr = type { i32 }
@VMADDR_CID_ANY = dso_local global i32 0, align 4
@AF_VSOCK = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"socket()\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"bind()\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"listen()\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"accept()\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1
@WNOHANG = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"New client forked...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run_echosrv(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_vm, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%13 = getelementptr inbounds %struct.sockaddr_vm, ptr %4, i32 0, i32 0
%14 = load i32, ptr @VMADDR_CID_ANY, align 4
store i32 %14, ptr %13, align 4
%15 = getelementptr inbounds %struct.sockaddr_vm, ptr %4, i32 0, i32 1
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %15, align 4
%17 = getelementptr inbounds %struct.sockaddr_vm, ptr %4, i32 0, i32 2
%18 = load i32, ptr @AF_VSOCK, align 4
store i32 %18, ptr %17, align 4
%19 = load i32, ptr @AF_VSOCK, align 4
%20 = load i32, ptr @SOCK_STREAM, align 4
%21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %1
%25 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %78
26: ; preds = %1
%27 = load i32, ptr %5, align 4
%28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 12)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %78
33: ; preds = %26
%34 = load i32, ptr %5, align 4
%35 = call i32 @listen(i32 noundef %34, i32 noundef 128)
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %78
40: ; preds = %33
br label %41
41: ; preds = %72, %52, %46, %40
store i32 4, ptr %8, align 4
%42 = load i32, ptr %5, align 4
%43 = call i32 @accept(i32 noundef %42, ptr noundef %7, ptr noundef %8)
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = call i32 @perror(ptr noundef @.str.3)
br label %41
48: ; preds = %41
%49 = call i32 (...) @fork()
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = call i32 @perror(ptr noundef @.str.4)
%54 = load i32, ptr %9, align 4
%55 = call i32 @close(i32 noundef %54)
br label %41
56: ; preds = %48
%57 = load i32, ptr %10, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %72, label %59
59: ; preds = %56
br label %60
60: ; preds = %64, %59
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %9, align 4
%63 = call i32 @xfer(i32 noundef %61, i32 noundef %62)
store i32 %63, ptr %11, align 4
br label %64
64: ; preds = %60
%65 = load i32, ptr %11, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %60, label %67, !llvm.loop !6
67: ; preds = %64
%68 = load i32, ptr %11, align 4
%69 = icmp sge i32 %68, 0
%70 = zext i1 %69 to i64
%71 = select i1 %69, i32 0, i32 -1
store i32 %71, ptr %2, align 4
br label %78
72: ; preds = %56
%73 = load i32, ptr %9, align 4
%74 = call i32 @close(i32 noundef %73)
%75 = load i32, ptr @WNOHANG, align 4
%76 = call i32 @waitpid(i32 noundef -1, ptr noundef %12, i32 noundef %75)
%77 = call i32 @printf(ptr noundef @.str.5)
br label %41
78: ; preds = %67, %38, %31, %24
%79 = load i32, ptr %2, align 4
ret i32 %79
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @xfer(i32 noundef, i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 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/tmp1v4q_332.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_vm = type { i32, i32, i32 }
%struct.sockaddr = type { i32 }
@VMADDR_CID_ANY = dso_local global i32 0, align 4
@AF_VSOCK = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [9 x i8] c"socket()\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"bind()\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"listen()\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"accept()\00", align 1
@.str.4 = private unnamed_addr constant [7 x i8] c"fork()\00", align 1
@WNOHANG = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [22 x i8] c"New client forked...\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @run_echosrv(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca %struct.sockaddr_vm, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%13 = getelementptr inbounds %struct.sockaddr_vm, ptr %4, i32 0, i32 0
%14 = load i32, ptr @VMADDR_CID_ANY, align 4
store i32 %14, ptr %13, align 4
%15 = getelementptr inbounds %struct.sockaddr_vm, ptr %4, i32 0, i32 1
%16 = load i32, ptr %3, align 4
store i32 %16, ptr %15, align 4
%17 = getelementptr inbounds %struct.sockaddr_vm, ptr %4, i32 0, i32 2
%18 = load i32, ptr @AF_VSOCK, align 4
store i32 %18, ptr %17, align 4
%19 = load i32, ptr @AF_VSOCK, align 4
%20 = load i32, ptr @SOCK_STREAM, align 4
%21 = call i32 @socket(i32 noundef %19, i32 noundef %20, i32 noundef 0)
store i32 %21, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = icmp slt i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %1
%25 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %78
26: ; preds = %1
%27 = load i32, ptr %5, align 4
%28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 12)
store i32 %28, ptr %6, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %26
%32 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %2, align 4
br label %78
33: ; preds = %26
%34 = load i32, ptr %5, align 4
%35 = call i32 @listen(i32 noundef %34, i32 noundef 128)
store i32 %35, ptr %6, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp ne i32 %36, 0
br i1 %37, label %38, label %40
38: ; preds = %33
%39 = call i32 @perror(ptr noundef @.str.2)
store i32 -1, ptr %2, align 4
br label %78
40: ; preds = %33
br label %41
41: ; preds = %.backedge, %40
store i32 4, ptr %8, align 4
%42 = load i32, ptr %5, align 4
%43 = call i32 @accept(i32 noundef %42, ptr noundef %7, ptr noundef %8)
store i32 %43, ptr %9, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %48
46: ; preds = %41
%47 = call i32 @perror(ptr noundef @.str.3)
br label %.backedge
.backedge: ; preds = %46, %52, %72
br label %41
48: ; preds = %41
%49 = call i32 (...) @fork()
store i32 %49, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %56
52: ; preds = %48
%53 = call i32 @perror(ptr noundef @.str.4)
%54 = load i32, ptr %9, align 4
%55 = call i32 @close(i32 noundef %54)
br label %.backedge
56: ; preds = %48
%57 = load i32, ptr %10, align 4
%58 = icmp ne i32 %57, 0
br i1 %58, label %72, label %59
59: ; preds = %56
br label %60
60: ; preds = %64, %59
%61 = load i32, ptr %9, align 4
%62 = load i32, ptr %9, align 4
%63 = call i32 @xfer(i32 noundef %61, i32 noundef %62)
store i32 %63, ptr %11, align 4
br label %64
64: ; preds = %60
%65 = load i32, ptr %11, align 4
%66 = icmp sgt i32 %65, 0
br i1 %66, label %60, label %67, !llvm.loop !6
67: ; preds = %64
%68 = load i32, ptr %11, align 4
%69 = icmp sge i32 %68, 0
%70 = zext i1 %69 to i64
%71 = select i1 %69, i32 0, i32 -1
store i32 %71, ptr %2, align 4
br label %78
72: ; preds = %56
%73 = load i32, ptr %9, align 4
%74 = call i32 @close(i32 noundef %73)
%75 = load i32, ptr @WNOHANG, align 4
%76 = call i32 @waitpid(i32 noundef -1, ptr noundef %12, i32 noundef %75)
%77 = call i32 @printf(ptr noundef @.str.5)
br label %.backedge
78: ; preds = %67, %38, %31, %24
%79 = load i32, ptr %2, align 4
ret i32 %79
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @xfer(i32 noundef, i32 noundef) #1
declare i32 @waitpid(i32 noundef, ptr noundef, i32 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/tmpr5jy1d5q.c'
source_filename = "/tmp/tmpr5jy1d5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"www-data\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copyFile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %48
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fclose(ptr noundef %19)
store i32 -1, ptr %3, align 4
br label %48
21: ; preds = %14
br label %22
22: ; preds = %21, %33
%23 = load ptr, ptr %6, align 8
%24 = call i32 @fgetc(ptr noundef %23)
store i32 %24, ptr %8, align 4
%25 = load ptr, ptr %6, align 8
%26 = call i32 @feof(ptr noundef %25)
%27 = icmp ne i32 %26, 0
br i1 %27, label %32, label %28
28: ; preds = %22
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %7, align 8
%31 = call i32 @fputc(i32 noundef %29, ptr noundef %30)
br label %33
32: ; preds = %22
br label %34
33: ; preds = %28
br label %22
34: ; preds = %32
%35 = load ptr, ptr %7, align 8
%36 = call i32 @fclose(ptr noundef %35)
%37 = load ptr, ptr %6, align 8
%38 = call i32 @fclose(ptr noundef %37)
%39 = call ptr @getpwnam(ptr noundef @.str.2)
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %5, align 8
%41 = load ptr, ptr %9, align 8
%42 = getelementptr inbounds %struct.passwd, ptr %41, i32 0, i32 1
%43 = load i32, ptr %42, align 4
%44 = load ptr, ptr %9, align 8
%45 = getelementptr inbounds %struct.passwd, ptr %44, i32 0, i32 0
%46 = load i32, ptr %45, align 4
%47 = call i32 @chown(ptr noundef %40, i32 noundef %43, i32 noundef %46)
store i32 0, ptr %3, align 4
br label %48
48: ; preds = %34, %18, %13
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare ptr @getpwnam(ptr noundef) #1
declare i32 @chown(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr5jy1d5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.passwd = type { i32, i32 }
@.str = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"www-data\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @copyFile(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = call ptr @fopen(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %6, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %14, label %13
13: ; preds = %2
store i32 -1, ptr %3, align 4
br label %52
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %7, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %21, label %18
18: ; preds = %14
%19 = load ptr, ptr %6, align 8
%20 = call i32 @fclose(ptr noundef %19)
store i32 -1, ptr %3, align 4
br label %52
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = call i32 @fgetc(ptr noundef %22)
store i32 %23, ptr %8, align 4
%24 = load ptr, ptr %6, align 8
%25 = call i32 @feof(ptr noundef %24)
%26 = icmp ne i32 %25, 0
br i1 %26, label %31, label %.lr.ph
.lr.ph: ; preds = %21
br label %27
27: ; preds = %.lr.ph, %32
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %7, align 8
%30 = call i32 @fputc(i32 noundef %28, ptr noundef %29)
br label %32
._crit_edge: ; preds = %32
br label %31
31: ; preds = %._crit_edge, %21
br label %38
32: ; preds = %27
%33 = load ptr, ptr %6, align 8
%34 = call i32 @fgetc(ptr noundef %33)
store i32 %34, ptr %8, align 4
%35 = load ptr, ptr %6, align 8
%36 = call i32 @feof(ptr noundef %35)
%37 = icmp ne i32 %36, 0
br i1 %37, label %._crit_edge, label %27
38: ; preds = %31
%39 = load ptr, ptr %7, align 8
%40 = call i32 @fclose(ptr noundef %39)
%41 = load ptr, ptr %6, align 8
%42 = call i32 @fclose(ptr noundef %41)
%43 = call ptr @getpwnam(ptr noundef @.str.2)
store ptr %43, ptr %9, align 8
%44 = load ptr, ptr %5, align 8
%45 = load ptr, ptr %9, align 8
%46 = getelementptr inbounds %struct.passwd, ptr %45, i32 0, i32 1
%47 = load i32, ptr %46, align 4
%48 = load ptr, ptr %9, align 8
%49 = getelementptr inbounds %struct.passwd, ptr %48, i32 0, i32 0
%50 = load i32, ptr %49, align 4
%51 = call i32 @chown(ptr noundef %44, i32 noundef %47, i32 noundef %50)
store i32 0, ptr %3, align 4
br label %52
52: ; preds = %38, %18, %13
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @feof(ptr noundef) #1
declare i32 @fputc(i32 noundef, ptr noundef) #1
declare ptr @getpwnam(ptr noundef) #1
declare i32 @chown(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmitp8ot.c'
source_filename = "/tmp/tmpvmitp8ot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tp_info_sysdefaultstack() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = call i32 @pthread_attr_init(ptr noundef %1)
store i64 0, ptr %2, align 8
%4 = call i32 @pthread_attr_getstacksize(ptr noundef %1, ptr noundef %2)
%5 = call i32 @pthread_attr_destroy(ptr noundef %1)
%6 = load i64, ptr %2, align 8
ret i64 %6
}
declare i32 @pthread_attr_init(ptr noundef) #1
declare i32 @pthread_attr_getstacksize(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/tmpvmitp8ot.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tp_info_sysdefaultstack() #0 {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
%3 = call i32 @pthread_attr_init(ptr noundef %1)
store i64 0, ptr %2, align 8
%4 = call i32 @pthread_attr_getstacksize(ptr noundef %1, ptr noundef %2)
%5 = call i32 @pthread_attr_destroy(ptr noundef %1)
%6 = load i64, ptr %2, align 8
ret i64 %6
}
declare i32 @pthread_attr_init(ptr noundef) #1
declare i32 @pthread_attr_getstacksize(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/tmpzngpfdbz.c'
source_filename = "/tmp/tmpzngpfdbz.c"
target datalayout = "e-m:e-p270: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/tmpzngpfdbz.c"
target datalayout = "e-m:e-p270: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/tmplu9dkmii.c'
source_filename = "/tmp/tmplu9dkmii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @sqrt(double noundef 0x42617CB13D58E000)
store i32 %3, ptr %1, align 4
br label %4
4: ; preds = %18, %0
%5 = load i32, ptr %1, align 4
%6 = icmp sgt i32 %5, 2
br i1 %6, label %7, label %21
7: ; preds = %4
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = srem i64 600851475143, %9
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %7
%13 = load i32, ptr %1, align 4
%14 = call i64 @isPrime(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %12
br label %21
17: ; preds = %12, %7
br label %18
18: ; preds = %17
%19 = load i32, ptr %1, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %1, align 4
br label %4, !llvm.loop !6
21: ; preds = %16, %4
%22 = load i32, ptr %1, align 4
%23 = call i32 @printf(ptr noundef @.str, i32 noundef %22)
ret void
}
declare i32 @sqrt(double noundef) #1
declare i64 @isPrime(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplu9dkmii.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @sqrt(double noundef 0x42617CB13D58E000)
store i32 %3, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp sgt i32 %4, 2
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %17
%7 = load i32, ptr %1, align 4
%8 = sext i32 %7 to i64
%9 = srem i64 600851475143, %8
%10 = icmp eq i64 %9, 0
br i1 %10, label %11, label %16
11: ; preds = %6
%12 = load i32, ptr %1, align 4
%13 = call i64 @isPrime(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %11
br label %22
16: ; preds = %11, %6
br label %17
17: ; preds = %16
%18 = load i32, ptr %1, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %1, align 4
%20 = load i32, ptr %1, align 4
%21 = icmp sgt i32 %20, 2
br i1 %21, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %17
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %22
22: ; preds = %.loopexit, %15
%23 = load i32, ptr %1, align 4
%24 = call i32 @printf(ptr noundef @.str, i32 noundef %23)
ret void
}
declare i32 @sqrt(double noundef) #1
declare i64 @isPrime(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwmd5sd03.c'
source_filename = "/tmp/tmpwmd5sd03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = load ptr, ptr %1, align 8
%3 = call i32 @init(ptr noundef %2)
%4 = call i64 @malloc(i32 noundef 42)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 10, ptr %7, align 1
ret i32 0
}
declare i32 @init(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwmd5sd03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca ptr, align 8
%2 = load ptr, ptr %1, align 8
%3 = call i32 @init(ptr noundef %2)
%4 = call i64 @malloc(i32 noundef 42)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %1, align 8
%6 = load ptr, ptr %1, align 8
%7 = getelementptr inbounds i8, ptr %6, i64 0
store i8 10, ptr %7, align 1
ret i32 0
}
declare i32 @init(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfapsf9qa.c'
source_filename = "/tmp/tmpfapsf9qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getN(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 1
%7 = call i32 @atoi(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
ret i32 %8
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfapsf9qa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getN(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 1
%7 = call i32 @atoi(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
ret i32 %8
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaif3tqw0.c'
source_filename = "/tmp/tmpaif3tqw0.c"
target datalayout = "e-m:e-p270: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/tmpaif3tqw0.c"
target datalayout = "e-m:e-p270: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/tmpt866e6iq.c'
source_filename = "/tmp/tmpt866e6iq.c"
target datalayout = "e-m:e-p270: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/tmpt866e6iq.c"
target datalayout = "e-m:e-p270: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/tmpa9ksw89q.c'
source_filename = "/tmp/tmpa9ksw89q.c"
target datalayout = "e-m:e-p270: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.tm = type { i64, i64, i64, i64, i64, i64, i64, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tm_cmp(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) #0 {
%3 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = icmp ne i64 %4, %6
br i1 %7, label %56, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1
%10 = load i64, ptr %9, align 8
%11 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1
%12 = load i64, ptr %11, align 8
%13 = icmp ne i64 %10, %12
br i1 %13, label %56, label %14
14: ; preds = %8
%15 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 2
%16 = load i64, ptr %15, align 8
%17 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 2
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %16, %18
br i1 %19, label %56, label %20
20: ; preds = %14
%21 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 3
%22 = load i64, ptr %21, align 8
%23 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 3
%24 = load i64, ptr %23, align 8
%25 = icmp ne i64 %22, %24
br i1 %25, label %56, label %26
26: ; preds = %20
%27 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 4
%28 = load i64, ptr %27, align 8
%29 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 4
%30 = load i64, ptr %29, align 8
%31 = icmp ne i64 %28, %30
br i1 %31, label %56, label %32
32: ; preds = %26
%33 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 5
%34 = load i64, ptr %33, align 8
%35 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 5
%36 = load i64, ptr %35, align 8
%37 = icmp ne i64 %34, %36
br i1 %37, label %56, label %38
38: ; preds = %32
%39 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 6
%40 = load i64, ptr %39, align 8
%41 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 6
%42 = load i64, ptr %41, align 8
%43 = icmp ne i64 %40, %42
br i1 %43, label %56, label %44
44: ; preds = %38
%45 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 7
%46 = load i64, ptr %45, align 8
%47 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 7
%48 = load i64, ptr %47, align 8
%49 = icmp ne i64 %46, %48
br i1 %49, label %56, label %50
50: ; preds = %44
%51 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 8
%52 = load i64, ptr %51, align 8
%53 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 8
%54 = load i64, ptr %53, align 8
%55 = icmp ne i64 %52, %54
br label %56
56: ; preds = %50, %44, %38, %32, %26, %20, %14, %8, %2
%57 = phi i1 [ true, %44 ], [ true, %38 ], [ true, %32 ], [ true, %26 ], [ true, %20 ], [ true, %14 ], [ true, %8 ], [ true, %2 ], [ %55, %50 ]
%58 = zext i1 %57 to i32
ret i32 %58
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa9ksw89q.c"
target datalayout = "e-m:e-p270: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.tm = type { i64, i64, i64, i64, i64, i64, i64, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tm_cmp(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) #0 {
%3 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0
%4 = load i64, ptr %3, align 8
%5 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0
%6 = load i64, ptr %5, align 8
%7 = icmp ne i64 %4, %6
br i1 %7, label %56, label %8
8: ; preds = %2
%9 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1
%10 = load i64, ptr %9, align 8
%11 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1
%12 = load i64, ptr %11, align 8
%13 = icmp ne i64 %10, %12
br i1 %13, label %56, label %14
14: ; preds = %8
%15 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 2
%16 = load i64, ptr %15, align 8
%17 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 2
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %16, %18
br i1 %19, label %56, label %20
20: ; preds = %14
%21 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 3
%22 = load i64, ptr %21, align 8
%23 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 3
%24 = load i64, ptr %23, align 8
%25 = icmp ne i64 %22, %24
br i1 %25, label %56, label %26
26: ; preds = %20
%27 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 4
%28 = load i64, ptr %27, align 8
%29 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 4
%30 = load i64, ptr %29, align 8
%31 = icmp ne i64 %28, %30
br i1 %31, label %56, label %32
32: ; preds = %26
%33 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 5
%34 = load i64, ptr %33, align 8
%35 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 5
%36 = load i64, ptr %35, align 8
%37 = icmp ne i64 %34, %36
br i1 %37, label %56, label %38
38: ; preds = %32
%39 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 6
%40 = load i64, ptr %39, align 8
%41 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 6
%42 = load i64, ptr %41, align 8
%43 = icmp ne i64 %40, %42
br i1 %43, label %56, label %44
44: ; preds = %38
%45 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 7
%46 = load i64, ptr %45, align 8
%47 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 7
%48 = load i64, ptr %47, align 8
%49 = icmp ne i64 %46, %48
br i1 %49, label %56, label %50
50: ; preds = %44
%51 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 8
%52 = load i64, ptr %51, align 8
%53 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 8
%54 = load i64, ptr %53, align 8
%55 = icmp ne i64 %52, %54
br label %56
56: ; preds = %50, %44, %38, %32, %26, %20, %14, %8, %2
%57 = phi i1 [ true, %44 ], [ true, %38 ], [ true, %32 ], [ true, %26 ], [ true, %20 ], [ true, %14 ], [ true, %8 ], [ true, %2 ], [ %55, %50 ]
%58 = zext i1 %57 to i32
ret i32 %58
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptyqbw8uz.c'
source_filename = "/tmp/tmptyqbw8uz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Hello, Compiler!\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/tmptyqbw8uz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Hello, Compiler!\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/tmp39gflb5h.c'
source_filename = "/tmp/tmp39gflb5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nibble_sort_burton1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i32], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 64)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %22, %1
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 1024
br i1 %9, label %10, label %25
10: ; preds = %7
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i64, ptr %11, i64 %13
%15 = load i64, ptr %14, align 8
%16 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%17 = call i64 @nibble_sort_word(i64 noundef %15, ptr noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i64, ptr %18, i64 %20
store i64 %17, ptr %21, align 8
br label %22
22: ; preds = %10
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %4, align 4
br label %7, !llvm.loop !6
25: ; preds = %7
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @nibble_sort_word(i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp39gflb5h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nibble_sort_burton1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [16 x i32], align 16
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%6 = call i32 @memset(ptr noundef %5, i32 noundef 0, i32 noundef 64)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 1024
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %21
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %10, i64 %12
%14 = load i64, ptr %13, align 8
%15 = getelementptr inbounds [16 x i32], ptr %3, i64 0, i64 0
%16 = call i64 @nibble_sort_word(i64 noundef %14, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i64, ptr %17, i64 %19
store i64 %16, ptr %20, align 8
br label %21
21: ; preds = %9
%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, 1024
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %1
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @nibble_sort_word(i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmprt65_rxn.c'
source_filename = "/tmp/tmprt65_rxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmo_char_sync_timer(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
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
%9 = call i32 (...) @mmo_char_sync()
%10 = call i32 (...) @inter_save()
ret i32 0
}
declare i32 @mmo_char_sync(...) #1
declare i32 @inter_save(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprt65_rxn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mmo_char_sync_timer(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
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
%9 = call i32 (...) @mmo_char_sync()
%10 = call i32 (...) @inter_save()
ret i32 0
}
declare i32 @mmo_char_sync(...) #1
declare i32 @inter_save(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9a5z5xze.c'
source_filename = "/tmp/tmp9a5z5xze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_msghdr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, 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
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %7, align 4
%21 = add i32 %20, 4
store i32 %21, ptr %12, align 4
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 8
store i32 %23, ptr %13, align 4
%24 = load i32, ptr %7, align 4
%25 = add i32 %24, 12
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %7, align 4
%27 = add i32 %26, 16
store i32 %27, ptr %15, align 4
%28 = load i32, ptr %7, align 4
%29 = add i32 %28, 20
store i32 %29, ptr %16, align 4
%30 = load i32, ptr %7, align 4
%31 = add i32 %30, 24
store i32 %31, ptr %17, align 4
store i32 0, ptr %18, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %4
%35 = call ptr @malloc(i32 noundef 0)
%36 = load ptr, ptr %8, align 8
store ptr %35, ptr %36, align 8
%37 = load i32, ptr %18, align 4
store i32 %37, ptr %5, align 4
br label %194
38: ; preds = %4
%39 = call ptr @malloc(i32 noundef 56)
store ptr %39, ptr %10, align 8
%40 = load i32, ptr %11, align 4
%41 = load ptr, ptr %9, align 8
%42 = call i32 @read_ptr_from_mem(i32 noundef %40, ptr noundef %41)
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %13, align 4
%44 = load ptr, ptr %9, align 8
%45 = call i32 @read_ptr_from_mem(i32 noundef %43, ptr noundef %44)
store i32 %45, ptr %13, align 4
%46 = load i32, ptr %15, align 4
%47 = load ptr, ptr %9, align 8
%48 = call i32 @read_ptr_from_mem(i32 noundef %46, ptr noundef %47)
store i32 %48, ptr %15, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %118
51: ; preds = %38
%52 = load i32, ptr %11, align 4
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = call i64 @dump_ptr(i32 noundef %52, ptr noundef %54)
%56 = load i32, ptr %18, align 4
%57 = sext i32 %56 to i64
%58 = add nsw i64 %57, %55
%59 = trunc i64 %58 to i32
store i32 %59, ptr %18, align 4
%60 = load i32, ptr %12, align 4
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 1
%63 = load ptr, ptr %9, align 8
%64 = call i64 @dump_int_from_mem(i32 noundef %60, ptr noundef %62, ptr noundef %63)
%65 = load i32, ptr %18, align 4
%66 = sext i32 %65 to i64
%67 = add nsw i64 %66, %64
%68 = trunc i64 %67 to i32
store i32 %68, ptr %18, align 4
%69 = load i32, ptr %13, align 4
%70 = load ptr, ptr %10, align 8
%71 = getelementptr inbounds ptr, ptr %70, i64 2
%72 = call i64 @dump_ptr(i32 noundef %69, ptr noundef %71)
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = add nsw i64 %74, %72
%76 = trunc i64 %75 to i32
store i32 %76, ptr %18, align 4
%77 = load i32, ptr %14, align 4
%78 = load ptr, ptr %10, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 3
%80 = load ptr, ptr %9, align 8
%81 = call i64 @dump_unsigned_int_from_mem(i32 noundef %77, ptr noundef %79, ptr noundef %80)
%82 = load i32, ptr %18, align 4
%83 = sext i32 %82 to i64
%84 = add nsw i64 %83, %81
%85 = trunc i64 %84 to i32
store i32 %85, ptr %18, align 4
%86 = load i32, ptr %15, align 4
%87 = load ptr, ptr %10, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 4
%89 = call i64 @dump_ptr(i32 noundef %86, ptr noundef %88)
%90 = load i32, ptr %18, align 4
%91 = sext i32 %90 to i64
%92 = add nsw i64 %91, %89
%93 = trunc i64 %92 to i32
store i32 %93, ptr %18, align 4
%94 = load i32, ptr %16, align 4
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 5
%97 = load ptr, ptr %9, align 8
%98 = call i64 @dump_unsigned_int_from_mem(i32 noundef %94, ptr noundef %96, ptr noundef %97)
%99 = load i32, ptr %18, align 4
%100 = sext i32 %99 to i64
%101 = add nsw i64 %100, %98
%102 = trunc i64 %101 to i32
store i32 %102, ptr %18, align 4
%103 = load i32, ptr %17, align 4
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 6
%106 = load ptr, ptr %9, align 8
%107 = call i64 @dump_unsigned_int_from_mem(i32 noundef %103, ptr noundef %105, ptr noundef %106)
%108 = load i32, ptr %18, align 4
%109 = sext i32 %108 to i64
%110 = add nsw i64 %109, %107
%111 = trunc i64 %110 to i32
store i32 %111, ptr %18, align 4
%112 = load ptr, ptr %10, align 8
%113 = call ptr @copy_params(ptr noundef %112, i32 noundef 7, ptr noundef %18)
%114 = load ptr, ptr %8, align 8
store ptr %113, ptr %114, align 8
%115 = load ptr, ptr %10, align 8
%116 = call i32 @free_dumped_params(ptr noundef %115, i32 noundef 7)
%117 = load i32, ptr %18, align 4
store i32 %117, ptr %5, align 4
br label %194
118: ; preds = %38
%119 = load i32, ptr %6, align 4
%120 = icmp sge i32 %119, 1
br i1 %120, label %121, label %187
121: ; preds = %118
%122 = load i32, ptr %11, align 4
%123 = load ptr, ptr %10, align 8
%124 = getelementptr inbounds ptr, ptr %123, i64 0
%125 = load ptr, ptr %9, align 8
%126 = call i64 @dump_n_bytes_from_mem(i32 noundef %122, ptr noundef %124, ptr noundef %125, i32 noundef 256)
%127 = load i32, ptr %18, align 4
%128 = sext i32 %127 to i64
%129 = add nsw i64 %128, %126
%130 = trunc i64 %129 to i32
store i32 %130, ptr %18, align 4
%131 = load i32, ptr %12, align 4
%132 = load ptr, ptr %10, align 8
%133 = getelementptr inbounds ptr, ptr %132, i64 1
%134 = load ptr, ptr %9, align 8
%135 = call i64 @dump_int_from_mem(i32 noundef %131, ptr noundef %133, ptr noundef %134)
%136 = load i32, ptr %18, align 4
%137 = sext i32 %136 to i64
%138 = add nsw i64 %137, %135
%139 = trunc i64 %138 to i32
store i32 %139, ptr %18, align 4
%140 = load i32, ptr %6, align 4
%141 = sub nsw i32 %140, 1
%142 = load i32, ptr %13, align 4
%143 = load ptr, ptr %10, align 8
%144 = getelementptr inbounds ptr, ptr %143, i64 2
%145 = load ptr, ptr %9, align 8
%146 = call i64 @dump_iovec(i32 noundef %141, i32 noundef %142, ptr noundef %144, ptr noundef %145)
%147 = load i32, ptr %18, align 4
%148 = sext i32 %147 to i64
%149 = add nsw i64 %148, %146
%150 = trunc i64 %149 to i32
store i32 %150, ptr %18, align 4
%151 = load i32, ptr %14, align 4
%152 = load ptr, ptr %10, align 8
%153 = getelementptr inbounds ptr, ptr %152, i64 3
%154 = load ptr, ptr %9, align 8
%155 = call i64 @dump_unsigned_int_from_mem(i32 noundef %151, ptr noundef %153, ptr noundef %154)
%156 = load i32, ptr %18, align 4
%157 = sext i32 %156 to i64
%158 = add nsw i64 %157, %155
%159 = trunc i64 %158 to i32
store i32 %159, ptr %18, align 4
%160 = load i32, ptr %15, align 4
%161 = load ptr, ptr %10, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 4
%163 = load ptr, ptr %9, align 8
%164 = call i64 @dump_n_bytes_from_mem(i32 noundef %160, ptr noundef %162, ptr noundef %163, i32 noundef 256)
%165 = load i32, ptr %18, align 4
%166 = sext i32 %165 to i64
%167 = add nsw i64 %166, %164
%168 = trunc i64 %167 to i32
store i32 %168, ptr %18, align 4
%169 = load i32, ptr %16, align 4
%170 = load ptr, ptr %10, align 8
%171 = getelementptr inbounds ptr, ptr %170, i64 5
%172 = load ptr, ptr %9, align 8
%173 = call i64 @dump_unsigned_int_from_mem(i32 noundef %169, ptr noundef %171, ptr noundef %172)
%174 = load i32, ptr %18, align 4
%175 = sext i32 %174 to i64
%176 = add nsw i64 %175, %173
%177 = trunc i64 %176 to i32
store i32 %177, ptr %18, align 4
%178 = load i32, ptr %17, align 4
%179 = load ptr, ptr %10, align 8
%180 = getelementptr inbounds ptr, ptr %179, i64 6
%181 = load ptr, ptr %9, align 8
%182 = call i64 @dump_unsigned_int_from_mem(i32 noundef %178, ptr noundef %180, ptr noundef %181)
%183 = load i32, ptr %18, align 4
%184 = sext i32 %183 to i64
%185 = add nsw i64 %184, %182
%186 = trunc i64 %185 to i32
store i32 %186, ptr %18, align 4
br label %187
187: ; preds = %121, %118
%188 = load ptr, ptr %10, align 8
%189 = call ptr @copy_params(ptr noundef %188, i32 noundef 7, ptr noundef %18)
%190 = load ptr, ptr %8, align 8
store ptr %189, ptr %190, align 8
%191 = load ptr, ptr %10, align 8
%192 = call i32 @free_dumped_params(ptr noundef %191, i32 noundef 7)
%193 = load i32, ptr %18, align 4
store i32 %193, ptr %5, align 4
br label %194
194: ; preds = %187, %51, %34
%195 = load i32, ptr %5, align 4
ret i32 %195
}
declare ptr @malloc(i32 noundef) #1
declare i32 @read_ptr_from_mem(i32 noundef, ptr noundef) #1
declare i64 @dump_ptr(i32 noundef, ptr noundef) #1
declare i64 @dump_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(ptr noundef, i32 noundef) #1
declare i64 @dump_n_bytes_from_mem(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @dump_iovec(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9a5z5xze.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dump_msghdr(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, 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
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%19 = load i32, ptr %7, align 4
store i32 %19, ptr %11, align 4
%20 = load i32, ptr %7, align 4
%21 = add i32 %20, 4
store i32 %21, ptr %12, align 4
%22 = load i32, ptr %7, align 4
%23 = add i32 %22, 8
store i32 %23, ptr %13, align 4
%24 = load i32, ptr %7, align 4
%25 = add i32 %24, 12
store i32 %25, ptr %14, align 4
%26 = load i32, ptr %7, align 4
%27 = add i32 %26, 16
store i32 %27, ptr %15, align 4
%28 = load i32, ptr %7, align 4
%29 = add i32 %28, 20
store i32 %29, ptr %16, align 4
%30 = load i32, ptr %7, align 4
%31 = add i32 %30, 24
store i32 %31, ptr %17, align 4
store i32 0, ptr %18, align 4
%32 = load i32, ptr %6, align 4
%33 = icmp slt i32 %32, 0
br i1 %33, label %34, label %38
34: ; preds = %4
%35 = call ptr @malloc(i32 noundef 0)
%36 = load ptr, ptr %8, align 8
store ptr %35, ptr %36, align 8
%37 = load i32, ptr %18, align 4
store i32 %37, ptr %5, align 4
br label %194
38: ; preds = %4
%39 = call ptr @malloc(i32 noundef 56)
store ptr %39, ptr %10, align 8
%40 = load i32, ptr %11, align 4
%41 = load ptr, ptr %9, align 8
%42 = call i32 @read_ptr_from_mem(i32 noundef %40, ptr noundef %41)
store i32 %42, ptr %11, align 4
%43 = load i32, ptr %13, align 4
%44 = load ptr, ptr %9, align 8
%45 = call i32 @read_ptr_from_mem(i32 noundef %43, ptr noundef %44)
store i32 %45, ptr %13, align 4
%46 = load i32, ptr %15, align 4
%47 = load ptr, ptr %9, align 8
%48 = call i32 @read_ptr_from_mem(i32 noundef %46, ptr noundef %47)
store i32 %48, ptr %15, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp eq i32 %49, 0
br i1 %50, label %51, label %118
51: ; preds = %38
%52 = load i32, ptr %11, align 4
%53 = load ptr, ptr %10, align 8
%54 = getelementptr inbounds ptr, ptr %53, i64 0
%55 = call i64 @dump_ptr(i32 noundef %52, ptr noundef %54)
%56 = load i32, ptr %18, align 4
%57 = sext i32 %56 to i64
%58 = add nsw i64 %57, %55
%59 = trunc i64 %58 to i32
store i32 %59, ptr %18, align 4
%60 = load i32, ptr %12, align 4
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds ptr, ptr %61, i64 1
%63 = load ptr, ptr %9, align 8
%64 = call i64 @dump_int_from_mem(i32 noundef %60, ptr noundef %62, ptr noundef %63)
%65 = load i32, ptr %18, align 4
%66 = sext i32 %65 to i64
%67 = add nsw i64 %66, %64
%68 = trunc i64 %67 to i32
store i32 %68, ptr %18, align 4
%69 = load i32, ptr %13, align 4
%70 = load ptr, ptr %10, align 8
%71 = getelementptr inbounds ptr, ptr %70, i64 2
%72 = call i64 @dump_ptr(i32 noundef %69, ptr noundef %71)
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = add nsw i64 %74, %72
%76 = trunc i64 %75 to i32
store i32 %76, ptr %18, align 4
%77 = load i32, ptr %14, align 4
%78 = load ptr, ptr %10, align 8
%79 = getelementptr inbounds ptr, ptr %78, i64 3
%80 = load ptr, ptr %9, align 8
%81 = call i64 @dump_unsigned_int_from_mem(i32 noundef %77, ptr noundef %79, ptr noundef %80)
%82 = load i32, ptr %18, align 4
%83 = sext i32 %82 to i64
%84 = add nsw i64 %83, %81
%85 = trunc i64 %84 to i32
store i32 %85, ptr %18, align 4
%86 = load i32, ptr %15, align 4
%87 = load ptr, ptr %10, align 8
%88 = getelementptr inbounds ptr, ptr %87, i64 4
%89 = call i64 @dump_ptr(i32 noundef %86, ptr noundef %88)
%90 = load i32, ptr %18, align 4
%91 = sext i32 %90 to i64
%92 = add nsw i64 %91, %89
%93 = trunc i64 %92 to i32
store i32 %93, ptr %18, align 4
%94 = load i32, ptr %16, align 4
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds ptr, ptr %95, i64 5
%97 = load ptr, ptr %9, align 8
%98 = call i64 @dump_unsigned_int_from_mem(i32 noundef %94, ptr noundef %96, ptr noundef %97)
%99 = load i32, ptr %18, align 4
%100 = sext i32 %99 to i64
%101 = add nsw i64 %100, %98
%102 = trunc i64 %101 to i32
store i32 %102, ptr %18, align 4
%103 = load i32, ptr %17, align 4
%104 = load ptr, ptr %10, align 8
%105 = getelementptr inbounds ptr, ptr %104, i64 6
%106 = load ptr, ptr %9, align 8
%107 = call i64 @dump_unsigned_int_from_mem(i32 noundef %103, ptr noundef %105, ptr noundef %106)
%108 = load i32, ptr %18, align 4
%109 = sext i32 %108 to i64
%110 = add nsw i64 %109, %107
%111 = trunc i64 %110 to i32
store i32 %111, ptr %18, align 4
%112 = load ptr, ptr %10, align 8
%113 = call ptr @copy_params(ptr noundef %112, i32 noundef 7, ptr noundef %18)
%114 = load ptr, ptr %8, align 8
store ptr %113, ptr %114, align 8
%115 = load ptr, ptr %10, align 8
%116 = call i32 @free_dumped_params(ptr noundef %115, i32 noundef 7)
%117 = load i32, ptr %18, align 4
store i32 %117, ptr %5, align 4
br label %194
118: ; preds = %38
%119 = load i32, ptr %6, align 4
%120 = icmp sge i32 %119, 1
br i1 %120, label %121, label %187
121: ; preds = %118
%122 = load i32, ptr %11, align 4
%123 = load ptr, ptr %10, align 8
%124 = getelementptr inbounds ptr, ptr %123, i64 0
%125 = load ptr, ptr %9, align 8
%126 = call i64 @dump_n_bytes_from_mem(i32 noundef %122, ptr noundef %124, ptr noundef %125, i32 noundef 256)
%127 = load i32, ptr %18, align 4
%128 = sext i32 %127 to i64
%129 = add nsw i64 %128, %126
%130 = trunc i64 %129 to i32
store i32 %130, ptr %18, align 4
%131 = load i32, ptr %12, align 4
%132 = load ptr, ptr %10, align 8
%133 = getelementptr inbounds ptr, ptr %132, i64 1
%134 = load ptr, ptr %9, align 8
%135 = call i64 @dump_int_from_mem(i32 noundef %131, ptr noundef %133, ptr noundef %134)
%136 = load i32, ptr %18, align 4
%137 = sext i32 %136 to i64
%138 = add nsw i64 %137, %135
%139 = trunc i64 %138 to i32
store i32 %139, ptr %18, align 4
%140 = load i32, ptr %6, align 4
%141 = sub nsw i32 %140, 1
%142 = load i32, ptr %13, align 4
%143 = load ptr, ptr %10, align 8
%144 = getelementptr inbounds ptr, ptr %143, i64 2
%145 = load ptr, ptr %9, align 8
%146 = call i64 @dump_iovec(i32 noundef %141, i32 noundef %142, ptr noundef %144, ptr noundef %145)
%147 = load i32, ptr %18, align 4
%148 = sext i32 %147 to i64
%149 = add nsw i64 %148, %146
%150 = trunc i64 %149 to i32
store i32 %150, ptr %18, align 4
%151 = load i32, ptr %14, align 4
%152 = load ptr, ptr %10, align 8
%153 = getelementptr inbounds ptr, ptr %152, i64 3
%154 = load ptr, ptr %9, align 8
%155 = call i64 @dump_unsigned_int_from_mem(i32 noundef %151, ptr noundef %153, ptr noundef %154)
%156 = load i32, ptr %18, align 4
%157 = sext i32 %156 to i64
%158 = add nsw i64 %157, %155
%159 = trunc i64 %158 to i32
store i32 %159, ptr %18, align 4
%160 = load i32, ptr %15, align 4
%161 = load ptr, ptr %10, align 8
%162 = getelementptr inbounds ptr, ptr %161, i64 4
%163 = load ptr, ptr %9, align 8
%164 = call i64 @dump_n_bytes_from_mem(i32 noundef %160, ptr noundef %162, ptr noundef %163, i32 noundef 256)
%165 = load i32, ptr %18, align 4
%166 = sext i32 %165 to i64
%167 = add nsw i64 %166, %164
%168 = trunc i64 %167 to i32
store i32 %168, ptr %18, align 4
%169 = load i32, ptr %16, align 4
%170 = load ptr, ptr %10, align 8
%171 = getelementptr inbounds ptr, ptr %170, i64 5
%172 = load ptr, ptr %9, align 8
%173 = call i64 @dump_unsigned_int_from_mem(i32 noundef %169, ptr noundef %171, ptr noundef %172)
%174 = load i32, ptr %18, align 4
%175 = sext i32 %174 to i64
%176 = add nsw i64 %175, %173
%177 = trunc i64 %176 to i32
store i32 %177, ptr %18, align 4
%178 = load i32, ptr %17, align 4
%179 = load ptr, ptr %10, align 8
%180 = getelementptr inbounds ptr, ptr %179, i64 6
%181 = load ptr, ptr %9, align 8
%182 = call i64 @dump_unsigned_int_from_mem(i32 noundef %178, ptr noundef %180, ptr noundef %181)
%183 = load i32, ptr %18, align 4
%184 = sext i32 %183 to i64
%185 = add nsw i64 %184, %182
%186 = trunc i64 %185 to i32
store i32 %186, ptr %18, align 4
br label %187
187: ; preds = %121, %118
%188 = load ptr, ptr %10, align 8
%189 = call ptr @copy_params(ptr noundef %188, i32 noundef 7, ptr noundef %18)
%190 = load ptr, ptr %8, align 8
store ptr %189, ptr %190, align 8
%191 = load ptr, ptr %10, align 8
%192 = call i32 @free_dumped_params(ptr noundef %191, i32 noundef 7)
%193 = load i32, ptr %18, align 4
store i32 %193, ptr %5, align 4
br label %194
194: ; preds = %187, %51, %34
%195 = load i32, ptr %5, align 4
ret i32 %195
}
declare ptr @malloc(i32 noundef) #1
declare i32 @read_ptr_from_mem(i32 noundef, ptr noundef) #1
declare i64 @dump_ptr(i32 noundef, ptr noundef) #1
declare i64 @dump_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare i64 @dump_unsigned_int_from_mem(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @copy_params(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @free_dumped_params(ptr noundef, i32 noundef) #1
declare i64 @dump_n_bytes_from_mem(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @dump_iovec(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe6gpagpq.c'
source_filename = "/tmp/tmpe6gpagpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erfc(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = call i1 @llvm.is.fpclass.f64(double %4, i32 504)
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load double, ptr %3, align 8
%8 = call i64 @isnan(double noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = load double, ptr %3, align 8
store double %11, ptr %2, align 8
br label %31
12: ; preds = %6
%13 = load double, ptr %3, align 8
%14 = fcmp ogt double %13, 0.000000e+00
%15 = zext i1 %14 to i64
%16 = select i1 %14, double 0.000000e+00, double 2.000000e+00
store double %16, ptr %2, align 8
br label %31
17: ; preds = %1
%18 = load double, ptr %3, align 8
%19 = fcmp oge double %18, 0.000000e+00
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load double, ptr %3, align 8
%22 = load double, ptr %3, align 8
%23 = fmul double %21, %22
%24 = call double @q_gamma(double noundef 5.000000e-01, double noundef %23, double noundef 0x3FE250D048E7A1BD)
store double %24, ptr %2, align 8
br label %31
25: ; preds = %17
%26 = load double, ptr %3, align 8
%27 = load double, ptr %3, align 8
%28 = fmul double %26, %27
%29 = call double @p_gamma(double noundef 5.000000e-01, double noundef %28, double noundef 0x3FE250D048E7A1BD)
%30 = fadd double 1.000000e+00, %29
store double %30, ptr %2, align 8
br label %31
31: ; preds = %25, %20, %12, %10
%32 = load double, ptr %2, align 8
ret double %32
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f64(double, i32 immarg) #1
declare i64 @isnan(double noundef) #2
declare double @q_gamma(double noundef, double noundef, double noundef) #2
declare double @p_gamma(double noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe6gpagpq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @erfc(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
store double %0, ptr %3, align 8
%4 = load double, ptr %3, align 8
%5 = call i1 @llvm.is.fpclass.f64(double %4, i32 504)
br i1 %5, label %17, label %6
6: ; preds = %1
%7 = load double, ptr %3, align 8
%8 = call i64 @isnan(double noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %6
%11 = load double, ptr %3, align 8
store double %11, ptr %2, align 8
br label %31
12: ; preds = %6
%13 = load double, ptr %3, align 8
%14 = fcmp ogt double %13, 0.000000e+00
%15 = zext i1 %14 to i64
%16 = select i1 %14, double 0.000000e+00, double 2.000000e+00
store double %16, ptr %2, align 8
br label %31
17: ; preds = %1
%18 = load double, ptr %3, align 8
%19 = fcmp oge double %18, 0.000000e+00
br i1 %19, label %20, label %25
20: ; preds = %17
%21 = load double, ptr %3, align 8
%22 = load double, ptr %3, align 8
%23 = fmul double %21, %22
%24 = call double @q_gamma(double noundef 5.000000e-01, double noundef %23, double noundef 0x3FE250D048E7A1BD)
store double %24, ptr %2, align 8
br label %31
25: ; preds = %17
%26 = load double, ptr %3, align 8
%27 = load double, ptr %3, align 8
%28 = fmul double %26, %27
%29 = call double @p_gamma(double noundef 5.000000e-01, double noundef %28, double noundef 0x3FE250D048E7A1BD)
%30 = fadd double 1.000000e+00, %29
store double %30, ptr %2, align 8
br label %31
31: ; preds = %25, %20, %12, %10
%32 = load double, ptr %2, align 8
ret double %32
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f64(double, i32 immarg) #1
declare i64 @isnan(double noundef) #2
declare double @q_gamma(double noundef, double noundef, double noundef) #2
declare double @p_gamma(double noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj5qxb_lu.c'
source_filename = "/tmp/tmpj5qxb_lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @gensrand(i32 noundef %3)
ret void
}
declare i32 @gensrand(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/tmpj5qxb_lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srand(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @gensrand(i32 noundef %3)
ret void
}
declare i32 @gensrand(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/tmpzrp7fb3j.c'
source_filename = "/tmp/tmpzrp7fb3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @generate_list(i32 noundef 10)
%7 = call i32 (...) @show_list()
%8 = call i32 (...) @reversal_list()
%9 = call i32 (...) @show_list()
ret i32 0
}
declare i32 @generate_list(i32 noundef) #1
declare i32 @show_list(...) #1
declare i32 @reversal_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzrp7fb3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @generate_list(i32 noundef 10)
%7 = call i32 (...) @show_list()
%8 = call i32 (...) @reversal_list()
%9 = call i32 (...) @show_list()
ret i32 0
}
declare i32 @generate_list(i32 noundef) #1
declare i32 @show_list(...) #1
declare i32 @reversal_list(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaye44661.c'
source_filename = "/tmp/tmpaye44661.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaye44661.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CHAR_BIT = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6ba5l_2q.c'
source_filename = "/tmp/tmp6ba5l_2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_tcp(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i32 @inet_addr(ptr noundef %17)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @htons(i32 noundef %21)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %5, align 4
%25 = call i32 @connect(i32 noundef %24, ptr noundef %6, i32 noundef 12)
%26 = load i32, ptr %5, align 4
%27 = call i32 @close(i32 noundef %26)
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ba5l_2q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 }
%struct.TYPE_2__ = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_tcp(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr @AF_INET, align 4
%8 = load i32, ptr @SOCK_STREAM, align 4
%9 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef 0)
store i32 %9, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sgt i32 %10, 0
%12 = zext i1 %11 to i32
%13 = call i32 @assert(i32 noundef %12)
%14 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 12)
%15 = load i32, ptr @AF_INET, align 4
%16 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2
store i32 %15, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i32 @inet_addr(ptr noundef %17)
%19 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1
%20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i32 0, i32 0
store i32 %18, ptr %20, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @htons(i32 noundef %21)
%23 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %5, align 4
%25 = call i32 @connect(i32 noundef %24, ptr noundef %6, i32 noundef 12)
%26 = load i32, ptr %5, align 4
%27 = call i32 @close(i32 noundef %26)
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @inet_addr(ptr noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpretwe0_h.c'
source_filename = "/tmp/tmpretwe0_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Can't normalize vector. Sum smaller than %g\0A\00", align 1
@.str.1 = private unnamed_addr constant [204 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/lukefrasera/fatigueBSN/refs/heads/master/scripts/include/ghmm-0.9-rc3/ghmm/vector.c:ighmm_cvector_normalize(69): \00", align 1
@.str.2 = private unnamed_addr constant [204 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/lukefrasera/fatigueBSN/refs/heads/master/scripts/include/ghmm-0.9-rc3/ghmm/vector.c:ighmm_cvector_normalize(70): \00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c"Attempted m_free on NULL pointer. Bad program, BAD! No cookie for you.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ighmm_cvector_normalize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds double, ptr %14, i64 %16
%18 = load double, ptr %17, align 8
%19 = load double, ptr %7, align 8
%20 = fadd double %19, %18
store double %20, ptr %7, align 8
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
%25 = load i32, ptr %6, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %42
27: ; preds = %24
%28 = load double, ptr %7, align 8
%29 = fcmp olt double %28, 1.000000e-08
br i1 %29, label %30, label %42
30: ; preds = %27
%31 = call ptr @ighmm_mprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef 0)
store ptr %31, ptr %8, align 8
%32 = load ptr, ptr %8, align 8
%33 = call i32 @GHMM_LOG_PRINTF(i32 noundef 2, ptr noundef @.str.1, ptr noundef %32)
%34 = load ptr, ptr %8, align 8
%35 = icmp ne ptr %34, null
br i1 %35, label %36, label %39
36: ; preds = %30
%37 = load ptr, ptr %8, align 8
%38 = call i32 @free(ptr noundef %37)
store ptr null, ptr %8, align 8
br label %41
39: ; preds = %30
%40 = call i32 @GHMM_LOG_PRINTF(i32 noundef 0, ptr noundef @.str.2, ptr noundef @.str.3)
br label %41
41: ; preds = %39, %36
store i32 -1, ptr %3, align 4
br label %59
42: ; preds = %27, %24
store i32 0, ptr %6, align 4
br label %43
43: ; preds = %55, %42
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %58
47: ; preds = %43
%48 = load double, ptr %7, align 8
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds double, ptr %49, i64 %51
%53 = load double, ptr %52, align 8
%54 = fdiv double %53, %48
store double %54, ptr %52, align 8
br label %55
55: ; preds = %47
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %43, !llvm.loop !8
58: ; preds = %43
store i32 0, ptr %3, align 4
br label %59
59: ; preds = %58, %41
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare ptr @ighmm_mprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @GHMM_LOG_PRINTF(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpretwe0_h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [45 x i8] c"Can't normalize vector. Sum smaller than %g\0A\00", align 1
@.str.1 = private unnamed_addr constant [204 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/lukefrasera/fatigueBSN/refs/heads/master/scripts/include/ghmm-0.9-rc3/ghmm/vector.c:ighmm_cvector_normalize(69): \00", align 1
@.str.2 = private unnamed_addr constant [204 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/lukefrasera/fatigueBSN/refs/heads/master/scripts/include/ghmm-0.9-rc3/ghmm/vector.c:ighmm_cvector_normalize(70): \00", align 1
@.str.3 = private unnamed_addr constant [71 x i8] c"Attempted m_free on NULL pointer. Bad program, BAD! No cookie for you.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @ighmm_cvector_normalize(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store double 0.000000e+00, ptr %7, align 8
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds double, ptr %13, i64 %15
%17 = load double, ptr %16, align 8
%18 = load double, ptr %7, align 8
%19 = fadd double %18, %17
store double %19, ptr %7, align 8
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
%27 = load i32, ptr %6, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %44
29: ; preds = %26
%30 = load double, ptr %7, align 8
%31 = fcmp olt double %30, 1.000000e-08
br i1 %31, label %32, label %44
32: ; preds = %29
%33 = call ptr @ighmm_mprintf(ptr noundef null, i32 noundef 0, ptr noundef @.str, i32 noundef 0)
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = call i32 @GHMM_LOG_PRINTF(i32 noundef 2, ptr noundef @.str.1, ptr noundef %34)
%36 = load ptr, ptr %8, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %38, label %41
38: ; preds = %32
%39 = load ptr, ptr %8, align 8
%40 = call i32 @free(ptr noundef %39)
store ptr null, ptr %8, align 8
br label %43
41: ; preds = %32
%42 = call i32 @GHMM_LOG_PRINTF(i32 noundef 0, ptr noundef @.str.2, ptr noundef @.str.3)
br label %43
43: ; preds = %41, %38
store i32 -1, ptr %3, align 4
br label %63
44: ; preds = %29, %26
store i32 0, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %5, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %.lr.ph2, label %62
.lr.ph2: ; preds = %44
br label %48
48: ; preds = %.lr.ph2, %56
%49 = load double, ptr %7, align 8
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %50, i64 %52
%54 = load double, ptr %53, align 8
%55 = fdiv double %54, %49
store double %55, ptr %53, align 8
br label %56
56: ; preds = %48
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %48, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %44
store i32 0, ptr %3, align 4
br label %63
63: ; preds = %62, %43
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare ptr @ighmm_mprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @GHMM_LOG_PRINTF(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpsaa474s0.c'
source_filename = "/tmp/tmpsaa474s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fe_mu(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %12, 1
%14 = shl i32 1, %13
store i32 %14, ptr %9, align 4
store i32 1, ptr %11, align 4
br label %15
15: ; preds = %109, %4
%16 = load i32, ptr %11, align 4
%17 = load i32, ptr %9, align 4
%18 = sub nsw i32 %17, 1
%19 = icmp slt i32 %16, %18
br i1 %19, label %20, label %112
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %11, align 4
%23 = mul nsw i32 2, %22
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %21, i64 %25
store double 0.000000e+00, ptr %26, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %11, align 4
%29 = mul nsw i32 2, %28
%30 = sub nsw i32 %29, 2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds double, ptr %27, i64 %31
store double 0.000000e+00, ptr %32, align 8
store i32 0, ptr %10, align 4
br label %33
33: ; preds = %105, %20
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %7, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %38, label %108
38: ; preds = %33
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr %10, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
%43 = load double, ptr %42, align 8
%44 = load i32, ptr %9, align 4
%45 = sitofp i32 %44 to double
%46 = load i32, ptr %11, align 4
%47 = sitofp i32 %46 to double
%48 = fneg double %47
%49 = call double @llvm.fmuladd.f64(double %43, double %45, double %48)
%50 = fadd double %49, 1.000000e+00
%51 = call double @hat(double noundef %50)
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %52, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %10, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = fsub double %57, %62
%64 = load ptr, ptr %5, align 8
%65 = load i32, ptr %11, align 4
%66 = mul nsw i32 2, %65
%67 = sub nsw i32 %66, 2
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, ptr %64, i64 %68
%70 = load double, ptr %69, align 8
%71 = call double @llvm.fmuladd.f64(double %51, double %63, double %70)
store double %71, ptr %69, align 8
%72 = load ptr, ptr %6, align 8
%73 = load i32, ptr %10, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
%76 = load double, ptr %75, align 8
%77 = load i32, ptr %9, align 4
%78 = sitofp i32 %77 to double
%79 = load i32, ptr %11, align 4
%80 = sitofp i32 %79 to double
%81 = fneg double %80
%82 = call double @llvm.fmuladd.f64(double %76, double %78, double %81)
%83 = fadd double %82, 5.000000e-01
%84 = call double @hat(double noundef %83)
%85 = load ptr, ptr %6, align 8
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 1
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %85, i64 %88
%90 = load double, ptr %89, align 8
%91 = load ptr, ptr %6, align 8
%92 = load i32, ptr %10, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds double, ptr %91, i64 %93
%95 = load double, ptr %94, align 8
%96 = fsub double %90, %95
%97 = load ptr, ptr %5, align 8
%98 = load i32, ptr %11, align 4
%99 = mul nsw i32 2, %98
%100 = sub nsw i32 %99, 1
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %97, i64 %101
%103 = load double, ptr %102, align 8
%104 = call double @llvm.fmuladd.f64(double %84, double %96, double %103)
store double %104, ptr %102, align 8
br label %105
105: ; preds = %38
%106 = load i32, ptr %10, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %10, align 4
br label %33, !llvm.loop !6
108: ; preds = %33
br label %109
109: ; preds = %108
%110 = load i32, ptr %11, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %11, align 4
br label %15, !llvm.loop !8
112: ; preds = %15
%113 = load ptr, ptr %5, align 8
%114 = load i32, ptr %9, align 4
%115 = mul nsw i32 2, %114
%116 = sub nsw i32 %115, 2
%117 = sext i32 %116 to i64
%118 = getelementptr inbounds double, ptr %113, i64 %117
store double 0.000000e+00, ptr %118, align 8
store i32 0, ptr %10, align 4
br label %119
119: ; preds = %158, %112
%120 = load i32, ptr %10, align 4
%121 = load i32, ptr %7, align 4
%122 = sub nsw i32 %121, 1
%123 = icmp slt i32 %120, %122
br i1 %123, label %124, label %161
124: ; preds = %119
%125 = load ptr, ptr %6, align 8
%126 = load i32, ptr %10, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, ptr %125, i64 %127
%129 = load double, ptr %128, align 8
%130 = load i32, ptr %9, align 4
%131 = sitofp i32 %130 to double
%132 = load i32, ptr %9, align 4
%133 = sitofp i32 %132 to double
%134 = fneg double %133
%135 = call double @llvm.fmuladd.f64(double %129, double %131, double %134)
%136 = fadd double %135, 1.000000e+00
%137 = call double @hat(double noundef %136)
%138 = load ptr, ptr %6, align 8
%139 = load i32, ptr %10, align 4
%140 = add nsw i32 %139, 1
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds double, ptr %138, i64 %141
%143 = load double, ptr %142, align 8
%144 = load ptr, ptr %6, align 8
%145 = load i32, ptr %10, align 4
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, ptr %144, i64 %146
%148 = load double, ptr %147, align 8
%149 = fsub double %143, %148
%150 = load ptr, ptr %5, align 8
%151 = load i32, ptr %9, align 4
%152 = mul nsw i32 2, %151
%153 = sub nsw i32 %152, 2
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds double, ptr %150, i64 %154
%156 = load double, ptr %155, align 8
%157 = call double @llvm.fmuladd.f64(double %137, double %149, double %156)
store double %157, ptr %155, align 8
br label %158
158: ; preds = %124
%159 = load i32, ptr %10, align 4
%160 = add nsw i32 %159, 1
store i32 %160, ptr %10, align 4
br label %119, !llvm.loop !9
161: ; preds = %119
ret void
}
declare double @hat(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsaa474s0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fe_mu(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = sub nsw i32 %12, 1
%14 = shl i32 1, %13
store i32 %14, ptr %9, align 4
store i32 1, ptr %11, align 4
%15 = load i32, ptr %11, align 4
%16 = load i32, ptr %9, align 4
%17 = sub nsw i32 %16, 1
%18 = icmp slt i32 %15, %17
br i1 %18, label %.lr.ph2, label %118
.lr.ph2: ; preds = %4
br label %19
19: ; preds = %.lr.ph2, %111
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %11, align 4
%22 = mul nsw i32 2, %21
%23 = sub nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %20, i64 %24
store double 0.000000e+00, ptr %25, align 8
%26 = load ptr, ptr %5, align 8
%27 = load i32, ptr %11, align 4
%28 = mul nsw i32 2, %27
%29 = sub nsw i32 %28, 2
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds double, ptr %26, i64 %30
store double 0.000000e+00, ptr %31, align 8
store i32 0, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %7, align 4
%34 = sub nsw i32 %33, 1
%35 = icmp slt i32 %32, %34
br i1 %35, label %.lr.ph, label %110
.lr.ph: ; preds = %19
br label %36
36: ; preds = %.lr.ph, %103
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %10, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %37, i64 %39
%41 = load double, ptr %40, align 8
%42 = load i32, ptr %9, align 4
%43 = sitofp i32 %42 to double
%44 = load i32, ptr %11, align 4
%45 = sitofp i32 %44 to double
%46 = fneg double %45
%47 = call double @llvm.fmuladd.f64(double %41, double %43, double %46)
%48 = fadd double %47, 1.000000e+00
%49 = call double @hat(double noundef %48)
%50 = load ptr, ptr %6, align 8
%51 = load i32, ptr %10, align 4
%52 = add nsw i32 %51, 1
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %50, i64 %53
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %10, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds double, ptr %56, i64 %58
%60 = load double, ptr %59, align 8
%61 = fsub double %55, %60
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %11, align 4
%64 = mul nsw i32 2, %63
%65 = sub nsw i32 %64, 2
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %62, i64 %66
%68 = load double, ptr %67, align 8
%69 = call double @llvm.fmuladd.f64(double %49, double %61, double %68)
store double %69, ptr %67, align 8
%70 = load ptr, ptr %6, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds double, ptr %70, i64 %72
%74 = load double, ptr %73, align 8
%75 = load i32, ptr %9, align 4
%76 = sitofp i32 %75 to double
%77 = load i32, ptr %11, align 4
%78 = sitofp i32 %77 to double
%79 = fneg double %78
%80 = call double @llvm.fmuladd.f64(double %74, double %76, double %79)
%81 = fadd double %80, 5.000000e-01
%82 = call double @hat(double noundef %81)
%83 = load ptr, ptr %6, align 8
%84 = load i32, ptr %10, align 4
%85 = add nsw i32 %84, 1
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds double, ptr %83, i64 %86
%88 = load double, ptr %87, align 8
%89 = load ptr, ptr %6, align 8
%90 = load i32, ptr %10, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
%93 = load double, ptr %92, align 8
%94 = fsub double %88, %93
%95 = load ptr, ptr %5, align 8
%96 = load i32, ptr %11, align 4
%97 = mul nsw i32 2, %96
%98 = sub nsw i32 %97, 1
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds double, ptr %95, i64 %99
%101 = load double, ptr %100, align 8
%102 = call double @llvm.fmuladd.f64(double %82, double %94, double %101)
store double %102, ptr %100, align 8
br label %103
103: ; preds = %36
%104 = load i32, ptr %10, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %10, align 4
%106 = load i32, ptr %10, align 4
%107 = load i32, ptr %7, align 4
%108 = sub nsw i32 %107, 1
%109 = icmp slt i32 %106, %108
br i1 %109, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %103
br label %110
110: ; preds = %._crit_edge, %19
br label %111
111: ; preds = %110
%112 = load i32, ptr %11, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %11, align 4
%114 = load i32, ptr %11, align 4
%115 = load i32, ptr %9, align 4
%116 = sub nsw i32 %115, 1
%117 = icmp slt i32 %114, %116
br i1 %117, label %19, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %111
br label %118
118: ; preds = %._crit_edge3, %4
%119 = load ptr, ptr %5, align 8
%120 = load i32, ptr %9, align 4
%121 = mul nsw i32 2, %120
%122 = sub nsw i32 %121, 2
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %119, i64 %123
store double 0.000000e+00, ptr %124, align 8
store i32 0, ptr %10, align 4
%125 = load i32, ptr %10, align 4
%126 = load i32, ptr %7, align 4
%127 = sub nsw i32 %126, 1
%128 = icmp slt i32 %125, %127
br i1 %128, label %.lr.ph5, label %170
.lr.ph5: ; preds = %118
br label %129
129: ; preds = %.lr.ph5, %163
%130 = load ptr, ptr %6, align 8
%131 = load i32, ptr %10, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds double, ptr %130, i64 %132
%134 = load double, ptr %133, align 8
%135 = load i32, ptr %9, align 4
%136 = sitofp i32 %135 to double
%137 = load i32, ptr %9, align 4
%138 = sitofp i32 %137 to double
%139 = fneg double %138
%140 = call double @llvm.fmuladd.f64(double %134, double %136, double %139)
%141 = fadd double %140, 1.000000e+00
%142 = call double @hat(double noundef %141)
%143 = load ptr, ptr %6, align 8
%144 = load i32, ptr %10, align 4
%145 = add nsw i32 %144, 1
%146 = sext i32 %145 to i64
%147 = getelementptr inbounds double, ptr %143, i64 %146
%148 = load double, ptr %147, align 8
%149 = load ptr, ptr %6, align 8
%150 = load i32, ptr %10, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds double, ptr %149, i64 %151
%153 = load double, ptr %152, align 8
%154 = fsub double %148, %153
%155 = load ptr, ptr %5, align 8
%156 = load i32, ptr %9, align 4
%157 = mul nsw i32 2, %156
%158 = sub nsw i32 %157, 2
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, ptr %155, i64 %159
%161 = load double, ptr %160, align 8
%162 = call double @llvm.fmuladd.f64(double %142, double %154, double %161)
store double %162, ptr %160, align 8
br label %163
163: ; preds = %129
%164 = load i32, ptr %10, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %10, align 4
%166 = load i32, ptr %10, align 4
%167 = load i32, ptr %7, align 4
%168 = sub nsw i32 %167, 1
%169 = icmp slt i32 %166, %168
br i1 %169, label %129, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %163
br label %170
170: ; preds = %._crit_edge6, %118
ret void
}
declare double @hat(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpjq8nn3jl.c'
source_filename = "/tmp/tmpjq8nn3jl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @revseq(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %5, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %6, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
store i32 0, ptr %3, align 4
br label %15
15: ; preds = %31, %1
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %34
19: ; preds = %15
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %20, 1
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %21, %22
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %12, i64 %24
%26 = load i8, ptr %25, align 1
%27 = load ptr, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i8, ptr %27, i64 %29
store i8 %26, ptr %30, align 1
br label %31
31: ; preds = %19
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %15, !llvm.loop !6
34: ; preds = %15
%35 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %35)
ret void
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjq8nn3jl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @revseq(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %5, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %6, align 8
%13 = load ptr, ptr %2, align 8
%14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13)
store i32 0, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %1
br label %18
18: ; preds = %.lr.ph, %30
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %12, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %2, align 8
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
store i8 %25, ptr %29, align 1
br label %30
30: ; preds = %18
%31 = load i32, ptr %3, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %3, align 4
%33 = load i32, ptr %3, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %1
%37 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %37)
ret void
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @strcpy(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj5d2q88y.c'
source_filename = "/tmp/tmpj5d2q88y.c"
target datalayout = "e-m:e-p270: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/tmpj5d2q88y.c"
target datalayout = "e-m:e-p270: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/tmp177hsuoa.c'
source_filename = "/tmp/tmp177hsuoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_path_to_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strrchr(ptr noundef %6, i8 noundef signext 47)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %9, %11
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = call ptr @malloc(i64 noundef %15)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %2, align 8
%19 = load i64, ptr %4, align 8
%20 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i64 noundef %19)
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp177hsuoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_path_to_file(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strrchr(ptr noundef %6, i8 noundef signext 47)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = sub nsw i32 %9, %11
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
store i64 %14, ptr %4, align 8
%15 = load i64, ptr %4, align 8
%16 = call ptr @malloc(i64 noundef %15)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = load ptr, ptr %2, align 8
%19 = load i64, ptr %4, align 8
%20 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i64 noundef %19)
%21 = load ptr, ptr %5, align 8
ret ptr %21
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpln4bfsrb.c'
source_filename = "/tmp/tmpln4bfsrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [9 x i8] c"sum: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call float @stdlib_strided_ssumkbn(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store float %8, ptr %4, align 4
%9 = load float, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @stdlib_strided_ssumkbn(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpln4bfsrb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.x = private unnamed_addr constant [8 x float] [float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00, float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00], align 16
@.str = private unnamed_addr constant [9 x i8] c"sum: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca [8 x float], align 16
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca float, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.main.x, i64 32, i1 false)
store i32 4, ptr %2, align 4
store i32 2, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [8 x float], ptr %1, i64 0, i64 0
%7 = load i32, ptr %3, align 4
%8 = call float @stdlib_strided_ssumkbn(i32 noundef %5, ptr noundef %6, i32 noundef %7)
store float %8, ptr %4, align 4
%9 = load float, ptr %4, align 4
%10 = call i32 @printf(ptr noundef @.str, float noundef %9)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare float @stdlib_strided_ssumkbn(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, float noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6b1p8drr.c'
source_filename = "/tmp/tmp6b1p8drr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AES_encrypt(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca [16 x i8], align 16
%10 = alloca [4 x [4 x i8]], align 16
%11 = alloca [240 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
store i32 10, ptr %7, align 4
store i32 4, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 16, i1 false)
%12 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 16)
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = getelementptr inbounds [240 x i8], ptr %11, i64 0, i64 0
%18 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @AES_KeyExpansion(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18)
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds [4 x [4 x i8]], ptr %10, i64 0, i64 0
%24 = getelementptr inbounds [240 x i8], ptr %11, i64 0, i64 0
%25 = call i32 @Cipher(i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @AES_KeyExpansion(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @Cipher(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6b1p8drr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AES_encrypt(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 i32, align 4
%8 = alloca i32, align 4
%9 = alloca [16 x i8], align 16
%10 = alloca [4 x [4 x i8]], align 16
%11 = alloca [240 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
store i32 10, ptr %7, align 4
store i32 4, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 16, i1 false)
%12 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%13 = load ptr, ptr %6, align 8
%14 = call i32 @strncpy(ptr noundef %12, ptr noundef %13, i32 noundef 16)
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = getelementptr inbounds [240 x i8], ptr %11, i64 0, i64 0
%18 = getelementptr inbounds [16 x i8], ptr %9, i64 0, i64 0
%19 = call i32 @AES_KeyExpansion(i32 noundef %15, i32 noundef %16, ptr noundef %17, ptr noundef %18)
%20 = load i32, ptr %7, align 4
%21 = load ptr, ptr %4, align 8
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds [4 x [4 x i8]], ptr %10, i64 0, i64 0
%24 = getelementptr inbounds [240 x i8], ptr %11, i64 0, i64 0
%25 = call i32 @Cipher(i32 noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @AES_KeyExpansion(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @Cipher(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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"}
|
; ModuleID = '/tmp/tmpvz4z3poy.c'
source_filename = "/tmp/tmpvz4z3poy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename_ext(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %14
13: ; preds = %9, %1
store ptr @.str, ptr %2, align 8
br label %17
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %14, %13
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvz4z3poy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename_ext(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %13
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %10, %11
br i1 %12, label %13, label %14
13: ; preds = %9, %1
store ptr @.str, ptr %2, align 8
br label %17
14: ; preds = %9
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 1
store ptr %16, ptr %2, align 8
br label %17
17: ; preds = %14, %13
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzggj3gw2.c'
source_filename = "/tmp/tmpzggj3gw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"I'm %d years old.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"And %d inches wide.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Which is %f inches/year.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 17, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = load i32, ptr %3, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = sitofp i32 %7 to double
%9 = load i32, ptr %2, align 4
%10 = sitofp i32 %9 to double
%11 = fdiv double %8, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double 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/tmpzggj3gw2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"I'm %d years old.\0A\00", align 1
@.str.1 = private unnamed_addr constant [21 x i8] c"And %d inches wide.\0A\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"Which is %f inches/year.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 17, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = load i32, ptr %3, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %5)
%7 = load i32, ptr %3, align 4
%8 = sitofp i32 %7 to double
%9 = load i32, ptr %2, align 4
%10 = sitofp i32 %9 to double
%11 = fdiv double %8, %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double 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/tmpvdwfz8io.c'
source_filename = "/tmp/tmpvdwfz8io.c"
target datalayout = "e-m:e-p270: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/tmpvdwfz8io.c"
target datalayout = "e-m:e-p270: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/tmpqyas047g.c'
source_filename = "/tmp/tmpqyas047g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"files/059---.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"059 decrypter: Unable to write to output\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @decrypter(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %6, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 9
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strncat(ptr noundef %12, ptr noundef %13, i32 noundef 3)
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str.2)
br label %31
21: ; preds = %2
br label %22
22: ; preds = %25, %21
%23 = load ptr, ptr %4, align 8
%24 = call i32 @fscanf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %7, ptr noundef %8, ptr noundef %9)
store i32 %24, ptr %10, align 4
br label %25
25: ; preds = %22
%26 = load i32, ptr %10, align 4
%27 = icmp eq i32 %26, 3
br i1 %27, label %22, label %28, !llvm.loop !6
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
br label %31
31: ; preds = %28, %19
ret void
}
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqyas047g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"files/059---.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"059 decrypter: Unable to write to output\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"%d,%d,%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @decrypter(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store ptr @.str, ptr %6, align 8
store i32 0, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 9
%13 = load ptr, ptr %3, align 8
%14 = call i32 @strncat(ptr noundef %12, ptr noundef %13, i32 noundef 3)
%15 = load ptr, ptr %6, align 8
%16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str.1)
store ptr %16, ptr %5, align 8
%17 = load ptr, ptr %5, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str.2)
br label %31
21: ; preds = %2
br label %22
22: ; preds = %25, %21
%23 = load ptr, ptr %4, align 8
%24 = call i32 @fscanf(ptr noundef %23, ptr noundef @.str.3, ptr noundef %7, ptr noundef %8, ptr noundef %9)
store i32 %24, ptr %10, align 4
br label %25
25: ; preds = %22
%26 = load i32, ptr %10, align 4
%27 = icmp eq i32 %26, 3
br i1 %27, label %22, label %28, !llvm.loop !6
28: ; preds = %25
%29 = load ptr, ptr %5, align 8
%30 = call i32 @fclose(ptr noundef %29)
br label %31
31: ; preds = %28, %19
ret void
}
declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpo32_584p.c'
source_filename = "/tmp/tmpo32_584p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"\0A\09################################################\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"\09|**********************************************|\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\09|************** *************|\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\09|************** WELCOME *************|\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"\09|************** IN *************|\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"\09|************** OTHELLO *************|\0A\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c"\09################################################\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_title() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @printf(ptr noundef @.str.4)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 @printf(ptr noundef @.str.5)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 @printf(ptr noundef @.str.2)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = call i32 @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo32_584p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"\0A\09################################################\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"\09|**********************************************|\0A\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\09|************** *************|\0A\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\09|************** WELCOME *************|\0A\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"\09|************** IN *************|\0A\00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"\09|************** OTHELLO *************|\0A\00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c"\09################################################\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_title() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.2)
%6 = call i32 @printf(ptr noundef @.str.3)
%7 = call i32 @printf(ptr noundef @.str.2)
%8 = call i32 @printf(ptr noundef @.str.4)
%9 = call i32 @printf(ptr noundef @.str.2)
%10 = call i32 @printf(ptr noundef @.str.5)
%11 = call i32 @printf(ptr noundef @.str.2)
%12 = call i32 @printf(ptr noundef @.str.2)
%13 = call i32 @printf(ptr noundef @.str.1)
%14 = call i32 @printf(ptr noundef @.str.1)
%15 = call i32 @printf(ptr noundef @.str.6)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0psbfo_9.c'
source_filename = "/tmp/tmp0psbfo_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Thi1s is mytool1 print %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myprint1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0psbfo_9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Thi1s is mytool1 print %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @myprint1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp05to78rm.c'
source_filename = "/tmp/tmp05to78rm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ISSUING_DIST_POINT_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ISSUING_DIST_POINT_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @ISSUING_DIST_POINT_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/tmp05to78rm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ISSUING_DIST_POINT_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ISSUING_DIST_POINT_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @ISSUING_DIST_POINT_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/tmpo5agg057.c'
source_filename = "/tmp/tmpo5agg057.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [104 x i8] c"WeeChat %s Copyright %s, compiled on %s %s\0ADeveloped by S\C3\A9bastien Helleu <flashcode@flashtux.org> - %s\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"(C) 2003-2017\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"https://weechat.org/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @weechat_display_copyright() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 (i32, ptr, ...) @string_fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 (...) @version_get_version_with_git()
%5 = call i32 (...) @version_get_compilation_date()
%6 = call i32 (...) @version_get_compilation_time()
%7 = call i32 (i32, ptr, ...) @string_fprintf(i32 noundef %3, ptr noundef @.str.1, i32 noundef %4, ptr noundef @.str.2, i32 noundef %5, i32 noundef %6, ptr noundef @.str.3)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 (i32, ptr, ...) @string_fprintf(i32 noundef %8, ptr noundef @.str)
ret void
}
declare i32 @string_fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @version_get_version_with_git(...) #1
declare i32 @version_get_compilation_date(...) #1
declare i32 @version_get_compilation_time(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo5agg057.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [104 x i8] c"WeeChat %s Copyright %s, compiled on %s %s\0ADeveloped by S\C3\A9bastien Helleu <flashcode@flashtux.org> - %s\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"(C) 2003-2017\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c"https://weechat.org/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @weechat_display_copyright() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 (i32, ptr, ...) @string_fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 (...) @version_get_version_with_git()
%5 = call i32 (...) @version_get_compilation_date()
%6 = call i32 (...) @version_get_compilation_time()
%7 = call i32 (i32, ptr, ...) @string_fprintf(i32 noundef %3, ptr noundef @.str.1, i32 noundef %4, ptr noundef @.str.2, i32 noundef %5, i32 noundef %6, ptr noundef @.str.3)
%8 = load i32, ptr @stdout, align 4
%9 = call i32 (i32, ptr, ...) @string_fprintf(i32 noundef %8, ptr noundef @.str)
ret void
}
declare i32 @string_fprintf(i32 noundef, ptr noundef, ...) #1
declare i32 @version_get_version_with_git(...) #1
declare i32 @version_get_compilation_date(...) #1
declare i32 @version_get_compilation_time(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_vga186q.c'
source_filename = "/tmp/tmp_vga186q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_prime_l(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp sle i64 %5, 1
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 2, ptr %4, align 4
br label %9
9: ; preds = %23, %8
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = mul nsw i32 %10, %11
%13 = sext i32 %12 to i64
%14 = load i64, ptr %3, align 8
%15 = icmp sle i64 %13, %14
br i1 %15, label %16, label %26
16: ; preds = %9
%17 = load i32, ptr %4, align 4
%18 = load i64, ptr %3, align 8
%19 = call i64 @is_factor_l(i32 noundef %17, i64 noundef %18)
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %22
21: ; preds = %16
store i32 0, ptr %2, align 4
br label %27
22: ; preds = %16
br label %23
23: ; preds = %22
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %9, !llvm.loop !6
26: ; preds = %9
store i32 1, ptr %2, align 4
br label %27
27: ; preds = %26, %21, %7
%28 = load i32, ptr %2, align 4
ret i32 %28
}
declare i64 @is_factor_l(i32 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/tmp_vga186q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_prime_l(i64 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = icmp sle i64 %5, 1
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 0, ptr %2, align 4
br label %32
8: ; preds = %1
store i32 2, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = mul nsw i32 %9, %10
%12 = sext i32 %11 to i64
%13 = load i64, ptr %3, align 8
%14 = icmp sle i64 %12, %13
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %8
br label %15
15: ; preds = %.lr.ph, %22
%16 = load i32, ptr %4, align 4
%17 = load i64, ptr %3, align 8
%18 = call i64 @is_factor_l(i32 noundef %16, i64 noundef %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %15
store i32 0, ptr %2, align 4
br label %32
21: ; preds = %15
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
%25 = load i32, ptr %4, align 4
%26 = load i32, ptr %4, align 4
%27 = mul nsw i32 %25, %26
%28 = sext i32 %27 to i64
%29 = load i64, ptr %3, align 8
%30 = icmp sle i64 %28, %29
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %31
31: ; preds = %._crit_edge, %8
store i32 1, ptr %2, align 4
br label %32
32: ; preds = %31, %20, %7
%33 = load i32, ptr %2, align 4
ret i32 %33
}
declare i64 @is_factor_l(i32 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/tmplnze03lg.c'
source_filename = "/tmp/tmplnze03lg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f18(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, 262143
%5 = icmp uge i64 %4, 131074
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @abort() #2
unreachable
8: ; preds = %1
ret void
}
; 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/tmplnze03lg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f18(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = and i64 %3, 262143
%5 = icmp uge i64 %4, 131074
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 (...) @abort() #2
unreachable
8: ; preds = %1
ret void
}
; 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/tmp3sxvnk9g.c'
source_filename = "/tmp/tmp3sxvnk9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %23
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %10, %11
%13 = sdiv i32 %12, 2
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
call void @sort(i32 noundef %14, i32 noundef %15)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %4, align 4
call void @sort(i32 noundef %17, i32 noundef %18)
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @merging(i32 noundef %19, i32 noundef %20, i32 noundef %21)
br label %24
23: ; preds = %2
br label %24
24: ; preds = %23, %9
ret void
}
declare i32 @merging(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/tmp3sxvnk9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %9, label %23
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = add nsw i32 %10, %11
%13 = sdiv i32 %12, 2
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = load i32, ptr %5, align 4
call void @sort(i32 noundef %14, i32 noundef %15)
%16 = load i32, ptr %5, align 4
%17 = add nsw i32 %16, 1
%18 = load i32, ptr %4, align 4
call void @sort(i32 noundef %17, i32 noundef %18)
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = call i32 @merging(i32 noundef %19, i32 noundef %20, i32 noundef %21)
br label %24
23: ; preds = %2
br label %24
24: ; preds = %23, %9
ret void
}
declare i32 @merging(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/tmp8mdg1x3m.c'
source_filename = "/tmp/tmp8mdg1x3m.c"
target datalayout = "e-m:e-p270: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/tmp8mdg1x3m.c"
target datalayout = "e-m:e-p270: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/tmpg8j0l258.c'
source_filename = "/tmp/tmpg8j0l258.c"
target datalayout = "e-m:e-p270: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.nibble_to_ascii.nibble = private unnamed_addr constant [16 x i8] c"0123456789ABCDEF", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @nibble_to_ascii(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca [16 x i8], align 16
store i8 %0, ptr %2, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.nibble_to_ascii.nibble, i64 16, i1 false)
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i64
%6 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %5
%7 = load i8, ptr %6, align 1
ret i8 %7
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8j0l258.c"
target datalayout = "e-m:e-p270: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.nibble_to_ascii.nibble = private unnamed_addr constant [16 x i8] c"0123456789ABCDEF", align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @nibble_to_ascii(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca [16 x i8], align 16
store i8 %0, ptr %2, align 1
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.nibble_to_ascii.nibble, i64 16, i1 false)
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i64
%6 = getelementptr inbounds [16 x i8], ptr %3, i64 0, i64 %5
%7 = load i8, ptr %6, align 1
ret i8 %7
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkoje6hqa.c'
source_filename = "/tmp/tmpkoje6hqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_single_call() #0 {
%1 = call i32 (...) @do_nothing()
ret void
}
declare i32 @do_nothing(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkoje6hqa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_single_call() #0 {
%1 = call i32 (...) @do_nothing()
ret void
}
declare i32 @do_nothing(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmdquokbe.c'
source_filename = "/tmp/tmpmdquokbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_lock(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [32 x i32], align 16
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %6, align 4
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %10
store i32 0, ptr %11, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %14
store i32 0, ptr %15, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %18
store i32 196621, ptr %19, align 4
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %22
store i32 4, ptr %23, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %26
store i32 4, ptr %27, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %31
store i32 %28, ptr %32, align 4
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %35
store i32 0, ptr %36, align 4
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 4
%40 = trunc i64 %39 to i32
%41 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0
store i32 %40, ptr %41, align 16
%42 = load i32, ptr %4, align 4
%43 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0
%44 = call i64 @mbox_property(i32 noundef %42, ptr noundef %43)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %2
store i32 -1, ptr %3, align 4
br label %50
47: ; preds = %2
%48 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 5
%49 = load i32, ptr %48, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %47, %46
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i64 @mbox_property(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmdquokbe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mem_lock(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [32 x i32], align 16
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = load i32, ptr %6, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %6, align 4
%10 = sext i32 %8 to i64
%11 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %10
store i32 0, ptr %11, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %6, align 4
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %14
store i32 0, ptr %15, align 4
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
%18 = sext i32 %16 to i64
%19 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %18
store i32 196621, ptr %19, align 4
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
%22 = sext i32 %20 to i64
%23 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %22
store i32 4, ptr %23, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %6, align 4
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %26
store i32 4, ptr %27, align 4
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %6, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %6, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %31
store i32 %28, ptr %32, align 4
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
%35 = sext i32 %33 to i64
%36 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 %35
store i32 0, ptr %36, align 4
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 4
%40 = trunc i64 %39 to i32
%41 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0
store i32 %40, ptr %41, align 16
%42 = load i32, ptr %4, align 4
%43 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 0
%44 = call i64 @mbox_property(i32 noundef %42, ptr noundef %43)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %2
store i32 -1, ptr %3, align 4
br label %50
47: ; preds = %2
%48 = getelementptr inbounds [32 x i32], ptr %7, i64 0, i64 5
%49 = load i32, ptr %48, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %47, %46
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i64 @mbox_property(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpit7tia2h.c'
source_filename = "/tmp/tmpit7tia2h.c"
target datalayout = "e-m:e-p270: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/tmpit7tia2h.c"
target datalayout = "e-m:e-p270: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/tmp33f3ya9r.c'
source_filename = "/tmp/tmp33f3ya9r.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [50 x i8] c"touchwho_filelist_%04d_%02d_%02d_%02d%02d%02d.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_file_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [100 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = call i32 @time(ptr noundef null)
store i32 %6, ptr %3, align 4
%7 = call ptr @localtime(ptr noundef %3)
store ptr %7, ptr %4, align 8
%8 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1900
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 2
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 3
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 4
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 5
%28 = load i32, ptr %27, align 4
%29 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %12, i32 noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28)
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @strcpy(ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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/tmp33f3ya9r.c"
target datalayout = "e-m:e-p270: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.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [50 x i8] c"touchwho_filelist_%04d_%02d_%02d_%02d%02d%02d.txt\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @create_file_name(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [100 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = call i32 @time(ptr noundef null)
store i32 %6, ptr %3, align 4
%7 = call ptr @localtime(ptr noundef %3)
store ptr %7, ptr %4, align 8
%8 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = add nsw i32 %11, 1900
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.tm, ptr %13, i32 0, i32 1
%15 = load i32, ptr %14, align 4
%16 = add nsw i32 %15, 1
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds %struct.tm, ptr %17, i32 0, i32 2
%19 = load i32, ptr %18, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 3
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 4
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 5
%28 = load i32, ptr %27, align 4
%29 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %12, i32 noundef %16, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28)
%30 = load ptr, ptr %2, align 8
%31 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%32 = call i32 @strcpy(ptr noundef %30, ptr noundef %31)
ret void
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 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/tmpi2ksjyju.c'
source_filename = "/tmp/tmpi2ksjyju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@XPRT_IDLE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @byz_stat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @XPRT_IDLE, align 4
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi2ksjyju.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@XPRT_IDLE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @byz_stat(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @XPRT_IDLE, align 4
ret i32 %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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9bqdpczz.c'
source_filename = "/tmp/tmp9bqdpczz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 66, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 %6, %7
%9 = sdiv i32 %8, 2
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @printn(i32 noundef %10)
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %4, align 4
br label %13
13: ; preds = %20, %0
%14 = load i32, ptr %4, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %23
17: ; preds = %13
%18 = load i32, ptr %4, align 4
%19 = call i32 @printn(i32 noundef %18)
br label %20
20: ; preds = %17
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %13, !llvm.loop !6
23: ; preds = %13
%24 = call i32 @putchar(i8 noundef signext 61)
%25 = call i32 @putchar(i8 noundef signext 10)
%26 = load i32, ptr %5, align 4
store i32 %26, ptr %4, align 4
br label %27
27: ; preds = %37, %23
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %1, align 4
%30 = load i32, ptr %2, align 4
%31 = sub nsw i32 %29, %30
%32 = sdiv i32 %31, 2
%33 = icmp slt i32 %28, %32
br i1 %33, label %34, label %40
34: ; preds = %27
%35 = load i32, ptr %4, align 4
%36 = call i32 @printn(i32 noundef %35)
br label %37
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %27, !llvm.loop !8
40: ; preds = %27
ret void
}
declare i32 @printn(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9bqdpczz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 66, ptr %1, align 4
store i32 0, ptr %2, align 4
%6 = load i32, ptr %1, align 4
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 %6, %7
%9 = sdiv i32 %8, 2
store i32 %9, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = call i32 @printn(i32 noundef %10)
%12 = load i32, ptr %5, align 4
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %3, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %19
%17 = load i32, ptr %4, align 4
%18 = call i32 @printn(i32 noundef %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %0
%26 = call i32 @putchar(i8 noundef signext 61)
%27 = call i32 @putchar(i8 noundef signext 10)
%28 = load i32, ptr %5, align 4
store i32 %28, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %1, align 4
%31 = load i32, ptr %2, align 4
%32 = sub nsw i32 %30, %31
%33 = sdiv i32 %32, 2
%34 = icmp slt i32 %29, %33
br i1 %34, label %.lr.ph2, label %47
.lr.ph2: ; preds = %25
br label %35
35: ; preds = %.lr.ph2, %38
%36 = load i32, ptr %4, align 4
%37 = call i32 @printn(i32 noundef %36)
br label %38
38: ; preds = %35
%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 = load i32, ptr %1, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %42, %43
%45 = sdiv i32 %44, 2
%46 = icmp slt i32 %41, %45
br i1 %46, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %47
47: ; preds = %._crit_edge3, %25
ret void
}
declare i32 @printn(i32 noundef) #1
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2npxquil.c'
source_filename = "/tmp/tmp2npxquil.c"
target datalayout = "e-m:e-p270: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.group = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s <group>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"'%s' not found\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Before: \00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"setgid\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"After: \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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @getgrnam(ptr noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %31
24: ; preds = %17
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr @EXIT_FAILURE, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
31: ; preds = %17
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%33 = call i32 (...) @display()
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds %struct.group, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = call i64 @setgid(i32 noundef %36)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 @perror(ptr noundef @.str.3)
br label %45
41: ; preds = %31
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%43 = call i32 (...) @display()
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
45: ; preds = %39
%46 = load i32, ptr @EXIT_FAILURE, align 4
%47 = call i32 @exit(i32 noundef %46) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getgrnam(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @display(...) #1
declare i64 @setgid(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp2npxquil.c"
target datalayout = "e-m:e-p270: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.group = type { i32 }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"Usage: %s <group>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [16 x i8] c"'%s' not found\0A\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Before: \00", align 1
@.str.3 = private unnamed_addr constant [7 x i8] c"setgid\00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"After: \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 ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
%21 = call ptr @getgrnam(ptr noundef %20)
store ptr %21, ptr %6, align 8
%22 = load ptr, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %31
24: ; preds = %17
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
%29 = load i32, ptr @EXIT_FAILURE, align 4
%30 = call i32 @exit(i32 noundef %29) #3
unreachable
31: ; preds = %17
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%33 = call i32 (...) @display()
%34 = load ptr, ptr %6, align 8
%35 = getelementptr inbounds %struct.group, ptr %34, i32 0, i32 0
%36 = load i32, ptr %35, align 4
%37 = call i64 @setgid(i32 noundef %36)
%38 = icmp slt i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %31
%40 = call i32 @perror(ptr noundef @.str.3)
br label %45
41: ; preds = %31
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%43 = call i32 (...) @display()
%44 = call i32 @exit(i32 noundef 0) #3
unreachable
45: ; preds = %39
%46 = load i32, ptr @EXIT_FAILURE, align 4
%47 = call i32 @exit(i32 noundef %46) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @getgrnam(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @display(...) #1
declare i64 @setgid(i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpan11ni9o.c'
source_filename = "/tmp/tmpan11ni9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ece391_strrev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ece391_strlen(ptr noundef %7)
%9 = sub i64 %8, 1
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ule i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %2, align 8
br label %41
14: ; preds = %1
br label %15
15: ; preds = %19, %14
%16 = load i64, ptr %5, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %39
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = load i64, ptr %6, align 8
%22 = getelementptr inbounds i32, ptr %20, i64 %21
%23 = load i32, ptr %22, align 4
store i32 %23, ptr %4, align 4
%24 = load ptr, ptr %3, align 8
%25 = load i64, ptr %5, align 8
%26 = getelementptr inbounds i32, ptr %24, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load ptr, ptr %3, align 8
%29 = load i64, ptr %6, align 8
%30 = getelementptr inbounds i32, ptr %28, i64 %29
store i32 %27, ptr %30, align 4
%31 = load i32, ptr %4, align 4
%32 = load ptr, ptr %3, align 8
%33 = load i64, ptr %5, align 8
%34 = getelementptr inbounds i32, ptr %32, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i64, ptr %5, align 8
%36 = add i64 %35, 1
store i64 %36, ptr %5, align 8
%37 = load i64, ptr %6, align 8
%38 = add i64 %37, -1
store i64 %38, ptr %6, align 8
br label %15, !llvm.loop !6
39: ; preds = %15
%40 = load ptr, ptr %3, align 8
store ptr %40, ptr %2, align 8
br label %41
41: ; preds = %39, %12
%42 = load ptr, ptr %2, align 8
ret ptr %42
}
declare i64 @ece391_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpan11ni9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ece391_strrev(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 0, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @ece391_strlen(ptr noundef %7)
%9 = sub i64 %8, 1
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp ule i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %3, align 8
store ptr %13, ptr %2, align 8
br label %43
14: ; preds = %1
%15 = load i64, ptr %5, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph, label %41
.lr.ph: ; preds = %14
br label %18
18: ; preds = %.lr.ph, %18
%19 = load ptr, ptr %3, align 8
%20 = load i64, ptr %6, align 8
%21 = getelementptr inbounds i32, ptr %19, i64 %20
%22 = load i32, ptr %21, align 4
store i32 %22, ptr %4, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i64, ptr %5, align 8
%25 = getelementptr inbounds i32, ptr %23, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load ptr, ptr %3, align 8
%28 = load i64, ptr %6, align 8
%29 = getelementptr inbounds i32, ptr %27, i64 %28
store i32 %26, ptr %29, align 4
%30 = load i32, ptr %4, align 4
%31 = load ptr, ptr %3, align 8
%32 = load i64, ptr %5, align 8
%33 = getelementptr inbounds i32, ptr %31, i64 %32
store i32 %30, ptr %33, align 4
%34 = load i64, ptr %5, align 8
%35 = add i64 %34, 1
store i64 %35, ptr %5, align 8
%36 = load i64, ptr %6, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %6, align 8
%38 = load i64, ptr %5, align 8
%39 = load i64, ptr %6, align 8
%40 = icmp ult i64 %38, %39
br i1 %40, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %41
41: ; preds = %._crit_edge, %14
%42 = load ptr, ptr %3, align 8
store ptr %42, ptr %2, align 8
br label %43
43: ; preds = %41, %12
%44 = load ptr, ptr %2, align 8
ret ptr %44
}
declare i64 @ece391_strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2s5votmk.c'
source_filename = "/tmp/tmp2s5votmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@W_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_pidfile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 -1, ptr %3, align 4
store ptr null, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strdup(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
br label %26
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call ptr @strrchr(ptr noundef %12, i8 noundef signext 47)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %11
br label %26
17: ; preds = %11
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
store i8 0, ptr %19, align 1
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr @W_OK, align 4
%22 = call i64 @access(ptr noundef %20, i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %17
br label %26
25: ; preds = %17
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %16, %10
%27 = load ptr, ptr %4, align 8
%28 = call i32 @free(ptr noundef %27)
store ptr null, ptr %5, align 8
store ptr null, ptr %4, align 8
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2s5votmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@W_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_pidfile(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 -1, ptr %3, align 4
store ptr null, ptr %4, align 8
store ptr null, ptr %5, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @strdup(ptr noundef %6)
store ptr %7, ptr %4, align 8
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %11, label %10
10: ; preds = %1
br label %26
11: ; preds = %1
%12 = load ptr, ptr %4, align 8
%13 = call ptr @strrchr(ptr noundef %12, i8 noundef signext 47)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %17, label %16
16: ; preds = %11
br label %26
17: ; preds = %11
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 0
store i8 0, ptr %19, align 1
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr @W_OK, align 4
%22 = call i64 @access(ptr noundef %20, i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %17
br label %26
25: ; preds = %17
store i32 0, ptr %3, align 4
br label %26
26: ; preds = %25, %24, %16, %10
%27 = load ptr, ptr %4, align 8
%28 = call i32 @free(ptr noundef %27)
store ptr null, ptr %5, align 8
store ptr null, ptr %4, align 8
%29 = load i32, ptr %3, align 4
ret i32 %29
}
declare ptr @strdup(ptr noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare i64 @access(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgx24gh7z.c'
source_filename = "/tmp/tmpgx24gh7z.c"
target datalayout = "e-m:e-p270: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/tmpgx24gh7z.c"
target datalayout = "e-m:e-p270: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/tmphv2hx4gz.c'
source_filename = "/tmp/tmphv2hx4gz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AMCEvent_Add(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 @event_add(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @event_add(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/tmphv2hx4gz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @AMCEvent_Add(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 @event_add(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @event_add(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/tmpv9zamy_n.c'
source_filename = "/tmp/tmpv9zamy_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 116
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (...) @abort() #2
unreachable
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
%10 = sitofp i32 %9 to double
ret double %10
}
; 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/tmpv9zamy_n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @foo(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 116
br i1 %4, label %5, label %7
5: ; preds = %1
%6 = call i32 (...) @abort() #2
unreachable
7: ; preds = %1
%8 = load i32, ptr %2, align 4
%9 = add nsw i32 %8, 1
%10 = sitofp i32 %9 to double
ret double %10
}
; 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/tmpgvf7bgs1.c'
source_filename = "/tmp/tmpgvf7bgs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = 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 i8 %3, ptr %8, align 1
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %9, align 4
br label %11
11: ; preds = %21, %4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = add nsw i32 %13, 1
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %7, align 4
%19 = load i8, ptr %8, align 1
%20 = call i32 @pixel(i32 noundef %17, i32 noundef %18, i8 noundef signext %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %9, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %9, align 4
br label %11, !llvm.loop !6
24: ; preds = %11
ret void
}
declare i32 @pixel(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgvf7bgs1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hline(i32 noundef %0, i32 noundef %1, i32 noundef %2, i8 noundef signext %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i8, align 1
%9 = 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 i8 %3, ptr %8, align 1
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %9, align 4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %6, align 4
%13 = add nsw i32 %12, 1
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %20
%16 = load i32, ptr %9, align 4
%17 = load i32, ptr %7, align 4
%18 = load i8, ptr %8, align 1
%19 = call i32 @pixel(i32 noundef %16, i32 noundef %17, i8 noundef signext %18)
br label %20
20: ; preds = %15
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %9, align 4
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %6, align 4
%25 = add nsw i32 %24, 1
%26 = icmp slt i32 %23, %25
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %4
ret void
}
declare i32 @pixel(i32 noundef, i32 noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp97gozny_.c'
source_filename = "/tmp/tmp97gozny_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"ERROR: There is insufficient memory to run program\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Please Enter a Word:\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"You entered:\0A%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Your word has been changed by ptr to:\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 50)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 2, ptr %1, align 4
br label %27
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @fgets(ptr noundef %12, i32 noundef 50, i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store i8 95, ptr %20, align 1
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 3
store i8 36, ptr %22, align 1
%23 = load ptr, ptr %2, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = call i32 @free(ptr noundef %25)
store i32 0, ptr %1, align 4
br label %27
27: ; preds = %10, %8
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp97gozny_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [52 x i8] c"ERROR: There is insufficient memory to run program\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"Please Enter a Word:\0A\00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [17 x i8] c"You entered:\0A%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c"Your word has been changed by ptr to:\0A%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 50)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 2, ptr %1, align 4
br label %27
10: ; preds = %0
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr @stdin, align 4
%14 = call i32 @fgets(ptr noundef %12, i32 noundef 50, i32 noundef %13)
%15 = load ptr, ptr %2, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = getelementptr inbounds i8, ptr %17, i64 1
store ptr %18, ptr %3, align 8
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 1
store i8 95, ptr %20, align 1
%21 = load ptr, ptr %3, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 3
store i8 36, ptr %22, align 1
%23 = load ptr, ptr %2, align 8
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = call i32 @free(ptr noundef %25)
store i32 0, ptr %1, align 4
br label %27
27: ; preds = %10, %8
%28 = load i32, ptr %1, align 4
ret i32 %28
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyaf6lyqj.c'
source_filename = "/tmp/tmpyaf6lyqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"mem is char dev\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"buf: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"/dev/memdev\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"Open memdev0 error\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [13 x i8] c"buff is NULL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [4096 x i8], align 16
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%4 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 -1, ptr %1, align 4
br label %29
13: ; preds = %0
%14 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fwrite(ptr noundef %14, i32 noundef 4096, i32 noundef 1, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr @SEEK_SET, align 4
%19 = call i32 @fseek(ptr noundef %17, i32 noundef 0, i32 noundef %18)
%20 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.5)
%22 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%25 = load ptr, ptr %2, align 8
%26 = call i32 @fread(ptr noundef %24, i32 noundef 4096, i32 noundef 1, ptr noundef %25)
%27 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
store i32 0, ptr %1, align 4
br label %29
29: ; preds = %13, %11
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyaf6lyqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"mem is char dev\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"buf: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"/dev/memdev\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"r+\00", align 1
@.str.4 = private unnamed_addr constant [20 x i8] c"Open memdev0 error\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [13 x i8] c"buff is NULL\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca [4096 x i8], align 16
store i32 0, ptr %1, align 4
store ptr null, ptr %2, align 8
%4 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str)
%6 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %6)
%8 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %8, ptr %2, align 8
%9 = load ptr, ptr %2, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %13
11: ; preds = %0
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 -1, ptr %1, align 4
br label %29
13: ; preds = %0
%14 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%15 = load ptr, ptr %2, align 8
%16 = call i32 @fwrite(ptr noundef %14, i32 noundef 4096, i32 noundef 1, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr @SEEK_SET, align 4
%19 = call i32 @fseek(ptr noundef %17, i32 noundef 0, i32 noundef %18)
%20 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%21 = call i32 @strcpy(ptr noundef %20, ptr noundef @.str.5)
%22 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %22)
%24 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%25 = load ptr, ptr %2, align 8
%26 = call i32 @fread(ptr noundef %24, i32 noundef 4096, i32 noundef 1, ptr noundef %25)
%27 = getelementptr inbounds [4096 x i8], ptr %3, i64 0, i64 0
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %27)
store i32 0, ptr %1, align 4
br label %29
29: ; preds = %13, %11
%30 = load i32, ptr %1, align 4
ret i32 %30
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_kzc3hnr.c'
source_filename = "/tmp/tmp_kzc3hnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-l\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
ret i32 0
}
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kzc3hnr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ls\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-l\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @execlp(ptr noundef @.str, ptr noundef @.str, ptr noundef @.str.1, ptr noundef null)
ret i32 0
}
declare i32 @execlp(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb7hisv4r.c'
source_filename = "/tmp/tmpb7hisv4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_matrix(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = call i64 @calloc(i32 noundef %8, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
%11 = load ptr, ptr %6, align 8
store ptr %10, ptr %11, align 8
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %25, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %28
16: ; preds = %12
%17 = load i32, ptr %5, align 4
%18 = call i64 @calloc(i32 noundef %17, i32 noundef 4)
%19 = inttoptr i64 %18 to ptr
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %7, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
store ptr %19, ptr %24, align 8
br label %25
25: ; preds = %16
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
br label %12, !llvm.loop !6
28: ; preds = %12
ret void
}
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/tmpb7hisv4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alloc_matrix(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load i32, ptr %4, align 4
%9 = call i64 @calloc(i32 noundef %8, i32 noundef 8)
%10 = inttoptr i64 %9 to ptr
%11 = load ptr, ptr %6, align 8
store ptr %10, ptr %11, align 8
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %30
.lr.ph: ; preds = %3
br label %15
15: ; preds = %.lr.ph, %24
%16 = load i32, ptr %5, align 4
%17 = call i64 @calloc(i32 noundef %16, i32 noundef 4)
%18 = inttoptr i64 %17 to ptr
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %19, align 8
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
store ptr %18, ptr %23, align 8
br label %24
24: ; preds = %15
%25 = load i32, ptr %7, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %3
ret void
}
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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.