llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpbwd2xctu.c'
source_filename = "/tmp/tmpbwd2xctu.c"
target datalayout = "e-m:e-p270: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/tmpbwd2xctu.c"
target datalayout = "e-m:e-p270: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/tmp3u8gabl4.c'
source_filename = "/tmp/tmp3u8gabl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 3, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %3, align 4
br label %20
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %19
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %16, %13
br label %20
20: ; preds = %19, %7
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %2, align 4
br label %34
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %33
32: ; preds = %26
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %29
br label %34
34: ; preds = %33, %23
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %35, %36
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = call i32 @printf(ptr noundef @.str, i32 noundef %38)
ret i32 0
}
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/tmp3u8gabl4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 2, ptr %2, align 4
store i32 3, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, -1
store i32 %9, ptr %3, align 4
br label %20
10: ; preds = %0
%11 = load i32, ptr %2, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
br label %19
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
br label %19
19: ; preds = %16, %13
br label %20
20: ; preds = %19, %7
%21 = load i32, ptr %3, align 4
%22 = icmp ne i32 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load i32, ptr %2, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %2, align 4
br label %34
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %32
29: ; preds = %26
%30 = load i32, ptr %3, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %3, align 4
br label %33
32: ; preds = %26
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %29
br label %34
34: ; preds = %33, %23
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = add nsw i32 %35, %36
store i32 %37, ptr %4, align 4
%38 = load i32, ptr %4, align 4
%39 = call i32 @printf(ptr noundef @.str, i32 noundef %38)
ret i32 0
}
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/tmpo3ogu33n.c'
source_filename = "/tmp/tmpo3ogu33n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillRand3(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %16, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %10, label %19
10: ; preds = %6
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 2
%13 = load ptr, ptr %3, align 8
%14 = load i64, ptr %5, align 8
%15 = getelementptr inbounds i32, ptr %13, i64 %14
store i32 %12, ptr %15, align 4
br label %16
16: ; preds = %10
%17 = load i64, ptr %5, align 8
%18 = add i64 %17, 1
store i64 %18, ptr %5, align 8
br label %6, !llvm.loop !6
19: ; preds = %6
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo3ogu33n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fillRand3(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %.lr.ph, label %21
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %15
%10 = call i32 (...) @rand()
%11 = srem i32 %10, 2
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i32, ptr %12, i64 %13
store i32 %11, ptr %14, align 4
br label %15
15: ; preds = %9
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %5, align 8
%18 = load i64, ptr %5, align 8
%19 = load i64, ptr %4, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %2
ret void
}
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpiemfahg3.c'
source_filename = "/tmp/tmpiemfahg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uputch(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiemfahg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uputch(i32 noundef %0, i8 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store i32 %0, ptr %3, align 4
store i8 %1, ptr %4, align 1
%5 = load i32, ptr %3, align 4
%6 = call i32 @write(i32 noundef %5, ptr noundef %4, i32 noundef 1)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpusc14tns.c'
source_filename = "/tmp/tmpusc14tns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @option_read_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @read_int(ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @read_int(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/tmpusc14tns.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @option_read_int(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %4, align 8
%9 = call i32 @read_int(ptr noundef %7, ptr noundef %8)
ret i32 %9
}
declare i32 @read_int(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/tmpuuete310.c'
source_filename = "/tmp/tmpuuete310.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cFreeString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
store ptr null, ptr %13, align 8
store ptr null, ptr %2, align 8
br label %14
14: ; preds = %9, %5, %1
ret void
}
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/tmpuuete310.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cFreeString(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %14
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %6, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = load ptr, ptr %2, align 8
%11 = load ptr, ptr %10, align 8
%12 = call i32 @free(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
store ptr null, ptr %13, align 8
store ptr null, ptr %2, align 8
br label %14
14: ; preds = %9, %5, %1
ret void
}
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/tmplbzlwi8e.c'
source_filename = "/tmp/tmplbzlwi8e.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @unirandom_f(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = fcmp olt float %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load float, ptr %3, align 4
%11 = load float, ptr %4, align 4
%12 = load float, ptr %3, align 4
%13 = fsub float %11, %12
%14 = call float (...) @random()
%15 = load i64, ptr @RAND_MAX, align 8
%16 = sitofp i64 %15 to float
%17 = fdiv float %14, %16
%18 = call float @llvm.fmuladd.f32(float %13, float %17, float %10)
ret float %18
}
declare i32 @assert(i32 noundef) #1
declare float @random(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplbzlwi8e.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @unirandom_f(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = fcmp olt float %5, %6
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 noundef %8)
%10 = load float, ptr %3, align 4
%11 = load float, ptr %4, align 4
%12 = load float, ptr %3, align 4
%13 = fsub float %11, %12
%14 = call float (...) @random()
%15 = load i64, ptr @RAND_MAX, align 8
%16 = sitofp i64 %15 to float
%17 = fdiv float %14, %16
%18 = call float @llvm.fmuladd.f32(float %13, float %17, float %10)
ret float %18
}
declare i32 @assert(i32 noundef) #1
declare float @random(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgh_a862x.c'
source_filename = "/tmp/tmpgh_a862x.c"
target datalayout = "e-m:e-p270: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/tmpgh_a862x.c"
target datalayout = "e-m:e-p270: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/tmph9talexi.c'
source_filename = "/tmp/tmph9talexi.c"
target datalayout = "e-m:e-p270: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/tmph9talexi.c"
target datalayout = "e-m:e-p270: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/tmpfoa0acjd.c'
source_filename = "/tmp/tmpfoa0acjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DoBlue = dso_local global i32 0, align 4
@DoGreen = dso_local global i32 0, align 4
@DoRed = 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/tmpfoa0acjd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@DoBlue = dso_local global i32 0, align 4
@DoGreen = dso_local global i32 0, align 4
@DoRed = 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/tmp3brrjmzz.c'
source_filename = "/tmp/tmp3brrjmzz.c"
target datalayout = "e-m:e-p270: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/tmp3brrjmzz.c"
target datalayout = "e-m:e-p270: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/tmpa82yxjki.c'
source_filename = "/tmp/tmpa82yxjki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_start_color() #0 {
%1 = call i32 (...) @start_color()
ret i32 %1
}
declare i32 @start_color(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa82yxjki.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wrap_start_color() #0 {
%1 = call i32 (...) @start_color()
ret i32 %1
}
declare i32 @start_color(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmvpp53ww.c'
source_filename = "/tmp/tmpmvpp53ww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Enter the number of days this month: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"Enter starting day of the week (1=Sun, 7=Sat): \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %16, %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %19
14: ; preds = %10
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %16
16: ; preds = %14
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
br label %10, !llvm.loop !6
19: ; preds = %10
store i32 1, ptr %5, align 4
br label %20
20: ; preds = %33, %19
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %3, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %24, label %38
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %25)
%27 = load i32, ptr %2, align 4
%28 = srem i32 %27, 7
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %24
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %32
32: ; preds = %30, %24
br label %33
33: ; preds = %32
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
br label %20, !llvm.loop !8
38: ; preds = %20
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
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/tmpmvpp53ww.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [38 x i8] c"Enter the number of days this month: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [48 x i8] c"Enter starting day of the week (1=Sun, 7=Sat): \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" \00", align 1
@.str.4 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
store i32 1, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %15
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %15
15: ; preds = %13
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %0
store i32 1, ptr %5, align 4
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %.lr.ph2, label %42
.lr.ph2: ; preds = %21
br label %25
25: ; preds = %.lr.ph2, %34
%26 = load i32, ptr %5, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %26)
%28 = load i32, ptr %2, align 4
%29 = srem i32 %28, 7
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %33
31: ; preds = %25
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %33
33: ; preds = %31, %25
br label %34
34: ; preds = %33
%35 = load i32, ptr %2, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %2, align 4
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %3, align 4
%41 = icmp sle i32 %39, %40
br i1 %41, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %42
42: ; preds = %._crit_edge3, %21
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
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/tmpvg1eqd44.c'
source_filename = "/tmp/tmpvg1eqd44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\[\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printEscapedRangeChar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %18 [
i32 91, label %6
i32 93, label %10
i32 92, label %14
]
6: ; preds = %1
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %3, align 4
br label %24
10: ; preds = %1
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %3, align 4
br label %24
14: ; preds = %1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %3, align 4
br label %24
18: ; preds = %1
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %18, %14, %10, %6
%25 = load i32, ptr %3, align 4
ret i32 %25
}
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/tmpvg1eqd44.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\\[\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"\\]\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\\\\\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @printEscapedRangeChar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i32 0, ptr %3, align 4
%4 = load i8, ptr %2, align 1
%5 = sext i8 %4 to i32
switch i32 %5, label %18 [
i32 91, label %6
i32 93, label %10
i32 92, label %14
]
6: ; preds = %1
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, %7
store i32 %9, ptr %3, align 4
br label %24
10: ; preds = %1
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, %11
store i32 %13, ptr %3, align 4
br label %24
14: ; preds = %1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%16 = load i32, ptr %3, align 4
%17 = add nsw i32 %16, %15
store i32 %17, ptr %3, align 4
br label %24
18: ; preds = %1
%19 = load i8, ptr %2, align 1
%20 = sext i8 %19 to i32
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20)
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, %21
store i32 %23, ptr %3, align 4
br label %24
24: ; preds = %18, %14, %10, %6
%25 = load i32, ptr %3, align 4
ret i32 %25
}
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/tmp8sew4v88.c'
source_filename = "/tmp/tmp8sew4v88.c"
target datalayout = "e-m:e-p270: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/tmp8sew4v88.c"
target datalayout = "e-m:e-p270: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/tmp6g_v44pe.c'
source_filename = "/tmp/tmp6g_v44pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YMF262Init(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @OPL3Create(i32 noundef 0, i32 noundef %5, i32 noundef %6)
ret ptr %7
}
declare ptr @OPL3Create(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/tmp6g_v44pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @YMF262Init(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call ptr @OPL3Create(i32 noundef 0, i32 noundef %5, i32 noundef %6)
ret ptr %7
}
declare ptr @OPL3Create(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/tmphlpk3ila.c'
source_filename = "/tmp/tmphlpk3ila.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @sequenza_numeri()
%2 = call i32 (...) @calcola_maggiori()
ret i32 0
}
declare i32 @sequenza_numeri(...) #1
declare i32 @calcola_maggiori(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphlpk3ila.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 (...) @sequenza_numeri()
%2 = call i32 (...) @calcola_maggiori()
ret i32 0
}
declare i32 @sequenza_numeri(...) #1
declare i32 @calcola_maggiori(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpydx9lz2c.c'
source_filename = "/tmp/tmpydx9lz2c.c"
target datalayout = "e-m:e-p270: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/tmpydx9lz2c.c"
target datalayout = "e-m:e-p270: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/tmp662vseb9.c'
source_filename = "/tmp/tmp662vseb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @norma_inf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store double 0.000000e+00, ptr %7, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %42, %2
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %45
13: ; preds = %9
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %6, align 4
br label %14
14: ; preds = %32, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %35
18: ; preds = %14
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds double, ptr %23, i64 %25
%27 = load double, ptr %26, align 8
%28 = call i64 @fabs(double noundef %27)
%29 = sitofp i64 %28 to double
%30 = load double, ptr %8, align 8
%31 = fadd double %30, %29
store double %31, ptr %8, align 8
br label %32
32: ; preds = %18
%33 = load i32, ptr %6, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %6, align 4
br label %14, !llvm.loop !6
35: ; preds = %14
%36 = load double, ptr %8, align 8
%37 = load double, ptr %7, align 8
%38 = fcmp ogt double %36, %37
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = load double, ptr %8, align 8
store double %40, ptr %7, align 8
br label %41
41: ; preds = %39, %35
br label %42
42: ; preds = %41
%43 = load i32, ptr %5, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %5, align 4
br label %9, !llvm.loop !8
45: ; preds = %9
%46 = load double, ptr %7, align 8
ret double %46
}
declare i64 @fabs(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp662vseb9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @norma_inf(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca double, align 8
%8 = alloca double, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store double 0.000000e+00, ptr %7, align 8
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph2, label %49
.lr.ph2: ; preds = %2
br label %12
12: ; preds = %.lr.ph2, %43
store double 0.000000e+00, ptr %8, align 8
store i32 0, ptr %6, align 4
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %36
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %30
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = call i64 @fabs(double noundef %25)
%27 = sitofp i64 %26 to double
%28 = load double, ptr %8, align 8
%29 = fadd double %28, %27
store double %29, ptr %8, align 8
br label %30
30: ; preds = %16
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %4, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %36
36: ; preds = %._crit_edge, %12
%37 = load double, ptr %8, align 8
%38 = load double, ptr %7, align 8
%39 = fcmp ogt double %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load double, ptr %8, align 8
store double %41, ptr %7, align 8
br label %42
42: ; preds = %40, %36
br label %43
43: ; preds = %42
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
%46 = load i32, ptr %5, align 4
%47 = load i32, ptr %4, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %43
br label %49
49: ; preds = %._crit_edge3, %2
%50 = load double, ptr %7, align 8
ret double %50
}
declare i64 @fabs(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_7jizrdu.c'
source_filename = "/tmp/tmp_7jizrdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mdber:h?l:s:p:\00", align 1
@optarg = external global ptr, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"Invalid Option: -%c\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"Invalid salt, please enter 4 alphanumeric characters\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"Invalid salt, please enter 2 alphanumeric characters\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Please enter a valid password\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"plaintext: \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %13
13: ; preds = %57, %2
%14 = load i32, ptr %4, align 4
%15 = load ptr, ptr %5, align 8
%16 = call i32 @getopt(i32 noundef %14, ptr noundef %15, ptr noundef @.str)
store i32 %16, ptr %7, align 4
%17 = icmp ne i32 %16, -1
br i1 %17, label %18, label %58
18: ; preds = %13
%19 = load i32, ptr %7, align 4
switch i32 %19, label %54 [
i32 109, label %20
i32 100, label %23
i32 98, label %26
i32 101, label %29
i32 108, label %32
i32 114, label %37
i32 115, label %42
i32 112, label %46
i32 104, label %50
i32 63, label %52
]
20: ; preds = %18
%21 = load i32, ptr %10, align 4
%22 = or i32 %21, 1
store i32 %22, ptr %10, align 4
br label %57
23: ; preds = %18
%24 = load i32, ptr %10, align 4
%25 = or i32 %24, 2
store i32 %25, ptr %10, align 4
br label %57
26: ; preds = %18
%27 = load i32, ptr %10, align 4
%28 = or i32 %27, 32
store i32 %28, ptr %10, align 4
store i32 4, ptr %12, align 4
br label %57
29: ; preds = %18
%30 = load i32, ptr %10, align 4
%31 = or i32 %30, 128
store i32 %31, ptr %10, align 4
store i32 25, ptr %12, align 4
br label %57
32: ; preds = %18
%33 = load i32, ptr %10, align 4
%34 = or i32 %33, 16
store i32 %34, ptr %10, align 4
%35 = load ptr, ptr @optarg, align 8
%36 = call i32 @atoi(ptr noundef %35)
store i32 %36, ptr %11, align 4
br label %57
37: ; preds = %18
%38 = load i32, ptr %10, align 4
%39 = or i32 %38, 64
store i32 %39, ptr %10, align 4
%40 = load ptr, ptr @optarg, align 8
%41 = call i32 @atoi(ptr noundef %40)
store i32 %41, ptr %12, align 4
br label %57
42: ; preds = %18
%43 = load i32, ptr %10, align 4
%44 = or i32 %43, 4
store i32 %44, ptr %10, align 4
%45 = load ptr, ptr @optarg, align 8
store ptr %45, ptr %8, align 8
br label %57
46: ; preds = %18
%47 = load i32, ptr %10, align 4
%48 = or i32 %47, 8
store i32 %48, ptr %10, align 4
%49 = load ptr, ptr @optarg, align 8
store ptr %49, ptr %6, align 8
br label %57
50: ; preds = %18
%51 = call i32 (...) @full_usage()
br label %57
52: ; preds = %18
%53 = call i32 (...) @brief_usage()
br label %57
54: ; preds = %18
%55 = load i32, ptr %7, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %55)
br label %57
57: ; preds = %54, %52, %50, %46, %42, %37, %32, %29, %26, %23, %20
br label %13, !llvm.loop !6
58: ; preds = %13
%59 = load i32, ptr %10, align 4
%60 = and i32 %59, 1
%61 = icmp ne i32 %60, 0
br i1 %61, label %62, label %77
62: ; preds = %58
%63 = load i32, ptr %11, align 4
%64 = icmp eq i32 %63, 0
br i1 %64, label %65, label %66
65: ; preds = %62
store i32 8, ptr %11, align 4
br label %66
66: ; preds = %65, %62
%67 = load i32, ptr %10, align 4
%68 = and i32 %67, 4
%69 = icmp ne i32 %68, 0
br i1 %69, label %70, label %73
70: ; preds = %66
%71 = load ptr, ptr %8, align 8
%72 = call ptr @make_md5_salt_para(ptr noundef %71)
store ptr %72, ptr %9, align 8
br label %76
73: ; preds = %66
%74 = load i32, ptr %11, align 4
%75 = call ptr @make_md5_salt(i32 noundef %74)
store ptr %75, ptr %9, align 8
br label %76
76: ; preds = %73, %70
br label %141
77: ; preds = %58
%78 = load i32, ptr %10, align 4
%79 = and i32 %78, 32
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %98
81: ; preds = %77
%82 = load i32, ptr %11, align 4
%83 = icmp eq i32 %82, 0
br i1 %83, label %84, label %85
84: ; preds = %81
store i32 22, ptr %11, align 4
br label %85
85: ; preds = %84, %81
%86 = load i32, ptr %10, align 4
%87 = and i32 %86, 4
%88 = icmp ne i32 %87, 0
br i1 %88, label %89, label %93
89: ; preds = %85
%90 = load i32, ptr %12, align 4
%91 = load ptr, ptr %8, align 8
%92 = call ptr @make_bf_salt_para(i32 noundef %90, ptr noundef %91)
store ptr %92, ptr %9, align 8
br label %97
93: ; preds = %85
%94 = load i32, ptr %12, align 4
%95 = load i32, ptr %11, align 4
%96 = call ptr @make_bf_salt(i32 noundef %94, i32 noundef %95)
store ptr %96, ptr %9, align 8
br label %97
97: ; preds = %93, %89
br label %140
98: ; preds = %77
%99 = load i32, ptr %10, align 4
%100 = and i32 %99, 128
%101 = icmp ne i32 %100, 0
br i1 %101, label %102, label %122
102: ; preds = %98
%103 = load i32, ptr %10, align 4
%104 = and i32 %103, 4
%105 = icmp ne i32 %104, 0
br i1 %105, label %106, label %118
106: ; preds = %102
%107 = load ptr, ptr %8, align 8
%108 = call i32 @strlen(ptr noundef %107)
%109 = icmp eq i32 %108, 4
br i1 %109, label %110, label %114
110: ; preds = %106
%111 = load i32, ptr %12, align 4
%112 = load ptr, ptr %8, align 8
%113 = call ptr @make_ext_salt_para(i32 noundef %111, ptr noundef %112)
store ptr %113, ptr %9, align 8
br label %117
114: ; preds = %106
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%116 = call i32 @exit(i32 noundef 1) #3
unreachable
117: ; preds = %110
br label %121
118: ; preds = %102
%119 = load i32, ptr %12, align 4
%120 = call ptr @make_ext_salt(i32 noundef %119)
store ptr %120, ptr %9, align 8
br label %121
121: ; preds = %118, %117
br label %139
122: ; preds = %98
%123 = load i32, ptr %10, align 4
%124 = and i32 %123, 4
%125 = icmp ne i32 %124, 0
br i1 %125, label %126, label %136
126: ; preds = %122
%127 = load ptr, ptr %8, align 8
%128 = call i32 @strlen(ptr noundef %127)
%129 = icmp eq i32 %128, 2
br i1 %129, label %130, label %132
130: ; preds = %126
%131 = load ptr, ptr %8, align 8
store ptr %131, ptr %9, align 8
br label %135
132: ; preds = %126
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%134 = call i32 @exit(i32 noundef 1) #3
unreachable
135: ; preds = %130
br label %138
136: ; preds = %122
%137 = call ptr (...) @make_des_salt()
store ptr %137, ptr %9, align 8
br label %138
138: ; preds = %136, %135
br label %139
139: ; preds = %138, %121
br label %140
140: ; preds = %139, %97
br label %141
141: ; preds = %140, %76
%142 = load i32, ptr %10, align 4
%143 = and i32 %142, 8
%144 = icmp ne i32 %143, 0
br i1 %144, label %145, label %151
145: ; preds = %141
%146 = load ptr, ptr %6, align 8
%147 = icmp ne ptr %146, null
br i1 %147, label %150, label %148
148: ; preds = %145
%149 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %150
150: ; preds = %148, %145
br label %153
151: ; preds = %141
%152 = call ptr @getpass(ptr noundef @.str.5)
store ptr %152, ptr %6, align 8
br label %153
153: ; preds = %151, %150
%154 = load ptr, ptr %6, align 8
%155 = load ptr, ptr %9, align 8
%156 = call ptr @crypt(ptr noundef %154, ptr noundef %155)
%157 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %156)
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @full_usage(...) #1
declare i32 @brief_usage(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @make_md5_salt_para(ptr noundef) #1
declare ptr @make_md5_salt(i32 noundef) #1
declare ptr @make_bf_salt_para(i32 noundef, ptr noundef) #1
declare ptr @make_bf_salt(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @make_ext_salt_para(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @make_ext_salt(i32 noundef) #1
declare ptr @make_des_salt(...) #1
declare ptr @getpass(ptr noundef) #1
declare ptr @crypt(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_7jizrdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mdber:h?l:s:p:\00", align 1
@optarg = external global ptr, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"Invalid Option: -%c\0A\00", align 1
@.str.2 = private unnamed_addr constant [54 x i8] c"Invalid salt, please enter 4 alphanumeric characters\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"Invalid salt, please enter 2 alphanumeric characters\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"Please enter a valid password\0A\00", align 1
@.str.5 = private unnamed_addr constant [12 x i8] c"plaintext: \00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %12, align 4
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %5, align 8
%15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str)
store i32 %15, ptr %7, align 4
%16 = icmp ne i32 %15, -1
br i1 %16, label %.lr.ph, label %61
.lr.ph: ; preds = %2
br label %17
17: ; preds = %.lr.ph, %56
%18 = load i32, ptr %7, align 4
switch i32 %18, label %53 [
i32 109, label %19
i32 100, label %22
i32 98, label %25
i32 101, label %28
i32 108, label %31
i32 114, label %36
i32 115, label %41
i32 112, label %45
i32 104, label %49
i32 63, label %51
]
19: ; preds = %17
%20 = load i32, ptr %10, align 4
%21 = or i32 %20, 1
store i32 %21, ptr %10, align 4
br label %56
22: ; preds = %17
%23 = load i32, ptr %10, align 4
%24 = or i32 %23, 2
store i32 %24, ptr %10, align 4
br label %56
25: ; preds = %17
%26 = load i32, ptr %10, align 4
%27 = or i32 %26, 32
store i32 %27, ptr %10, align 4
store i32 4, ptr %12, align 4
br label %56
28: ; preds = %17
%29 = load i32, ptr %10, align 4
%30 = or i32 %29, 128
store i32 %30, ptr %10, align 4
store i32 25, ptr %12, align 4
br label %56
31: ; preds = %17
%32 = load i32, ptr %10, align 4
%33 = or i32 %32, 16
store i32 %33, ptr %10, align 4
%34 = load ptr, ptr @optarg, align 8
%35 = call i32 @atoi(ptr noundef %34)
store i32 %35, ptr %11, align 4
br label %56
36: ; preds = %17
%37 = load i32, ptr %10, align 4
%38 = or i32 %37, 64
store i32 %38, ptr %10, align 4
%39 = load ptr, ptr @optarg, align 8
%40 = call i32 @atoi(ptr noundef %39)
store i32 %40, ptr %12, align 4
br label %56
41: ; preds = %17
%42 = load i32, ptr %10, align 4
%43 = or i32 %42, 4
store i32 %43, ptr %10, align 4
%44 = load ptr, ptr @optarg, align 8
store ptr %44, ptr %8, align 8
br label %56
45: ; preds = %17
%46 = load i32, ptr %10, align 4
%47 = or i32 %46, 8
store i32 %47, ptr %10, align 4
%48 = load ptr, ptr @optarg, align 8
store ptr %48, ptr %6, align 8
br label %56
49: ; preds = %17
%50 = call i32 (...) @full_usage()
br label %56
51: ; preds = %17
%52 = call i32 (...) @brief_usage()
br label %56
53: ; preds = %17
%54 = load i32, ptr %7, align 4
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %54)
br label %56
56: ; preds = %53, %51, %49, %45, %41, %36, %31, %28, %25, %22, %19
%57 = load i32, ptr %4, align 4
%58 = load ptr, ptr %5, align 8
%59 = call i32 @getopt(i32 noundef %57, ptr noundef %58, ptr noundef @.str)
store i32 %59, ptr %7, align 4
%60 = icmp ne i32 %59, -1
br i1 %60, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %61
61: ; preds = %._crit_edge, %2
%62 = load i32, ptr %10, align 4
%63 = and i32 %62, 1
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %80
65: ; preds = %61
%66 = load i32, ptr %11, align 4
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %69
68: ; preds = %65
store i32 8, ptr %11, align 4
br label %69
69: ; preds = %68, %65
%70 = load i32, ptr %10, align 4
%71 = and i32 %70, 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %76
73: ; preds = %69
%74 = load ptr, ptr %8, align 8
%75 = call ptr @make_md5_salt_para(ptr noundef %74)
store ptr %75, ptr %9, align 8
br label %79
76: ; preds = %69
%77 = load i32, ptr %11, align 4
%78 = call ptr @make_md5_salt(i32 noundef %77)
store ptr %78, ptr %9, align 8
br label %79
79: ; preds = %76, %73
br label %144
80: ; preds = %61
%81 = load i32, ptr %10, align 4
%82 = and i32 %81, 32
%83 = icmp ne i32 %82, 0
br i1 %83, label %84, label %101
84: ; preds = %80
%85 = load i32, ptr %11, align 4
%86 = icmp eq i32 %85, 0
br i1 %86, label %87, label %88
87: ; preds = %84
store i32 22, ptr %11, align 4
br label %88
88: ; preds = %87, %84
%89 = load i32, ptr %10, align 4
%90 = and i32 %89, 4
%91 = icmp ne i32 %90, 0
br i1 %91, label %92, label %96
92: ; preds = %88
%93 = load i32, ptr %12, align 4
%94 = load ptr, ptr %8, align 8
%95 = call ptr @make_bf_salt_para(i32 noundef %93, ptr noundef %94)
store ptr %95, ptr %9, align 8
br label %100
96: ; preds = %88
%97 = load i32, ptr %12, align 4
%98 = load i32, ptr %11, align 4
%99 = call ptr @make_bf_salt(i32 noundef %97, i32 noundef %98)
store ptr %99, ptr %9, align 8
br label %100
100: ; preds = %96, %92
br label %143
101: ; preds = %80
%102 = load i32, ptr %10, align 4
%103 = and i32 %102, 128
%104 = icmp ne i32 %103, 0
br i1 %104, label %105, label %125
105: ; preds = %101
%106 = load i32, ptr %10, align 4
%107 = and i32 %106, 4
%108 = icmp ne i32 %107, 0
br i1 %108, label %109, label %121
109: ; preds = %105
%110 = load ptr, ptr %8, align 8
%111 = call i32 @strlen(ptr noundef %110)
%112 = icmp eq i32 %111, 4
br i1 %112, label %113, label %117
113: ; preds = %109
%114 = load i32, ptr %12, align 4
%115 = load ptr, ptr %8, align 8
%116 = call ptr @make_ext_salt_para(i32 noundef %114, ptr noundef %115)
store ptr %116, ptr %9, align 8
br label %120
117: ; preds = %109
%118 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%119 = call i32 @exit(i32 noundef 1) #3
unreachable
120: ; preds = %113
br label %124
121: ; preds = %105
%122 = load i32, ptr %12, align 4
%123 = call ptr @make_ext_salt(i32 noundef %122)
store ptr %123, ptr %9, align 8
br label %124
124: ; preds = %121, %120
br label %142
125: ; preds = %101
%126 = load i32, ptr %10, align 4
%127 = and i32 %126, 4
%128 = icmp ne i32 %127, 0
br i1 %128, label %129, label %139
129: ; preds = %125
%130 = load ptr, ptr %8, align 8
%131 = call i32 @strlen(ptr noundef %130)
%132 = icmp eq i32 %131, 2
br i1 %132, label %133, label %135
133: ; preds = %129
%134 = load ptr, ptr %8, align 8
store ptr %134, ptr %9, align 8
br label %138
135: ; preds = %129
%136 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%137 = call i32 @exit(i32 noundef 1) #3
unreachable
138: ; preds = %133
br label %141
139: ; preds = %125
%140 = call ptr (...) @make_des_salt()
store ptr %140, ptr %9, align 8
br label %141
141: ; preds = %139, %138
br label %142
142: ; preds = %141, %124
br label %143
143: ; preds = %142, %100
br label %144
144: ; preds = %143, %79
%145 = load i32, ptr %10, align 4
%146 = and i32 %145, 8
%147 = icmp ne i32 %146, 0
br i1 %147, label %148, label %154
148: ; preds = %144
%149 = load ptr, ptr %6, align 8
%150 = icmp ne ptr %149, null
br i1 %150, label %153, label %151
151: ; preds = %148
%152 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %153
153: ; preds = %151, %148
br label %156
154: ; preds = %144
%155 = call ptr @getpass(ptr noundef @.str.5)
store ptr %155, ptr %6, align 8
br label %156
156: ; preds = %154, %153
%157 = load ptr, ptr %6, align 8
%158 = load ptr, ptr %9, align 8
%159 = call ptr @crypt(ptr noundef %157, ptr noundef %158)
%160 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %159)
ret i32 0
}
declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @full_usage(...) #1
declare i32 @brief_usage(...) #1
declare i32 @printf(ptr noundef, ...) #1
declare ptr @make_md5_salt_para(ptr noundef) #1
declare ptr @make_md5_salt(i32 noundef) #1
declare ptr @make_bf_salt_para(i32 noundef, ptr noundef) #1
declare ptr @make_bf_salt(i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @make_ext_salt_para(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @make_ext_salt(i32 noundef) #1
declare ptr @make_des_salt(...) #1
declare ptr @getpass(ptr noundef) #1
declare ptr @crypt(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"}
|
; ModuleID = '/tmp/tmps17uhrzm.c'
source_filename = "/tmp/tmps17uhrzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"weak_as_needed_b: bar_v1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bar_v1() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps17uhrzm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"weak_as_needed_b: bar_v1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @bar_v1() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9j4hr_xa.c'
source_filename = "/tmp/tmp9j4hr_xa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
br label %3
3: ; preds = %7, %1
%4 = load volatile i64, ptr inttoptr (i64 2130726936 to ptr), align 8
%5 = and i64 %4, 16384
%6 = icmp eq i64 %5, 1
br i1 %6, label %7, label %8
7: ; preds = %3
br label %3, !llvm.loop !6
8: ; preds = %3
%9 = load i8, ptr %2, align 1
store volatile i8 %9, ptr inttoptr (i64 2130726944 to ptr), align 1
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/tmp9j4hr_xa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @putchar(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
br label %3
3: ; preds = %1
%4 = load volatile i64, ptr inttoptr (i64 2130726936 to ptr), align 8
%5 = and i64 %4, 16384
%6 = icmp eq i64 %5, 1
br label %7
7: ; preds = %3
%8 = load i8, ptr %2, align 1
store volatile i8 %8, ptr inttoptr (i64 2130726944 to ptr), align 1
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/tmp2mme5n2b.c'
source_filename = "/tmp/tmp2mme5n2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"In sys_close()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sys_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = load i32, ptr %3, align 4
switch i32 %5, label %8 [
i32 0, label %6
i32 1, label %7
]
6: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
7: ; preds = %1
store i32 2, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 100, ptr %2, align 4
br label %9
9: ; preds = %8, %7, %6
%10 = load i32, ptr %2, align 4
ret i32 %10
}
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/tmp2mme5n2b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"In sys_close()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sys_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = load i32, ptr %3, align 4
switch i32 %5, label %8 [
i32 0, label %6
i32 1, label %7
]
6: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
7: ; preds = %1
store i32 2, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 100, ptr %2, align 4
br label %9
9: ; preds = %8, %7, %6
%10 = load i32, ptr %2, align 4
ret i32 %10
}
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/tmp8uy6grmi.c'
source_filename = "/tmp/tmp8uy6grmi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Type temperature in Celcius to get it in Farenheit.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"%f Celcius is %f degrees Fareneheit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = load float, ptr %2, align 4
%6 = call i32 @scanf(ptr noundef @.str.1, float noundef %5)
%7 = load float, ptr %2, align 4
%8 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %7, float 3.200000e+01)
%9 = fptosi float %8 to i32
store i32 %9, ptr %3, align 4
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8uy6grmi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [53 x i8] c"Type temperature in Celcius to get it in Farenheit.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"%f Celcius is %f degrees Fareneheit\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store float 0.000000e+00, ptr %2, align 4
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = load float, ptr %2, align 4
%6 = call i32 @scanf(ptr noundef @.str.1, float noundef %5)
%7 = load float, ptr %2, align 4
%8 = call float @llvm.fmuladd.f32(float 1.000000e+00, float %7, float 3.200000e+01)
%9 = fptosi float %8 to i32
store i32 %9, ptr %3, align 4
%10 = load float, ptr %2, align 4
%11 = fpext float %10 to double
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %11, i32 noundef %12)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp837coe1r.c'
source_filename = "/tmp/tmp837coe1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %s %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x [16 x i8]], align 16
%3 = alloca [1000 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [16 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %109, %0
%12 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %14, %11
%18 = phi i1 [ false, %11 ], [ %16, %14 ]
br i1 %18, label %19, label %116
19: ; preds = %17
%20 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 4000)
store i32 0, ptr %7, align 4
br label %22
22: ; preds = %73, %19
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %76
26: ; preds = %22
%27 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%28 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %27)
store i32 0, ptr %4, align 4
br label %29
29: ; preds = %52, %26
%30 = load i32, ptr %4, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %55
33: ; preds = %29
%34 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [16 x i8], ptr %34, i64 %36
%38 = getelementptr inbounds [16 x i8], ptr %37, i64 0, i64 0
%39 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%40 = call i64 @strcmp(ptr noundef %38, ptr noundef %39)
%41 = icmp eq i64 %40, 0
br i1 %41, label %42, label %51
42: ; preds = %33
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = add nsw i32 %46, 1
%48 = load i32, ptr %4, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %49
store i32 %47, ptr %50, align 4
br label %55
51: ; preds = %33
br label %52
52: ; preds = %51
%53 = load i32, ptr %4, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %4, align 4
br label %29, !llvm.loop !6
55: ; preds = %42, %29
%56 = load i32, ptr %4, align 4
%57 = load i32, ptr %5, align 4
%58 = icmp eq i32 %56, %57
br i1 %58, label %59, label %72
59: ; preds = %55
%60 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [16 x i8], ptr %60, i64 %62
%64 = getelementptr inbounds [16 x i8], ptr %63, i64 0, i64 0
%65 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%66 = call i32 @strcpy(ptr noundef %64, ptr noundef %65)
%67 = load i32, ptr %5, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %68
store i32 1, ptr %69, align 4
%70 = load i32, ptr %5, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %5, align 4
br label %72
72: ; preds = %59, %55
br label %73
73: ; preds = %72
%74 = load i32, ptr %7, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %7, align 4
br label %22, !llvm.loop !8
76: ; preds = %22
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %77
77: ; preds = %106, %76
%78 = load i32, ptr %7, align 4
%79 = load i32, ptr %5, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %109
81: ; preds = %77
%82 = load i32, ptr %7, align 4
%83 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%84 = load i32, ptr %7, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds [16 x i8], ptr %83, i64 %85
%87 = getelementptr inbounds [16 x i8], ptr %86, i64 0, i64 0
%88 = load i32, ptr %7, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %89
%91 = load i32, ptr %90, align 4
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %82, ptr noundef %87, i32 noundef %91)
%93 = load i32, ptr %7, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %94
%96 = load i32, ptr %95, align 4
%97 = load i32, ptr %9, align 4
%98 = icmp sgt i32 %96, %97
br i1 %98, label %99, label %105
99: ; preds = %81
%100 = load i32, ptr %7, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %101
%103 = load i32, ptr %102, align 4
store i32 %103, ptr %9, align 4
%104 = load i32, ptr %7, align 4
store i32 %104, ptr %10, align 4
br label %105
105: ; preds = %99, %81
br label %106
106: ; preds = %105
%107 = load i32, ptr %7, align 4
%108 = add nsw i32 %107, 1
store i32 %108, ptr %7, align 4
br label %77, !llvm.loop !9
109: ; preds = %77
%110 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%111 = load i32, ptr %10, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [16 x i8], ptr %110, i64 %112
%114 = getelementptr inbounds [16 x i8], ptr %113, i64 0, i64 0
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %114)
br label %11, !llvm.loop !10
116: ; preds = %17
ret i32 0
}
declare i64 @scanf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp837coe1r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d %s %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x [16 x i8]], align 16
%3 = alloca [1000 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [16 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %7, align 4
br label %11
11: ; preds = %115, %0
%12 = call i64 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %14, %11
%18 = phi i1 [ false, %11 ], [ %16, %14 ]
br i1 %18, label %19, label %122
19: ; preds = %17
%20 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 0
%21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 4000)
store i32 0, ptr %7, align 4
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph1, label %80
.lr.ph1: ; preds = %19
br label %25
25: ; preds = %.lr.ph1, %74
%26 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%27 = call i64 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %26)
store i32 0, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %25
br label %31
31: ; preds = %.lr.ph, %50
%32 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [16 x i8], ptr %32, i64 %34
%36 = getelementptr inbounds [16 x i8], ptr %35, i64 0, i64 0
%37 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%38 = call i64 @strcmp(ptr noundef %36, ptr noundef %37)
%39 = icmp eq i64 %38, 0
br i1 %39, label %40, label %49
40: ; preds = %31
%41 = load i32, ptr %4, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %42
%44 = load i32, ptr %43, align 4
%45 = add nsw i32 %44, 1
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %47
store i32 %45, ptr %48, align 4
br label %56
49: ; preds = %31
br label %50
50: ; preds = %49
%51 = load i32, ptr %4, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %4, align 4
%53 = load i32, ptr %4, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %31, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %50
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %25
br label %56
56: ; preds = %.loopexit, %40
%57 = load i32, ptr %4, align 4
%58 = load i32, ptr %5, align 4
%59 = icmp eq i32 %57, %58
br i1 %59, label %60, label %73
60: ; preds = %56
%61 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%62 = load i32, ptr %5, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [16 x i8], ptr %61, i64 %63
%65 = getelementptr inbounds [16 x i8], ptr %64, i64 0, i64 0
%66 = getelementptr inbounds [16 x i8], ptr %8, i64 0, i64 0
%67 = call i32 @strcpy(ptr noundef %65, ptr noundef %66)
%68 = load i32, ptr %5, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %69
store i32 1, ptr %70, align 4
%71 = load i32, ptr %5, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %5, align 4
br label %73
73: ; preds = %60, %56
br label %74
74: ; preds = %73
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
%77 = load i32, ptr %7, align 4
%78 = load i32, ptr %6, align 4
%79 = icmp slt i32 %77, %78
br i1 %79, label %25, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %74
br label %80
80: ; preds = %._crit_edge, %19
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
%81 = load i32, ptr %7, align 4
%82 = load i32, ptr %5, align 4
%83 = icmp slt i32 %81, %82
br i1 %83, label %.lr.ph3, label %115
.lr.ph3: ; preds = %80
br label %84
84: ; preds = %.lr.ph3, %109
%85 = load i32, ptr %7, align 4
%86 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%87 = load i32, ptr %7, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [16 x i8], ptr %86, i64 %88
%90 = getelementptr inbounds [16 x i8], ptr %89, i64 0, i64 0
%91 = load i32, ptr %7, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %92
%94 = load i32, ptr %93, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %85, ptr noundef %90, i32 noundef %94)
%96 = load i32, ptr %7, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %97
%99 = load i32, ptr %98, align 4
%100 = load i32, ptr %9, align 4
%101 = icmp sgt i32 %99, %100
br i1 %101, label %102, label %108
102: ; preds = %84
%103 = load i32, ptr %7, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [1000 x i32], ptr %3, i64 0, i64 %104
%106 = load i32, ptr %105, align 4
store i32 %106, ptr %9, align 4
%107 = load i32, ptr %7, align 4
store i32 %107, ptr %10, align 4
br label %108
108: ; preds = %102, %84
br label %109
109: ; preds = %108
%110 = load i32, ptr %7, align 4
%111 = add nsw i32 %110, 1
store i32 %111, ptr %7, align 4
%112 = load i32, ptr %7, align 4
%113 = load i32, ptr %5, align 4
%114 = icmp slt i32 %112, %113
br i1 %114, label %84, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %109
br label %115
115: ; preds = %._crit_edge4, %80
%116 = getelementptr inbounds [1000 x [16 x i8]], ptr %2, i64 0, i64 0
%117 = load i32, ptr %10, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds [16 x i8], ptr %116, i64 %118
%120 = getelementptr inbounds [16 x i8], ptr %119, i64 0, i64 0
%121 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %120)
br label %11, !llvm.loop !10
122: ; preds = %17
ret i32 0
}
declare i64 @scanf(ptr noundef, ...) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpuyj7sog_.c'
source_filename = "/tmp/tmpuyj7sog_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuyj7sog_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_kdke58d.c'
source_filename = "/tmp/tmp_kdke58d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @show_message(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 @puts(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @puts(ptr noundef %7)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_kdke58d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @show_message(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 @puts(ptr noundef %5)
%7 = load ptr, ptr %4, align 8
%8 = call i32 @puts(ptr noundef %7)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmoomwkbj.c'
source_filename = "/tmp/tmpmoomwkbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minipack_pack_array16(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
store i64 3, ptr %7, align 8
%8 = load ptr, ptr %4, align 8
store i32 220, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @htons(i32 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr i8, ptr %11, i64 1
store i32 %10, ptr %12, align 4
ret void
}
declare i32 @htons(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmoomwkbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minipack_pack_array16(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %6, align 8
store i64 3, ptr %7, align 8
%8 = load ptr, ptr %4, align 8
store i32 220, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = call i32 @htons(i32 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = getelementptr i8, ptr %11, i64 1
store i32 %10, ptr %12, align 4
ret void
}
declare i32 @htons(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6uzg1mdw.c'
source_filename = "/tmp/tmp6uzg1mdw.c"
target datalayout = "e-m:e-p270: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.kbkeycode = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.kbkeycode, align 4
store i32 0, ptr %1, align 4
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6uzg1mdw.c"
target datalayout = "e-m:e-p270: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.kbkeycode = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca %struct.kbkeycode, align 4
store i32 0, ptr %1, align 4
ret i32 4
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsyqikws2.c'
source_filename = "/tmp/tmpsyqikws2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_find()
ret i32 0
}
declare i32 @test_find(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsyqikws2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @test_find()
ret i32 0
}
declare i32 @test_find(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgw5afsty.c'
source_filename = "/tmp/tmpgw5afsty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@stdin = dso_local global ptr null, align 8
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%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 ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [65536 x i8], align 16
%15 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i16 0, ptr %6, align 2
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
store i32 1024, ptr %9, align 4
%16 = call ptr @calloc(i32 noundef 1024, i32 noundef 1)
store ptr %16, ptr %12, align 8
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 65536, i1 false)
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 1
br i1 %18, label %19, label %24
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
br label %26
24: ; preds = %2
%25 = load ptr, ptr @stdin, align 8
br label %26
26: ; preds = %24, %19
%27 = phi ptr [ %23, %19 ], [ %25, %24 ]
store ptr %27, ptr %15, align 8
br label %28
28: ; preds = %78, %26
%29 = load ptr, ptr %15, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %48
31: ; preds = %28
%32 = load ptr, ptr %15, align 8
%33 = call i32 @getc(ptr noundef %32)
store i32 %33, ptr %11, align 4
%34 = load i32, ptr @EOF, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %48
36: ; preds = %31
%37 = load i32, ptr %11, align 4
%38 = icmp ne i32 %37, 33
br i1 %38, label %46, label %39
39: ; preds = %36
%40 = load i32, ptr %4, align 4
%41 = icmp sgt i32 %40, 1
br i1 %41, label %46, label %42
42: ; preds = %39
%43 = load i32, ptr %10, align 4
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
br label %46
46: ; preds = %42, %39, %36
%47 = phi i1 [ true, %39 ], [ true, %36 ], [ %45, %42 ]
br label %48
48: ; preds = %46, %31, %28
%49 = phi i1 [ false, %31 ], [ false, %28 ], [ %47, %46 ]
br i1 %49, label %50, label %83
50: ; preds = %48
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 2
%53 = load i32, ptr %9, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %55, label %62
55: ; preds = %50
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1024
store i32 %58, ptr %9, align 4
%59 = call ptr @realloc(ptr noundef %56, i32 noundef %58)
store ptr %59, ptr %12, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %62, label %61
61: ; preds = %55
br label %83
62: ; preds = %55, %50
%63 = load i32, ptr %11, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %78
65: ; preds = %62
%66 = load i32, ptr %11, align 4
%67 = trunc i32 %66 to i8
%68 = load ptr, ptr %12, align 8
%69 = load i32, ptr %8, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %8, align 4
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
store i8 %67, ptr %72, align 1
%73 = sext i8 %67 to i32
%74 = icmp eq i32 %73, 44
%75 = zext i1 %74 to i32
%76 = load i32, ptr %10, align 4
%77 = or i32 %76, %75
store i32 %77, ptr %10, align 4
br label %78
78: ; preds = %65, %62
%79 = load ptr, ptr %12, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 0, ptr %82, align 1
br label %28, !llvm.loop !6
83: ; preds = %61, %48
%84 = load ptr, ptr %15, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %86, label %89
86: ; preds = %83
%87 = load ptr, ptr %12, align 8
%88 = icmp ne ptr %87, null
br i1 %88, label %94, label %89
89: ; preds = %86, %83
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 1
%92 = load ptr, ptr %91, align 8
%93 = call i32 @perror(ptr noundef %92)
store i32 1, ptr %3, align 4
br label %214
94: ; preds = %86
%95 = load ptr, ptr %12, align 8
store ptr %95, ptr %13, align 8
br label %96
96: ; preds = %210, %94
%97 = load ptr, ptr %13, align 8
%98 = load i8, ptr %97, align 1
%99 = icmp ne i8 %98, 0
br i1 %99, label %100, label %213
100: ; preds = %96
%101 = load ptr, ptr %13, align 8
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
switch i32 %103, label %209 [
i32 62, label %104
i32 60, label %107
i32 43, label %110
i32 45, label %116
i32 46, label %122
i32 44, label %128
i32 91, label %139
i32 93, label %175
]
104: ; preds = %100
%105 = load i16, ptr %6, align 2
%106 = add i16 %105, 1
store i16 %106, ptr %6, align 2
br label %209
107: ; preds = %100
%108 = load i16, ptr %6, align 2
%109 = add i16 %108, -1
store i16 %109, ptr %6, align 2
br label %209
110: ; preds = %100
%111 = load i16, ptr %6, align 2
%112 = zext i16 %111 to i64
%113 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %112
%114 = load i8, ptr %113, align 1
%115 = add i8 %114, 1
store i8 %115, ptr %113, align 1
br label %209
116: ; preds = %100
%117 = load i16, ptr %6, align 2
%118 = zext i16 %117 to i64
%119 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %118
%120 = load i8, ptr %119, align 1
%121 = add i8 %120, -1
store i8 %121, ptr %119, align 1
br label %209
122: ; preds = %100
%123 = load i16, ptr %6, align 2
%124 = zext i16 %123 to i64
%125 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %124
%126 = load i8, ptr %125, align 1
%127 = call i32 @putchar(i8 noundef signext %126)
br label %209
128: ; preds = %100
%129 = call i32 (...) @getchar()
store i32 %129, ptr %11, align 4
%130 = load i32, ptr @EOF, align 4
%131 = icmp ne i32 %129, %130
br i1 %131, label %132, label %138
132: ; preds = %128
%133 = load i32, ptr %11, align 4
%134 = trunc i32 %133 to i8
%135 = load i16, ptr %6, align 2
%136 = zext i16 %135 to i64
%137 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %136
store i8 %134, ptr %137, align 1
br label %138
138: ; preds = %132, %128
br label %209
139: ; preds = %100
%140 = load i16, ptr %6, align 2
%141 = zext i16 %140 to i64
%142 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %141
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 0
br i1 %145, label %146, label %174
146: ; preds = %139
br label %147
147: ; preds = %170, %146
%148 = load ptr, ptr %13, align 8
%149 = load i8, ptr %148, align 1
%150 = sext i8 %149 to i32
%151 = icmp eq i32 %150, 91
%152 = zext i1 %151 to i32
%153 = load ptr, ptr %13, align 8
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 93
%157 = zext i1 %156 to i32
%158 = sub nsw i32 %152, %157
%159 = load i32, ptr %7, align 4
%160 = add nsw i32 %159, %158
store i32 %160, ptr %7, align 4
%161 = icmp ne i32 %160, 0
br i1 %161, label %162, label %168
162: ; preds = %147
%163 = load ptr, ptr %13, align 8
%164 = getelementptr inbounds i8, ptr %163, i64 1
%165 = load i8, ptr %164, align 1
%166 = sext i8 %165 to i32
%167 = icmp ne i32 %166, 0
br label %168
168: ; preds = %162, %147
%169 = phi i1 [ false, %147 ], [ %167, %162 ]
br i1 %169, label %170, label %173
170: ; preds = %168
%171 = load ptr, ptr %13, align 8
%172 = getelementptr inbounds i8, ptr %171, i32 1
store ptr %172, ptr %13, align 8
br label %147, !llvm.loop !8
173: ; preds = %168
br label %174
174: ; preds = %173, %139
br label %209
175: ; preds = %100
%176 = load i16, ptr %6, align 2
%177 = zext i16 %176 to i64
%178 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %177
%179 = load i8, ptr %178, align 1
%180 = sext i8 %179 to i32
%181 = icmp ne i32 %180, 0
br i1 %181, label %182, label %208
182: ; preds = %175
br label %183
183: ; preds = %204, %182
%184 = load ptr, ptr %13, align 8
%185 = load i8, ptr %184, align 1
%186 = sext i8 %185 to i32
%187 = icmp eq i32 %186, 93
%188 = zext i1 %187 to i32
%189 = load ptr, ptr %13, align 8
%190 = load i8, ptr %189, align 1
%191 = sext i8 %190 to i32
%192 = icmp eq i32 %191, 91
%193 = zext i1 %192 to i32
%194 = sub nsw i32 %188, %193
%195 = load i32, ptr %7, align 4
%196 = add nsw i32 %195, %194
store i32 %196, ptr %7, align 4
%197 = icmp ne i32 %196, 0
br i1 %197, label %198, label %202
198: ; preds = %183
%199 = load ptr, ptr %13, align 8
%200 = load ptr, ptr %12, align 8
%201 = icmp ugt ptr %199, %200
br label %202
202: ; preds = %198, %183
%203 = phi i1 [ false, %183 ], [ %201, %198 ]
br i1 %203, label %204, label %207
204: ; preds = %202
%205 = load ptr, ptr %13, align 8
%206 = getelementptr inbounds i8, ptr %205, i32 -1
store ptr %206, ptr %13, align 8
br label %183, !llvm.loop !9
207: ; preds = %202
br label %208
208: ; preds = %207, %175
br label %209
209: ; preds = %100, %208, %174, %138, %122, %116, %110, %107, %104
br label %210
210: ; preds = %209
%211 = load ptr, ptr %13, align 8
%212 = getelementptr inbounds i8, ptr %211, i32 1
store ptr %212, ptr %13, align 8
br label %96, !llvm.loop !10
213: ; preds = %96
store i32 0, ptr %3, align 4
br label %214
214: ; preds = %213, %89
%215 = load i32, ptr %3, align 4
ret i32 %215
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getc(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgw5afsty.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r\00", align 1
@stdin = dso_local global ptr null, align 8
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i16, align 2
%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 ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca [65536 x i8], align 16
%15 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i16 0, ptr %6, align 2
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
store i32 1024, ptr %9, align 4
%16 = call ptr @calloc(i32 noundef 1024, i32 noundef 1)
store ptr %16, ptr %12, align 8
call void @llvm.memset.p0.i64(ptr align 16 %14, i8 0, i64 65536, i1 false)
%17 = load i32, ptr %4, align 4
%18 = icmp sgt i32 %17, 1
br i1 %18, label %19, label %24
19: ; preds = %2
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 1
%22 = load ptr, ptr %21, align 8
%23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str)
br label %26
24: ; preds = %2
%25 = load ptr, ptr @stdin, align 8
br label %26
26: ; preds = %24, %19
%27 = phi ptr [ %23, %19 ], [ %25, %24 ]
store ptr %27, ptr %15, align 8
br label %28
28: ; preds = %78, %26
%29 = load ptr, ptr %15, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %31, label %48
31: ; preds = %28
%32 = load ptr, ptr %15, align 8
%33 = call i32 @getc(ptr noundef %32)
store i32 %33, ptr %11, align 4
%34 = load i32, ptr @EOF, align 4
%35 = icmp ne i32 %33, %34
br i1 %35, label %36, label %48
36: ; preds = %31
%37 = load i32, ptr %11, align 4
%38 = icmp ne i32 %37, 33
br i1 %38, label %46, label %39
39: ; preds = %36
%40 = load i32, ptr %4, align 4
%41 = icmp sgt i32 %40, 1
br i1 %41, label %46, label %42
42: ; preds = %39
%43 = load i32, ptr %10, align 4
%44 = icmp ne i32 %43, 0
%45 = xor i1 %44, true
br label %46
46: ; preds = %42, %39, %36
%47 = phi i1 [ true, %39 ], [ true, %36 ], [ %45, %42 ]
br label %48
48: ; preds = %46, %31, %28
%49 = phi i1 [ false, %31 ], [ false, %28 ], [ %47, %46 ]
br i1 %49, label %50, label %.loopexit
50: ; preds = %48
%51 = load i32, ptr %8, align 4
%52 = add nsw i32 %51, 2
%53 = load i32, ptr %9, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %55, label %62
55: ; preds = %50
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %9, align 4
%58 = add nsw i32 %57, 1024
store i32 %58, ptr %9, align 4
%59 = call ptr @realloc(ptr noundef %56, i32 noundef %58)
store ptr %59, ptr %12, align 8
%60 = icmp ne ptr %59, null
br i1 %60, label %62, label %61
61: ; preds = %55
br label %83
62: ; preds = %55, %50
%63 = load i32, ptr %11, align 4
%64 = icmp ne i32 %63, 0
br i1 %64, label %65, label %78
65: ; preds = %62
%66 = load i32, ptr %11, align 4
%67 = trunc i32 %66 to i8
%68 = load ptr, ptr %12, align 8
%69 = load i32, ptr %8, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %8, align 4
%71 = sext i32 %69 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
store i8 %67, ptr %72, align 1
%73 = sext i8 %67 to i32
%74 = icmp eq i32 %73, 44
%75 = zext i1 %74 to i32
%76 = load i32, ptr %10, align 4
%77 = or i32 %76, %75
store i32 %77, ptr %10, align 4
br label %78
78: ; preds = %65, %62
%79 = load ptr, ptr %12, align 8
%80 = load i32, ptr %8, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 0, ptr %82, align 1
br label %28, !llvm.loop !6
.loopexit: ; preds = %48
br label %83
83: ; preds = %.loopexit, %61
%84 = load ptr, ptr %15, align 8
%85 = icmp ne ptr %84, null
br i1 %85, label %86, label %89
86: ; preds = %83
%87 = load ptr, ptr %12, align 8
%88 = icmp ne ptr %87, null
br i1 %88, label %94, label %89
89: ; preds = %86, %83
%90 = load ptr, ptr %5, align 8
%91 = getelementptr inbounds ptr, ptr %90, i64 1
%92 = load ptr, ptr %91, align 8
%93 = call i32 @perror(ptr noundef %92)
store i32 1, ptr %3, align 4
br label %216
94: ; preds = %86
%95 = load ptr, ptr %12, align 8
store ptr %95, ptr %13, align 8
%96 = load ptr, ptr %13, align 8
%97 = load i8, ptr %96, align 1
%98 = icmp ne i8 %97, 0
br i1 %98, label %.lr.ph, label %215
.lr.ph: ; preds = %94
br label %99
99: ; preds = %.lr.ph, %209
%100 = load ptr, ptr %13, align 8
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
switch i32 %102, label %208 [
i32 62, label %103
i32 60, label %106
i32 43, label %109
i32 45, label %115
i32 46, label %121
i32 44, label %127
i32 91, label %138
i32 93, label %174
]
103: ; preds = %99
%104 = load i16, ptr %6, align 2
%105 = add i16 %104, 1
store i16 %105, ptr %6, align 2
br label %208
106: ; preds = %99
%107 = load i16, ptr %6, align 2
%108 = add i16 %107, -1
store i16 %108, ptr %6, align 2
br label %208
109: ; preds = %99
%110 = load i16, ptr %6, align 2
%111 = zext i16 %110 to i64
%112 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %111
%113 = load i8, ptr %112, align 1
%114 = add i8 %113, 1
store i8 %114, ptr %112, align 1
br label %208
115: ; preds = %99
%116 = load i16, ptr %6, align 2
%117 = zext i16 %116 to i64
%118 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %117
%119 = load i8, ptr %118, align 1
%120 = add i8 %119, -1
store i8 %120, ptr %118, align 1
br label %208
121: ; preds = %99
%122 = load i16, ptr %6, align 2
%123 = zext i16 %122 to i64
%124 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %123
%125 = load i8, ptr %124, align 1
%126 = call i32 @putchar(i8 noundef signext %125)
br label %208
127: ; preds = %99
%128 = call i32 (...) @getchar()
store i32 %128, ptr %11, align 4
%129 = load i32, ptr @EOF, align 4
%130 = icmp ne i32 %128, %129
br i1 %130, label %131, label %137
131: ; preds = %127
%132 = load i32, ptr %11, align 4
%133 = trunc i32 %132 to i8
%134 = load i16, ptr %6, align 2
%135 = zext i16 %134 to i64
%136 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %135
store i8 %133, ptr %136, align 1
br label %137
137: ; preds = %131, %127
br label %208
138: ; preds = %99
%139 = load i16, ptr %6, align 2
%140 = zext i16 %139 to i64
%141 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %140
%142 = load i8, ptr %141, align 1
%143 = sext i8 %142 to i32
%144 = icmp eq i32 %143, 0
br i1 %144, label %145, label %173
145: ; preds = %138
br label %146
146: ; preds = %169, %145
%147 = load ptr, ptr %13, align 8
%148 = load i8, ptr %147, align 1
%149 = sext i8 %148 to i32
%150 = icmp eq i32 %149, 91
%151 = zext i1 %150 to i32
%152 = load ptr, ptr %13, align 8
%153 = load i8, ptr %152, align 1
%154 = sext i8 %153 to i32
%155 = icmp eq i32 %154, 93
%156 = zext i1 %155 to i32
%157 = sub nsw i32 %151, %156
%158 = load i32, ptr %7, align 4
%159 = add nsw i32 %158, %157
store i32 %159, ptr %7, align 4
%160 = icmp ne i32 %159, 0
br i1 %160, label %161, label %167
161: ; preds = %146
%162 = load ptr, ptr %13, align 8
%163 = getelementptr inbounds i8, ptr %162, i64 1
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp ne i32 %165, 0
br label %167
167: ; preds = %161, %146
%168 = phi i1 [ false, %146 ], [ %166, %161 ]
br i1 %168, label %169, label %172
169: ; preds = %167
%170 = load ptr, ptr %13, align 8
%171 = getelementptr inbounds i8, ptr %170, i32 1
store ptr %171, ptr %13, align 8
br label %146, !llvm.loop !8
172: ; preds = %167
br label %173
173: ; preds = %172, %138
br label %208
174: ; preds = %99
%175 = load i16, ptr %6, align 2
%176 = zext i16 %175 to i64
%177 = getelementptr inbounds [65536 x i8], ptr %14, i64 0, i64 %176
%178 = load i8, ptr %177, align 1
%179 = sext i8 %178 to i32
%180 = icmp ne i32 %179, 0
br i1 %180, label %181, label %207
181: ; preds = %174
br label %182
182: ; preds = %203, %181
%183 = load ptr, ptr %13, align 8
%184 = load i8, ptr %183, align 1
%185 = sext i8 %184 to i32
%186 = icmp eq i32 %185, 93
%187 = zext i1 %186 to i32
%188 = load ptr, ptr %13, align 8
%189 = load i8, ptr %188, align 1
%190 = sext i8 %189 to i32
%191 = icmp eq i32 %190, 91
%192 = zext i1 %191 to i32
%193 = sub nsw i32 %187, %192
%194 = load i32, ptr %7, align 4
%195 = add nsw i32 %194, %193
store i32 %195, ptr %7, align 4
%196 = icmp ne i32 %195, 0
br i1 %196, label %197, label %201
197: ; preds = %182
%198 = load ptr, ptr %13, align 8
%199 = load ptr, ptr %12, align 8
%200 = icmp ugt ptr %198, %199
br label %201
201: ; preds = %197, %182
%202 = phi i1 [ false, %182 ], [ %200, %197 ]
br i1 %202, label %203, label %206
203: ; preds = %201
%204 = load ptr, ptr %13, align 8
%205 = getelementptr inbounds i8, ptr %204, i32 -1
store ptr %205, ptr %13, align 8
br label %182, !llvm.loop !9
206: ; preds = %201
br label %207
207: ; preds = %206, %174
br label %208
208: ; preds = %207, %173, %137, %121, %115, %109, %106, %103, %99
br label %209
209: ; preds = %208
%210 = load ptr, ptr %13, align 8
%211 = getelementptr inbounds i8, ptr %210, i32 1
store ptr %211, ptr %13, align 8
%212 = load ptr, ptr %13, align 8
%213 = load i8, ptr %212, align 1
%214 = icmp ne i8 %213, 0
br i1 %214, label %99, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %209
br label %215
215: ; preds = %._crit_edge, %94
store i32 0, ptr %3, align 4
br label %216
216: ; preds = %215, %89
%217 = load i32, ptr %3, align 4
ret i32 %217
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @getc(ptr noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @putchar(i8 noundef signext) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpypqxli_u.c'
source_filename = "/tmp/tmpypqxli_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"New Thread\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @_beginthread(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i64 @pthread_create(ptr noundef %7, ptr noundef null, ptr noundef %8, ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @perror(ptr noundef @.str)
br label %17
14: ; preds = %3
%15 = load i64, ptr %7, align 8
%16 = call i32 @pthread_detach(i64 noundef %15)
br label %17
17: ; preds = %14, %12
%18 = load i64, ptr %7, align 8
ret i64 %18
}
declare i64 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @pthread_detach(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/tmpypqxli_u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"New Thread\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @_beginthread(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i64 @pthread_create(ptr noundef %7, ptr noundef null, ptr noundef %8, ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %3
%13 = call i32 @perror(ptr noundef @.str)
br label %17
14: ; preds = %3
%15 = load i64, ptr %7, align 8
%16 = call i32 @pthread_detach(i64 noundef %15)
br label %17
17: ; preds = %14, %12
%18 = load i64, ptr %7, align 8
ret i64 %18
}
declare i64 @pthread_create(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @pthread_detach(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/tmp_hfke640.c'
source_filename = "/tmp/tmp_hfke640.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_gasmix(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, i32 noundef %11) #0 {
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca i32, align 4
store i32 %0, ptr %13, align 4
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store double %3, ptr %16, align 8
store double %4, ptr %17, align 8
store double %5, ptr %18, align 8
store double %6, ptr %19, align 8
store double %7, ptr %20, align 8
store double %8, ptr %21, align 8
store double %9, ptr %22, align 8
store double %10, ptr %23, align 8
store i32 %11, ptr %24, align 4
%25 = call i32 @solve_gasmix_c(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
ret void
}
declare i32 @solve_gasmix_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_hfke640.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @solve_gasmix(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8, double noundef %9, double noundef %10, i32 noundef %11) #0 {
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
%23 = alloca double, align 8
%24 = alloca i32, align 4
store i32 %0, ptr %13, align 4
store i32 %1, ptr %14, align 4
store i32 %2, ptr %15, align 4
store double %3, ptr %16, align 8
store double %4, ptr %17, align 8
store double %5, ptr %18, align 8
store double %6, ptr %19, align 8
store double %7, ptr %20, align 8
store double %8, ptr %21, align 8
store double %9, ptr %22, align 8
store double %10, ptr %23, align 8
store i32 %11, ptr %24, align 4
%25 = call i32 @solve_gasmix_c(ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24)
ret void
}
declare i32 @solve_gasmix_c(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbh6t8u0t.c'
source_filename = "/tmp/tmpbh6t8u0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"~/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_tilda(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call ptr @strstr(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbh6t8u0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"~/\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @check_tilda(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = call ptr @strstr(ptr noundef %4, ptr noundef @.str)
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare ptr @strstr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw938d40q.c'
source_filename = "/tmp/tmpw938d40q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @getopt_internal(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
ret i32 %16
}
declare i32 @getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw938d40q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @getopt_internal(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, i32 noundef 0)
ret i32 %16
}
declare i32 @getopt_internal(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmowtv3dc.c'
source_filename = "/tmp/tmpmowtv3dc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\09%f\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca [5000 x double], align 16
%18 = alloca [5000 x double], align 16
%19 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %19, align 4
br label %20
20: ; preds = %86, %2
%21 = load i32, ptr %19, align 4
%22 = icmp slt i32 %21, 5000
br i1 %22, label %23, label %89
23: ; preds = %20
store double 7.800000e-07, ptr %6, align 8
%24 = load i32, ptr %19, align 4
%25 = sitofp i32 %24 to double
%26 = fmul double %25, 1.500000e-08
%27 = fdiv double %26, 5.000000e+03
store double %27, ptr %14, align 8
%28 = load double, ptr %6, align 8
%29 = load double, ptr %14, align 8
%30 = fadd double %28, %29
store double %30, ptr %7, align 8
%31 = load double, ptr %6, align 8
%32 = load double, ptr %14, align 8
%33 = fsub double %31, %32
store double %33, ptr %8, align 8
%34 = load double, ptr %7, align 8
%35 = call double @llvm.fmuladd.f64(double -1.000000e+03, double %34, double 1.700000e-03)
store double %35, ptr %12, align 8
%36 = load double, ptr %8, align 8
%37 = call double @llvm.fmuladd.f64(double -1.000000e+03, double %36, double 1.700000e-03)
store double %37, ptr %13, align 8
%38 = load double, ptr %6, align 8
%39 = call double @n(double noundef %38)
store double %39, ptr %9, align 8
%40 = load double, ptr %7, align 8
%41 = call double @n(double noundef %40)
%42 = load double, ptr %12, align 8
%43 = fsub double %41, %42
store double %43, ptr %10, align 8
%44 = load double, ptr %8, align 8
%45 = call double @n(double noundef %44)
%46 = load double, ptr %13, align 8
%47 = fsub double %45, %46
store double %47, ptr %11, align 8
%48 = load double, ptr %10, align 8
%49 = load double, ptr %7, align 8
%50 = fdiv double %48, %49
%51 = load double, ptr %11, align 8
%52 = load double, ptr %8, align 8
%53 = fdiv double %51, %52
%54 = fadd double %50, %53
%55 = load double, ptr %9, align 8
%56 = fmul double 2.000000e+00, %55
%57 = load double, ptr %6, align 8
%58 = fdiv double %56, %57
%59 = fsub double %54, %58
%60 = fmul double 0x401921FB542FE938, %59
store double %60, ptr %15, align 8
%61 = load double, ptr %15, align 8
%62 = fmul double %61, 8.000000e-03
%63 = fdiv double %62, 2.000000e+00
store double %63, ptr %16, align 8
%64 = load double, ptr %16, align 8
%65 = call double @sin(double noundef %64) #4
%66 = load double, ptr %16, align 8
%67 = fdiv double %65, %66
%68 = call double @pow(double noundef %67, double noundef 2.000000e+00) #4
%69 = load i32, ptr %19, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [5000 x double], ptr %17, i64 0, i64 %70
store double %68, ptr %71, align 8
%72 = load double, ptr %14, align 8
%73 = fmul double %72, 1.000000e+09
%74 = load i32, ptr %19, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [5000 x double], ptr %18, i64 0, i64 %75
store double %73, ptr %76, align 8
%77 = load i32, ptr %19, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [5000 x double], ptr %18, i64 0, i64 %78
%80 = load double, ptr %79, align 8
%81 = load i32, ptr %19, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [5000 x double], ptr %17, i64 0, i64 %82
%84 = load double, ptr %83, align 8
%85 = call i32 @printf(ptr noundef @.str, double noundef %80, double noundef %84)
br label %86
86: ; preds = %23
%87 = load i32, ptr %19, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %19, align 4
br label %20, !llvm.loop !6
89: ; preds = %20
ret i32 0
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @n(double noundef) #2
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #3
; Function Attrs: nounwind
declare double @sin(double noundef) #3
declare i32 @printf(ptr noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmowtv3dc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\09%f\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 double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca [5000 x double], align 16
%18 = alloca [5000 x double], align 16
%19 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %19, align 4
%20 = load i32, ptr %19, align 4
%21 = icmp slt i32 %20, 5000
br i1 %21, label %.lr.ph, label %90
.lr.ph: ; preds = %2
br label %22
22: ; preds = %.lr.ph, %85
store double 7.800000e-07, ptr %6, align 8
%23 = load i32, ptr %19, align 4
%24 = sitofp i32 %23 to double
%25 = fmul double %24, 1.500000e-08
%26 = fdiv double %25, 5.000000e+03
store double %26, ptr %14, align 8
%27 = load double, ptr %6, align 8
%28 = load double, ptr %14, align 8
%29 = fadd double %27, %28
store double %29, ptr %7, align 8
%30 = load double, ptr %6, align 8
%31 = load double, ptr %14, align 8
%32 = fsub double %30, %31
store double %32, ptr %8, align 8
%33 = load double, ptr %7, align 8
%34 = call double @llvm.fmuladd.f64(double -1.000000e+03, double %33, double 1.700000e-03)
store double %34, ptr %12, align 8
%35 = load double, ptr %8, align 8
%36 = call double @llvm.fmuladd.f64(double -1.000000e+03, double %35, double 1.700000e-03)
store double %36, ptr %13, align 8
%37 = load double, ptr %6, align 8
%38 = call double @n(double noundef %37)
store double %38, ptr %9, align 8
%39 = load double, ptr %7, align 8
%40 = call double @n(double noundef %39)
%41 = load double, ptr %12, align 8
%42 = fsub double %40, %41
store double %42, ptr %10, align 8
%43 = load double, ptr %8, align 8
%44 = call double @n(double noundef %43)
%45 = load double, ptr %13, align 8
%46 = fsub double %44, %45
store double %46, ptr %11, align 8
%47 = load double, ptr %10, align 8
%48 = load double, ptr %7, align 8
%49 = fdiv double %47, %48
%50 = load double, ptr %11, align 8
%51 = load double, ptr %8, align 8
%52 = fdiv double %50, %51
%53 = fadd double %49, %52
%54 = load double, ptr %9, align 8
%55 = fmul double 2.000000e+00, %54
%56 = load double, ptr %6, align 8
%57 = fdiv double %55, %56
%58 = fsub double %53, %57
%59 = fmul double 0x401921FB542FE938, %58
store double %59, ptr %15, align 8
%60 = load double, ptr %15, align 8
%61 = fmul double %60, 8.000000e-03
%62 = fdiv double %61, 2.000000e+00
store double %62, ptr %16, align 8
%63 = load double, ptr %16, align 8
%64 = call double @sin(double noundef %63) #4
%65 = load double, ptr %16, align 8
%66 = fdiv double %64, %65
%67 = call double @pow(double noundef %66, double noundef 2.000000e+00) #4
%68 = load i32, ptr %19, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [5000 x double], ptr %17, i64 0, i64 %69
store double %67, ptr %70, align 8
%71 = load double, ptr %14, align 8
%72 = fmul double %71, 1.000000e+09
%73 = load i32, ptr %19, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [5000 x double], ptr %18, i64 0, i64 %74
store double %72, ptr %75, align 8
%76 = load i32, ptr %19, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [5000 x double], ptr %18, i64 0, i64 %77
%79 = load double, ptr %78, align 8
%80 = load i32, ptr %19, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [5000 x double], ptr %17, i64 0, i64 %81
%83 = load double, ptr %82, align 8
%84 = call i32 @printf(ptr noundef @.str, double noundef %79, double noundef %83)
br label %85
85: ; preds = %22
%86 = load i32, ptr %19, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %19, align 4
%88 = load i32, ptr %19, align 4
%89 = icmp slt i32 %88, 5000
br i1 %89, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %85
br label %90
90: ; preds = %._crit_edge, %2
ret i32 0
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
declare double @n(double noundef) #2
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #3
; Function Attrs: nounwind
declare double @sin(double noundef) #3
declare i32 @printf(ptr noundef, double noundef, double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpokzvvthk.c'
source_filename = "/tmp/tmpokzvvthk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter value 1:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Enter value 2:\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Enter value 3:\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Enter value 4:\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Enter value 5:\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"the average of the 5 values is: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load float, ptr %2, align 4
store float %18, ptr %7, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %7, align 4
%21 = fadd float %20, %19
store float %21, ptr %7, align 4
%22 = load float, ptr %4, align 4
%23 = load float, ptr %7, align 4
%24 = fadd float %23, %22
store float %24, ptr %7, align 4
%25 = load float, ptr %5, align 4
%26 = load float, ptr %7, align 4
%27 = fadd float %26, %25
store float %27, ptr %7, align 4
%28 = load float, ptr %6, align 4
%29 = load float, ptr %7, align 4
%30 = fadd float %29, %28
store float %30, ptr %7, align 4
%31 = load float, ptr %7, align 4
%32 = fdiv float %31, 5.000000e+00
store float %32, ptr %7, align 4
%33 = load float, ptr %7, align 4
%34 = fpext float %33 to double
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %34)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpokzvvthk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter value 1:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"Enter value 2:\00", align 1
@.str.3 = private unnamed_addr constant [15 x i8] c"Enter value 3:\00", align 1
@.str.4 = private unnamed_addr constant [15 x i8] c"Enter value 4:\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Enter value 5:\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c"the average of the 5 values is: %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%17 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6)
%18 = load float, ptr %2, align 4
store float %18, ptr %7, align 4
%19 = load float, ptr %3, align 4
%20 = load float, ptr %7, align 4
%21 = fadd float %20, %19
store float %21, ptr %7, align 4
%22 = load float, ptr %4, align 4
%23 = load float, ptr %7, align 4
%24 = fadd float %23, %22
store float %24, ptr %7, align 4
%25 = load float, ptr %5, align 4
%26 = load float, ptr %7, align 4
%27 = fadd float %26, %25
store float %27, ptr %7, align 4
%28 = load float, ptr %6, align 4
%29 = load float, ptr %7, align 4
%30 = fadd float %29, %28
store float %30, ptr %7, align 4
%31 = load float, ptr %7, align 4
%32 = fdiv float %31, 5.000000e+00
store float %32, ptr %7, align 4
%33 = load float, ptr %7, align 4
%34 = fpext float %33 to double
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %34)
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"}
|
; ModuleID = '/tmp/tmpf3ac_1xr.c'
source_filename = "/tmp/tmpf3ac_1xr.c"
target datalayout = "e-m:e-p270: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/tmpf3ac_1xr.c"
target datalayout = "e-m:e-p270: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/tmpcoptx2sd.c'
source_filename = "/tmp/tmpcoptx2sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store volatile i32 -1, ptr %2, align 4
store volatile i32 0, ptr %3, align 4
%4 = load volatile i32, ptr %2, align 4
%5 = xor i32 %4, 150000
store volatile i32 %5, ptr %3, align 4
%6 = load volatile i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
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/tmpcoptx2sd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store volatile i32 -1, ptr %2, align 4
store volatile i32 0, ptr %3, align 4
%4 = load volatile i32, ptr %2, align 4
%5 = xor i32 %4, 150000
store volatile i32 %5, ptr %3, align 4
%6 = load volatile i32, ptr %3, align 4
%7 = call i32 @printf(ptr noundef @.str, i32 noundef %6)
ret i32 0
}
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/tmpe291xks7.c'
source_filename = "/tmp/tmpe291xks7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @internal__hydra_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @recv(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe291xks7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @internal__hydra_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %6, align 4
%10 = call i32 @recv(i32 noundef %7, ptr noundef %8, i32 noundef %9, i32 noundef 0)
ret i32 %10
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbj4a1zk2.c'
source_filename = "/tmp/tmpbj4a1zk2.c"
target datalayout = "e-m:e-p270: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/tmpbj4a1zk2.c"
target datalayout = "e-m:e-p270: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/tmp0i939n13.c'
source_filename = "/tmp/tmp0i939n13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT16_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eul04() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = load i32, ptr @UINT16_MAX, align 4
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 10
store i32 %9, ptr %3, align 4
store i64 0, ptr %4, align 8
br label %10
10: ; preds = %42, %0
%11 = load i64, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = icmp ult i64 %11, %13
br i1 %14, label %15, label %45
15: ; preds = %10
store i64 0, ptr %5, align 8
br label %16
16: ; preds = %38, %15
%17 = load i64, ptr %5, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = icmp ult i64 %17, %19
br i1 %20, label %21, label %41
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = sext i32 %22 to i64
%24 = load i64, ptr %4, align 8
%25 = sub i64 %23, %24
%26 = load i32, ptr %2, align 4
%27 = sext i32 %26 to i64
%28 = load i64, ptr %5, align 8
%29 = sub i64 %27, %28
%30 = mul i64 %25, %29
%31 = trunc i64 %30 to i32
store i32 %31, ptr %6, align 4
%32 = load i32, ptr %6, align 4
%33 = call i64 @is_palindrome(i32 noundef %32)
%34 = icmp ne i64 %33, 0
br i1 %34, label %35, label %37
35: ; preds = %21
%36 = load i32, ptr %6, align 4
store i32 %36, ptr %1, align 4
br label %46
37: ; preds = %21
br label %38
38: ; preds = %37
%39 = load i64, ptr %5, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %5, align 8
br label %16, !llvm.loop !6
41: ; preds = %16
br label %42
42: ; preds = %41
%43 = load i64, ptr %4, align 8
%44 = add i64 %43, 1
store i64 %44, ptr %4, align 8
br label %10, !llvm.loop !8
45: ; preds = %10
store i32 0, ptr %1, align 4
br label %46
46: ; preds = %45, %35
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i64 @is_palindrome(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/tmp0i939n13.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINT16_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eul04() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = load i32, ptr @UINT16_MAX, align 4
store i32 %7, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = sdiv i32 %8, 10
store i32 %9, ptr %3, align 4
store i64 0, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = icmp ult i64 %10, %12
br i1 %13, label %.lr.ph2, label %51
.lr.ph2: ; preds = %0
br label %14
14: ; preds = %.lr.ph2, %44
store i64 0, ptr %5, align 8
%15 = load i64, ptr %5, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = icmp ult i64 %15, %17
br i1 %18, label %.lr.ph, label %43
.lr.ph: ; preds = %14
br label %19
19: ; preds = %.lr.ph, %36
%20 = load i32, ptr %2, align 4
%21 = sext i32 %20 to i64
%22 = load i64, ptr %4, align 8
%23 = sub i64 %21, %22
%24 = load i32, ptr %2, align 4
%25 = sext i32 %24 to i64
%26 = load i64, ptr %5, align 8
%27 = sub i64 %25, %26
%28 = mul i64 %23, %27
%29 = trunc i64 %28 to i32
store i32 %29, ptr %6, align 4
%30 = load i32, ptr %6, align 4
%31 = call i64 @is_palindrome(i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %19
%34 = load i32, ptr %6, align 4
store i32 %34, ptr %1, align 4
br label %52
35: ; preds = %19
br label %36
36: ; preds = %35
%37 = load i64, ptr %5, align 8
%38 = add i64 %37, 1
store i64 %38, ptr %5, align 8
%39 = load i64, ptr %5, align 8
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = icmp ult i64 %39, %41
br i1 %42, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %14
br label %44
44: ; preds = %43
%45 = load i64, ptr %4, align 8
%46 = add i64 %45, 1
store i64 %46, ptr %4, align 8
%47 = load i64, ptr %4, align 8
%48 = load i32, ptr %3, align 4
%49 = sext i32 %48 to i64
%50 = icmp ult i64 %47, %49
br i1 %50, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %44
br label %51
51: ; preds = %._crit_edge3, %0
store i32 0, ptr %1, align 4
br label %52
52: ; preds = %51, %33
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i64 @is_palindrome(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/tmpqceucam0.c'
source_filename = "/tmp/tmpqceucam0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wagner_fischer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = add nsw i32 %21, 1
%23 = sext i32 %22 to i64
store i64 %23, ptr %5, align 8
%24 = load i64, ptr %5, align 8
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %6, align 8
%26 = alloca i64, i64 %24, align 16
store i64 %24, ptr %7, align 8
%27 = load i64, ptr %5, align 8
%28 = alloca i64, i64 %27, align 16
store i64 %27, ptr %8, align 8
store ptr %26, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %29
29: ; preds = %37, %2
%30 = load ptr, ptr %9, align 8
%31 = load i64, ptr %5, align 8
%32 = getelementptr inbounds i64, ptr %26, i64 %31
%33 = icmp ult ptr %30, %32
br i1 %33, label %34, label %42
34: ; preds = %29
%35 = load i64, ptr %10, align 8
%36 = load ptr, ptr %9, align 8
store i64 %35, ptr %36, align 8
br label %37
37: ; preds = %34
%38 = load ptr, ptr %9, align 8
%39 = getelementptr inbounds i64, ptr %38, i32 1
store ptr %39, ptr %9, align 8
%40 = load i64, ptr %10, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %10, align 8
br label %29, !llvm.loop !6
42: ; preds = %29
%43 = load ptr, ptr %3, align 8
store ptr %43, ptr %11, align 8
store i64 1, ptr %13, align 8
br label %44
44: ; preds = %115, %42
%45 = load i64, ptr %13, align 8
%46 = load ptr, ptr %3, align 8
%47 = call i32 @strlen(ptr noundef %46)
%48 = add nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = icmp ult i64 %45, %49
br i1 %50, label %51, label %118
51: ; preds = %44
%52 = load i64, ptr %13, align 8
store i64 %52, ptr %28, align 16
%53 = load ptr, ptr %4, align 8
store ptr %53, ptr %12, align 8
store ptr %26, ptr %14, align 8
%54 = getelementptr inbounds i64, ptr %26, i64 1
store ptr %54, ptr %15, align 8
store ptr %28, ptr %16, align 8
%55 = getelementptr inbounds i64, ptr %28, i64 1
store ptr %55, ptr %17, align 8
br label %56
56: ; preds = %88, %51
%57 = load ptr, ptr %17, align 8
%58 = load i64, ptr %5, align 8
%59 = getelementptr inbounds i64, ptr %28, i64 %58
%60 = icmp ult ptr %57, %59
br i1 %60, label %61, label %97
61: ; preds = %56
%62 = load ptr, ptr %11, align 8
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = load ptr, ptr %12, align 8
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %64, %67
br i1 %68, label %69, label %72
69: ; preds = %61
%70 = load ptr, ptr %14, align 8
%71 = load i64, ptr %70, align 8
br label %76
72: ; preds = %61
%73 = load ptr, ptr %14, align 8
%74 = load i64, ptr %73, align 8
%75 = add i64 %74, 1
br label %76
76: ; preds = %72, %69
%77 = phi i64 [ %71, %69 ], [ %75, %72 ]
%78 = load ptr, ptr %15, align 8
%79 = load i64, ptr %78, align 8
%80 = add i64 %79, 1
%81 = load ptr, ptr %16, align 8
%82 = load i64, ptr %81, align 8
%83 = add i64 %82, 1
%84 = call i64 @min(i64 noundef %77, i64 noundef %80, i64 noundef %83)
%85 = load ptr, ptr %17, align 8
store i64 %84, ptr %85, align 8
%86 = load ptr, ptr %12, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %12, align 8
br label %88
88: ; preds = %76
%89 = load ptr, ptr %14, align 8
%90 = getelementptr inbounds i64, ptr %89, i32 1
store ptr %90, ptr %14, align 8
%91 = load ptr, ptr %15, align 8
%92 = getelementptr inbounds i64, ptr %91, i32 1
store ptr %92, ptr %15, align 8
%93 = load ptr, ptr %16, align 8
%94 = getelementptr inbounds i64, ptr %93, i32 1
store ptr %94, ptr %16, align 8
%95 = load ptr, ptr %17, align 8
%96 = getelementptr inbounds i64, ptr %95, i32 1
store ptr %96, ptr %17, align 8
br label %56, !llvm.loop !8
97: ; preds = %56
store ptr %26, ptr %18, align 8
store ptr %28, ptr %19, align 8
br label %98
98: ; preds = %107, %97
%99 = load ptr, ptr %18, align 8
%100 = load i64, ptr %5, align 8
%101 = getelementptr inbounds i64, ptr %26, i64 %100
%102 = icmp ult ptr %99, %101
br i1 %102, label %103, label %112
103: ; preds = %98
%104 = load ptr, ptr %19, align 8
%105 = load i64, ptr %104, align 8
%106 = load ptr, ptr %18, align 8
store i64 %105, ptr %106, align 8
br label %107
107: ; preds = %103
%108 = load ptr, ptr %18, align 8
%109 = getelementptr inbounds i64, ptr %108, i32 1
store ptr %109, ptr %18, align 8
%110 = load ptr, ptr %19, align 8
%111 = getelementptr inbounds i64, ptr %110, i32 1
store ptr %111, ptr %19, align 8
br label %98, !llvm.loop !9
112: ; preds = %98
%113 = load ptr, ptr %11, align 8
%114 = getelementptr inbounds i8, ptr %113, i32 1
store ptr %114, ptr %11, align 8
br label %115
115: ; preds = %112
%116 = load i64, ptr %13, align 8
%117 = add i64 %116, 1
store i64 %117, ptr %13, align 8
br label %44, !llvm.loop !10
118: ; preds = %44
%119 = load i64, ptr %5, align 8
%120 = sub i64 %119, 1
%121 = getelementptr inbounds i64, ptr %26, i64 %120
%122 = load i64, ptr %121, align 8
%123 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %123)
ret i64 %122
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i64 @min(i64 noundef, i64 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqceucam0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @wagner_fischer(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = call i32 @strlen(ptr noundef %20)
%22 = add nsw i32 %21, 1
%23 = sext i32 %22 to i64
store i64 %23, ptr %5, align 8
%24 = load i64, ptr %5, align 8
%25 = call ptr @llvm.stacksave()
store ptr %25, ptr %6, align 8
%26 = alloca i64, i64 %24, align 16
store i64 %24, ptr %7, align 8
%27 = load i64, ptr %5, align 8
%28 = alloca i64, i64 %27, align 16
store i64 %27, ptr %8, align 8
store ptr %26, ptr %9, align 8
store i64 0, ptr %10, align 8
%29 = load ptr, ptr %9, align 8
%30 = load i64, ptr %5, align 8
%31 = getelementptr inbounds i64, ptr %26, i64 %30
%32 = icmp ult ptr %29, %31
br i1 %32, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %33
33: ; preds = %.lr.ph, %36
%34 = load i64, ptr %10, align 8
%35 = load ptr, ptr %9, align 8
store i64 %34, ptr %35, align 8
br label %36
36: ; preds = %33
%37 = load ptr, ptr %9, align 8
%38 = getelementptr inbounds i64, ptr %37, i32 1
store ptr %38, ptr %9, align 8
%39 = load i64, ptr %10, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %10, align 8
%41 = load ptr, ptr %9, align 8
%42 = load i64, ptr %5, align 8
%43 = getelementptr inbounds i64, ptr %26, i64 %42
%44 = icmp ult ptr %41, %43
br i1 %44, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %45
45: ; preds = %._crit_edge, %2
%46 = load ptr, ptr %3, align 8
store ptr %46, ptr %11, align 8
store i64 1, ptr %13, align 8
%47 = load i64, ptr %13, align 8
%48 = load ptr, ptr %3, align 8
%49 = call i32 @strlen(ptr noundef %48)
%50 = add nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = icmp ult i64 %47, %51
br i1 %52, label %.lr.ph8, label %132
.lr.ph8: ; preds = %45
br label %53
53: ; preds = %.lr.ph8, %123
%54 = load i64, ptr %13, align 8
store i64 %54, ptr %28, align 16
%55 = load ptr, ptr %4, align 8
store ptr %55, ptr %12, align 8
store ptr %26, ptr %14, align 8
%56 = getelementptr inbounds i64, ptr %26, i64 1
store ptr %56, ptr %15, align 8
store ptr %28, ptr %16, align 8
%57 = getelementptr inbounds i64, ptr %28, i64 1
store ptr %57, ptr %17, align 8
%58 = load ptr, ptr %17, align 8
%59 = load i64, ptr %5, align 8
%60 = getelementptr inbounds i64, ptr %28, i64 %59
%61 = icmp ult ptr %58, %60
br i1 %61, label %.lr.ph2, label %102
.lr.ph2: ; preds = %53
br label %62
62: ; preds = %.lr.ph2, %89
%63 = load ptr, ptr %11, align 8
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = load ptr, ptr %12, align 8
%67 = load i8, ptr %66, align 1
%68 = sext i8 %67 to i32
%69 = icmp eq i32 %65, %68
br i1 %69, label %70, label %73
70: ; preds = %62
%71 = load ptr, ptr %14, align 8
%72 = load i64, ptr %71, align 8
br label %77
73: ; preds = %62
%74 = load ptr, ptr %14, align 8
%75 = load i64, ptr %74, align 8
%76 = add i64 %75, 1
br label %77
77: ; preds = %73, %70
%78 = phi i64 [ %72, %70 ], [ %76, %73 ]
%79 = load ptr, ptr %15, align 8
%80 = load i64, ptr %79, align 8
%81 = add i64 %80, 1
%82 = load ptr, ptr %16, align 8
%83 = load i64, ptr %82, align 8
%84 = add i64 %83, 1
%85 = call i64 @min(i64 noundef %78, i64 noundef %81, i64 noundef %84)
%86 = load ptr, ptr %17, align 8
store i64 %85, ptr %86, align 8
%87 = load ptr, ptr %12, align 8
%88 = getelementptr inbounds i8, ptr %87, i32 1
store ptr %88, ptr %12, align 8
br label %89
89: ; preds = %77
%90 = load ptr, ptr %14, align 8
%91 = getelementptr inbounds i64, ptr %90, i32 1
store ptr %91, ptr %14, align 8
%92 = load ptr, ptr %15, align 8
%93 = getelementptr inbounds i64, ptr %92, i32 1
store ptr %93, ptr %15, align 8
%94 = load ptr, ptr %16, align 8
%95 = getelementptr inbounds i64, ptr %94, i32 1
store ptr %95, ptr %16, align 8
%96 = load ptr, ptr %17, align 8
%97 = getelementptr inbounds i64, ptr %96, i32 1
store ptr %97, ptr %17, align 8
%98 = load ptr, ptr %17, align 8
%99 = load i64, ptr %5, align 8
%100 = getelementptr inbounds i64, ptr %28, i64 %99
%101 = icmp ult ptr %98, %100
br i1 %101, label %62, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %89
br label %102
102: ; preds = %._crit_edge3, %53
store ptr %26, ptr %18, align 8
store ptr %28, ptr %19, align 8
%103 = load ptr, ptr %18, align 8
%104 = load i64, ptr %5, align 8
%105 = getelementptr inbounds i64, ptr %26, i64 %104
%106 = icmp ult ptr %103, %105
br i1 %106, label %.lr.ph5, label %120
.lr.ph5: ; preds = %102
br label %107
107: ; preds = %.lr.ph5, %111
%108 = load ptr, ptr %19, align 8
%109 = load i64, ptr %108, align 8
%110 = load ptr, ptr %18, align 8
store i64 %109, ptr %110, align 8
br label %111
111: ; preds = %107
%112 = load ptr, ptr %18, align 8
%113 = getelementptr inbounds i64, ptr %112, i32 1
store ptr %113, ptr %18, align 8
%114 = load ptr, ptr %19, align 8
%115 = getelementptr inbounds i64, ptr %114, i32 1
store ptr %115, ptr %19, align 8
%116 = load ptr, ptr %18, align 8
%117 = load i64, ptr %5, align 8
%118 = getelementptr inbounds i64, ptr %26, i64 %117
%119 = icmp ult ptr %116, %118
br i1 %119, label %107, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %111
br label %120
120: ; preds = %._crit_edge6, %102
%121 = load ptr, ptr %11, align 8
%122 = getelementptr inbounds i8, ptr %121, i32 1
store ptr %122, ptr %11, align 8
br label %123
123: ; preds = %120
%124 = load i64, ptr %13, align 8
%125 = add i64 %124, 1
store i64 %125, ptr %13, align 8
%126 = load i64, ptr %13, align 8
%127 = load ptr, ptr %3, align 8
%128 = call i32 @strlen(ptr noundef %127)
%129 = add nsw i32 %128, 1
%130 = sext i32 %129 to i64
%131 = icmp ult i64 %126, %130
br i1 %131, label %53, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %123
br label %132
132: ; preds = %._crit_edge9, %45
%133 = load i64, ptr %5, align 8
%134 = sub i64 %133, 1
%135 = getelementptr inbounds i64, ptr %26, i64 %134
%136 = load i64, ptr %135, align 8
%137 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %137)
ret i64 %136
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i64 @min(i64 noundef, i64 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}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpykdnhyry.c'
source_filename = "/tmp/tmpykdnhyry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Usage: %s IP1 IP2 IP3 IP4\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Example:\0A %s 192 168 1 1\0A\00", align 1
@.str.2 = private unnamed_addr constant [61 x i8] c"Fake DNS returning the same IP address for any DNS request.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(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/tmpykdnhyry.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [27 x i8] c"Usage: %s IP1 IP2 IP3 IP4\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"Example:\0A %s 192 168 1 1\0A\00", align 1
@.str.2 = private unnamed_addr constant [61 x i8] c"Fake DNS returning the same IP address for any DNS request.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = load i32, ptr @stderr, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1, ptr noundef %7)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.2)
ret void
}
declare i32 @fprintf(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/tmpvpvc2p78.c'
source_filename = "/tmp/tmpvpvc2p78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xa3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xa3() #0 {
%1 = call i64 @isdigit(i32 noundef 163)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 820, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmpvpvc2p78.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xa3\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isdigit_0xa3() #0 {
%1 = call i64 @isdigit(i32 noundef 163)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 820, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isdigit(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/tmp8tm1kviw.c'
source_filename = "/tmp/tmp8tm1kviw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"main\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @ftest2()
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @ftest2(...) #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/tmp8tm1kviw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"main\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @ftest2()
%3 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @ftest2(...) #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/tmpo6161vhx.c'
source_filename = "/tmp/tmpo6161vhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpo6161vhx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_SUCCESS = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6q8wbtvu.c'
source_filename = "/tmp/tmp6q8wbtvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @ANTweenProgressTimingFunctionCircInOut(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionCircInOut(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionCircInOut(float noundef, i32 noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6q8wbtvu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @ANTweenProgressTimingFunctionCircInOut(float noundef %0, float noundef %1) #0 {
%3 = alloca float, align 4
%4 = alloca float, align 4
store float %0, ptr %3, align 4
store float %1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %4, align 4
%7 = call float @ANTweenTimingFunctionCircInOut(float noundef %5, i32 noundef 0, i32 noundef 1, float noundef %6)
ret float %7
}
declare float @ANTweenTimingFunctionCircInOut(float noundef, i32 noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt0ci_6_1.c'
source_filename = "/tmp/tmpt0ci_6_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
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 = sub nsw i32 %5, %6
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
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/tmpt0ci_6_1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
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 = sub nsw i32 %5, %6
%8 = call i32 @printf(ptr noundef @.str.1, i32 noundef %7)
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/tmpuonwgbsl.c'
source_filename = "/tmp/tmpuonwgbsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag_organizational_parameters_valid(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, double noundef %7) #0 {
%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 i8, align 1
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i8 %6, ptr %16, align 1
store double %7, ptr %17, align 8
store i32 0, ptr %18, align 4
store double 0.000000e+00, ptr %19, align 8
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
%25 = load i8, ptr %16, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %117
28: ; preds = %8
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %14, align 4
%31 = mul nsw i32 %29, %30
%32 = icmp sgt i32 %31, 256
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %9, align 4
br label %123
34: ; preds = %28
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %11, align 4
%38 = mul nsw i32 %36, %37
%39 = load i32, ptr %14, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %15, align 4
%42 = mul nsw i32 %40, %41
%43 = sdiv i32 %35, %42
%44 = icmp sle i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %34
store i32 0, ptr %9, align 4
br label %123
46: ; preds = %34
%47 = load i32, ptr %10, align 4
%48 = mul nsw i32 8, %47
%49 = load i32, ptr %11, align 4
%50 = mul nsw i32 %48, %49
%51 = load i32, ptr %15, align 4
%52 = mul nsw i32 %50, %51
%53 = load i32, ptr %13, align 4
%54 = sdiv i32 %52, %53
%55 = icmp sle i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %46
store i32 0, ptr %9, align 4
br label %123
57: ; preds = %46
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %11, align 4
%61 = mul nsw i32 %59, %60
%62 = load i32, ptr %14, align 4
%63 = mul nsw i32 %61, %62
%64 = load i32, ptr %15, align 4
%65 = mul nsw i32 %63, %64
%66 = sdiv i32 %58, %65
store i32 %66, ptr %23, align 4
%67 = load i32, ptr %23, align 4
%68 = icmp sgt i32 8, %67
br i1 %68, label %69, label %70
69: ; preds = %57
store i32 0, ptr %9, align 4
br label %123
70: ; preds = %57
%71 = load i32, ptr %23, align 4
%72 = icmp slt i32 512, %71
br i1 %72, label %73, label %74
73: ; preds = %70
store i32 0, ptr %9, align 4
br label %123
74: ; preds = %70
store i32 47, ptr %20, align 4
%75 = load i32, ptr %12, align 4
%76 = sitofp i32 %75 to double
%77 = call i64 @logtwo(double noundef %76)
%78 = sitofp i64 %77 to double
%79 = fadd double %78, 5.000000e-01
%80 = fptosi double %79 to i32
%81 = sitofp i32 %80 to double
store double %81, ptr %19, align 8
%82 = load double, ptr %19, align 8
%83 = fptosi double %82 to i32
store i32 %83, ptr %18, align 4
%84 = load i32, ptr %18, align 4
%85 = load i32, ptr %20, align 4
%86 = sub nsw i32 %85, %84
store i32 %86, ptr %20, align 4
%87 = load i32, ptr %11, align 4
%88 = sitofp i32 %87 to double
%89 = call i64 @logtwo(double noundef %88)
%90 = sitofp i64 %89 to double
%91 = fadd double %90, 5.000000e-01
%92 = fptosi double %91 to i32
%93 = load i32, ptr %20, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %20, align 4
%95 = load double, ptr %17, align 8
%96 = call i64 @logtwo(double noundef %95)
%97 = sitofp i64 %96 to double
%98 = fadd double %97, 5.000000e-01
%99 = fptosi double %98 to i32
%100 = load i32, ptr %20, align 4
%101 = sub nsw i32 %100, %99
store i32 %101, ptr %20, align 4
%102 = load i32, ptr %20, align 4
%103 = load i32, ptr %11, align 4
%104 = mul nsw i32 %102, %103
%105 = load i32, ptr %15, align 4
%106 = mul nsw i32 %104, %105
%107 = load i32, ptr %13, align 4
%108 = sdiv i32 %106, %107
store i32 %108, ptr %24, align 4
%109 = load i32, ptr %24, align 4
%110 = icmp sgt i32 8, %109
br i1 %110, label %111, label %112
111: ; preds = %74
store i32 0, ptr %9, align 4
br label %123
112: ; preds = %74
%113 = load i32, ptr %24, align 4
%114 = icmp slt i32 512, %113
br i1 %114, label %115, label %116
115: ; preds = %112
store i32 0, ptr %9, align 4
br label %123
116: ; preds = %112
br label %122
117: ; preds = %8
%118 = load i32, ptr %14, align 4
%119 = icmp sgt i32 %118, 32
br i1 %119, label %120, label %121
120: ; preds = %117
store i32 0, ptr %9, align 4
br label %123
121: ; preds = %117
br label %122
122: ; preds = %121, %116
store i32 1, ptr %9, align 4
br label %123
123: ; preds = %122, %120, %115, %111, %73, %69, %56, %45, %33
%124 = load i32, ptr %9, align 4
ret i32 %124
}
declare i64 @logtwo(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuonwgbsl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tag_organizational_parameters_valid(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef signext %6, double noundef %7) #0 {
%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 i8, align 1
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store i32 %0, ptr %10, align 4
store i32 %1, ptr %11, align 4
store i32 %2, ptr %12, align 4
store i32 %3, ptr %13, align 4
store i32 %4, ptr %14, align 4
store i32 %5, ptr %15, align 4
store i8 %6, ptr %16, align 1
store double %7, ptr %17, align 8
store i32 0, ptr %18, align 4
store double 0.000000e+00, ptr %19, align 8
store i32 0, ptr %20, align 4
store i32 0, ptr %21, align 4
store i32 0, ptr %22, align 4
store i32 0, ptr %23, align 4
store i32 0, ptr %24, align 4
%25 = load i8, ptr %16, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 0
br i1 %27, label %28, label %117
28: ; preds = %8
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %14, align 4
%31 = mul nsw i32 %29, %30
%32 = icmp sgt i32 %31, 256
br i1 %32, label %33, label %34
33: ; preds = %28
store i32 0, ptr %9, align 4
br label %123
34: ; preds = %28
%35 = load i32, ptr %12, align 4
%36 = load i32, ptr %10, align 4
%37 = load i32, ptr %11, align 4
%38 = mul nsw i32 %36, %37
%39 = load i32, ptr %14, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %15, align 4
%42 = mul nsw i32 %40, %41
%43 = sdiv i32 %35, %42
%44 = icmp sle i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %34
store i32 0, ptr %9, align 4
br label %123
46: ; preds = %34
%47 = load i32, ptr %10, align 4
%48 = mul nsw i32 8, %47
%49 = load i32, ptr %11, align 4
%50 = mul nsw i32 %48, %49
%51 = load i32, ptr %15, align 4
%52 = mul nsw i32 %50, %51
%53 = load i32, ptr %13, align 4
%54 = sdiv i32 %52, %53
%55 = icmp sle i32 %54, 0
br i1 %55, label %56, label %57
56: ; preds = %46
store i32 0, ptr %9, align 4
br label %123
57: ; preds = %46
%58 = load i32, ptr %12, align 4
%59 = load i32, ptr %10, align 4
%60 = load i32, ptr %11, align 4
%61 = mul nsw i32 %59, %60
%62 = load i32, ptr %14, align 4
%63 = mul nsw i32 %61, %62
%64 = load i32, ptr %15, align 4
%65 = mul nsw i32 %63, %64
%66 = sdiv i32 %58, %65
store i32 %66, ptr %23, align 4
%67 = load i32, ptr %23, align 4
%68 = icmp sgt i32 8, %67
br i1 %68, label %69, label %70
69: ; preds = %57
store i32 0, ptr %9, align 4
br label %123
70: ; preds = %57
%71 = load i32, ptr %23, align 4
%72 = icmp slt i32 512, %71
br i1 %72, label %73, label %74
73: ; preds = %70
store i32 0, ptr %9, align 4
br label %123
74: ; preds = %70
store i32 47, ptr %20, align 4
%75 = load i32, ptr %12, align 4
%76 = sitofp i32 %75 to double
%77 = call i64 @logtwo(double noundef %76)
%78 = sitofp i64 %77 to double
%79 = fadd double %78, 5.000000e-01
%80 = fptosi double %79 to i32
%81 = sitofp i32 %80 to double
store double %81, ptr %19, align 8
%82 = load double, ptr %19, align 8
%83 = fptosi double %82 to i32
store i32 %83, ptr %18, align 4
%84 = load i32, ptr %18, align 4
%85 = load i32, ptr %20, align 4
%86 = sub nsw i32 %85, %84
store i32 %86, ptr %20, align 4
%87 = load i32, ptr %11, align 4
%88 = sitofp i32 %87 to double
%89 = call i64 @logtwo(double noundef %88)
%90 = sitofp i64 %89 to double
%91 = fadd double %90, 5.000000e-01
%92 = fptosi double %91 to i32
%93 = load i32, ptr %20, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %20, align 4
%95 = load double, ptr %17, align 8
%96 = call i64 @logtwo(double noundef %95)
%97 = sitofp i64 %96 to double
%98 = fadd double %97, 5.000000e-01
%99 = fptosi double %98 to i32
%100 = load i32, ptr %20, align 4
%101 = sub nsw i32 %100, %99
store i32 %101, ptr %20, align 4
%102 = load i32, ptr %20, align 4
%103 = load i32, ptr %11, align 4
%104 = mul nsw i32 %102, %103
%105 = load i32, ptr %15, align 4
%106 = mul nsw i32 %104, %105
%107 = load i32, ptr %13, align 4
%108 = sdiv i32 %106, %107
store i32 %108, ptr %24, align 4
%109 = load i32, ptr %24, align 4
%110 = icmp sgt i32 8, %109
br i1 %110, label %111, label %112
111: ; preds = %74
store i32 0, ptr %9, align 4
br label %123
112: ; preds = %74
%113 = load i32, ptr %24, align 4
%114 = icmp slt i32 512, %113
br i1 %114, label %115, label %116
115: ; preds = %112
store i32 0, ptr %9, align 4
br label %123
116: ; preds = %112
br label %122
117: ; preds = %8
%118 = load i32, ptr %14, align 4
%119 = icmp sgt i32 %118, 32
br i1 %119, label %120, label %121
120: ; preds = %117
store i32 0, ptr %9, align 4
br label %123
121: ; preds = %117
br label %122
122: ; preds = %121, %116
store i32 1, ptr %9, align 4
br label %123
123: ; preds = %122, %120, %115, %111, %73, %69, %56, %45, %33
%124 = load i32, ptr %9, align 4
ret i32 %124
}
declare i64 @logtwo(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu4ph123a.c'
source_filename = "/tmp/tmpu4ph123a.c"
target datalayout = "e-m:e-p270: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/tmpu4ph123a.c"
target datalayout = "e-m:e-p270: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/tmp99cy4_h3.c'
source_filename = "/tmp/tmp99cy4_h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\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 void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef poison)
%2 = call i32 @printf(ptr noundef @.str.1, i32 noundef poison)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp99cy4_h3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\0A\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 void @main() #0 {
%1 = call i32 @printf(ptr noundef @.str, i32 noundef poison)
%2 = call i32 @printf(ptr noundef @.str.1, i32 noundef poison)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp17o2nt9t.c'
source_filename = "/tmp/tmp17o2nt9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %55
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %22, ptr %3, align 4
br label %55
23: ; preds = %14
br label %24
24: ; preds = %31, %23
%25 = load ptr, ptr %7, align 8
%26 = call i64 @fread(ptr noundef %8, i32 noundef 4, i32 noundef 1, ptr noundef %25)
store i64 %26, ptr %9, align 8
%27 = load ptr, ptr %7, align 8
%28 = call i64 @feof(ptr noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %24
br label %39
31: ; preds = %24
%32 = load i64, ptr %9, align 8
%33 = icmp eq i64 %32, 1
%34 = zext i1 %33 to i32
%35 = call i32 @assert(i32 noundef %34)
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, %36
store i32 %38, ptr %6, align 4
br label %24
39: ; preds = %30
%40 = load ptr, ptr %7, align 8
%41 = call i64 @ferror(ptr noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %39
%44 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %44, ptr %3, align 4
br label %55
45: ; preds = %39
%46 = load ptr, ptr %7, align 8
%47 = call i64 @fclose(ptr noundef %46)
%48 = icmp ne i64 %47, 0
br i1 %48, label %49, label %51
49: ; preds = %45
%50 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %50, ptr %3, align 4
br label %55
51: ; preds = %45
%52 = load i32, ptr %6, align 4
%53 = call i32 @printf(ptr noundef @.str.1, i32 noundef %52)
%54 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %54, ptr %3, align 4
br label %55
55: ; preds = %51, %49, %43, %21, %12
%56 = load i32, ptr %3, align 4
ret i32 %56
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @fclose(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/tmp17o2nt9t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp slt i32 %10, 2
br i1 %11, label %12, label %14
12: ; preds = %2
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %59
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %7, align 8
%19 = load ptr, ptr %7, align 8
%20 = icmp eq ptr %19, null
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %22, ptr %3, align 4
br label %59
23: ; preds = %14
%24 = load ptr, ptr %7, align 8
%25 = call i64 @fread(ptr noundef %8, i32 noundef 4, i32 noundef 1, ptr noundef %24)
store i64 %25, ptr %9, align 8
%26 = load ptr, ptr %7, align 8
%27 = call i64 @feof(ptr noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %.lr.ph
.lr.ph: ; preds = %23
br label %30
._crit_edge: ; preds = %30
br label %29
29: ; preds = %._crit_edge, %23
br label %43
30: ; preds = %.lr.ph, %30
%31 = load i64, ptr %9, align 8
%32 = icmp eq i64 %31, 1
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, %35
store i32 %37, ptr %6, align 4
%38 = load ptr, ptr %7, align 8
%39 = call i64 @fread(ptr noundef %8, i32 noundef 4, i32 noundef 1, ptr noundef %38)
store i64 %39, ptr %9, align 8
%40 = load ptr, ptr %7, align 8
%41 = call i64 @feof(ptr noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %._crit_edge, label %30
43: ; preds = %29
%44 = load ptr, ptr %7, align 8
%45 = call i64 @ferror(ptr noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %48, ptr %3, align 4
br label %59
49: ; preds = %43
%50 = load ptr, ptr %7, align 8
%51 = call i64 @fclose(ptr noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %54, ptr %3, align 4
br label %59
55: ; preds = %49
%56 = load i32, ptr %6, align 4
%57 = call i32 @printf(ptr noundef @.str.1, i32 noundef %56)
%58 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %58, ptr %3, align 4
br label %59
59: ; preds = %55, %53, %47, %21, %12
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i64 @feof(ptr noundef) #1
declare i32 @assert(i32 noundef) #1
declare i64 @ferror(ptr noundef) #1
declare i64 @fclose(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/tmp3g7_t_4_.c'
source_filename = "/tmp/tmp3g7_t_4_.c"
target datalayout = "e-m:e-p270: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/tmp3g7_t_4_.c"
target datalayout = "e-m:e-p270: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/tmpao19of09.c'
source_filename = "/tmp/tmpao19of09.c"
target datalayout = "e-m:e-p270: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/tmpao19of09.c"
target datalayout = "e-m:e-p270: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/tmpayx69_4n.c'
source_filename = "/tmp/tmpayx69_4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %9, align 4
br label %18
18: ; preds = %38, %3
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %22, label %41
22: ; preds = %18
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i32, ptr %23, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %8, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %37
30: ; preds = %22
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %9, align 4
%34 = call i32 @swap(ptr noundef %31, i32 noundef %32, i32 noundef %33)
%35 = load i32, ptr %7, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %7, align 4
br label %37
37: ; preds = %30, %22
br label %38
38: ; preds = %37
%39 = load i32, ptr %9, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %9, align 4
br label %18, !llvm.loop !6
41: ; preds = %18
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %6, align 4
%45 = sub nsw i32 %44, 1
%46 = call i32 @swap(ptr noundef %42, i32 noundef %43, i32 noundef %45)
%47 = load i32, ptr %7, align 4
ret i32 %47
}
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpayx69_4n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @partition(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %5, align 4
store i32 %10, ptr %7, align 4
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, align 4
%13 = sub nsw i32 %12, 1
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %.lr.ph, label %43
.lr.ph: ; preds = %3
br label %21
21: ; preds = %.lr.ph, %37
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i32, ptr %22, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %36
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %7, align 4
%32 = load i32, ptr %9, align 4
%33 = call i32 @swap(ptr noundef %30, i32 noundef %31, i32 noundef %32)
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %36
36: ; preds = %29, %21
br label %37
37: ; preds = %36
%38 = load i32, ptr %9, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %9, align 4
%40 = load i32, ptr %9, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %37
br label %43
43: ; preds = %._crit_edge, %3
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %6, align 4
%47 = sub nsw i32 %46, 1
%48 = call i32 @swap(ptr noundef %44, i32 noundef %45, i32 noundef %47)
%49 = load i32, ptr %7, align 4
ret i32 %49
}
declare i32 @swap(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpznzctf_2.c'
source_filename = "/tmp/tmpznzctf_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpznzctf_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi81d65w_.c'
source_filename = "/tmp/tmpi81d65w_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(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 @trim_left(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @trim_right(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
ret ptr %7
}
declare i32 @trim_left(ptr noundef) #1
declare i32 @trim_right(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi81d65w_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trim(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 @trim_left(ptr noundef %3)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @trim_right(ptr noundef %5)
%7 = load ptr, ptr %2, align 8
ret ptr %7
}
declare i32 @trim_left(ptr noundef) #1
declare i32 @trim_right(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk40vx276.c'
source_filename = "/tmp/tmpk40vx276.c"
target datalayout = "e-m:e-p270: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/tmpk40vx276.c"
target datalayout = "e-m:e-p270: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/tmpf5oausqt.c'
source_filename = "/tmp/tmpf5oausqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%d = %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" + %d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum_search(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 2, ptr %3, align 4
br label %5
5: ; preds = %17, %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sdiv i32 %8, %9
%11 = load i32, ptr %3, align 4
%12 = ashr i32 %11, 1
%13 = sub nsw i32 %10, %12
%14 = call i32 @check_sum(i32 noundef %6, i32 noundef %7, i32 noundef %13)
store i32 %14, ptr %4, align 4
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br i1 %16, label %17, label %20
17: ; preds = %5
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22)
store i32 1, ptr %2, align 4
br label %24
24: ; preds = %33, %20
%25 = load i32, ptr %2, align 4
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %28, label %36
28: ; preds = %24
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %2, align 4
%31 = add nsw i32 %29, %30
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %31)
br label %33
33: ; preds = %28
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %24, !llvm.loop !8
36: ; preds = %24
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @check_sum(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf5oausqt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%d = %d\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c" + %d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sum_search(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 2, ptr %3, align 4
br label %5
5: ; preds = %17, %1
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = sdiv i32 %8, %9
%11 = load i32, ptr %3, align 4
%12 = ashr i32 %11, 1
%13 = sub nsw i32 %10, %12
%14 = call i32 @check_sum(i32 noundef %6, i32 noundef %7, i32 noundef %13)
store i32 %14, ptr %4, align 4
%15 = icmp ne i32 %14, 0
%16 = xor i1 %15, true
br i1 %16, label %17, label %20
17: ; preds = %5
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %3, align 4
br label %5, !llvm.loop !6
20: ; preds = %5
%21 = load i32, ptr %2, align 4
%22 = load i32, ptr %4, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22)
store i32 1, ptr %2, align 4
%24 = load i32, ptr %2, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %.lr.ph, label %38
.lr.ph: ; preds = %20
br label %27
27: ; preds = %.lr.ph, %32
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %2, align 4
%30 = add nsw i32 %28, %29
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30)
br label %32
32: ; preds = %27
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = load i32, ptr %3, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %27, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %20
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @check_sum(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpgu8wmsur.c'
source_filename = "/tmp/tmpgu8wmsur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vasprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 -1, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @_vscprintf(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %44
14: ; preds = %3
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr @INT_MAX, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %44
18: ; preds = %14
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %4, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %24, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %43
27: ; preds = %18
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @vsnprintf(ptr noundef %29, i32 noundef %31, ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %42
37: ; preds = %27
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %38, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load ptr, ptr %4, align 8
store ptr null, ptr %41, align 8
br label %42
42: ; preds = %37, %27
br label %43
43: ; preds = %42, %18
br label %46
44: ; preds = %14, %3
%45 = load ptr, ptr %4, align 8
store ptr null, ptr %45, align 8
br label %46
46: ; preds = %44, %43
%47 = load i32, ptr %7, align 4
ret i32 %47
}
declare i32 @_vscprintf(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgu8wmsur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @vasprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
store i32 -1, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @_vscprintf(ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %8, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp sge i32 %12, 0
br i1 %13, label %14, label %44
14: ; preds = %3
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr @INT_MAX, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %44
18: ; preds = %14
%19 = load i32, ptr %8, align 4
%20 = add nsw i32 %19, 1
%21 = call i64 @malloc(i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
%23 = load ptr, ptr %4, align 8
store ptr %22, ptr %23, align 8
%24 = load ptr, ptr %4, align 8
%25 = load ptr, ptr %24, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %43
27: ; preds = %18
%28 = load ptr, ptr %4, align 8
%29 = load ptr, ptr %28, align 8
%30 = load i32, ptr %8, align 4
%31 = add nsw i32 %30, 1
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = call i32 @vsnprintf(ptr noundef %29, i32 noundef %31, ptr noundef %32, i32 noundef %33)
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = icmp eq i32 %35, -1
br i1 %36, label %37, label %42
37: ; preds = %27
%38 = load ptr, ptr %4, align 8
%39 = load ptr, ptr %38, align 8
%40 = call i32 @free(ptr noundef %39)
%41 = load ptr, ptr %4, align 8
store ptr null, ptr %41, align 8
br label %42
42: ; preds = %37, %27
br label %43
43: ; preds = %42, %18
br label %46
44: ; preds = %14, %3
%45 = load ptr, ptr %4, align 8
store ptr null, ptr %45, align 8
br label %46
46: ; preds = %44, %43
%47 = load i32, ptr %7, align 4
ret i32 %47
}
declare i32 @_vscprintf(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @vsnprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6ernxi7i.c'
source_filename = "/tmp/tmp6ernxi7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"void -> void\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @function_receive_and_return_void() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6ernxi7i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"void -> void\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @function_receive_and_return_void() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvqrj_1hc.c'
source_filename = "/tmp/tmpvqrj_1hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_string_right_trim(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %8, align 8
br label %14
14: ; preds = %30, %3
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %19, label %33
19: ; preds = %14
%20 = load ptr, ptr %7, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load i8, ptr %5, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %22, %24
br i1 %25, label %26, label %30
26: ; preds = %19
%27 = load ptr, ptr %7, align 8
store ptr %27, ptr %8, align 8
%28 = load ptr, ptr %8, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %8, align 8
br label %30
30: ; preds = %26, %19
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
br label %14, !llvm.loop !6
33: ; preds = %14
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %4, align 8
%36 = icmp ne ptr %34, %35
br i1 %36, label %37, label %39
37: ; preds = %33
%38 = load ptr, ptr %8, align 8
store i8 0, ptr %38, align 1
br label %39
39: ; preds = %37, %33
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvqrj_1hc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @simple_string_right_trim(ptr noundef %0, i8 noundef signext %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i8 %1, ptr %5, align 1
store ptr %2, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10)
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %7, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %8, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp ne i32 %16, 0
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %3
br label %18
18: ; preds = %.lr.ph, %29
%19 = load ptr, ptr %7, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i8, ptr %5, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %21, %23
br i1 %24, label %25, label %29
25: ; preds = %18
%26 = load ptr, ptr %7, align 8
store ptr %26, ptr %8, align 8
%27 = load ptr, ptr %8, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %8, align 8
br label %29
29: ; preds = %25, %18
%30 = load ptr, ptr %7, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %7, align 8
%32 = load ptr, ptr %7, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 0
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %29
br label %36
36: ; preds = %._crit_edge, %3
%37 = load ptr, ptr %8, align 8
%38 = load ptr, ptr %4, align 8
%39 = icmp ne ptr %37, %38
br i1 %39, label %40, label %42
40: ; preds = %36
%41 = load ptr, ptr %8, align 8
store i8 0, ptr %41, align 1
br label %42
42: ; preds = %40, %36
ret void
}
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpw0p813n3.c'
source_filename = "/tmp/tmpw0p813n3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local i32 @__real_select(i32 noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @select(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw0p813n3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local i32 @__real_select(i32 noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, ptr noalias noundef %3, ptr noalias noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%11 = load i32, ptr %6, align 4
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = call i32 @select(i32 noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
ret i32 %16
}
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7mf22enm.c'
source_filename = "/tmp/tmp7mf22enm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"geteuid\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @geteuid() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 14531089
}
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/tmp7mf22enm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"geteuid\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @geteuid() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 14531089
}
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/tmpfnhn0d7f.c'
source_filename = "/tmp/tmpfnhn0d7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_XF86VidModeGetViewPort(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfnhn0d7f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @safe_XF86VidModeGetViewPort(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg6lt96a1.c'
source_filename = "/tmp/tmpg6lt96a1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@open_devnull.fd = internal global i32 -1, align 4
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_devnull() #0 {
%1 = load i32, ptr @open_devnull.fd, align 4
%2 = icmp slt i32 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr @open_devnull.fd, align 4
br label %6
6: ; preds = %3, %0
%7 = load i32, ptr @open_devnull.fd, align 4
%8 = call i32 @dup(i32 noundef %7)
ret i32 %8
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup(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/tmpg6lt96a1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@open_devnull.fd = internal global i32 -1, align 4
@.str = private unnamed_addr constant [10 x i8] c"/dev/null\00", align 1
@O_RDWR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @open_devnull() #0 {
%1 = load i32, ptr @open_devnull.fd, align 4
%2 = icmp slt i32 %1, 0
br i1 %2, label %3, label %6
3: ; preds = %0
%4 = load i32, ptr @O_RDWR, align 4
%5 = call i32 @open(ptr noundef @.str, i32 noundef %4)
store i32 %5, ptr @open_devnull.fd, align 4
br label %6
6: ; preds = %3, %0
%7 = load i32, ptr @open_devnull.fd, align 4
%8 = call i32 @dup(i32 noundef %7)
ret i32 %8
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup(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/tmpqp6hkv9f.c'
source_filename = "/tmp/tmpqp6hkv9f.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getpid() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @syscall(i32 noundef 31, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 0, %7
store i32 %8, ptr @errno, align 4
store i32 -1, ptr %1, align 4
br label %11
9: ; preds = %0
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %1, align 4
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @syscall(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/tmpqp6hkv9f.c"
target datalayout = "e-m:e-p270: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
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getpid() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = call i32 @syscall(i32 noundef 31, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr %2, align 4
%8 = sub nsw i32 0, %7
store i32 %8, ptr @errno, align 4
store i32 -1, ptr %1, align 4
br label %11
9: ; preds = %0
%10 = load i32, ptr %2, align 4
store i32 %10, ptr %1, align 4
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @syscall(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/tmpbaxs9o2g.c'
source_filename = "/tmp/tmpbaxs9o2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip_color(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = add i64 %10, 2
%12 = call i64 @xmalloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %7, align 8
br label %14
14: ; preds = %72, %1
%15 = load i64, ptr %6, align 8
%16 = icmp ugt i64 %15, 0
br i1 %16, label %17, label %77
17: ; preds = %14
%18 = load i32, ptr %5, align 4
%19 = icmp eq i32 %18, 1
br i1 %19, label %20, label %29
20: ; preds = %17
%21 = load ptr, ptr %2, align 8
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = call i64 @isdigit(i32 noundef %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = load i32, ptr %3, align 4
%28 = icmp slt i32 %27, 2
br i1 %28, label %47, label %29
29: ; preds = %26, %20, %17
%30 = load i32, ptr %5, align 4
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %56
32: ; preds = %29
%33 = load ptr, ptr %2, align 8
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 44
br i1 %36, label %37, label %56
37: ; preds = %32
%38 = load ptr, ptr %2, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 1
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = call i64 @isdigit(i32 noundef %41)
%43 = icmp ne i64 %42, 0
br i1 %43, label %44, label %56
44: ; preds = %37
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %45, 3
br i1 %46, label %47, label %56
47: ; preds = %44, %26
%48 = load i32, ptr %3, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %3, align 4
%50 = load ptr, ptr %2, align 8
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 44
br i1 %53, label %54, label %55
54: ; preds = %47
store i32 0, ptr %3, align 4
br label %55
55: ; preds = %54, %47
br label %72
56: ; preds = %44, %37, %32, %29
store i32 0, ptr %5, align 4
%57 = load ptr, ptr %2, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
switch i32 %59, label %62 [
i32 3, label %60
i32 7, label %61
i32 15, label %61
i32 22, label %61
i32 2, label %61
i32 31, label %61
]
60: ; preds = %56
store i32 1, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %71
61: ; preds = %56, %56, %56, %56, %56
br label %71
62: ; preds = %56
%63 = load ptr, ptr %2, align 8
%64 = load i8, ptr %63, align 1
%65 = load ptr, ptr %7, align 8
%66 = load i32, ptr %4, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
store i8 %64, ptr %68, align 1
%69 = load i32, ptr %4, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %4, align 4
br label %71
71: ; preds = %62, %61, %60
br label %72
72: ; preds = %71, %55
%73 = load ptr, ptr %2, align 8
%74 = getelementptr inbounds i8, ptr %73, i32 1
store ptr %74, ptr %2, align 8
%75 = load i64, ptr %6, align 8
%76 = add i64 %75, -1
store i64 %76, ptr %6, align 8
br label %14, !llvm.loop !6
77: ; preds = %14
%78 = load ptr, ptr %7, align 8
%79 = load i32, ptr %4, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store i8 0, ptr %81, align 1
%82 = load ptr, ptr %7, align 8
ret ptr %82
}
declare i64 @strlen(ptr noundef) #1
declare i64 @xmalloc(i64 noundef) #1
declare i64 @isdigit(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/tmpbaxs9o2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strip_color(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load ptr, ptr %2, align 8
%9 = call i64 @strlen(ptr noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = add i64 %10, 2
%12 = call i64 @xmalloc(i64 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %7, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ugt i64 %14, 0
br i1 %15, label %.lr.ph, label %78
.lr.ph: ; preds = %1
br label %16
16: ; preds = %.lr.ph, %71
%17 = load i32, ptr %5, align 4
%18 = icmp eq i32 %17, 1
br i1 %18, label %19, label %28
19: ; preds = %16
%20 = load ptr, ptr %2, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = call i64 @isdigit(i32 noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %19
%26 = load i32, ptr %3, align 4
%27 = icmp slt i32 %26, 2
br i1 %27, label %46, label %28
28: ; preds = %25, %19, %16
%29 = load i32, ptr %5, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %55
31: ; preds = %28
%32 = load ptr, ptr %2, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 44
br i1 %35, label %36, label %55
36: ; preds = %31
%37 = load ptr, ptr %2, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = call i64 @isdigit(i32 noundef %40)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %55
43: ; preds = %36
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %44, 3
br i1 %45, label %46, label %55
46: ; preds = %43, %25
%47 = load i32, ptr %3, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %3, align 4
%49 = load ptr, ptr %2, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp eq i32 %51, 44
br i1 %52, label %53, label %54
53: ; preds = %46
store i32 0, ptr %3, align 4
br label %54
54: ; preds = %53, %46
br label %71
55: ; preds = %43, %36, %31, %28
store i32 0, ptr %5, align 4
%56 = load ptr, ptr %2, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
switch i32 %58, label %61 [
i32 3, label %59
i32 7, label %60
i32 15, label %60
i32 22, label %60
i32 2, label %60
i32 31, label %60
]
59: ; preds = %55
store i32 1, ptr %5, align 4
store i32 0, ptr %3, align 4
br label %70
60: ; preds = %55, %55, %55, %55, %55
br label %70
61: ; preds = %55
%62 = load ptr, ptr %2, align 8
%63 = load i8, ptr %62, align 1
%64 = load ptr, ptr %7, align 8
%65 = load i32, ptr %4, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i8, ptr %64, i64 %66
store i8 %63, ptr %67, align 1
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
br label %70
70: ; preds = %61, %60, %59
br label %71
71: ; preds = %70, %54
%72 = load ptr, ptr %2, align 8
%73 = getelementptr inbounds i8, ptr %72, i32 1
store ptr %73, ptr %2, align 8
%74 = load i64, ptr %6, align 8
%75 = add i64 %74, -1
store i64 %75, ptr %6, align 8
%76 = load i64, ptr %6, align 8
%77 = icmp ugt i64 %76, 0
br i1 %77, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %78
78: ; preds = %._crit_edge, %1
%79 = load ptr, ptr %7, align 8
%80 = load i32, ptr %4, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %7, align 8
ret ptr %83
}
declare i64 @strlen(ptr noundef) #1
declare i64 @xmalloc(i64 noundef) #1
declare i64 @isdigit(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/tmpbtqedgug.c'
source_filename = "/tmp/tmpbtqedgug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rt_clear(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %6, %1
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load ptr, ptr %2, align 8
%8 = call ptr @clear_entry(ptr noundef %7)
store ptr %8, ptr %2, align 8
br label %3, !llvm.loop !6
9: ; preds = %3
ret void
}
declare ptr @clear_entry(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpbtqedgug.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rt_clear(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %.lr.ph, label %10
.lr.ph: ; preds = %1
br label %5
5: ; preds = %.lr.ph, %5
%6 = load ptr, ptr %2, align 8
%7 = call ptr @clear_entry(ptr noundef %6)
store ptr %7, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %10
10: ; preds = %._crit_edge, %1
ret void
}
declare ptr @clear_entry(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpqywkzs7v.c'
source_filename = "/tmp/tmpqywkzs7v.c"
target datalayout = "e-m:e-p270: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/tmpqywkzs7v.c"
target datalayout = "e-m:e-p270: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/tmplli_w6y3.c'
source_filename = "/tmp/tmplli_w6y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scale_frequencies(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @maximum_double(ptr noundef %6, i32 noundef 26)
%8 = getelementptr inbounds double, ptr %5, i64 %7
%9 = load double, ptr %8, align 8
%10 = fdiv double 1.270200e+01, %9
store double %10, ptr %4, align 8
store i32 0, ptr %3, align 4
br label %11
11: ; preds = %22, %1
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %12, 26
br i1 %13, label %14, label %25
14: ; preds = %11
%15 = load double, ptr %4, align 8
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = fmul double %20, %15
store double %21, ptr %19, align 8
br label %22
22: ; preds = %14
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %11, !llvm.loop !6
25: ; preds = %11
ret void
}
declare i64 @maximum_double(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/tmplli_w6y3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scale_frequencies(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i64 @maximum_double(ptr noundef %6, i32 noundef 26)
%8 = getelementptr inbounds double, ptr %5, i64 %7
%9 = load double, ptr %8, align 8
%10 = fdiv double 1.270200e+01, %9
store double %10, ptr %4, align 8
store i32 0, ptr %3, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %11, 26
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %21
%14 = load double, ptr %4, align 8
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, ptr %15, i64 %17
%19 = load double, ptr %18, align 8
%20 = fmul double %19, %14
store double %20, ptr %18, align 8
br label %21
21: ; preds = %13
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 26
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %1
ret void
}
declare i64 @maximum_double(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/tmp_l9wfmti.c'
source_filename = "/tmp/tmp_l9wfmti.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_l9wfmti.c"
target datalayout = "e-m:e-p270: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/tmpl75ko72_.c'
source_filename = "/tmp/tmpl75ko72_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @two() #0 {
%1 = call i32 @write(ptr noundef @.str)
ret i32 2
}
declare i32 @write(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl75ko72_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"2\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @two() #0 {
%1 = call i32 @write(ptr noundef @.str)
ret i32 2
}
declare i32 @write(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgal4n7ur.c'
source_filename = "/tmp/tmpgal4n7ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"LAUNCHING THE (Q8_4_SUB) RESOURCE AUTOTEST...\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"- TEST OF THE (Q8_4_ADD) RESOURCE => FAILED !\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c" + %d COMPUTATION(s) BEFORE ERROR...\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" + OPERANDE 1 [%d]\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c" + OPERANDE 2 [%d]\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c" + ASM INSTR. [%d]\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c" + REF C CODE [%d]\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"- TEST OF THE (Q8_4_ADD) RESOURCE => OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Q8_4_ADD_AUTOTEST() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %41, %0
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %44
12: ; preds = %9
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 256
%15 = sub nsw i32 %14, 128
store i32 %15, ptr %4, align 4
%16 = call i32 (...) @rand()
%17 = srem i32 %16, 256
%18 = sub nsw i32 %17, 128
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = call i32 @instr_q84add(i32 noundef %19, i32 noundef %20)
store i32 %21, ptr %6, align 4
%22 = load i32, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 @prog_q84add(i32 noundef %22, i32 noundef %23)
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %6, align 4
%26 = load i32, ptr %7, align 4
%27 = icmp ne i32 %25, %26
br i1 %27, label %28, label %40
28: ; preds = %12
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%30 = load i32, ptr %3, align 4
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %30)
%32 = load i32, ptr %4, align 4
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %32)
%34 = load i32, ptr %5, align 4
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %34)
%36 = load i32, ptr %6, align 4
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36)
%38 = load i32, ptr %7, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %38)
store i32 0, ptr %1, align 4
br label %46
40: ; preds = %12
br label %41
41: ; preds = %40
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
br label %9, !llvm.loop !6
44: ; preds = %9
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %1, align 4
br label %46
46: ; preds = %44, %28
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
declare i32 @instr_q84add(i32 noundef, i32 noundef) #1
declare i32 @prog_q84add(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/tmpgal4n7ur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"LAUNCHING THE (Q8_4_SUB) RESOURCE AUTOTEST...\0A\00", align 1
@.str.1 = private unnamed_addr constant [47 x i8] c"- TEST OF THE (Q8_4_ADD) RESOURCE => FAILED !\0A\00", align 1
@.str.2 = private unnamed_addr constant [39 x i8] c" + %d COMPUTATION(s) BEFORE ERROR...\0A\00", align 1
@.str.3 = private unnamed_addr constant [21 x i8] c" + OPERANDE 1 [%d]\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c" + OPERANDE 2 [%d]\0A\00", align 1
@.str.5 = private unnamed_addr constant [21 x i8] c" + ASM INSTR. [%d]\0A\00", align 1
@.str.6 = private unnamed_addr constant [21 x i8] c" + REF C CODE [%d]\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"- TEST OF THE (Q8_4_ADD) RESOURCE => OK\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @Q8_4_ADD_AUTOTEST() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %9, 10
br i1 %10, label %.lr.ph, label %45
.lr.ph: ; preds = %0
br label %11
11: ; preds = %.lr.ph, %40
%12 = call i32 (...) @rand()
%13 = srem i32 %12, 256
%14 = sub nsw i32 %13, 128
store i32 %14, ptr %4, align 4
%15 = call i32 (...) @rand()
%16 = srem i32 %15, 256
%17 = sub nsw i32 %16, 128
store i32 %17, ptr %5, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %5, align 4
%20 = call i32 @instr_q84add(i32 noundef %18, i32 noundef %19)
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 @prog_q84add(i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %7, align 4
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %27, label %39
27: ; preds = %11
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%29 = load i32, ptr %3, align 4
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %29)
%31 = load i32, ptr %4, align 4
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31)
%33 = load i32, ptr %5, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %33)
%35 = load i32, ptr %6, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %35)
%37 = load i32, ptr %7, align 4
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %37)
store i32 0, ptr %1, align 4
br label %47
39: ; preds = %11
br label %40
40: ; preds = %39
%41 = load i32, ptr %3, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = icmp slt i32 %43, 10
br i1 %44, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %0
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 1, ptr %1, align 4
br label %47
47: ; preds = %45, %27
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @rand(...) #1
declare i32 @instr_q84add(i32 noundef, i32 noundef) #1
declare i32 @prog_q84add(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/tmpbr1k9vli.c'
source_filename = "/tmp/tmpbr1k9vli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_putchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @putchar(i32 noundef %3)
ret i32 %4
}
declare i32 @putchar(i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbr1k9vli.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: alwaysinline nounwind sspstrong uwtable
define weak dso_local i32 @softboundcets_putchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @putchar(i32 noundef %3)
ret i32 %4
}
declare i32 @putchar(i32 noundef) #1
attributes #0 = { alwaysinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw7mlegwa.c'
source_filename = "/tmp/tmpw7mlegwa.c"
target datalayout = "e-m:e-p270: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/tmpw7mlegwa.c"
target datalayout = "e-m:e-p270: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/tmpp3seq0_j.c'
source_filename = "/tmp/tmpp3seq0_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grt_overflow_error() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp3seq0_j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @grt_overflow_error() #0 {
%1 = call i32 (...) @abort() #2
unreachable
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe7ulvoif.c'
source_filename = "/tmp/tmpe7ulvoif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16
@.str = private unnamed_addr constant [7 x i8] c"Salman\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Shihab\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"David\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Shaisob\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Fahim\00", align 1
@__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16
@.str.5 = private unnamed_addr constant [17 x i8] c"Size of ages: %d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\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 [5 x i32], align 16
%7 = alloca [5 x ptr], align 16
%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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false)
store i32 5, ptr %8, align 4
store i32 4, ptr %9, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %9, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %13)
store i32 0, ptr %10, align 4
br label %15
15: ; preds = %29, %2
%16 = load i32, ptr %10, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %32
19: ; preds = %15
%20 = load i32, ptr %10, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %23, i32 noundef %27)
br label %29
29: ; preds = %19
%30 = load i32, ptr %10, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %10, align 4
br label %15, !llvm.loop !6
32: ; preds = %15
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%34 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %34, ptr %11, align 8
%35 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %35, ptr %12, align 8
store i32 0, ptr %10, align 4
br label %36
36: ; preds = %52, %32
%37 = load i32, ptr %10, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %40, label %55
40: ; preds = %36
%41 = load ptr, ptr %12, align 8
%42 = load i32, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds ptr, ptr %41, i64 %43
%45 = load ptr, ptr %44, align 8
%46 = load ptr, ptr %11, align 8
%47 = load i32, ptr %10, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
%50 = load i32, ptr %49, align 4
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %45, i32 noundef %50)
br label %52
52: ; preds = %40
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
br label %36, !llvm.loop !8
55: ; preds = %36
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 0, ptr %10, align 4
br label %57
57: ; preds = %73, %55
%58 = load i32, ptr %10, align 4
%59 = load i32, ptr %8, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %76
61: ; preds = %57
%62 = load ptr, ptr %12, align 8
%63 = load i32, ptr %10, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = load ptr, ptr %11, align 8
%68 = load i32, ptr %10, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
%71 = load i32, ptr %70, align 4
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %66, i32 noundef %71)
br label %73
73: ; preds = %61
%74 = load i32, ptr %10, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %10, align 4
br label %57, !llvm.loop !9
76: ; preds = %57
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%78 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %78, ptr %12, align 8
%79 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %79, ptr %11, align 8
br label %80
80: ; preds = %96, %76
%81 = load ptr, ptr %11, align 8
%82 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%83 = ptrtoint ptr %81 to i64
%84 = ptrtoint ptr %82 to i64
%85 = sub i64 %83, %84
%86 = sdiv exact i64 %85, 4
%87 = load i32, ptr %8, align 4
%88 = sext i32 %87 to i64
%89 = icmp slt i64 %86, %88
br i1 %89, label %90, label %101
90: ; preds = %80
%91 = load ptr, ptr %12, align 8
%92 = load ptr, ptr %91, align 8
%93 = load ptr, ptr %11, align 8
%94 = load i32, ptr %93, align 4
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %92, i32 noundef %94)
br label %96
96: ; preds = %90
%97 = load ptr, ptr %12, align 8
%98 = getelementptr inbounds ptr, ptr %97, i32 1
store ptr %98, ptr %12, align 8
%99 = load ptr, ptr %11, align 8
%100 = getelementptr inbounds i32, ptr %99, i32 1
store ptr %100, ptr %11, align 8
br label %80, !llvm.loop !10
101: ; preds = %80
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, ...) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe7ulvoif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.ages = private unnamed_addr constant [5 x i32] [i32 23, i32 43, i32 12, i32 89, i32 2], align 16
@.str = private unnamed_addr constant [7 x i8] c"Salman\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"Shihab\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"David\00", align 1
@.str.3 = private unnamed_addr constant [8 x i8] c"Shaisob\00", align 1
@.str.4 = private unnamed_addr constant [6 x i8] c"Fahim\00", align 1
@__const.main.names = private unnamed_addr constant [5 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4], align 16
@.str.5 = private unnamed_addr constant [17 x i8] c"Size of ages: %d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"%s has %d years alive.\0A\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c"---\0A\00", align 1
@.str.8 = private unnamed_addr constant [21 x i8] c"%s is %d years old.\0A\00", align 1
@.str.9 = private unnamed_addr constant [27 x i8] c"%s is %d years old again.\0A\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"%s lived %d years so far.\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 [5 x i32], align 16
%7 = alloca [5 x ptr], align 16
%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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.main.ages, i64 20, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.main.names, i64 40, i1 false)
store i32 5, ptr %8, align 4
store i32 4, ptr %9, align 4
store i32 0, ptr %10, align 4
%13 = load i32, ptr %9, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %13)
store i32 0, ptr %10, align 4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %8, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %34
.lr.ph: ; preds = %2
br label %18
18: ; preds = %.lr.ph, %28
%19 = load i32, ptr %10, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i32, ptr %10, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %22, i32 noundef %26)
br label %28
28: ; preds = %18
%29 = load i32, ptr %10, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %10, align 4
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %2
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%36 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %36, ptr %11, align 8
%37 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %37, ptr %12, align 8
store i32 0, ptr %10, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %.lr.ph2, label %59
.lr.ph2: ; preds = %34
br label %41
41: ; preds = %.lr.ph2, %53
%42 = load ptr, ptr %12, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %46, i32 noundef %51)
br label %53
53: ; preds = %41
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %10, align 4
%56 = load i32, ptr %10, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %41, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %59
59: ; preds = %._crit_edge3, %34
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
store i32 0, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = load i32, ptr %8, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph5, label %82
.lr.ph5: ; preds = %59
br label %64
64: ; preds = %.lr.ph5, %76
%65 = load ptr, ptr %12, align 8
%66 = load i32, ptr %10, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = load ptr, ptr %11, align 8
%71 = load i32, ptr %10, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %70, i64 %72
%74 = load i32, ptr %73, align 4
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %69, i32 noundef %74)
br label %76
76: ; preds = %64
%77 = load i32, ptr %10, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %10, align 4
%79 = load i32, ptr %10, align 4
%80 = load i32, ptr %8, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %76
br label %82
82: ; preds = %._crit_edge6, %59
%83 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%84 = getelementptr inbounds [5 x ptr], ptr %7, i64 0, i64 0
store ptr %84, ptr %12, align 8
%85 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
store ptr %85, ptr %11, align 8
%86 = load ptr, ptr %11, align 8
%87 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 0
%88 = ptrtoint ptr %86 to i64
%89 = ptrtoint ptr %87 to i64
%90 = sub i64 %88, %89
%91 = sdiv exact i64 %90, 4
%92 = load i32, ptr %8, align 4
%93 = sext i32 %92 to i64
%94 = icmp slt i64 %91, %93
br i1 %94, label %.lr.ph8, label %113
.lr.ph8: ; preds = %82
br label %95
95: ; preds = %.lr.ph8, %101
%96 = load ptr, ptr %12, align 8
%97 = load ptr, ptr %96, align 8
%98 = load ptr, ptr %11, align 8
%99 = load i32, ptr %98, align 4
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, ptr noundef %97, i32 noundef %99)
br label %101
101: ; preds = %95
%102 = load ptr, ptr %12, align 8
%103 = getelementptr inbounds ptr, ptr %102, i32 1
store ptr %103, ptr %12, align 8
%104 = load ptr, ptr %11, align 8
%105 = getelementptr inbounds i32, ptr %104, i32 1
store ptr %105, ptr %11, align 8
%106 = load ptr, ptr %11, align 8
%107 = ptrtoint ptr %106 to i64
%108 = sub i64 %107, %89
%109 = sdiv exact i64 %108, 4
%110 = load i32, ptr %8, align 4
%111 = sext i32 %110 to i64
%112 = icmp slt i64 %109, %111
br i1 %112, label %95, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %101
br label %113
113: ; preds = %._crit_edge9, %82
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, ...) #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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpw69smos2.c'
source_filename = "/tmp/tmpw69smos2.c"
target datalayout = "e-m:e-p270: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/tmpw69smos2.c"
target datalayout = "e-m:e-p270: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/tmpu8wxza27.c'
source_filename = "/tmp/tmpu8wxza27.c"
target datalayout = "e-m:e-p270: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/tmpu8wxza27.c"
target datalayout = "e-m:e-p270: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/tmpkcvualsx.c'
source_filename = "/tmp/tmpkcvualsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objpath_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
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/tmpkcvualsx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @objpath_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
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/tmp0xz0p5jk.c'
source_filename = "/tmp/tmp0xz0p5jk.c"
target datalayout = "e-m:e-p270: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/tmp0xz0p5jk.c"
target datalayout = "e-m:e-p270: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/tmpjxk4xf9g.c'
source_filename = "/tmp/tmpjxk4xf9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USB_StatusInStage() #0 {
%1 = call i32 @USB_WriteEP(i32 noundef 128, ptr noundef null, i32 noundef 0)
ret void
}
declare i32 @USB_WriteEP(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjxk4xf9g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @USB_StatusInStage() #0 {
%1 = call i32 @USB_WriteEP(i32 noundef 128, ptr noundef null, i32 noundef 0)
ret void
}
declare i32 @USB_WriteEP(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi51230nb.c'
source_filename = "/tmp/tmpi51230nb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fixup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %41, %1
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 128
br i1 %8, label %9, label %44
9: ; preds = %6
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %37, %9
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 128
br i1 %12, label %13, label %40
13: ; preds = %10
store i32 0, ptr %5, align 4
br label %14
14: ; preds = %33, %13
%15 = load i32, ptr %5, align 4
%16 = icmp slt i32 %15, 1
br i1 %16, label %17, label %36
17: ; preds = %14
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %5, align 4
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [132 x [1 x [9 x double]]], ptr %21, i64 %23
%25 = load i32, ptr %4, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [132 x [1 x [9 x double]]], ptr %24, i64 0, i64 %26
%28 = load i32, ptr %5, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [1 x [9 x double]], ptr %27, i64 0, i64 %29
%31 = getelementptr inbounds [9 x double], ptr %30, i64 0, i64 0
%32 = call i32 @fixup1zone(i32 noundef %18, i32 noundef %19, i32 noundef %20, ptr noundef %31)
br label %33
33: ; preds = %17
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %14, !llvm.loop !6
36: ; preds = %14
br label %37
37: ; preds = %36
%38 = load i32, ptr %4, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %4, align 4
br label %10, !llvm.loop !8
40: ; preds = %10
br label %41
41: ; preds = %40
%42 = load i32, ptr %3, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %3, align 4
br label %6, !llvm.loop !9
44: ; preds = %6
ret void
}
declare i32 @fixup1zone(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpi51230nb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fixup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp slt i32 %6, 128
br i1 %7, label %.lr.ph5, label %47
.lr.ph5: ; preds = %1
br label %8
8: ; preds = %.lr.ph5, %42
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 128
br i1 %10, label %.lr.ph2, label %41
.lr.ph2: ; preds = %8
br label %11
11: ; preds = %.lr.ph2, %36
store i32 0, ptr %5, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %12, 1
br i1 %13, label %.lr.ph, label %35
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %30
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %5, align 4
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [132 x [1 x [9 x double]]], ptr %18, i64 %20
%22 = load i32, ptr %4, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds [132 x [1 x [9 x double]]], ptr %21, i64 0, i64 %23
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [1 x [9 x double]], ptr %24, i64 0, i64 %26
%28 = getelementptr inbounds [9 x double], ptr %27, i64 0, i64 0
%29 = call i32 @fixup1zone(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %28)
br label %30
30: ; preds = %14
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp slt i32 %33, 1
br i1 %34, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %11
br label %36
36: ; preds = %35
%37 = load i32, ptr %4, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %4, align 4
%40 = icmp slt i32 %39, 128
br i1 %40, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %41
41: ; preds = %._crit_edge3, %8
br label %42
42: ; preds = %41
%43 = load i32, ptr %3, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = icmp slt i32 %45, 128
br i1 %46, label %8, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %42
br label %47
47: ; preds = %._crit_edge6, %1
ret void
}
declare i32 @fixup1zone(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpwsq34xe_.c'
source_filename = "/tmp/tmpwsq34xe_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 10
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 1, ptr %3, align 4
br label %10
9: ; preds = %0
store i32 1, ptr %4, align 4
br label %10
10: ; preds = %9, %8
br label %11
11: ; preds = %15, %10
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp eq i32 %12, %13
br i1 %14, label %15, label %16
15: ; preds = %11
br label %11, !llvm.loop !6
16: ; preds = %11
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwsq34xe_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
%5 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %5, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 10
br i1 %7, label %8, label %9
8: ; preds = %0
store i32 1, ptr %3, align 4
br label %10
9: ; preds = %0
store i32 1, ptr %4, align 4
br label %10
10: ; preds = %9, %8
br label %11
11: ; preds = %10
ret i32 0
}
declare i32 @__VERIFIER_nondet_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprvraeadj.c'
source_filename = "/tmp/tmprvraeadj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @testBitmap()
ret i32 0
}
declare i32 @testBitmap(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprvraeadj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @testBitmap()
ret i32 0
}
declare i32 @testBitmap(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb5kgfzdu.c'
source_filename = "/tmp/tmpb5kgfzdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_target_next_class(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @path_target_find(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = call ptr @path_target_find_next(ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare i32 @path_target_find(ptr noundef) #1
declare ptr @path_target_find_next(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/tmpb5kgfzdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @path_target_next_class(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @path_target_find(ptr noundef %6)
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = call ptr @path_target_find_next(ptr noundef %8, i32 noundef %9)
ret ptr %10
}
declare i32 @path_target_find(ptr noundef) #1
declare ptr @path_target_find_next(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/tmp5mc0qelh.c'
source_filename = "/tmp/tmp5mc0qelh.c"
target datalayout = "e-m:e-p270: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/tmp5mc0qelh.c"
target datalayout = "e-m:e-p270: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/tmpfs1f2f03.c'
source_filename = "/tmp/tmpfs1f2f03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zlPush() #0 {
%1 = call i32 (...) @glPushMatrix()
ret void
}
declare i32 @glPushMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfs1f2f03.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @zlPush() #0 {
%1 = call i32 (...) @glPushMatrix()
ret void
}
declare i32 @glPushMatrix(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_bkitibm.c'
source_filename = "/tmp/tmp_bkitibm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_CUR = 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_bkitibm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_RDONLY = dso_local global i32 0, align 4
@SEEK_CUR = 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/tmpaiu43g93.c'
source_filename = "/tmp/tmpaiu43g93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @mystrcmp(ptr noundef %5, ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
ret i32 0
}
declare i32 @mystrcmp(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/tmpaiu43g93.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello\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 ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store ptr @.str, ptr %2, align 8
store ptr @.str, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @mystrcmp(ptr noundef %5, ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8)
ret i32 0
}
declare i32 @mystrcmp(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/tmpc9l0za0o.c'
source_filename = "/tmp/tmpc9l0za0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
%3 = call i32 (...) @do_program()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @do_program(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc9l0za0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @init()
%3 = call i32 (...) @do_program()
ret i32 0
}
declare i32 @init(...) #1
declare i32 @do_program(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg3ituodf.c'
source_filename = "/tmp/tmpg3ituodf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"NOT IMPLEMENTED:pa_context_exit_daemon\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_exit_daemon() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpg3ituodf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [40 x i8] c"NOT IMPLEMENTED:pa_context_exit_daemon\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pa_context_exit_daemon() #0 {
%1 = alloca i32, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = load i32, ptr %1, align 4
ret i32 %3
}
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/tmpya6xep5e.c'
source_filename = "/tmp/tmpya6xep5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iscsymf(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__iscsymf(i32 noundef %3)
ret i32 %4
}
declare i32 @__iscsymf(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/tmpya6xep5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iscsymf(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @__iscsymf(i32 noundef %3)
ret i32 %4
}
declare i32 @__iscsymf(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/tmpzta9gzal.c'
source_filename = "/tmp/tmpzta9gzal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"error creating directory: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"chmod(%s): %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"path exists but not a directory:%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"file error(%s): %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eslib_file_mkdirpath(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [2048 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i64 @eslib_file_path_check(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %111
13: ; preds = %2
%14 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 2048)
store i32 1, ptr %6, align 4
br label %16
16: ; preds = %107, %13
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 2047
br i1 %18, label %19, label %110
19: ; preds = %16
br label %20
20: ; preds = %40, %19
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 2047
br i1 %22, label %23, label %43
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %6, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 47
br i1 %30, label %39, label %31
31: ; preds = %23
%32 = load ptr, ptr %4, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i8, ptr %32, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %40
39: ; preds = %31, %23
br label %43
40: ; preds = %31
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %20, !llvm.loop !6
43: ; preds = %39, %20
%44 = load i32, ptr %6, align 4
%45 = icmp sge i32 %44, 2047
br i1 %45, label %46, label %47
46: ; preds = %43
br label %110
47: ; preds = %43
%48 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = call i32 @strncpy(ptr noundef %48, ptr noundef %49, i64 noundef %51)
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 %54
store i8 0, ptr %55, align 1
%56 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%57 = call i32 @eslib_file_exists(ptr noundef %56)
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %80
60: ; preds = %47
%61 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%62 = load i32, ptr %5, align 4
%63 = call i32 @mkdir(ptr noundef %61, i32 noundef %62)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %69
65: ; preds = %60
%66 = load i32, ptr @errno, align 4
%67 = call ptr @strerror(i32 noundef %66)
%68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %67)
store i32 -1, ptr %3, align 4
br label %111
69: ; preds = %60
%70 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%71 = load i32, ptr %5, align 4
%72 = call i64 @chmod(ptr noundef %70, i32 noundef %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %79
74: ; preds = %69
%75 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%76 = load i32, ptr @errno, align 4
%77 = call ptr @strerror(i32 noundef %76)
%78 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %75, ptr noundef %77)
store i32 -1, ptr %3, align 4
br label %111
79: ; preds = %69
br label %97
80: ; preds = %47
%81 = load i32, ptr %8, align 4
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %91
83: ; preds = %80
%84 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%85 = call i32 @eslib_file_isdir(ptr noundef %84)
%86 = icmp ne i32 %85, 1
br i1 %86, label %87, label %90
87: ; preds = %83
%88 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%89 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %88)
store i32 -1, ptr %3, align 4
br label %111
90: ; preds = %83
br label %96
91: ; preds = %80
%92 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%93 = load i32, ptr @errno, align 4
%94 = call ptr @strerror(i32 noundef %93)
%95 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %92, ptr noundef %94)
store i32 -1, ptr %3, align 4
br label %111
96: ; preds = %90
br label %97
97: ; preds = %96, %79
%98 = load ptr, ptr %4, align 8
%99 = load i32, ptr %6, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %97
br label %110
106: ; preds = %97
br label %107
107: ; preds = %106
%108 = load i32, ptr %6, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %6, align 4
br label %16, !llvm.loop !8
110: ; preds = %105, %46, %16
store i32 0, ptr %3, align 4
br label %111
111: ; preds = %110, %91, %87, %74, %65, %12
%112 = load i32, ptr %3, align 4
ret i32 %112
}
declare i64 @eslib_file_path_check(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @eslib_file_exists(ptr noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @chmod(ptr noundef, i32 noundef) #1
declare i32 @eslib_file_isdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpzta9gzal.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"error creating directory: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"chmod(%s): %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [36 x i8] c"path exists but not a directory:%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"file error(%s): %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @eslib_file_mkdirpath(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [2048 x i8], align 16
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i64 @eslib_file_path_check(ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i32 -1, ptr %3, align 4
br label %113
13: ; preds = %2
%14 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%15 = call i32 @memset(ptr noundef %14, i32 noundef 0, i32 noundef 2048)
store i32 1, ptr %6, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp slt i32 %16, 2047
br i1 %17, label %.lr.ph2, label %.loopexit1
.lr.ph2: ; preds = %13
br label %18
18: ; preds = %.lr.ph2, %107
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %19, 2047
br i1 %20, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %38
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 47
br i1 %28, label %37, label %29
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %29, %21
br label %43
38: ; preds = %29
%39 = load i32, ptr %6, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %41, 2047
br i1 %42, label %21, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %18
br label %43
43: ; preds = %.loopexit, %37
%44 = load i32, ptr %6, align 4
%45 = icmp sge i32 %44, 2047
br i1 %45, label %46, label %47
46: ; preds = %43
br label %112
47: ; preds = %43
%48 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%49 = load ptr, ptr %4, align 8
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = call i32 @strncpy(ptr noundef %48, ptr noundef %49, i64 noundef %51)
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 %54
store i8 0, ptr %55, align 1
%56 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%57 = call i32 @eslib_file_exists(ptr noundef %56)
store i32 %57, ptr %8, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp eq i32 %58, 0
br i1 %59, label %60, label %80
60: ; preds = %47
%61 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%62 = load i32, ptr %5, align 4
%63 = call i32 @mkdir(ptr noundef %61, i32 noundef %62)
%64 = icmp eq i32 %63, -1
br i1 %64, label %65, label %69
65: ; preds = %60
%66 = load i32, ptr @errno, align 4
%67 = call ptr @strerror(i32 noundef %66)
%68 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %67)
store i32 -1, ptr %3, align 4
br label %113
69: ; preds = %60
%70 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%71 = load i32, ptr %5, align 4
%72 = call i64 @chmod(ptr noundef %70, i32 noundef %71)
%73 = icmp ne i64 %72, 0
br i1 %73, label %74, label %79
74: ; preds = %69
%75 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%76 = load i32, ptr @errno, align 4
%77 = call ptr @strerror(i32 noundef %76)
%78 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %75, ptr noundef %77)
store i32 -1, ptr %3, align 4
br label %113
79: ; preds = %69
br label %97
80: ; preds = %47
%81 = load i32, ptr %8, align 4
%82 = icmp eq i32 %81, 1
br i1 %82, label %83, label %91
83: ; preds = %80
%84 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%85 = call i32 @eslib_file_isdir(ptr noundef %84)
%86 = icmp ne i32 %85, 1
br i1 %86, label %87, label %90
87: ; preds = %83
%88 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%89 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %88)
store i32 -1, ptr %3, align 4
br label %113
90: ; preds = %83
br label %96
91: ; preds = %80
%92 = getelementptr inbounds [2048 x i8], ptr %7, i64 0, i64 0
%93 = load i32, ptr @errno, align 4
%94 = call ptr @strerror(i32 noundef %93)
%95 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %92, ptr noundef %94)
store i32 -1, ptr %3, align 4
br label %113
96: ; preds = %90
br label %97
97: ; preds = %96, %79
%98 = load ptr, ptr %4, align 8
%99 = load i32, ptr %6, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i8, ptr %98, i64 %100
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = icmp eq i32 %103, 0
br i1 %104, label %105, label %106
105: ; preds = %97
br label %112
106: ; preds = %97
br label %107
107: ; preds = %106
%108 = load i32, ptr %6, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %6, align 4
%110 = load i32, ptr %6, align 4
%111 = icmp slt i32 %110, 2047
br i1 %111, label %18, label %..loopexit1_crit_edge, !llvm.loop !8
..loopexit1_crit_edge: ; preds = %107
br label %.loopexit1
.loopexit1: ; preds = %..loopexit1_crit_edge, %13
br label %112
112: ; preds = %.loopexit1, %105, %46
store i32 0, ptr %3, align 4
br label %113
113: ; preds = %112, %91, %87, %74, %65, %12
%114 = load i32, ptr %3, align 4
ret i32 %114
}
declare i64 @eslib_file_path_check(ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @eslib_file_exists(ptr noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
declare ptr @strerror(i32 noundef) #1
declare i64 @chmod(ptr noundef, i32 noundef) #1
declare i32 @eslib_file_isdir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmp05rokuzu.c'
source_filename = "/tmp/tmp05rokuzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"%lis%09li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @flu_ts_to_s(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%7 = call ptr @calloc(i32 noundef 32, i32 noundef 1)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i32 @snprintf(ptr noundef %8, i32 noundef 20, ptr noundef @.str, i32 noundef %11, i32 noundef %14)
store i32 -1, ptr %6, align 4
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 115
br i1 %18, label %19, label %20
19: ; preds = %2
store i32 0, ptr %6, align 4
br label %32
20: ; preds = %2
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 109
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 3, ptr %6, align 4
br label %31
25: ; preds = %20
%26 = load i8, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 117
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 6, ptr %6, align 4
br label %30
30: ; preds = %29, %25
br label %31
31: ; preds = %30, %24
br label %32
32: ; preds = %31, %19
%33 = load i32, ptr %6, align 4
%34 = icmp sgt i32 %33, -1
br i1 %34, label %35, label %42
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = call ptr @strchr(ptr noundef %36, i8 noundef signext 115)
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 0, ptr %41, align 1
br label %42
42: ; preds = %35, %32
%43 = load ptr, ptr %5, align 8
ret ptr %43
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 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/tmp05rokuzu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i32 }
@.str = private unnamed_addr constant [10 x i8] c"%lis%09li\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @flu_ts_to_s(ptr noundef %0, i8 noundef signext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i8, align 1
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i8 %1, ptr %4, align 1
%7 = call ptr @calloc(i32 noundef 32, i32 noundef 1)
store ptr %7, ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load ptr, ptr %3, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1
%11 = load i32, ptr %10, align 4
%12 = load ptr, ptr %3, align 8
%13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = call i32 @snprintf(ptr noundef %8, i32 noundef 20, ptr noundef @.str, i32 noundef %11, i32 noundef %14)
store i32 -1, ptr %6, align 4
%16 = load i8, ptr %4, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 115
br i1 %18, label %19, label %20
19: ; preds = %2
store i32 0, ptr %6, align 4
br label %32
20: ; preds = %2
%21 = load i8, ptr %4, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 109
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 3, ptr %6, align 4
br label %31
25: ; preds = %20
%26 = load i8, ptr %4, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %27, 117
br i1 %28, label %29, label %30
29: ; preds = %25
store i32 6, ptr %6, align 4
br label %30
30: ; preds = %29, %25
br label %31
31: ; preds = %30, %24
br label %32
32: ; preds = %31, %19
%33 = load i32, ptr %6, align 4
%34 = icmp sgt i32 %33, -1
br i1 %34, label %35, label %42
35: ; preds = %32
%36 = load ptr, ptr %5, align 8
%37 = call ptr @strchr(ptr noundef %36, i8 noundef signext 115)
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
store i8 0, ptr %41, align 1
br label %42
42: ; preds = %35, %32
%43 = load ptr, ptr %5, align 8
ret ptr %43
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 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/tmpmgg1mku6.c'
source_filename = "/tmp/tmpmgg1mku6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"skipped\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmgg1mku6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"skipped\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpymzrssks.c'
source_filename = "/tmp/tmpymzrssks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 @malloc(i32 noundef 4)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store i32 44, ptr %5, align 4
ret void
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpymzrssks.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f1(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i64 @malloc(i32 noundef 4)
%4 = inttoptr i64 %3 to ptr
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
store i32 44, ptr %5, align 4
ret void
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpndbu3jgu.c'
source_filename = "/tmp/tmpndbu3jgu.c"
target datalayout = "e-m:e-p270: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/tmpndbu3jgu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.