llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpsbcxzw38.c'
source_filename = "/tmp/tmpsbcxzw38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\0AERROR CODE: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %16
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 100
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp sgt i32 %9, 100
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = call i32 @exit(i32 noundef 8) #3
unreachable
15: ; preds = %8
br label %16
16: ; preds = %15, %5, %1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsbcxzw38.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"\0AERROR CODE: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @errors(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp ne i32 %3, 0
br i1 %4, label %5, label %16
5: ; preds = %1
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 100
br i1 %7, label %8, label %16
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = icmp sgt i32 %9, 100
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %2, align 4
%13 = call i32 @printf(ptr noundef @.str, i32 noundef %12)
%14 = call i32 @exit(i32 noundef 8) #3
unreachable
15: ; preds = %8
br label %16
16: ; preds = %15, %5, %1
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqt9578va.c'
source_filename = "/tmp/tmpqt9578va.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This copy of gnuplot cannot read png/gif/jpeg images\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gd_filetype_function(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @int_error(i32 noundef -1, ptr noundef @.str)
ret void
}
declare i32 @int_error(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/tmpqt9578va.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"This copy of gnuplot cannot read png/gif/jpeg images\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @gd_filetype_function(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @int_error(i32 noundef -1, ptr noundef @.str)
ret void
}
declare i32 @int_error(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/tmp21v5_p8z.c'
source_filename = "/tmp/tmp21v5_p8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @lib_func()
ret i32 %6
}
declare i32 @lib_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp21v5_p8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @lib_func()
ret i32 %6
}
declare i32 @lib_func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9dx5b0it.c'
source_filename = "/tmp/tmp9dx5b0it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @focus_add(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 @focus_override_translations(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @focus_put(i32 noundef %5)
ret void
}
declare i32 @focus_override_translations(i32 noundef) #1
declare i32 @focus_put(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/tmp9dx5b0it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @focus_add(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 @focus_override_translations(i32 noundef %3)
%5 = load i32, ptr %2, align 4
%6 = call i32 @focus_put(i32 noundef %5)
ret void
}
declare i32 @focus_override_translations(i32 noundef) #1
declare i32 @focus_put(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/tmp3beae3x7.c'
source_filename = "/tmp/tmp3beae3x7.c"
target datalayout = "e-m:e-p270: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/tmp3beae3x7.c"
target datalayout = "e-m:e-p270: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/tmp9er8r9vy.c'
source_filename = "/tmp/tmp9er8r9vy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"--- Too many parameters ---\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_too_many_parameters() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9er8r9vy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"--- Too many parameters ---\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_too_many_parameters() #0 {
%1 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp56hwxcbu.c'
source_filename = "/tmp/tmp56hwxcbu.c"
target datalayout = "e-m:e-p270: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/tmp56hwxcbu.c"
target datalayout = "e-m:e-p270: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/tmppkrofrta.c'
source_filename = "/tmp/tmppkrofrta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_xor255_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = xor i32 %15, 255
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppkrofrta.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @vlogical_imm_xor255_int32_t(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = xor i32 %14, 255
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpacbo3_ra.c'
source_filename = "/tmp/tmpacbo3_ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pinMode(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @write_block(i32 noundef 5, i32 noundef %5, i32 noundef %6, i32 noundef 0)
ret i32 %7
}
declare i32 @write_block(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/tmpacbo3_ra.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pinMode(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @write_block(i32 noundef 5, i32 noundef %5, i32 noundef %6, i32 noundef 0)
ret i32 %7
}
declare i32 @write_block(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/tmpbys58c0w.c'
source_filename = "/tmp/tmpbys58c0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"{status %u}\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"{end}\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"{key %u}\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"fwrite\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"{value %u}\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zipmapRepr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = zext i8 %7 to i32
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
br label %10
10: ; preds = %1, %86
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 0
%13 = load i8, ptr %12, align 1
%14 = zext i8 %13 to i32
%15 = icmp eq i32 %14, 255
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %87
18: ; preds = %10
%19 = load ptr, ptr %2, align 8
%20 = call i32 @zipmapDecodeLength(ptr noundef %19)
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = call i32 @zipmapEncodeLength(ptr noundef null, i32 noundef %23)
%25 = load ptr, ptr %2, align 8
%26 = sext i32 %24 to i64
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store ptr %27, ptr %2, align 8
%28 = load i32, ptr %3, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %38
30: ; preds = %18
%31 = load ptr, ptr %2, align 8
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr @stdout, align 4
%34 = call i64 @fwrite(ptr noundef %31, i32 noundef %32, i32 noundef 1, i32 noundef %33)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %30
%37 = call i32 @perror(ptr noundef @.str.3)
br label %38
38: ; preds = %36, %30, %18
%39 = load i32, ptr %3, align 4
%40 = load ptr, ptr %2, align 8
%41 = zext i32 %39 to i64
%42 = getelementptr inbounds i8, ptr %40, i64 %41
store ptr %42, ptr %2, align 8
%43 = load ptr, ptr %2, align 8
%44 = call i32 @zipmapDecodeLength(ptr noundef %43)
store i32 %44, ptr %3, align 4
%45 = load i32, ptr %3, align 4
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45)
%47 = load i32, ptr %3, align 4
%48 = call i32 @zipmapEncodeLength(ptr noundef null, i32 noundef %47)
%49 = load ptr, ptr %2, align 8
%50 = sext i32 %48 to i64
%51 = getelementptr inbounds i8, ptr %49, i64 %50
store ptr %51, ptr %2, align 8
%52 = load ptr, ptr %2, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %2, align 8
%54 = load i8, ptr %52, align 1
store i8 %54, ptr %4, align 1
%55 = load i32, ptr %3, align 4
%56 = icmp ne i32 %55, 0
br i1 %56, label %57, label %65
57: ; preds = %38
%58 = load ptr, ptr %2, align 8
%59 = load i32, ptr %3, align 4
%60 = load i32, ptr @stdout, align 4
%61 = call i64 @fwrite(ptr noundef %58, i32 noundef %59, i32 noundef 1, i32 noundef %60)
%62 = icmp eq i64 %61, 0
br i1 %62, label %63, label %65
63: ; preds = %57
%64 = call i32 @perror(ptr noundef @.str.3)
br label %65
65: ; preds = %63, %57, %38
%66 = load i32, ptr %3, align 4
%67 = load i8, ptr %4, align 1
%68 = zext i8 %67 to i32
%69 = add i32 %66, %68
%70 = load ptr, ptr %2, align 8
%71 = zext i32 %69 to i64
%72 = getelementptr inbounds i8, ptr %70, i64 %71
store ptr %72, ptr %2, align 8
%73 = load i8, ptr %4, align 1
%74 = icmp ne i8 %73, 0
br i1 %74, label %75, label %85
75: ; preds = %65
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
br label %77
77: ; preds = %81, %75
%78 = load i8, ptr %4, align 1
%79 = add i8 %78, -1
store i8 %79, ptr %4, align 1
%80 = icmp ne i8 %78, 0
br i1 %80, label %81, label %83
81: ; preds = %77
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
br label %77, !llvm.loop !6
83: ; preds = %77
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %85
85: ; preds = %83, %65
br label %86
86: ; preds = %85
br label %10
87: ; preds = %16
%88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @zipmapDecodeLength(ptr noundef) #1
declare i32 @zipmapEncodeLength(ptr noundef, i32 noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbys58c0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"{status %u}\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"{end}\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"{key %u}\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [7 x i8] c"fwrite\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"{value %u}\00", align 1
@.str.5 = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"]\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @zipmapRepr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i8, ptr %5, i32 1
store ptr %6, ptr %2, align 8
%7 = load i8, ptr %5, align 1
%8 = zext i8 %7 to i32
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %8)
%10 = load ptr, ptr %2, align 8
%11 = load i8, ptr %10, align 1
%12 = zext i8 %11 to i32
%13 = icmp eq i32 %12, 255
br i1 %13, label %14, label %.lr.ph2
.lr.ph2: ; preds = %1
br label %16
._crit_edge3: ; preds = %86
br label %14
14: ; preds = %._crit_edge3, %1
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %92
16: ; preds = %.lr.ph2, %86
%17 = load ptr, ptr %2, align 8
%18 = call i32 @zipmapDecodeLength(ptr noundef %17)
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19)
%21 = load i32, ptr %3, align 4
%22 = call i32 @zipmapEncodeLength(ptr noundef null, i32 noundef %21)
%23 = load ptr, ptr %2, align 8
%24 = sext i32 %22 to i64
%25 = getelementptr inbounds i8, ptr %23, i64 %24
store ptr %25, ptr %2, align 8
%26 = load i32, ptr %3, align 4
%27 = icmp ne i32 %26, 0
br i1 %27, label %28, label %36
28: ; preds = %16
%29 = load ptr, ptr %2, align 8
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr @stdout, align 4
%32 = call i64 @fwrite(ptr noundef %29, i32 noundef %30, i32 noundef 1, i32 noundef %31)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %36
34: ; preds = %28
%35 = call i32 @perror(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %28, %16
%37 = load i32, ptr %3, align 4
%38 = load ptr, ptr %2, align 8
%39 = zext i32 %37 to i64
%40 = getelementptr inbounds i8, ptr %38, i64 %39
store ptr %40, ptr %2, align 8
%41 = load ptr, ptr %2, align 8
%42 = call i32 @zipmapDecodeLength(ptr noundef %41)
store i32 %42, ptr %3, align 4
%43 = load i32, ptr %3, align 4
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %43)
%45 = load i32, ptr %3, align 4
%46 = call i32 @zipmapEncodeLength(ptr noundef null, i32 noundef %45)
%47 = load ptr, ptr %2, align 8
%48 = sext i32 %46 to i64
%49 = getelementptr inbounds i8, ptr %47, i64 %48
store ptr %49, ptr %2, align 8
%50 = load ptr, ptr %2, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %2, align 8
%52 = load i8, ptr %50, align 1
store i8 %52, ptr %4, align 1
%53 = load i32, ptr %3, align 4
%54 = icmp ne i32 %53, 0
br i1 %54, label %55, label %63
55: ; preds = %36
%56 = load ptr, ptr %2, align 8
%57 = load i32, ptr %3, align 4
%58 = load i32, ptr @stdout, align 4
%59 = call i64 @fwrite(ptr noundef %56, i32 noundef %57, i32 noundef 1, i32 noundef %58)
%60 = icmp eq i64 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %55
%62 = call i32 @perror(ptr noundef @.str.3)
br label %63
63: ; preds = %61, %55, %36
%64 = load i32, ptr %3, align 4
%65 = load i8, ptr %4, align 1
%66 = zext i8 %65 to i32
%67 = add i32 %64, %66
%68 = load ptr, ptr %2, align 8
%69 = zext i32 %67 to i64
%70 = getelementptr inbounds i8, ptr %68, i64 %69
store ptr %70, ptr %2, align 8
%71 = load i8, ptr %4, align 1
%72 = icmp ne i8 %71, 0
br i1 %72, label %73, label %85
73: ; preds = %63
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%75 = load i8, ptr %4, align 1
%76 = add i8 %75, -1
store i8 %76, ptr %4, align 1
%77 = icmp ne i8 %75, 0
br i1 %77, label %.lr.ph, label %83
.lr.ph: ; preds = %73
br label %78
78: ; preds = %.lr.ph, %78
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%80 = load i8, ptr %4, align 1
%81 = add i8 %80, -1
store i8 %81, ptr %4, align 1
%82 = icmp ne i8 %80, 0
br i1 %82, label %78, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %78
br label %83
83: ; preds = %._crit_edge, %73
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %85
85: ; preds = %83, %63
br label %86
86: ; preds = %85
%87 = load ptr, ptr %2, align 8
%88 = getelementptr inbounds i8, ptr %87, i64 0
%89 = load i8, ptr %88, align 1
%90 = zext i8 %89 to i32
%91 = icmp eq i32 %90, 255
br i1 %91, label %._crit_edge3, label %16
92: ; preds = %14
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @zipmapDecodeLength(ptr noundef) #1
declare i32 @zipmapEncodeLength(ptr noundef, i32 noundef) #1
declare i64 @fwrite(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfd51_n63.c'
source_filename = "/tmp/tmpfd51_n63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ntohll(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
%5 = load i32, ptr %2, align 4
%6 = and i32 %5, -1
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = ashr i32 %7, 32
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @ntohl(i32 noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @ntohl(i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = shl i32 %13, 32
%15 = load i32, ptr %4, align 4
%16 = or i32 %14, %15
ret i32 %16
}
declare i32 @ntohl(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/tmpfd51_n63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ntohll(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
%5 = load i32, ptr %2, align 4
%6 = and i32 %5, -1
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = ashr i32 %7, 32
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @ntohl(i32 noundef %9)
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @ntohl(i32 noundef %11)
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %3, align 4
%14 = shl i32 %13, 32
%15 = load i32, ptr %4, align 4
%16 = or i32 %14, %15
ret i32 %16
}
declare i32 @ntohl(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/tmp9b409it4.c'
source_filename = "/tmp/tmp9b409it4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @runner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 24, i1 false)
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %1, %6
%7 = load ptr, ptr %4, align 8
%8 = call i32 @run_timers(ptr noundef %7)
%9 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
store i32 1, ptr %9, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
store i64 0, ptr %10, align 8
%11 = call i32 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3)
br label %6
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @run_timers(ptr noundef) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9b409it4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @runner(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 24, i1 false)
%5 = load ptr, ptr %2, align 8
store ptr %5, ptr %4, align 8
br label %6
6: ; preds = %6, %1
%7 = load ptr, ptr %4, align 8
%8 = call i32 @run_timers(ptr noundef %7)
%9 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
store i32 1, ptr %9, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
store i64 0, ptr %10, align 8
%11 = call i32 @select(i32 noundef 0, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef %3)
br label %6
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @run_timers(ptr noundef) #2
declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoc465xv9.c'
source_filename = "/tmp/tmpoc465xv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sasha ma bea!\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/tmpoc465xv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sasha ma bea!\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/tmpn_p9cncp.c'
source_filename = "/tmp/tmpn_p9cncp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [128 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca [128 x i8], align 16
%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
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %7, align 8
store i32 128, ptr %9, align 4
store i32 128, ptr %11, align 4
store i32 1, ptr %12, align 4
%19 = load i32, ptr %4, align 4
switch i32 %19, label %60 [
i32 3, label %20
i32 6, label %24
i32 5, label %34
]
20: ; preds = %2
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @do_sendfile(ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %3, align 4
br label %64
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 5
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 49
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 1, i32 0
store i32 %33, ptr %12, align 4
br label %34
34: ; preds = %2, %24
%35 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 3
%38 = load ptr, ptr %37, align 8
%39 = call i32 @parse_hex(ptr noundef %35, ptr noundef %9, ptr noundef %38)
%40 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 4
%43 = load ptr, ptr %42, align 8
%44 = call i32 @parse_hex(ptr noundef %40, ptr noundef %11, ptr noundef %43)
%45 = load i32, ptr %9, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %50, label %47
47: ; preds = %34
%48 = load i32, ptr %11, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %47, %34
store i32 -1, ptr %3, align 4
br label %64
51: ; preds = %47
%52 = load ptr, ptr %7, align 8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%55 = load i32, ptr %9, align 4
%56 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %12, align 4
%59 = call i32 @do_sendfile_aes(ptr noundef %52, ptr noundef %53, ptr noundef %54, i32 noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef %58)
store i32 %59, ptr %3, align 4
br label %64
60: ; preds = %2
%61 = load i32, ptr %4, align 4
%62 = load ptr, ptr %5, align 8
%63 = call i32 @print_help(i32 noundef %61, ptr noundef %62)
store i32 %63, ptr %3, align 4
br label %64
64: ; preds = %60, %51, %50, %20
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @do_sendfile(ptr noundef, ptr noundef) #1
declare i32 @parse_hex(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @do_sendfile_aes(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @print_help(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn_p9cncp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [128 x i8], align 16
%9 = alloca i32, align 4
%10 = alloca [128 x i8], align 16
%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
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
store ptr %18, ptr %7, align 8
store i32 128, ptr %9, align 4
store i32 128, ptr %11, align 4
store i32 1, ptr %12, align 4
%19 = load i32, ptr %4, align 4
switch i32 %19, label %60 [
i32 3, label %20
i32 6, label %24
i32 5, label %34
]
20: ; preds = %2
%21 = load ptr, ptr %7, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @do_sendfile(ptr noundef %21, ptr noundef %22)
store i32 %23, ptr %3, align 4
br label %64
24: ; preds = %2
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 5
%27 = load ptr, ptr %26, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 49
%32 = zext i1 %31 to i64
%33 = select i1 %31, i32 1, i32 0
store i32 %33, ptr %12, align 4
br label %34
34: ; preds = %24, %2
%35 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds ptr, ptr %36, i64 3
%38 = load ptr, ptr %37, align 8
%39 = call i32 @parse_hex(ptr noundef %35, ptr noundef %9, ptr noundef %38)
%40 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 4
%43 = load ptr, ptr %42, align 8
%44 = call i32 @parse_hex(ptr noundef %40, ptr noundef %11, ptr noundef %43)
%45 = load i32, ptr %9, align 4
%46 = icmp eq i32 %45, 0
br i1 %46, label %50, label %47
47: ; preds = %34
%48 = load i32, ptr %11, align 4
%49 = icmp eq i32 %48, 0
br i1 %49, label %50, label %51
50: ; preds = %47, %34
store i32 -1, ptr %3, align 4
br label %64
51: ; preds = %47
%52 = load ptr, ptr %7, align 8
%53 = load ptr, ptr %6, align 8
%54 = getelementptr inbounds [128 x i8], ptr %8, i64 0, i64 0
%55 = load i32, ptr %9, align 4
%56 = getelementptr inbounds [128 x i8], ptr %10, i64 0, i64 0
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %12, align 4
%59 = call i32 @do_sendfile_aes(ptr noundef %52, ptr noundef %53, ptr noundef %54, i32 noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef %58)
store i32 %59, ptr %3, align 4
br label %64
60: ; preds = %2
%61 = load i32, ptr %4, align 4
%62 = load ptr, ptr %5, align 8
%63 = call i32 @print_help(i32 noundef %61, ptr noundef %62)
store i32 %63, ptr %3, align 4
br label %64
64: ; preds = %60, %51, %50, %20
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @do_sendfile(ptr noundef, ptr noundef) #1
declare i32 @parse_hex(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @do_sendfile_aes(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @print_help(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/tmp8kax_37s.c'
source_filename = "/tmp/tmp8kax_37s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Enter an expression to be evaluated:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @puts(ptr noundef @.str)
br label %4
4: ; preds = %8, %0
%5 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%6 = call i64 @string_contains_q(ptr noundef %5)
%7 = icmp eq i64 %6, 0
br i1 %7, label %8, label %11
8: ; preds = %4
%9 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
br label %4, !llvm.loop !6
11: ; preds = %4
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @puts(ptr noundef) #1
declare i64 @string_contains_q(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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8kax_37s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Enter an expression to be evaluated:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [50 x i8], align 16
store i32 0, ptr %1, align 4
%3 = call i32 @puts(ptr noundef @.str)
%4 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @string_contains_q(ptr noundef %4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = getelementptr inbounds [50 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8)
%10 = call i64 @string_contains_q(ptr noundef %4)
%11 = icmp eq i64 %10, 0
br i1 %11, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %12
12: ; preds = %._crit_edge, %0
%13 = load i32, ptr %1, align 4
ret i32 %13
}
declare i32 @puts(ptr noundef) #1
declare i64 @string_contains_q(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"}
|
; ModuleID = '/tmp/tmp09x0t_fc.c'
source_filename = "/tmp/tmp09x0t_fc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world!\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/tmp09x0t_fc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"hello world!\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/tmpqh91cy1u.c'
source_filename = "/tmp/tmpqh91cy1u.c"
target datalayout = "e-m:e-p270: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/tmpqh91cy1u.c"
target datalayout = "e-m:e-p270: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/tmpbq5n_efd.c'
source_filename = "/tmp/tmpbq5n_efd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_eg() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 3490593, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = sitofp i32 %3 to float
store float %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @show_int(i32 noundef %5)
%7 = load float, ptr %2, align 4
%8 = call i32 @show_float(float noundef %7)
ret void
}
declare i32 @show_int(i32 noundef) #1
declare i32 @show_float(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/tmpbq5n_efd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @float_eg() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
store i32 3490593, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = sitofp i32 %3 to float
store float %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
%6 = call i32 @show_int(i32 noundef %5)
%7 = load float, ptr %2, align 4
%8 = call i32 @show_float(float noundef %7)
ret void
}
declare i32 @show_int(i32 noundef) #1
declare i32 @show_float(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/tmpe3d22j_t.c'
source_filename = "/tmp/tmpe3d22j_t.c"
target datalayout = "e-m:e-p270: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/tmpe3d22j_t.c"
target datalayout = "e-m:e-p270: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/tmpm5y934oc.c'
source_filename = "/tmp/tmpm5y934oc.c"
target datalayout = "e-m:e-p270: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/tmpm5y934oc.c"
target datalayout = "e-m:e-p270: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/tmpf2z6tj2c.c'
source_filename = "/tmp/tmpf2z6tj2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [8 x i8] c"racecar\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Length: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%c , %c \0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"NOT PALINDROME\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 [8 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.a, i64 8, i1 false)
store i32 7, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%11 = load i32, ptr %7, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
store i32 0, ptr %9, align 4
br label %13
13: ; preds = %48, %2
%14 = load i32, ptr %9, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %17, label %51
17: ; preds = %13
%18 = load i32, ptr %9, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %9, align 4
%25 = sub nsw i32 %23, %24
%26 = sub nsw i32 %25, 1
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %30)
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i32, ptr %7, align 4
%38 = load i32, ptr %9, align 4
%39 = sub nsw i32 %37, %38
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp ne i32 %36, %44
br i1 %45, label %46, label %47
46: ; preds = %17
store i32 1, ptr %8, align 4
br label %51
47: ; preds = %17
br label %48
48: ; preds = %47
%49 = load i32, ptr %9, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %9, align 4
br label %13, !llvm.loop !6
51: ; preds = %46, %13
%52 = load i32, ptr %8, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %51
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %56
56: ; preds = %54, %51
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"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpf2z6tj2c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a = private unnamed_addr constant [8 x i8] c"racecar\00", align 1
@.str = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Length: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%c , %c \0A\00", align 1
@.str.3 = private unnamed_addr constant [16 x i8] c"NOT PALINDROME\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 [8 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = 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
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.a, i64 8, i1 false)
store i32 7, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef 8)
%11 = load i32, ptr %7, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
store i32 0, ptr %9, align 4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %16
16: ; preds = %.lr.ph, %47
%17 = load i32, ptr %9, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = load i32, ptr %7, align 4
%23 = load i32, ptr %9, align 4
%24 = sub nsw i32 %22, %23
%25 = sub nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21, i32 noundef %29)
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = load i32, ptr %7, align 4
%37 = load i32, ptr %9, align 4
%38 = sub nsw i32 %36, %37
%39 = sub nsw i32 %38, 1
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [8 x i8], ptr %6, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %35, %43
br i1 %44, label %45, label %46
45: ; preds = %16
store i32 1, ptr %8, align 4
br label %53
46: ; preds = %16
br label %47
47: ; preds = %46
%48 = load i32, ptr %9, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %9, align 4
%50 = load i32, ptr %9, align 4
%51 = load i32, ptr %7, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %16, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %47
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %53
53: ; preds = %.loopexit, %45
%54 = load i32, ptr %8, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %58
56: ; preds = %53
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %58
58: ; preds = %56, %53
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"}
|
; ModuleID = '/tmp/tmpu835pc6x.c'
source_filename = "/tmp/tmpu835pc6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fractal_square(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %3
br label %63
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = call i32 @drawSquare(i32 noundef %11, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %6, align 4
%17 = sdiv i32 %16, 5
%18 = sub nsw i32 %15, %17
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = sdiv i32 %20, 5
%22 = sub nsw i32 %19, %21
%23 = load i32, ptr %6, align 4
%24 = mul nsw i32 2, %23
%25 = sdiv i32 %24, 5
call void @fractal_square(i32 noundef %18, i32 noundef %22, i32 noundef %25)
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 4, %27
%29 = sdiv i32 %28, 5
%30 = add nsw i32 %26, %29
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %6, align 4
%33 = sdiv i32 %32, 5
%34 = sub nsw i32 %31, %33
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 2, %35
%37 = sdiv i32 %36, 5
call void @fractal_square(i32 noundef %30, i32 noundef %34, i32 noundef %37)
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %6, align 4
%40 = sdiv i32 %39, 5
%41 = sub nsw i32 %38, %40
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = mul nsw i32 4, %43
%45 = sdiv i32 %44, 5
%46 = add nsw i32 %42, %45
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 2, %47
%49 = sdiv i32 %48, 5
call void @fractal_square(i32 noundef %41, i32 noundef %46, i32 noundef %49)
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %6, align 4
%52 = mul nsw i32 4, %51
%53 = sdiv i32 %52, 5
%54 = add nsw i32 %50, %53
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = mul nsw i32 4, %56
%58 = sdiv i32 %57, 5
%59 = add nsw i32 %55, %58
%60 = load i32, ptr %6, align 4
%61 = mul nsw i32 2, %60
%62 = sdiv i32 %61, 5
call void @fractal_square(i32 noundef %54, i32 noundef %59, i32 noundef %62)
br label %63
63: ; preds = %10, %9
ret void
}
declare i32 @drawSquare(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/tmpu835pc6x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fractal_square(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = icmp slt i32 %7, 2
br i1 %8, label %9, label %10
9: ; preds = %3
br label %63
10: ; preds = %3
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %6, align 4
%14 = call i32 @drawSquare(i32 noundef %11, i32 noundef %12, i32 noundef %13)
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %6, align 4
%17 = sdiv i32 %16, 5
%18 = sub nsw i32 %15, %17
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %6, align 4
%21 = sdiv i32 %20, 5
%22 = sub nsw i32 %19, %21
%23 = load i32, ptr %6, align 4
%24 = mul nsw i32 2, %23
%25 = sdiv i32 %24, 5
call void @fractal_square(i32 noundef %18, i32 noundef %22, i32 noundef %25)
%26 = load i32, ptr %4, align 4
%27 = load i32, ptr %6, align 4
%28 = mul nsw i32 4, %27
%29 = sdiv i32 %28, 5
%30 = add nsw i32 %26, %29
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %6, align 4
%33 = sdiv i32 %32, 5
%34 = sub nsw i32 %31, %33
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 2, %35
%37 = sdiv i32 %36, 5
call void @fractal_square(i32 noundef %30, i32 noundef %34, i32 noundef %37)
%38 = load i32, ptr %4, align 4
%39 = load i32, ptr %6, align 4
%40 = sdiv i32 %39, 5
%41 = sub nsw i32 %38, %40
%42 = load i32, ptr %5, align 4
%43 = load i32, ptr %6, align 4
%44 = mul nsw i32 4, %43
%45 = sdiv i32 %44, 5
%46 = add nsw i32 %42, %45
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 2, %47
%49 = sdiv i32 %48, 5
call void @fractal_square(i32 noundef %41, i32 noundef %46, i32 noundef %49)
%50 = load i32, ptr %4, align 4
%51 = load i32, ptr %6, align 4
%52 = mul nsw i32 4, %51
%53 = sdiv i32 %52, 5
%54 = add nsw i32 %50, %53
%55 = load i32, ptr %5, align 4
%56 = load i32, ptr %6, align 4
%57 = mul nsw i32 4, %56
%58 = sdiv i32 %57, 5
%59 = add nsw i32 %55, %58
%60 = load i32, ptr %6, align 4
%61 = mul nsw i32 2, %60
%62 = sdiv i32 %61, 5
call void @fractal_square(i32 noundef %54, i32 noundef %59, i32 noundef %62)
br label %63
63: ; preds = %10, %9
ret void
}
declare i32 @drawSquare(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/tmptq1ynjoa.c'
source_filename = "/tmp/tmptq1ynjoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a_to_hex(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i64 @toupper(i8 noundef signext %4)
%6 = trunc i64 %5 to i8
store i8 %6, ptr %3, align 1
%7 = load i8, ptr %3, align 1
%8 = call i64 @isdigit(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = sub nsw i32 %12, 48
store i32 %13, ptr %2, align 4
br label %18
14: ; preds = %1
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = sub nsw i32 %16, 55
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %14, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @toupper(i8 noundef signext) #1
declare i64 @isdigit(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/tmptq1ynjoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @a_to_hex(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i64 @toupper(i8 noundef signext %4)
%6 = trunc i64 %5 to i8
store i8 %6, ptr %3, align 1
%7 = load i8, ptr %3, align 1
%8 = call i64 @isdigit(i8 noundef signext %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load i8, ptr %3, align 1
%12 = sext i8 %11 to i32
%13 = sub nsw i32 %12, 48
store i32 %13, ptr %2, align 4
br label %18
14: ; preds = %1
%15 = load i8, ptr %3, align 1
%16 = sext i8 %15 to i32
%17 = sub nsw i32 %16, 55
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %14, %10
%19 = load i32, ptr %2, align 4
ret i32 %19
}
declare i64 @toupper(i8 noundef signext) #1
declare i64 @isdigit(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/tmp3xkw0wel.c'
source_filename = "/tmp/tmp3xkw0wel.c"
target datalayout = "e-m:e-p270: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.child_process.b = private unnamed_addr constant [29 x i8] c"This is on the received fd!\0A\00", align 16
@.str = private unnamed_addr constant [14 x i8] c"ancil_recv_fd\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Received fd: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"ancil_recv_fds\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Received %d/2 fds : %d %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @child_process(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
%5 = alloca i32, align 4
%6 = alloca [29 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.child_process.b, i64 29, i1 false)
%7 = load i32, ptr %2, align 4
%8 = call i64 @ancil_recv_fd(i32 noundef %7, ptr noundef %3)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #4
unreachable
13: ; preds = %1
%14 = load i32, ptr %3, align 4
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = getelementptr inbounds [29 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef 29)
%20 = load i32, ptr %3, align 4
%21 = call i32 @close(i32 noundef %20)
%22 = call i32 @sleep(i32 noundef 2)
%23 = load i32, ptr %2, align 4
%24 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%25 = call i32 @ancil_recv_fds(i32 noundef %23, ptr noundef %24, i32 noundef 2)
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %16
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = call i32 @exit(i32 noundef 1) #4
unreachable
31: ; preds = %16
%32 = load i32, ptr %5, align 4
%33 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%34 = load i32, ptr %33, align 4
%35 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %32, i32 noundef %34, i32 noundef %36)
br label %38
38: ; preds = %31
ret void
}
; 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 i64 @ancil_recv_fd(i32 noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @sleep(i32 noundef) #2
declare i32 @ancil_recv_fds(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3xkw0wel.c"
target datalayout = "e-m:e-p270: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.child_process.b = private unnamed_addr constant [29 x i8] c"This is on the received fd!\0A\00", align 16
@.str = private unnamed_addr constant [14 x i8] c"ancil_recv_fd\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"Received fd: %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"ancil_recv_fds\00", align 1
@.str.3 = private unnamed_addr constant [28 x i8] c"Received %d/2 fds : %d %d.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @child_process(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [2 x i32], align 4
%5 = alloca i32, align 4
%6 = alloca [29 x i8], align 16
store i32 %0, ptr %2, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %6, ptr align 16 @__const.child_process.b, i64 29, i1 false)
%7 = load i32, ptr %2, align 4
%8 = call i64 @ancil_recv_fd(i32 noundef %7, ptr noundef %3)
%9 = icmp ne i64 %8, 0
br i1 %9, label %10, label %13
10: ; preds = %1
%11 = call i32 @perror(ptr noundef @.str)
%12 = call i32 @exit(i32 noundef 1) #4
unreachable
13: ; preds = %1
%14 = load i32, ptr %3, align 4
%15 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %13
%17 = load i32, ptr %3, align 4
%18 = getelementptr inbounds [29 x i8], ptr %6, i64 0, i64 0
%19 = call i32 @write(i32 noundef %17, ptr noundef %18, i32 noundef 29)
%20 = load i32, ptr %3, align 4
%21 = call i32 @close(i32 noundef %20)
%22 = call i32 @sleep(i32 noundef 2)
%23 = load i32, ptr %2, align 4
%24 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%25 = call i32 @ancil_recv_fds(i32 noundef %23, ptr noundef %24, i32 noundef 2)
store i32 %25, ptr %5, align 4
%26 = load i32, ptr %5, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %31
28: ; preds = %16
%29 = call i32 @perror(ptr noundef @.str.2)
%30 = call i32 @exit(i32 noundef 1) #4
unreachable
31: ; preds = %16
%32 = load i32, ptr %5, align 4
%33 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 0
%34 = load i32, ptr %33, align 4
%35 = getelementptr inbounds [2 x i32], ptr %4, i64 0, i64 1
%36 = load i32, ptr %35, align 4
%37 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %32, i32 noundef %34, i32 noundef %36)
br label %38
38: ; preds = %31
ret void
}
; 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 i64 @ancil_recv_fd(i32 noundef, ptr noundef) #2
declare i32 @perror(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @printf(ptr noundef, i32 noundef, ...) #2
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2
declare i32 @close(i32 noundef) #2
declare i32 @sleep(i32 noundef) #2
declare i32 @ancil_recv_fds(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt9trkn4h.c'
source_filename = "/tmp/tmpt9trkn4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @init_emul(i32 noundef 2014, i32 noundef 10000, i32 noundef 10000)
%8 = call i32 (...) @show_stat()
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %15, %2
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %10, 2000
br i1 %11, label %12, label %18
12: ; preds = %9
%13 = call i32 (...) @next_year()
%14 = call i32 (...) @show_stat()
br label %15
15: ; preds = %12
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %6, align 4
br label %9, !llvm.loop !6
18: ; preds = %9
ret i32 0
}
declare i32 @init_emul(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @show_stat(...) #1
declare i32 @next_year(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpt9trkn4h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = call i32 @init_emul(i32 noundef 2014, i32 noundef 10000, i32 noundef 10000)
%8 = call i32 (...) @show_stat()
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %9, 2000
br i1 %10, label %.lr.ph, label %19
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %14
%12 = call i32 (...) @next_year()
%13 = call i32 (...) @show_stat()
br label %14
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %17, 2000
br i1 %18, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @init_emul(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @show_stat(...) #1
declare i32 @next_year(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpub8i1xdk.c'
source_filename = "/tmp/tmpub8i1xdk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"opendir failed: %m\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"telldir failed: %m\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"going back past 4-th entry...\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"seekdir (d, %ld); telldir (d) == %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"rewinddir didn't reset directory stream\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 i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = 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 i64 0, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%14 = call ptr @opendir(ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %99
19: ; preds = %2
%20 = load ptr, ptr %6, align 8
%21 = call i64 @telldir(ptr noundef %20)
store i64 %21, ptr %12, align 8
%22 = load i64, ptr %12, align 8
%23 = icmp eq i64 %22, -1
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %10, align 4
br label %26
26: ; preds = %24, %19
%27 = load ptr, ptr %6, align 8
%28 = call ptr @readdir(ptr noundef %27)
store ptr %28, ptr %11, align 8
br label %29
29: ; preds = %48, %26
%30 = load ptr, ptr %11, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %32, label %51
32: ; preds = %29
%33 = load i32, ptr %9, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %9, align 4
%35 = icmp eq i32 %33, 3
br i1 %35, label %36, label %39
36: ; preds = %32
%37 = load ptr, ptr %6, align 8
%38 = call i64 @telldir(ptr noundef %37)
store i64 %38, ptr %7, align 8
br label %39
39: ; preds = %36, %32
%40 = load ptr, ptr %11, align 8
%41 = getelementptr inbounds %struct.dirent, ptr %40, i32 0, i32 0
%42 = load ptr, ptr %41, align 8
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %42)
%44 = load i32, ptr %9, align 4
%45 = icmp eq i32 %44, 400
br i1 %45, label %46, label %47
46: ; preds = %39
br label %51
47: ; preds = %39
br label %48
48: ; preds = %47
%49 = load ptr, ptr %6, align 8
%50 = call ptr @readdir(ptr noundef %49)
store ptr %50, ptr %11, align 8
br label %29, !llvm.loop !6
51: ; preds = %46, %29
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%53 = load ptr, ptr %6, align 8
%54 = load i64, ptr %7, align 8
%55 = call i32 @seekdir(ptr noundef %53, i64 noundef %54)
%56 = load ptr, ptr %6, align 8
%57 = call i64 @telldir(ptr noundef %56)
store i64 %57, ptr %8, align 8
%58 = load i64, ptr %8, align 8
%59 = load i64, ptr %7, align 8
%60 = icmp ne i64 %58, %59
br i1 %60, label %61, label %65
61: ; preds = %51
%62 = load i64, ptr %7, align 8
%63 = load i64, ptr %8, align 8
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %62, i64 noundef %63)
store i32 1, ptr %10, align 4
br label %65
65: ; preds = %61, %51
%66 = load ptr, ptr %6, align 8
%67 = call ptr @readdir(ptr noundef %66)
store ptr %67, ptr %11, align 8
br label %68
68: ; preds = %76, %65
%69 = load ptr, ptr %11, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %71, label %79
71: ; preds = %68
%72 = load ptr, ptr %11, align 8
%73 = getelementptr inbounds %struct.dirent, ptr %72, i32 0, i32 0
%74 = load ptr, ptr %73, align 8
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %74)
br label %76
76: ; preds = %71
%77 = load ptr, ptr %6, align 8
%78 = call ptr @readdir(ptr noundef %77)
store ptr %78, ptr %11, align 8
br label %68, !llvm.loop !8
79: ; preds = %68
%80 = load ptr, ptr %6, align 8
%81 = call i32 @rewinddir(ptr noundef %80)
%82 = load ptr, ptr %6, align 8
%83 = call i64 @telldir(ptr noundef %82)
store i64 %83, ptr %13, align 8
%84 = load i64, ptr %13, align 8
%85 = icmp eq i64 %84, -1
br i1 %85, label %86, label %88
86: ; preds = %79
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %10, align 4
br label %95
88: ; preds = %79
%89 = load i64, ptr %12, align 8
%90 = load i64, ptr %13, align 8
%91 = icmp ne i64 %89, %90
br i1 %91, label %92, label %94
92: ; preds = %88
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %10, align 4
br label %94
94: ; preds = %92, %88
br label %95
95: ; preds = %94, %86
%96 = load ptr, ptr %6, align 8
%97 = call i32 @closedir(ptr noundef %96)
%98 = load i32, ptr %10, align 4
store i32 %98, ptr %3, align 4
br label %99
99: ; preds = %95, %17
%100 = load i32, ptr %3, align 4
ret i32 %100
}
declare ptr @opendir(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @telldir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @seekdir(ptr noundef, i64 noundef) #1
declare i32 @rewinddir(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpub8i1xdk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [2 x i8] c".\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"opendir failed: %m\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"telldir failed: %m\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [31 x i8] c"going back past 4-th entry...\0A\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"seekdir (d, %ld); telldir (d) == %ld\0A\00", align 1
@.str.6 = private unnamed_addr constant [41 x i8] c"rewinddir didn't reset directory stream\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 i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = 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 i64 0, ptr %7, align 8
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%14 = call ptr @opendir(ptr noundef @.str)
store ptr %14, ptr %6, align 8
%15 = load ptr, ptr %6, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %19
17: ; preds = %2
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %101
19: ; preds = %2
%20 = load ptr, ptr %6, align 8
%21 = call i64 @telldir(ptr noundef %20)
store i64 %21, ptr %12, align 8
%22 = load i64, ptr %12, align 8
%23 = icmp eq i64 %22, -1
br i1 %23, label %24, label %26
24: ; preds = %19
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %10, align 4
br label %26
26: ; preds = %24, %19
%27 = load ptr, ptr %6, align 8
%28 = call ptr @readdir(ptr noundef %27)
store ptr %28, ptr %11, align 8
%29 = load ptr, ptr %11, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %26
br label %31
31: ; preds = %.lr.ph, %47
%32 = load i32, ptr %9, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %9, align 4
%34 = icmp eq i32 %32, 3
br i1 %34, label %35, label %38
35: ; preds = %31
%36 = load ptr, ptr %6, align 8
%37 = call i64 @telldir(ptr noundef %36)
store i64 %37, ptr %7, align 8
br label %38
38: ; preds = %35, %31
%39 = load ptr, ptr %11, align 8
%40 = getelementptr inbounds %struct.dirent, ptr %39, i32 0, i32 0
%41 = load ptr, ptr %40, align 8
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %41)
%43 = load i32, ptr %9, align 4
%44 = icmp eq i32 %43, 400
br i1 %44, label %45, label %46
45: ; preds = %38
br label %52
46: ; preds = %38
br label %47
47: ; preds = %46
%48 = load ptr, ptr %6, align 8
%49 = call ptr @readdir(ptr noundef %48)
store ptr %49, ptr %11, align 8
%50 = load ptr, ptr %11, align 8
%51 = icmp ne ptr %50, null
br i1 %51, label %31, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %47
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %26
br label %52
52: ; preds = %.loopexit, %45
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%54 = load ptr, ptr %6, align 8
%55 = load i64, ptr %7, align 8
%56 = call i32 @seekdir(ptr noundef %54, i64 noundef %55)
%57 = load ptr, ptr %6, align 8
%58 = call i64 @telldir(ptr noundef %57)
store i64 %58, ptr %8, align 8
%59 = load i64, ptr %8, align 8
%60 = load i64, ptr %7, align 8
%61 = icmp ne i64 %59, %60
br i1 %61, label %62, label %66
62: ; preds = %52
%63 = load i64, ptr %7, align 8
%64 = load i64, ptr %8, align 8
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %63, i64 noundef %64)
store i32 1, ptr %10, align 4
br label %66
66: ; preds = %62, %52
%67 = load ptr, ptr %6, align 8
%68 = call ptr @readdir(ptr noundef %67)
store ptr %68, ptr %11, align 8
%69 = load ptr, ptr %11, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %.lr.ph1, label %81
.lr.ph1: ; preds = %66
br label %71
71: ; preds = %.lr.ph1, %76
%72 = load ptr, ptr %11, align 8
%73 = getelementptr inbounds %struct.dirent, ptr %72, i32 0, i32 0
%74 = load ptr, ptr %73, align 8
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %74)
br label %76
76: ; preds = %71
%77 = load ptr, ptr %6, align 8
%78 = call ptr @readdir(ptr noundef %77)
store ptr %78, ptr %11, align 8
%79 = load ptr, ptr %11, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %71, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %76
br label %81
81: ; preds = %._crit_edge, %66
%82 = load ptr, ptr %6, align 8
%83 = call i32 @rewinddir(ptr noundef %82)
%84 = load ptr, ptr %6, align 8
%85 = call i64 @telldir(ptr noundef %84)
store i64 %85, ptr %13, align 8
%86 = load i64, ptr %13, align 8
%87 = icmp eq i64 %86, -1
br i1 %87, label %88, label %90
88: ; preds = %81
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %10, align 4
br label %97
90: ; preds = %81
%91 = load i64, ptr %12, align 8
%92 = load i64, ptr %13, align 8
%93 = icmp ne i64 %91, %92
br i1 %93, label %94, label %96
94: ; preds = %90
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 1, ptr %10, align 4
br label %96
96: ; preds = %94, %90
br label %97
97: ; preds = %96, %88
%98 = load ptr, ptr %6, align 8
%99 = call i32 @closedir(ptr noundef %98)
%100 = load i32, ptr %10, align 4
store i32 %100, ptr %3, align 4
br label %101
101: ; preds = %97, %17
%102 = load i32, ptr %3, align 4
ret i32 %102
}
declare ptr @opendir(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i64 @telldir(ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @seekdir(ptr noundef, i64 noundef) #1
declare i32 @rewinddir(ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpg_et43x3.c'
source_filename = "/tmp/tmpg_et43x3.c"
target datalayout = "e-m:e-p270: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/tmpg_et43x3.c"
target datalayout = "e-m:e-p270: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/tmpfo0xk3zw.c'
source_filename = "/tmp/tmpfo0xk3zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [200 x i8], align 16
%3 = alloca [200 x i8], align 16
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %1, align 4
%14 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @read_string(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%18 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @read_string(ptr noundef %18)
store i32 %19, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %5, align 4
br label %20
20: ; preds = %37, %0
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %8, align 4
%23 = icmp slt i32 %21, %22
br i1 %23, label %24, label %40
24: ; preds = %20
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = load i8, ptr %4, align 1
%31 = sext i8 %30 to i32
%32 = icmp eq i32 %29, %31
br i1 %32, label %33, label %36
33: ; preds = %24
%34 = load i32, ptr %10, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %10, align 4
br label %36
36: ; preds = %33, %24
br label %37
37: ; preds = %36
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %20, !llvm.loop !6
40: ; preds = %20
store i32 0, ptr %11, align 4
%41 = load i32, ptr %10, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %47
44: ; preds = %40
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %11, align 4
br label %47
47: ; preds = %44, %40
store i32 0, ptr %12, align 4
store i32 0, ptr %5, align 4
br label %48
48: ; preds = %84, %47
%49 = load i32, ptr %5, align 4
%50 = load i32, ptr %8, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %52, label %87
52: ; preds = %48
store i32 0, ptr %13, align 4
store i32 0, ptr %6, align 4
br label %53
53: ; preds = %75, %52
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %57, label %78
57: ; preds = %53
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %64, %69
br i1 %70, label %71, label %74
71: ; preds = %57
%72 = load i32, ptr %13, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %13, align 4
br label %74
74: ; preds = %71, %57
br label %75
75: ; preds = %74
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %53, !llvm.loop !8
78: ; preds = %53
%79 = load i32, ptr %13, align 4
%80 = load i32, ptr %9, align 4
%81 = icmp eq i32 %79, %80
br i1 %81, label %82, label %83
82: ; preds = %78
store i32 1, ptr %12, align 4
br label %87
83: ; preds = %78
br label %84
84: ; preds = %83
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
br label %48, !llvm.loop !9
87: ; preds = %82, %48
%88 = load i32, ptr %12, align 4
%89 = icmp eq i32 %88, 1
br i1 %89, label %90, label %93
90: ; preds = %87
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %11, align 4
br label %93
93: ; preds = %90, %87
%94 = load i32, ptr %11, align 4
%95 = icmp eq i32 %94, 1
br i1 %95, label %96, label %98
96: ; preds = %93
%97 = call i32 @printf(ptr noundef @.str.2)
br label %100
98: ; preds = %93
%99 = call i32 @printf(ptr noundef @.str.3)
br label %100
100: ; preds = %98, %96
ret i32 0
}
declare i32 @read_string(ptr noundef) #1
declare i32 @scanf(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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfo0xk3zw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [200 x i8], align 16
%3 = alloca [200 x i8], align 16
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 0, ptr %1, align 4
%14 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 0
%15 = call i32 @read_string(ptr noundef %14)
store i32 %15, ptr %8, align 4
%16 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4)
%17 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %7)
%18 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%19 = call i32 @read_string(ptr noundef %18)
store i32 %19, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %5, align 4
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %.lr.ph, label %42
.lr.ph: ; preds = %0
br label %23
23: ; preds = %.lr.ph, %36
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = load i8, ptr %4, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %28, %30
br i1 %31, label %32, label %35
32: ; preds = %23
%33 = load i32, ptr %10, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %10, align 4
br label %35
35: ; preds = %32, %23
br label %36
36: ; preds = %35
%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 %8, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %42
42: ; preds = %._crit_edge, %0
store i32 0, ptr %11, align 4
%43 = load i32, ptr %10, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %49
46: ; preds = %42
%47 = load i32, ptr %11, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %11, align 4
br label %49
49: ; preds = %46, %42
store i32 0, ptr %12, align 4
store i32 0, ptr %5, align 4
%50 = load i32, ptr %5, align 4
%51 = load i32, ptr %8, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph5, label %.loopexit
.lr.ph5: ; preds = %49
br label %53
53: ; preds = %.lr.ph5, %87
store i32 0, ptr %13, align 4
store i32 0, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %9, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %.lr.ph2, label %81
.lr.ph2: ; preds = %53
br label %57
57: ; preds = %.lr.ph2, %75
%58 = load i32, ptr %5, align 4
%59 = load i32, ptr %6, align 4
%60 = add nsw i32 %58, %59
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [200 x i8], ptr %2, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = load i32, ptr %6, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %66
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp eq i32 %64, %69
br i1 %70, label %71, label %74
71: ; preds = %57
%72 = load i32, ptr %13, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %13, align 4
br label %74
74: ; preds = %71, %57
br label %75
75: ; preds = %74
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
%78 = load i32, ptr %6, align 4
%79 = load i32, ptr %9, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %75
br label %81
81: ; preds = %._crit_edge3, %53
%82 = load i32, ptr %13, align 4
%83 = load i32, ptr %9, align 4
%84 = icmp eq i32 %82, %83
br i1 %84, label %85, label %86
85: ; preds = %81
store i32 1, ptr %12, align 4
br label %93
86: ; preds = %81
br label %87
87: ; preds = %86
%88 = load i32, ptr %5, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %5, align 4
%90 = load i32, ptr %5, align 4
%91 = load i32, ptr %8, align 4
%92 = icmp slt i32 %90, %91
br i1 %92, label %53, label %..loopexit_crit_edge, !llvm.loop !9
..loopexit_crit_edge: ; preds = %87
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %49
br label %93
93: ; preds = %.loopexit, %85
%94 = load i32, ptr %12, align 4
%95 = icmp eq i32 %94, 1
br i1 %95, label %96, label %99
96: ; preds = %93
%97 = load i32, ptr %11, align 4
%98 = add nsw i32 %97, 1
store i32 %98, ptr %11, align 4
br label %99
99: ; preds = %96, %93
%100 = load i32, ptr %11, align 4
%101 = icmp eq i32 %100, 1
br i1 %101, label %102, label %104
102: ; preds = %99
%103 = call i32 @printf(ptr noundef @.str.2)
br label %106
104: ; preds = %99
%105 = call i32 @printf(ptr noundef @.str.3)
br label %106
106: ; preds = %104, %102
ret i32 0
}
declare i32 @read_string(ptr noundef) #1
declare i32 @scanf(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}
|
; ModuleID = '/tmp/tmpegporcv9.c'
source_filename = "/tmp/tmpegporcv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"i stores ites values at %p.\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"this function starts at %p.\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"The int stored at addressOfI is %d.\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Now i is %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"An int is %zu bytes.\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"A pointer is %zu bytes.\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c"short \09 int \09 long \09 longlong \09 float \09 double\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"%zu \09\09 %zu \09\09 %zu \09\09 %zu \09\09\09 %zu \09\09 %zu\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"The NULL starts at %p.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 17, ptr %6, align 4
store ptr %6, ptr %7, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @main)
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load ptr, ptr %7, align 8
store i32 89, ptr %14, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 4)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 2, i64 noundef 4, i64 noundef 8, i64 noundef 8, i64 noundef 4, i64 noundef 8)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef null)
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/tmpegporcv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"i stores ites values at %p.\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"this function starts at %p.\0A\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"The int stored at addressOfI is %d.\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"Now i is %d.\0A\00", align 1
@.str.4 = private unnamed_addr constant [22 x i8] c"An int is %zu bytes.\0A\00", align 1
@.str.5 = private unnamed_addr constant [25 x i8] c"A pointer is %zu bytes.\0A\00", align 1
@.str.6 = private unnamed_addr constant [48 x i8] c"short \09 int \09 long \09 longlong \09 float \09 double\0A\00", align 1
@.str.7 = private unnamed_addr constant [41 x i8] c"%zu \09\09 %zu \09\09 %zu \09\09 %zu \09\09\09 %zu \09\09 %zu\0A\00", align 1
@.str.8 = private unnamed_addr constant [24 x i8] c"The NULL starts at %p.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 17, ptr %6, align 4
store ptr %6, ptr %7, align 8
%8 = load ptr, ptr %7, align 8
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %8)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef @main)
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load ptr, ptr %7, align 8
store i32 89, ptr %14, align 4
%15 = load i32, ptr %6, align 4
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef 4)
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef 8)
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i64 noundef 2, i64 noundef 4, i64 noundef 8, i64 noundef 8, i64 noundef 4, i64 noundef 8)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef null)
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/tmpu39oatmr.c'
source_filename = "/tmp/tmpu39oatmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strskp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
br label %22
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %8, align 8
store ptr %9, ptr %3, align 8
br label %10
10: ; preds = %16, %7
%11 = load ptr, ptr %3, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = call i64 @isspace(i32 noundef %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %10
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %3, align 8
br label %10, !llvm.loop !6
19: ; preds = %10
%20 = load ptr, ptr %3, align 8
%21 = load ptr, ptr %2, align 8
store ptr %20, ptr %21, align 8
br label %22
22: ; preds = %19, %6
ret void
}
declare i64 @isspace(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/tmpu39oatmr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strskp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %7, label %6
6: ; preds = %1
br label %26
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = load ptr, ptr %8, align 8
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = call i64 @isspace(i32 noundef %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %23
.lr.ph: ; preds = %7
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %3, align 8
%18 = load ptr, ptr %3, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = call i64 @isspace(i32 noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %23
23: ; preds = %._crit_edge, %7
%24 = load ptr, ptr %3, align 8
%25 = load ptr, ptr %2, align 8
store ptr %24, ptr %25, align 8
br label %26
26: ; preds = %23, %6
ret void
}
declare i64 @isspace(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/tmpmiy7bn73.c'
source_filename = "/tmp/tmpmiy7bn73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Need to provide some integers.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"malloc fails.\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"The sum of \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"is %d.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %74
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call ptr @malloc(i32 noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %14
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %24, ptr %3, align 4
br label %74
25: ; preds = %14
store i32 1, ptr %7, align 4
br label %26
26: ; preds = %42, %25
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %45
30: ; preds = %26
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %7, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds ptr, ptr %31, i64 %33
%35 = load ptr, ptr %34, align 8
%36 = call i64 @strtol(ptr noundef %35, ptr noundef null, i32 noundef 10)
%37 = trunc i64 %36 to i32
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %7, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
store i32 %37, ptr %41, align 4
br label %42
42: ; preds = %30
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
br label %26, !llvm.loop !6
45: ; preds = %26
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %7, align 4
br label %47
47: ; preds = %65, %45
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr %4, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %68
51: ; preds = %47
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %7, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %52, i64 %54
%56 = load i32, ptr %55, align 4
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %56)
%58 = load ptr, ptr %6, align 8
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i32, ptr %58, i64 %60
%62 = load i32, ptr %61, align 4
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, %62
store i32 %64, ptr %8, align 4
br label %65
65: ; preds = %51
%66 = load i32, ptr %7, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %7, align 4
br label %47, !llvm.loop !8
68: ; preds = %47
%69 = load i32, ptr %8, align 4
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %69)
%71 = load ptr, ptr %6, align 8
%72 = call i32 @free(ptr noundef %71)
%73 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %73, ptr %3, align 4
br label %74
74: ; preds = %68, %22, %11
%75 = load i32, ptr %3, align 4
ret i32 %75
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @strtol(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmiy7bn73.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"Need to provide some integers.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [15 x i8] c"malloc fails.\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"The sum of \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.4 = private unnamed_addr constant [8 x i8] c"is %d.\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %14
11: ; preds = %2
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%13 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %13, ptr %3, align 4
br label %78
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call ptr @malloc(i32 noundef %18)
store ptr %19, ptr %6, align 8
%20 = load ptr, ptr %6, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %25
22: ; preds = %14
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%24 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %24, ptr %3, align 4
br label %78
25: ; preds = %14
store i32 1, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %47
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %41
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i64 @strtol(ptr noundef %34, ptr noundef null, i32 noundef 10)
%36 = trunc i64 %35 to i32
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %7, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
store i32 %36, ptr %40, align 4
br label %41
41: ; preds = %29
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %4, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %25
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph2, label %72
.lr.ph2: ; preds = %47
br label %52
52: ; preds = %.lr.ph2, %66
%53 = load ptr, ptr %6, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %57)
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr %7, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, %63
store i32 %65, ptr %8, align 4
br label %66
66: ; preds = %52
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %52, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %72
72: ; preds = %._crit_edge3, %47
%73 = load i32, ptr %8, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %73)
%75 = load ptr, ptr %6, align 8
%76 = call i32 @free(ptr noundef %75)
%77 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %77, ptr %3, align 4
br label %78
78: ; preds = %72, %22, %11
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @malloc(i32 noundef) #1
declare i64 @strtol(ptr 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpa1z678n1.c'
source_filename = "/tmp/tmpa1z678n1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [33 x i8] c"Mauvaise ligne! Il y a 14 lignes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_choix() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3
3: ; preds = %11, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4
%8 = icmp sgt i32 %7, 14
br label %9
9: ; preds = %6, %3
%10 = phi i1 [ true, %3 ], [ %8, %6 ]
br i1 %10, label %11, label %14
11: ; preds = %9
%12 = call i32 @puts(ptr noundef @.str.1)
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3, !llvm.loop !6
14: ; preds = %9
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa1z678n1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [33 x i8] c"Mauvaise ligne! Il y a 14 lignes\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_choix() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3
3: ; preds = %11, %0
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 1
br i1 %5, label %9, label %6
6: ; preds = %3
%7 = load i32, ptr %1, align 4
%8 = icmp sgt i32 %7, 14
br label %9
9: ; preds = %6, %3
%10 = phi i1 [ true, %3 ], [ %8, %6 ]
br i1 %10, label %11, label %14
11: ; preds = %9
%12 = call i32 @puts(ptr noundef @.str.1)
%13 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
br label %3, !llvm.loop !6
14: ; preds = %9
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbon4dall.c'
source_filename = "/tmp/tmpbon4dall.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Received argument: [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @subrot(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [21 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 20
store i8 0, ptr %4, align 4
%5 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memmove(ptr noundef %5, ptr noundef %6, i32 noundef 20)
%8 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret void
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbon4dall.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"Received argument: [%s]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @subrot(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [21 x i8], align 16
store ptr %0, ptr %2, align 8
%4 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 20
store i8 0, ptr %4, align 4
%5 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0
%6 = load ptr, ptr %2, align 8
%7 = call i32 @memmove(ptr noundef %5, ptr noundef %6, i32 noundef 20)
%8 = getelementptr inbounds [21 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret void
}
declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkvtnpxe6.c'
source_filename = "/tmp/tmpkvtnpxe6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calcHypotenuse(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = fmul double %8, %9
%11 = call double @llvm.fmuladd.f64(double %6, double %7, double %10)
store double %11, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = call double @sqrt(double noundef %12) #3
ret double %13
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkvtnpxe6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @calcHypotenuse(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%6 = load double, ptr %3, align 8
%7 = load double, ptr %3, align 8
%8 = load double, ptr %4, align 8
%9 = load double, ptr %4, align 8
%10 = fmul double %8, %9
%11 = call double @llvm.fmuladd.f64(double %6, double %7, double %10)
store double %11, ptr %5, align 8
%12 = load double, ptr %5, align 8
%13 = call double @sqrt(double noundef %12) #3
ret double %13
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp51t4zxg_.c'
source_filename = "/tmp/tmp51t4zxg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CMS_F_CMS_UNCOMPRESS = dso_local global i32 0, align 4
@CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CMS_uncompress(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr @CMS_F_CMS_UNCOMPRESS, align 4
%10 = load i32, ptr @CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM, align 4
%11 = call i32 @CMSerr(i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @CMSerr(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/tmp51t4zxg_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@CMS_F_CMS_UNCOMPRESS = dso_local global i32 0, align 4
@CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @CMS_uncompress(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr @CMS_F_CMS_UNCOMPRESS, align 4
%10 = load i32, ptr @CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM, align 4
%11 = call i32 @CMSerr(i32 noundef %9, i32 noundef %10)
ret i32 0
}
declare i32 @CMSerr(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/tmp5ydom61m.c'
source_filename = "/tmp/tmp5ydom61m.c"
target datalayout = "e-m:e-p270: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.rusage = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i64 }
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"-> %ld.%02ld sec.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @userprint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @RUSAGE_SELF, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @getrusage(i32 noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds %struct.rusage, ptr %8, i32 0, i32 0
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i32 0, i32 1
%11 = load i64, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.rusage, ptr %12, i32 0, i32 0
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = sub nsw i64 %15, %11
store i64 %16, ptr %14, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.rusage, ptr %17, i32 0, i32 0
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0
%20 = load i32, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.rusage, ptr %21, i32 0, i32 0
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 8
%25 = sub nsw i32 %24, %20
store i32 %25, ptr %23, align 8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.rusage, ptr %26, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 8
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %42
31: ; preds = %2
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds %struct.rusage, ptr %32, i32 0, i32 0
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i32 0, i32 1
%35 = load i64, ptr %34, align 8
%36 = add nsw i64 %35, -1
store i64 %36, ptr %34, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds %struct.rusage, ptr %37, i32 0, i32 0
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = add nsw i32 %40, 1000000
store i32 %41, ptr %39, align 8
br label %42
42: ; preds = %31, %2
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.rusage, ptr %43, i32 0, i32 0
%45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 1
%46 = load i64, ptr %45, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds %struct.rusage, ptr %47, i32 0, i32 0
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %48, i32 0, i32 0
%50 = load i32, ptr %49, align 8
%51 = sdiv i32 %50, 10000
%52 = call i32 @printf(ptr noundef @.str, i64 noundef %46, i32 noundef %51)
ret void
}
declare i32 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 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/tmp5ydom61m.c"
target datalayout = "e-m:e-p270: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.rusage = type { %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, i64 }
@RUSAGE_SELF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [19 x i8] c"-> %ld.%02ld sec.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @userprint(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load i32, ptr @RUSAGE_SELF, align 4
%6 = load ptr, ptr %4, align 8
%7 = call i32 @getrusage(i32 noundef %5, ptr noundef %6)
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds %struct.rusage, ptr %8, i32 0, i32 0
%10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i32 0, i32 1
%11 = load i64, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.rusage, ptr %12, i32 0, i32 0
%14 = getelementptr inbounds %struct.TYPE_2__, ptr %13, i32 0, i32 1
%15 = load i64, ptr %14, align 8
%16 = sub nsw i64 %15, %11
store i64 %16, ptr %14, align 8
%17 = load ptr, ptr %3, align 8
%18 = getelementptr inbounds %struct.rusage, ptr %17, i32 0, i32 0
%19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0
%20 = load i32, ptr %19, align 8
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.rusage, ptr %21, i32 0, i32 0
%23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0
%24 = load i32, ptr %23, align 8
%25 = sub nsw i32 %24, %20
store i32 %25, ptr %23, align 8
%26 = load ptr, ptr %4, align 8
%27 = getelementptr inbounds %struct.rusage, ptr %26, i32 0, i32 0
%28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0
%29 = load i32, ptr %28, align 8
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %42
31: ; preds = %2
%32 = load ptr, ptr %4, align 8
%33 = getelementptr inbounds %struct.rusage, ptr %32, i32 0, i32 0
%34 = getelementptr inbounds %struct.TYPE_2__, ptr %33, i32 0, i32 1
%35 = load i64, ptr %34, align 8
%36 = add nsw i64 %35, -1
store i64 %36, ptr %34, align 8
%37 = load ptr, ptr %4, align 8
%38 = getelementptr inbounds %struct.rusage, ptr %37, i32 0, i32 0
%39 = getelementptr inbounds %struct.TYPE_2__, ptr %38, i32 0, i32 0
%40 = load i32, ptr %39, align 8
%41 = add nsw i32 %40, 1000000
store i32 %41, ptr %39, align 8
br label %42
42: ; preds = %31, %2
%43 = load ptr, ptr %4, align 8
%44 = getelementptr inbounds %struct.rusage, ptr %43, i32 0, i32 0
%45 = getelementptr inbounds %struct.TYPE_2__, ptr %44, i32 0, i32 1
%46 = load i64, ptr %45, align 8
%47 = load ptr, ptr %4, align 8
%48 = getelementptr inbounds %struct.rusage, ptr %47, i32 0, i32 0
%49 = getelementptr inbounds %struct.TYPE_2__, ptr %48, i32 0, i32 0
%50 = load i32, ptr %49, align 8
%51 = sdiv i32 %50, 10000
%52 = call i32 @printf(ptr noundef @.str, i64 noundef %46, i32 noundef %51)
ret void
}
declare i32 @getrusage(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i64 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/tmp68fa_n7r.c'
source_filename = "/tmp/tmp68fa_n7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort_cmp_int(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 %3, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @atoi(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atoi(ptr noundef %10)
%12 = sub nsw i32 %8, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
br label %21
16: ; preds = %2
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 0
%19 = zext i1 %18 to i64
%20 = select i1 %18, i32 -1, i32 0
br label %21
21: ; preds = %16, %15
%22 = phi i32 [ 1, %15 ], [ %20, %16 ]
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp68fa_n7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @qsort_cmp_int(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 %3, align 8
%7 = load ptr, ptr %6, align 8
%8 = call i32 @atoi(ptr noundef %7)
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @atoi(ptr noundef %10)
%12 = sub nsw i32 %8, %11
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %16
15: ; preds = %2
br label %21
16: ; preds = %2
%17 = load i32, ptr %5, align 4
%18 = icmp slt i32 %17, 0
%19 = zext i1 %18 to i64
%20 = select i1 %18, i32 -1, i32 0
br label %21
21: ; preds = %16, %15
%22 = phi i32 [ 1, %15 ], [ %20, %16 ]
ret i32 %22
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj919ozwy.c'
source_filename = "/tmp/tmpj919ozwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Usage: %s <file>\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 ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj919ozwy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"Usage: %s <file>\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 ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpit4iivt_.c'
source_filename = "/tmp/tmpit4iivt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %8, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %3
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load i8, ptr %9, align 1
%12 = sext i8 %11 to i32
%13 = call i32 @putchar(i32 noundef %12)
br label %3, !llvm.loop !6
14: ; preds = %3
ret void
}
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpit4iivt_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = sext i8 %4 to i32
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %7
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %2, align 8
%10 = load i8, ptr %8, align 1
%11 = sext i8 %10 to i32
%12 = call i32 @putchar(i32 noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %17
17: ; preds = %._crit_edge, %1
ret void
}
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpxf0oblrk.c'
source_filename = "/tmp/tmpxf0oblrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/pipe/0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pipe(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %4, align 4
store i32 -1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @dup2(i32 noundef %9, i32 noundef -1)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %18
13: ; preds = %1
%14 = load i32, ptr @errno, align 4
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @close(i32 noundef %15)
%17 = load i32, ptr %6, align 4
store i32 %17, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %25
18: ; preds = %1
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
store i32 %19, ptr %21, align 4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 1
store i32 %22, ptr %24, align 4
store i32 0, ptr %2, align 4
br label %25
25: ; preds = %18, %13
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxf0oblrk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"/dev/pipe/0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @pipe(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%7 = load i32, ptr @O_RDWR, align 4
%8 = call i32 @open(ptr noundef @.str, i32 noundef %7)
store i32 %8, ptr %4, align 4
store i32 -1, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = call i32 @dup2(i32 noundef %9, i32 noundef -1)
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp eq i32 %11, -1
br i1 %12, label %13, label %18
13: ; preds = %1
%14 = load i32, ptr @errno, align 4
store i32 %14, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = call i32 @close(i32 noundef %15)
%17 = load i32, ptr %6, align 4
store i32 %17, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %25
18: ; preds = %1
%19 = load i32, ptr %4, align 4
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i32, ptr %20, i64 0
store i32 %19, ptr %21, align 4
%22 = load i32, ptr %5, align 4
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i32, ptr %23, i64 1
store i32 %22, ptr %24, align 4
store i32 0, ptr %2, align 4
br label %25
25: ; preds = %18, %13
%26 = load i32, ptr %2, align 4
ret i32 %26
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare i32 @dup2(i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppqvs8ktx.c'
source_filename = "/tmp/tmppqvs8ktx.c"
target datalayout = "e-m:e-p270: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/tmppqvs8ktx.c"
target datalayout = "e-m:e-p270: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/tmpjdxzajwu.c'
source_filename = "/tmp/tmpjdxzajwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"range error, got \00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @str_to_int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strtol(ptr noundef %6, ptr noundef %4, i32 noundef 10)
store i64 %7, ptr %5, align 8
br label %8
8: ; preds = %23, %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %3, align 8
%14 = load i64, ptr @errno, align 8
%15 = load i64, ptr @ERANGE, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
store i64 0, ptr @errno, align 8
br label %20
20: ; preds = %17, %12
%21 = load i64, ptr %5, align 8
%22 = trunc i64 %21 to i32
store i32 %22, ptr %2, align 4
br label %28
23: ; No predecessors!
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strtol(ptr noundef %24, ptr noundef %4, i32 noundef 10)
store i64 %25, ptr %5, align 8
br label %8, !llvm.loop !6
26: ; preds = %8
%27 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %20
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjdxzajwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"range error, got \00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @str_to_int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i64 @strtol(ptr noundef %6, ptr noundef %4, i32 noundef 10)
store i64 %7, ptr %5, align 8
br label %8
8: ; preds = %23, %1
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %9, %10
br i1 %11, label %12, label %26
12: ; preds = %8
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %3, align 8
%14 = load i64, ptr @errno, align 8
%15 = load i64, ptr @ERANGE, align 8
%16 = icmp eq i64 %14, %15
br i1 %16, label %17, label %20
17: ; preds = %12
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str)
store i64 0, ptr @errno, align 8
br label %20
20: ; preds = %17, %12
%21 = load i64, ptr %5, align 8
%22 = trunc i64 %21 to i32
store i32 %22, ptr %2, align 4
br label %28
23: ; No predecessors!
%24 = load ptr, ptr %3, align 8
%25 = call i64 @strtol(ptr noundef %24, ptr noundef %4, i32 noundef 10)
store i64 %25, ptr %5, align 8
br label %8, !llvm.loop !6
26: ; preds = %8
%27 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %20
%29 = load i32, ptr %2, align 4
ret i32 %29
}
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjmtifntp.c'
source_filename = "/tmp/tmpjmtifntp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @caesar(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [264 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
br label %8
8: ; preds = %23, %2
%9 = load i32, ptr %7, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i64 @strlen(ptr noundef %10)
%12 = trunc i64 %11 to i32
%13 = icmp slt i32 %9, %12
br i1 %13, label %14, label %26
14: ; preds = %8
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %7, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %21
store i8 %19, ptr %22, align 1
br label %23
23: ; preds = %14
%24 = load i32, ptr %7, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %7, align 4
br label %8, !llvm.loop !6
26: ; preds = %8
br label %27
27: ; preds = %151, %26
%28 = load ptr, ptr %3, align 8
%29 = load i32, ptr %6, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds i8, ptr %28, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %154
35: ; preds = %27
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp sle i32 %41, 90
br i1 %42, label %43, label %93
43: ; preds = %35
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i8, ptr %44, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp sge i32 %49, 65
br i1 %50, label %51, label %93
51: ; preds = %43
%52 = load ptr, ptr %3, align 8
%53 = load i32, ptr %6, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i8, ptr %52, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = load i32, ptr %4, align 4
%59 = add nsw i32 %57, %58
%60 = icmp sgt i32 %59, 90
br i1 %60, label %61, label %77
61: ; preds = %51
%62 = load ptr, ptr %3, align 8
%63 = load i32, ptr %6, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = load i32, ptr %4, align 4
%69 = trunc i32 %68 to i8
%70 = sext i8 %69 to i32
%71 = add nsw i32 %67, %70
%72 = sub nsw i32 %71, 26
%73 = trunc i32 %72 to i8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %75
store i8 %73, ptr %76, align 1
br label %92
77: ; preds = %51
%78 = load ptr, ptr %3, align 8
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = load i32, ptr %4, align 4
%85 = trunc i32 %84 to i8
%86 = sext i8 %85 to i32
%87 = add nsw i32 %83, %86
%88 = trunc i32 %87 to i8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %90
store i8 %88, ptr %91, align 1
br label %92
92: ; preds = %77, %61
br label %93
93: ; preds = %92, %43, %35
%94 = load ptr, ptr %3, align 8
%95 = load i32, ptr %6, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i8, ptr %94, i64 %96
%98 = load i8, ptr %97, align 1
%99 = sext i8 %98 to i32
%100 = icmp sle i32 %99, 122
br i1 %100, label %101, label %151
101: ; preds = %93
%102 = load ptr, ptr %3, align 8
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = sext i8 %106 to i32
%108 = icmp sge i32 %107, 97
br i1 %108, label %109, label %151
109: ; preds = %101
%110 = load ptr, ptr %3, align 8
%111 = load i32, ptr %6, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i8, ptr %110, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = load i32, ptr %4, align 4
%117 = add nsw i32 %115, %116
%118 = icmp sgt i32 %117, 122
br i1 %118, label %119, label %135
119: ; preds = %109
%120 = load ptr, ptr %3, align 8
%121 = load i32, ptr %6, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds i8, ptr %120, i64 %122
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = load i32, ptr %4, align 4
%127 = trunc i32 %126 to i8
%128 = sext i8 %127 to i32
%129 = add nsw i32 %125, %128
%130 = sub nsw i32 %129, 26
%131 = trunc i32 %130 to i8
%132 = load i32, ptr %6, align 4
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %133
store i8 %131, ptr %134, align 1
br label %150
135: ; preds = %109
%136 = load ptr, ptr %3, align 8
%137 = load i32, ptr %6, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds i8, ptr %136, i64 %138
%140 = load i8, ptr %139, align 1
%141 = sext i8 %140 to i32
%142 = load i32, ptr %4, align 4
%143 = trunc i32 %142 to i8
%144 = sext i8 %143 to i32
%145 = add nsw i32 %141, %144
%146 = trunc i32 %145 to i8
%147 = load i32, ptr %6, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %148
store i8 %146, ptr %149, align 1
br label %150
150: ; preds = %135, %119
br label %151
151: ; preds = %150, %101, %93
%152 = load i32, ptr %6, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %6, align 4
br label %27, !llvm.loop !8
154: ; preds = %27
%155 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 0
%156 = call i32 @printf(ptr noundef @.str, ptr noundef %155)
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpjmtifntp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @caesar(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca [264 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
%8 = load i32, ptr %7, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i64 @strlen(ptr noundef %9)
%11 = trunc i64 %10 to i32
%12 = icmp slt i32 %8, %11
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %22
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %7, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %20
store i8 %18, ptr %21, align 1
br label %22
22: ; preds = %13
%23 = load i32, ptr %7, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %7, align 4
%25 = load i32, ptr %7, align 4
%26 = load ptr, ptr %3, align 8
%27 = call i64 @strlen(ptr noundef %26)
%28 = trunc i64 %27 to i32
%29 = icmp slt i32 %25, %28
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %22
br label %30
30: ; preds = %._crit_edge, %2
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp ne i32 %36, 0
br i1 %37, label %.lr.ph2, label %164
.lr.ph2: ; preds = %30
br label %38
38: ; preds = %.lr.ph2, %154
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %6, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = icmp sle i32 %44, 90
br i1 %45, label %46, label %96
46: ; preds = %38
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp sge i32 %52, 65
br i1 %53, label %54, label %96
54: ; preds = %46
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %6, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i8, ptr %55, i64 %57
%59 = load i8, ptr %58, align 1
%60 = sext i8 %59 to i32
%61 = load i32, ptr %4, align 4
%62 = add nsw i32 %60, %61
%63 = icmp sgt i32 %62, 90
br i1 %63, label %64, label %80
64: ; preds = %54
%65 = load ptr, ptr %3, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = load i32, ptr %4, align 4
%72 = trunc i32 %71 to i8
%73 = sext i8 %72 to i32
%74 = add nsw i32 %70, %73
%75 = sub nsw i32 %74, 26
%76 = trunc i32 %75 to i8
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %78
store i8 %76, ptr %79, align 1
br label %95
80: ; preds = %54
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = load i32, ptr %4, align 4
%88 = trunc i32 %87 to i8
%89 = sext i8 %88 to i32
%90 = add nsw i32 %86, %89
%91 = trunc i32 %90 to i8
%92 = load i32, ptr %6, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %93
store i8 %91, ptr %94, align 1
br label %95
95: ; preds = %80, %64
br label %96
96: ; preds = %95, %46, %38
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %6, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp sle i32 %102, 122
br i1 %103, label %104, label %154
104: ; preds = %96
%105 = load ptr, ptr %3, align 8
%106 = load i32, ptr %6, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp sge i32 %110, 97
br i1 %111, label %112, label %154
112: ; preds = %104
%113 = load ptr, ptr %3, align 8
%114 = load i32, ptr %6, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds i8, ptr %113, i64 %115
%117 = load i8, ptr %116, align 1
%118 = sext i8 %117 to i32
%119 = load i32, ptr %4, align 4
%120 = add nsw i32 %118, %119
%121 = icmp sgt i32 %120, 122
br i1 %121, label %122, label %138
122: ; preds = %112
%123 = load ptr, ptr %3, align 8
%124 = load i32, ptr %6, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i8, ptr %123, i64 %125
%127 = load i8, ptr %126, align 1
%128 = sext i8 %127 to i32
%129 = load i32, ptr %4, align 4
%130 = trunc i32 %129 to i8
%131 = sext i8 %130 to i32
%132 = add nsw i32 %128, %131
%133 = sub nsw i32 %132, 26
%134 = trunc i32 %133 to i8
%135 = load i32, ptr %6, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %136
store i8 %134, ptr %137, align 1
br label %153
138: ; preds = %112
%139 = load ptr, ptr %3, align 8
%140 = load i32, ptr %6, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %139, i64 %141
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = load i32, ptr %4, align 4
%146 = trunc i32 %145 to i8
%147 = sext i8 %146 to i32
%148 = add nsw i32 %144, %147
%149 = trunc i32 %148 to i8
%150 = load i32, ptr %6, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 %151
store i8 %149, ptr %152, align 1
br label %153
153: ; preds = %138, %122
br label %154
154: ; preds = %153, %104, %96
%155 = load i32, ptr %6, align 4
%156 = add nsw i32 %155, 1
store i32 %156, ptr %6, align 4
%157 = load ptr, ptr %3, align 8
%158 = load i32, ptr %6, align 4
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds i8, ptr %157, i64 %159
%161 = load i8, ptr %160, align 1
%162 = sext i8 %161 to i32
%163 = icmp ne i32 %162, 0
br i1 %163, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %154
br label %164
164: ; preds = %._crit_edge3, %30
%165 = getelementptr inbounds [264 x i8], ptr %5, i64 0, i64 0
%166 = call i32 @printf(ptr noundef @.str, ptr noundef %165)
ret void
}
declare i64 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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/tmpnrltwtwe.c'
source_filename = "/tmp/tmpnrltwtwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %11
11: ; preds = %84, %2
%12 = load i32, ptr %5, align 4
%13 = load i32, ptr %7, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %87
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 45
br i1 %22, label %23, label %71
23: ; preds = %15
%24 = load i32, ptr %5, align 4
%25 = icmp eq i32 %24, 0
br i1 %25, label %31, label %26
26: ; preds = %23
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %7, align 4
%29 = sub nsw i32 %28, 1
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %38
31: ; preds = %26, %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
store i8 45, ptr %35, align 1
%36 = load i32, ptr %6, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %6, align 4
br label %70
38: ; preds = %26
%39 = load ptr, ptr %3, align 8
%40 = load i32, ptr %5, align 4
%41 = sub nsw i32 %40, 1
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %39, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = add nsw i32 %45, 1
store i32 %46, ptr %8, align 4
br label %47
47: ; preds = %64, %38
%48 = load i32, ptr %8, align 4
%49 = load ptr, ptr %3, align 8
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %49, i64 %52
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp slt i32 %48, %55
br i1 %56, label %57, label %69
57: ; preds = %47
%58 = load i32, ptr %8, align 4
%59 = trunc i32 %58 to i8
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store i8 %59, ptr %63, align 1
br label %64
64: ; preds = %57
%65 = load i32, ptr %8, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %8, align 4
%67 = load i32, ptr %6, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %6, align 4
br label %47, !llvm.loop !6
69: ; preds = %47
br label %70
70: ; preds = %69, %31
br label %83
71: ; preds = %15
%72 = load ptr, ptr %3, align 8
%73 = load i32, ptr %5, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i8, ptr %72, i64 %74
%76 = load i8, ptr %75, align 1
%77 = load ptr, ptr %4, align 8
%78 = load i32, ptr %6, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 %76, ptr %80, align 1
%81 = load i32, ptr %6, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %6, align 4
br label %83
83: ; preds = %71, %70
br label %84
84: ; preds = %83
%85 = load i32, ptr %5, align 4
%86 = add nsw i32 %85, 1
store i32 %86, ptr %5, align 4
br label %11, !llvm.loop !8
87: ; preds = %11
%88 = load ptr, ptr %4, align 8
%89 = load i32, ptr %6, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %88, i64 %90
store i8 0, ptr %91, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnrltwtwe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
store i32 %10, ptr %7, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %7, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %.lr.ph2, label %97
.lr.ph2: ; preds = %2
br label %14
14: ; preds = %.lr.ph2, %91
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 45
br i1 %21, label %22, label %78
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = icmp eq i32 %23, 0
br i1 %24, label %30, label %25
25: ; preds = %22
%26 = load i32, ptr %5, align 4
%27 = load i32, ptr %7, align 4
%28 = sub nsw i32 %27, 1
%29 = icmp eq i32 %26, %28
br i1 %29, label %30, label %37
30: ; preds = %25, %22
%31 = load ptr, ptr %4, align 8
%32 = load i32, ptr %6, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i8, ptr %31, i64 %33
store i8 45, ptr %34, align 1
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
br label %77
37: ; preds = %25
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sub nsw i32 %39, 1
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %38, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = add nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %47, i64 %50
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp slt i32 %46, %53
br i1 %54, label %.lr.ph, label %76
.lr.ph: ; preds = %37
br label %55
55: ; preds = %.lr.ph, %62
%56 = load i32, ptr %8, align 4
%57 = trunc i32 %56 to i8
%58 = load ptr, ptr %4, align 8
%59 = load i32, ptr %6, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds i8, ptr %58, i64 %60
store i8 %57, ptr %61, align 1
br label %62
62: ; preds = %55
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %6, align 4
%66 = add nsw i32 %65, 1
store i32 %66, ptr %6, align 4
%67 = load i32, ptr %8, align 4
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %5, align 4
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %68, i64 %71
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp slt i32 %67, %74
br i1 %75, label %55, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %76
76: ; preds = %._crit_edge, %37
br label %77
77: ; preds = %76, %30
br label %90
78: ; preds = %14
%79 = load ptr, ptr %3, align 8
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %79, i64 %81
%83 = load i8, ptr %82, align 1
%84 = load ptr, ptr %4, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
store i8 %83, ptr %87, align 1
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %6, align 4
br label %90
90: ; preds = %78, %77
br label %91
91: ; preds = %90
%92 = load i32, ptr %5, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %5, align 4
%94 = load i32, ptr %5, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp slt i32 %94, %95
br i1 %96, label %14, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %91
br label %97
97: ; preds = %._crit_edge3, %2
%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
store i8 0, ptr %101, align 1
ret void
}
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7ou7i83j.c'
source_filename = "/tmp/tmp7ou7i83j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @whatIsThis(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp eq i64 1, %6
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %3, align 4
br label %23
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = sub i64 %14, 1
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %5, align 8
%20 = sub i64 %19, 1
%21 = call i32 @whatIsThis(ptr noundef %18, i64 noundef %20)
%22 = add nsw i32 %17, %21
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %12, %8
%24 = load i32, ptr %3, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ou7i83j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @whatIsThis(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = icmp eq i64 1, %6
br i1 %7, label %8, label %12
8: ; preds = %2
%9 = load ptr, ptr %4, align 8
%10 = getelementptr inbounds i32, ptr %9, i64 0
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %3, align 4
br label %23
12: ; preds = %2
%13 = load ptr, ptr %4, align 8
%14 = load i64, ptr %5, align 8
%15 = sub i64 %14, 1
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %5, align 8
%20 = sub i64 %19, 1
%21 = call i32 @whatIsThis(ptr noundef %18, i64 noundef %20)
%22 = add nsw i32 %17, %21
store i32 %22, ptr %3, align 4
br label %23
23: ; preds = %12, %8
%24 = load i32, ptr %3, align 4
ret i32 %24
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj_41p5o7.c'
source_filename = "/tmp/tmpj_41p5o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%8 = load i32, ptr %5, align 4
%9 = sdiv i32 %8, 100
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %11, 100
%13 = sub nsw i32 %10, %12
%14 = sdiv i32 %13, 10
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = srem i32 %15, 10
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %17, %18
%20 = load i32, ptr %2, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = mul nsw i32 %24, %25
%27 = add nsw i32 %21, %26
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 %28, %29
%31 = load i32, ptr %4, align 4
%32 = mul nsw i32 %30, %31
%33 = add nsw i32 %27, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %0
%38 = call i32 @printf(ptr noundef @.str.1)
br label %41
39: ; preds = %0
%40 = call i32 @printf(ptr noundef @.str.2)
br label %41
41: ; preds = %39, %37
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj_41p5o7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"YES\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"NO\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
%7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5)
%8 = load i32, ptr %5, align 4
%9 = sdiv i32 %8, 100
store i32 %9, ptr %2, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %11, 100
%13 = sub nsw i32 %10, %12
%14 = sdiv i32 %13, 10
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %5, align 4
%16 = srem i32 %15, 10
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %17, %18
%20 = load i32, ptr %2, align 4
%21 = mul nsw i32 %19, %20
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = mul nsw i32 %22, %23
%25 = load i32, ptr %3, align 4
%26 = mul nsw i32 %24, %25
%27 = add nsw i32 %21, %26
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %4, align 4
%30 = mul nsw i32 %28, %29
%31 = load i32, ptr %4, align 4
%32 = mul nsw i32 %30, %31
%33 = add nsw i32 %27, %32
store i32 %33, ptr %6, align 4
%34 = load i32, ptr %5, align 4
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %39
37: ; preds = %0
%38 = call i32 @printf(ptr noundef @.str.1)
br label %41
39: ; preds = %0
%40 = call i32 @printf(ptr noundef @.str.2)
br label %41
41: ; preds = %39, %37
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5616lwb4.c'
source_filename = "/tmp/tmp5616lwb4.c"
target datalayout = "e-m:e-p270: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/tmp5616lwb4.c"
target datalayout = "e-m:e-p270: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/tmpera0b2as.c'
source_filename = "/tmp/tmpera0b2as.c"
target datalayout = "e-m:e-p270: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/tmpera0b2as.c"
target datalayout = "e-m:e-p270: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/tmppptavtcq.c'
source_filename = "/tmp/tmppptavtcq.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i32 }
@SA_RESTART = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @siginterrupt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sigaction, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @sigaction(i32 noundef %6, ptr noundef null, ptr noundef %5)
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @SA_RESTART, align 4
%12 = xor i32 %11, -1
%13 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, %12
store i32 %15, ptr %13, align 4
br label %21
16: ; preds = %2
%17 = load i32, ptr @SA_RESTART, align 4
%18 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = or i32 %19, %17
store i32 %20, ptr %18, align 4
br label %21
21: ; preds = %16, %10
%22 = load i32, ptr %3, align 4
%23 = call i32 @sigaction(i32 noundef %22, ptr noundef %5, ptr noundef null)
ret i32 %23
}
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppptavtcq.c"
target datalayout = "e-m:e-p270: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.sigaction = type { i32 }
@SA_RESTART = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @siginterrupt(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca %struct.sigaction, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = call i32 @sigaction(i32 noundef %6, ptr noundef null, ptr noundef %5)
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %16
10: ; preds = %2
%11 = load i32, ptr @SA_RESTART, align 4
%12 = xor i32 %11, -1
%13 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
%14 = load i32, ptr %13, align 4
%15 = and i32 %14, %12
store i32 %15, ptr %13, align 4
br label %21
16: ; preds = %2
%17 = load i32, ptr @SA_RESTART, align 4
%18 = getelementptr inbounds %struct.sigaction, ptr %5, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = or i32 %19, %17
store i32 %20, ptr %18, align 4
br label %21
21: ; preds = %16, %10
%22 = load i32, ptr %3, align 4
%23 = call i32 @sigaction(i32 noundef %22, ptr noundef %5, ptr noundef null)
ret i32 %23
}
declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbc674m6v.c'
source_filename = "/tmp/tmpbc674m6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [104 x i8] c"bin2s - convert binary files to assembly language\0Atypical usage: bin2s foo.bin bar.bin baz.bin > foo.s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"bin2s: could not open \00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [40 x i8] c"bin2s: warning: skipping empty file %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [90 x i8] c"/* Generated by BIN2S - please don't edit directly */\0A.section .rodata\0A.balign 4\0A.global \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"_len\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"_len: .int %lu\0A.global \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c":\0A.byte \00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%3u\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"\0A.byte \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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef @.str, i32 noundef %14)
store i32 1, ptr %3, align 4
br label %133
16: ; preds = %2
store i32 1, ptr %9, align 4
br label %17
17: ; preds = %129, %16
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %132
21: ; preds = %17
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = call ptr @fopen(ptr noundef %26, ptr noundef @.str.1)
store ptr %27, ptr %6, align 8
%28 = load ptr, ptr %6, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %39, label %30
30: ; preds = %21
%31 = load i32, ptr @stderr, align 4
%32 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %31)
%33 = load ptr, ptr %5, align 8
%34 = load i32, ptr %9, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds ptr, ptr %33, i64 %35
%37 = load ptr, ptr %36, align 8
%38 = call i32 @perror(ptr noundef %37)
store i32 1, ptr %3, align 4
br label %133
39: ; preds = %21
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr @SEEK_END, align 4
%42 = call i32 @fseek(ptr noundef %40, i32 noundef 0, i32 noundef %41)
%43 = load ptr, ptr %6, align 8
%44 = call i64 @ftell(ptr noundef %43)
store i64 %44, ptr %7, align 8
%45 = load ptr, ptr %6, align 8
%46 = call i32 @rewind(ptr noundef %45)
%47 = load i64, ptr %7, align 8
%48 = icmp eq i64 %47, 0
br i1 %48, label %49, label %59
49: ; preds = %39
%50 = load ptr, ptr %6, align 8
%51 = call i32 @fclose(ptr noundef %50)
%52 = load i32, ptr @stderr, align 4
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = call i32 @fprintf(i32 noundef %52, ptr noundef @.str.3, ptr noundef %57)
br label %129
59: ; preds = %39
%60 = load i32, ptr @stdout, align 4
%61 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %60)
%62 = load i32, ptr @stdout, align 4
%63 = load ptr, ptr %5, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds ptr, ptr %63, i64 %65
%67 = load ptr, ptr %66, align 8
%68 = call i32 @strnident(i32 noundef %62, ptr noundef %67)
%69 = load i32, ptr @stdout, align 4
%70 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %69)
%71 = load i32, ptr @stdout, align 4
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds ptr, ptr %72, i64 %74
%76 = load ptr, ptr %75, align 8
%77 = call i32 @strnident(i32 noundef %71, ptr noundef %76)
%78 = load i64, ptr %7, align 8
%79 = trunc i64 %78 to i32
%80 = call i32 @printf(ptr noundef @.str.6, i32 noundef %79)
%81 = load i32, ptr @stdout, align 4
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %9, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
%86 = load ptr, ptr %85, align 8
%87 = call i32 @strnident(i32 noundef %81, ptr noundef %86)
%88 = load i32, ptr @stdout, align 4
%89 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %88)
%90 = load i32, ptr @stdout, align 4
%91 = load ptr, ptr %5, align 8
%92 = load i32, ptr %9, align 4
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds ptr, ptr %91, i64 %93
%95 = load ptr, ptr %94, align 8
%96 = call i32 @strnident(i32 noundef %90, ptr noundef %95)
%97 = load i32, ptr @stdout, align 4
%98 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %97)
store i32 0, ptr %8, align 4
br label %99
99: ; preds = %123, %59
%100 = load i64, ptr %7, align 8
%101 = icmp ugt i64 %100, 0
br i1 %101, label %102, label %124
102: ; preds = %99
%103 = load ptr, ptr %6, align 8
%104 = call zeroext i8 @fgetc(ptr noundef %103)
store i8 %104, ptr %10, align 1
%105 = load i8, ptr %10, align 1
%106 = zext i8 %105 to i32
%107 = call i32 @printf(ptr noundef @.str.9, i32 noundef %106)
%108 = load i64, ptr %7, align 8
%109 = add i64 %108, -1
store i64 %109, ptr %7, align 8
%110 = load i64, ptr %7, align 8
%111 = icmp ne i64 %110, 0
br i1 %111, label %112, label %123
112: ; preds = %102
%113 = load i32, ptr %8, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %8, align 4
%115 = icmp sge i32 %114, 16
br i1 %115, label %116, label %119
116: ; preds = %112
store i32 0, ptr %8, align 4
%117 = load i32, ptr @stdout, align 4
%118 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %117)
br label %122
119: ; preds = %112
%120 = load i32, ptr @stdout, align 4
%121 = call i32 @fputc(i8 noundef signext 44, i32 noundef %120)
br label %122
122: ; preds = %119, %116
br label %123
123: ; preds = %122, %102
br label %99, !llvm.loop !6
124: ; preds = %99
%125 = load i32, ptr @stdout, align 4
%126 = call i32 @fputc(i8 noundef signext 10, i32 noundef %125)
%127 = load ptr, ptr %6, align 8
%128 = call i32 @fclose(ptr noundef %127)
br label %129
129: ; preds = %124, %49
%130 = load i32, ptr %9, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %9, align 4
br label %17, !llvm.loop !8
132: ; preds = %17
store i32 0, ptr %3, align 4
br label %133
133: ; preds = %132, %30, %13
%134 = load i32, ptr %3, align 4
ret i32 %134
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strnident(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare zeroext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbc674m6v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [104 x i8] c"bin2s - convert binary files to assembly language\0Atypical usage: bin2s foo.bin bar.bin baz.bin > foo.s\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"bin2s: could not open \00", align 1
@SEEK_END = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [40 x i8] c"bin2s: warning: skipping empty file %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [90 x i8] c"/* Generated by BIN2S - please don't edit directly */\0A.section .rodata\0A.balign 4\0A.global \00", align 1
@stdout = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [6 x i8] c"_len\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"_len: .int %lu\0A.global \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.8 = private unnamed_addr constant [9 x i8] c":\0A.byte \00", align 1
@.str.9 = private unnamed_addr constant [4 x i8] c"%3u\00", align 1
@.str.10 = private unnamed_addr constant [8 x i8] c"\0A.byte \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 i64, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 2
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = call i32 @fputs(ptr noundef @.str, i32 noundef %14)
store i32 1, ptr %3, align 4
br label %136
16: ; preds = %2
store i32 1, ptr %9, align 4
%17 = load i32, ptr %9, align 4
%18 = load i32, ptr %4, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %.lr.ph2, label %135
.lr.ph2: ; preds = %16
br label %20
20: ; preds = %.lr.ph2, %129
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds ptr, ptr %21, i64 %23
%25 = load ptr, ptr %24, align 8
%26 = call ptr @fopen(ptr noundef %25, ptr noundef @.str.1)
store ptr %26, ptr %6, align 8
%27 = load ptr, ptr %6, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %38, label %29
29: ; preds = %20
%30 = load i32, ptr @stderr, align 4
%31 = call i32 @fputs(ptr noundef @.str.2, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = call i32 @perror(ptr noundef %36)
store i32 1, ptr %3, align 4
br label %136
38: ; preds = %20
%39 = load ptr, ptr %6, align 8
%40 = load i32, ptr @SEEK_END, align 4
%41 = call i32 @fseek(ptr noundef %39, i32 noundef 0, i32 noundef %40)
%42 = load ptr, ptr %6, align 8
%43 = call i64 @ftell(ptr noundef %42)
store i64 %43, ptr %7, align 8
%44 = load ptr, ptr %6, align 8
%45 = call i32 @rewind(ptr noundef %44)
%46 = load i64, ptr %7, align 8
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %38
%49 = load ptr, ptr %6, align 8
%50 = call i32 @fclose(ptr noundef %49)
%51 = load i32, ptr @stderr, align 4
%52 = load ptr, ptr %5, align 8
%53 = load i32, ptr %9, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.3, ptr noundef %56)
br label %129
58: ; preds = %38
%59 = load i32, ptr @stdout, align 4
%60 = call i32 @fputs(ptr noundef @.str.4, i32 noundef %59)
%61 = load i32, ptr @stdout, align 4
%62 = load ptr, ptr %5, align 8
%63 = load i32, ptr %9, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds ptr, ptr %62, i64 %64
%66 = load ptr, ptr %65, align 8
%67 = call i32 @strnident(i32 noundef %61, ptr noundef %66)
%68 = load i32, ptr @stdout, align 4
%69 = call i32 @fputs(ptr noundef @.str.5, i32 noundef %68)
%70 = load i32, ptr @stdout, align 4
%71 = load ptr, ptr %5, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %71, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = call i32 @strnident(i32 noundef %70, ptr noundef %75)
%77 = load i64, ptr %7, align 8
%78 = trunc i64 %77 to i32
%79 = call i32 @printf(ptr noundef @.str.6, i32 noundef %78)
%80 = load i32, ptr @stdout, align 4
%81 = load ptr, ptr %5, align 8
%82 = load i32, ptr %9, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = call i32 @strnident(i32 noundef %80, ptr noundef %85)
%87 = load i32, ptr @stdout, align 4
%88 = call i32 @fputs(ptr noundef @.str.7, i32 noundef %87)
%89 = load i32, ptr @stdout, align 4
%90 = load ptr, ptr %5, align 8
%91 = load i32, ptr %9, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = call i32 @strnident(i32 noundef %89, ptr noundef %94)
%96 = load i32, ptr @stdout, align 4
%97 = call i32 @fputs(ptr noundef @.str.8, i32 noundef %96)
store i32 0, ptr %8, align 4
%98 = load i64, ptr %7, align 8
%99 = icmp ugt i64 %98, 0
br i1 %99, label %.lr.ph, label %124
.lr.ph: ; preds = %58
br label %100
100: ; preds = %.lr.ph, %121
%101 = load ptr, ptr %6, align 8
%102 = call zeroext i8 @fgetc(ptr noundef %101)
store i8 %102, ptr %10, align 1
%103 = load i8, ptr %10, align 1
%104 = zext i8 %103 to i32
%105 = call i32 @printf(ptr noundef @.str.9, i32 noundef %104)
%106 = load i64, ptr %7, align 8
%107 = add i64 %106, -1
store i64 %107, ptr %7, align 8
%108 = load i64, ptr %7, align 8
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %121
110: ; preds = %100
%111 = load i32, ptr %8, align 4
%112 = add nsw i32 %111, 1
store i32 %112, ptr %8, align 4
%113 = icmp sge i32 %112, 16
br i1 %113, label %114, label %117
114: ; preds = %110
store i32 0, ptr %8, align 4
%115 = load i32, ptr @stdout, align 4
%116 = call i32 @fputs(ptr noundef @.str.10, i32 noundef %115)
br label %120
117: ; preds = %110
%118 = load i32, ptr @stdout, align 4
%119 = call i32 @fputc(i8 noundef signext 44, i32 noundef %118)
br label %120
120: ; preds = %117, %114
br label %121
121: ; preds = %120, %100
%122 = load i64, ptr %7, align 8
%123 = icmp ugt i64 %122, 0
br i1 %123, label %100, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %121
br label %124
124: ; preds = %._crit_edge, %58
%125 = load i32, ptr @stdout, align 4
%126 = call i32 @fputc(i8 noundef signext 10, i32 noundef %125)
%127 = load ptr, ptr %6, align 8
%128 = call i32 @fclose(ptr noundef %127)
br label %129
129: ; preds = %124, %48
%130 = load i32, ptr %9, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %9, align 4
%132 = load i32, ptr %9, align 4
%133 = load i32, ptr %4, align 4
%134 = icmp slt i32 %132, %133
br i1 %134, label %20, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %129
br label %135
135: ; preds = %._crit_edge3, %16
store i32 0, ptr %3, align 4
br label %136
136: ; preds = %135, %29, %13
%137 = load i32, ptr %3, align 4
ret i32 %137
}
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @ftell(ptr noundef) #1
declare i32 @rewind(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @strnident(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
declare zeroext i8 @fgetc(ptr noundef) #1
declare i32 @fputc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpm1jcjcud.c'
source_filename = "/tmp/tmpm1jcjcud.c"
target datalayout = "e-m:e-p270: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/tmpm1jcjcud.c"
target datalayout = "e-m:e-p270: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/tmpzabnd9qv.c'
source_filename = "/tmp/tmpzabnd9qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdatasync(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @__send_to_ppe(i32 noundef 8449, i32 noundef 49, ptr noundef %2)
ret i32 %3
}
declare i32 @__send_to_ppe(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzabnd9qv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fdatasync(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @__send_to_ppe(i32 noundef 8449, i32 noundef 49, ptr noundef %2)
ret i32 %3
}
declare i32 @__send_to_ppe(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoth1yis7.c'
source_filename = "/tmp/tmpoth1yis7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@__const.main.times = private unnamed_addr constant [2 x %struct.timeval] [%struct.timeval { i32 52353, i32 0 }, %struct.timeval { i32 52353, i32 0 }], align 16
@__const.main.tmp = private unnamed_addr constant [13 x i8] c"proot-XXXXXX\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"/etc/fstab\00", align 1
@errno = dso_local global i64 0, align 8
@ENOSYS = dso_local global i64 0, align 8
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x %struct.timeval], align 16
%4 = alloca [13 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.times, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.tmp, i64 13, i1 false)
%5 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @mktemp(ptr noundef %5)
%7 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #4
unreachable
14: ; preds = %0
%15 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @unlink(ptr noundef %15)
%17 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%18 = call i32 @symlink(ptr noundef @.str, ptr noundef %17)
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %14
%22 = load i32, ptr @EXIT_FAILURE, align 4
%23 = call i32 @exit(i32 noundef %22) #4
unreachable
24: ; preds = %14
%25 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%26 = getelementptr inbounds [2 x %struct.timeval], ptr %3, i64 0, i64 0
%27 = call i32 @lutimes(ptr noundef %25, ptr noundef %26)
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %24
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @ENOSYS, align 8
%33 = icmp ne i64 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr @EXIT_FAILURE, align 4
br label %38
36: ; preds = %30, %24
%37 = load i32, ptr @EXIT_SUCCESS, align 4
br label %38
38: ; preds = %36, %34
%39 = phi i32 [ %35, %34 ], [ %37, %36 ]
%40 = call i32 @exit(i32 noundef %39) #4
unreachable
}
; 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 @mktemp(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @unlink(ptr noundef) #2
declare i32 @symlink(ptr noundef, ptr noundef) #2
declare i32 @lutimes(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoth1yis7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@__const.main.times = private unnamed_addr constant [2 x %struct.timeval] [%struct.timeval { i32 52353, i32 0 }, %struct.timeval { i32 52353, i32 0 }], align 16
@__const.main.tmp = private unnamed_addr constant [13 x i8] c"proot-XXXXXX\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [11 x i8] c"/etc/fstab\00", align 1
@errno = dso_local global i64 0, align 8
@ENOSYS = dso_local global i64 0, align 8
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [2 x %struct.timeval], align 16
%4 = alloca [13 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.times, i64 16, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.tmp, i64 13, i1 false)
%5 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%6 = call i32 @mktemp(ptr noundef %5)
%7 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %14
11: ; preds = %0
%12 = load i32, ptr @EXIT_FAILURE, align 4
%13 = call i32 @exit(i32 noundef %12) #4
unreachable
14: ; preds = %0
%15 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%16 = call i32 @unlink(ptr noundef %15)
%17 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%18 = call i32 @symlink(ptr noundef @.str, ptr noundef %17)
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 0
br i1 %20, label %21, label %24
21: ; preds = %14
%22 = load i32, ptr @EXIT_FAILURE, align 4
%23 = call i32 @exit(i32 noundef %22) #4
unreachable
24: ; preds = %14
%25 = getelementptr inbounds [13 x i8], ptr %4, i64 0, i64 0
%26 = getelementptr inbounds [2 x %struct.timeval], ptr %3, i64 0, i64 0
%27 = call i32 @lutimes(ptr noundef %25, ptr noundef %26)
store i32 %27, ptr %2, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %24
%31 = load i64, ptr @errno, align 8
%32 = load i64, ptr @ENOSYS, align 8
%33 = icmp ne i64 %31, %32
br i1 %33, label %34, label %36
34: ; preds = %30
%35 = load i32, ptr @EXIT_FAILURE, align 4
br label %38
36: ; preds = %30, %24
%37 = load i32, ptr @EXIT_SUCCESS, align 4
br label %38
38: ; preds = %36, %34
%39 = phi i32 [ %35, %34 ], [ %37, %36 ]
%40 = call i32 @exit(i32 noundef %39) #4
unreachable
}
; 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 @mktemp(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i32 @unlink(ptr noundef) #2
declare i32 @symlink(ptr noundef, ptr noundef) #2
declare i32 @lutimes(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi5tysmz1.c'
source_filename = "/tmp/tmpi5tysmz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fileexists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %15
13: ; preds = %8
store i32 -1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
15: ; preds = %14, %13, %12
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i64 @stat(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/tmpi5tysmz1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@errno = dso_local global i64 0, align 8
@ENOENT = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fileexists(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.stat, align 4
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i64 @stat(ptr noundef %5, ptr noundef %4)
%7 = icmp ne i64 %6, 0
br i1 %7, label %8, label %14
8: ; preds = %1
%9 = load i64, ptr @errno, align 8
%10 = load i64, ptr @ENOENT, align 8
%11 = icmp eq i64 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 0, ptr %2, align 4
br label %15
13: ; preds = %8
store i32 -1, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
15: ; preds = %14, %13, %12
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i64 @stat(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/tmpzjruj0m9.c'
source_filename = "/tmp/tmpzjruj0m9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_overwrite(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
br label %35
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = call i32 @report_count(i32 noundef 1)
%19 = call i32 @report_error(ptr noundef @.str.1)
br label %35
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = call i32 @report_count(i32 noundef 1)
%28 = call i32 @report_error(ptr noundef @.str.1)
br label %35
29: ; preds = %20
%30 = call i32 @report_count(i32 noundef 1)
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = call i32 @overwrite(ptr noundef %31, ptr noundef %32)
%34 = call i32 @report_return(i32 noundef %33)
br label %35
35: ; preds = %29, %26, %17, %10
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @overwrite(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/tmpzjruj0m9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%p\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"BAD ARGUMENT\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_overwrite(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load i32, ptr %3, align 4
%8 = call i32 @check_arg_count(i32 noundef %7, i32 noundef 2)
%9 = icmp eq i32 %8, 1
br i1 %9, label %10, label %11
10: ; preds = %2
br label %35
11: ; preds = %2
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i64 @sscanf(ptr noundef %14, ptr noundef @.str, ptr noundef %5)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %11
%18 = call i32 @report_count(i32 noundef 1)
%19 = call i32 @report_error(ptr noundef @.str.1)
br label %35
20: ; preds = %11
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 1
%23 = load ptr, ptr %22, align 8
%24 = call i64 @sscanf(ptr noundef %23, ptr noundef @.str, ptr noundef %6)
%25 = icmp eq i64 %24, 0
br i1 %25, label %26, label %29
26: ; preds = %20
%27 = call i32 @report_count(i32 noundef 1)
%28 = call i32 @report_error(ptr noundef @.str.1)
br label %35
29: ; preds = %20
%30 = call i32 @report_count(i32 noundef 1)
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %6, align 8
%33 = call i32 @overwrite(ptr noundef %31, ptr noundef %32)
%34 = call i32 @report_return(i32 noundef %33)
br label %35
35: ; preds = %29, %26, %17, %10
ret void
}
declare i32 @check_arg_count(i32 noundef, i32 noundef) #1
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @report_count(i32 noundef) #1
declare i32 @report_error(ptr noundef) #1
declare i32 @report_return(i32 noundef) #1
declare i32 @overwrite(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/tmpgvrma3an.c'
source_filename = "/tmp/tmpgvrma3an.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rnd_uniform_i() #0 {
%1 = load i64, ptr @INT_MAX, align 8
%2 = sitofp i64 %1 to double
%3 = fadd double %2, 0x3FEFF7CED916872B
%4 = fptosi double %3 to i64
%5 = call i64 @rnd_uniform_rng_d(i32 noundef 0, i64 noundef %4)
%6 = trunc i64 %5 to i32
ret i32 %6
}
declare i64 @rnd_uniform_rng_d(i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgvrma3an.c"
target datalayout = "e-m:e-p270: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 i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rnd_uniform_i() #0 {
%1 = load i64, ptr @INT_MAX, align 8
%2 = sitofp i64 %1 to double
%3 = fadd double %2, 0x3FEFF7CED916872B
%4 = fptosi double %3 to i64
%5 = call i64 @rnd_uniform_rng_d(i32 noundef 0, i64 noundef %4)
%6 = trunc i64 %5 to i32
ret i32 %6
}
declare i64 @rnd_uniform_rng_d(i32 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpspfkuoak.c'
source_filename = "/tmp/tmpspfkuoak.c"
target datalayout = "e-m:e-p270: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/tmpspfkuoak.c"
target datalayout = "e-m:e-p270: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/tmpje3k7_xn.c'
source_filename = "/tmp/tmpje3k7_xn.c"
target datalayout = "e-m:e-p270: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/tmpje3k7_xn.c"
target datalayout = "e-m:e-p270: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/tmptq6pnwbj.c'
source_filename = "/tmp/tmptq6pnwbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffi_callX_var(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmptq6pnwbj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ffi_callX_var(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store i32 %0, ptr %6, align 4
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvui_2kjy.c'
source_filename = "/tmp/tmpvui_2kjy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_phil(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %31, %1
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 8
br i1 %9, label %10, label %34
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = call i32 @fica_com_fome(i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = srem i32 %13, 2
%15 = icmp ne i32 %14, 0
br i1 %15, label %16, label %21
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = call i32 @pega_garfo_dir(i32 noundef %17)
%19 = load i32, ptr %3, align 4
%20 = call i32 @pega_garfo_esq(i32 noundef %19)
br label %26
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = call i32 @pega_garfo_esq(i32 noundef %22)
%24 = load i32, ptr %3, align 4
%25 = call i32 @pega_garfo_dir(i32 noundef %24)
br label %26
26: ; preds = %21, %16
%27 = load i32, ptr %3, align 4
%28 = call i32 @come(i32 noundef %27)
%29 = load i32, ptr %3, align 4
%30 = call i32 @solta_garfos_pensa(i32 noundef %29)
br label %31
31: ; preds = %26
%32 = load i32, ptr %4, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %4, align 4
br label %7, !llvm.loop !6
34: ; preds = %7
ret ptr null
}
declare i32 @fica_com_fome(i32 noundef) #1
declare i32 @pega_garfo_dir(i32 noundef) #1
declare i32 @pega_garfo_esq(i32 noundef) #1
declare i32 @come(i32 noundef) #1
declare i32 @solta_garfos_pensa(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/tmpvui_2kjy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_phil(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 8
br i1 %8, label %.lr.ph, label %35
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %30
%10 = load i32, ptr %3, align 4
%11 = call i32 @fica_com_fome(i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = srem i32 %12, 2
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %20
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = call i32 @pega_garfo_dir(i32 noundef %16)
%18 = load i32, ptr %3, align 4
%19 = call i32 @pega_garfo_esq(i32 noundef %18)
br label %25
20: ; preds = %9
%21 = load i32, ptr %3, align 4
%22 = call i32 @pega_garfo_esq(i32 noundef %21)
%23 = load i32, ptr %3, align 4
%24 = call i32 @pega_garfo_dir(i32 noundef %23)
br label %25
25: ; preds = %20, %15
%26 = load i32, ptr %3, align 4
%27 = call i32 @come(i32 noundef %26)
%28 = load i32, ptr %3, align 4
%29 = call i32 @solta_garfos_pensa(i32 noundef %28)
br label %30
30: ; preds = %25
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 8
br i1 %34, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %1
ret ptr null
}
declare i32 @fica_com_fome(i32 noundef) #1
declare i32 @pega_garfo_dir(i32 noundef) #1
declare i32 @pega_garfo_esq(i32 noundef) #1
declare i32 @come(i32 noundef) #1
declare i32 @solta_garfos_pensa(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/tmpnn4fgjpr.c'
source_filename = "/tmp/tmpnn4fgjpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_STAT_VER = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__xstat(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr @_STAT_VER, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14, %11, %3
%18 = load i32, ptr @EINVAL, align 4
%19 = call i32 @__set_errno(i32 noundef %18)
store i32 -1, ptr %4, align 4
br label %23
20: ; preds = %14
%21 = load i32, ptr @ENOSYS, align 4
%22 = call i32 @__set_errno(i32 noundef %21)
store i32 -1, ptr %4, align 4
br label %23
23: ; preds = %20, %17
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare i32 @__set_errno(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/tmpnn4fgjpr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_STAT_VER = dso_local global i32 0, align 4
@EINVAL = dso_local global i32 0, align 4
@ENOSYS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @__xstat(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr @_STAT_VER, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %17, label %11
11: ; preds = %3
%12 = load ptr, ptr %6, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %14, %11, %3
%18 = load i32, ptr @EINVAL, align 4
%19 = call i32 @__set_errno(i32 noundef %18)
store i32 -1, ptr %4, align 4
br label %23
20: ; preds = %14
%21 = load i32, ptr @ENOSYS, align 4
%22 = call i32 @__set_errno(i32 noundef %21)
store i32 -1, ptr %4, align 4
br label %23
23: ; preds = %20, %17
%24 = load i32, ptr %4, align 4
ret i32 %24
}
declare i32 @__set_errno(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/tmponcajdfs.c'
source_filename = "/tmp/tmponcajdfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CTL_del_bridges(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %4, align 4
store i32 1, ptr %3, align 4
br label %8
8: ; preds = %19, %1
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %22
12: ; preds = %8
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 @delete_br_byindex(i32 noundef %17)
br label %19
19: ; preds = %12
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %3, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
ret i32 0
}
declare i32 @delete_br_byindex(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/tmponcajdfs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CTL_del_bridges(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = getelementptr inbounds i32, ptr %5, i64 0
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %4, align 4
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %18
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 @delete_br_byindex(i32 noundef %16)
br label %18
18: ; preds = %11
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = load i32, ptr %4, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %24
24: ; preds = %._crit_edge, %1
ret i32 0
}
declare i32 @delete_br_byindex(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/tmpei8jazr5.c'
source_filename = "/tmp/tmpei8jazr5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @netdata_cleanup_and_exit(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 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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/tmpei8jazr5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @netdata_cleanup_and_exit(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 @exit(i32 noundef %3) #2
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(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 = { 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/tmp84k1getp.c'
source_filename = "/tmp/tmp84k1getp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@optind = dso_local constant i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_argv_str(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @optind, align 4
%8 = add nsw i32 %6, %7
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %5, i64 %9
%11 = load ptr, ptr %10, align 8
ret ptr %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84k1getp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@optind = dso_local constant i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_argv_str(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr @optind, align 4
%8 = add nsw i32 %6, %7
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds ptr, ptr %5, i64 %9
%11 = load ptr, ptr %10, align 8
ret ptr %11
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpfuf_3gkl.c'
source_filename = "/tmp/tmpfuf_3gkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"STATUS=Starting up\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"STATUS=Running\0AREADY=1\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"STATUS=Quitting\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @sd_notify(i32 noundef 0, ptr noundef @.str)
%7 = call i32 @sleep(i32 noundef 5)
%8 = call i32 @sd_notify(i32 noundef 0, ptr noundef @.str.1)
%9 = call i32 @sleep(i32 noundef 10)
%10 = call i32 @sd_notify(i32 noundef 0, ptr noundef @.str.2)
ret i32 0
}
declare i32 @sd_notify(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfuf_3gkl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"STATUS=Starting up\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"STATUS=Running\0AREADY=1\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"STATUS=Quitting\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @sd_notify(i32 noundef 0, ptr noundef @.str)
%7 = call i32 @sleep(i32 noundef 5)
%8 = call i32 @sd_notify(i32 noundef 0, ptr noundef @.str.1)
%9 = call i32 @sleep(i32 noundef 10)
%10 = call i32 @sd_notify(i32 noundef 0, ptr noundef @.str.2)
ret i32 0
}
declare i32 @sd_notify(i32 noundef, ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9p3po1wb.c'
source_filename = "/tmp/tmp9p3po1wb.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"\0AProper Usage is: \00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"\0A\0Alist_it filename.ext\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
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/tmp9p3po1wb.c"
target datalayout = "e-m:e-p270: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 [19 x i8] c"\0AProper Usage is: \00", align 1
@.str.1 = private unnamed_addr constant [24 x i8] c"\0A\0Alist_it filename.ext\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
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/tmp3fazneae.c'
source_filename = "/tmp/tmp3fazneae.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Usage: %s [OPTIONS] <filename>\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c" -h, --help Show help\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 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1)
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/tmp3fazneae.c"
target datalayout = "e-m:e-p270: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 [32 x i8] c"Usage: %s [OPTIONS] <filename>\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Options:\0A\00", align 1
@.str.3 = private unnamed_addr constant [42 x i8] c" -h, --help Show help\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 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1)
%8 = load i32, ptr @stderr, align 4
%9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %8, ptr noundef @.str.2)
%10 = load i32, ptr @stderr, align 4
%11 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3)
%12 = load i32, ptr @stderr, align 4
%13 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef @.str.1)
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/tmpt1q195g8.c'
source_filename = "/tmp/tmpt1q195g8.c"
target datalayout = "e-m:e-p270: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 [67 x i8] c"Usage: 'eitsecfilter file.sec +onid tsid sid +onid tsid sid [...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
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/tmpt1q195g8.c"
target datalayout = "e-m:e-p270: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 [67 x i8] c"Usage: 'eitsecfilter file.sec +onid tsid sid +onid tsid sid [...]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
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/tmp7jbjkgc7.c'
source_filename = "/tmp/tmp7jbjkgc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"stats-tube %s\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bs_stats_tube(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [512 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 512, i1 false)
%8 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 512, ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %6, align 8
%14 = call i32 @bs_get_info(i32 noundef %11, ptr noundef %12, ptr noundef %13)
ret i32 %14
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @bs_get_info(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7jbjkgc7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"stats-tube %s\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bs_stats_tube(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [512 x i8], align 16
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 512, i1 false)
%8 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%9 = load ptr, ptr %5, align 8
%10 = call i32 @snprintf(ptr noundef %8, i32 noundef 512, ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
%13 = load ptr, ptr %6, align 8
%14 = call i32 @bs_get_info(i32 noundef %11, ptr noundef %12, ptr noundef %13)
ret i32 %14
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2
declare i32 @bs_get_info(i32 noundef, ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpn9sn3aqu.c'
source_filename = "/tmp/tmpn9sn3aqu.c"
target datalayout = "e-m:e-p270: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/tmpn9sn3aqu.c"
target datalayout = "e-m:e-p270: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/tmpu52y86u7.c'
source_filename = "/tmp/tmpu52y86u7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @LZ4_compress_limitedOutput(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 65547
br i1 %11, label %12, label %18
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = call i32 @LZ4_compress64kCtx(ptr noundef null, ptr noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %16)
store i32 %17, ptr %5, align 4
br label %24
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = call i32 @LZ4_compressCtx(ptr noundef null, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %18, %12
%25 = load i32, ptr %5, align 4
ret i32 %25
}
declare i32 @LZ4_compress64kCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @LZ4_compressCtx(ptr noundef, ptr 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/tmpu52y86u7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @LZ4_compress_limitedOutput(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = load i32, ptr %8, align 4
%11 = icmp slt i32 %10, 65547
br i1 %11, label %12, label %18
12: ; preds = %4
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %9, align 4
%17 = call i32 @LZ4_compress64kCtx(ptr noundef null, ptr noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef %16)
store i32 %17, ptr %5, align 4
br label %24
18: ; preds = %4
%19 = load ptr, ptr %6, align 8
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %9, align 4
%23 = call i32 @LZ4_compressCtx(ptr noundef null, ptr noundef %19, ptr noundef %20, i32 noundef %21, i32 noundef %22)
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %18, %12
%25 = load i32, ptr %5, align 4
ret i32 %25
}
declare i32 @LZ4_compress64kCtx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @LZ4_compressCtx(ptr noundef, ptr 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/tmpztmjgg2n.c'
source_filename = "/tmp/tmpztmjgg2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_enum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @xdr_int(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @xdr_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/tmpztmjgg2n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_enum(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @xdr_int(ptr noundef %5, ptr noundef %6)
ret i32 %7
}
declare i32 @xdr_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/tmpai8vji7m.c'
source_filename = "/tmp/tmpai8vji7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_job(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = call i32 @map_over_jobs(ptr noundef @print_job)
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @map_over_jobs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpai8vji7m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_job(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i32 %1, ptr %7, align 4
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
%10 = call i32 @map_over_jobs(ptr noundef @print_job)
%11 = load i32, ptr %5, align 4
ret i32 %11
}
declare i32 @map_over_jobs(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpya9mze7l.c'
source_filename = "/tmp/tmpya9mze7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"enter total number of roles: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"*A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"*\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @starA() #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 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %1)
store i32 1, ptr %2, align 4
br label %7
7: ; preds = %36, %0
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %11, label %39
11: ; preds = %7
store i32 1, ptr %4, align 4
br label %12
12: ; preds = %20, %11
%13 = load i32, ptr %4, align 4
%14 = load i32, ptr %1, align 4
%15 = load i32, ptr %2, align 4
%16 = sub nsw i32 %14, %15
%17 = icmp sle i32 %13, %16
br i1 %17, label %18, label %23
18: ; preds = %12
%19 = call i32 @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %18
%21 = load i32, ptr %4, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %4, align 4
br label %12, !llvm.loop !6
23: ; preds = %12
store i32 1, ptr %3, align 4
br label %24
24: ; preds = %31, %23
%25 = load i32, ptr %3, align 4
%26 = load i32, ptr %2, align 4
%27 = sub nsw i32 %26, 1
%28 = icmp sle i32 %25, %27
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = call i32 @printf(ptr noundef @.str.3)
br label %31
31: ; preds = %29
%32 = load i32, ptr %3, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %3, align 4
br label %24, !llvm.loop !8
34: ; preds = %24
%35 = call i32 @printf(ptr noundef @.str.4)
br label %36
36: ; preds = %34
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %2, align 4
br label %7, !llvm.loop !9
39: ; preds = %7
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpya9mze7l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"enter total number of roles: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"*A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"*\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @starA() #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 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @scanf_s(ptr noundef @.str.1, ptr noundef %1)
store i32 1, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %1, align 4
%9 = icmp sle i32 %7, %8
br i1 %9, label %.lr.ph5, label %48
.lr.ph5: ; preds = %0
br label %10
10: ; preds = %.lr.ph5, %42
store i32 1, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %1, align 4
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 %12, %13
%15 = icmp sle i32 %11, %14
br i1 %15, label %.lr.ph, label %26
.lr.ph: ; preds = %10
br label %16
16: ; preds = %.lr.ph, %18
%17 = call i32 @printf(ptr noundef @.str.2)
br label %18
18: ; preds = %16
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
%21 = load i32, ptr %4, align 4
%22 = load i32, ptr %1, align 4
%23 = load i32, ptr %2, align 4
%24 = sub nsw i32 %22, %23
%25 = icmp sle i32 %21, %24
br i1 %25, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %26
26: ; preds = %._crit_edge, %10
store i32 1, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = sub nsw i32 %28, 1
%30 = icmp sle i32 %27, %29
br i1 %30, label %.lr.ph2, label %40
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %33
%32 = call i32 @printf(ptr noundef @.str.3)
br label %33
33: ; preds = %31
%34 = load i32, ptr %3, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %3, align 4
%36 = load i32, ptr %3, align 4
%37 = load i32, ptr %2, align 4
%38 = sub nsw i32 %37, 1
%39 = icmp sle i32 %36, %38
br i1 %39, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %33
br label %40
40: ; preds = %._crit_edge3, %26
%41 = call i32 @printf(ptr noundef @.str.4)
br label %42
42: ; preds = %40
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %2, align 4
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %1, align 4
%47 = icmp sle i32 %45, %46
br i1 %47, label %10, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %42
br label %48
48: ; preds = %._crit_edge6, %0
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf_s(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpe_1zl1ql.c'
source_filename = "/tmp/tmpe_1zl1ql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_cdio_strdup_upper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %22
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %3, align 8
store ptr %9, ptr %4, align 8
br label %10
10: ; preds = %14, %7
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = icmp ne i8 %12, 0
br i1 %13, label %14, label %21
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i8, ptr %15, align 1
%17 = call signext i8 @toupper(i8 noundef signext %16)
%18 = load ptr, ptr %4, align 8
store i8 %17, ptr %18, align 1
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %4, align 8
br label %10, !llvm.loop !6
21: ; preds = %10
br label %22
22: ; preds = %21, %1
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare ptr @strdup(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe_1zl1ql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_cdio_strdup_upper(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store ptr null, ptr %3, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp ne ptr %5, null
br i1 %6, label %7, label %24
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call ptr @strdup(ptr noundef %8)
store ptr %9, ptr %3, align 8
store ptr %9, ptr %4, align 8
%10 = load ptr, ptr %4, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %7
br label %13
13: ; preds = %.lr.ph, %13
%14 = load ptr, ptr %4, align 8
%15 = load i8, ptr %14, align 1
%16 = call signext i8 @toupper(i8 noundef signext %15)
%17 = load ptr, ptr %4, align 8
store i8 %16, ptr %17, align 1
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load ptr, ptr %4, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %23
23: ; preds = %._crit_edge, %7
br label %24
24: ; preds = %23, %1
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
declare ptr @strdup(ptr noundef) #1
declare signext i8 @toupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9ro5ktby.c'
source_filename = "/tmp/tmp9ro5ktby.c"
target datalayout = "e-m:e-p270: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/tmp9ro5ktby.c"
target datalayout = "e-m:e-p270: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/tmprlmzwnvt.c'
source_filename = "/tmp/tmprlmzwnvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%%%02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @urlenc_encode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %1
%14 = call ptr @strdup(ptr noundef @.str)
store ptr %14, ptr %2, align 8
br label %77
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = add nsw i32 %17, 1
%19 = sext i32 %18 to i64
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %4, align 8
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %4, align 8
%22 = call ptr @malloc(i64 noundef %21)
store ptr %22, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %15
store ptr null, ptr %2, align 8
br label %77
25: ; preds = %15
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 1
store i64 %27, ptr %10, align 8
br label %28
28: ; preds = %69, %25
%29 = load i64, ptr %10, align 8
%30 = add i64 %29, -1
store i64 %30, ptr %10, align 8
%31 = icmp ne i64 %29, 0
br i1 %31, label %32, label %72
32: ; preds = %28
%33 = load ptr, ptr %3, align 8
%34 = load i8, ptr %33, align 1
store i8 %34, ptr %8, align 1
%35 = load i8, ptr %8, align 1
%36 = zext i8 %35 to i32
switch i32 %36, label %43 [
i32 48, label %37
i32 49, label %37
i32 50, label %37
i32 51, label %37
i32 52, label %37
i32 53, label %37
i32 54, label %37
i32 55, label %37
i32 56, label %37
i32 57, label %37
i32 97, label %37
i32 98, label %37
i32 99, label %37
i32 100, label %37
i32 101, label %37
i32 102, label %37
i32 103, label %37
i32 104, label %37
i32 105, label %37
i32 106, label %37
i32 107, label %37
i32 108, label %37
i32 109, label %37
i32 110, label %37
i32 111, label %37
i32 112, label %37
i32 113, label %37
i32 114, label %37
i32 115, label %37
i32 116, label %37
i32 117, label %37
i32 118, label %37
i32 119, label %37
i32 120, label %37
i32 121, label %37
i32 122, label %37
i32 65, label %37
i32 66, label %37
i32 67, label %37
i32 68, label %37
i32 69, label %37
i32 70, label %37
i32 71, label %37
i32 72, label %37
i32 73, label %37
i32 74, label %37
i32 75, label %37
i32 76, label %37
i32 77, label %37
i32 78, label %37
i32 79, label %37
i32 80, label %37
i32 81, label %37
i32 82, label %37
i32 83, label %37
i32 84, label %37
i32 85, label %37
i32 86, label %37
i32 87, label %37
i32 88, label %37
i32 89, label %37
i32 90, label %37
i32 95, label %37
i32 126, label %37
i32 46, label %37
i32 45, label %37
]
37: ; preds = %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32, %32
%38 = load i8, ptr %8, align 1
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %9, align 8
%41 = add i64 %40, 1
store i64 %41, ptr %9, align 8
%42 = getelementptr inbounds i8, ptr %39, i64 %40
store i8 %38, ptr %42, align 1
br label %69
43: ; preds = %32
%44 = load i64, ptr %5, align 8
%45 = add i64 %44, 2
store i64 %45, ptr %5, align 8
%46 = load i64, ptr %5, align 8
%47 = load i64, ptr %4, align 8
%48 = icmp ugt i64 %46, %47
br i1 %48, label %49, label %61
49: ; preds = %43
%50 = load i64, ptr %4, align 8
%51 = mul i64 %50, 2
store i64 %51, ptr %4, align 8
%52 = load ptr, ptr %6, align 8
%53 = load i64, ptr %4, align 8
%54 = call ptr @realloc(ptr noundef %52, i64 noundef %53)
store ptr %54, ptr %7, align 8
%55 = icmp eq ptr %54, null
br i1 %55, label %56, label %59
56: ; preds = %49
%57 = load ptr, ptr %6, align 8
%58 = call i32 @free(ptr noundef %57)
store ptr null, ptr %2, align 8
br label %77
59: ; preds = %49
%60 = load ptr, ptr %7, align 8
store ptr %60, ptr %6, align 8
br label %61
61: ; preds = %59, %43
%62 = load ptr, ptr %6, align 8
%63 = load i64, ptr %9, align 8
%64 = getelementptr inbounds i8, ptr %62, i64 %63
%65 = load i8, ptr %8, align 1
%66 = call i32 @snprintf(ptr noundef %64, i32 noundef 4, ptr noundef @.str.1, i8 noundef zeroext %65)
%67 = load i64, ptr %9, align 8
%68 = add i64 %67, 3
store i64 %68, ptr %9, align 8
br label %69
69: ; preds = %61, %37
%70 = load ptr, ptr %3, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %3, align 8
br label %28, !llvm.loop !6
72: ; preds = %28
%73 = load ptr, ptr %6, align 8
%74 = load i64, ptr %9, align 8
%75 = getelementptr inbounds i8, ptr %73, i64 %74
store i8 0, ptr %75, align 1
%76 = load ptr, ptr %6, align 8
store ptr %76, ptr %2, align 8
br label %77
77: ; preds = %72, %56, %24, %13
%78 = load ptr, ptr %2, align 8
ret ptr %78
}
declare ptr @strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmprlmzwnvt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%%%02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @urlenc_encode(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i8, align 1
%9 = alloca i64, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store ptr null, ptr %6, align 8
store ptr null, ptr %7, align 8
store i64 0, ptr %9, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %15, label %13
13: ; preds = %1
%14 = call ptr @strdup(ptr noundef @.str)
store ptr %14, ptr %2, align 8
br label %79
15: ; preds = %1
%16 = load ptr, ptr %3, align 8
%17 = call i32 @strlen(ptr noundef %16)
%18 = add nsw i32 %17, 1
%19 = sext i32 %18 to i64
store i64 %19, ptr %4, align 8
%20 = load i64, ptr %4, align 8
store i64 %20, ptr %5, align 8
%21 = load i64, ptr %4, align 8
%22 = call ptr @malloc(i64 noundef %21)
store ptr %22, ptr %6, align 8
%23 = icmp eq ptr %22, null
br i1 %23, label %24, label %25
24: ; preds = %15
store ptr null, ptr %2, align 8
br label %79
25: ; preds = %15
%26 = load i64, ptr %4, align 8
%27 = sub i64 %26, 1
store i64 %27, ptr %10, align 8
%28 = load i64, ptr %10, align 8
%29 = add i64 %28, -1
store i64 %29, ptr %10, align 8
%30 = icmp ne i64 %28, 0
br i1 %30, label %.lr.ph, label %74
.lr.ph: ; preds = %25
br label %31
31: ; preds = %.lr.ph, %68
%32 = load ptr, ptr %3, align 8
%33 = load i8, ptr %32, align 1
store i8 %33, ptr %8, align 1
%34 = load i8, ptr %8, align 1
%35 = zext i8 %34 to i32
switch i32 %35, label %42 [
i32 48, label %36
i32 49, label %36
i32 50, label %36
i32 51, label %36
i32 52, label %36
i32 53, label %36
i32 54, label %36
i32 55, label %36
i32 56, label %36
i32 57, label %36
i32 97, label %36
i32 98, label %36
i32 99, label %36
i32 100, label %36
i32 101, label %36
i32 102, label %36
i32 103, label %36
i32 104, label %36
i32 105, label %36
i32 106, label %36
i32 107, label %36
i32 108, label %36
i32 109, label %36
i32 110, label %36
i32 111, label %36
i32 112, label %36
i32 113, label %36
i32 114, label %36
i32 115, label %36
i32 116, label %36
i32 117, label %36
i32 118, label %36
i32 119, label %36
i32 120, label %36
i32 121, label %36
i32 122, label %36
i32 65, label %36
i32 66, label %36
i32 67, label %36
i32 68, label %36
i32 69, label %36
i32 70, label %36
i32 71, label %36
i32 72, label %36
i32 73, label %36
i32 74, label %36
i32 75, label %36
i32 76, label %36
i32 77, label %36
i32 78, label %36
i32 79, label %36
i32 80, label %36
i32 81, label %36
i32 82, label %36
i32 83, label %36
i32 84, label %36
i32 85, label %36
i32 86, label %36
i32 87, label %36
i32 88, label %36
i32 89, label %36
i32 90, label %36
i32 95, label %36
i32 126, label %36
i32 46, label %36
i32 45, label %36
]
36: ; preds = %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31, %31
%37 = load i8, ptr %8, align 1
%38 = load ptr, ptr %6, align 8
%39 = load i64, ptr %9, align 8
%40 = add i64 %39, 1
store i64 %40, ptr %9, align 8
%41 = getelementptr inbounds i8, ptr %38, i64 %39
store i8 %37, ptr %41, align 1
br label %68
42: ; preds = %31
%43 = load i64, ptr %5, align 8
%44 = add i64 %43, 2
store i64 %44, ptr %5, align 8
%45 = load i64, ptr %5, align 8
%46 = load i64, ptr %4, align 8
%47 = icmp ugt i64 %45, %46
br i1 %47, label %48, label %60
48: ; preds = %42
%49 = load i64, ptr %4, align 8
%50 = mul i64 %49, 2
store i64 %50, ptr %4, align 8
%51 = load ptr, ptr %6, align 8
%52 = load i64, ptr %4, align 8
%53 = call ptr @realloc(ptr noundef %51, i64 noundef %52)
store ptr %53, ptr %7, align 8
%54 = icmp eq ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %48
%56 = load ptr, ptr %6, align 8
%57 = call i32 @free(ptr noundef %56)
store ptr null, ptr %2, align 8
br label %79
58: ; preds = %48
%59 = load ptr, ptr %7, align 8
store ptr %59, ptr %6, align 8
br label %60
60: ; preds = %58, %42
%61 = load ptr, ptr %6, align 8
%62 = load i64, ptr %9, align 8
%63 = getelementptr inbounds i8, ptr %61, i64 %62
%64 = load i8, ptr %8, align 1
%65 = call i32 @snprintf(ptr noundef %63, i32 noundef 4, ptr noundef @.str.1, i8 noundef zeroext %64)
%66 = load i64, ptr %9, align 8
%67 = add i64 %66, 3
store i64 %67, ptr %9, align 8
br label %68
68: ; preds = %60, %36
%69 = load ptr, ptr %3, align 8
%70 = getelementptr inbounds i8, ptr %69, i32 1
store ptr %70, ptr %3, align 8
%71 = load i64, ptr %10, align 8
%72 = add i64 %71, -1
store i64 %72, ptr %10, align 8
%73 = icmp ne i64 %71, 0
br i1 %73, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %68
br label %74
74: ; preds = %._crit_edge, %25
%75 = load ptr, ptr %6, align 8
%76 = load i64, ptr %9, align 8
%77 = getelementptr inbounds i8, ptr %75, i64 %76
store i8 0, ptr %77, align 1
%78 = load ptr, ptr %6, align 8
store ptr %78, ptr %2, align 8
br label %79
79: ; preds = %74, %55, %24, %13
%80 = load ptr, ptr %2, align 8
ret ptr %80
}
declare ptr @strdup(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i64 noundef) #1
declare ptr @realloc(ptr noundef, i64 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpnym3go2s.c'
source_filename = "/tmp/tmpnym3go2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Stop.flag = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Stop() #0 {
%1 = load i32, ptr @Stop.flag, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
store i32 1, ptr @Stop.flag, align 4
%4 = call i32 @iopl(i32 noundef 3)
br label %5
5: ; preds = %3, %0
%6 = call i32 @outb(i32 noundef 252, i32 noundef 97)
ret void
}
declare i32 @iopl(i32 noundef) #1
declare i32 @outb(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/tmpnym3go2s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Stop.flag = internal global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Stop() #0 {
%1 = load i32, ptr @Stop.flag, align 4
%2 = icmp eq i32 %1, 0
br i1 %2, label %3, label %5
3: ; preds = %0
store i32 1, ptr @Stop.flag, align 4
%4 = call i32 @iopl(i32 noundef 3)
br label %5
5: ; preds = %3, %0
%6 = call i32 @outb(i32 noundef 252, i32 noundef 97)
ret void
}
declare i32 @iopl(i32 noundef) #1
declare i32 @outb(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/tmpsq7655oy.c'
source_filename = "/tmp/tmpsq7655oy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = call i64 @malloc(i32 noundef 256)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @get_filename_c(ptr noundef %9, ptr noundef %3, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
ret ptr %12
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @get_filename_c(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/tmpsq7655oy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_filename(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call i32 @strlen(ptr noundef %5)
store i32 %6, ptr %3, align 4
%7 = call i64 @malloc(i32 noundef 256)
%8 = inttoptr i64 %7 to ptr
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %2, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i32 @get_filename_c(ptr noundef %9, ptr noundef %3, ptr noundef %10)
%12 = load ptr, ptr %4, align 8
ret ptr %12
}
declare i32 @strlen(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @get_filename_c(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/tmpjb4nv7t4.c'
source_filename = "/tmp/tmpjb4nv7t4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Give me your ASCII code value (decimal only):\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Your code value %d is '%c' in ASCII.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %6)
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/tmpjb4nv7t4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Give me your ASCII code value (decimal only):\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"Your code value %d is '%c' in ASCII.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %5, i32 noundef %6)
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/tmpy2sf63sl.c'
source_filename = "/tmp/tmpy2sf63sl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@KVM_EXIT_DCR = dso_local global i64 0, align 8
@KVM_EXIT_DEBUG = dso_local global i64 0, align 8
@KVM_EXIT_EXCEPTION = dso_local global i64 0, align 8
@KVM_EXIT_FAIL_ENTRY = dso_local global i64 0, align 8
@KVM_EXIT_HLT = dso_local global i64 0, align 8
@KVM_EXIT_HYPERCALL = dso_local global i64 0, align 8
@KVM_EXIT_INTERNAL_ERROR = dso_local global i64 0, align 8
@KVM_EXIT_INTR = dso_local global i64 0, align 8
@KVM_EXIT_IO = dso_local global i64 0, align 8
@KVM_EXIT_IRQ_WINDOW_OPEN = dso_local global i64 0, align 8
@KVM_EXIT_MMIO = dso_local global i64 0, align 8
@KVM_EXIT_NMI = dso_local global i64 0, align 8
@KVM_EXIT_OSI = dso_local global i64 0, align 8
@KVM_EXIT_PAPR_HCALL = dso_local global i64 0, align 8
@KVM_EXIT_S390_RESET = dso_local global i64 0, align 8
@KVM_EXIT_S390_SIEIC = dso_local global i64 0, align 8
@KVM_EXIT_SET_TPR = dso_local global i64 0, align 8
@KVM_EXIT_SHUTDOWN = dso_local global i64 0, align 8
@KVM_EXIT_TPR_ACCESS = dso_local global i64 0, align 8
@KVM_EXIT_UNKNOWN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy2sf63sl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@KVM_EXIT_DCR = dso_local global i64 0, align 8
@KVM_EXIT_DEBUG = dso_local global i64 0, align 8
@KVM_EXIT_EXCEPTION = dso_local global i64 0, align 8
@KVM_EXIT_FAIL_ENTRY = dso_local global i64 0, align 8
@KVM_EXIT_HLT = dso_local global i64 0, align 8
@KVM_EXIT_HYPERCALL = dso_local global i64 0, align 8
@KVM_EXIT_INTERNAL_ERROR = dso_local global i64 0, align 8
@KVM_EXIT_INTR = dso_local global i64 0, align 8
@KVM_EXIT_IO = dso_local global i64 0, align 8
@KVM_EXIT_IRQ_WINDOW_OPEN = dso_local global i64 0, align 8
@KVM_EXIT_MMIO = dso_local global i64 0, align 8
@KVM_EXIT_NMI = dso_local global i64 0, align 8
@KVM_EXIT_OSI = dso_local global i64 0, align 8
@KVM_EXIT_PAPR_HCALL = dso_local global i64 0, align 8
@KVM_EXIT_S390_RESET = dso_local global i64 0, align 8
@KVM_EXIT_S390_SIEIC = dso_local global i64 0, align 8
@KVM_EXIT_SET_TPR = dso_local global i64 0, align 8
@KVM_EXIT_SHUTDOWN = dso_local global i64 0, align 8
@KVM_EXIT_TPR_ACCESS = dso_local global i64 0, align 8
@KVM_EXIT_UNKNOWN = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphkrjbfen.c'
source_filename = "/tmp/tmphkrjbfen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_SHARED = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmphkrjbfen.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAP_FAILED = dso_local global ptr null, align 8
@MAP_SHARED = dso_local global i32 0, align 4
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = 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/tmpjzwetnvf.c'
source_filename = "/tmp/tmpjzwetnvf.c"
target datalayout = "e-m:e-p270: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/tmpjzwetnvf.c"
target datalayout = "e-m:e-p270: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/tmprhuopfqi.c'
source_filename = "/tmp/tmprhuopfqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"read\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @usage(ptr noundef %11)
br label %13
13: ; preds = %8, %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @stegmp_read(ptr noundef %22)
store i32 %23, ptr %3, align 4
br label %52
24: ; preds = %13
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.1)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %46
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 4
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 0
%36 = load ptr, ptr %35, align 8
%37 = call i32 @usage(ptr noundef %36)
br label %38
38: ; preds = %33, %30
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 3
%44 = load ptr, ptr %43, align 8
%45 = call i32 @stegmp_write(ptr noundef %41, ptr noundef %44)
store i32 %45, ptr %3, align 4
br label %52
46: ; preds = %24
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 0
%49 = load ptr, ptr %48, align 8
%50 = call i32 @usage(ptr noundef %49)
br label %51
51: ; preds = %46
br label %52
52: ; preds = %19, %38, %51
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @usage(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @stegmp_read(ptr noundef) #1
declare i32 @stegmp_write(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/tmprhuopfqi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"read\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"write\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 3
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
%12 = call i32 @usage(ptr noundef %11)
br label %13
13: ; preds = %8, %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str)
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %24
19: ; preds = %13
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 2
%22 = load ptr, ptr %21, align 8
%23 = call i32 @stegmp_read(ptr noundef %22)
store i32 %23, ptr %3, align 4
br label %52
24: ; preds = %13
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.1)
%29 = icmp eq i64 %28, 0
br i1 %29, label %30, label %46
30: ; preds = %24
%31 = load i32, ptr %4, align 4
%32 = icmp slt i32 %31, 4
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load ptr, ptr %5, align 8
%35 = getelementptr inbounds ptr, ptr %34, i64 0
%36 = load ptr, ptr %35, align 8
%37 = call i32 @usage(ptr noundef %36)
br label %38
38: ; preds = %33, %30
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds ptr, ptr %39, i64 2
%41 = load ptr, ptr %40, align 8
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 3
%44 = load ptr, ptr %43, align 8
%45 = call i32 @stegmp_write(ptr noundef %41, ptr noundef %44)
store i32 %45, ptr %3, align 4
br label %52
46: ; preds = %24
%47 = load ptr, ptr %5, align 8
%48 = getelementptr inbounds ptr, ptr %47, i64 0
%49 = load ptr, ptr %48, align 8
%50 = call i32 @usage(ptr noundef %49)
br label %51
51: ; preds = %46
br label %52
52: ; preds = %51, %38, %19
%53 = load i32, ptr %3, align 4
ret i32 %53
}
declare i32 @usage(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @stegmp_read(ptr noundef) #1
declare i32 @stegmp_write(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/tmpa090p4nl.c'
source_filename = "/tmp/tmpa090p4nl.c"
target datalayout = "e-m:e-p270: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/tmpa090p4nl.c"
target datalayout = "e-m:e-p270: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/tmpwvtuw1id.c'
source_filename = "/tmp/tmpwvtuw1id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_NGROUPS_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Could not getresuid\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Could not getresgid\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Could not allocate memory\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c"getgroups\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"ruid=%d, euid=%d, suid=%d, \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"rgid=%d, egid=%d, sgid=%d, \00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"groups=\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %9, align 4
%11 = load i32, ptr @_SC_NGROUPS_MAX, align 4
%12 = call i32 @sysconf(i32 noundef %11)
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
store i64 %14, ptr %10, align 8
%15 = call i64 @getresuid(ptr noundef %2, ptr noundef %3, ptr noundef %4)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %0
%18 = call i32 @perror(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %0
%21 = call i64 @getresgid(ptr noundef %5, ptr noundef %6, ptr noundef %7)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 @perror(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %20
%27 = load i64, ptr %10, align 8
%28 = mul i64 %27, 4
%29 = call i64 @malloc(i64 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %37
33: ; preds = %26
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %26
%38 = load i64, ptr %10, align 8
%39 = load ptr, ptr %8, align 8
%40 = call i32 @getgroups(i64 noundef %38, ptr noundef %39)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %37
%44 = call i32 @perror(ptr noundef @.str.3)
%45 = load ptr, ptr %8, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
48: ; preds = %37
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %4, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %49, i32 noundef %50, i32 noundef %51)
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %7, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53, i32 noundef %54, i32 noundef %55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
br label %58
58: ; preds = %76, %48
%59 = load i32, ptr %1, align 4
%60 = load i32, ptr %9, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %79
62: ; preds = %58
%63 = load ptr, ptr %8, align 8
%64 = load i32, ptr %1, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = load i32, ptr %66, align 4
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %67)
%69 = load i32, ptr %1, align 4
%70 = load i32, ptr %9, align 4
%71 = sub nsw i32 %70, 1
%72 = icmp slt i32 %69, %71
br i1 %72, label %73, label %75
73: ; preds = %62
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %75
75: ; preds = %73, %62
br label %76
76: ; preds = %75
%77 = load i32, ptr %1, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %1, align 4
br label %58, !llvm.loop !6
79: ; preds = %58
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%81 = load ptr, ptr %8, align 8
%82 = call i32 @free(ptr noundef %81)
ret i32 0
}
declare i32 @sysconf(i32 noundef) #1
declare i64 @getresuid(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @getresgid(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getgroups(i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwvtuw1id.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_NGROUPS_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Could not getresuid\00", align 1
@.str.1 = private unnamed_addr constant [20 x i8] c"Could not getresgid\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Could not allocate memory\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [10 x i8] c"getgroups\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"ruid=%d, euid=%d, suid=%d, \00", align 1
@.str.5 = private unnamed_addr constant [28 x i8] c"rgid=%d, egid=%d, sgid=%d, \00", align 1
@.str.6 = private unnamed_addr constant [8 x i8] c"groups=\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.8 = private unnamed_addr constant [2 x i8] c",\00", align 1
@.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
store ptr null, ptr %8, align 8
store i32 0, ptr %9, align 4
%11 = load i32, ptr @_SC_NGROUPS_MAX, align 4
%12 = call i32 @sysconf(i32 noundef %11)
%13 = add nsw i32 %12, 1
%14 = sext i32 %13 to i64
store i64 %14, ptr %10, align 8
%15 = call i64 @getresuid(ptr noundef %2, ptr noundef %3, ptr noundef %4)
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %20
17: ; preds = %0
%18 = call i32 @perror(ptr noundef @.str)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %0
%21 = call i64 @getresgid(ptr noundef %5, ptr noundef %6, ptr noundef %7)
%22 = icmp slt i64 %21, 0
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = call i32 @perror(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %20
%27 = load i64, ptr %10, align 8
%28 = mul i64 %27, 4
%29 = call i64 @malloc(i64 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %37
33: ; preds = %26
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%35 = load i32, ptr @EXIT_FAILURE, align 4
%36 = call i32 @exit(i32 noundef %35) #3
unreachable
37: ; preds = %26
%38 = load i64, ptr %10, align 8
%39 = load ptr, ptr %8, align 8
%40 = call i32 @getgroups(i64 noundef %38, ptr noundef %39)
store i32 %40, ptr %9, align 4
%41 = load i32, ptr %9, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %37
%44 = call i32 @perror(ptr noundef @.str.3)
%45 = load ptr, ptr %8, align 8
%46 = call i32 @free(ptr noundef %45)
%47 = call i32 @exit(i32 noundef 1) #3
unreachable
48: ; preds = %37
%49 = load i32, ptr %2, align 4
%50 = load i32, ptr %3, align 4
%51 = load i32, ptr %4, align 4
%52 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %49, i32 noundef %50, i32 noundef %51)
%53 = load i32, ptr %5, align 4
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %7, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53, i32 noundef %54, i32 noundef %55)
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
store i32 0, ptr %1, align 4
%58 = load i32, ptr %1, align 4
%59 = load i32, ptr %9, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %.lr.ph, label %81
.lr.ph: ; preds = %48
br label %61
61: ; preds = %.lr.ph, %75
%62 = load ptr, ptr %8, align 8
%63 = load i32, ptr %1, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %66)
%68 = load i32, ptr %1, align 4
%69 = load i32, ptr %9, align 4
%70 = sub nsw i32 %69, 1
%71 = icmp slt i32 %68, %70
br i1 %71, label %72, label %74
72: ; preds = %61
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
br label %74
74: ; preds = %72, %61
br label %75
75: ; preds = %74
%76 = load i32, ptr %1, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %1, align 4
%78 = load i32, ptr %1, align 4
%79 = load i32, ptr %9, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %61, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %75
br label %81
81: ; preds = %._crit_edge, %48
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
%83 = load ptr, ptr %8, align 8
%84 = call i32 @free(ptr noundef %83)
ret i32 0
}
declare i32 @sysconf(i32 noundef) #1
declare i64 @getresuid(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @getresgid(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @getgroups(i64 noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp5_zpmpd.c'
source_filename = "/tmp/tmpp5_zpmpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %6, %2
%7 = call i32 (...) @foo()
%8 = call i32 (...) @foo()
br label %6
9: ; No predecessors!
%10 = call i32 (...) @foo()
%11 = call i32 (...) @foo()
%12 = call i32 (...) @foo()
ret i32 0
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp5_zpmpd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
br label %6
6: ; preds = %6, %2
%7 = call i32 (...) @foo()
%8 = call i32 (...) @foo()
br label %6
9: ; No predecessors!
%10 = call i32 (...) @foo()
%11 = call i32 (...) @foo()
%12 = call i32 (...) @foo()
ret i32 0
}
declare i32 @foo(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgl9rlguc.c'
source_filename = "/tmp/tmpgl9rlguc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@clock_gettime = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr @clock_gettime, align 8
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %6, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgl9rlguc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@clock_gettime = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr @clock_gettime, align 8
%10 = inttoptr i64 %9 to ptr
store ptr %10, ptr %6, align 8
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcri0_qqd.c'
source_filename = "/tmp/tmpcri0_qqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyaddown_2D_keep_even(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %15, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %15, align 8
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @matrix_tran(ptr noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 8
%37 = trunc i64 %36 to i32
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %16, align 8
store i32 0, ptr %13, align 4
br label %39
39: ; preds = %72, %6
%40 = load i32, ptr %13, align 4
%41 = load i32, ptr %11, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %75
43: ; preds = %39
store i32 0, ptr %14, align 4
br label %44
44: ; preds = %68, %43
%45 = load i32, ptr %14, align 4
%46 = load i32, ptr %9, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %48, label %71
48: ; preds = %44
%49 = load ptr, ptr %15, align 8
%50 = load i32, ptr %14, align 4
%51 = load i32, ptr %13, align 4
%52 = mul nsw i32 2, %51
%53 = add nsw i32 %52, 1
%54 = load i32, ptr %9, align 4
%55 = mul nsw i32 %53, %54
%56 = add nsw i32 %50, %55
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %49, i64 %57
%59 = load double, ptr %58, align 8
%60 = load ptr, ptr %16, align 8
%61 = load i32, ptr %14, align 4
%62 = load i32, ptr %13, align 4
%63 = load i32, ptr %9, align 4
%64 = mul nsw i32 %62, %63
%65 = add nsw i32 %61, %64
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds double, ptr %60, i64 %66
store double %59, ptr %67, align 8
br label %68
68: ; preds = %48
%69 = load i32, ptr %14, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %14, align 4
br label %44, !llvm.loop !6
71: ; preds = %44
br label %72
72: ; preds = %71
%73 = load i32, ptr %13, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %13, align 4
br label %39, !llvm.loop !8
75: ; preds = %39
%76 = load ptr, ptr %15, align 8
%77 = call i32 @free(ptr noundef %76)
%78 = load i32, ptr %11, align 4
%79 = load i32, ptr %9, align 4
%80 = mul nsw i32 %78, %79
%81 = sext i32 %80 to i64
%82 = mul i64 %81, 8
%83 = trunc i64 %82 to i32
%84 = call ptr @malloc(i32 noundef %83)
store ptr %84, ptr %17, align 8
%85 = load ptr, ptr %16, align 8
%86 = load i32, ptr %11, align 4
%87 = load i32, ptr %9, align 4
%88 = load ptr, ptr %17, align 8
%89 = load i32, ptr %8, align 4
%90 = load i32, ptr %12, align 4
%91 = call i32 @matrix_tran(ptr noundef %85, i32 noundef %86, i32 noundef %87, ptr noundef %88, i32 noundef %89, i32 noundef %90)
%92 = load ptr, ptr %16, align 8
%93 = call i32 @free(ptr noundef %92)
store i32 0, ptr %14, align 4
br label %94
94: ; preds = %127, %75
%95 = load i32, ptr %14, align 4
%96 = load i32, ptr %12, align 4
%97 = icmp slt i32 %95, %96
br i1 %97, label %98, label %130
98: ; preds = %94
store i32 0, ptr %13, align 4
br label %99
99: ; preds = %123, %98
%100 = load i32, ptr %13, align 4
%101 = load i32, ptr %11, align 4
%102 = icmp slt i32 %100, %101
br i1 %102, label %103, label %126
103: ; preds = %99
%104 = load ptr, ptr %17, align 8
%105 = load i32, ptr %13, align 4
%106 = load i32, ptr %14, align 4
%107 = mul nsw i32 2, %106
%108 = add nsw i32 %107, 1
%109 = load i32, ptr %11, align 4
%110 = mul nsw i32 %108, %109
%111 = add nsw i32 %105, %110
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %104, i64 %112
%114 = load double, ptr %113, align 8
%115 = load ptr, ptr %10, align 8
%116 = load i32, ptr %13, align 4
%117 = load i32, ptr %14, align 4
%118 = load i32, ptr %11, align 4
%119 = mul nsw i32 %117, %118
%120 = add nsw i32 %116, %119
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %115, i64 %121
store double %114, ptr %122, align 8
br label %123
123: ; preds = %103
%124 = load i32, ptr %13, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %13, align 4
br label %99, !llvm.loop !9
126: ; preds = %99
br label %127
127: ; preds = %126
%128 = load i32, ptr %14, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %14, align 4
br label %94, !llvm.loop !10
130: ; preds = %94
%131 = load ptr, ptr %17, align 8
%132 = call i32 @free(ptr noundef %131)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmpcri0_qqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dyaddown_2D_keep_even(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = mul nsw i32 %18, %19
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call ptr @malloc(i32 noundef %23)
store ptr %24, ptr %15, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %8, align 4
%28 = load ptr, ptr %15, align 8
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %8, align 4
%31 = call i32 @matrix_tran(ptr noundef %25, i32 noundef %26, i32 noundef %27, ptr noundef %28, i32 noundef %29, i32 noundef %30)
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %9, align 4
%34 = mul nsw i32 %32, %33
%35 = sext i32 %34 to i64
%36 = mul i64 %35, 8
%37 = trunc i64 %36 to i32
%38 = call ptr @malloc(i32 noundef %37)
store ptr %38, ptr %16, align 8
store i32 0, ptr %13, align 4
%39 = load i32, ptr %13, align 4
%40 = load i32, ptr %11, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %.lr.ph2, label %79
.lr.ph2: ; preds = %6
br label %42
42: ; preds = %.lr.ph2, %73
store i32 0, ptr %14, align 4
%43 = load i32, ptr %14, align 4
%44 = load i32, ptr %9, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %.lr.ph, label %72
.lr.ph: ; preds = %42
br label %46
46: ; preds = %.lr.ph, %66
%47 = load ptr, ptr %15, align 8
%48 = load i32, ptr %14, align 4
%49 = load i32, ptr %13, align 4
%50 = mul nsw i32 2, %49
%51 = add nsw i32 %50, 1
%52 = load i32, ptr %9, align 4
%53 = mul nsw i32 %51, %52
%54 = add nsw i32 %48, %53
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds double, ptr %47, i64 %55
%57 = load double, ptr %56, align 8
%58 = load ptr, ptr %16, align 8
%59 = load i32, ptr %14, align 4
%60 = load i32, ptr %13, align 4
%61 = load i32, ptr %9, align 4
%62 = mul nsw i32 %60, %61
%63 = add nsw i32 %59, %62
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, ptr %58, i64 %64
store double %57, ptr %65, align 8
br label %66
66: ; preds = %46
%67 = load i32, ptr %14, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %14, align 4
%69 = load i32, ptr %14, align 4
%70 = load i32, ptr %9, align 4
%71 = icmp slt i32 %69, %70
br i1 %71, label %46, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %72
72: ; preds = %._crit_edge, %42
br label %73
73: ; preds = %72
%74 = load i32, ptr %13, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %13, align 4
%76 = load i32, ptr %13, align 4
%77 = load i32, ptr %11, align 4
%78 = icmp slt i32 %76, %77
br i1 %78, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %73
br label %79
79: ; preds = %._crit_edge3, %6
%80 = load ptr, ptr %15, align 8
%81 = call i32 @free(ptr noundef %80)
%82 = load i32, ptr %11, align 4
%83 = load i32, ptr %9, align 4
%84 = mul nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = mul i64 %85, 8
%87 = trunc i64 %86 to i32
%88 = call ptr @malloc(i32 noundef %87)
store ptr %88, ptr %17, align 8
%89 = load ptr, ptr %16, align 8
%90 = load i32, ptr %11, align 4
%91 = load i32, ptr %9, align 4
%92 = load ptr, ptr %17, align 8
%93 = load i32, ptr %8, align 4
%94 = load i32, ptr %12, align 4
%95 = call i32 @matrix_tran(ptr noundef %89, i32 noundef %90, i32 noundef %91, ptr noundef %92, i32 noundef %93, i32 noundef %94)
%96 = load ptr, ptr %16, align 8
%97 = call i32 @free(ptr noundef %96)
store i32 0, ptr %14, align 4
%98 = load i32, ptr %14, align 4
%99 = load i32, ptr %12, align 4
%100 = icmp slt i32 %98, %99
br i1 %100, label %.lr.ph8, label %138
.lr.ph8: ; preds = %79
br label %101
101: ; preds = %.lr.ph8, %132
store i32 0, ptr %13, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %11, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %.lr.ph5, label %131
.lr.ph5: ; preds = %101
br label %105
105: ; preds = %.lr.ph5, %125
%106 = load ptr, ptr %17, align 8
%107 = load i32, ptr %13, align 4
%108 = load i32, ptr %14, align 4
%109 = mul nsw i32 2, %108
%110 = add nsw i32 %109, 1
%111 = load i32, ptr %11, align 4
%112 = mul nsw i32 %110, %111
%113 = add nsw i32 %107, %112
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds double, ptr %106, i64 %114
%116 = load double, ptr %115, align 8
%117 = load ptr, ptr %10, align 8
%118 = load i32, ptr %13, align 4
%119 = load i32, ptr %14, align 4
%120 = load i32, ptr %11, align 4
%121 = mul nsw i32 %119, %120
%122 = add nsw i32 %118, %121
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %117, i64 %123
store double %116, ptr %124, align 8
br label %125
125: ; preds = %105
%126 = load i32, ptr %13, align 4
%127 = add nsw i32 %126, 1
store i32 %127, ptr %13, align 4
%128 = load i32, ptr %13, align 4
%129 = load i32, ptr %11, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %105, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %125
br label %131
131: ; preds = %._crit_edge6, %101
br label %132
132: ; preds = %131
%133 = load i32, ptr %14, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %14, align 4
%135 = load i32, ptr %14, align 4
%136 = load i32, ptr %12, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %101, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %132
br label %138
138: ; preds = %._crit_edge9, %79
%139 = load ptr, ptr %17, align 8
%140 = call i32 @free(ptr noundef %139)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare i32 @matrix_tran(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpt6cr62bi.c'
source_filename = "/tmp/tmpt6cr62bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pspFpuAtan(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = fcmp une float %5, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load float, ptr %3, align 4
store float %9, ptr %2, align 4
br label %33
10: ; preds = %1
%11 = load float, ptr %3, align 4
%12 = fcmp olt float %11, 0.000000e+00
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load float, ptr %3, align 4
%15 = fneg float %14
store float %15, ptr %3, align 4
store i32 -1, ptr %4, align 4
br label %16
16: ; preds = %13, %10
%17 = load float, ptr %3, align 4
%18 = fcmp oge float %17, 1.000000e+00
br i1 %18, label %19, label %25
19: ; preds = %16
%20 = load float, ptr %3, align 4
%21 = fdiv float 1.000000e+00, %20
store float %21, ptr %3, align 4
%22 = load float, ptr %3, align 4
%23 = call float @_atanf(float noundef %22)
%24 = fsub float 0x3FF921FB60000000, %23
store float %24, ptr %3, align 4
br label %28
25: ; preds = %16
%26 = load float, ptr %3, align 4
%27 = call float @_atanf(float noundef %26)
store float %27, ptr %3, align 4
br label %28
28: ; preds = %25, %19
%29 = load float, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = sitofp i32 %30 to float
%32 = fmul float %29, %31
store float %32, ptr %2, align 4
br label %33
33: ; preds = %28, %8
%34 = load float, ptr %2, align 4
ret float %34
}
declare float @_atanf(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/tmpt6cr62bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pspFpuAtan(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca i32, align 4
store float %0, ptr %3, align 4
store i32 1, ptr %4, align 4
%5 = load float, ptr %3, align 4
%6 = load float, ptr %3, align 4
%7 = fcmp une float %5, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load float, ptr %3, align 4
store float %9, ptr %2, align 4
br label %33
10: ; preds = %1
%11 = load float, ptr %3, align 4
%12 = fcmp olt float %11, 0.000000e+00
br i1 %12, label %13, label %16
13: ; preds = %10
%14 = load float, ptr %3, align 4
%15 = fneg float %14
store float %15, ptr %3, align 4
store i32 -1, ptr %4, align 4
br label %16
16: ; preds = %13, %10
%17 = load float, ptr %3, align 4
%18 = fcmp oge float %17, 1.000000e+00
br i1 %18, label %19, label %25
19: ; preds = %16
%20 = load float, ptr %3, align 4
%21 = fdiv float 1.000000e+00, %20
store float %21, ptr %3, align 4
%22 = load float, ptr %3, align 4
%23 = call float @_atanf(float noundef %22)
%24 = fsub float 0x3FF921FB60000000, %23
store float %24, ptr %3, align 4
br label %28
25: ; preds = %16
%26 = load float, ptr %3, align 4
%27 = call float @_atanf(float noundef %26)
store float %27, ptr %3, align 4
br label %28
28: ; preds = %25, %19
%29 = load float, ptr %3, align 4
%30 = load i32, ptr %4, align 4
%31 = sitofp i32 %30 to float
%32 = fmul float %29, %31
store float %32, ptr %2, align 4
br label %33
33: ; preds = %28, %8
%34 = load float, ptr %2, align 4
ret float %34
}
declare float @_atanf(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/tmp2_ddwm07.c'
source_filename = "/tmp/tmp2_ddwm07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringToInt(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 @atoi(ptr noundef %3)
ret i32 %4
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2_ddwm07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stringToInt(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 @atoi(ptr noundef %3)
ret i32 %4
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwxfea7pe.c'
source_filename = "/tmp/tmpwxfea7pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergesort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
br label %43
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = sdiv i32 %14, 2
store i32 %15, ptr %5, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store ptr %19, ptr %6, align 8
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %20, %21
store i32 %22, ptr %7, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
call void @mergesort(ptr noundef %23, i32 noundef %24)
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %7, align 4
call void @mergesort(ptr noundef %25, i32 noundef %26)
%27 = load i32, ptr %4, align 4
%28 = zext i32 %27 to i64
%29 = call ptr @llvm.stacksave()
store ptr %29, ptr %8, align 8
%30 = alloca i32, i64 %28, align 16
store i64 %28, ptr %9, align 8
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = call i32 @merge(ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34, ptr noundef %30)
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 4
%40 = trunc i64 %39 to i32
%41 = call i32 @memcpy(ptr noundef %36, ptr noundef %30, i32 noundef %40)
%42 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %42)
br label %43
43: ; preds = %13, %12
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @merge(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwxfea7pe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mergesort(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sle i32 %10, 1
br i1 %11, label %12, label %13
12: ; preds = %2
br label %43
13: ; preds = %2
%14 = load i32, ptr %4, align 4
%15 = sdiv i32 %14, 2
store i32 %15, ptr %5, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store ptr %19, ptr %6, align 8
%20 = load i32, ptr %4, align 4
%21 = load i32, ptr %5, align 4
%22 = sub nsw i32 %20, %21
store i32 %22, ptr %7, align 4
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
call void @mergesort(ptr noundef %23, i32 noundef %24)
%25 = load ptr, ptr %6, align 8
%26 = load i32, ptr %7, align 4
call void @mergesort(ptr noundef %25, i32 noundef %26)
%27 = load i32, ptr %4, align 4
%28 = zext i32 %27 to i64
%29 = call ptr @llvm.stacksave()
store ptr %29, ptr %8, align 8
%30 = alloca i32, i64 %28, align 16
store i64 %28, ptr %9, align 8
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = load ptr, ptr %6, align 8
%34 = load i32, ptr %7, align 4
%35 = call i32 @merge(ptr noundef %31, i32 noundef %32, ptr noundef %33, i32 noundef %34, ptr noundef %30)
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %4, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 4
%40 = trunc i64 %39 to i32
%41 = call i32 @memcpy(ptr noundef %36, ptr noundef %30, i32 noundef %40)
%42 = load ptr, ptr %8, align 8
call void @llvm.stackrestore(ptr %42)
br label %43
43: ; preds = %13, %12
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @merge(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzyjltnh3.c'
source_filename = "/tmp/tmpzyjltnh3.c"
target datalayout = "e-m:e-p270: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/tmpzyjltnh3.c"
target datalayout = "e-m:e-p270: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/tmppqkjo17u.c'
source_filename = "/tmp/tmppqkjo17u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PassWordsWithPrefixes(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i64 @WordHasPrefix(ptr noundef %8, ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fprintf(ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %7, align 8
%19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.1)
%20 = load ptr, ptr %7, align 8
%21 = call i32 @fclose(ptr noundef %20)
br label %22
22: ; preds = %12, %3
ret void
}
declare i64 @WordHasPrefix(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmppqkjo17u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"a\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PassWordsWithPrefixes(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i64 @WordHasPrefix(ptr noundef %8, ptr noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %22
12: ; preds = %3
%13 = load ptr, ptr %5, align 8
%14 = call ptr @fopen(ptr noundef %13, ptr noundef @.str)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fprintf(ptr noundef %15, ptr noundef %16)
%18 = load ptr, ptr %7, align 8
%19 = call i32 @fprintf(ptr noundef %18, ptr noundef @.str.1)
%20 = load ptr, ptr %7, align 8
%21 = call i32 @fclose(ptr noundef %20)
br label %22
22: ; preds = %12, %3
ret void
}
declare i64 @WordHasPrefix(ptr noundef, ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1ol6phe_.c'
source_filename = "/tmp/tmp1ol6phe_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 100, ptr %6, align 8
store i8 111, ptr %7, align 1
%11 = load i64, ptr %6, align 8
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
%15 = call i64 @malloc(i32 noundef 2)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %7, align 1
%19 = load i64, ptr %6, align 8
%20 = call i32 @memset(ptr noundef %17, i8 noundef signext %18, i64 noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
store i8 122, ptr %22, align 1
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
store i8 122, ptr %24, align 1
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %9, align 8
%29 = call i64 @strspn(ptr noundef %27, ptr noundef %28)
store i64 %29, ptr %10, align 8
%30 = load i64, ptr %10, align 8
%31 = icmp eq i64 %30, 1
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load ptr, ptr %8, align 8
%35 = call i32 @free(ptr noundef %34)
%36 = load ptr, ptr %9, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1
declare i64 @strspn(ptr noundef, ptr noundef) #1
declare i32 @assert(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/tmp1ol6phe_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i8, align 1
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 100, ptr %6, align 8
store i8 111, ptr %7, align 1
%11 = load i64, ptr %6, align 8
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
%15 = call i64 @malloc(i32 noundef 2)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %9, align 8
%17 = load ptr, ptr %8, align 8
%18 = load i8, ptr %7, align 1
%19 = load i64, ptr %6, align 8
%20 = call i32 @memset(ptr noundef %17, i8 noundef signext %18, i64 noundef %19)
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i8, ptr %21, i64 0
store i8 122, ptr %22, align 1
%23 = load ptr, ptr %8, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 0
store i8 122, ptr %24, align 1
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 1
store i8 0, ptr %26, align 1
%27 = load ptr, ptr %8, align 8
%28 = load ptr, ptr %9, align 8
%29 = call i64 @strspn(ptr noundef %27, ptr noundef %28)
store i64 %29, ptr %10, align 8
%30 = load i64, ptr %10, align 8
%31 = icmp eq i64 %30, 1
%32 = zext i1 %31 to i32
%33 = call i32 @assert(i32 noundef %32)
%34 = load ptr, ptr %8, align 8
%35 = call i32 @free(ptr noundef %34)
%36 = load ptr, ptr %9, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1
declare i64 @strspn(ptr noundef, ptr noundef) #1
declare i32 @assert(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/tmp4puszlql.c'
source_filename = "/tmp/tmp4puszlql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"lifstat %s - written by Frank S. Fejes III\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"20100318\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version_display() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4puszlql.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"lifstat %s - written by Frank S. Fejes III\0A\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"20100318\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @version_display() #0 {
%1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2lwwvoej.c'
source_filename = "/tmp/tmp2lwwvoej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"\0ABluebridge\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0AAlyson Books\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\0AFUNimation Productions, Ltd.\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"\0APyramid Books\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%9 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
br label %11
11: ; preds = %63, %0
%12 = load i32, ptr %4, align 4
%13 = icmp slt i32 %12, 3
br i1 %13, label %14, label %66
14: ; preds = %11
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label %17, label %28
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %19
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = icmp eq i32 %22, 57
br i1 %23, label %24, label %27
24: ; preds = %17
%25 = load i32, ptr %5, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %5, align 4
br label %27
27: ; preds = %24, %17
br label %28
28: ; preds = %27, %14
%29 = load i32, ptr %4, align 4
%30 = icmp eq i32 %29, 1
br i1 %30, label %31, label %42
31: ; preds = %28
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 55
br i1 %37, label %38, label %41
38: ; preds = %31
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %41
41: ; preds = %38, %31
br label %42
42: ; preds = %41, %28
%43 = load i32, ptr %4, align 4
%44 = icmp eq i32 %43, 2
br i1 %44, label %45, label %63
45: ; preds = %42
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 56
br i1 %51, label %59, label %52
52: ; preds = %45
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 57
br i1 %58, label %59, label %62
59: ; preds = %52, %45
%60 = load i32, ptr %5, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %5, align 4
br label %62
62: ; preds = %59, %52
br label %63
63: ; preds = %62, %42
%64 = load i32, ptr %4, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %4, align 4
br label %11, !llvm.loop !6
66: ; preds = %11
store i32 0, ptr %4, align 4
br label %67
67: ; preds = %170, %66
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %68, 20
br i1 %69, label %70, label %173
70: ; preds = %67
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 48
br i1 %76, label %77, label %80
77: ; preds = %70
%78 = load i32, ptr %2, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %2, align 4
br label %80
80: ; preds = %77, %70
%81 = load i32, ptr %4, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 49
br i1 %86, label %87, label %90
87: ; preds = %80
%88 = load i32, ptr %2, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %2, align 4
br label %90
90: ; preds = %87, %80
%91 = load i32, ptr %4, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 50
br i1 %96, label %97, label %100
97: ; preds = %90
%98 = load i32, ptr %2, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %2, align 4
br label %100
100: ; preds = %97, %90
%101 = load i32, ptr %4, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp eq i32 %105, 51
br i1 %106, label %107, label %110
107: ; preds = %100
%108 = load i32, ptr %2, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %2, align 4
br label %110
110: ; preds = %107, %100
%111 = load i32, ptr %4, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 52
br i1 %116, label %117, label %120
117: ; preds = %110
%118 = load i32, ptr %2, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %2, align 4
br label %120
120: ; preds = %117, %110
%121 = load i32, ptr %4, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %122
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 53
br i1 %126, label %127, label %130
127: ; preds = %120
%128 = load i32, ptr %2, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %2, align 4
br label %130
130: ; preds = %127, %120
%131 = load i32, ptr %4, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %132
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 54
br i1 %136, label %137, label %140
137: ; preds = %130
%138 = load i32, ptr %2, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %2, align 4
br label %140
140: ; preds = %137, %130
%141 = load i32, ptr %4, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %142
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp eq i32 %145, 55
br i1 %146, label %147, label %150
147: ; preds = %140
%148 = load i32, ptr %2, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %2, align 4
br label %150
150: ; preds = %147, %140
%151 = load i32, ptr %4, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %152
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 56
br i1 %156, label %157, label %160
157: ; preds = %150
%158 = load i32, ptr %2, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %2, align 4
br label %160
160: ; preds = %157, %150
%161 = load i32, ptr %4, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %162
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 57
br i1 %166, label %167, label %170
167: ; preds = %160
%168 = load i32, ptr %2, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %2, align 4
br label %170
170: ; preds = %167, %160
%171 = load i32, ptr %4, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %4, align 4
br label %67, !llvm.loop !8
173: ; preds = %67
store i32 1, ptr %4, align 4
%174 = load i32, ptr %5, align 4
%175 = icmp ne i32 %174, 3
br i1 %175, label %176, label %178
176: ; preds = %173
%177 = call i32 (...) @program_death()
br label %352
178: ; preds = %173
%179 = load i32, ptr %2, align 4
%180 = icmp ne i32 %179, 13
br i1 %180, label %181, label %183
181: ; preds = %178
%182 = call i32 (...) @program_death()
br label %351
183: ; preds = %178
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
br label %184
184: ; preds = %220, %183
%185 = load i32, ptr %2, align 4
%186 = icmp sle i32 %185, 12
br i1 %186, label %187, label %223
187: ; preds = %184
%188 = load i32, ptr %2, align 4
%189 = sext i32 %188 to i64
%190 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %189
%191 = load i8, ptr %190, align 1
%192 = sext i8 %191 to i32
%193 = icmp sle i32 %192, 9
br i1 %193, label %194, label %219
194: ; preds = %187
%195 = load i32, ptr %2, align 4
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %196
%198 = load i8, ptr %197, align 1
%199 = sext i8 %198 to i32
%200 = icmp sge i32 %199, 0
br i1 %200, label %201, label %219
201: ; preds = %194
%202 = load i32, ptr %6, align 4
%203 = load i32, ptr %2, align 4
%204 = sext i32 %203 to i64
%205 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %204
%206 = load i8, ptr %205, align 1
%207 = sext i8 %206 to i32
%208 = load i32, ptr %7, align 4
%209 = mul nsw i32 %207, %208
%210 = add nsw i32 %202, %209
store i32 %210, ptr %6, align 4
%211 = load i32, ptr %3, align 4
%212 = add nsw i32 %211, 1
store i32 %212, ptr %3, align 4
%213 = load i32, ptr %3, align 4
%214 = srem i32 %213, 2
%215 = icmp ne i32 %214, 0
br i1 %215, label %216, label %217
216: ; preds = %201
store i32 3, ptr %7, align 4
br label %218
217: ; preds = %201
store i32 1, ptr %7, align 4
br label %218
218: ; preds = %217, %216
br label %219
219: ; preds = %218, %194, %187
br label %220
220: ; preds = %219
%221 = load i32, ptr %2, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %2, align 4
br label %184, !llvm.loop !9
223: ; preds = %184
store i32 0, ptr %5, align 4
%224 = load i32, ptr %2, align 4
%225 = sext i32 %224 to i64
%226 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %225
%227 = load i8, ptr %226, align 1
%228 = sext i8 %227 to i32
%229 = load i32, ptr %6, align 4
%230 = srem i32 %229, 10
%231 = sub nsw i32 10, %230
%232 = icmp eq i32 %228, %231
br i1 %232, label %233, label %234
233: ; preds = %223
store i32 0, ptr %4, align 4
br label %234
234: ; preds = %233, %223
%235 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%236 = load i8, ptr %235, align 2
%237 = sext i8 %236 to i32
%238 = icmp eq i32 %237, 57
br i1 %238, label %239, label %265
239: ; preds = %234
%240 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%241 = load i8, ptr %240, align 1
%242 = sext i8 %241 to i32
%243 = icmp eq i32 %242, 51
br i1 %243, label %244, label %265
244: ; preds = %239
%245 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 8
%246 = load i8, ptr %245, align 8
%247 = sext i8 %246 to i32
%248 = icmp eq i32 %247, 51
br i1 %248, label %249, label %265
249: ; preds = %244
%250 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 9
%251 = load i8, ptr %250, align 1
%252 = sext i8 %251 to i32
%253 = icmp eq i32 %252, 51
br i1 %253, label %254, label %265
254: ; preds = %249
%255 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 10
%256 = load i8, ptr %255, align 2
%257 = sext i8 %256 to i32
%258 = icmp eq i32 %257, 52
br i1 %258, label %259, label %265
259: ; preds = %254
%260 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 11
%261 = load i8, ptr %260, align 1
%262 = sext i8 %261 to i32
%263 = icmp eq i32 %262, 54
br i1 %263, label %264, label %265
264: ; preds = %259
store i32 1, ptr %5, align 4
br label %265
265: ; preds = %264, %259, %254, %249, %244, %239, %234
%266 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%267 = load i8, ptr %266, align 2
%268 = sext i8 %267 to i32
%269 = icmp eq i32 %268, 53
br i1 %269, label %270, label %291
270: ; preds = %265
%271 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%272 = load i8, ptr %271, align 1
%273 = sext i8 %272 to i32
%274 = icmp eq i32 %273, 53
br i1 %274, label %275, label %291
275: ; preds = %270
%276 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 8
%277 = load i8, ptr %276, align 8
%278 = sext i8 %277 to i32
%279 = icmp eq i32 %278, 53
br i1 %279, label %280, label %291
280: ; preds = %275
%281 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 9
%282 = load i8, ptr %281, align 1
%283 = sext i8 %282 to i32
%284 = icmp eq i32 %283, 56
br i1 %284, label %285, label %291
285: ; preds = %280
%286 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 10
%287 = load i8, ptr %286, align 2
%288 = sext i8 %287 to i32
%289 = icmp eq i32 %288, 51
br i1 %289, label %290, label %291
290: ; preds = %285
store i32 2, ptr %5, align 4
br label %291
291: ; preds = %290, %285, %280, %275, %270, %265
%292 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%293 = load i8, ptr %292, align 2
%294 = sext i8 %293 to i32
%295 = icmp eq i32 %294, 52
br i1 %295, label %296, label %312
296: ; preds = %291
%297 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%298 = load i8, ptr %297, align 1
%299 = sext i8 %298 to i32
%300 = icmp eq i32 %299, 50
br i1 %300, label %301, label %312
301: ; preds = %296
%302 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 8
%303 = load i8, ptr %302, align 8
%304 = sext i8 %303 to i32
%305 = icmp eq i32 %304, 49
br i1 %305, label %306, label %312
306: ; preds = %301
%307 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 9
%308 = load i8, ptr %307, align 1
%309 = sext i8 %308 to i32
%310 = icmp eq i32 %309, 48
br i1 %310, label %311, label %312
311: ; preds = %306
store i32 3, ptr %5, align 4
br label %312
312: ; preds = %311, %306, %301, %296, %291
%313 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%314 = load i8, ptr %313, align 2
%315 = sext i8 %314 to i32
%316 = icmp eq i32 %315, 48
br i1 %316, label %317, label %323
317: ; preds = %312
%318 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%319 = load i8, ptr %318, align 1
%320 = sext i8 %319 to i32
%321 = icmp eq i32 %320, 49
br i1 %321, label %322, label %323
322: ; preds = %317
store i32 4, ptr %5, align 4
br label %323
323: ; preds = %322, %317, %312
%324 = load i32, ptr %4, align 4
%325 = icmp eq i32 %324, 1
br i1 %325, label %326, label %348
326: ; preds = %323
%327 = call i32 @printf(ptr noundef @.str.1)
%328 = load i32, ptr %5, align 4
%329 = icmp eq i32 %328, 1
br i1 %329, label %330, label %332
330: ; preds = %326
%331 = call i32 @printf(ptr noundef @.str.2)
br label %332
332: ; preds = %330, %326
%333 = load i32, ptr %5, align 4
%334 = icmp eq i32 %333, 2
br i1 %334, label %335, label %337
335: ; preds = %332
%336 = call i32 @printf(ptr noundef @.str.3)
br label %337
337: ; preds = %335, %332
%338 = load i32, ptr %5, align 4
%339 = icmp eq i32 %338, 3
br i1 %339, label %340, label %342
340: ; preds = %337
%341 = call i32 @printf(ptr noundef @.str.4)
br label %342
342: ; preds = %340, %337
%343 = load i32, ptr %5, align 4
%344 = icmp eq i32 %343, 4
br i1 %344, label %345, label %347
345: ; preds = %342
%346 = call i32 @printf(ptr noundef @.str.5)
br label %347
347: ; preds = %345, %342
br label %350
348: ; preds = %323
%349 = call i32 @printf(ptr noundef @.str.6)
br label %350
350: ; preds = %348, %347
br label %351
351: ; preds = %350, %181
br label %352
352: ; preds = %351, %176
%353 = load i32, ptr %1, align 4
ret i32 %353
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @program_death(...) #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}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2lwwvoej.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"1\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"\0ABluebridge\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"\0AAlyson Books\00", align 1
@.str.4 = private unnamed_addr constant [30 x i8] c"\0AFUNimation Productions, Ltd.\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"\0APyramid Books\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca [20 x i8], align 16
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 1, ptr %7, align 4
%9 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %9)
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 3
br i1 %12, label %.lr.ph, label %67
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %62
%14 = load i32, ptr %4, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %27
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 57
br i1 %22, label %23, label %26
23: ; preds = %16
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %5, align 4
br label %26
26: ; preds = %23, %16
br label %27
27: ; preds = %26, %13
%28 = load i32, ptr %4, align 4
%29 = icmp eq i32 %28, 1
br i1 %29, label %30, label %41
30: ; preds = %27
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 55
br i1 %36, label %37, label %40
37: ; preds = %30
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %5, align 4
br label %40
40: ; preds = %37, %30
br label %41
41: ; preds = %40, %27
%42 = load i32, ptr %4, align 4
%43 = icmp eq i32 %42, 2
br i1 %43, label %44, label %62
44: ; preds = %41
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 56
br i1 %50, label %58, label %51
51: ; preds = %44
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 57
br i1 %57, label %58, label %61
58: ; preds = %51, %44
%59 = load i32, ptr %5, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %5, align 4
br label %61
61: ; preds = %58, %51
br label %62
62: ; preds = %61, %41
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
%65 = load i32, ptr %4, align 4
%66 = icmp slt i32 %65, 3
br i1 %66, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%68 = load i32, ptr %4, align 4
%69 = icmp slt i32 %68, 20
br i1 %69, label %.lr.ph2, label %175
.lr.ph2: ; preds = %67
br label %70
70: ; preds = %.lr.ph2, %170
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %72
%74 = load i8, ptr %73, align 1
%75 = sext i8 %74 to i32
%76 = icmp eq i32 %75, 48
br i1 %76, label %77, label %80
77: ; preds = %70
%78 = load i32, ptr %2, align 4
%79 = add nsw i32 %78, 1
store i32 %79, ptr %2, align 4
br label %80
80: ; preds = %77, %70
%81 = load i32, ptr %4, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %82
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = icmp eq i32 %85, 49
br i1 %86, label %87, label %90
87: ; preds = %80
%88 = load i32, ptr %2, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %2, align 4
br label %90
90: ; preds = %87, %80
%91 = load i32, ptr %4, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %92
%94 = load i8, ptr %93, align 1
%95 = sext i8 %94 to i32
%96 = icmp eq i32 %95, 50
br i1 %96, label %97, label %100
97: ; preds = %90
%98 = load i32, ptr %2, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %2, align 4
br label %100
100: ; preds = %97, %90
%101 = load i32, ptr %4, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp eq i32 %105, 51
br i1 %106, label %107, label %110
107: ; preds = %100
%108 = load i32, ptr %2, align 4
%109 = add nsw i32 %108, 1
store i32 %109, ptr %2, align 4
br label %110
110: ; preds = %107, %100
%111 = load i32, ptr %4, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %112
%114 = load i8, ptr %113, align 1
%115 = sext i8 %114 to i32
%116 = icmp eq i32 %115, 52
br i1 %116, label %117, label %120
117: ; preds = %110
%118 = load i32, ptr %2, align 4
%119 = add nsw i32 %118, 1
store i32 %119, ptr %2, align 4
br label %120
120: ; preds = %117, %110
%121 = load i32, ptr %4, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %122
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp eq i32 %125, 53
br i1 %126, label %127, label %130
127: ; preds = %120
%128 = load i32, ptr %2, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %2, align 4
br label %130
130: ; preds = %127, %120
%131 = load i32, ptr %4, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %132
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = icmp eq i32 %135, 54
br i1 %136, label %137, label %140
137: ; preds = %130
%138 = load i32, ptr %2, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %2, align 4
br label %140
140: ; preds = %137, %130
%141 = load i32, ptr %4, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %142
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp eq i32 %145, 55
br i1 %146, label %147, label %150
147: ; preds = %140
%148 = load i32, ptr %2, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %2, align 4
br label %150
150: ; preds = %147, %140
%151 = load i32, ptr %4, align 4
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %152
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = icmp eq i32 %155, 56
br i1 %156, label %157, label %160
157: ; preds = %150
%158 = load i32, ptr %2, align 4
%159 = add nsw i32 %158, 1
store i32 %159, ptr %2, align 4
br label %160
160: ; preds = %157, %150
%161 = load i32, ptr %4, align 4
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %162
%164 = load i8, ptr %163, align 1
%165 = sext i8 %164 to i32
%166 = icmp eq i32 %165, 57
br i1 %166, label %167, label %170
167: ; preds = %160
%168 = load i32, ptr %2, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %2, align 4
br label %170
170: ; preds = %167, %160
%171 = load i32, ptr %4, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %4, align 4
%173 = load i32, ptr %4, align 4
%174 = icmp slt i32 %173, 20
br i1 %174, label %70, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %170
br label %175
175: ; preds = %._crit_edge3, %67
store i32 1, ptr %4, align 4
%176 = load i32, ptr %5, align 4
%177 = icmp ne i32 %176, 3
br i1 %177, label %178, label %180
178: ; preds = %175
%179 = call i32 (...) @program_death()
br label %355
180: ; preds = %175
%181 = load i32, ptr %2, align 4
%182 = icmp ne i32 %181, 13
br i1 %182, label %183, label %185
183: ; preds = %180
%184 = call i32 (...) @program_death()
br label %354
185: ; preds = %180
store i32 0, ptr %2, align 4
store i32 0, ptr %2, align 4
%186 = load i32, ptr %2, align 4
%187 = icmp sle i32 %186, 12
br i1 %187, label %.lr.ph5, label %226
.lr.ph5: ; preds = %185
br label %188
188: ; preds = %.lr.ph5, %221
%189 = load i32, ptr %2, align 4
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %190
%192 = load i8, ptr %191, align 1
%193 = sext i8 %192 to i32
%194 = icmp sle i32 %193, 9
br i1 %194, label %195, label %220
195: ; preds = %188
%196 = load i32, ptr %2, align 4
%197 = sext i32 %196 to i64
%198 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %197
%199 = load i8, ptr %198, align 1
%200 = sext i8 %199 to i32
%201 = icmp sge i32 %200, 0
br i1 %201, label %202, label %220
202: ; preds = %195
%203 = load i32, ptr %6, align 4
%204 = load i32, ptr %2, align 4
%205 = sext i32 %204 to i64
%206 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %205
%207 = load i8, ptr %206, align 1
%208 = sext i8 %207 to i32
%209 = load i32, ptr %7, align 4
%210 = mul nsw i32 %208, %209
%211 = add nsw i32 %203, %210
store i32 %211, ptr %6, align 4
%212 = load i32, ptr %3, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %3, align 4
%214 = load i32, ptr %3, align 4
%215 = srem i32 %214, 2
%216 = icmp ne i32 %215, 0
br i1 %216, label %217, label %218
217: ; preds = %202
store i32 3, ptr %7, align 4
br label %219
218: ; preds = %202
store i32 1, ptr %7, align 4
br label %219
219: ; preds = %218, %217
br label %220
220: ; preds = %219, %195, %188
br label %221
221: ; preds = %220
%222 = load i32, ptr %2, align 4
%223 = add nsw i32 %222, 1
store i32 %223, ptr %2, align 4
%224 = load i32, ptr %2, align 4
%225 = icmp sle i32 %224, 12
br i1 %225, label %188, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %221
br label %226
226: ; preds = %._crit_edge6, %185
store i32 0, ptr %5, align 4
%227 = load i32, ptr %2, align 4
%228 = sext i32 %227 to i64
%229 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 %228
%230 = load i8, ptr %229, align 1
%231 = sext i8 %230 to i32
%232 = load i32, ptr %6, align 4
%233 = srem i32 %232, 10
%234 = sub nsw i32 10, %233
%235 = icmp eq i32 %231, %234
br i1 %235, label %236, label %237
236: ; preds = %226
store i32 0, ptr %4, align 4
br label %237
237: ; preds = %236, %226
%238 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%239 = load i8, ptr %238, align 2
%240 = sext i8 %239 to i32
%241 = icmp eq i32 %240, 57
br i1 %241, label %242, label %268
242: ; preds = %237
%243 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%244 = load i8, ptr %243, align 1
%245 = sext i8 %244 to i32
%246 = icmp eq i32 %245, 51
br i1 %246, label %247, label %268
247: ; preds = %242
%248 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 8
%249 = load i8, ptr %248, align 8
%250 = sext i8 %249 to i32
%251 = icmp eq i32 %250, 51
br i1 %251, label %252, label %268
252: ; preds = %247
%253 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 9
%254 = load i8, ptr %253, align 1
%255 = sext i8 %254 to i32
%256 = icmp eq i32 %255, 51
br i1 %256, label %257, label %268
257: ; preds = %252
%258 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 10
%259 = load i8, ptr %258, align 2
%260 = sext i8 %259 to i32
%261 = icmp eq i32 %260, 52
br i1 %261, label %262, label %268
262: ; preds = %257
%263 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 11
%264 = load i8, ptr %263, align 1
%265 = sext i8 %264 to i32
%266 = icmp eq i32 %265, 54
br i1 %266, label %267, label %268
267: ; preds = %262
store i32 1, ptr %5, align 4
br label %268
268: ; preds = %267, %262, %257, %252, %247, %242, %237
%269 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%270 = load i8, ptr %269, align 2
%271 = sext i8 %270 to i32
%272 = icmp eq i32 %271, 53
br i1 %272, label %273, label %294
273: ; preds = %268
%274 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%275 = load i8, ptr %274, align 1
%276 = sext i8 %275 to i32
%277 = icmp eq i32 %276, 53
br i1 %277, label %278, label %294
278: ; preds = %273
%279 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 8
%280 = load i8, ptr %279, align 8
%281 = sext i8 %280 to i32
%282 = icmp eq i32 %281, 53
br i1 %282, label %283, label %294
283: ; preds = %278
%284 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 9
%285 = load i8, ptr %284, align 1
%286 = sext i8 %285 to i32
%287 = icmp eq i32 %286, 56
br i1 %287, label %288, label %294
288: ; preds = %283
%289 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 10
%290 = load i8, ptr %289, align 2
%291 = sext i8 %290 to i32
%292 = icmp eq i32 %291, 51
br i1 %292, label %293, label %294
293: ; preds = %288
store i32 2, ptr %5, align 4
br label %294
294: ; preds = %293, %288, %283, %278, %273, %268
%295 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%296 = load i8, ptr %295, align 2
%297 = sext i8 %296 to i32
%298 = icmp eq i32 %297, 52
br i1 %298, label %299, label %315
299: ; preds = %294
%300 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%301 = load i8, ptr %300, align 1
%302 = sext i8 %301 to i32
%303 = icmp eq i32 %302, 50
br i1 %303, label %304, label %315
304: ; preds = %299
%305 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 8
%306 = load i8, ptr %305, align 8
%307 = sext i8 %306 to i32
%308 = icmp eq i32 %307, 49
br i1 %308, label %309, label %315
309: ; preds = %304
%310 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 9
%311 = load i8, ptr %310, align 1
%312 = sext i8 %311 to i32
%313 = icmp eq i32 %312, 48
br i1 %313, label %314, label %315
314: ; preds = %309
store i32 3, ptr %5, align 4
br label %315
315: ; preds = %314, %309, %304, %299, %294
%316 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 6
%317 = load i8, ptr %316, align 2
%318 = sext i8 %317 to i32
%319 = icmp eq i32 %318, 48
br i1 %319, label %320, label %326
320: ; preds = %315
%321 = getelementptr inbounds [20 x i8], ptr %8, i64 0, i64 7
%322 = load i8, ptr %321, align 1
%323 = sext i8 %322 to i32
%324 = icmp eq i32 %323, 49
br i1 %324, label %325, label %326
325: ; preds = %320
store i32 4, ptr %5, align 4
br label %326
326: ; preds = %325, %320, %315
%327 = load i32, ptr %4, align 4
%328 = icmp eq i32 %327, 1
br i1 %328, label %329, label %351
329: ; preds = %326
%330 = call i32 @printf(ptr noundef @.str.1)
%331 = load i32, ptr %5, align 4
%332 = icmp eq i32 %331, 1
br i1 %332, label %333, label %335
333: ; preds = %329
%334 = call i32 @printf(ptr noundef @.str.2)
br label %335
335: ; preds = %333, %329
%336 = load i32, ptr %5, align 4
%337 = icmp eq i32 %336, 2
br i1 %337, label %338, label %340
338: ; preds = %335
%339 = call i32 @printf(ptr noundef @.str.3)
br label %340
340: ; preds = %338, %335
%341 = load i32, ptr %5, align 4
%342 = icmp eq i32 %341, 3
br i1 %342, label %343, label %345
343: ; preds = %340
%344 = call i32 @printf(ptr noundef @.str.4)
br label %345
345: ; preds = %343, %340
%346 = load i32, ptr %5, align 4
%347 = icmp eq i32 %346, 4
br i1 %347, label %348, label %350
348: ; preds = %345
%349 = call i32 @printf(ptr noundef @.str.5)
br label %350
350: ; preds = %348, %345
br label %353
351: ; preds = %326
%352 = call i32 @printf(ptr noundef @.str.6)
br label %353
353: ; preds = %351, %350
br label %354
354: ; preds = %353, %183
br label %355
355: ; preds = %354, %178
%356 = load i32, ptr %1, align 4
ret i32 %356
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @program_death(...) #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}
|
; ModuleID = '/tmp/tmpctygqjfg.c'
source_filename = "/tmp/tmpctygqjfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpctygqjfg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnbdo5ciz.c'
source_filename = "/tmp/tmpnbdo5ciz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.group = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isUserInGroup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %29, %2
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds %struct.group, ptr %8, i32 0, i32 0
%10 = load ptr, ptr %9, align 8
%11 = load i32, ptr %6, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i64, ptr %10, i64 %12
%14 = load i64, ptr %13, align 8
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %32
16: ; preds = %7
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds %struct.group, ptr %17, i32 0, i32 0
%19 = load ptr, ptr %18, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i64, ptr %19, i64 %21
%23 = load i64, ptr %22, align 8
%24 = load ptr, ptr %4, align 8
%25 = call i64 @strcmp(i64 noundef %23, ptr noundef %24)
%26 = icmp eq i64 %25, 0
br i1 %26, label %27, label %28
27: ; preds = %16
store i32 1, ptr %3, align 4
br label %33
28: ; preds = %16
br label %29
29: ; preds = %28
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
br label %7, !llvm.loop !6
32: ; preds = %7
store i32 0, ptr %3, align 4
br label %33
33: ; preds = %32, %27
%34 = load i32, ptr %3, align 4
ret i32 %34
}
declare i64 @strcmp(i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbdo5ciz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.group = type { ptr }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @isUserInGroup(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load ptr, ptr %7, align 8
%9 = load i32, ptr %6, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i64, ptr %8, i64 %10
%12 = load i64, ptr %11, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %.lr.ph, label %38
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %27
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds %struct.group, ptr %15, i32 0, i32 0
%17 = load ptr, ptr %16, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i64, ptr %17, i64 %19
%21 = load i64, ptr %20, align 8
%22 = load ptr, ptr %4, align 8
%23 = call i64 @strcmp(i64 noundef %21, ptr noundef %22)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %14
store i32 1, ptr %3, align 4
br label %39
26: ; preds = %14
br label %27
27: ; preds = %26
%28 = load i32, ptr %6, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %6, align 4
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds %struct.group, ptr %30, i32 0, i32 0
%32 = load ptr, ptr %31, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %32, i64 %34
%36 = load i64, ptr %35, align 8
%37 = icmp ne i64 %36, 0
br i1 %37, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %38
38: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %39
39: ; preds = %38, %25
%40 = load i32, ptr %3, align 4
ret i32 %40
}
declare i64 @strcmp(i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8pnlp166.c'
source_filename = "/tmp/tmp8pnlp166.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 void @DMIC0_IRQHandler() #0 {
%1 = call i32 (...) @DMIC0_DriverIRQHandler()
ret void
}
declare i32 @DMIC0_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8pnlp166.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 void @DMIC0_IRQHandler() #0 {
%1 = call i32 (...) @DMIC0_DriverIRQHandler()
ret void
}
declare i32 @DMIC0_DriverIRQHandler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 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.