llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmp6sqzoivp.c'
source_filename = "/tmp/tmp6sqzoivp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Rand_GetBetween(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 %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %3, align 4
br label %19
11: ; preds = %2
%12 = call i32 (...) @Rand_Get()
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %13, %14
%16 = srem i32 %12, %15
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %11, %9
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @Rand_Get(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6sqzoivp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Rand_GetBetween(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 %4, align 4
store i32 %1, ptr %5, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %5, align 4
%8 = icmp eq i32 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %2
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %3, align 4
br label %19
11: ; preds = %2
%12 = call i32 (...) @Rand_Get()
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %4, align 4
%15 = sub nsw i32 %13, %14
%16 = srem i32 %12, %15
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %11, %9
%20 = load i32, ptr %3, align 4
ret i32 %20
}
declare i32 @Rand_Get(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9jqar3cn.c'
source_filename = "/tmp/tmp9jqar3cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @flippingbits() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %4
4: ; preds = %8, %0
%5 = load i32, ptr %1, align 4
%6 = add nsw i32 %5, -1
store i32 %6, ptr %1, align 4
%7 = icmp ne i32 %5, 0
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = load i32, ptr %2, align 4
%11 = xor i32 %10, -1
%12 = call i32 @printf(ptr noundef @.str.2, i32 noundef %11)
br label %4, !llvm.loop !6
13: ; preds = %4
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9jqar3cn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @flippingbits() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = add nsw i32 %4, -1
store i32 %5, ptr %1, align 4
%6 = icmp ne i32 %4, 0
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = xor i32 %9, -1
%11 = call i32 @printf(ptr noundef @.str.2, i32 noundef %10)
%12 = load i32, ptr %1, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %1, align 4
%14 = icmp ne i32 %12, 0
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %15
15: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfzpj26rw.c'
source_filename = "/tmp/tmpfzpj26rw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %11, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 10000
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = call i32 @f(i32 noundef %7)
%9 = load i32, ptr %2, align 4
%10 = call i32 @y(i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
br label %3, !llvm.loop !6
14: ; preds = %3
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @f(i32 noundef) #1
declare i32 @y(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/tmpfzpj26rw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 10000
br i1 %4, label %.lr.ph, label %15
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %10
%6 = load i32, ptr %2, align 4
%7 = call i32 @f(i32 noundef %6)
%8 = load i32, ptr %2, align 4
%9 = call i32 @y(i32 noundef %8)
br label %10
10: ; preds = %5
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %13, 10000
br i1 %14, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %15
15: ; preds = %._crit_edge, %0
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @f(i32 noundef) #1
declare i32 @y(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/tmpuafkpwqb.c'
source_filename = "/tmp/tmpuafkpwqb.c"
target datalayout = "e-m:e-p270: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/tmpuafkpwqb.c"
target datalayout = "e-m:e-p270: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/tmpinj66ysh.c'
source_filename = "/tmp/tmpinj66ysh.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"%d-%d-%d %d:%d:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getdata(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i32 @time(ptr noundef %3)
%8 = call ptr @localtime(ptr noundef %3)
store ptr %8, ptr %4, align 8
%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
store i32 %12, ptr %5, align 4
%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 = sub nsw i32 %15, 1
store i32 %16, ptr %6, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 2
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 4
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.tm, ptr %29, i32 0, i32 5
%31 = load i32, ptr %30, align 4
%32 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28, i32 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpinj66ysh.c"
target datalayout = "e-m:e-p270: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 [18 x i8] c"%d-%d-%d %d:%d:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getdata(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%7 = call i32 @time(ptr noundef %3)
%8 = call ptr @localtime(ptr noundef %3)
store ptr %8, ptr %4, align 8
%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
store i32 %12, ptr %5, align 4
%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 = sub nsw i32 %15, 1
store i32 %16, ptr %6, align 4
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %5, align 4
%19 = load i32, ptr %6, align 4
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 2
%22 = load i32, ptr %21, align 4
%23 = load ptr, ptr %4, align 8
%24 = getelementptr inbounds %struct.tm, ptr %23, i32 0, i32 3
%25 = load i32, ptr %24, align 4
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.tm, ptr %26, i32 0, i32 4
%28 = load i32, ptr %27, align 4
%29 = load ptr, ptr %4, align 8
%30 = getelementptr inbounds %struct.tm, ptr %29, i32 0, i32 5
%31 = load i32, ptr %30, align 4
%32 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str, i32 noundef %18, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28, i32 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps3ojq_67.c'
source_filename = "/tmp/tmps3ojq_67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"name \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Ripple\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"version \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"0.10\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"author \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"MSC\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"\0Ayear %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"2014-2015\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"license \00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"GPLv2\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"guid \00", align 1
@.str.12 = private unnamed_addr constant [39 x i8] c"{097D69F0-70B2-48B8-AFE2-25A1CDB02C9D}\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"description \00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"An expanding ring effect.\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"param %s %s \00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"agradient\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"color\00", align 1
@.str.18 = private unnamed_addr constant [14 x i8] c"Ripple color:\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.21 = private unnamed_addr constant [9 x i8] c"ffffffff\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"double\00", align 1
@.str.23 = private unnamed_addr constant [7 x i8] c"length\00", align 1
@.str.24 = private unnamed_addr constant [13 x i8] c"Ring length:\00", align 1
@.str.25 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.26 = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1
@.str.27 = private unnamed_addr constant [5 x i8] c"bool\00", align 1
@.str.28 = private unnamed_addr constant [10 x i8] c"symmetric\00", align 1
@.str.29 = private unnamed_addr constant [10 x i8] c"Symmetric\00", align 1
@.str.30 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.31 = private unnamed_addr constant [11 x i8] c"kpmode %s\0A\00", align 1
@.str.32 = private unnamed_addr constant [9 x i8] c"position\00", align 1
@.str.33 = private unnamed_addr constant [9 x i8] c"time %s\0A\00", align 1
@.str.34 = private unnamed_addr constant [9 x i8] c"duration\00", align 1
@.str.35 = private unnamed_addr constant [14 x i8] c"parammode %s\0A\00", align 1
@.str.36 = private unnamed_addr constant [5 x i8] c"live\00", align 1
@.str.37 = private unnamed_addr constant [12 x i8] c"preempt %s\0A\00", align 1
@.str.38 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.39 = private unnamed_addr constant [8 x i8] c"preset \00", align 1
@.str.40 = private unnamed_addr constant [8 x i8] c"Shimmer\00", align 1
@.str.41 = private unnamed_addr constant [5 x i8] c" %s=\00", align 1
@.str.42 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1
@.str.43 = private unnamed_addr constant [5 x i8] c"50.0\00", align 1
@.str.44 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.45 = private unnamed_addr constant [8 x i8] c"Rainbow\00", align 1
@.str.46 = private unnamed_addr constant [84 x i8] c"0:ffff0000 17:ffffff00 33:ff00ff00 50:ff00ffff 67:ff0000ff 83:ffff00ff 100:ffff0000\00", align 1
@.str.47 = private unnamed_addr constant [14 x i8] c"Type lighting\00", align 1
@.str.48 = private unnamed_addr constant [4 x i8] c"1.0\00", align 1
@.str.49 = private unnamed_addr constant [5 x i8] c"25.0\00", align 1
@.str.50 = private unnamed_addr constant [8 x i8] c"trigger\00", align 1
@.str.51 = private unnamed_addr constant [10 x i8] c"kptrigger\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ckb_info() #0 {
br label %1
1: ; preds = %0
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @printurl(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %5
5: ; preds = %1
br label %6
6: ; preds = %5
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @printurl(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %6
br label %11
11: ; preds = %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%13 = call i32 @printurl(ptr noundef @.str.6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8)
br label %15
15: ; preds = %11
br label %16
16: ; preds = %15
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%18 = call i32 @printurl(ptr noundef @.str.10)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %16
br label %21
21: ; preds = %20
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%23 = call i32 @printurl(ptr noundef @.str.12)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%28 = call i32 @printurl(ptr noundef @.str.14)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %26
br label %31
31: ; preds = %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17)
%33 = call i32 @printurl(ptr noundef @.str.18)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%35 = call i32 @printurl(ptr noundef @.str.20)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%37 = call i32 @printurl(ptr noundef @.str.21)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.22, ptr noundef @.str.23)
%42 = call i32 @printurl(ptr noundef @.str.24)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%44 = call i32 @printurl(ptr noundef @.str.25)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, double noundef 1.000000e+02, double noundef 1.000000e+00, double noundef 1.000000e+02)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %48
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.27, ptr noundef @.str.28)
%51 = call i32 @printurl(ptr noundef @.str.29)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%53 = call i32 @printurl(ptr noundef @.str.20)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %57
57: ; preds = %49
br label %58
58: ; preds = %57
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef @.str.32)
br label %60
60: ; preds = %58
br label %61
61: ; preds = %60
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef @.str.34)
br label %63
63: ; preds = %61
br label %64
64: ; preds = %63
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str.36)
br label %66
66: ; preds = %64
br label %67
67: ; preds = %66
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef @.str.38)
br label %69
69: ; preds = %67
br label %70
70: ; preds = %69
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%72 = call i32 @printurl(ptr noundef @.str.40)
br label %73
73: ; preds = %70
br label %74
74: ; preds = %73
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34)
%76 = call i32 @printurl(ptr noundef @.str.42)
br label %77
77: ; preds = %74
br label %78
78: ; preds = %77
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.23)
%80 = call i32 @printurl(ptr noundef @.str.43)
br label %81
81: ; preds = %78
br label %82
82: ; preds = %81
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.28)
%84 = call i32 @printurl(ptr noundef @.str.44)
br label %85
85: ; preds = %82
br label %86
86: ; preds = %85
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %88
88: ; preds = %86
br label %89
89: ; preds = %88
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%91 = call i32 @printurl(ptr noundef @.str.45)
br label %92
92: ; preds = %89
br label %93
93: ; preds = %92
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.17)
%95 = call i32 @printurl(ptr noundef @.str.46)
br label %96
96: ; preds = %93
br label %97
97: ; preds = %96
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34)
%99 = call i32 @printurl(ptr noundef @.str.42)
br label %100
100: ; preds = %97
br label %101
101: ; preds = %100
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %103
103: ; preds = %101
br label %104
104: ; preds = %103
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%106 = call i32 @printurl(ptr noundef @.str.47)
br label %107
107: ; preds = %104
br label %108
108: ; preds = %107
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34)
%110 = call i32 @printurl(ptr noundef @.str.48)
br label %111
111: ; preds = %108
br label %112
112: ; preds = %111
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.23)
%114 = call i32 @printurl(ptr noundef @.str.49)
br label %115
115: ; preds = %112
br label %116
116: ; preds = %115
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.28)
%118 = call i32 @printurl(ptr noundef @.str.44)
br label %119
119: ; preds = %116
br label %120
120: ; preds = %119
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.50)
%122 = call i32 @printurl(ptr noundef @.str.30)
br label %123
123: ; preds = %120
br label %124
124: ; preds = %123
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.51)
%126 = call i32 @printurl(ptr noundef @.str.44)
br label %127
127: ; preds = %124
br label %128
128: ; preds = %127
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %130
130: ; preds = %128
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printurl(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps3ojq_67.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"name \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Ripple\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"version \00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"0.10\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"author \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"MSC\00", align 1
@.str.7 = private unnamed_addr constant [10 x i8] c"\0Ayear %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [10 x i8] c"2014-2015\00", align 1
@.str.9 = private unnamed_addr constant [9 x i8] c"license \00", align 1
@.str.10 = private unnamed_addr constant [6 x i8] c"GPLv2\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"guid \00", align 1
@.str.12 = private unnamed_addr constant [39 x i8] c"{097D69F0-70B2-48B8-AFE2-25A1CDB02C9D}\00", align 1
@.str.13 = private unnamed_addr constant [13 x i8] c"description \00", align 1
@.str.14 = private unnamed_addr constant [26 x i8] c"An expanding ring effect.\00", align 1
@.str.15 = private unnamed_addr constant [13 x i8] c"param %s %s \00", align 1
@.str.16 = private unnamed_addr constant [10 x i8] c"agradient\00", align 1
@.str.17 = private unnamed_addr constant [6 x i8] c"color\00", align 1
@.str.18 = private unnamed_addr constant [14 x i8] c"Ripple color:\00", align 1
@.str.19 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.21 = private unnamed_addr constant [9 x i8] c"ffffffff\00", align 1
@.str.22 = private unnamed_addr constant [7 x i8] c"double\00", align 1
@.str.23 = private unnamed_addr constant [7 x i8] c"length\00", align 1
@.str.24 = private unnamed_addr constant [13 x i8] c"Ring length:\00", align 1
@.str.25 = private unnamed_addr constant [2 x i8] c"%\00", align 1
@.str.26 = private unnamed_addr constant [12 x i8] c"%lf %lf %lf\00", align 1
@.str.27 = private unnamed_addr constant [5 x i8] c"bool\00", align 1
@.str.28 = private unnamed_addr constant [10 x i8] c"symmetric\00", align 1
@.str.29 = private unnamed_addr constant [10 x i8] c"Symmetric\00", align 1
@.str.30 = private unnamed_addr constant [2 x i8] c"0\00", align 1
@.str.31 = private unnamed_addr constant [11 x i8] c"kpmode %s\0A\00", align 1
@.str.32 = private unnamed_addr constant [9 x i8] c"position\00", align 1
@.str.33 = private unnamed_addr constant [9 x i8] c"time %s\0A\00", align 1
@.str.34 = private unnamed_addr constant [9 x i8] c"duration\00", align 1
@.str.35 = private unnamed_addr constant [14 x i8] c"parammode %s\0A\00", align 1
@.str.36 = private unnamed_addr constant [5 x i8] c"live\00", align 1
@.str.37 = private unnamed_addr constant [12 x i8] c"preempt %s\0A\00", align 1
@.str.38 = private unnamed_addr constant [3 x i8] c"on\00", align 1
@.str.39 = private unnamed_addr constant [8 x i8] c"preset \00", align 1
@.str.40 = private unnamed_addr constant [8 x i8] c"Shimmer\00", align 1
@.str.41 = private unnamed_addr constant [5 x i8] c" %s=\00", align 1
@.str.42 = private unnamed_addr constant [4 x i8] c"2.0\00", align 1
@.str.43 = private unnamed_addr constant [5 x i8] c"50.0\00", align 1
@.str.44 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.45 = private unnamed_addr constant [8 x i8] c"Rainbow\00", align 1
@.str.46 = private unnamed_addr constant [84 x i8] c"0:ffff0000 17:ffffff00 33:ff00ff00 50:ff00ffff 67:ff0000ff 83:ffff00ff 100:ffff0000\00", align 1
@.str.47 = private unnamed_addr constant [14 x i8] c"Type lighting\00", align 1
@.str.48 = private unnamed_addr constant [4 x i8] c"1.0\00", align 1
@.str.49 = private unnamed_addr constant [5 x i8] c"25.0\00", align 1
@.str.50 = private unnamed_addr constant [8 x i8] c"trigger\00", align 1
@.str.51 = private unnamed_addr constant [10 x i8] c"kptrigger\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ckb_info() #0 {
br label %1
1: ; preds = %0
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @printurl(ptr noundef @.str.1)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %5
5: ; preds = %1
br label %6
6: ; preds = %5
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%8 = call i32 @printurl(ptr noundef @.str.4)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %6
br label %11
11: ; preds = %10
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%13 = call i32 @printurl(ptr noundef @.str.6)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef @.str.8)
br label %15
15: ; preds = %11
br label %16
16: ; preds = %15
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%18 = call i32 @printurl(ptr noundef @.str.10)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %16
br label %21
21: ; preds = %20
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
%23 = call i32 @printurl(ptr noundef @.str.12)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %25
25: ; preds = %21
br label %26
26: ; preds = %25
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%28 = call i32 @printurl(ptr noundef @.str.14)
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %30
30: ; preds = %26
br label %31
31: ; preds = %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.16, ptr noundef @.str.17)
%33 = call i32 @printurl(ptr noundef @.str.18)
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%35 = call i32 @printurl(ptr noundef @.str.20)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%37 = call i32 @printurl(ptr noundef @.str.21)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %39
39: ; preds = %31
br label %40
40: ; preds = %39
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.22, ptr noundef @.str.23)
%42 = call i32 @printurl(ptr noundef @.str.24)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%44 = call i32 @printurl(ptr noundef @.str.25)
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.26, double noundef 1.000000e+02, double noundef 1.000000e+00, double noundef 1.000000e+02)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %48
48: ; preds = %40
br label %49
49: ; preds = %48
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, ptr noundef @.str.27, ptr noundef @.str.28)
%51 = call i32 @printurl(ptr noundef @.str.29)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%53 = call i32 @printurl(ptr noundef @.str.20)
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.19)
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.30)
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %57
57: ; preds = %49
br label %58
58: ; preds = %57
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.31, ptr noundef @.str.32)
br label %60
60: ; preds = %58
br label %61
61: ; preds = %60
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.33, ptr noundef @.str.34)
br label %63
63: ; preds = %61
br label %64
64: ; preds = %63
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str.36)
br label %66
66: ; preds = %64
br label %67
67: ; preds = %66
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.37, ptr noundef @.str.38)
br label %69
69: ; preds = %67
br label %70
70: ; preds = %69
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%72 = call i32 @printurl(ptr noundef @.str.40)
br label %73
73: ; preds = %70
br label %74
74: ; preds = %73
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34)
%76 = call i32 @printurl(ptr noundef @.str.42)
br label %77
77: ; preds = %74
br label %78
78: ; preds = %77
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.23)
%80 = call i32 @printurl(ptr noundef @.str.43)
br label %81
81: ; preds = %78
br label %82
82: ; preds = %81
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.28)
%84 = call i32 @printurl(ptr noundef @.str.44)
br label %85
85: ; preds = %82
br label %86
86: ; preds = %85
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %88
88: ; preds = %86
br label %89
89: ; preds = %88
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%91 = call i32 @printurl(ptr noundef @.str.45)
br label %92
92: ; preds = %89
br label %93
93: ; preds = %92
%94 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.17)
%95 = call i32 @printurl(ptr noundef @.str.46)
br label %96
96: ; preds = %93
br label %97
97: ; preds = %96
%98 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34)
%99 = call i32 @printurl(ptr noundef @.str.42)
br label %100
100: ; preds = %97
br label %101
101: ; preds = %100
%102 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %103
103: ; preds = %101
br label %104
104: ; preds = %103
%105 = call i32 (ptr, ...) @printf(ptr noundef @.str.39)
%106 = call i32 @printurl(ptr noundef @.str.47)
br label %107
107: ; preds = %104
br label %108
108: ; preds = %107
%109 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.34)
%110 = call i32 @printurl(ptr noundef @.str.48)
br label %111
111: ; preds = %108
br label %112
112: ; preds = %111
%113 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.23)
%114 = call i32 @printurl(ptr noundef @.str.49)
br label %115
115: ; preds = %112
br label %116
116: ; preds = %115
%117 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.28)
%118 = call i32 @printurl(ptr noundef @.str.44)
br label %119
119: ; preds = %116
br label %120
120: ; preds = %119
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.50)
%122 = call i32 @printurl(ptr noundef @.str.30)
br label %123
123: ; preds = %120
br label %124
124: ; preds = %123
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.41, ptr noundef @.str.51)
%126 = call i32 @printurl(ptr noundef @.str.44)
br label %127
127: ; preds = %124
br label %128
128: ; preds = %127
%129 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %130
130: ; preds = %128
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @printurl(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe4yf42hw.c'
source_filename = "/tmp/tmpe4yf42hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"girl_impulse.dat\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"girl_smoothing_ex2-1.dat\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"zsh plot_ex2-1.sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x [256 x i8]], align 16
%3 = alloca [256 x [256 x i8]], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 65536, i1 false)
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %4, align 8
%8 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 65536, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = call i32 @fclose(ptr noundef %11)
store i32 1, ptr %5, align 4
br label %13
13: ; preds = %107, %0
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %14, 255
br i1 %15, label %16, label %110
16: ; preds = %13
store i32 1, ptr %6, align 4
br label %17
17: ; preds = %103, %16
%18 = load i32, ptr %6, align 4
%19 = icmp slt i32 %18, 255
br i1 %19, label %20, label %106
20: ; preds = %17
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %23
%25 = load i32, ptr %6, align 4
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [256 x i8], ptr %24, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load i32, ptr %5, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %32
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds [256 x i8], ptr %33, i64 0, i64 %35
%37 = load i8, ptr %36, align 1
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [256 x i8], ptr %41, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %48
%50 = load i32, ptr %6, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [256 x i8], ptr %49, i64 0, i64 %52
%54 = load i8, ptr %53, align 1
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %56
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [256 x i8], ptr %57, i64 0, i64 %59
%61 = load i8, ptr %60, align 1
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %63
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [256 x i8], ptr %64, i64 0, i64 %67
%69 = load i8, ptr %68, align 1
%70 = load i32, ptr %5, align 4
%71 = add nsw i32 %70, 1
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %72
%74 = load i32, ptr %6, align 4
%75 = sub nsw i32 %74, 1
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [256 x i8], ptr %73, i64 0, i64 %76
%78 = load i8, ptr %77, align 1
%79 = load i32, ptr %5, align 4
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %81
%83 = load i32, ptr %6, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [256 x i8], ptr %82, i64 0, i64 %84
%86 = load i8, ptr %85, align 1
%87 = load i32, ptr %5, align 4
%88 = add nsw i32 %87, 1
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %89
%91 = load i32, ptr %6, align 4
%92 = add nsw i32 %91, 1
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [256 x i8], ptr %90, i64 0, i64 %93
%95 = load i8, ptr %94, align 1
%96 = call zeroext i8 @smoothing(i8 noundef zeroext %29, i8 noundef zeroext %37, i8 noundef zeroext %46, i8 noundef zeroext %54, i8 noundef zeroext %61, i8 noundef zeroext %69, i8 noundef zeroext %78, i8 noundef zeroext %86, i8 noundef zeroext %95)
%97 = load i32, ptr %5, align 4
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds [256 x [256 x i8]], ptr %3, i64 0, i64 %98
%100 = load i32, ptr %6, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [256 x i8], ptr %99, i64 0, i64 %101
store i8 %96, ptr %102, align 1
br label %103
103: ; preds = %20
%104 = load i32, ptr %6, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %6, align 4
br label %17, !llvm.loop !6
106: ; preds = %17
br label %107
107: ; preds = %106
%108 = load i32, ptr %5, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %5, align 4
br label %13, !llvm.loop !8
110: ; preds = %13
%111 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %111, ptr %4, align 8
%112 = getelementptr inbounds [256 x [256 x i8]], ptr %3, i64 0, i64 0
%113 = load ptr, ptr %4, align 8
%114 = call i32 @fwrite(ptr noundef %112, i32 noundef 1, i32 noundef 65536, ptr noundef %113)
%115 = load ptr, ptr %4, align 8
%116 = call i32 @fclose(ptr noundef %115)
%117 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare zeroext i8 @smoothing(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @system(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe4yf42hw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"girl_impulse.dat\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [25 x i8] c"girl_smoothing_ex2-1.dat\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c"zsh plot_ex2-1.sh\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [256 x [256 x i8]], align 16
%3 = alloca [256 x [256 x i8]], align 16
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 65536, i1 false)
%7 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %7, ptr %4, align 8
%8 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 0
%9 = load ptr, ptr %4, align 8
%10 = call i32 @fread(ptr noundef %8, i32 noundef 1, i32 noundef 65536, ptr noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = call i32 @fclose(ptr noundef %11)
store i32 1, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %13, 255
br i1 %14, label %.lr.ph2, label %112
.lr.ph2: ; preds = %0
br label %15
15: ; preds = %.lr.ph2, %107
store i32 1, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 255
br i1 %17, label %.lr.ph, label %106
.lr.ph: ; preds = %15
br label %18
18: ; preds = %.lr.ph, %101
%19 = load i32, ptr %5, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %21
%23 = load i32, ptr %6, align 4
%24 = sub nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [256 x i8], ptr %22, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = load i32, ptr %5, align 4
%29 = sub nsw i32 %28, 1
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %30
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [256 x i8], ptr %31, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = load i32, ptr %5, align 4
%37 = sub nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [256 x i8], ptr %39, i64 0, i64 %42
%44 = load i8, ptr %43, align 1
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %46
%48 = load i32, ptr %6, align 4
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [256 x i8], ptr %47, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = load i32, ptr %5, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %54
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [256 x i8], ptr %55, i64 0, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %61
%63 = load i32, ptr %6, align 4
%64 = add nsw i32 %63, 1
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [256 x i8], ptr %62, i64 0, i64 %65
%67 = load i8, ptr %66, align 1
%68 = load i32, ptr %5, align 4
%69 = add nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %70
%72 = load i32, ptr %6, align 4
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [256 x i8], ptr %71, i64 0, i64 %74
%76 = load i8, ptr %75, align 1
%77 = load i32, ptr %5, align 4
%78 = add nsw i32 %77, 1
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %79
%81 = load i32, ptr %6, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [256 x i8], ptr %80, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds [256 x [256 x i8]], ptr %2, i64 0, i64 %87
%89 = load i32, ptr %6, align 4
%90 = add nsw i32 %89, 1
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [256 x i8], ptr %88, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = call zeroext i8 @smoothing(i8 noundef zeroext %27, i8 noundef zeroext %35, i8 noundef zeroext %44, i8 noundef zeroext %52, i8 noundef zeroext %59, i8 noundef zeroext %67, i8 noundef zeroext %76, i8 noundef zeroext %84, i8 noundef zeroext %93)
%95 = load i32, ptr %5, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [256 x [256 x i8]], ptr %3, i64 0, i64 %96
%98 = load i32, ptr %6, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds [256 x i8], ptr %97, i64 0, i64 %99
store i8 %94, ptr %100, align 1
br label %101
101: ; preds = %18
%102 = load i32, ptr %6, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %6, align 4
%104 = load i32, ptr %6, align 4
%105 = icmp slt i32 %104, 255
br i1 %105, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %101
br label %106
106: ; preds = %._crit_edge, %15
br label %107
107: ; preds = %106
%108 = load i32, ptr %5, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %5, align 4
%110 = load i32, ptr %5, align 4
%111 = icmp slt i32 %110, 255
br i1 %111, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %107
br label %112
112: ; preds = %._crit_edge3, %0
%113 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3)
store ptr %113, ptr %4, align 8
%114 = getelementptr inbounds [256 x [256 x i8]], ptr %3, i64 0, i64 0
%115 = load ptr, ptr %4, align 8
%116 = call i32 @fwrite(ptr noundef %114, i32 noundef 1, i32 noundef 65536, ptr noundef %115)
%117 = load ptr, ptr %4, align 8
%118 = call i32 @fclose(ptr noundef %117)
%119 = call i32 @system(ptr noundef @.str.4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fopen(ptr noundef, ptr noundef) #2
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @fclose(ptr noundef) #2
declare zeroext i8 @smoothing(i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext, i8 noundef zeroext) #2
declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2
declare i32 @system(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8g5_d58f.c'
source_filename = "/tmp/tmp8g5_d58f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcdefg\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%x,%c,%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i32
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 1
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4, i8 noundef signext %7, ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8g5_d58f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcdefg\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"%x,%c,%p\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = ptrtoint ptr %3 to i32
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 1
%7 = load i8, ptr %6, align 1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %4, i8 noundef signext %7, ptr noundef %8)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpddevb4vt.c'
source_filename = "/tmp/tmpddevb4vt.c"
target datalayout = "e-m:e-p270: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, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { ptr }
%struct.in_addr = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"error opening socket\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"could not resolve hostname\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"error connecting to remote host\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_socket(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %3, align 8
%19 = call ptr @gethostbyname(ptr noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %17
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = load i64, ptr %28, align 8
%30 = inttoptr i64 %29 to ptr
%31 = getelementptr inbounds %struct.in_addr, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i32 @inet_ntoa(i32 %32)
%34 = call i32 @inet_addr(i32 noundef %33)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0
store i32 %35, ptr %37, align 4
%38 = load i32, ptr @AF_INET, align 4
%39 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
store i32 %38, ptr %39, align 4
%40 = load i32, ptr %4, align 4
%41 = call i32 @htons(i32 noundef %40)
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store i32 %41, ptr %42, align 4
%43 = load i32, ptr %5, align 4
%44 = call i64 @connect(i32 noundef %43, ptr noundef %8, i32 noundef 12)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %25
%47 = call i32 @perror(ptr noundef @.str.2)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %25
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @inet_addr(i32 noundef) #1
declare i32 @inet_ntoa(i32) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpddevb4vt.c"
target datalayout = "e-m:e-p270: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, i32, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32 }
%struct.hostent = type { ptr }
%struct.in_addr = type { i32 }
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"error opening socket\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"could not resolve hostname\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"error connecting to remote host\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @create_socket(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca %struct.sockaddr_in, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_STREAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @perror(ptr noundef @.str)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %3, align 8
%19 = call ptr @gethostbyname(ptr noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %25, label %22
22: ; preds = %17
%23 = call i32 @perror(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %17
%26 = load ptr, ptr %6, align 8
%27 = getelementptr inbounds %struct.hostent, ptr %26, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = load i64, ptr %28, align 8
%30 = inttoptr i64 %29 to ptr
%31 = getelementptr inbounds %struct.in_addr, ptr %30, i32 0, i32 0
%32 = load i32, ptr %31, align 4
%33 = call i32 @inet_ntoa(i32 %32)
%34 = call i32 @inet_addr(i32 noundef %33)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2
%37 = getelementptr inbounds %struct.TYPE_2__, ptr %36, i32 0, i32 0
store i32 %35, ptr %37, align 4
%38 = load i32, ptr @AF_INET, align 4
%39 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1
store i32 %38, ptr %39, align 4
%40 = load i32, ptr %4, align 4
%41 = call i32 @htons(i32 noundef %40)
%42 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0
store i32 %41, ptr %42, align 4
%43 = load i32, ptr %5, align 4
%44 = call i64 @connect(i32 noundef %43, ptr noundef %8, i32 noundef 12)
%45 = icmp slt i64 %44, 0
br i1 %45, label %46, label %49
46: ; preds = %25
%47 = call i32 @perror(ptr noundef @.str.2)
%48 = call i32 @exit(i32 noundef 1) #3
unreachable
49: ; preds = %25
%50 = load i32, ptr %5, align 4
ret i32 %50
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @inet_addr(i32 noundef) #1
declare i32 @inet_ntoa(i32) #1
declare i32 @htons(i32 noundef) #1
declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu4zw8vjx.c'
source_filename = "/tmp/tmpu4zw8vjx.c"
target datalayout = "e-m:e-p270: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/tmpu4zw8vjx.c"
target datalayout = "e-m:e-p270: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/tmpkzr96his.c'
source_filename = "/tmp/tmpkzr96his.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"gethostname\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_hostname(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call i32 @gethostname(ptr noundef %6, i64 noundef %7)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @errno, align 4
%12 = call i32 @err(i32 noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 46)
store ptr %15, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
store i8 0, ptr %18, align 1
br label %19
19: ; preds = %17, %13
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
declare i32 @gethostname(ptr noundef, i64 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkzr96his.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [12 x i8] c"gethostname\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_hostname(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = call i32 @gethostname(ptr noundef %6, i64 noundef %7)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr @errno, align 4
%12 = call i32 @err(i32 noundef %11, ptr noundef @.str)
br label %13
13: ; preds = %10, %2
%14 = load ptr, ptr %3, align 8
%15 = call ptr @strchr(ptr noundef %14, i8 noundef signext 46)
store ptr %15, ptr %5, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %13
%18 = load ptr, ptr %5, align 8
store i8 0, ptr %18, align 1
br label %19
19: ; preds = %17, %13
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
declare i32 @gethostname(ptr noundef, i64 noundef) #1
declare i32 @err(i32 noundef, ptr noundef) #1
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"}
|
; ModuleID = '/tmp/tmpb71_dwg0.c'
source_filename = "/tmp/tmpb71_dwg0.c"
target datalayout = "e-m:e-p270: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/tmpb71_dwg0.c"
target datalayout = "e-m:e-p270: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/tmp631oh4d3.c'
source_filename = "/tmp/tmp631oh4d3.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Err.(%s) getting hostname\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Err.(%s) getting kernel info\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" host: %s (gethostname)\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c" sysname: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"nodename: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c" release: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c" version: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c" machine: %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i8], align 16
%3 = alloca %struct.utsname, align 8
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @gethostname(ptr noundef %4, i32 noundef 64)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr @errno, align 4
%10 = call ptr @strerror(i32 noundef %9)
%11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %10)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %0
%15 = call i64 @uname(ptr noundef %3)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr @stderr, align 4
%19 = load i32, ptr @errno, align 4
%20 = call ptr @strerror(i32 noundef %19)
%21 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %20)
%22 = load i32, ptr @EXIT_FAILURE, align 4
%23 = call i32 @exit(i32 noundef %22) #3
unreachable
24: ; preds = %14
%25 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25)
%27 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @printf(ptr noundef @.str.3, ptr noundef %28)
%30 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @printf(ptr noundef @.str.4, ptr noundef %31)
%33 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 2
%34 = load ptr, ptr %33, align 8
%35 = call i32 @printf(ptr noundef @.str.5, ptr noundef %34)
%36 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @printf(ptr noundef @.str.6, ptr noundef %37)
%39 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 4
%40 = load ptr, ptr %39, align 8
%41 = call i32 @printf(ptr noundef @.str.7, ptr noundef %40)
%42 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %42
}
declare i64 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @uname(ptr 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" }
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/tmp631oh4d3.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Err.(%s) getting hostname\0A\00", align 1
@errno = dso_local global i32 0, align 4
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [30 x i8] c"Err.(%s) getting kernel info\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c" host: %s (gethostname)\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c" sysname: %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"nodename: %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [14 x i8] c" release: %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [14 x i8] c" version: %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c" machine: %s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [64 x i8], align 16
%3 = alloca %struct.utsname, align 8
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @gethostname(ptr noundef %4, i32 noundef 64)
%6 = icmp slt i64 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %0
%8 = load i32, ptr @stderr, align 4
%9 = load i32, ptr @errno, align 4
%10 = call ptr @strerror(i32 noundef %9)
%11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %10)
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #3
unreachable
14: ; preds = %0
%15 = call i64 @uname(ptr noundef %3)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr @stderr, align 4
%19 = load i32, ptr @errno, align 4
%20 = call ptr @strerror(i32 noundef %19)
%21 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.1, ptr noundef %20)
%22 = load i32, ptr @EXIT_FAILURE, align 4
%23 = call i32 @exit(i32 noundef %22) #3
unreachable
24: ; preds = %14
%25 = getelementptr inbounds [64 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @printf(ptr noundef @.str.2, ptr noundef %25)
%27 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @printf(ptr noundef @.str.3, ptr noundef %28)
%30 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 1
%31 = load ptr, ptr %30, align 8
%32 = call i32 @printf(ptr noundef @.str.4, ptr noundef %31)
%33 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 2
%34 = load ptr, ptr %33, align 8
%35 = call i32 @printf(ptr noundef @.str.5, ptr noundef %34)
%36 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @printf(ptr noundef @.str.6, ptr noundef %37)
%39 = getelementptr inbounds %struct.utsname, ptr %3, i32 0, i32 4
%40 = load ptr, ptr %39, align 8
%41 = call i32 @printf(ptr noundef @.str.7, ptr noundef %40)
%42 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %42
}
declare i64 @gethostname(ptr noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @uname(ptr 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" }
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/tmpz50fwshm.c'
source_filename = "/tmp/tmpz50fwshm.c"
target datalayout = "e-m:e-p270: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/tmpz50fwshm.c"
target datalayout = "e-m:e-p270: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/tmpagyxl09y.c'
source_filename = "/tmp/tmpagyxl09y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 4, %9
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
br label %16
12: ; preds = %0
%13 = load i32, ptr %3, align 4
%14 = sub nsw i32 4, %13
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %12, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpagyxl09y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %5, %6
br i1 %7, label %8, label %12
8: ; preds = %0
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 4, %9
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
br label %16
12: ; preds = %0
%13 = load i32, ptr %3, align 4
%14 = sub nsw i32 4, %13
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %12, %8
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp46jhn0uv.c'
source_filename = "/tmp/tmp46jhn0uv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vx[%d]:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"vx[%d]=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %15, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 5
br i1 %7, label %8, label %18
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %9)
%11 = load i32, ptr %2, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13)
br label %15
15: ; preds = %8
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
br label %5, !llvm.loop !6
18: ; preds = %5
store i32 0, ptr %2, align 4
br label %19
19: ; preds = %40, %18
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 2
br i1 %21, label %22, label %43
22: ; preds = %19
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 4, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = sub nsw i32 4, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %38
store i32 %35, ptr %39, align 4
br label %40
40: ; preds = %22
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
br label %19, !llvm.loop !8
43: ; preds = %19
store i32 0, ptr %2, align 4
br label %44
44: ; preds = %54, %43
%45 = load i32, ptr %2, align 4
%46 = icmp slt i32 %45, 5
br i1 %46, label %47, label %57
47: ; preds = %44
%48 = load i32, ptr %2, align 4
%49 = load i32, ptr %2, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %48, i32 noundef %52)
br label %54
54: ; preds = %47
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %2, align 4
br label %44, !llvm.loop !9
57: ; preds = %44
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp46jhn0uv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"vx[%d]:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [11 x i8] c"vx[%d]=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [5 x i32], align 16
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 5
br i1 %6, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %14
%8 = load i32, ptr %2, align 4
%9 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %8)
%10 = load i32, ptr %2, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %7
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%20 = load i32, ptr %2, align 4
%21 = icmp slt i32 %20, 2
br i1 %21, label %.lr.ph2, label %45
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %40
%23 = load i32, ptr %2, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 4, %27
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %29
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %2, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %2, align 4
%37 = sub nsw i32 4, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %38
store i32 %35, ptr %39, align 4
br label %40
40: ; preds = %22
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %43, 2
br i1 %44, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %40
br label %45
45: ; preds = %._crit_edge3, %19
store i32 0, ptr %2, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %46, 5
br i1 %47, label %.lr.ph5, label %60
.lr.ph5: ; preds = %45
br label %48
48: ; preds = %.lr.ph5, %55
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr %2, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %51
%53 = load i32, ptr %52, align 4
%54 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %49, i32 noundef %53)
br label %55
55: ; preds = %48
%56 = load i32, ptr %2, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %2, align 4
%58 = load i32, ptr %2, align 4
%59 = icmp slt i32 %58, 5
br i1 %59, label %48, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %55
br label %60
60: ; preds = %._crit_edge6, %45
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpk_orv6zw.c'
source_filename = "/tmp/tmpk_orv6zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simplex(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %13, %14
%16 = add nsw i32 %15, 2
store i32 %16, ptr %11, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %23, %24
%26 = call double @minimumc(ptr noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %25, ptr noundef %10)
store double %26, ptr %9, align 8
%27 = load ptr, ptr %8, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %36
29: ; preds = %4
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
%33 = load i32, ptr %11, align 4
%34 = load ptr, ptr %8, align 8
%35 = call i32 @fmprint(ptr noundef %30, i32 noundef %32, i32 noundef %33, ptr noundef %34)
br label %36
36: ; preds = %29, %4
%37 = load double, ptr %9, align 8
%38 = fcmp olt double %37, 0.000000e+00
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
%45 = load ptr, ptr %8, align 8
%46 = call i32 @simplexd(ptr noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %44, ptr noundef %45)
store i32 %46, ptr %12, align 4
br label %47
47: ; preds = %39, %36
%48 = load i32, ptr %12, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %64, label %50
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %11, align 4
%53 = call double @minimumr(ptr noundef %51, i32 noundef %52, i32 noundef 0, ptr noundef %10)
store double %53, ptr %9, align 8
%54 = load double, ptr %9, align 8
%55 = fcmp olt double %54, 0.000000e+00
br i1 %55, label %56, label %63
56: ; preds = %50
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %10, align 4
%61 = load ptr, ptr %8, align 8
%62 = call i32 @simplexp(ptr noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %61)
store i32 %62, ptr %12, align 4
br label %63
63: ; preds = %56, %50
br label %64
64: ; preds = %63, %47
%65 = load i32, ptr %12, align 4
ret i32 %65
}
declare double @minimumc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fmprint(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @simplexd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare double @minimumr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @simplexp(ptr noundef, i32 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/tmpk_orv6zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simplex(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = 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
store ptr %3, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %13, %14
%16 = add nsw i32 %15, 2
store i32 %16, ptr %11, align 4
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %11, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr %11, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %23, %24
%26 = call double @minimumc(ptr noundef %20, i32 noundef %21, i32 noundef %22, i32 noundef %25, ptr noundef %10)
store double %26, ptr %9, align 8
%27 = load ptr, ptr %8, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %36
29: ; preds = %4
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = add nsw i32 %31, 1
%33 = load i32, ptr %11, align 4
%34 = load ptr, ptr %8, align 8
%35 = call i32 @fmprint(ptr noundef %30, i32 noundef %32, i32 noundef %33, ptr noundef %34)
br label %36
36: ; preds = %29, %4
%37 = load double, ptr %9, align 8
%38 = fcmp olt double %37, 0.000000e+00
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %43, 1
%45 = load ptr, ptr %8, align 8
%46 = call i32 @simplexd(ptr noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %44, ptr noundef %45)
store i32 %46, ptr %12, align 4
br label %47
47: ; preds = %39, %36
%48 = load i32, ptr %12, align 4
%49 = icmp ne i32 %48, 0
br i1 %49, label %64, label %50
50: ; preds = %47
%51 = load ptr, ptr %5, align 8
%52 = load i32, ptr %11, align 4
%53 = call double @minimumr(ptr noundef %51, i32 noundef %52, i32 noundef 0, ptr noundef %10)
store double %53, ptr %9, align 8
%54 = load double, ptr %9, align 8
%55 = fcmp olt double %54, 0.000000e+00
br i1 %55, label %56, label %63
56: ; preds = %50
%57 = load ptr, ptr %5, align 8
%58 = load i32, ptr %6, align 4
%59 = load i32, ptr %7, align 4
%60 = load i32, ptr %10, align 4
%61 = load ptr, ptr %8, align 8
%62 = call i32 @simplexp(ptr noundef %57, i32 noundef %58, i32 noundef %59, i32 noundef %60, ptr noundef %61)
store i32 %62, ptr %12, align 4
br label %63
63: ; preds = %56, %50
br label %64
64: ; preds = %63, %47
%65 = load i32, ptr %12, align 4
ret i32 %65
}
declare double @minimumc(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fmprint(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @simplexd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare double @minimumr(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @simplexp(ptr noundef, i32 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/tmpvi5ae3np.c'
source_filename = "/tmp/tmpvi5ae3np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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", \0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getCertsToDelete(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = getelementptr inbounds i8, ptr %18, i64 -1
store ptr %19, ptr %13, align 8
br label %20
20: ; preds = %70, %4
%21 = load ptr, ptr %11, align 8
%22 = load ptr, ptr %13, align 8
%23 = icmp ne ptr %21, %22
br i1 %23, label %24, label %74
24: ; preds = %20
%25 = load ptr, ptr %11, align 8
%26 = call ptr @strpbrk(ptr noundef %25, ptr noundef @.str)
store ptr %26, ptr %12, align 8
%27 = load ptr, ptr %12, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %11, align 8
%29 = call i64 @PORT_Strlen(ptr noundef %28)
%30 = icmp eq i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %24
br label %74
32: ; preds = %24
%33 = load ptr, ptr %11, align 8
%34 = call i32 @PORT_Atoi(ptr noundef %33)
store i32 %34, ptr %10, align 4
%35 = load ptr, ptr %11, align 8
%36 = load ptr, ptr %5, align 8
%37 = icmp eq ptr %35, %36
br i1 %37, label %38, label %42
38: ; preds = %32
%39 = load i32, ptr %10, align 4
%40 = load ptr, ptr %7, align 8
%41 = getelementptr inbounds i32, ptr %40, i64 0
store i32 %39, ptr %41, align 4
br label %42
42: ; preds = %38, %32
store i32 1, ptr %9, align 4
br label %43
43: ; preds = %62, %42
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %8, align 4
%46 = add nsw i32 %45, 1
%47 = icmp slt i32 %44, %46
br i1 %47, label %48, label %65
48: ; preds = %43
%49 = load i32, ptr %10, align 4
%50 = load ptr, ptr %7, align 8
%51 = load i32, ptr %9, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
%55 = icmp eq i32 %49, %54
br i1 %55, label %56, label %61
56: ; preds = %48
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %9, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
store i32 -1, ptr %60, align 4
br label %65
61: ; preds = %48
br label %62
62: ; preds = %61
%63 = load i32, ptr %9, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %9, align 4
br label %43, !llvm.loop !6
65: ; preds = %56, %43
%66 = load ptr, ptr %12, align 8
%67 = load ptr, ptr %13, align 8
%68 = icmp eq ptr %66, %67
br i1 %68, label %69, label %70
69: ; preds = %65
br label %74
70: ; preds = %65
%71 = load ptr, ptr %12, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
%73 = call ptr @strpbrk(ptr noundef %72, ptr noundef @.str.1)
store ptr %73, ptr %11, align 8
br label %20, !llvm.loop !8
74: ; preds = %31, %69, %20
ret void
}
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
declare i64 @PORT_Strlen(ptr noundef) #1
declare i32 @PORT_Atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvi5ae3np.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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", \0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getCertsToDelete(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%14 = load ptr, ptr %5, align 8
store ptr %14, ptr %11, align 8
%15 = load ptr, ptr %11, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = getelementptr inbounds i8, ptr %18, i64 -1
store ptr %19, ptr %13, align 8
%20 = load ptr, ptr %11, align 8
%21 = load ptr, ptr %13, align 8
%22 = icmp ne ptr %20, %21
br i1 %22, label %.lr.ph2, label %.loopexit1
.lr.ph2: ; preds = %4
br label %23
23: ; preds = %.lr.ph2, %72
%24 = load ptr, ptr %11, align 8
%25 = call ptr @strpbrk(ptr noundef %24, ptr noundef @.str)
store ptr %25, ptr %12, align 8
%26 = load ptr, ptr %12, align 8
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %11, align 8
%28 = call i64 @PORT_Strlen(ptr noundef %27)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %23
br label %79
31: ; preds = %23
%32 = load ptr, ptr %11, align 8
%33 = call i32 @PORT_Atoi(ptr noundef %32)
store i32 %33, ptr %10, align 4
%34 = load ptr, ptr %11, align 8
%35 = load ptr, ptr %5, align 8
%36 = icmp eq ptr %34, %35
br i1 %36, label %37, label %41
37: ; preds = %31
%38 = load i32, ptr %10, align 4
%39 = load ptr, ptr %7, align 8
%40 = getelementptr inbounds i32, ptr %39, i64 0
store i32 %38, ptr %40, align 4
br label %41
41: ; preds = %37, %31
store i32 1, ptr %9, align 4
%42 = load i32, ptr %9, align 4
%43 = load i32, ptr %8, align 4
%44 = add nsw i32 %43, 1
%45 = icmp slt i32 %42, %44
br i1 %45, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %41
br label %46
46: ; preds = %.lr.ph, %60
%47 = load i32, ptr %10, align 4
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %9, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp eq i32 %47, %52
br i1 %53, label %54, label %59
54: ; preds = %46
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
store i32 -1, ptr %58, align 4
br label %67
59: ; preds = %46
br label %60
60: ; preds = %59
%61 = load i32, ptr %9, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %9, align 4
%63 = load i32, ptr %9, align 4
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
%66 = icmp slt i32 %63, %65
br i1 %66, label %46, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %60
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %41
br label %67
67: ; preds = %.loopexit, %54
%68 = load ptr, ptr %12, align 8
%69 = load ptr, ptr %13, align 8
%70 = icmp eq ptr %68, %69
br i1 %70, label %71, label %72
71: ; preds = %67
br label %79
72: ; preds = %67
%73 = load ptr, ptr %12, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 1
%75 = call ptr @strpbrk(ptr noundef %74, ptr noundef @.str.1)
store ptr %75, ptr %11, align 8
%76 = load ptr, ptr %11, align 8
%77 = load ptr, ptr %13, align 8
%78 = icmp ne ptr %76, %77
br i1 %78, label %23, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %72
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %4
br label %79
79: ; preds = %.loopexit1, %71, %30
ret void
}
declare ptr @strpbrk(ptr noundef, ptr noundef) #1
declare i64 @PORT_Strlen(ptr noundef) #1
declare i32 @PORT_Atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp5tfop_92.c'
source_filename = "/tmp/tmp5tfop_92.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @emalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @die(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @malloc(i32 noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5tfop_92.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"malloc\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @emalloc(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call ptr @malloc(i32 noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %10, label %8
8: ; preds = %1
%9 = call i32 @die(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
declare ptr @malloc(i32 noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp0vmid_q9.c'
source_filename = "/tmp/tmp0vmid_q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %3, align 8
store i64 0, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i64, ptr %3, align 8
%9 = call ptr @base64_decode(ptr noundef %7, i64 noundef %8, ptr noundef %4)
ret ptr %9
}
declare i64 @strlen(ptr noundef) #1
declare ptr @base64_decode(ptr noundef, 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0vmid_q9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @b64d(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i64 @strlen(ptr noundef %5)
store i64 %6, ptr %3, align 8
store i64 0, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load i64, ptr %3, align 8
%9 = call ptr @base64_decode(ptr noundef %7, i64 noundef %8, ptr noundef %4)
ret ptr %9
}
declare i64 @strlen(ptr noundef) #1
declare ptr @base64_decode(ptr noundef, 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"}
|
; ModuleID = '/tmp/tmpwr96bz_d.c'
source_filename = "/tmp/tmpwr96bz_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintChars(i64 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
br label %5
5: ; preds = %8, %2
%6 = load i64, ptr %3, align 8
%7 = icmp ugt i64 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %5
%9 = load i8, ptr %4, align 1
%10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %9)
%11 = load i64, ptr %3, align 8
%12 = add i64 %11, -1
store i64 %12, ptr %3, align 8
br label %5, !llvm.loop !6
13: ; preds = %5
ret void
}
declare i32 @printf(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwr96bz_d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrintChars(i64 noundef %0, i8 noundef signext %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i8, align 1
store i64 %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%5 = load i64, ptr %3, align 8
%6 = icmp ugt i64 %5, 0
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %2
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i8, ptr %4, align 1
%9 = call i32 @printf(ptr noundef @.str, i8 noundef signext %8)
%10 = load i64, ptr %3, align 8
%11 = add i64 %10, -1
store i64 %11, ptr %3, align 8
%12 = load i64, ptr %3, align 8
%13 = icmp ugt i64 %12, 0
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %14
14: ; preds = %._crit_edge, %2
ret void
}
declare i32 @printf(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"}
|
; ModuleID = '/tmp/tmp6vvwrr6r.c'
source_filename = "/tmp/tmp6vvwrr6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(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
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @bcopy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
ret ptr %11
}
declare i32 @bcopy(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/tmp6vvwrr6r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memmove(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
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @bcopy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
ret ptr %11
}
declare i32 @bcopy(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/tmpqjz7n3j7.c'
source_filename = "/tmp/tmpqjz7n3j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqjz7n3j7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = dso_local global double 0.000000e+00, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_bsa6pe7.c'
source_filename = "/tmp/tmp_bsa6pe7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_bsa6pe7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6rlmeaj2.c'
source_filename = "/tmp/tmp6rlmeaj2.c"
target datalayout = "e-m:e-p270: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/tmp6rlmeaj2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_vwo6cp5.c'
source_filename = "/tmp/tmp_vwo6cp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%zu bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"space for storing %zu elements\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 400, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, i64 noundef %5)
%7 = load i64, ptr %3, align 8
%8 = udiv i64 %7, 4
store i64 %8, ptr %4, align 8
%9 = load i64, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str.1, i64 noundef %9)
ret i32 0
}
declare i32 @printf(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/tmp_vwo6cp5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"%zu bytes\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"space for storing %zu elements\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i32], align 16
%3 = alloca i64, align 8
%4 = alloca i64, align 8
store i32 0, ptr %1, align 4
store i64 400, ptr %3, align 8
%5 = load i64, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, i64 noundef %5)
%7 = load i64, ptr %3, align 8
%8 = udiv i64 %7, 4
store i64 %8, ptr %4, align 8
%9 = load i64, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str.1, i64 noundef %9)
ret i32 0
}
declare i32 @printf(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/tmpdbwqrhhc.c'
source_filename = "/tmp/tmpdbwqrhhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdbwqrhhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuo7go0qp.c'
source_filename = "/tmp/tmpuo7go0qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @impair(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = sub i32 %8, 1
%10 = call i32 @pair(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @pair(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/tmpuo7go0qp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @impair(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, 0
br i1 %5, label %6, label %7
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %11
7: ; preds = %1
%8 = load i32, ptr %3, align 4
%9 = sub i32 %8, 1
%10 = call i32 @pair(i32 noundef %9)
store i32 %10, ptr %2, align 4
br label %11
11: ; preds = %7, %6
%12 = load i32, ptr %2, align 4
ret i32 %12
}
declare i32 @pair(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/tmplhpaauiv.c'
source_filename = "/tmp/tmplhpaauiv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_floor(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @float_to_int(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = fcmp olt float %5, 0.000000e+00
%7 = zext i1 %6 to i64
%8 = select i1 %6, i32 1, i32 0
%9 = sub nsw i32 %4, %8
ret i32 %9
}
declare i32 @float_to_int(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplhpaauiv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_floor(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call i32 @float_to_int(float noundef %3)
%5 = load float, ptr %2, align 4
%6 = fcmp olt float %5, 0.000000e+00
%7 = zext i1 %6 to i64
%8 = select i1 %6, i32 1, i32 0
%9 = sub nsw i32 %4, %8
ret i32 %9
}
declare i32 @float_to_int(float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmgti_wgm.c'
source_filename = "/tmp/tmpmgti_wgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %13, %0
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = icmp eq i32 %4, 1
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = icmp eq i32 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %6
br label %14
10: ; preds = %6
%11 = load i32, ptr %2, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
br label %13
13: ; preds = %10
br label %3, !llvm.loop !6
14: ; preds = %9, %3
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmgti_wgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%4 = icmp eq i32 %3, 1
br i1 %4, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %12
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 0
br i1 %7, label %8, label %9
8: ; preds = %5
br label %15
9: ; preds = %5
%10 = load i32, ptr %2, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
br label %12
12: ; preds = %9
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%14 = icmp eq i32 %13, 1
br i1 %14, label %5, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %12
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %15
15: ; preds = %.loopexit, %8
%16 = load i32, ptr %1, align 4
ret i32 %16
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmppymtb80b.c'
source_filename = "/tmp/tmppymtb80b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid port %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @validate_port(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = zext i16 %3 to i32
%5 = icmp sle i32 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i16, ptr %2, align 2
%8 = zext i16 %7 to i32
%9 = icmp sgt i32 %8, 65535
br i1 %9, label %10, label %14
10: ; preds = %6, %1
%11 = load i16, ptr %2, align 2
%12 = call i32 @printf(ptr noundef @.str, i16 noundef zeroext %11)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %6
%15 = load i16, ptr %2, align 2
ret i16 %15
}
declare i32 @printf(ptr noundef, i16 noundef zeroext) #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/tmppymtb80b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Invalid port %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i16 @validate_port(i16 noundef zeroext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = zext i16 %3 to i32
%5 = icmp sle i32 %4, 0
br i1 %5, label %10, label %6
6: ; preds = %1
%7 = load i16, ptr %2, align 2
%8 = zext i16 %7 to i32
%9 = icmp sgt i32 %8, 65535
br i1 %9, label %10, label %14
10: ; preds = %6, %1
%11 = load i16, ptr %2, align 2
%12 = call i32 @printf(ptr noundef @.str, i16 noundef zeroext %11)
%13 = call i32 @exit(i32 noundef -1) #3
unreachable
14: ; preds = %6
%15 = load i16, ptr %2, align 2
ret i16 %15
}
declare i32 @printf(ptr noundef, i16 noundef zeroext) #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/tmp0hvo3tjs.c'
source_filename = "/tmp/tmp0hvo3tjs.c"
target datalayout = "e-m:e-p270: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/tmp0hvo3tjs.c"
target datalayout = "e-m:e-p270: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/tmp1eh8l538.c'
source_filename = "/tmp/tmp1eh8l538.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"openflights.db\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Can't open database: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [304 x i8] c"select count(a.Airline_ID) from airlines a where a.ICAO = '\\N' or a.IATA = '\\N' or a.Callsign = '\\N' or a.Country = '\\N' and a.Airline_ID in (select distinct r.Airline_ID from routes r, routes r1 where r.Source_airport_ID = r1.Destination_airport_ID and r.Destination_airport_ID = r1.Source_airport_ID);\00", align 1
@SQLITE_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1
@SQLITE_ROW = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [4 x i8] c"%s|\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 @sqlite3_open(ptr noundef @.str, ptr noundef %6)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %6, align 8
%17 = call ptr @sqlite3_errmsg(ptr noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @sqlite3_close(ptr noundef %19)
store i32 1, ptr %3, align 4
br label %65
21: ; preds = %2
store ptr @.str.2, ptr %9, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %9, align 8
%24 = call i32 @sqlite3_prepare_v2(ptr noundef %22, ptr noundef %23, i32 noundef -1, ptr noundef %7, i32 noundef 0)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr @SQLITE_OK, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %35
28: ; preds = %21
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %6, align 8
%31 = call ptr @sqlite3_errmsg(ptr noundef %30)
%32 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3, ptr noundef %31)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @sqlite3_close(ptr noundef %33)
store i32 1, ptr %3, align 4
br label %65
35: ; preds = %21
br label %36
36: ; preds = %56, %35
%37 = load ptr, ptr %7, align 8
%38 = call i32 @sqlite3_step(ptr noundef %37)
store i32 %38, ptr %8, align 4
%39 = load i32, ptr @SQLITE_ROW, align 4
%40 = icmp eq i32 %38, %39
br i1 %40, label %41, label %62
41: ; preds = %36
store i32 0, ptr %10, align 4
br label %42
42: ; preds = %53, %41
%43 = load i32, ptr %10, align 4
%44 = load ptr, ptr %7, align 8
%45 = call i32 @sqlite3_column_count(ptr noundef %44)
%46 = sub nsw i32 %45, 1
%47 = icmp slt i32 %43, %46
br i1 %47, label %48, label %56
48: ; preds = %42
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %10, align 4
%51 = call ptr @sqlite3_column_text(ptr noundef %49, i32 noundef %50)
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %51)
br label %53
53: ; preds = %48
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
br label %42, !llvm.loop !6
56: ; preds = %42
%57 = load ptr, ptr %7, align 8
%58 = load i32, ptr %10, align 4
%59 = call ptr @sqlite3_column_text(ptr noundef %57, i32 noundef %58)
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %59)
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %36, !llvm.loop !8
62: ; preds = %36
%63 = load ptr, ptr %7, align 8
%64 = call i32 @sqlite3_finalize(ptr noundef %63)
br label %65
65: ; preds = %62, %28, %14
%66 = load i32, ptr %3, align 4
ret i32 %66
}
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @sqlite3_errmsg(ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_column_count(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1
declare i32 @sqlite3_finalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp1eh8l538.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"openflights.db\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Can't open database: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [304 x i8] c"select count(a.Airline_ID) from airlines a where a.ICAO = '\\N' or a.IATA = '\\N' or a.Callsign = '\\N' or a.Country = '\\N' and a.Airline_ID in (select distinct r.Airline_ID from routes r, routes r1 where r.Source_airport_ID = r1.Destination_airport_ID and r.Destination_airport_ID = r1.Source_airport_ID);\00", align 1
@SQLITE_OK = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [24 x i8] c"Preparation failed: %s\0A\00", align 1
@SQLITE_ROW = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [4 x i8] c"%s|\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 @sqlite3_open(ptr noundef @.str, ptr noundef %6)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %2
%15 = load i32, ptr @stderr, align 4
%16 = load ptr, ptr %6, align 8
%17 = call ptr @sqlite3_errmsg(ptr noundef %16)
%18 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.1, ptr noundef %17)
%19 = load ptr, ptr %6, align 8
%20 = call i32 @sqlite3_close(ptr noundef %19)
store i32 1, ptr %3, align 4
br label %72
21: ; preds = %2
store ptr @.str.2, ptr %9, align 8
%22 = load ptr, ptr %6, align 8
%23 = load ptr, ptr %9, align 8
%24 = call i32 @sqlite3_prepare_v2(ptr noundef %22, ptr noundef %23, i32 noundef -1, ptr noundef %7, i32 noundef 0)
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr @SQLITE_OK, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %35
28: ; preds = %21
%29 = load i32, ptr @stderr, align 4
%30 = load ptr, ptr %6, align 8
%31 = call ptr @sqlite3_errmsg(ptr noundef %30)
%32 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str.3, ptr noundef %31)
%33 = load ptr, ptr %6, align 8
%34 = call i32 @sqlite3_close(ptr noundef %33)
store i32 1, ptr %3, align 4
br label %72
35: ; preds = %21
%36 = load ptr, ptr %7, align 8
%37 = call i32 @sqlite3_step(ptr noundef %36)
store i32 %37, ptr %8, align 4
%38 = load i32, ptr @SQLITE_ROW, align 4
%39 = icmp eq i32 %37, %38
br i1 %39, label %.lr.ph2, label %69
.lr.ph2: ; preds = %35
br label %40
40: ; preds = %.lr.ph2, %59
store i32 0, ptr %10, align 4
%41 = load i32, ptr %10, align 4
%42 = load ptr, ptr %7, align 8
%43 = call i32 @sqlite3_column_count(ptr noundef %42)
%44 = sub nsw i32 %43, 1
%45 = icmp slt i32 %41, %44
br i1 %45, label %.lr.ph, label %59
.lr.ph: ; preds = %40
br label %46
46: ; preds = %.lr.ph, %51
%47 = load ptr, ptr %7, align 8
%48 = load i32, ptr %10, align 4
%49 = call ptr @sqlite3_column_text(ptr noundef %47, i32 noundef %48)
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %49)
br label %51
51: ; preds = %46
%52 = load i32, ptr %10, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %10, align 4
%54 = load i32, ptr %10, align 4
%55 = load ptr, ptr %7, align 8
%56 = call i32 @sqlite3_column_count(ptr noundef %55)
%57 = sub nsw i32 %56, 1
%58 = icmp slt i32 %54, %57
br i1 %58, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %59
59: ; preds = %._crit_edge, %40
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %10, align 4
%62 = call ptr @sqlite3_column_text(ptr noundef %60, i32 noundef %61)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %62)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%65 = load ptr, ptr %7, align 8
%66 = call i32 @sqlite3_step(ptr noundef %65)
store i32 %66, ptr %8, align 4
%67 = load i32, ptr @SQLITE_ROW, align 4
%68 = icmp eq i32 %66, %67
br i1 %68, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %69
69: ; preds = %._crit_edge3, %35
%70 = load ptr, ptr %7, align 8
%71 = call i32 @sqlite3_finalize(ptr noundef %70)
br label %72
72: ; preds = %69, %28, %14
%73 = load i32, ptr %3, align 4
ret i32 %73
}
declare i32 @sqlite3_open(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @sqlite3_errmsg(ptr noundef) #1
declare i32 @sqlite3_close(ptr noundef) #1
declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @sqlite3_step(ptr noundef) #1
declare i32 @sqlite3_column_count(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @sqlite3_column_text(ptr noundef, i32 noundef) #1
declare i32 @sqlite3_finalize(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbmmy03zc.c'
source_filename = "/tmp/tmpbmmy03zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parMergeSort(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%21 = call i32 (...) @omp_get_max_threads()
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
store i32 %22, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %23
23: ; preds = %27, %3
%24 = load i32, ptr %9, align 4
%25 = ashr i32 %24, 1
store i32 %25, ptr %9, align 4
%26 = icmp ne i32 %25, 0
br i1 %26, label %27, label %30
27: ; preds = %23
%28 = load i32, ptr %10, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %10, align 4
br label %23, !llvm.loop !6
30: ; preds = %23
%31 = call i32 (...) @omp_get_thread_num()
store i32 %31, ptr %11, align 4
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %7, align 4
%34 = mul nsw i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = sdiv i32 %34, %35
store i32 %36, ptr %12, align 4
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %37, 1
%39 = load i32, ptr %7, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %8, align 4
%42 = sdiv i32 %40, %41
store i32 %42, ptr %13, align 4
%43 = load ptr, ptr %5, align 8
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr %13, align 4
%46 = load ptr, ptr %6, align 8
%47 = call i32 @mergeSort(ptr noundef %43, i32 noundef %44, i32 noundef %45, ptr noundef %46)
store i32 1, ptr %14, align 4
store i32 1, ptr %15, align 4
br label %48
48: ; preds = %88, %30
%49 = load i32, ptr %15, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %52, label %91
52: ; preds = %48
%53 = call i32 @swap(ptr noundef %5, ptr noundef %6)
%54 = load i32, ptr %14, align 4
%55 = load i32, ptr %7, align 4
%56 = mul nsw i32 %54, %55
%57 = load i32, ptr %8, align 4
%58 = sdiv i32 %56, %57
store i32 %58, ptr %16, align 4
%59 = load i32, ptr %14, align 4
%60 = mul nsw i32 %59, 2
store i32 %60, ptr %14, align 4
%61 = load i32, ptr %11, align 4
%62 = load i32, ptr %14, align 4
%63 = sdiv i32 %61, %62
%64 = load i32, ptr %14, align 4
%65 = mul nsw i32 %63, %64
store i32 %65, ptr %17, align 4
%66 = load i32, ptr %17, align 4
%67 = load i32, ptr %7, align 4
%68 = mul nsw i32 %66, %67
%69 = load i32, ptr %8, align 4
%70 = sdiv i32 %68, %69
store i32 %70, ptr %18, align 4
%71 = load i32, ptr %18, align 4
%72 = load i32, ptr %16, align 4
%73 = add nsw i32 %71, %72
store i32 %73, ptr %19, align 4
%74 = load i32, ptr %19, align 4
%75 = load i32, ptr %16, align 4
%76 = add nsw i32 %74, %75
%77 = sub nsw i32 %76, 1
store i32 %77, ptr %20, align 4
%78 = load ptr, ptr %5, align 8
%79 = load i32, ptr %18, align 4
%80 = load i32, ptr %19, align 4
%81 = load i32, ptr %20, align 4
%82 = load ptr, ptr %6, align 8
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %14, align 4
%85 = load i32, ptr %11, align 4
%86 = load i32, ptr %8, align 4
%87 = call i32 @spmdMerge(ptr noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef %81, ptr noundef %82, i32 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86)
br label %88
88: ; preds = %52
%89 = load i32, ptr %15, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %15, align 4
br label %48, !llvm.loop !8
91: ; preds = %48
%92 = load i32, ptr %10, align 4
%93 = srem i32 %92, 2
%94 = icmp ne i32 %93, 0
br i1 %94, label %95, label %97
95: ; preds = %91
%96 = load ptr, ptr %5, align 8
store ptr %96, ptr %4, align 8
br label %99
97: ; preds = %91
%98 = load ptr, ptr %6, align 8
store ptr %98, ptr %4, align 8
br label %99
99: ; preds = %97, %95
%100 = load ptr, ptr %4, align 8
ret ptr %100
}
declare i32 @omp_get_max_threads(...) #1
declare i32 @omp_get_thread_num(...) #1
declare i32 @mergeSort(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
declare i32 @spmdMerge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbmmy03zc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parMergeSort(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%21 = call i32 (...) @omp_get_max_threads()
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
store i32 %22, ptr %9, align 4
store i32 0, ptr %10, align 4
%23 = load i32, ptr %9, align 4
%24 = ashr i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %26
26: ; preds = %.lr.ph, %26
%27 = load i32, ptr %10, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %10, align 4
%29 = load i32, ptr %9, align 4
%30 = ashr i32 %29, 1
store i32 %30, ptr %9, align 4
%31 = icmp ne i32 %30, 0
br i1 %31, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %32
32: ; preds = %._crit_edge, %3
%33 = call i32 (...) @omp_get_thread_num()
store i32 %33, ptr %11, align 4
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %7, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %8, align 4
%38 = sdiv i32 %36, %37
store i32 %38, ptr %12, align 4
%39 = load i32, ptr %11, align 4
%40 = add nsw i32 %39, 1
%41 = load i32, ptr %7, align 4
%42 = mul nsw i32 %40, %41
%43 = load i32, ptr %8, align 4
%44 = sdiv i32 %42, %43
store i32 %44, ptr %13, align 4
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %12, align 4
%47 = load i32, ptr %13, align 4
%48 = load ptr, ptr %6, align 8
%49 = call i32 @mergeSort(ptr noundef %45, i32 noundef %46, i32 noundef %47, ptr noundef %48)
store i32 1, ptr %14, align 4
store i32 1, ptr %15, align 4
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %10, align 4
%52 = icmp sle i32 %50, %51
br i1 %52, label %.lr.ph2, label %95
.lr.ph2: ; preds = %32
br label %53
53: ; preds = %.lr.ph2, %89
%54 = call i32 @swap(ptr noundef %5, ptr noundef %6)
%55 = load i32, ptr %14, align 4
%56 = load i32, ptr %7, align 4
%57 = mul nsw i32 %55, %56
%58 = load i32, ptr %8, align 4
%59 = sdiv i32 %57, %58
store i32 %59, ptr %16, align 4
%60 = load i32, ptr %14, align 4
%61 = mul nsw i32 %60, 2
store i32 %61, ptr %14, align 4
%62 = load i32, ptr %11, align 4
%63 = load i32, ptr %14, align 4
%64 = sdiv i32 %62, %63
%65 = load i32, ptr %14, align 4
%66 = mul nsw i32 %64, %65
store i32 %66, ptr %17, align 4
%67 = load i32, ptr %17, align 4
%68 = load i32, ptr %7, align 4
%69 = mul nsw i32 %67, %68
%70 = load i32, ptr %8, align 4
%71 = sdiv i32 %69, %70
store i32 %71, ptr %18, align 4
%72 = load i32, ptr %18, align 4
%73 = load i32, ptr %16, align 4
%74 = add nsw i32 %72, %73
store i32 %74, ptr %19, align 4
%75 = load i32, ptr %19, align 4
%76 = load i32, ptr %16, align 4
%77 = add nsw i32 %75, %76
%78 = sub nsw i32 %77, 1
store i32 %78, ptr %20, align 4
%79 = load ptr, ptr %5, align 8
%80 = load i32, ptr %18, align 4
%81 = load i32, ptr %19, align 4
%82 = load i32, ptr %20, align 4
%83 = load ptr, ptr %6, align 8
%84 = load i32, ptr %7, align 4
%85 = load i32, ptr %14, align 4
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %8, align 4
%88 = call i32 @spmdMerge(ptr noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef %82, ptr noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86, i32 noundef %87)
br label %89
89: ; preds = %53
%90 = load i32, ptr %15, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %15, align 4
%92 = load i32, ptr %15, align 4
%93 = load i32, ptr %10, align 4
%94 = icmp sle i32 %92, %93
br i1 %94, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %89
br label %95
95: ; preds = %._crit_edge3, %32
%96 = load i32, ptr %10, align 4
%97 = srem i32 %96, 2
%98 = icmp ne i32 %97, 0
br i1 %98, label %99, label %101
99: ; preds = %95
%100 = load ptr, ptr %5, align 8
store ptr %100, ptr %4, align 8
br label %103
101: ; preds = %95
%102 = load ptr, ptr %6, align 8
store ptr %102, ptr %4, align 8
br label %103
103: ; preds = %101, %99
%104 = load ptr, ptr %4, align 8
ret ptr %104
}
declare i32 @omp_get_max_threads(...) #1
declare i32 @omp_get_thread_num(...) #1
declare i32 @mergeSort(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @swap(ptr noundef, ptr noundef) #1
declare i32 @spmdMerge(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2qgz3aiq.c'
source_filename = "/tmp/tmp2qgz3aiq.c"
target datalayout = "e-m:e-p270: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/tmp2qgz3aiq.c"
target datalayout = "e-m:e-p270: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/tmpqxk4qdfq.c'
source_filename = "/tmp/tmpqxk4qdfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Failed to write private key\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_private_key(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @BIO_s_file()
%9 = call ptr @BIO_new(i32 noundef %8)
store ptr %9, ptr %6, align 8
store ptr null, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i64 @BIO_write_filename(ptr noundef %10, ptr noundef %11)
%13 = icmp sle i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i64 @PEM_write_bio_PrivateKey(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef null)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %14, %2
%21 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %25
22: ; preds = %14
%23 = load ptr, ptr %6, align 8
%24 = call i32 @BIO_free_all(ptr noundef %23)
store i32 1, ptr %3, align 4
br label %25
25: ; preds = %22, %20
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_file(...) #1
declare i64 @BIO_write_filename(ptr noundef, ptr noundef) #1
declare i64 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqxk4qdfq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"Failed to write private key\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @write_private_key(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%8 = call i32 (...) @BIO_s_file()
%9 = call ptr @BIO_new(i32 noundef %8)
store ptr %9, ptr %6, align 8
store ptr null, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %5, align 8
%12 = call i64 @BIO_write_filename(ptr noundef %10, ptr noundef %11)
%13 = icmp sle i64 %12, 0
br i1 %13, label %20, label %14
14: ; preds = %2
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %4, align 8
%17 = load ptr, ptr %7, align 8
%18 = call i64 @PEM_write_bio_PrivateKey(ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef null, i32 noundef 0, ptr noundef null, ptr noundef null)
%19 = icmp eq i64 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %14, %2
%21 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %25
22: ; preds = %14
%23 = load ptr, ptr %6, align 8
%24 = call i32 @BIO_free_all(ptr noundef %23)
store i32 1, ptr %3, align 4
br label %25
25: ; preds = %22, %20
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare ptr @BIO_new(i32 noundef) #1
declare i32 @BIO_s_file(...) #1
declare i64 @BIO_write_filename(ptr noundef, ptr noundef) #1
declare i64 @PEM_write_bio_PrivateKey(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @BIO_free_all(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk01xnvjs.c'
source_filename = "/tmp/tmpk01xnvjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i8
store i8 %30, ptr %9, align 1
%31 = load i8, ptr %9, align 1
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33
store i8 %31, ptr %34, align 1
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp eq i32 %43, 165
br i1 %44, label %45, label %47
45: ; preds = %37
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %37
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
br label %49
49: ; preds = %52, %48
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
br label %49, !llvm.loop !8
61: ; preds = %49
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpk01xnvjs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca i8, align 1
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i8
store i8 %29, ptr %9, align 1
%30 = load i8, ptr %9, align 1
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32
store i8 %30, ptr %33, align 1
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%43 = load i8, ptr %42, align 1
%44 = zext i8 %43 to i32
%45 = icmp eq i32 %44, 165
br i1 %45, label %46, label %48
46: ; preds = %38
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %49
48: ; preds = %38
br label %49
49: ; preds = %48, %46
store i32 0, ptr %10, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %50, 1
br i1 %51, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %52
52: ; preds = %.lr.ph2, %52
%53 = load i32, ptr %10, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = zext i8 %56 to i32
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57)
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp slt i32 %61, 1
br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %63
63: ; preds = %._crit_edge3, %49
%64 = load i32, ptr %3, align 4
ret i32 %64
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmphvr4ivcr.c'
source_filename = "/tmp/tmphvr4ivcr.c"
target datalayout = "e-m:e-p270: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/tmphvr4ivcr.c"
target datalayout = "e-m:e-p270: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/tmpibbc40ce.c'
source_filename = "/tmp/tmpibbc40ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola mundo!\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/tmpibbc40ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola mundo!\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/tmpavtm66co.c'
source_filename = "/tmp/tmpavtm66co.c"
target datalayout = "e-m:e-p270: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/tmpavtm66co.c"
target datalayout = "e-m:e-p270: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/tmpmjr03szs.c'
source_filename = "/tmp/tmpmjr03szs.c"
target datalayout = "e-m:e-p270: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/tmpmjr03szs.c"
target datalayout = "e-m:e-p270: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/tmpp_uspnjc.c'
source_filename = "/tmp/tmpp_uspnjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count the md5hash for %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Should match:\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"\0990015098 3cd24fb0 d6963f7d 28e17f72\0A\00", align 1
@__const.bfd_test_md5hash.data = private unnamed_addr constant [9 x i8] c"Hi There\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count libhmac_md5 test 1\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"\099294727a 3638bb1c 13f48ef8 158bfc9d\0A\00", align 1
@__const.bfd_test_md5hash.key = private unnamed_addr constant [5 x i8] c"Jefe\00", align 1
@__const.bfd_test_md5hash.data.6 = private unnamed_addr constant [29 x i8] c"what do ya want for nothing?\00", align 16
@.str.7 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count libhmac_md5 test 2\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c"\09750c783e 6ab0b503 eaa86e31 0a5db738\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count libhmac_md5 test 3\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"\0956be3452 1d144c88 dbb8c733 f0e8b3f6\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bfd_test_md5hash() #0 {
%1 = alloca [16 x i8], align 16
%2 = alloca [16 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca [9 x i8], align 1
%5 = alloca i8, align 1
%6 = alloca [16 x i8], align 16
%7 = alloca [5 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [29 x i8], align 16
%10 = alloca i8, align 1
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca [50 x i8], align 16
%15 = alloca i8, align 1
%16 = alloca [16 x i8], align 16
%17 = call i32 @strlen(ptr noundef @.str)
%18 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @bfd_md5hash(ptr noundef @.str, i32 noundef %17, ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str)
%21 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0
%22 = call i32 @bfd_dump_data(ptr noundef %21, i32 noundef 16)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 16, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.bfd_test_md5hash.data, i64 9, i1 false)
store i8 8, ptr %5, align 1
%25 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @memset(ptr noundef %25, i32 noundef 11, i32 noundef 16)
%27 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%28 = load i8, ptr %5, align 1
%29 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @libhmac_md5(ptr noundef %27, i8 noundef zeroext %28, ptr noundef %29, i32 noundef %30, ptr noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%34 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%35 = call i32 @bfd_dump_data(ptr noundef %34, i32 noundef 16)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.bfd_test_md5hash.key, i64 5, i1 false)
store i32 4, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.bfd_test_md5hash.data.6, i64 29, i1 false)
store i8 28, ptr %10, align 1
%38 = getelementptr inbounds [29 x i8], ptr %9, i64 0, i64 0
%39 = load i8, ptr %10, align 1
%40 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0
%41 = load i32, ptr %8, align 4
%42 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%43 = call i32 @libhmac_md5(ptr noundef %38, i8 noundef zeroext %39, ptr noundef %40, i32 noundef %41, ptr noundef %42)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%45 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%46 = call i32 @bfd_dump_data(ptr noundef %45, i32 noundef 16)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 16, ptr %13, align 4
store i8 50, ptr %15, align 1
%49 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%50 = call i32 @memset(ptr noundef %49, i32 noundef 170, i32 noundef 16)
%51 = getelementptr inbounds [50 x i8], ptr %14, i64 0, i64 0
%52 = call i32 @memset(ptr noundef %51, i32 noundef 221, i32 noundef 50)
%53 = getelementptr inbounds [50 x i8], ptr %14, i64 0, i64 0
%54 = load i8, ptr %15, align 1
%55 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%56 = load i32, ptr %13, align 4
%57 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
%58 = call i32 @libhmac_md5(ptr noundef %53, i8 noundef zeroext %54, ptr noundef %55, i32 noundef %56, ptr noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%60 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
%61 = call i32 @bfd_dump_data(ptr noundef %60, i32 noundef 16)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret void
}
declare i32 @bfd_md5hash(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @bfd_dump_data(ptr noundef, i32 noundef) #1
; 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) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @libhmac_md5(ptr noundef, i8 noundef zeroext, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpp_uspnjc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abc\00", align 1
@.str.1 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count the md5hash for %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Should match:\0A\00", align 1
@.str.3 = private unnamed_addr constant [38 x i8] c"\0990015098 3cd24fb0 d6963f7d 28e17f72\0A\00", align 1
@__const.bfd_test_md5hash.data = private unnamed_addr constant [9 x i8] c"Hi There\00", align 1
@.str.4 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count libhmac_md5 test 1\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"\099294727a 3638bb1c 13f48ef8 158bfc9d\0A\00", align 1
@__const.bfd_test_md5hash.key = private unnamed_addr constant [5 x i8] c"Jefe\00", align 1
@__const.bfd_test_md5hash.data.6 = private unnamed_addr constant [29 x i8] c"what do ya want for nothing?\00", align 16
@.str.7 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count libhmac_md5 test 2\0A\00", align 1
@.str.8 = private unnamed_addr constant [38 x i8] c"\09750c783e 6ab0b503 eaa86e31 0a5db738\0A\00", align 1
@.str.9 = private unnamed_addr constant [44 x i8] c"bfd_test_md5hash: count libhmac_md5 test 3\0A\00", align 1
@.str.10 = private unnamed_addr constant [38 x i8] c"\0956be3452 1d144c88 dbb8c733 f0e8b3f6\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bfd_test_md5hash() #0 {
%1 = alloca [16 x i8], align 16
%2 = alloca [16 x i8], align 16
%3 = alloca i32, align 4
%4 = alloca [9 x i8], align 1
%5 = alloca i8, align 1
%6 = alloca [16 x i8], align 16
%7 = alloca [5 x i8], align 1
%8 = alloca i32, align 4
%9 = alloca [29 x i8], align 16
%10 = alloca i8, align 1
%11 = alloca [16 x i8], align 16
%12 = alloca [16 x i8], align 16
%13 = alloca i32, align 4
%14 = alloca [50 x i8], align 16
%15 = alloca i8, align 1
%16 = alloca [16 x i8], align 16
%17 = call i32 @strlen(ptr noundef @.str)
%18 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0
%19 = call i32 @bfd_md5hash(ptr noundef @.str, i32 noundef %17, ptr noundef %18)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @.str)
%21 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0
%22 = call i32 @bfd_dump_data(ptr noundef %21, i32 noundef 16)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 16, ptr %3, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.bfd_test_md5hash.data, i64 9, i1 false)
store i8 8, ptr %5, align 1
%25 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%26 = call i32 @memset(ptr noundef %25, i32 noundef 11, i32 noundef 16)
%27 = getelementptr inbounds [9 x i8], ptr %4, i64 0, i64 0
%28 = load i8, ptr %5, align 1
%29 = getelementptr inbounds [16 x i8], ptr %2, i64 0, i64 0
%30 = load i32, ptr %3, align 4
%31 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%32 = call i32 @libhmac_md5(ptr noundef %27, i8 noundef zeroext %28, ptr noundef %29, i32 noundef %30, ptr noundef %31)
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%34 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0
%35 = call i32 @bfd_dump_data(ptr noundef %34, i32 noundef 16)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %7, ptr align 1 @__const.bfd_test_md5hash.key, i64 5, i1 false)
store i32 4, ptr %8, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.bfd_test_md5hash.data.6, i64 29, i1 false)
store i8 28, ptr %10, align 1
%38 = getelementptr inbounds [29 x i8], ptr %9, i64 0, i64 0
%39 = load i8, ptr %10, align 1
%40 = getelementptr inbounds [5 x i8], ptr %7, i64 0, i64 0
%41 = load i32, ptr %8, align 4
%42 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%43 = call i32 @libhmac_md5(ptr noundef %38, i8 noundef zeroext %39, ptr noundef %40, i32 noundef %41, ptr noundef %42)
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%45 = getelementptr inbounds [16 x i8], ptr %11, i64 0, i64 0
%46 = call i32 @bfd_dump_data(ptr noundef %45, i32 noundef 16)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
store i32 16, ptr %13, align 4
store i8 50, ptr %15, align 1
%49 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%50 = call i32 @memset(ptr noundef %49, i32 noundef 170, i32 noundef 16)
%51 = getelementptr inbounds [50 x i8], ptr %14, i64 0, i64 0
%52 = call i32 @memset(ptr noundef %51, i32 noundef 221, i32 noundef 50)
%53 = getelementptr inbounds [50 x i8], ptr %14, i64 0, i64 0
%54 = load i8, ptr %15, align 1
%55 = getelementptr inbounds [16 x i8], ptr %12, i64 0, i64 0
%56 = load i32, ptr %13, align 4
%57 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
%58 = call i32 @libhmac_md5(ptr noundef %53, i8 noundef zeroext %54, ptr noundef %55, i32 noundef %56, ptr noundef %57)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%60 = getelementptr inbounds [16 x i8], ptr %16, i64 0, i64 0
%61 = call i32 @bfd_dump_data(ptr noundef %60, i32 noundef 16)
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
ret void
}
declare i32 @bfd_md5hash(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @bfd_dump_data(ptr noundef, i32 noundef) #1
; 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) #2
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @libhmac_md5(ptr noundef, i8 noundef zeroext, ptr noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpk8tvbmb3.c'
source_filename = "/tmp/tmpk8tvbmb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"base=%d width=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"---------------------------------\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"time used: %f\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.5 = private unnamed_addr constant [26 x i8] c"number of solutions: %d\0A\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 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 %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %33, %0
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %36
13: ; preds = %9
%14 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6)
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %16)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%19 = call i64 (...) @clock()
store i64 %19, ptr %2, align 8
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %6, align 4
%22 = call i32 @abcdefghppp(i32 noundef %20, i32 noundef %21)
store i32 %22, ptr %7, align 4
%23 = call i64 (...) @clock()
%24 = load i64, ptr %2, align 8
%25 = sub nsw i64 %23, %24
store i64 %25, ptr %2, align 8
%26 = load i64, ptr %2, align 8
%27 = sitofp i64 %26 to double
%28 = load double, ptr @CLOCKS_PER_SEC, align 8
%29 = fdiv double %27, %28
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %29)
%31 = load i32, ptr %7, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %31)
br label %33
33: ; preds = %13
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %9, !llvm.loop !6
36: ; preds = %9
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @clock(...) #1
declare i32 @abcdefghppp(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/tmpk8tvbmb3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"base=%d width=%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [35 x i8] c"---------------------------------\0A\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"time used: %f\0A\00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.5 = private unnamed_addr constant [26 x i8] c"number of solutions: %d\0A\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 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 %1, align 4
%8 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %3)
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %38
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %32
%13 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6)
%14 = load i32, ptr %5, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%18 = call i64 (...) @clock()
store i64 %18, ptr %2, align 8
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = call i32 @abcdefghppp(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %7, align 4
%22 = call i64 (...) @clock()
%23 = load i64, ptr %2, align 8
%24 = sub nsw i64 %22, %23
store i64 %24, ptr %2, align 8
%25 = load i64, ptr %2, align 8
%26 = sitofp i64 %25 to double
%27 = load double, ptr @CLOCKS_PER_SEC, align 8
%28 = fdiv double %26, %27
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28)
%30 = load i32, ptr %7, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %30)
br label %32
32: ; preds = %12
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @clock(...) #1
declare i32 @abcdefghppp(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/tmpvqwd181t.c'
source_filename = "/tmp/tmpvqwd181t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlwr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
br label %5
5: ; preds = %9, %1
%6 = load ptr, ptr %3, align 8
%7 = load i8, ptr %6, align 1
%8 = icmp ne i8 %7, 0
br i1 %8, label %9, label %16
9: ; preds = %5
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call zeroext i8 @tolower(i8 noundef zeroext %11)
%13 = load ptr, ptr %3, align 8
store i8 %12, ptr %13, align 1
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %3, align 8
br label %5, !llvm.loop !6
16: ; preds = %5
%17 = load ptr, ptr %2, align 8
ret ptr %17
}
declare zeroext i8 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvqwd181t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlwr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i8, ptr %5, align 1
%7 = icmp ne i8 %6, 0
br i1 %7, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = call zeroext i8 @tolower(i8 noundef zeroext %10)
%12 = load ptr, ptr %3, align 8
store i8 %11, ptr %12, align 1
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i32 1
store ptr %14, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %18
18: ; preds = %._crit_edge, %1
%19 = load ptr, ptr %2, align 8
ret ptr %19
}
declare zeroext i8 @tolower(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfy2vx1pb.c'
source_filename = "/tmp/tmpfy2vx1pb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i64], align 16
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 2048, i1 false)
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strtok(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strtol(ptr noundef %12, ptr noundef %8, i32 noundef 16)
store i64 %13, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %9, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [256 x i64], ptr %6, i64 0, i64 %17
store i64 %14, ptr %18, align 8
br label %19
19: ; preds = %27, %26, %2
%20 = load ptr, ptr %5, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %35
22: ; preds = %19
%23 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %23, ptr %5, align 8
%24 = load ptr, ptr %5, align 8
%25 = icmp eq ptr %24, null
br i1 %25, label %26, label %27
26: ; preds = %22
br label %19, !llvm.loop !6
27: ; preds = %22
%28 = load ptr, ptr %5, align 8
%29 = call i64 @strtol(ptr noundef %28, ptr noundef %8, i32 noundef 16)
store i64 %29, ptr %7, align 8
%30 = load i64, ptr %7, align 8
%31 = load i32, ptr %9, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %9, align 4
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds [256 x i64], ptr %6, i64 0, i64 %33
store i64 %30, ptr %34, align 8
br label %19, !llvm.loop !6
35: ; preds = %19
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds [256 x i64], ptr %6, i64 0, i64 0
%38 = call i32 @memcpy(ptr noundef %36, ptr noundef %37, i32 noundef 2048)
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 ptr @strtok(ptr noundef, ptr noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfy2vx1pb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @parse(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca [256 x i64], align 16
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 2048, i1 false)
store i32 0, ptr %9, align 4
%10 = load ptr, ptr %3, align 8
%11 = call ptr @strtok(ptr noundef %10, ptr noundef @.str)
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i64 @strtol(ptr noundef %12, ptr noundef %8, i32 noundef 16)
store i64 %13, ptr %7, align 8
%14 = load i64, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %9, align 4
%17 = sext i32 %15 to i64
%18 = getelementptr inbounds [256 x i64], ptr %6, i64 0, i64 %17
store i64 %14, ptr %18, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %36
.lr.ph: ; preds = %2
br label %21
21: ; preds = %.lr.ph, %.backedge
%22 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %5, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %28
25: ; preds = %21
br label %.backedge
.backedge: ; preds = %25, %28
%26 = load ptr, ptr %5, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %21, label %._crit_edge, !llvm.loop !6
28: ; preds = %21
%29 = load ptr, ptr %5, align 8
%30 = call i64 @strtol(ptr noundef %29, ptr noundef %8, i32 noundef 16)
store i64 %30, ptr %7, align 8
%31 = load i64, ptr %7, align 8
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = sext i32 %32 to i64
%35 = getelementptr inbounds [256 x i64], ptr %6, i64 0, i64 %34
store i64 %31, ptr %35, align 8
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %36
36: ; preds = %._crit_edge, %2
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds [256 x i64], ptr %6, i64 0, i64 0
%39 = call i32 @memcpy(ptr noundef %37, ptr noundef %38, i32 noundef 2048)
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 ptr @strtok(ptr noundef, ptr noundef) #2
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoymdj0tj.c'
source_filename = "/tmp/tmpoymdj0tj.c"
target datalayout = "e-m:e-p270: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/tmpoymdj0tj.c"
target datalayout = "e-m:e-p270: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/tmpfxib0q03.c'
source_filename = "/tmp/tmpfxib0q03.c"
target datalayout = "e-m:e-p270: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/tmpfxib0q03.c"
target datalayout = "e-m:e-p270: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/tmptyubm_5o.c'
source_filename = "/tmp/tmptyubm_5o.c"
target datalayout = "e-m:e-p270: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/tmptyubm_5o.c"
target datalayout = "e-m:e-p270: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/tmpdkcetdpv.c'
source_filename = "/tmp/tmpdkcetdpv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dynCastToInt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @opaquePropertyCheck(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %2, align 8
br label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %10
10: ; preds = %9, %7
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare i64 @opaquePropertyCheck(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdkcetdpv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dynCastToInt(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call i64 @opaquePropertyCheck(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %9
7: ; preds = %1
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %2, align 8
br label %10
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %10
10: ; preds = %9, %7
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare i64 @opaquePropertyCheck(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdgz7ok2c.c'
source_filename = "/tmp/tmpdgz7ok2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_standard_trace_slice(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x double], align 16
store i32 %0, ptr %2, align 4
%5 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1
store double 0.000000e+00, ptr %5, align 8
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
store double -1.000000e+00, ptr %9, align 16
br label %12
10: ; preds = %1
%11 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
store double 1.000000e+00, ptr %11, align 16
br label %12
12: ; preds = %10, %8
%13 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%14 = call i32 @assign_coefficient_of_slice(i32 noundef 0, i32 noundef 0, ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @assign_coefficient_of_slice(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/tmpdgz7ok2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_standard_trace_slice(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x double], align 16
store i32 %0, ptr %2, align 4
%5 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 1
store double 0.000000e+00, ptr %5, align 8
%6 = load i32, ptr %2, align 4
%7 = icmp eq i32 %6, 1
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
store double -1.000000e+00, ptr %9, align 16
br label %12
10: ; preds = %1
%11 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
store double 1.000000e+00, ptr %11, align 16
br label %12
12: ; preds = %10, %8
%13 = getelementptr inbounds [2 x double], ptr %4, i64 0, i64 0
%14 = call i32 @assign_coefficient_of_slice(i32 noundef 0, i32 noundef 0, ptr noundef %13)
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @assign_coefficient_of_slice(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/tmpn49izarh.c'
source_filename = "/tmp/tmpn49izarh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_spellable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sgt i32 %5, 107
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn49izarh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_spellable(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp sgt i32 %5, 107
%7 = zext i1 %6 to i32
ret i32 %7
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwweol0ew.c'
source_filename = "/tmp/tmpwweol0ew.c"
target datalayout = "e-m:e-p270: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/tmpwweol0ew.c"
target datalayout = "e-m:e-p270: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/tmpa4n37h3j.c'
source_filename = "/tmp/tmpa4n37h3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Copy %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = ptrtoint ptr %12 to i32
%14 = load ptr, ptr %5, align 8
%15 = ptrtoint ptr %14 to i32
%16 = or i32 %13, %15
%17 = load i64, ptr %6, align 8
%18 = trunc i64 %17 to i32
%19 = or i32 %16, %18
%20 = and i32 %19, 3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %38
22: ; preds = %3
%23 = load i64, ptr %6, align 8
%24 = lshr i64 %23, 2
store i64 %24, ptr %6, align 8
%25 = load ptr, ptr %4, align 8
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %8, align 8
br label %27
27: ; preds = %31, %22
%28 = load i64, ptr %6, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %6, align 8
%30 = icmp ugt i64 %28, 0
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i32, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load i32, ptr %32, align 4
%35 = load ptr, ptr %7, align 8
%36 = getelementptr inbounds i32, ptr %35, i32 1
store ptr %36, ptr %7, align 8
store i32 %34, ptr %35, align 4
br label %27, !llvm.loop !6
37: ; preds = %27
br label %65
38: ; preds = %3
%39 = load ptr, ptr %4, align 8
store ptr %39, ptr %9, align 8
%40 = load ptr, ptr %5, align 8
store ptr %40, ptr %10, align 8
%41 = load ptr, ptr %10, align 8
%42 = load ptr, ptr %9, align 8
%43 = ptrtoint ptr %41 to i64
%44 = ptrtoint ptr %42 to i64
%45 = sub i64 %43, %44
%46 = trunc i64 %45 to i32
store i32 %46, ptr %11, align 4
%47 = load i64, ptr %6, align 8
%48 = call i32 @XIOdebug(ptr noundef @.str, i64 noundef %47)
br label %49
49: ; preds = %61, %38
%50 = load i64, ptr %6, align 8
%51 = add i64 %50, -1
store i64 %51, ptr %6, align 8
%52 = icmp ugt i64 %50, 0
br i1 %52, label %53, label %64
53: ; preds = %49
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %11, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = load ptr, ptr %9, align 8
%60 = getelementptr inbounds i8, ptr %59, i64 0
store i8 %58, ptr %60, align 1
br label %61
61: ; preds = %53
%62 = load ptr, ptr %9, align 8
%63 = getelementptr inbounds i8, ptr %62, i32 1
store ptr %63, ptr %9, align 8
br label %49, !llvm.loop !8
64: ; preds = %49
br label %65
65: ; preds = %64, %37
%66 = load ptr, ptr %4, align 8
ret ptr %66
}
declare i32 @XIOdebug(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa4n37h3j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Copy %d bytes\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @memcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%12 = load ptr, ptr %4, align 8
%13 = ptrtoint ptr %12 to i32
%14 = load ptr, ptr %5, align 8
%15 = ptrtoint ptr %14 to i32
%16 = or i32 %13, %15
%17 = load i64, ptr %6, align 8
%18 = trunc i64 %17 to i32
%19 = or i32 %16, %18
%20 = and i32 %19, 3
%21 = icmp eq i32 %20, 0
br i1 %21, label %22, label %40
22: ; preds = %3
%23 = load i64, ptr %6, align 8
%24 = lshr i64 %23, 2
store i64 %24, ptr %6, align 8
%25 = load ptr, ptr %4, align 8
store ptr %25, ptr %7, align 8
%26 = load ptr, ptr %5, align 8
store ptr %26, ptr %8, align 8
%27 = load i64, ptr %6, align 8
%28 = add i64 %27, -1
store i64 %28, ptr %6, align 8
%29 = icmp ugt i64 %27, 0
br i1 %29, label %.lr.ph2, label %39
.lr.ph2: ; preds = %22
br label %30
30: ; preds = %.lr.ph2, %30
%31 = load ptr, ptr %8, align 8
%32 = getelementptr inbounds i32, ptr %31, i32 1
store ptr %32, ptr %8, align 8
%33 = load i32, ptr %31, align 4
%34 = load ptr, ptr %7, align 8
%35 = getelementptr inbounds i32, ptr %34, i32 1
store ptr %35, ptr %7, align 8
store i32 %33, ptr %34, align 4
%36 = load i64, ptr %6, align 8
%37 = add i64 %36, -1
store i64 %37, ptr %6, align 8
%38 = icmp ugt i64 %36, 0
br i1 %38, label %30, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %30
br label %39
39: ; preds = %._crit_edge3, %22
br label %69
40: ; preds = %3
%41 = load ptr, ptr %4, align 8
store ptr %41, ptr %9, align 8
%42 = load ptr, ptr %5, align 8
store ptr %42, ptr %10, align 8
%43 = load ptr, ptr %10, align 8
%44 = load ptr, ptr %9, align 8
%45 = ptrtoint ptr %43 to i64
%46 = ptrtoint ptr %44 to i64
%47 = sub i64 %45, %46
%48 = trunc i64 %47 to i32
store i32 %48, ptr %11, align 4
%49 = load i64, ptr %6, align 8
%50 = call i32 @XIOdebug(ptr noundef @.str, i64 noundef %49)
%51 = load i64, ptr %6, align 8
%52 = add i64 %51, -1
store i64 %52, ptr %6, align 8
%53 = icmp ugt i64 %51, 0
br i1 %53, label %.lr.ph, label %68
.lr.ph: ; preds = %40
br label %54
54: ; preds = %.lr.ph, %62
%55 = load ptr, ptr %9, align 8
%56 = load i32, ptr %11, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = load ptr, ptr %9, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 0
store i8 %59, ptr %61, align 1
br label %62
62: ; preds = %54
%63 = load ptr, ptr %9, align 8
%64 = getelementptr inbounds i8, ptr %63, i32 1
store ptr %64, ptr %9, align 8
%65 = load i64, ptr %6, align 8
%66 = add i64 %65, -1
store i64 %66, ptr %6, align 8
%67 = icmp ugt i64 %65, 0
br i1 %67, label %54, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %40
br label %69
69: ; preds = %68, %39
%70 = load ptr, ptr %4, align 8
ret ptr %70
}
declare i32 @XIOdebug(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpo9wzv93r.c'
source_filename = "/tmp/tmpo9wzv93r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @longestConsec(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = icmp sle i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21, %17, %3
store ptr @.str, ptr %4, align 8
br label %90
25: ; preds = %21
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
br label %26
26: ; preds = %62, %25
%27 = load i32, ptr %10, align 4
%28 = load i32, ptr %6, align 4
%29 = load i32, ptr %7, align 4
%30 = sub nsw i32 %28, %29
%31 = add nsw i32 %30, 1
%32 = icmp slt i32 %27, %31
br i1 %32, label %33, label %65
33: ; preds = %26
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %34
34: ; preds = %51, %33
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %38, label %54
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %10, align 4
%41 = load i32, ptr %12, align 4
%42 = add nsw i32 %40, %41
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %39, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = call i64 @strlen(ptr noundef %45)
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = add nsw i64 %48, %46
%50 = trunc i64 %49 to i32
store i32 %50, ptr %11, align 4
br label %51
51: ; preds = %38
%52 = load i32, ptr %12, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %12, align 4
br label %34, !llvm.loop !6
54: ; preds = %34
%55 = load i32, ptr %11, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %54
%59 = load i32, ptr %11, align 4
store i32 %59, ptr %8, align 4
%60 = load i32, ptr %10, align 4
store i32 %60, ptr %9, align 4
br label %61
61: ; preds = %58, %54
br label %62
62: ; preds = %61
%63 = load i32, ptr %10, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %10, align 4
br label %26, !llvm.loop !8
65: ; preds = %26
%66 = load i32, ptr %8, align 4
%67 = add nsw i32 %66, 1
%68 = call ptr @malloc(i32 noundef %67)
store ptr %68, ptr %13, align 8
%69 = load ptr, ptr %13, align 8
%70 = call i32 @strcpy(ptr noundef %69, ptr noundef @.str)
store i32 0, ptr %14, align 4
br label %71
71: ; preds = %85, %65
%72 = load i32, ptr %14, align 4
%73 = load i32, ptr %7, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %75, label %88
75: ; preds = %71
%76 = load ptr, ptr %13, align 8
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %9, align 4
%79 = load i32, ptr %14, align 4
%80 = add nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds ptr, ptr %77, i64 %81
%83 = load ptr, ptr %82, align 8
%84 = call i32 @strcat(ptr noundef %76, ptr noundef %83)
br label %85
85: ; preds = %75
%86 = load i32, ptr %14, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %14, align 4
br label %71, !llvm.loop !9
88: ; preds = %71
%89 = load ptr, ptr %13, align 8
store ptr %89, ptr %4, align 8
br label %90
90: ; preds = %88, %24
%91 = load ptr, ptr %4, align 8
ret ptr %91
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo9wzv93r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @longestConsec(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %24, label %17
17: ; preds = %3
%18 = load i32, ptr %7, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp sgt i32 %18, %19
br i1 %20, label %24, label %21
21: ; preds = %17
%22 = load i32, ptr %7, align 4
%23 = icmp sle i32 %22, 0
br i1 %23, label %24, label %25
24: ; preds = %21, %17, %3
store ptr @.str, ptr %4, align 8
br label %99
25: ; preds = %21
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %6, align 4
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %27, %28
%30 = add nsw i32 %29, 1
%31 = icmp slt i32 %26, %30
br i1 %31, label %.lr.ph2, label %72
.lr.ph2: ; preds = %25
br label %32
32: ; preds = %.lr.ph2, %63
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%33 = load i32, ptr %12, align 4
%34 = load i32, ptr %7, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph, label %55
.lr.ph: ; preds = %32
br label %36
36: ; preds = %.lr.ph, %49
%37 = load ptr, ptr %5, align 8
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %12, align 4
%40 = add nsw i32 %38, %39
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %37, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = call i64 @strlen(ptr noundef %43)
%45 = load i32, ptr %11, align 4
%46 = sext i32 %45 to i64
%47 = add nsw i64 %46, %44
%48 = trunc i64 %47 to i32
store i32 %48, ptr %11, align 4
br label %49
49: ; preds = %36
%50 = load i32, ptr %12, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %12, align 4
%52 = load i32, ptr %12, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %32
%56 = load i32, ptr %11, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp sgt i32 %56, %57
br i1 %58, label %59, label %62
59: ; preds = %55
%60 = load i32, ptr %11, align 4
store i32 %60, ptr %8, align 4
%61 = load i32, ptr %10, align 4
store i32 %61, ptr %9, align 4
br label %62
62: ; preds = %59, %55
br label %63
63: ; preds = %62
%64 = load i32, ptr %10, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %10, align 4
%66 = load i32, ptr %10, align 4
%67 = load i32, ptr %6, align 4
%68 = load i32, ptr %7, align 4
%69 = sub nsw i32 %67, %68
%70 = add nsw i32 %69, 1
%71 = icmp slt i32 %66, %70
br i1 %71, label %32, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %63
br label %72
72: ; preds = %._crit_edge3, %25
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
%75 = call ptr @malloc(i32 noundef %74)
store ptr %75, ptr %13, align 8
%76 = load ptr, ptr %13, align 8
%77 = call i32 @strcpy(ptr noundef %76, ptr noundef @.str)
store i32 0, ptr %14, align 4
%78 = load i32, ptr %14, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %.lr.ph5, label %97
.lr.ph5: ; preds = %72
br label %81
81: ; preds = %.lr.ph5, %91
%82 = load ptr, ptr %13, align 8
%83 = load ptr, ptr %5, align 8
%84 = load i32, ptr %9, align 4
%85 = load i32, ptr %14, align 4
%86 = add nsw i32 %84, %85
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds ptr, ptr %83, i64 %87
%89 = load ptr, ptr %88, align 8
%90 = call i32 @strcat(ptr noundef %82, ptr noundef %89)
br label %91
91: ; preds = %81
%92 = load i32, ptr %14, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %14, align 4
%94 = load i32, ptr %14, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %81, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %91
br label %97
97: ; preds = %._crit_edge6, %72
%98 = load ptr, ptr %13, align 8
store ptr %98, ptr %4, align 8
br label %99
99: ; preds = %97, %24
%100 = load ptr, ptr %4, align 8
ret ptr %100
}
declare i64 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpy7a7apid.c'
source_filename = "/tmp/tmpy7a7apid.c"
target datalayout = "e-m:e-p270: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/tmpy7a7apid.c"
target datalayout = "e-m:e-p270: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/tmpdh95ubmh.c'
source_filename = "/tmp/tmpdh95ubmh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"result = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [20 x i32], align 16
%7 = alloca i32, align 4
%8 = 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
br label %9
9: ; preds = %26, %2
%10 = call i64 @scanf(ptr noundef @.str, ptr noundef %7)
%11 = load i64, ptr @EOF, align 8
%12 = icmp ne i64 %10, %11
br i1 %12, label %13, label %34
13: ; preds = %9
store i32 0, ptr %8, align 4
br label %14
14: ; preds = %23, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %7, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %26
18: ; preds = %14
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %20
%22 = call i64 @scanf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %18
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %8, align 4
br label %14, !llvm.loop !6
26: ; preds = %14
%27 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0
%28 = load i32, ptr %7, align 4
%29 = call i32 @print(ptr noundef %27, i32 noundef %28)
%30 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0
%31 = load i32, ptr %7, align 4
%32 = call i32 @rob(ptr noundef %30, i32 noundef %31)
%33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32)
br label %9, !llvm.loop !8
34: ; preds = %9
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @print(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rob(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdh95ubmh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [13 x i8] c"result = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [20 x i32], align 16
%7 = alloca i32, align 4
%8 = 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
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %7)
%10 = load i64, ptr @EOF, align 8
%11 = icmp ne i64 %9, %10
br i1 %11, label %.lr.ph2, label %38
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %27
store i32 0, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 %18
%20 = call i64 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %12
%28 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0
%29 = load i32, ptr %7, align 4
%30 = call i32 @print(ptr noundef %28, i32 noundef %29)
%31 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0
%32 = load i32, ptr %7, align 4
%33 = call i32 @rob(ptr noundef %31, i32 noundef %32)
%34 = call i32 @printf(ptr noundef @.str.1, i32 noundef %33)
%35 = call i64 @scanf(ptr noundef @.str, ptr noundef %7)
%36 = load i64, ptr @EOF, align 8
%37 = icmp ne i64 %35, %36
br i1 %37, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %38
38: ; preds = %._crit_edge3, %2
ret i32 0
}
declare i64 @scanf(ptr noundef, ptr noundef) #1
declare i32 @print(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @rob(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpeop6m8tu.c'
source_filename = "/tmp/tmpeop6m8tu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroy_pmask(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 @deinit_pmask(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @deinit_pmask(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeop6m8tu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @destroy_pmask(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 @deinit_pmask(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @free(ptr noundef %5)
ret void
}
declare i32 @deinit_pmask(ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbcw46v48.c'
source_filename = "/tmp/tmpbcw46v48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"EFGH\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%s, %d\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
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr @.str.1, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %11, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbcw46v48.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"ABCD\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"EFGH\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"%s, %d\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
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr null, ptr %3, align 8
store ptr @.str.1, ptr %4, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = load ptr, ptr %2, align 8
%10 = call i32 @strcpy(ptr noundef %8, ptr noundef %9)
%11 = load ptr, ptr %3, align 8
%12 = load ptr, ptr %3, align 8
%13 = call i32 @strlen(ptr noundef %12)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %11, i32 noundef %13)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4j2_i10y.c'
source_filename = "/tmp/tmp4j2_i10y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myrandom() #0 {
%1 = call i32 (...) @lrand48()
%2 = and i32 %1, -1
ret i32 %2
}
declare i32 @lrand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4j2_i10y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @myrandom() #0 {
%1 = call i32 (...) @lrand48()
%2 = and i32 %1, -1
ret i32 %2
}
declare i32 @lrand48(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvmxglp79.c'
source_filename = "/tmp/tmpvmxglp79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPPROTO_TCP = dso_local global i32 0, align 4
@TCP_NODELAY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pd_socket_tcp_nodelay(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @IPPROTO_TCP, align 4
%7 = load i32, ptr @TCP_NODELAY, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @pd_socket_int_option(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @pd_socket_int_option(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvmxglp79.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@IPPROTO_TCP = dso_local global i32 0, align 4
@TCP_NODELAY = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pd_socket_tcp_nodelay(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr @IPPROTO_TCP, align 4
%7 = load i32, ptr @TCP_NODELAY, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @pd_socket_int_option(ptr noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8)
ret i32 %9
}
declare i32 @pd_socket_int_option(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphc6m72us.c'
source_filename = "/tmp/tmphc6m72us.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"npfs: -d -s -p port -w nthreads\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmphc6m72us.c"
target datalayout = "e-m:e-p270: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 [33 x i8] c"npfs: -d -s -p port -w nthreads\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = call i32 @exit(i32 noundef -1) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpw3o2tags.c'
source_filename = "/tmp/tmpw3o2tags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_TONEAREST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"sRGB\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"linear\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"gray\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"color\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"%s: too few channels (%d) for -gray\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"%s: too many channels (%d) for -color\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c" %g\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca 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 [4 x double], align 16
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca double, align 8
%19 = alloca i32, align 4
%20 = 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
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %21, align 8
store ptr %23, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%24 = load i32, ptr @FE_TONEAREST, align 4
%25 = call i32 @fesetround(i32 noundef %24)
%26 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
store double 0.000000e+00, ptr %26, align 16
%27 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
store double 0.000000e+00, ptr %27, align 8
%28 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
store double 0.000000e+00, ptr %28, align 16
%29 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 3
store double 0.000000e+00, ptr %29, align 8
br label %30
30: ; preds = %72, %2
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %4, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 45
br label %40
40: ; preds = %34, %30
%41 = phi i1 [ false, %30 ], [ %39, %34 ]
br i1 %41, label %42, label %73
42: ; preds = %40
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i32 1
store ptr %44, ptr %5, align 8
%45 = load ptr, ptr %43, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
store ptr %46, ptr %12, align 8
%47 = load ptr, ptr %12, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %42
store i32 0, ptr %7, align 4
br label %72
51: ; preds = %42
%52 = load ptr, ptr %12, align 8
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.1)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 1, ptr %7, align 4
br label %71
56: ; preds = %51
%57 = load ptr, ptr %12, align 8
%58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.2)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %56
store i32 1, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %70
61: ; preds = %56
%62 = load ptr, ptr %12, align 8
%63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.3)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %61
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %69
66: ; preds = %61
%67 = load ptr, ptr %6, align 8
%68 = call i32 @usage(ptr noundef %67)
br label %69
69: ; preds = %66, %65
br label %70
70: ; preds = %69, %60
br label %71
71: ; preds = %70, %55
br label %72
72: ; preds = %71, %50
br label %30, !llvm.loop !6
73: ; preds = %40
%74 = load i32, ptr %4, align 4
switch i32 %74, label %75 [
i32 4, label %78
i32 3, label %88
i32 2, label %98
i32 1, label %108
]
75: ; preds = %73
%76 = load ptr, ptr %6, align 8
%77 = call i32 @usage(ptr noundef %76)
br label %118
78: ; preds = %73
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 3
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %7, align 4
%84 = call double @component(ptr noundef %79, ptr noundef %82, i32 noundef %83)
%85 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 3
store double %84, ptr %85, align 8
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %10, align 4
br label %88
88: ; preds = %73, %78
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 2
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %7, align 4
%94 = call double @component(ptr noundef %89, ptr noundef %92, i32 noundef %93)
%95 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
store double %94, ptr %95, align 16
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
br label %98
98: ; preds = %73, %88
%99 = load ptr, ptr %6, align 8
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds ptr, ptr %100, i64 1
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %7, align 4
%104 = call double @component(ptr noundef %99, ptr noundef %102, i32 noundef %103)
%105 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
store double %104, ptr %105, align 8
%106 = load i32, ptr %10, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %10, align 4
br label %108
108: ; preds = %73, %98
%109 = load ptr, ptr %6, align 8
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds ptr, ptr %110, i64 0
%112 = load ptr, ptr %111, align 8
%113 = load i32, ptr %7, align 4
%114 = call double @component(ptr noundef %109, ptr noundef %112, i32 noundef %113)
%115 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
store double %114, ptr %115, align 16
%116 = load i32, ptr %10, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %10, align 4
br label %118
118: ; preds = %108, %75
%119 = load i32, ptr %7, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %161
121: ; preds = %118
%122 = load i32, ptr %10, align 4
store i32 %122, ptr %14, align 4
%123 = load i32, ptr %14, align 4
%124 = and i32 %123, 1
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %121
%127 = load i32, ptr %14, align 4
%128 = add nsw i32 %127, -1
store i32 %128, ptr %14, align 4
br label %129
129: ; preds = %126, %121
store i32 0, ptr %13, align 4
br label %130
130: ; preds = %144, %129
%131 = load i32, ptr %13, align 4
%132 = load i32, ptr %14, align 4
%133 = icmp slt i32 %131, %132
br i1 %133, label %134, label %147
134: ; preds = %130
%135 = load i32, ptr %13, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %136
%138 = load double, ptr %137, align 8
%139 = fdiv double %138, 2.550000e+02
%140 = call double @linear_from_sRGB(double noundef %139)
%141 = load i32, ptr %13, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %142
store double %140, ptr %143, align 8
br label %144
144: ; preds = %134
%145 = load i32, ptr %13, align 4
%146 = add nsw i32 %145, 1
store i32 %146, ptr %13, align 4
br label %130, !llvm.loop !8
147: ; preds = %130
%148 = load i32, ptr %14, align 4
%149 = load i32, ptr %10, align 4
%150 = icmp slt i32 %148, %149
br i1 %150, label %151, label %160
151: ; preds = %147
%152 = load i32, ptr %14, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %153
%155 = load double, ptr %154, align 8
%156 = fdiv double %155, 2.550000e+02
%157 = load i32, ptr %14, align 4
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %158
store double %156, ptr %159, align 8
br label %160
160: ; preds = %151, %147
br label %219
161: ; preds = %118
store i32 0, ptr %15, align 4
br label %162
162: ; preds = %171, %161
%163 = load i32, ptr %15, align 4
%164 = icmp slt i32 %163, 4
br i1 %164, label %165, label %174
165: ; preds = %162
%166 = load i32, ptr %15, align 4
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %167
%169 = load double, ptr %168, align 8
%170 = fdiv double %169, 6.553500e+04
store double %170, ptr %168, align 8
br label %171
171: ; preds = %165
%172 = load i32, ptr %15, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %15, align 4
br label %162, !llvm.loop !9
174: ; preds = %162
%175 = load i32, ptr %10, align 4
%176 = and i32 %175, 1
%177 = icmp eq i32 %176, 0
br i1 %177, label %178, label %218
178: ; preds = %174
%179 = load i32, ptr %10, align 4
%180 = sub nsw i32 %179, 1
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %181
%183 = load double, ptr %182, align 8
store double %183, ptr %16, align 8
%184 = load double, ptr %16, align 8
%185 = fcmp ogt double %184, 0.000000e+00
br i1 %185, label %186, label %203
186: ; preds = %178
store i32 0, ptr %15, align 4
br label %187
187: ; preds = %199, %186
%188 = load i32, ptr %15, align 4
%189 = load i32, ptr %10, align 4
%190 = sub nsw i32 %189, 1
%191 = icmp slt i32 %188, %190
br i1 %191, label %192, label %202
192: ; preds = %187
%193 = load double, ptr %16, align 8
%194 = load i32, ptr %15, align 4
%195 = sext i32 %194 to i64
%196 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %195
%197 = load double, ptr %196, align 8
%198 = fdiv double %197, %193
store double %198, ptr %196, align 8
br label %199
199: ; preds = %192
%200 = load i32, ptr %15, align 4
%201 = add nsw i32 %200, 1
store i32 %201, ptr %15, align 4
br label %187, !llvm.loop !10
202: ; preds = %187
br label %217
203: ; preds = %178
store i32 0, ptr %15, align 4
br label %204
204: ; preds = %213, %203
%205 = load i32, ptr %15, align 4
%206 = load i32, ptr %10, align 4
%207 = sub nsw i32 %206, 1
%208 = icmp slt i32 %205, %207
br i1 %208, label %209, label %216
209: ; preds = %204
%210 = load i32, ptr %15, align 4
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %211
store double 1.000000e+00, ptr %212, align 8
br label %213
213: ; preds = %209
%214 = load i32, ptr %15, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %15, align 4
br label %204, !llvm.loop !11
216: ; preds = %204
br label %217
217: ; preds = %216, %202
br label %218
218: ; preds = %217, %174
br label %219
219: ; preds = %218, %160
%220 = load i32, ptr %8, align 4
%221 = icmp ne i32 %220, 0
br i1 %221, label %222, label %243
222: ; preds = %219
%223 = load i32, ptr %10, align 4
%224 = icmp slt i32 %223, 3
br i1 %224, label %225, label %232
225: ; preds = %222
%226 = load i32, ptr @stderr, align 4
%227 = load ptr, ptr %6, align 8
%228 = load i32, ptr %10, align 4
%229 = call i32 @fprintf(i32 noundef %226, ptr noundef @.str.4, ptr noundef %227, i32 noundef %228)
%230 = load ptr, ptr %6, align 8
%231 = call i32 @usage(ptr noundef %230)
br label %232
232: ; preds = %225, %222
%233 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
%234 = load double, ptr %233, align 16
%235 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
%236 = load double, ptr %235, align 8
%237 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
%238 = load double, ptr %237, align 16
%239 = call double @YfromRGB(double noundef %234, double noundef %236, double noundef %238)
%240 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
store double %239, ptr %240, align 16
%241 = load i32, ptr %10, align 4
%242 = sub nsw i32 %241, 2
store i32 %242, ptr %10, align 4
br label %243
243: ; preds = %232, %219
%244 = load i32, ptr %9, align 4
%245 = icmp ne i32 %244, 0
br i1 %245, label %246, label %264
246: ; preds = %243
%247 = load i32, ptr %10, align 4
%248 = icmp sgt i32 %247, 2
br i1 %248, label %249, label %256
249: ; preds = %246
%250 = load i32, ptr @stderr, align 4
%251 = load ptr, ptr %6, align 8
%252 = load i32, ptr %10, align 4
%253 = call i32 @fprintf(i32 noundef %250, ptr noundef @.str.5, ptr noundef %251, i32 noundef %252)
%254 = load ptr, ptr %6, align 8
%255 = call i32 @usage(ptr noundef %254)
br label %256
256: ; preds = %249, %246
%257 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
%258 = load double, ptr %257, align 8
%259 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 3
store double %258, ptr %259, align 8
%260 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
%261 = load double, ptr %260, align 16
%262 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
store double %261, ptr %262, align 8
%263 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
store double %261, ptr %263, align 16
br label %264
264: ; preds = %256, %243
%265 = load i32, ptr %7, align 4
%266 = icmp ne i32 %265, 0
br i1 %266, label %267, label %312
267: ; preds = %264
%268 = load i32, ptr %10, align 4
%269 = and i32 %268, 1
%270 = icmp eq i32 %269, 0
br i1 %270, label %271, label %293
271: ; preds = %267
%272 = load i32, ptr %10, align 4
%273 = sub nsw i32 %272, 1
%274 = sext i32 %273 to i64
%275 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %274
%276 = load double, ptr %275, align 8
store double %276, ptr %18, align 8
store i32 0, ptr %17, align 4
br label %277
277: ; preds = %289, %271
%278 = load i32, ptr %17, align 4
%279 = load i32, ptr %10, align 4
%280 = sub nsw i32 %279, 1
%281 = icmp slt i32 %278, %280
br i1 %281, label %282, label %292
282: ; preds = %277
%283 = load double, ptr %18, align 8
%284 = load i32, ptr %17, align 4
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %285
%287 = load double, ptr %286, align 8
%288 = fmul double %287, %283
store double %288, ptr %286, align 8
br label %289
289: ; preds = %282
%290 = load i32, ptr %17, align 4
%291 = add nsw i32 %290, 1
store i32 %291, ptr %17, align 4
br label %277, !llvm.loop !12
292: ; preds = %277
br label %293
293: ; preds = %292, %267
store i32 0, ptr %17, align 4
br label %294
294: ; preds = %308, %293
%295 = load i32, ptr %17, align 4
%296 = load i32, ptr %10, align 4
%297 = icmp slt i32 %295, %296
br i1 %297, label %298, label %311
298: ; preds = %294
%299 = load i32, ptr %17, align 4
%300 = sext i32 %299 to i64
%301 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %300
%302 = load double, ptr %301, align 8
%303 = fmul double %302, 6.553500e+04
%304 = call double @llvm.nearbyint.f64(double %303)
%305 = load i32, ptr %17, align 4
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %306
store double %304, ptr %307, align 8
br label %308
308: ; preds = %298
%309 = load i32, ptr %17, align 4
%310 = add nsw i32 %309, 1
store i32 %310, ptr %17, align 4
br label %294, !llvm.loop !13
311: ; preds = %294
br label %348
312: ; preds = %264
%313 = load i32, ptr %10, align 4
%314 = add nsw i32 %313, 1
%315 = and i32 %314, -2
store i32 %315, ptr %19, align 4
br label %316
316: ; preds = %320, %312
%317 = load i32, ptr %19, align 4
%318 = add nsw i32 %317, -1
store i32 %318, ptr %19, align 4
%319 = icmp sge i32 %318, 0
br i1 %319, label %320, label %329
320: ; preds = %316
%321 = load i32, ptr %19, align 4
%322 = sext i32 %321 to i64
%323 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %322
%324 = load double, ptr %323, align 8
%325 = call double @sRGB_from_linear(double noundef %324)
%326 = load i32, ptr %19, align 4
%327 = sext i32 %326 to i64
%328 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %327
store double %325, ptr %328, align 8
br label %316, !llvm.loop !14
329: ; preds = %316
store i32 0, ptr %19, align 4
br label %330
330: ; preds = %344, %329
%331 = load i32, ptr %19, align 4
%332 = load i32, ptr %10, align 4
%333 = icmp slt i32 %331, %332
br i1 %333, label %334, label %347
334: ; preds = %330
%335 = load i32, ptr %19, align 4
%336 = sext i32 %335 to i64
%337 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %336
%338 = load double, ptr %337, align 8
%339 = fmul double %338, 2.550000e+02
%340 = call double @llvm.nearbyint.f64(double %339)
%341 = load i32, ptr %19, align 4
%342 = sext i32 %341 to i64
%343 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %342
store double %340, ptr %343, align 8
br label %344
344: ; preds = %334
%345 = load i32, ptr %19, align 4
%346 = add nsw i32 %345, 1
store i32 %346, ptr %19, align 4
br label %330, !llvm.loop !15
347: ; preds = %330
br label %348
348: ; preds = %347, %311
store i32 0, ptr %20, align 4
br label %349
349: ; preds = %359, %348
%350 = load i32, ptr %20, align 4
%351 = load i32, ptr %10, align 4
%352 = icmp slt i32 %350, %351
br i1 %352, label %353, label %362
353: ; preds = %349
%354 = load i32, ptr %20, align 4
%355 = sext i32 %354 to i64
%356 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %355
%357 = load double, ptr %356, align 8
%358 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %357)
br label %359
359: ; preds = %353
%360 = load i32, ptr %20, align 4
%361 = add nsw i32 %360, 1
store i32 %361, ptr %20, align 4
br label %349, !llvm.loop !16
362: ; preds = %349
%363 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @fesetround(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
declare double @component(ptr noundef, ptr noundef, i32 noundef) #1
declare double @linear_from_sRGB(double noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare double @YfromRGB(double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.nearbyint.f64(double) #2
declare double @sRGB_from_linear(double 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw3o2tags.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_TONEAREST = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"sRGB\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"linear\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"gray\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"color\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.4 = private unnamed_addr constant [37 x i8] c"%s: too few channels (%d) for -gray\0A\00", align 1
@.str.5 = private unnamed_addr constant [39 x i8] c"%s: too many channels (%d) for -color\0A\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c" %g\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca 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 [4 x double], align 16
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca i32, align 4
%18 = alloca double, align 8
%19 = alloca i32, align 4
%20 = 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
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i32 1
store ptr %22, ptr %5, align 8
%23 = load ptr, ptr %21, align 8
store ptr %23, ptr %6, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%24 = load i32, ptr @FE_TONEAREST, align 4
%25 = call i32 @fesetround(i32 noundef %24)
%26 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
store double 0.000000e+00, ptr %26, align 16
%27 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
store double 0.000000e+00, ptr %27, align 8
%28 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
store double 0.000000e+00, ptr %28, align 16
%29 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 3
store double 0.000000e+00, ptr %29, align 8
br label %30
30: ; preds = %72, %2
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %4, align 4
%33 = icmp sgt i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %30
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 45
br label %40
40: ; preds = %34, %30
%41 = phi i1 [ false, %30 ], [ %39, %34 ]
br i1 %41, label %42, label %73
42: ; preds = %40
%43 = load ptr, ptr %5, align 8
%44 = getelementptr inbounds ptr, ptr %43, i32 1
store ptr %44, ptr %5, align 8
%45 = load ptr, ptr %43, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 1
store ptr %46, ptr %12, align 8
%47 = load ptr, ptr %12, align 8
%48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str)
%49 = icmp eq i64 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %42
store i32 0, ptr %7, align 4
br label %72
51: ; preds = %42
%52 = load ptr, ptr %12, align 8
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.1)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %56
55: ; preds = %51
store i32 1, ptr %7, align 4
br label %71
56: ; preds = %51
%57 = load ptr, ptr %12, align 8
%58 = call i64 @strcmp(ptr noundef %57, ptr noundef @.str.2)
%59 = icmp eq i64 %58, 0
br i1 %59, label %60, label %61
60: ; preds = %56
store i32 1, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %70
61: ; preds = %56
%62 = load ptr, ptr %12, align 8
%63 = call i64 @strcmp(ptr noundef %62, ptr noundef @.str.3)
%64 = icmp eq i64 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %61
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
br label %69
66: ; preds = %61
%67 = load ptr, ptr %6, align 8
%68 = call i32 @usage(ptr noundef %67)
br label %69
69: ; preds = %66, %65
br label %70
70: ; preds = %69, %60
br label %71
71: ; preds = %70, %55
br label %72
72: ; preds = %71, %50
br label %30, !llvm.loop !6
73: ; preds = %40
%74 = load i32, ptr %4, align 4
switch i32 %74, label %75 [
i32 4, label %78
i32 3, label %88
i32 2, label %98
i32 1, label %108
]
75: ; preds = %73
%76 = load ptr, ptr %6, align 8
%77 = call i32 @usage(ptr noundef %76)
br label %118
78: ; preds = %73
%79 = load ptr, ptr %6, align 8
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds ptr, ptr %80, i64 3
%82 = load ptr, ptr %81, align 8
%83 = load i32, ptr %7, align 4
%84 = call double @component(ptr noundef %79, ptr noundef %82, i32 noundef %83)
%85 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 3
store double %84, ptr %85, align 8
%86 = load i32, ptr %10, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %10, align 4
br label %88
88: ; preds = %78, %73
%89 = load ptr, ptr %6, align 8
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 2
%92 = load ptr, ptr %91, align 8
%93 = load i32, ptr %7, align 4
%94 = call double @component(ptr noundef %89, ptr noundef %92, i32 noundef %93)
%95 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
store double %94, ptr %95, align 16
%96 = load i32, ptr %10, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %10, align 4
br label %98
98: ; preds = %88, %73
%99 = load ptr, ptr %6, align 8
%100 = load ptr, ptr %5, align 8
%101 = getelementptr inbounds ptr, ptr %100, i64 1
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %7, align 4
%104 = call double @component(ptr noundef %99, ptr noundef %102, i32 noundef %103)
%105 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
store double %104, ptr %105, align 8
%106 = load i32, ptr %10, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %10, align 4
br label %108
108: ; preds = %98, %73
%109 = load ptr, ptr %6, align 8
%110 = load ptr, ptr %5, align 8
%111 = getelementptr inbounds ptr, ptr %110, i64 0
%112 = load ptr, ptr %111, align 8
%113 = load i32, ptr %7, align 4
%114 = call double @component(ptr noundef %109, ptr noundef %112, i32 noundef %113)
%115 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
store double %114, ptr %115, align 16
%116 = load i32, ptr %10, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %10, align 4
br label %118
118: ; preds = %108, %75
%119 = load i32, ptr %7, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %163
121: ; preds = %118
%122 = load i32, ptr %10, align 4
store i32 %122, ptr %14, align 4
%123 = load i32, ptr %14, align 4
%124 = and i32 %123, 1
%125 = icmp eq i32 %124, 0
br i1 %125, label %126, label %129
126: ; preds = %121
%127 = load i32, ptr %14, align 4
%128 = add nsw i32 %127, -1
store i32 %128, ptr %14, align 4
br label %129
129: ; preds = %126, %121
store i32 0, ptr %13, align 4
%130 = load i32, ptr %13, align 4
%131 = load i32, ptr %14, align 4
%132 = icmp slt i32 %130, %131
br i1 %132, label %.lr.ph8, label %149
.lr.ph8: ; preds = %129
br label %133
133: ; preds = %.lr.ph8, %143
%134 = load i32, ptr %13, align 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %135
%137 = load double, ptr %136, align 8
%138 = fdiv double %137, 2.550000e+02
%139 = call double @linear_from_sRGB(double noundef %138)
%140 = load i32, ptr %13, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %141
store double %139, ptr %142, align 8
br label %143
143: ; preds = %133
%144 = load i32, ptr %13, align 4
%145 = add nsw i32 %144, 1
store i32 %145, ptr %13, align 4
%146 = load i32, ptr %13, align 4
%147 = load i32, ptr %14, align 4
%148 = icmp slt i32 %146, %147
br i1 %148, label %133, label %._crit_edge9, !llvm.loop !8
._crit_edge9: ; preds = %143
br label %149
149: ; preds = %._crit_edge9, %129
%150 = load i32, ptr %14, align 4
%151 = load i32, ptr %10, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %153, label %162
153: ; preds = %149
%154 = load i32, ptr %14, align 4
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %155
%157 = load double, ptr %156, align 8
%158 = fdiv double %157, 2.550000e+02
%159 = load i32, ptr %14, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %160
store double %158, ptr %161, align 8
br label %162
162: ; preds = %153, %149
br label %228
163: ; preds = %118
store i32 0, ptr %15, align 4
%164 = load i32, ptr %15, align 4
%165 = icmp slt i32 %164, 4
br i1 %165, label %.lr.ph, label %177
.lr.ph: ; preds = %163
br label %166
166: ; preds = %.lr.ph, %172
%167 = load i32, ptr %15, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %168
%170 = load double, ptr %169, align 8
%171 = fdiv double %170, 6.553500e+04
store double %171, ptr %169, align 8
br label %172
172: ; preds = %166
%173 = load i32, ptr %15, align 4
%174 = add nsw i32 %173, 1
store i32 %174, ptr %15, align 4
%175 = load i32, ptr %15, align 4
%176 = icmp slt i32 %175, 4
br i1 %176, label %166, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %172
br label %177
177: ; preds = %._crit_edge, %163
%178 = load i32, ptr %10, align 4
%179 = and i32 %178, 1
%180 = icmp eq i32 %179, 0
br i1 %180, label %181, label %227
181: ; preds = %177
%182 = load i32, ptr %10, align 4
%183 = sub nsw i32 %182, 1
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %184
%186 = load double, ptr %185, align 8
store double %186, ptr %16, align 8
%187 = load double, ptr %16, align 8
%188 = fcmp ogt double %187, 0.000000e+00
br i1 %188, label %189, label %209
189: ; preds = %181
store i32 0, ptr %15, align 4
%190 = load i32, ptr %15, align 4
%191 = load i32, ptr %10, align 4
%192 = sub nsw i32 %191, 1
%193 = icmp slt i32 %190, %192
br i1 %193, label %.lr.ph5, label %208
.lr.ph5: ; preds = %189
br label %194
194: ; preds = %.lr.ph5, %201
%195 = load double, ptr %16, align 8
%196 = load i32, ptr %15, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %197
%199 = load double, ptr %198, align 8
%200 = fdiv double %199, %195
store double %200, ptr %198, align 8
br label %201
201: ; preds = %194
%202 = load i32, ptr %15, align 4
%203 = add nsw i32 %202, 1
store i32 %203, ptr %15, align 4
%204 = load i32, ptr %15, align 4
%205 = load i32, ptr %10, align 4
%206 = sub nsw i32 %205, 1
%207 = icmp slt i32 %204, %206
br i1 %207, label %194, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %201
br label %208
208: ; preds = %._crit_edge6, %189
br label %226
209: ; preds = %181
store i32 0, ptr %15, align 4
%210 = load i32, ptr %15, align 4
%211 = load i32, ptr %10, align 4
%212 = sub nsw i32 %211, 1
%213 = icmp slt i32 %210, %212
br i1 %213, label %.lr.ph2, label %225
.lr.ph2: ; preds = %209
br label %214
214: ; preds = %.lr.ph2, %218
%215 = load i32, ptr %15, align 4
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %216
store double 1.000000e+00, ptr %217, align 8
br label %218
218: ; preds = %214
%219 = load i32, ptr %15, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %15, align 4
%221 = load i32, ptr %15, align 4
%222 = load i32, ptr %10, align 4
%223 = sub nsw i32 %222, 1
%224 = icmp slt i32 %221, %223
br i1 %224, label %214, label %._crit_edge3, !llvm.loop !11
._crit_edge3: ; preds = %218
br label %225
225: ; preds = %._crit_edge3, %209
br label %226
226: ; preds = %225, %208
br label %227
227: ; preds = %226, %177
br label %228
228: ; preds = %227, %162
%229 = load i32, ptr %8, align 4
%230 = icmp ne i32 %229, 0
br i1 %230, label %231, label %252
231: ; preds = %228
%232 = load i32, ptr %10, align 4
%233 = icmp slt i32 %232, 3
br i1 %233, label %234, label %241
234: ; preds = %231
%235 = load i32, ptr @stderr, align 4
%236 = load ptr, ptr %6, align 8
%237 = load i32, ptr %10, align 4
%238 = call i32 @fprintf(i32 noundef %235, ptr noundef @.str.4, ptr noundef %236, i32 noundef %237)
%239 = load ptr, ptr %6, align 8
%240 = call i32 @usage(ptr noundef %239)
br label %241
241: ; preds = %234, %231
%242 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
%243 = load double, ptr %242, align 16
%244 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
%245 = load double, ptr %244, align 8
%246 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
%247 = load double, ptr %246, align 16
%248 = call double @YfromRGB(double noundef %243, double noundef %245, double noundef %247)
%249 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
store double %248, ptr %249, align 16
%250 = load i32, ptr %10, align 4
%251 = sub nsw i32 %250, 2
store i32 %251, ptr %10, align 4
br label %252
252: ; preds = %241, %228
%253 = load i32, ptr %9, align 4
%254 = icmp ne i32 %253, 0
br i1 %254, label %255, label %273
255: ; preds = %252
%256 = load i32, ptr %10, align 4
%257 = icmp sgt i32 %256, 2
br i1 %257, label %258, label %265
258: ; preds = %255
%259 = load i32, ptr @stderr, align 4
%260 = load ptr, ptr %6, align 8
%261 = load i32, ptr %10, align 4
%262 = call i32 @fprintf(i32 noundef %259, ptr noundef @.str.5, ptr noundef %260, i32 noundef %261)
%263 = load ptr, ptr %6, align 8
%264 = call i32 @usage(ptr noundef %263)
br label %265
265: ; preds = %258, %255
%266 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
%267 = load double, ptr %266, align 8
%268 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 3
store double %267, ptr %268, align 8
%269 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 0
%270 = load double, ptr %269, align 16
%271 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 1
store double %270, ptr %271, align 8
%272 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 2
store double %270, ptr %272, align 16
br label %273
273: ; preds = %265, %252
%274 = load i32, ptr %7, align 4
%275 = icmp ne i32 %274, 0
br i1 %275, label %276, label %326
276: ; preds = %273
%277 = load i32, ptr %10, align 4
%278 = and i32 %277, 1
%279 = icmp eq i32 %278, 0
br i1 %279, label %280, label %305
280: ; preds = %276
%281 = load i32, ptr %10, align 4
%282 = sub nsw i32 %281, 1
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %283
%285 = load double, ptr %284, align 8
store double %285, ptr %18, align 8
store i32 0, ptr %17, align 4
%286 = load i32, ptr %17, align 4
%287 = load i32, ptr %10, align 4
%288 = sub nsw i32 %287, 1
%289 = icmp slt i32 %286, %288
br i1 %289, label %.lr.ph17, label %304
.lr.ph17: ; preds = %280
br label %290
290: ; preds = %.lr.ph17, %297
%291 = load double, ptr %18, align 8
%292 = load i32, ptr %17, align 4
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %293
%295 = load double, ptr %294, align 8
%296 = fmul double %295, %291
store double %296, ptr %294, align 8
br label %297
297: ; preds = %290
%298 = load i32, ptr %17, align 4
%299 = add nsw i32 %298, 1
store i32 %299, ptr %17, align 4
%300 = load i32, ptr %17, align 4
%301 = load i32, ptr %10, align 4
%302 = sub nsw i32 %301, 1
%303 = icmp slt i32 %300, %302
br i1 %303, label %290, label %._crit_edge18, !llvm.loop !12
._crit_edge18: ; preds = %297
br label %304
304: ; preds = %._crit_edge18, %280
br label %305
305: ; preds = %304, %276
store i32 0, ptr %17, align 4
%306 = load i32, ptr %17, align 4
%307 = load i32, ptr %10, align 4
%308 = icmp slt i32 %306, %307
br i1 %308, label %.lr.ph20, label %325
.lr.ph20: ; preds = %305
br label %309
309: ; preds = %.lr.ph20, %319
%310 = load i32, ptr %17, align 4
%311 = sext i32 %310 to i64
%312 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %311
%313 = load double, ptr %312, align 8
%314 = fmul double %313, 6.553500e+04
%315 = call double @llvm.nearbyint.f64(double %314)
%316 = load i32, ptr %17, align 4
%317 = sext i32 %316 to i64
%318 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %317
store double %315, ptr %318, align 8
br label %319
319: ; preds = %309
%320 = load i32, ptr %17, align 4
%321 = add nsw i32 %320, 1
store i32 %321, ptr %17, align 4
%322 = load i32, ptr %17, align 4
%323 = load i32, ptr %10, align 4
%324 = icmp slt i32 %322, %323
br i1 %324, label %309, label %._crit_edge21, !llvm.loop !13
._crit_edge21: ; preds = %319
br label %325
325: ; preds = %._crit_edge21, %305
br label %366
326: ; preds = %273
%327 = load i32, ptr %10, align 4
%328 = add nsw i32 %327, 1
%329 = and i32 %328, -2
store i32 %329, ptr %19, align 4
%330 = load i32, ptr %19, align 4
%331 = add nsw i32 %330, -1
store i32 %331, ptr %19, align 4
%332 = icmp sge i32 %331, 0
br i1 %332, label %.lr.ph11, label %345
.lr.ph11: ; preds = %326
br label %333
333: ; preds = %.lr.ph11, %333
%334 = load i32, ptr %19, align 4
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %335
%337 = load double, ptr %336, align 8
%338 = call double @sRGB_from_linear(double noundef %337)
%339 = load i32, ptr %19, align 4
%340 = sext i32 %339 to i64
%341 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %340
store double %338, ptr %341, align 8
%342 = load i32, ptr %19, align 4
%343 = add nsw i32 %342, -1
store i32 %343, ptr %19, align 4
%344 = icmp sge i32 %343, 0
br i1 %344, label %333, label %._crit_edge12, !llvm.loop !14
._crit_edge12: ; preds = %333
br label %345
345: ; preds = %._crit_edge12, %326
store i32 0, ptr %19, align 4
%346 = load i32, ptr %19, align 4
%347 = load i32, ptr %10, align 4
%348 = icmp slt i32 %346, %347
br i1 %348, label %.lr.ph14, label %365
.lr.ph14: ; preds = %345
br label %349
349: ; preds = %.lr.ph14, %359
%350 = load i32, ptr %19, align 4
%351 = sext i32 %350 to i64
%352 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %351
%353 = load double, ptr %352, align 8
%354 = fmul double %353, 2.550000e+02
%355 = call double @llvm.nearbyint.f64(double %354)
%356 = load i32, ptr %19, align 4
%357 = sext i32 %356 to i64
%358 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %357
store double %355, ptr %358, align 8
br label %359
359: ; preds = %349
%360 = load i32, ptr %19, align 4
%361 = add nsw i32 %360, 1
store i32 %361, ptr %19, align 4
%362 = load i32, ptr %19, align 4
%363 = load i32, ptr %10, align 4
%364 = icmp slt i32 %362, %363
br i1 %364, label %349, label %._crit_edge15, !llvm.loop !15
._crit_edge15: ; preds = %359
br label %365
365: ; preds = %._crit_edge15, %345
br label %366
366: ; preds = %365, %325
store i32 0, ptr %20, align 4
%367 = load i32, ptr %20, align 4
%368 = load i32, ptr %10, align 4
%369 = icmp slt i32 %367, %368
br i1 %369, label %.lr.ph23, label %382
.lr.ph23: ; preds = %366
br label %370
370: ; preds = %.lr.ph23, %376
%371 = load i32, ptr %20, align 4
%372 = sext i32 %371 to i64
%373 = getelementptr inbounds [4 x double], ptr %11, i64 0, i64 %372
%374 = load double, ptr %373, align 8
%375 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %374)
br label %376
376: ; preds = %370
%377 = load i32, ptr %20, align 4
%378 = add nsw i32 %377, 1
store i32 %378, ptr %20, align 4
%379 = load i32, ptr %20, align 4
%380 = load i32, ptr %10, align 4
%381 = icmp slt i32 %379, %380
br i1 %381, label %370, label %._crit_edge24, !llvm.loop !16
._crit_edge24: ; preds = %376
br label %382
382: ; preds = %._crit_edge24, %366
%383 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
ret i32 0
}
declare i32 @fesetround(i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @usage(ptr noundef) #1
declare double @component(ptr noundef, ptr noundef, i32 noundef) #1
declare double @linear_from_sRGB(double noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare double @YfromRGB(double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.nearbyint.f64(double) #2
declare double @sRGB_from_linear(double 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" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
|
; ModuleID = '/tmp/tmpwqcdukzg.c'
source_filename = "/tmp/tmpwqcdukzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
@SIGUSR1 = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @SIGUSR1, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %18
12: ; preds = %3
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = call i32 @notified(i32 noundef %13, i32 noundef %16, i32 noundef 0)
br label %25
18: ; preds = %3
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr @SIGCHLD, align 4
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
br label %24
23: ; preds = %18
br label %24
24: ; preds = %23, %22
br label %25
25: ; preds = %24, %12
ret void
}
declare i32 @notified(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/tmpwqcdukzg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_3__ = type { i32 }
@SIGUSR1 = dso_local global i32 0, align 4
@SIGCHLD = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handler(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %6, align 8
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr @SIGUSR1, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %18
12: ; preds = %3
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds %struct.TYPE_3__, ptr %14, i32 0, i32 0
%16 = load i32, ptr %15, align 4
%17 = call i32 @notified(i32 noundef %13, i32 noundef %16, i32 noundef 0)
br label %25
18: ; preds = %3
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr @SIGCHLD, align 4
%21 = icmp eq i32 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
br label %24
23: ; preds = %18
br label %24
24: ; preds = %23, %22
br label %25
25: ; preds = %24, %12
ret void
}
declare i32 @notified(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/tmpum2zx4wf.c'
source_filename = "/tmp/tmpum2zx4wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"hodie %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"1.4\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\0ACopyright (c) 2000, Mikael Johansson\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"Released under MIT-style license. Please read the file\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"LICENSE distributed with the source code for details\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_version() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpum2zx4wf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"hodie %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"1.4\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c"\0ACopyright (c) 2000, Mikael Johansson\0A\00", align 1
@.str.3 = private unnamed_addr constant [56 x i8] c"Released under MIT-style license. Please read the file\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c"LICENSE distributed with the source code for details\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_version() #0 {
%1 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuo2clz2m.c'
source_filename = "/tmp/tmpuo2clz2m.c"
target datalayout = "e-m:e-p270: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.itimerval = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_set_itimerval_interval_tvsec(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, 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/tmpuo2clz2m.c"
target datalayout = "e-m:e-p270: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.itimerval = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_set_itimerval_interval_tvsec(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load i64, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.itimerval, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0
store i64 %5, ptr %8, 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/tmpsd70fxgl.c'
source_filename = "/tmp/tmpsd70fxgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ld\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 i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %13
13: ; preds = %22, %0
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %25
17: ; preds = %13
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %12, i64 %19
%21 = call i32 @scanf(ptr noundef @.str, ptr noundef %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %6, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %6, align 4
br label %13, !llvm.loop !6
25: ; preds = %13
store i32 0, ptr %7, align 4
br label %26
26: ; preds = %38, %25
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %41
30: ; preds = %26
%31 = load i64, ptr %3, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i32, ptr %12, i64 %33
%35 = load i32, ptr %34, align 4
%36 = sext i32 %35 to i64
%37 = add nsw i64 %31, %36
store i64 %37, ptr %3, align 8
br label %38
38: ; preds = %30
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
br label %26, !llvm.loop !8
41: ; preds = %26
%42 = load i64, ptr %3, align 8
%43 = call i32 @printf(ptr noundef @.str.1, i64 noundef %42)
store i32 0, ptr %1, align 4
%44 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %44)
%45 = load i32, ptr %1, align 4
ret i32 %45
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsd70fxgl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%ld\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 i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i64 0, ptr %3, align 8
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %4, align 8
%12 = alloca i32, i64 %10, align 16
store i64 %10, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %12, i64 %18
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %16
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %0
store i32 0, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph2, label %45
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %39
%32 = load i64, ptr %3, align 8
%33 = load i32, ptr %7, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %12, i64 %34
%36 = load i32, ptr %35, align 4
%37 = sext i32 %36 to i64
%38 = add nsw i64 %32, %37
store i64 %38, ptr %3, align 8
br label %39
39: ; preds = %31
%40 = load i32, ptr %7, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = load i32, ptr %2, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %39
br label %45
45: ; preds = %._crit_edge3, %27
%46 = load i64, ptr %3, align 8
%47 = call i32 @printf(ptr noundef @.str.1, i64 noundef %46)
store i32 0, ptr %1, align 4
%48 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %48)
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @printf(ptr noundef, i64 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmprdkil4do.c'
source_filename = "/tmp/tmprdkil4do.c"
target datalayout = "e-m:e-p270: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/tmprdkil4do.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_2pa9zg1.c'
source_filename = "/tmp/tmp_2pa9zg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @connection_exist(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 i64 @connection_lookup(ptr noundef %3)
%5 = icmp ne i64 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @connection_lookup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_2pa9zg1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @connection_exist(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 i64 @connection_lookup(ptr noundef %3)
%5 = icmp ne i64 %4, 0
%6 = zext i1 %5 to i32
ret i32 %6
}
declare i64 @connection_lookup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwnd3cn8a.c'
source_filename = "/tmp/tmpwnd3cn8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_getticks() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @getticks()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @getticks(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwnd3cn8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_getticks() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @getticks()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
ret i32 %3
}
declare i32 @getticks(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdj11fq5z.c'
source_filename = "/tmp/tmpdj11fq5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"C Programming Language\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Asembly Language\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Data structure\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Natural Language\00", align 1
@__const.main.s = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x ptr], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s, i64 32, i1 false)
%3 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 0
%4 = load ptr, ptr %3, align 16
%5 = call i32 @printf(ptr noundef @.str.4, ptr noundef %4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdj11fq5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"C Programming Language\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Asembly Language\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Data structure\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"Natural Language\00", align 1
@__const.main.s = private unnamed_addr constant [4 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3], align 16
@.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x ptr], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.s, i64 32, i1 false)
%3 = getelementptr inbounds [4 x ptr], ptr %2, i64 0, i64 0
%4 = load ptr, ptr %3, align 16
%5 = call i32 @printf(ptr noundef @.str.4, ptr noundef %4)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printf(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp12ktilzv.c'
source_filename = "/tmp/tmp12ktilzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal(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 = call i32 @skip(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @skip(ptr noundef %7)
%9 = call i32 @strcmp(i32 noundef %6, i32 noundef %8)
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i32 @strcmp(i32 noundef, i32 noundef) #1
declare i32 @skip(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp12ktilzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @equal(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 = call i32 @skip(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @skip(ptr noundef %7)
%9 = call i32 @strcmp(i32 noundef %6, i32 noundef %8)
%10 = icmp ne i32 %9, 0
%11 = xor i1 %10, true
%12 = zext i1 %11 to i32
ret i32 %12
}
declare i32 @strcmp(i32 noundef, i32 noundef) #1
declare i32 @skip(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcva_6phd.c'
source_filename = "/tmp/tmpcva_6phd.c"
target datalayout = "e-m:e-p270: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/tmpcva_6phd.c"
target datalayout = "e-m:e-p270: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/tmp7govhtmc.c'
source_filename = "/tmp/tmp7govhtmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@calls_per_sec.s_end = internal global i64 0, align 8
@calls_per_sec.s_iter = internal global i32 0, align 4
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Not enough clock() resolution\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @calls_per_sec() #0 {
%1 = alloca double, align 8
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = call i64 (...) @clock()
store i64 %4, ptr %2, align 8
%5 = load i32, ptr @calls_per_sec.s_iter, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr @calls_per_sec.s_iter, align 4
store i32 %5, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 1
br i1 %8, label %9, label %28
9: ; preds = %0
%10 = load i32, ptr @CLOCKS_PER_SEC, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %9
br label %18
18: ; preds = %22, %17
%19 = call i64 (...) @clock()
%20 = load i64, ptr %2, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %22, label %23
22: ; preds = %18
br label %18, !llvm.loop !6
23: ; preds = %18
%24 = call i64 (...) @clock()
%25 = load i32, ptr @CLOCKS_PER_SEC, align 4
%26 = sext i32 %25 to i64
%27 = add nsw i64 %24, %26
store i64 %27, ptr @calls_per_sec.s_end, align 8
br label %48
28: ; preds = %0
%29 = load i64, ptr %2, align 8
%30 = load i64, ptr @calls_per_sec.s_end, align 8
%31 = icmp sge i64 %29, %30
br i1 %31, label %32, label %47
32: ; preds = %28
store i32 0, ptr @calls_per_sec.s_iter, align 4
%33 = load i32, ptr %3, align 4
%34 = sub nsw i32 %33, 1
%35 = sitofp i32 %34 to double
%36 = load i32, ptr @CLOCKS_PER_SEC, align 4
%37 = sitofp i32 %36 to double
%38 = fmul double %35, %37
%39 = load i64, ptr %2, align 8
%40 = load i64, ptr @calls_per_sec.s_end, align 8
%41 = sub nsw i64 %39, %40
%42 = load i32, ptr @CLOCKS_PER_SEC, align 4
%43 = sext i32 %42 to i64
%44 = add nsw i64 %41, %43
%45 = sitofp i64 %44 to double
%46 = fdiv double %38, %45
store double %46, ptr %1, align 8
br label %49
47: ; preds = %28
br label %48
48: ; preds = %47, %23
store double 0.000000e+00, ptr %1, align 8
br label %49
49: ; preds = %48, %32
%50 = load double, ptr %1, align 8
ret double %50
}
declare i64 @clock(...) #1
declare i32 @fprintf(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7govhtmc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@calls_per_sec.s_end = internal global i64 0, align 8
@calls_per_sec.s_iter = internal global i32 0, align 4
@CLOCKS_PER_SEC = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Not enough clock() resolution\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @calls_per_sec() #0 {
%1 = alloca double, align 8
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = call i64 (...) @clock()
store i64 %4, ptr %2, align 8
%5 = load i32, ptr @calls_per_sec.s_iter, align 4
%6 = add nsw i32 %5, 1
store i32 %6, ptr @calls_per_sec.s_iter, align 4
store i32 %5, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp sle i32 %7, 1
br i1 %8, label %9, label %27
9: ; preds = %0
%10 = load i32, ptr @CLOCKS_PER_SEC, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr @stderr, align 4
%14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %9
br label %18
18: ; preds = %18, %17
%19 = call i64 (...) @clock()
%20 = load i64, ptr %2, align 8
%21 = icmp eq i64 %19, %20
br i1 %21, label %18, label %22, !llvm.loop !6
22: ; preds = %18
%23 = call i64 (...) @clock()
%24 = load i32, ptr @CLOCKS_PER_SEC, align 4
%25 = sext i32 %24 to i64
%26 = add nsw i64 %23, %25
store i64 %26, ptr @calls_per_sec.s_end, align 8
br label %47
27: ; preds = %0
%28 = load i64, ptr %2, align 8
%29 = load i64, ptr @calls_per_sec.s_end, align 8
%30 = icmp sge i64 %28, %29
br i1 %30, label %31, label %46
31: ; preds = %27
store i32 0, ptr @calls_per_sec.s_iter, align 4
%32 = load i32, ptr %3, align 4
%33 = sub nsw i32 %32, 1
%34 = sitofp i32 %33 to double
%35 = load i32, ptr @CLOCKS_PER_SEC, align 4
%36 = sitofp i32 %35 to double
%37 = fmul double %34, %36
%38 = load i64, ptr %2, align 8
%39 = load i64, ptr @calls_per_sec.s_end, align 8
%40 = sub nsw i64 %38, %39
%41 = load i32, ptr @CLOCKS_PER_SEC, align 4
%42 = sext i32 %41 to i64
%43 = add nsw i64 %40, %42
%44 = sitofp i64 %43 to double
%45 = fdiv double %37, %44
store double %45, ptr %1, align 8
br label %48
46: ; preds = %27
br label %47
47: ; preds = %46, %22
store double 0.000000e+00, ptr %1, align 8
br label %48
48: ; preds = %47, %31
%49 = load double, ptr %1, align 8
ret double %49
}
declare i64 @clock(...) #1
declare i32 @fprintf(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvtiddgt4.c'
source_filename = "/tmp/tmpvtiddgt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_SET_MENU_LANGUAGE = 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/tmpvtiddgt4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CEC_MSG_SET_MENU_LANGUAGE = 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/tmpce3nfqb2.c'
source_filename = "/tmp/tmpce3nfqb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"LEFT CHANNEL:\09%.1f dB\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"RIGHT CHANNEL:\09%.1f dB\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getVolume(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [1 x i8], align 1
%6 = alloca [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca [1 x i8], align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 1, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 1, i1 false)
%13 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
store i8 61, ptr %13, align 1
%14 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
store i8 62, ptr %14, align 1
%15 = load i32, ptr %3, align 4
%16 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @write(i32 noundef %15, ptr noundef %16, i32 noundef 1)
%18 = load i32, ptr %3, align 4
%19 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 1)
%21 = load i32, ptr %3, align 4
%22 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%23 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef 1)
%24 = load i32, ptr %3, align 4
%25 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0
%26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 1)
%27 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
store i32 %29, ptr %9, align 4
%30 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
store i32 %32, ptr %10, align 4
store float 2.400000e+01, ptr %11, align 4
store float 2.400000e+01, ptr %12, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %70
35: ; preds = %2
%36 = load i32, ptr %9, align 4
br label %37
37: ; preds = %45, %35
%38 = load i32, ptr %9, align 4
%39 = icmp sgt i32 %38, 1
br i1 %39, label %40, label %48
40: ; preds = %37
%41 = load float, ptr %11, align 4
%42 = fpext float %41 to double
%43 = fsub double %42, 5.000000e-01
%44 = fptrunc double %43 to float
store float %44, ptr %11, align 4
br label %45
45: ; preds = %40
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %9, align 4
br label %37, !llvm.loop !6
48: ; preds = %37
%49 = load i32, ptr %10, align 4
br label %50
50: ; preds = %58, %48
%51 = load i32, ptr %10, align 4
%52 = icmp sgt i32 %51, 1
br i1 %52, label %53, label %61
53: ; preds = %50
%54 = load float, ptr %12, align 4
%55 = fpext float %54 to double
%56 = fsub double %55, 5.000000e-01
%57 = fptrunc double %56 to float
store float %57, ptr %12, align 4
br label %58
58: ; preds = %53
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %10, align 4
br label %50, !llvm.loop !8
61: ; preds = %50
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%63 = load float, ptr %11, align 4
%64 = fpext float %63 to double
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %64)
%66 = load float, ptr %12, align 4
%67 = fpext float %66 to double
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %67)
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %70
70: ; preds = %61, %2
%71 = load i32, ptr %9, align 4
ret i32 %71
}
; 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 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpce3nfqb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"LEFT CHANNEL:\09%.1f dB\0A\00", align 1
@.str.2 = private unnamed_addr constant [24 x i8] c"RIGHT CHANNEL:\09%.1f dB\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getVolume(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [1 x i8], align 1
%6 = alloca [1 x i8], align 1
%7 = alloca [1 x i8], align 1
%8 = alloca [1 x i8], align 1
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
call void @llvm.memset.p0.i64(ptr align 1 %7, i8 0, i64 1, i1 false)
call void @llvm.memset.p0.i64(ptr align 1 %8, i8 0, i64 1, i1 false)
%13 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
store i8 61, ptr %13, align 1
%14 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
store i8 62, ptr %14, align 1
%15 = load i32, ptr %3, align 4
%16 = getelementptr inbounds [1 x i8], ptr %5, i64 0, i64 0
%17 = call i32 @write(i32 noundef %15, ptr noundef %16, i32 noundef 1)
%18 = load i32, ptr %3, align 4
%19 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%20 = call i32 @read(i32 noundef %18, ptr noundef %19, i32 noundef 1)
%21 = load i32, ptr %3, align 4
%22 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0
%23 = call i32 @write(i32 noundef %21, ptr noundef %22, i32 noundef 1)
%24 = load i32, ptr %3, align 4
%25 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0
%26 = call i32 @read(i32 noundef %24, ptr noundef %25, i32 noundef 1)
%27 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
store i32 %29, ptr %9, align 4
%30 = getelementptr inbounds [1 x i8], ptr %8, i64 0, i64 0
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
store i32 %32, ptr %10, align 4
store float 2.400000e+01, ptr %11, align 4
store float 2.400000e+01, ptr %12, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp eq i32 %33, 0
br i1 %34, label %35, label %72
35: ; preds = %2
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = icmp sgt i32 %37, 1
br i1 %38, label %.lr.ph, label %49
.lr.ph: ; preds = %35
br label %39
39: ; preds = %.lr.ph, %44
%40 = load float, ptr %11, align 4
%41 = fpext float %40 to double
%42 = fsub double %41, 5.000000e-01
%43 = fptrunc double %42 to float
store float %43, ptr %11, align 4
br label %44
44: ; preds = %39
%45 = load i32, ptr %9, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %9, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp sgt i32 %47, 1
br i1 %48, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %49
49: ; preds = %._crit_edge, %35
%50 = load i32, ptr %10, align 4
%51 = load i32, ptr %10, align 4
%52 = icmp sgt i32 %51, 1
br i1 %52, label %.lr.ph2, label %63
.lr.ph2: ; preds = %49
br label %53
53: ; preds = %.lr.ph2, %58
%54 = load float, ptr %12, align 4
%55 = fpext float %54 to double
%56 = fsub double %55, 5.000000e-01
%57 = fptrunc double %56 to float
store float %57, ptr %12, align 4
br label %58
58: ; preds = %53
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, -1
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = icmp sgt i32 %61, 1
br i1 %62, label %53, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %63
63: ; preds = %._crit_edge3, %49
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%65 = load float, ptr %11, align 4
%66 = fpext float %65 to double
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %66)
%68 = load float, ptr %12, align 4
%69 = fpext float %68 to double
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %69)
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %72
72: ; preds = %63, %2
%73 = load i32, ptr %9, align 4
ret i32 %73
}
; 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 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, ...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp2yot4sac.c'
source_filename = "/tmp/tmp2yot4sac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_Line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = sub nsw i32 %26, %27
store i32 %28, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = call i64 @abs(i32 noundef %29)
%31 = load i32, ptr %11, align 4
%32 = call i64 @abs(i32 noundef %31)
%33 = icmp sge i64 %30, %32
%34 = zext i1 %33 to i32
store i32 %34, ptr %13, align 4
%35 = load i32, ptr %13, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %62
37: ; preds = %5
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %6, align 4
%40 = xor i32 %39, %38
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %8, align 4
%43 = xor i32 %42, %41
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %6, align 4
%46 = xor i32 %45, %44
store i32 %46, ptr %6, align 4
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %7, align 4
%49 = xor i32 %48, %47
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %9, align 4
%52 = xor i32 %51, %50
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %7, align 4
%55 = xor i32 %54, %53
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %56, %57
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %8, align 4
%61 = sub nsw i32 %59, %60
store i32 %61, ptr %12, align 4
br label %62
62: ; preds = %37, %5
store i32 1, ptr %14, align 4
%63 = load i32, ptr %11, align 4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %68
65: ; preds = %62
store i32 -1, ptr %14, align 4
%66 = load i32, ptr %11, align 4
%67 = sub nsw i32 0, %66
store i32 %67, ptr %11, align 4
br label %68
68: ; preds = %65, %62
store i32 1, ptr %15, align 4
%69 = load i32, ptr %12, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %68
store i32 -1, ptr %15, align 4
%72 = load i32, ptr %12, align 4
%73 = sub nsw i32 0, %72
store i32 %73, ptr %12, align 4
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %12, align 4
%76 = mul nsw i32 2, %75
store i32 %76, ptr %16, align 4
%77 = load i32, ptr %16, align 4
%78 = load i32, ptr %11, align 4
%79 = mul nsw i32 2, %78
%80 = sub nsw i32 %77, %79
store i32 %80, ptr %17, align 4
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %11, align 4
%83 = sub nsw i32 %81, %82
store i32 %83, ptr %18, align 4
%84 = load i32, ptr %8, align 4
store i32 %84, ptr %19, align 4
%85 = load i32, ptr %6, align 4
store i32 %85, ptr %22, align 4
br label %86
86: ; preds = %118, %74
%87 = load i32, ptr %22, align 4
%88 = load i32, ptr %7, align 4
%89 = icmp ne i32 %87, %88
br i1 %89, label %90, label %122
90: ; preds = %86
%91 = load i32, ptr %13, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %96
93: ; preds = %90
%94 = load i32, ptr %19, align 4
store i32 %94, ptr %20, align 4
%95 = load i32, ptr %22, align 4
store i32 %95, ptr %21, align 4
br label %99
96: ; preds = %90
%97 = load i32, ptr %22, align 4
store i32 %97, ptr %20, align 4
%98 = load i32, ptr %19, align 4
store i32 %98, ptr %21, align 4
br label %99
99: ; preds = %96, %93
%100 = load i32, ptr %20, align 4
%101 = load i32, ptr %21, align 4
%102 = load i32, ptr %10, align 4
%103 = call i32 @LCD_PlotPoint(i32 noundef %100, i32 noundef %101, i32 noundef %102)
%104 = load i32, ptr %18, align 4
%105 = icmp sgt i32 %104, 0
br i1 %105, label %106, label %113
106: ; preds = %99
%107 = load i32, ptr %17, align 4
%108 = load i32, ptr %18, align 4
%109 = add nsw i32 %108, %107
store i32 %109, ptr %18, align 4
%110 = load i32, ptr %19, align 4
%111 = load i32, ptr %15, align 4
%112 = add nsw i32 %110, %111
store i32 %112, ptr %19, align 4
br label %117
113: ; preds = %99
%114 = load i32, ptr %16, align 4
%115 = load i32, ptr %18, align 4
%116 = add nsw i32 %115, %114
store i32 %116, ptr %18, align 4
br label %117
117: ; preds = %113, %106
br label %118
118: ; preds = %117
%119 = load i32, ptr %14, align 4
%120 = load i32, ptr %22, align 4
%121 = add nsw i32 %120, %119
store i32 %121, ptr %22, align 4
br label %86, !llvm.loop !6
122: ; preds = %86
ret void
}
declare i64 @abs(i32 noundef) #1
declare i32 @LCD_PlotPoint(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2yot4sac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCD_Line(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 %4, ptr %10, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = sub nsw i32 %23, %24
store i32 %25, ptr %11, align 4
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = sub nsw i32 %26, %27
store i32 %28, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = call i64 @abs(i32 noundef %29)
%31 = load i32, ptr %11, align 4
%32 = call i64 @abs(i32 noundef %31)
%33 = icmp sge i64 %30, %32
%34 = zext i1 %33 to i32
store i32 %34, ptr %13, align 4
%35 = load i32, ptr %13, align 4
%36 = icmp ne i32 %35, 0
br i1 %36, label %37, label %62
37: ; preds = %5
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %6, align 4
%40 = xor i32 %39, %38
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = load i32, ptr %8, align 4
%43 = xor i32 %42, %41
store i32 %43, ptr %8, align 4
%44 = load i32, ptr %8, align 4
%45 = load i32, ptr %6, align 4
%46 = xor i32 %45, %44
store i32 %46, ptr %6, align 4
%47 = load i32, ptr %9, align 4
%48 = load i32, ptr %7, align 4
%49 = xor i32 %48, %47
store i32 %49, ptr %7, align 4
%50 = load i32, ptr %7, align 4
%51 = load i32, ptr %9, align 4
%52 = xor i32 %51, %50
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %7, align 4
%55 = xor i32 %54, %53
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = sub nsw i32 %56, %57
store i32 %58, ptr %11, align 4
%59 = load i32, ptr %9, align 4
%60 = load i32, ptr %8, align 4
%61 = sub nsw i32 %59, %60
store i32 %61, ptr %12, align 4
br label %62
62: ; preds = %37, %5
store i32 1, ptr %14, align 4
%63 = load i32, ptr %11, align 4
%64 = icmp slt i32 %63, 0
br i1 %64, label %65, label %68
65: ; preds = %62
store i32 -1, ptr %14, align 4
%66 = load i32, ptr %11, align 4
%67 = sub nsw i32 0, %66
store i32 %67, ptr %11, align 4
br label %68
68: ; preds = %65, %62
store i32 1, ptr %15, align 4
%69 = load i32, ptr %12, align 4
%70 = icmp slt i32 %69, 0
br i1 %70, label %71, label %74
71: ; preds = %68
store i32 -1, ptr %15, align 4
%72 = load i32, ptr %12, align 4
%73 = sub nsw i32 0, %72
store i32 %73, ptr %12, align 4
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %12, align 4
%76 = mul nsw i32 2, %75
store i32 %76, ptr %16, align 4
%77 = load i32, ptr %16, align 4
%78 = load i32, ptr %11, align 4
%79 = mul nsw i32 2, %78
%80 = sub nsw i32 %77, %79
store i32 %80, ptr %17, align 4
%81 = load i32, ptr %16, align 4
%82 = load i32, ptr %11, align 4
%83 = sub nsw i32 %81, %82
store i32 %83, ptr %18, align 4
%84 = load i32, ptr %8, align 4
store i32 %84, ptr %19, align 4
%85 = load i32, ptr %6, align 4
store i32 %85, ptr %22, align 4
%86 = load i32, ptr %22, align 4
%87 = load i32, ptr %7, align 4
%88 = icmp ne i32 %86, %87
br i1 %88, label %.lr.ph, label %124
.lr.ph: ; preds = %74
br label %89
89: ; preds = %.lr.ph, %117
%90 = load i32, ptr %13, align 4
%91 = icmp ne i32 %90, 0
br i1 %91, label %92, label %95
92: ; preds = %89
%93 = load i32, ptr %19, align 4
store i32 %93, ptr %20, align 4
%94 = load i32, ptr %22, align 4
store i32 %94, ptr %21, align 4
br label %98
95: ; preds = %89
%96 = load i32, ptr %22, align 4
store i32 %96, ptr %20, align 4
%97 = load i32, ptr %19, align 4
store i32 %97, ptr %21, align 4
br label %98
98: ; preds = %95, %92
%99 = load i32, ptr %20, align 4
%100 = load i32, ptr %21, align 4
%101 = load i32, ptr %10, align 4
%102 = call i32 @LCD_PlotPoint(i32 noundef %99, i32 noundef %100, i32 noundef %101)
%103 = load i32, ptr %18, align 4
%104 = icmp sgt i32 %103, 0
br i1 %104, label %105, label %112
105: ; preds = %98
%106 = load i32, ptr %17, align 4
%107 = load i32, ptr %18, align 4
%108 = add nsw i32 %107, %106
store i32 %108, ptr %18, align 4
%109 = load i32, ptr %19, align 4
%110 = load i32, ptr %15, align 4
%111 = add nsw i32 %109, %110
store i32 %111, ptr %19, align 4
br label %116
112: ; preds = %98
%113 = load i32, ptr %16, align 4
%114 = load i32, ptr %18, align 4
%115 = add nsw i32 %114, %113
store i32 %115, ptr %18, align 4
br label %116
116: ; preds = %112, %105
br label %117
117: ; preds = %116
%118 = load i32, ptr %14, align 4
%119 = load i32, ptr %22, align 4
%120 = add nsw i32 %119, %118
store i32 %120, ptr %22, align 4
%121 = load i32, ptr %22, align 4
%122 = load i32, ptr %7, align 4
%123 = icmp ne i32 %121, %122
br i1 %123, label %89, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %117
br label %124
124: ; preds = %._crit_edge, %74
ret void
}
declare i64 @abs(i32 noundef) #1
declare i32 @LCD_PlotPoint(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkw4fq876.c'
source_filename = "/tmp/tmpkw4fq876.c"
target datalayout = "e-m:e-p270: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 = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uptcp_connect(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %9
9: ; preds = %3
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.sockaddr, ptr %11, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = trunc i64 %13 to i8
store i8 %14, ptr %8, align 1
%15 = load i64, ptr %6, align 8
%16 = trunc i64 %15 to i8
%17 = load ptr, ptr %7, align 8
store i8 %16, ptr %17, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
%20 = load i8, ptr %8, align 1
%21 = load ptr, ptr %7, align 8
store i8 %20, ptr %21, align 1
br label %22
22: ; preds = %9
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i64, ptr %6, align 8
%26 = call i32 @bsd_syscall_connect(i32 noundef %23, ptr noundef %24, i64 noundef %25)
ret i32 %26
}
declare i32 @bsd_syscall_connect(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkw4fq876.c"
target datalayout = "e-m:e-p270: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 = type { i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @uptcp_connect(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
br label %9
9: ; preds = %3
%10 = load ptr, ptr %5, align 8
store ptr %10, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds %struct.sockaddr, ptr %11, i32 0, i32 0
%13 = load i64, ptr %12, align 8
%14 = trunc i64 %13 to i8
store i8 %14, ptr %8, align 1
%15 = load i64, ptr %6, align 8
%16 = trunc i64 %15 to i8
%17 = load ptr, ptr %7, align 8
store i8 %16, ptr %17, align 1
%18 = load ptr, ptr %7, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %7, align 8
%20 = load i8, ptr %8, align 1
%21 = load ptr, ptr %7, align 8
store i8 %20, ptr %21, align 1
br label %22
22: ; preds = %9
%23 = load i32, ptr %4, align 4
%24 = load ptr, ptr %5, align 8
%25 = load i64, ptr %6, align 8
%26 = call i32 @bsd_syscall_connect(i32 noundef %23, ptr noundef %24, i64 noundef %25)
ret i32 %26
}
declare i32 @bsd_syscall_connect(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa3zq55kw.c'
source_filename = "/tmp/tmpa3zq55kw.c"
target datalayout = "e-m:e-p270: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.dirent = type { i64, ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"/proc\00", align 1
@DT_DIR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [14 x i8] c"/proc/%s/comm\00", align 1
@F_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @only_one_process() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %4, align 4
%9 = load i32, ptr @PATH_MAX, 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
store i32 1, ptr %7, align 4
%13 = call ptr @opendir(ptr noundef @.str)
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %0
store i32 -1, ptr %1, align 4
store i32 1, ptr %8, align 4
br label %50
17: ; preds = %0
br label %18
18: ; preds = %45, %38, %28, %17
%19 = load ptr, ptr %2, align 8
%20 = call ptr @readdir(ptr noundef %19)
store ptr %20, ptr %3, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %22, label %46
22: ; preds = %18
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds %struct.dirent, ptr %23, i32 0, i32 0
%25 = load i64, ptr %24, align 8
%26 = load i64, ptr @DT_DIR, align 8
%27 = icmp ne i64 %25, %26
br i1 %27, label %28, label %29
28: ; preds = %22
br label %18, !llvm.loop !6
29: ; preds = %22
%30 = load i32, ptr @PATH_MAX, align 4
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds %struct.dirent, ptr %31, i32 0, i32 1
%33 = load ptr, ptr %32, align 8
%34 = call i32 @snprintf(ptr noundef %12, i32 noundef %30, ptr noundef @.str.1, ptr noundef %33)
%35 = load i32, ptr @F_OK, align 4
%36 = call i64 @access(ptr noundef %12, i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %29
br label %18, !llvm.loop !6
39: ; preds = %29
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %4, align 4
%43 = icmp sgt i32 %42, 1
br i1 %43, label %44, label %45
44: ; preds = %39
store i32 0, ptr %7, align 4
br label %46
45: ; preds = %39
br label %18, !llvm.loop !6
46: ; preds = %44, %18
%47 = load ptr, ptr %2, align 8
%48 = call i32 @closedir(ptr noundef %47)
%49 = load i32, ptr %7, align 4
store i32 %49, ptr %1, align 4
store i32 1, ptr %8, align 4
br label %50
50: ; preds = %46, %16
%51 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %51)
%52 = load i32, ptr %1, align 4
ret i32 %52
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i64 @access(ptr noundef, i32 noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa3zq55kw.c"
target datalayout = "e-m:e-p270: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.dirent = type { i64, ptr }
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"/proc\00", align 1
@DT_DIR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [14 x i8] c"/proc/%s/comm\00", align 1
@F_OK = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @only_one_process() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %4, align 4
%9 = load i32, ptr @PATH_MAX, 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
store i32 1, ptr %7, align 4
%13 = call ptr @opendir(ptr noundef @.str)
store ptr %13, ptr %2, align 8
%14 = load ptr, ptr %2, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %0
store i32 -1, ptr %1, align 4
store i32 1, ptr %8, align 4
br label %52
17: ; preds = %0
%18 = load ptr, ptr %2, align 8
%19 = call ptr @readdir(ptr noundef %18)
store ptr %19, ptr %3, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %17
br label %21
21: ; preds = %.lr.ph, %.backedge
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds %struct.dirent, ptr %22, i32 0, i32 0
%24 = load i64, ptr %23, align 8
%25 = load i64, ptr @DT_DIR, align 8
%26 = icmp ne i64 %24, %25
br i1 %26, label %27, label %31
27: ; preds = %21
br label %.backedge
.backedge: ; preds = %27, %40, %47
%28 = load ptr, ptr %2, align 8
%29 = call ptr @readdir(ptr noundef %28)
store ptr %29, ptr %3, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %21, label %..loopexit_crit_edge, !llvm.loop !6
31: ; preds = %21
%32 = load i32, ptr @PATH_MAX, align 4
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 1
%35 = load ptr, ptr %34, align 8
%36 = call i32 @snprintf(ptr noundef %12, i32 noundef %32, ptr noundef @.str.1, ptr noundef %35)
%37 = load i32, ptr @F_OK, align 4
%38 = call i64 @access(ptr noundef %12, i32 noundef %37)
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %41
40: ; preds = %31
br label %.backedge
41: ; preds = %31
%42 = load i32, ptr %4, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %4, align 4
%44 = load i32, ptr %4, align 4
%45 = icmp sgt i32 %44, 1
br i1 %45, label %46, label %47
46: ; preds = %41
store i32 0, ptr %7, align 4
br label %48
47: ; preds = %41
br label %.backedge
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %17
br label %48
48: ; preds = %.loopexit, %46
%49 = load ptr, ptr %2, align 8
%50 = call i32 @closedir(ptr noundef %49)
%51 = load i32, ptr %7, align 4
store i32 %51, ptr %1, align 4
store i32 1, ptr %8, align 4
br label %52
52: ; preds = %48, %16
%53 = load ptr, ptr %5, align 8
call void @llvm.stackrestore(ptr %53)
%54 = load i32, ptr %1, align 4
ret i32 %54
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare ptr @opendir(ptr noundef) #2
declare ptr @readdir(ptr noundef) #2
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i64 @access(ptr noundef, i32 noundef) #2
declare i32 @closedir(ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphyfb398b.c'
source_filename = "/tmp/tmphyfb398b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @HUMIDITY_GET_DATA() #0 {
%1 = call signext i8 (...) @TOSH_READ_HUM_SDA_PIN()
ret i8 %1
}
declare signext i8 @TOSH_READ_HUM_SDA_PIN(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphyfb398b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @HUMIDITY_GET_DATA() #0 {
%1 = call signext i8 (...) @TOSH_READ_HUM_SDA_PIN()
ret i8 %1
}
declare signext i8 @TOSH_READ_HUM_SDA_PIN(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8v00hr95.c'
source_filename = "/tmp/tmp8v00hr95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DM_UUID_LEN = 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/tmp8v00hr95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DM_UUID_LEN = 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/tmp9eka9npr.c'
source_filename = "/tmp/tmp9eka9npr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"How many numbers do you want to calculate? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"What triangular number do you want? \00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Triangular number %i is %i\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %31, %0
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %34
13: ; preds = %9
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
br label %16
16: ; preds = %24, %13
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp sle i32 %17, %18
br i1 %19, label %20, label %27
20: ; preds = %16
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %4, align 4
br label %24
24: ; preds = %20
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %16, !llvm.loop !6
27: ; preds = %16
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %4, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28, i32 noundef %29)
br label %31
31: ; preds = %27
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %5, align 4
br label %9, !llvm.loop !8
34: ; preds = %9
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9eka9npr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"How many numbers do you want to calculate? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"What triangular number do you want? \00", align 1
@.str.3 = private unnamed_addr constant [29 x i8] c"Triangular number %i is %i\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
store i32 1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph2, label %38
.lr.ph2: ; preds = %0
br label %12
12: ; preds = %.lr.ph2, %32
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
store i32 0, ptr %4, align 4
store i32 1, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %.lr.ph, label %28
.lr.ph: ; preds = %12
br label %18
18: ; preds = %.lr.ph, %22
%19 = load i32, ptr %2, align 4
%20 = load i32, ptr %4, align 4
%21 = add nsw i32 %20, %19
store i32 %21, ptr %4, align 4
br label %22
22: ; preds = %18
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp sle i32 %25, %26
br i1 %27, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %28
28: ; preds = %._crit_edge, %12
%29 = load i32, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %30)
br label %32
32: ; preds = %28
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = load i32, ptr %6, align 4
%37 = icmp sle i32 %35, %36
br i1 %37, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %32
br label %38
38: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp3qx3amlc.c'
source_filename = "/tmp/tmp3qx3amlc.c"
target datalayout = "e-m:e-p270: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/tmp3qx3amlc.c"
target datalayout = "e-m:e-p270: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/tmpcfvqry8t.c'
source_filename = "/tmp/tmpcfvqry8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_strcut_first(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 1
%13 = call ptr @calloc(i64 noundef %12, i32 noundef 1)
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add nsw i64 %17, 1
%19 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %18)
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 @strcut(ptr noundef %20, i32 noundef %21, i32 noundef %22)
%24 = load ptr, ptr %9, align 8
%25 = load ptr, ptr %8, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = add nsw i64 %27, 1
%29 = call i64 @memcmp(ptr noundef %24, ptr noundef %25, i64 noundef %28)
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
ret void
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcut(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @memcmp(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/tmpcfvqry8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_strcut_first(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = add nsw i64 %11, 1
%13 = call ptr @calloc(i64 noundef %12, i32 noundef 1)
store ptr %13, ptr %9, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %5, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add nsw i64 %17, 1
%19 = call i32 @memcpy(ptr noundef %14, ptr noundef %15, i64 noundef %18)
%20 = load ptr, ptr %9, align 8
%21 = load i32, ptr %6, align 4
%22 = load i32, ptr %7, align 4
%23 = call i32 @strcut(ptr noundef %20, i32 noundef %21, i32 noundef %22)
%24 = load ptr, ptr %9, align 8
%25 = load ptr, ptr %8, align 8
%26 = load ptr, ptr %8, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = add nsw i64 %27, 1
%29 = call i64 @memcmp(ptr noundef %24, ptr noundef %25, i64 noundef %28)
%30 = icmp eq i64 %29, 0
%31 = zext i1 %30 to i32
%32 = call i32 @assert(i32 noundef %31)
ret void
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @strcut(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @memcmp(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/tmp4tufp7fh.c'
source_filename = "/tmp/tmp4tufp7fh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
br label %2
2: ; preds = %27, %0
%3 = call i32 (...) @getchar()
store i32 %3, ptr %1, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %6, label %28
6: ; preds = %2
%7 = load i32, ptr %1, align 4
%8 = icmp eq i32 %7, 9
br i1 %8, label %9, label %12
9: ; preds = %6
%10 = call i32 @putchar(i32 noundef 92)
%11 = call i32 @putchar(i32 noundef 116)
br label %12
12: ; preds = %9, %6
%13 = load i32, ptr %1, align 4
%14 = icmp eq i32 %13, 8
br i1 %14, label %15, label %18
15: ; preds = %12
%16 = call i32 @putchar(i32 noundef 92)
%17 = call i32 @putchar(i32 noundef 98)
br label %18
18: ; preds = %15, %12
%19 = load i32, ptr %1, align 4
%20 = icmp eq i32 %19, 92
br i1 %20, label %21, label %24
21: ; preds = %18
%22 = call i32 @putchar(i32 noundef 92)
%23 = call i32 @putchar(i32 noundef 92)
br label %27
24: ; preds = %18
%25 = load i32, ptr %1, align 4
%26 = call i32 @putchar(i32 noundef %25)
br label %27
27: ; preds = %24, %21
br label %2, !llvm.loop !6
28: ; preds = %2
ret void
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4tufp7fh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @getchar()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr @EOF, align 4
%4 = icmp ne i32 %2, %3
br i1 %4, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %26
%6 = load i32, ptr %1, align 4
%7 = icmp eq i32 %6, 9
br i1 %7, label %8, label %11
8: ; preds = %5
%9 = call i32 @putchar(i32 noundef 92)
%10 = call i32 @putchar(i32 noundef 116)
br label %11
11: ; preds = %8, %5
%12 = load i32, ptr %1, align 4
%13 = icmp eq i32 %12, 8
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = call i32 @putchar(i32 noundef 92)
%16 = call i32 @putchar(i32 noundef 98)
br label %17
17: ; preds = %14, %11
%18 = load i32, ptr %1, align 4
%19 = icmp eq i32 %18, 92
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = call i32 @putchar(i32 noundef 92)
%22 = call i32 @putchar(i32 noundef 92)
br label %26
23: ; preds = %17
%24 = load i32, ptr %1, align 4
%25 = call i32 @putchar(i32 noundef %24)
br label %26
26: ; preds = %23, %20
%27 = call i32 (...) @getchar()
store i32 %27, ptr %1, align 4
%28 = load i32, ptr @EOF, align 4
%29 = icmp ne i32 %27, %28
br i1 %29, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %30
30: ; preds = %._crit_edge, %0
ret void
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgiily26k.c'
source_filename = "/tmp/tmpgiily26k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_setreuid = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sreuid(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 @SYS_setreuid, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @syscall(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret i32 %8
}
declare i32 @syscall(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/tmpgiily26k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SYS_setreuid = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sreuid(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 @SYS_setreuid, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @syscall(i32 noundef %5, i32 noundef %6, i32 noundef %7)
ret i32 %8
}
declare i32 @syscall(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/tmp0a8wempn.c'
source_filename = "/tmp/tmp0a8wempn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmp0a8wempn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNSPEC = dso_local global i32 0, align 4
@AI_PASSIVE = dso_local global i32 0, align 4
@FD_CLOEXEC = dso_local global i32 0, align 4
@F_SETFD = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = 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/tmp9xddev0p.c'
source_filename = "/tmp/tmp9xddev0p.c"
target datalayout = "e-m:e-p270: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/tmp9xddev0p.c"
target datalayout = "e-m:e-p270: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/tmp3wkhf0xg.c'
source_filename = "/tmp/tmp3wkhf0xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_ALGOR_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509_ALGOR_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @X509_ALGOR_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/tmp3wkhf0xg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@X509_ALGOR_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @X509_ALGOR_new() #0 {
%1 = call i64 @ASN1_item_new(ptr noundef @X509_ALGOR_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/tmpj31z07pv.c'
source_filename = "/tmp/tmpj31z07pv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait(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 @syscall_wait(ptr noundef %3)
ret i32 %4
}
declare i32 @syscall_wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj31z07pv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wait(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 @syscall_wait(ptr noundef %3)
ret i32 %4
}
declare i32 @syscall_wait(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvlqae2l7.c'
source_filename = "/tmp/tmpvlqae2l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"error when creating pipe\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"error when creating child process\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
%5 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%6 = call i64 @pipe(ptr noundef %5)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %50
10: ; preds = %0
%11 = call i32 (...) @fork()
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %50
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %35
19: ; preds = %16
%20 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%21 = load i32, ptr %20, align 4
%22 = call i32 @close(i32 noundef %21)
br label %23
23: ; preds = %19, %34
%24 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 1024)
%26 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%29 = call i64 @read(i32 noundef %27, ptr noundef %28, i32 noundef 1024)
%30 = icmp sgt i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%33 = call i32 @child_answers(ptr noundef %32)
br label %34
34: ; preds = %31, %23
br label %23
35: ; preds = %16
%36 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @close(i32 noundef %37)
br label %39
39: ; preds = %35, %39
%40 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 1024)
%42 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%43 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %42)
%44 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%45 = load i32, ptr %44, align 4
%46 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%47 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%48 = call i32 @strlen(ptr noundef %47)
%49 = call i32 @write(i32 noundef %45, ptr noundef %46, i32 noundef %48)
br label %39
50: ; preds = %14, %8
%51 = load i32, ptr %1, align 4
ret i32 %51
}
declare i64 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @child_answers(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvlqae2l7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"error when creating pipe\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"error when creating child process\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [2 x i32], align 4
%3 = alloca i32, align 4
%4 = alloca [1024 x i8], align 16
store i32 0, ptr %1, align 4
store i32 -1, ptr %3, align 4
%5 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%6 = call i64 @pipe(ptr noundef %5)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %0
%9 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %50
10: ; preds = %0
%11 = call i32 (...) @fork()
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %10
%15 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %1, align 4
br label %50
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = icmp eq i32 %17, 0
br i1 %18, label %19, label %35
19: ; preds = %16
%20 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%21 = load i32, ptr %20, align 4
%22 = call i32 @close(i32 noundef %21)
br label %23
23: ; preds = %34, %19
%24 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%25 = call i32 @memset(ptr noundef %24, i32 noundef 0, i32 noundef 1024)
%26 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%27 = load i32, ptr %26, align 4
%28 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%29 = call i64 @read(i32 noundef %27, ptr noundef %28, i32 noundef 1024)
%30 = icmp sgt i64 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %23
%32 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%33 = call i32 @child_answers(ptr noundef %32)
br label %34
34: ; preds = %31, %23
br label %23
35: ; preds = %16
%36 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 0
%37 = load i32, ptr %36, align 4
%38 = call i32 @close(i32 noundef %37)
br label %39
39: ; preds = %39, %35
%40 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%41 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef 1024)
%42 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%43 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %42)
%44 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1
%45 = load i32, ptr %44, align 4
%46 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%47 = getelementptr inbounds [1024 x i8], ptr %4, i64 0, i64 0
%48 = call i32 @strlen(ptr noundef %47)
%49 = call i32 @write(i32 noundef %45, ptr noundef %46, i32 noundef %48)
br label %39
50: ; preds = %14, %8
%51 = load i32, ptr %1, align 4
ret i32 %51
}
declare i64 @pipe(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fork(...) #1
declare i32 @close(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @child_answers(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpobo06hye.c'
source_filename = "/tmp/tmpobo06hye.c"
target datalayout = "e-m:e-p270: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/tmpobo06hye.c"
target datalayout = "e-m:e-p270: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/tmplsv4q0m1.c'
source_filename = "/tmp/tmplsv4q0m1.c"
target datalayout = "e-m:e-p270: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/tmplsv4q0m1.c"
target datalayout = "e-m:e-p270: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/tmp32dfdv35.c'
source_filename = "/tmp/tmp32dfdv35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_rpc_dtablesize.size = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_rpc_dtablesize() #0 {
%1 = load i32, ptr @_rpc_dtablesize.size, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 (...) @__getdtablesize()
store i32 %4, ptr @_rpc_dtablesize.size, align 4
br label %5
5: ; preds = %3, %0
%6 = load i32, ptr @_rpc_dtablesize.size, align 4
ret i32 %6
}
declare i32 @__getdtablesize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp32dfdv35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_rpc_dtablesize.size = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @_rpc_dtablesize() #0 {
%1 = load i32, ptr @_rpc_dtablesize.size, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
%4 = call i32 (...) @__getdtablesize()
store i32 %4, ptr @_rpc_dtablesize.size, align 4
br label %5
5: ; preds = %3, %0
%6 = load i32, ptr @_rpc_dtablesize.size, align 4
ret i32 %6
}
declare i32 @__getdtablesize(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq5dti9er.c'
source_filename = "/tmp/tmpq5dti9er.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_and12_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = and i32 %15, 12
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5dti9er.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_and12_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, 12
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmfti_0vz.c'
source_filename = "/tmp/tmpmfti_0vz.c"
target datalayout = "e-m:e-p270: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/tmpmfti_0vz.c"
target datalayout = "e-m:e-p270: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/tmpo_s15wo6.c'
source_filename = "/tmp/tmpo_s15wo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USART2_CAN1_ISR() #0 {
%1 = call i32 (...) @USART2_ISR()
%2 = call i32 (...) @CAN1_ISR()
ret void
}
declare i32 @USART2_ISR(...) #1
declare i32 @CAN1_ISR(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo_s15wo6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USART2_CAN1_ISR() #0 {
%1 = call i32 (...) @USART2_ISR()
%2 = call i32 (...) @CAN1_ISR()
ret void
}
declare i32 @USART2_ISR(...) #1
declare i32 @CAN1_ISR(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcdrg5w99.c'
source_filename = "/tmp/tmpcdrg5w99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f \00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"%f usegs\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100000 x double], align 16
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %17, %0
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 100000
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = sitofp i32 %12 to double
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [100000 x double], ptr %2, i64 0, i64 %15
store double %13, ptr %16, align 8
br label %17
17: ; preds = %11
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %8, !llvm.loop !6
20: ; preds = %8
%21 = call i64 (...) @clock()
store i64 %21, ptr %4, align 8
%22 = getelementptr inbounds [100000 x double], ptr %2, i64 0, i64 0
%23 = call double @sum_array(ptr noundef %22, i32 noundef 100000)
store double %23, ptr %7, align 8
%24 = call i64 (...) @clock()
store i64 %24, ptr %5, align 8
%25 = load double, ptr %7, align 8
%26 = call i32 @printf(ptr noundef @.str, double noundef %25)
%27 = load i64, ptr %5, align 8
%28 = load i64, ptr %4, align 8
%29 = sub nsw i64 %27, %28
%30 = sitofp i64 %29 to double
%31 = load double, ptr @CLOCKS_PER_SEC, align 8
%32 = fdiv double %30, %31
store double %32, ptr %6, align 8
%33 = load double, ptr %6, align 8
%34 = fmul double %33, 1.000000e+06
store double %34, ptr %6, align 8
%35 = load double, ptr %6, align 8
%36 = call i32 @printf(ptr noundef @.str.1, double noundef %35)
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i64 @clock(...) #1
declare double @sum_array(ptr noundef, i32 noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcdrg5w99.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f \00", align 1
@CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"%f usegs\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100000 x double], align 16
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 100000
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %16
%11 = load i32, ptr %3, align 4
%12 = sitofp i32 %11 to double
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [100000 x double], ptr %2, i64 0, i64 %14
store double %12, ptr %15, align 8
br label %16
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 100000
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = call i64 (...) @clock()
store i64 %22, ptr %4, align 8
%23 = getelementptr inbounds [100000 x double], ptr %2, i64 0, i64 0
%24 = call double @sum_array(ptr noundef %23, i32 noundef 100000)
store double %24, ptr %7, align 8
%25 = call i64 (...) @clock()
store i64 %25, ptr %5, align 8
%26 = load double, ptr %7, align 8
%27 = call i32 @printf(ptr noundef @.str, double noundef %26)
%28 = load i64, ptr %5, align 8
%29 = load i64, ptr %4, align 8
%30 = sub nsw i64 %28, %29
%31 = sitofp i64 %30 to double
%32 = load double, ptr @CLOCKS_PER_SEC, align 8
%33 = fdiv double %31, %32
store double %33, ptr %6, align 8
%34 = load double, ptr %6, align 8
%35 = fmul double %34, 1.000000e+06
store double %35, ptr %6, align 8
%36 = load double, ptr %6, align 8
%37 = call i32 @printf(ptr noundef @.str.1, double noundef %36)
%38 = load i32, ptr %1, align 4
ret i32 %38
}
declare i64 @clock(...) #1
declare double @sum_array(ptr noundef, i32 noundef) #1
declare i32 @printf(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmparjv6aq5.c'
source_filename = "/tmp/tmparjv6aq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"See ya!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %0, %3
%4 = call i32 (...) @func()
br label %3
5: ; No predecessors!
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @func(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmparjv6aq5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"See ya!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %3, %0
%4 = call i32 (...) @func()
br label %3
5: ; No predecessors!
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @func(...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzrr67yg9.c'
source_filename = "/tmp/tmpzrr67yg9.c"
target datalayout = "e-m:e-p270: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/tmpzrr67yg9.c"
target datalayout = "e-m:e-p270: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/tmpu5jdgbez.c'
source_filename = "/tmp/tmpu5jdgbez.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@INADDR_NONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__inet_addr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.in_addr, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @__inet_aton(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = getelementptr inbounds %struct.in_addr, ptr %4, i32 0, i32 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr @INADDR_NONE, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @__inet_aton(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/tmpu5jdgbez.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
@INADDR_NONE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__inet_addr(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.in_addr, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @__inet_aton(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = getelementptr inbounds %struct.in_addr, ptr %4, i32 0, i32 0
%10 = load i32, ptr %9, align 4
store i32 %10, ptr %2, align 4
br label %13
11: ; preds = %1
%12 = load i32, ptr @INADDR_NONE, align 4
store i32 %12, ptr %2, align 4
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @__inet_aton(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.