llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpwmnxk4un.c' source_filename = "/tmp/tmpwmnxk4un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 br label %3 3: ; preds = %10, %0 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %21 6: ; preds = %3 %7 = load i64, ptr %2, align 8 %8 = icmp slt i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %6 br label %21 10: ; preds = %6 %11 = load i64, ptr %2, align 8 %12 = load i64, ptr %2, align 8 %13 = mul nsw i64 %11, %12 %14 = load i64, ptr %2, align 8 %15 = add nsw i64 %13, %14 %16 = add nsw i64 %15, 2 store i64 %16, ptr %2, align 8 %17 = load i64, ptr %2, align 8 %18 = sdiv i64 %17, 2 store i64 %18, ptr %2, align 8 %19 = load i64, ptr %2, align 8 %20 = call i32 @printf(ptr noundef @.str.1, i64 noundef %19) br label %3, !llvm.loop !6 21: ; preds = %9, %3 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwmnxk4un.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lld\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %4 = icmp eq i32 %3, 1 br i1 %4, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i64, ptr %2, align 8 %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %5 br label %22 9: ; preds = %5 %10 = load i64, ptr %2, align 8 %11 = load i64, ptr %2, align 8 %12 = mul nsw i64 %10, %11 %13 = load i64, ptr %2, align 8 %14 = add nsw i64 %12, %13 %15 = add nsw i64 %14, 2 store i64 %15, ptr %2, align 8 %16 = load i64, ptr %2, align 8 %17 = sdiv i64 %16, 2 store i64 %17, ptr %2, align 8 %18 = load i64, ptr %2, align 8 %19 = call i32 @printf(ptr noundef @.str.1, i64 noundef %18) %20 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %21 = icmp eq i32 %20, 1 br i1 %21, label %5, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %9 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %22 22: ; preds = %.loopexit, %8 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpincfdf_z.c' source_filename = "/tmp/tmpincfdf_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @taa_h264_quote_level(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @abs(i32 noundef %4) #3 %6 = mul nsw i32 %5, 2 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %1 %13 = load i32, ptr %3, align 4 %14 = call i32 @taa_h264_quote_uvlc(i32 noundef %13) ret i32 %14 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #1 declare i32 @taa_h264_quote_uvlc(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpincfdf_z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @taa_h264_quote_level(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @abs(i32 noundef %4) #3 %6 = mul nsw i32 %5, 2 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sgt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %1 %13 = load i32, ptr %3, align 4 %14 = call i32 @taa_h264_quote_uvlc(i32 noundef %13) ret i32 %14 } ; Function Attrs: nounwind willreturn memory(none) declare i32 @abs(i32 noundef) #1 declare i32 @taa_h264_quote_uvlc(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 = { nounwind willreturn memory(none) "frame-pointer"="all" "no-trapping-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 = { "frame-pointer"="all" "no-trapping-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 willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjartchfk.c' source_filename = "/tmp/tmpjartchfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 @add(i32 noundef 2, i32 noundef 3) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @add(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/tmpjartchfk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local 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 @add(i32 noundef 2, i32 noundef 3) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @add(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/tmp1m6ky7m3.c' source_filename = "/tmp/tmp1m6ky7m3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sal_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1m6ky7m3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sal_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbjkpoxm5.c' source_filename = "/tmp/tmpbjkpoxm5.c" target datalayout = "e-m:e-p270: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/tmpbjkpoxm5.c" target datalayout = "e-m:e-p270: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/tmpcoy1hop0.c' source_filename = "/tmp/tmpcoy1hop0.c" target datalayout = "e-m:e-p270: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/tmpcoy1hop0.c" target datalayout = "e-m:e-p270: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/tmpawt43sq5.c' source_filename = "/tmp/tmpawt43sq5.c" target datalayout = "e-m:e-p270: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/tmpawt43sq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_kaul150.c' source_filename = "/tmp/tmp_kaul150.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr_fd(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 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %26 8: ; preds = %2 store i32 0, ptr %5, align 4 br label %9 9: ; preds = %16, %8 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = sext i32 %18 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 %22 = load i8, ptr %21, align 1 %23 = load i32, ptr %4, align 4 %24 = call i32 @ft_putchar_fd(i8 noundef signext %22, i32 noundef %23) br label %9, !llvm.loop !6 25: ; preds = %9 br label %26 26: ; preds = %25, %2 ret void } declare i32 @ft_putchar_fd(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_kaul150.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr_fd(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 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %8, label %31 8: ; preds = %2 store i32 0, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %.lr.ph, label %30 .lr.ph: ; preds = %8 br label %15 15: ; preds = %.lr.ph, %15 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = sext i32 %17 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = load i8, ptr %20, align 1 %22 = load i32, ptr %4, align 4 %23 = call i32 @ft_putchar_fd(i8 noundef signext %21, i32 noundef %22) %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = icmp ne i8 %28, 0 br i1 %29, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %30 30: ; preds = %._crit_edge, %8 br label %31 31: ; preds = %30, %2 ret void } declare i32 @ft_putchar_fd(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"}
; ModuleID = '/tmp/tmpednxzvoa.c' source_filename = "/tmp/tmpednxzvoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"foo.fileio.test\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"read 1: %s %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"read 1: ret = %d, errno = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"read 2: ret = %d, errno = %d %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_read() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [16 x i8], align 16 store i32 0, ptr @errno, align 4 %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %9, label %35 9: ; preds = %0 %10 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 16) store i32 0, ptr @errno, align 4 %12 = load i32, ptr %2, align 4 %13 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 16) store i32 %14, ptr %3, align 4 %15 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15 store i8 0, ptr %15, align 1 %16 = load i32, ptr %3, align 4 %17 = call i32 @strlen(ptr noundef @.str.1) %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %9 %20 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %21 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i64 %26 = select i1 %24, ptr @.str.3, ptr @.str.4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %20, ptr noundef %26) br label %32 28: ; preds = %9 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr @errno, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %29, i32 noundef %30) br label %32 32: ; preds = %28, %19 %33 = load i32, ptr %2, align 4 %34 = call i32 @close(i32 noundef %33) br label %39 35: ; preds = %0 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr @errno, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %37) br label %39 39: ; preds = %35, %32 store i32 0, ptr @errno, align 4 %40 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %41 = call i32 @read(i32 noundef 999, ptr noundef %40, i32 noundef 16) store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr @errno, align 4 %44 = load i32, ptr @errno, align 4 %45 = call ptr @strerrno(i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %42, i32 noundef %43, ptr noundef %45) %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @strerrno(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/tmpednxzvoa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"foo.fileio.test\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"Hello World\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"read 1: %s %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"OK\00", align 1 @.str.4 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"read 1: ret = %d, errno = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [33 x i8] c"read 2: ret = %d, errno = %d %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_read() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [16 x i8], align 16 store i32 0, ptr @errno, align 4 %5 = load i32, ptr @O_RDONLY, align 4 %6 = call i32 @open(ptr noundef @.str, i32 noundef %5) store i32 %6, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sge i32 %7, 0 br i1 %8, label %9, label %35 9: ; preds = %0 %10 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %11 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 16) store i32 0, ptr @errno, align 4 %12 = load i32, ptr %2, align 4 %13 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %14 = call i32 @read(i32 noundef %12, ptr noundef %13, i32 noundef 16) store i32 %14, ptr %3, align 4 %15 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 15 store i8 0, ptr %15, align 1 %16 = load i32, ptr %3, align 4 %17 = call i32 @strlen(ptr noundef @.str.1) %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %9 %20 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %21 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.1) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i64 %26 = select i1 %24, ptr @.str.3, ptr @.str.4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %20, ptr noundef %26) br label %32 28: ; preds = %9 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr @errno, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %29, i32 noundef %30) br label %32 32: ; preds = %28, %19 %33 = load i32, ptr %2, align 4 %34 = call i32 @close(i32 noundef %33) br label %39 35: ; preds = %0 %36 = load i32, ptr %3, align 4 %37 = load i32, ptr @errno, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %37) br label %39 39: ; preds = %35, %32 store i32 0, ptr @errno, align 4 %40 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %41 = call i32 @read(i32 noundef 999, ptr noundef %40, i32 noundef 16) store i32 %41, ptr %3, align 4 %42 = load i32, ptr %3, align 4 %43 = load i32, ptr @errno, align 4 %44 = load i32, ptr @errno, align 4 %45 = call ptr @strerrno(i32 noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %42, i32 noundef %43, ptr noundef %45) %47 = load i32, ptr %1, align 4 ret i32 %47 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @strerrno(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/tmppq4yifoh.c' source_filename = "/tmp/tmppq4yifoh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_dir64b(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 @_movdir64b(ptr noundef %5, ptr noundef %6) ret void } declare i32 @_movdir64b(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/tmppq4yifoh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_dir64b(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 @_movdir64b(ptr noundef %5, ptr noundef %6) ret void } declare i32 @_movdir64b(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/tmp4a1fs86n.c' source_filename = "/tmp/tmp4a1fs86n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_nvme_id_ctrl(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 = call i32 @__show_nvme_id_ctrl(ptr noundef %5, i32 noundef %6, ptr noundef null) ret void } declare i32 @__show_nvme_id_ctrl(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4a1fs86n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_nvme_id_ctrl(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 = call i32 @__show_nvme_id_ctrl(ptr noundef %5, i32 noundef %6, ptr noundef null) ret void } declare i32 @__show_nvme_id_ctrl(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7wy6g98x.c' source_filename = "/tmp/tmp7wy6g98x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sched_setscheduler(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @__syscall_sched_setscheduler(i32 noundef %7, i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @__syscall_sched_setscheduler(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/tmp7wy6g98x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sched_setscheduler(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %6, align 8 %10 = call i32 @__syscall_sched_setscheduler(i32 noundef %7, i32 noundef %8, ptr noundef %9) ret i32 %10 } declare i32 @__syscall_sched_setscheduler(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/tmpfb5zs7wl.c' source_filename = "/tmp/tmpfb5zs7wl.c" target datalayout = "e-m:e-p270: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/tmpfb5zs7wl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_8u6mrtu.c' source_filename = "/tmp/tmp_8u6mrtu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @back(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 store i8 32, ptr %6, align 1 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %72, %1 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %75 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = load i8, ptr %6, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %19, %21 br i1 %22, label %23, label %30 23: ; preds = %13 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = call i32 @printf(ptr noundef @.str, i8 noundef signext %28) br label %30 30: ; preds = %23, %13 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %4, 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 = load i8, ptr %6, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %36, %38 br i1 %39, label %40, label %43 40: ; preds = %30 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %40, %30 %44 = load i32, ptr %5, align 4 %45 = icmp eq i32 %44, 1 br i1 %45, label %46, label %49 46: ; preds = %43 %47 = load i8, ptr %6, align 1 %48 = call i32 @printf(ptr noundef @.str, i8 noundef signext %47) br label %49 49: ; preds = %46, %43 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = load i8, ptr %6, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %55, %57 br i1 %58, label %59, label %71 59: ; preds = %49 %60 = load ptr, ptr %2, align 8 %61 = load i32, ptr %4, align 4 %62 = add nsw i32 %61, 1 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %60, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = load i8, ptr %6, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %66, %68 br i1 %69, label %70, label %71 70: ; preds = %59 store i32 0, ptr %5, align 4 br label %71 71: ; preds = %70, %59, %49 br label %72 72: ; preds = %71 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %4, align 4 br label %9, !llvm.loop !6 75: ; preds = %9 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_8u6mrtu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @back(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %5, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %3, align 4 store i8 32, ptr %6, align 1 store i32 0, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %77 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %71 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %18, %20 br i1 %21, label %22, label %29 22: ; preds = %12 %23 = load ptr, ptr %2, align 8 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = call i32 @printf(ptr noundef @.str, i8 noundef signext %27) br label %29 29: ; preds = %22, %12 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = load i8, ptr %6, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %35, %37 br i1 %38, label %39, label %42 39: ; preds = %29 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %5, align 4 br label %42 42: ; preds = %39, %29 %43 = load i32, ptr %5, align 4 %44 = icmp eq i32 %43, 1 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load i8, ptr %6, align 1 %47 = call i32 @printf(ptr noundef @.str, i8 noundef signext %46) br label %48 48: ; preds = %45, %42 %49 = load ptr, ptr %2, align 8 %50 = load i32, ptr %4, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = load i8, ptr %6, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %54, %56 br i1 %57, label %58, label %70 58: ; preds = %48 %59 = load ptr, ptr %2, align 8 %60 = load i32, ptr %4, align 4 %61 = add nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %59, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = load i8, ptr %6, align 1 %67 = sext i8 %66 to i32 %68 = icmp ne i32 %65, %67 br i1 %68, label %69, label %70 69: ; preds = %58 store i32 0, ptr %5, align 4 br label %70 70: ; preds = %69, %58, %48 br label %71 71: ; preds = %70 %72 = load i32, ptr %4, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %4, align 4 %74 = load i32, ptr %4, align 4 %75 = load i32, ptr %3, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %71 br label %77 77: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_lmq8oxw.c' source_filename = "/tmp/tmp_lmq8oxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_lmq8oxw.c" target datalayout = "e-m:e-p270: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/tmp92_28pes.c' source_filename = "/tmp/tmp92_28pes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output_indent(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %10, %1 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = call i32 @putchar(i8 noundef signext 9) br label %10 10: ; preds = %8 %11 = load i32, ptr %3, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %3, align 4 br label %4, !llvm.loop !6 13: ; preds = %4 ret void } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92_28pes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @output_indent(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %4, %5 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %9 %8 = call i32 @putchar(i8 noundef signext 9) br label %9 9: ; preds = %7 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %15 15: ; preds = %._crit_edge, %1 ret void } declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpf_qt5gmy.c' source_filename = "/tmp/tmpf_qt5gmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Failed to allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @allocate(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 8, %8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) %12 = load ptr, ptr %3, align 8 store ptr %11, ptr %12, align 8 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %13, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %2 %17 = call i32 @printf(ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 br label %20 20: ; preds = %42, %19 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %45 24: ; preds = %20 %25 = call ptr @malloc(i32 noundef 25) %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 store ptr %25, ptr %30, align 8 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %5, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %24 %39 = call i32 @printf(ptr noundef @.str) %40 = call i32 @exit(i32 noundef 1) #3 unreachable 41: ; preds = %24 br label %42 42: ; preds = %41 %43 = load i32, ptr %5, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %5, align 4 br label %20, !llvm.loop !6 45: ; preds = %20 ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf_qt5gmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [27 x i8] c"Failed to allocate memory\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @allocate(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = mul i64 8, %8 %10 = trunc i64 %9 to i32 %11 = call ptr @malloc(i32 noundef %10) %12 = load ptr, ptr %3, align 8 store ptr %11, ptr %12, align 8 %13 = load ptr, ptr %3, align 8 %14 = load ptr, ptr %13, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %19 16: ; preds = %2 %17 = call i32 @printf(ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %47 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %41 %24 = call ptr @malloc(i32 noundef 25) %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 store ptr %24, ptr %29, align 8 %30 = load ptr, ptr %3, align 8 %31 = load ptr, ptr %30, align 8 %32 = load i32, ptr %5, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds ptr, ptr %31, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %40 37: ; preds = %23 %38 = call i32 @printf(ptr noundef @.str) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %23 br label %41 41: ; preds = %40 %42 = load i32, ptr %5, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %5, align 4 %44 = load i32, ptr %5, align 4 %45 = load i32, ptr %4, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %19 ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0muubjrp.c' source_filename = "/tmp/tmp0muubjrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"NaN(%08X%08X)\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.17g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dtoa_grisu3(double noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store double %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 8 store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load i32, ptr %11, align 4 %18 = shl i32 %17, 1 %19 = sext i32 %18 to i64 %20 = icmp ugt i64 %19, -9007199254740992 br i1 %20, label %21, label %31 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %11, align 4 %24 = ashr i32 %23, 32 %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = inttoptr i64 %28 to ptr %30 = call i32 (ptr, ...) @sprintf_s(ptr noundef %22, ptr noundef @.str, ptr noundef %26, ptr noundef %29) store i32 %30, ptr %3, align 4 br label %286 31: ; preds = %2 %32 = load i32, ptr %11, align 4 %33 = sext i32 %32 to i64 %34 = and i64 %33, -9223372036854775808 %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %45 36: ; preds = %31 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %12, align 8 store i8 45, ptr %37, align 1 %39 = load double, ptr %4, align 8 %40 = fneg double %39 store double %40, ptr %4, align 8 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = xor i64 %42, -9223372036854775808 %44 = trunc i64 %43 to i32 store i32 %44, ptr %11, align 4 br label %45 45: ; preds = %36, %31 %46 = load i32, ptr %11, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %58, label %48 48: ; preds = %45 %49 = load ptr, ptr %12, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %12, align 8 store i8 48, ptr %49, align 1 %51 = load ptr, ptr %12, align 8 store i8 0, ptr %51, align 1 %52 = load ptr, ptr %12, align 8 %53 = load ptr, ptr %5, align 8 %54 = ptrtoint ptr %52 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = trunc i64 %56 to i32 store i32 %57, ptr %3, align 4 br label %286 58: ; preds = %45 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = icmp eq i64 %60, 9218868437227405312 br i1 %61, label %62, label %76 62: ; preds = %58 %63 = load ptr, ptr %12, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %12, align 8 store i8 105, ptr %63, align 1 %65 = load ptr, ptr %12, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %12, align 8 store i8 110, ptr %65, align 1 %67 = load ptr, ptr %12, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %12, align 8 store i8 102, ptr %67, align 1 %69 = load ptr, ptr %12, align 8 store i8 0, ptr %69, align 1 %70 = load ptr, ptr %12, align 8 %71 = load ptr, ptr %5, align 8 %72 = ptrtoint ptr %70 to i64 %73 = ptrtoint ptr %71 to i64 %74 = sub i64 %72, %73 %75 = trunc i64 %74 to i32 store i32 %75, ptr %3, align 4 br label %286 76: ; preds = %58 %77 = load double, ptr %4, align 8 %78 = load ptr, ptr %12, align 8 %79 = call i32 @grisu3(double noundef %77, ptr noundef %78, ptr noundef %7, ptr noundef %6) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %93, label %82 82: ; preds = %76 %83 = load ptr, ptr %12, align 8 %84 = load double, ptr %4, align 8 %85 = call i32 (ptr, ...) @sprintf_s(ptr noundef %83, i32 noundef 256, ptr noundef @.str.1, double noundef %84) %86 = load ptr, ptr %12, align 8 %87 = load ptr, ptr %5, align 8 %88 = ptrtoint ptr %86 to i64 %89 = ptrtoint ptr %87 to i64 %90 = sub i64 %88, %89 %91 = trunc i64 %90 to i32 %92 = add nsw i32 %85, %91 store i32 %92, ptr %3, align 4 br label %286 93: ; preds = %76 %94 = load i32, ptr %6, align 4 %95 = sub nsw i32 0, %94 %96 = load i32, ptr %7, align 4 %97 = sub nsw i32 %96, 1 %98 = icmp sge i32 1, %97 br i1 %98, label %99, label %100 99: ; preds = %93 br label %103 100: ; preds = %93 %101 = load i32, ptr %7, align 4 %102 = sub nsw i32 %101, 1 br label %103 103: ; preds = %100, %99 %104 = phi i32 [ 1, %99 ], [ %102, %100 ] %105 = icmp sle i32 %95, %104 br i1 %105, label %106, label %109 106: ; preds = %103 %107 = load i32, ptr %6, align 4 %108 = sub nsw i32 0, %107 br label %119 109: ; preds = %103 %110 = load i32, ptr %7, align 4 %111 = sub nsw i32 %110, 1 %112 = icmp sge i32 1, %111 br i1 %112, label %113, label %114 113: ; preds = %109 br label %117 114: ; preds = %109 %115 = load i32, ptr %7, align 4 %116 = sub nsw i32 %115, 1 br label %117 117: ; preds = %114, %113 %118 = phi i32 [ 1, %113 ], [ %116, %114 ] br label %119 119: ; preds = %117, %106 %120 = phi i32 [ %108, %106 ], [ %118, %117 ] store i32 %120, ptr %9, align 4 %121 = load i32, ptr %6, align 4 %122 = icmp slt i32 %121, 0 br i1 %122, label %123, label %179 123: ; preds = %119 %124 = load i32, ptr %7, align 4 %125 = icmp sgt i32 %124, 1 br i1 %125, label %126, label %179 126: ; preds = %123 store i32 0, ptr %10, align 4 br label %127 127: ; preds = %146, %126 %128 = load i32, ptr %10, align 4 %129 = load i32, ptr %9, align 4 %130 = icmp slt i32 %128, %129 br i1 %130, label %131, label %149 131: ; preds = %127 %132 = load ptr, ptr %12, align 8 %133 = load i32, ptr %7, align 4 %134 = load i32, ptr %10, align 4 %135 = sub nsw i32 %133, %134 %136 = sub nsw i32 %135, 1 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %132, i64 %137 %139 = load i8, ptr %138, align 1 %140 = load ptr, ptr %12, align 8 %141 = load i32, ptr %7, align 4 %142 = load i32, ptr %10, align 4 %143 = sub nsw i32 %141, %142 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds i8, ptr %140, i64 %144 store i8 %139, ptr %145, align 1 br label %146 146: ; preds = %131 %147 = load i32, ptr %10, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %10, align 4 br label %127, !llvm.loop !6 149: ; preds = %127 %150 = load ptr, ptr %12, align 8 %151 = load i32, ptr %7, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %7, align 4 %153 = load i32, ptr %9, align 4 %154 = sub nsw i32 %151, %153 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds i8, ptr %150, i64 %155 store i8 46, ptr %156, align 1 %157 = load i32, ptr %9, align 4 %158 = load i32, ptr %6, align 4 %159 = add nsw i32 %158, %157 store i32 %159, ptr %6, align 4 %160 = load i32, ptr %6, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %162, label %178 162: ; preds = %149 %163 = load ptr, ptr %12, align 8 %164 = load i32, ptr %7, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %7, align 4 %166 = sext i32 %164 to i64 %167 = getelementptr inbounds i8, ptr %163, i64 %166 store i8 101, ptr %167, align 1 %168 = load i32, ptr %6, align 4 %169 = load ptr, ptr %12, align 8 %170 = load i32, ptr %7, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %169, i64 %171 %173 = call i64 @i_to_str(i32 noundef %168, ptr noundef %172) %174 = load i32, ptr %7, align 4 %175 = sext i32 %174 to i64 %176 = add nsw i64 %175, %173 %177 = trunc i64 %176 to i32 store i32 %177, ptr %7, align 4 br label %178 178: ; preds = %162, %149 br label %272 179: ; preds = %123, %119 %180 = load i32, ptr %6, align 4 %181 = icmp slt i32 %180, 0 br i1 %181, label %182, label %232 182: ; preds = %179 %183 = load i32, ptr %6, align 4 %184 = icmp sge i32 %183, -3 br i1 %184, label %185, label %232 185: ; preds = %182 store i32 0, ptr %10, align 4 br label %186 186: ; preds = %208, %185 %187 = load i32, ptr %10, align 4 %188 = load i32, ptr %7, align 4 %189 = icmp slt i32 %187, %188 br i1 %189, label %190, label %211 190: ; preds = %186 %191 = load ptr, ptr %12, align 8 %192 = load i32, ptr %7, align 4 %193 = load i32, ptr %10, align 4 %194 = sub nsw i32 %192, %193 %195 = sub nsw i32 %194, 1 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds i8, ptr %191, i64 %196 %198 = load i8, ptr %197, align 1 %199 = load ptr, ptr %12, align 8 %200 = load i32, ptr %7, align 4 %201 = load i32, ptr %6, align 4 %202 = sub nsw i32 %200, %201 %203 = sub nsw i32 %202, 1 %204 = load i32, ptr %10, align 4 %205 = sub nsw i32 %203, %204 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds i8, ptr %199, i64 %206 store i8 %198, ptr %207, align 1 br label %208 208: ; preds = %190 %209 = load i32, ptr %10, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %10, align 4 br label %186, !llvm.loop !8 211: ; preds = %186 %212 = load ptr, ptr %12, align 8 %213 = getelementptr inbounds i8, ptr %212, i64 0 store i8 46, ptr %213, align 1 store i32 1, ptr %10, align 4 br label %214 214: ; preds = %224, %211 %215 = load i32, ptr %10, align 4 %216 = load i32, ptr %6, align 4 %217 = sub nsw i32 0, %216 %218 = icmp slt i32 %215, %217 br i1 %218, label %219, label %227 219: ; preds = %214 %220 = load ptr, ptr %12, align 8 %221 = load i32, ptr %10, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds i8, ptr %220, i64 %222 store i8 48, ptr %223, align 1 br label %224 224: ; preds = %219 %225 = load i32, ptr %10, align 4 %226 = add nsw i32 %225, 1 store i32 %226, ptr %10, align 4 br label %214, !llvm.loop !9 227: ; preds = %214 %228 = load i32, ptr %6, align 4 %229 = sub nsw i32 0, %228 %230 = load i32, ptr %7, align 4 %231 = add nsw i32 %230, %229 store i32 %231, ptr %7, align 4 br label %271 232: ; preds = %182, %179 %233 = load i32, ptr %6, align 4 %234 = icmp slt i32 %233, 0 br i1 %234, label %238, label %235 235: ; preds = %232 %236 = load i32, ptr %6, align 4 %237 = icmp sgt i32 %236, 2 br i1 %237, label %238, label %254 238: ; preds = %235, %232 %239 = load ptr, ptr %12, align 8 %240 = load i32, ptr %7, align 4 %241 = add nsw i32 %240, 1 store i32 %241, ptr %7, align 4 %242 = sext i32 %240 to i64 %243 = getelementptr inbounds i8, ptr %239, i64 %242 store i8 101, ptr %243, align 1 %244 = load i32, ptr %6, align 4 %245 = load ptr, ptr %12, align 8 %246 = load i32, ptr %7, align 4 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds i8, ptr %245, i64 %247 %249 = call i64 @i_to_str(i32 noundef %244, ptr noundef %248) %250 = load i32, ptr %7, align 4 %251 = sext i32 %250 to i64 %252 = add nsw i64 %251, %249 %253 = trunc i64 %252 to i32 store i32 %253, ptr %7, align 4 br label %270 254: ; preds = %235 %255 = load i32, ptr %6, align 4 %256 = icmp sgt i32 %255, 0 br i1 %256, label %257, label %269 257: ; preds = %254 br label %258 258: ; preds = %262, %257 %259 = load i32, ptr %6, align 4 %260 = add nsw i32 %259, -1 store i32 %260, ptr %6, align 4 %261 = icmp sgt i32 %259, 0 br i1 %261, label %262, label %268 262: ; preds = %258 %263 = load ptr, ptr %12, align 8 %264 = load i32, ptr %7, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %7, align 4 %266 = sext i32 %264 to i64 %267 = getelementptr inbounds i8, ptr %263, i64 %266 store i8 48, ptr %267, align 1 br label %258, !llvm.loop !10 268: ; preds = %258 br label %269 269: ; preds = %268, %254 br label %270 270: ; preds = %269, %238 br label %271 271: ; preds = %270, %227 br label %272 272: ; preds = %271, %178 %273 = load ptr, ptr %12, align 8 %274 = load i32, ptr %7, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds i8, ptr %273, i64 %275 store i8 0, ptr %276, align 1 %277 = load ptr, ptr %12, align 8 %278 = load i32, ptr %7, align 4 %279 = sext i32 %278 to i64 %280 = getelementptr inbounds i8, ptr %277, i64 %279 %281 = load ptr, ptr %5, align 8 %282 = ptrtoint ptr %280 to i64 %283 = ptrtoint ptr %281 to i64 %284 = sub i64 %282, %283 %285 = trunc i64 %284 to i32 store i32 %285, ptr %3, align 4 br label %286 286: ; preds = %272, %82, %62, %48, %21 %287 = load i32, ptr %3, align 4 ret i32 %287 } declare i32 @assert(ptr noundef) #1 declare i32 @sprintf_s(ptr noundef, ...) #1 declare i32 @grisu3(double noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @i_to_str(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0muubjrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"NaN(%08X%08X)\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%.17g\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dtoa_grisu3(double noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store double %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 8 store i32 %13, ptr %11, align 4 %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %12, align 8 %15 = load ptr, ptr %5, align 8 %16 = call i32 @assert(ptr noundef %15) %17 = load i32, ptr %11, align 4 %18 = shl i32 %17, 1 %19 = sext i32 %18 to i64 %20 = icmp ugt i64 %19, -9007199254740992 br i1 %20, label %21, label %31 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %11, align 4 %24 = ashr i32 %23, 32 %25 = sext i32 %24 to i64 %26 = inttoptr i64 %25 to ptr %27 = load i32, ptr %11, align 4 %28 = sext i32 %27 to i64 %29 = inttoptr i64 %28 to ptr %30 = call i32 (ptr, ...) @sprintf_s(ptr noundef %22, ptr noundef @.str, ptr noundef %26, ptr noundef %29) store i32 %30, ptr %3, align 4 br label %295 31: ; preds = %2 %32 = load i32, ptr %11, align 4 %33 = sext i32 %32 to i64 %34 = and i64 %33, -9223372036854775808 %35 = icmp ne i64 %34, 0 br i1 %35, label %36, label %45 36: ; preds = %31 %37 = load ptr, ptr %12, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %12, align 8 store i8 45, ptr %37, align 1 %39 = load double, ptr %4, align 8 %40 = fneg double %39 store double %40, ptr %4, align 8 %41 = load i32, ptr %11, align 4 %42 = sext i32 %41 to i64 %43 = xor i64 %42, -9223372036854775808 %44 = trunc i64 %43 to i32 store i32 %44, ptr %11, align 4 br label %45 45: ; preds = %36, %31 %46 = load i32, ptr %11, align 4 %47 = icmp ne i32 %46, 0 br i1 %47, label %58, label %48 48: ; preds = %45 %49 = load ptr, ptr %12, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %12, align 8 store i8 48, ptr %49, align 1 %51 = load ptr, ptr %12, align 8 store i8 0, ptr %51, align 1 %52 = load ptr, ptr %12, align 8 %53 = load ptr, ptr %5, align 8 %54 = ptrtoint ptr %52 to i64 %55 = ptrtoint ptr %53 to i64 %56 = sub i64 %54, %55 %57 = trunc i64 %56 to i32 store i32 %57, ptr %3, align 4 br label %295 58: ; preds = %45 %59 = load i32, ptr %11, align 4 %60 = sext i32 %59 to i64 %61 = icmp eq i64 %60, 9218868437227405312 br i1 %61, label %62, label %76 62: ; preds = %58 %63 = load ptr, ptr %12, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %12, align 8 store i8 105, ptr %63, align 1 %65 = load ptr, ptr %12, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %12, align 8 store i8 110, ptr %65, align 1 %67 = load ptr, ptr %12, align 8 %68 = getelementptr inbounds i8, ptr %67, i32 1 store ptr %68, ptr %12, align 8 store i8 102, ptr %67, align 1 %69 = load ptr, ptr %12, align 8 store i8 0, ptr %69, align 1 %70 = load ptr, ptr %12, align 8 %71 = load ptr, ptr %5, align 8 %72 = ptrtoint ptr %70 to i64 %73 = ptrtoint ptr %71 to i64 %74 = sub i64 %72, %73 %75 = trunc i64 %74 to i32 store i32 %75, ptr %3, align 4 br label %295 76: ; preds = %58 %77 = load double, ptr %4, align 8 %78 = load ptr, ptr %12, align 8 %79 = call i32 @grisu3(double noundef %77, ptr noundef %78, ptr noundef %7, ptr noundef %6) store i32 %79, ptr %8, align 4 %80 = load i32, ptr %8, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %93, label %82 82: ; preds = %76 %83 = load ptr, ptr %12, align 8 %84 = load double, ptr %4, align 8 %85 = call i32 (ptr, ...) @sprintf_s(ptr noundef %83, i32 noundef 256, ptr noundef @.str.1, double noundef %84) %86 = load ptr, ptr %12, align 8 %87 = load ptr, ptr %5, align 8 %88 = ptrtoint ptr %86 to i64 %89 = ptrtoint ptr %87 to i64 %90 = sub i64 %88, %89 %91 = trunc i64 %90 to i32 %92 = add nsw i32 %85, %91 store i32 %92, ptr %3, align 4 br label %295 93: ; preds = %76 %94 = load i32, ptr %6, align 4 %95 = sub nsw i32 0, %94 %96 = load i32, ptr %7, align 4 %97 = sub nsw i32 %96, 1 %98 = icmp sge i32 1, %97 br i1 %98, label %99, label %100 99: ; preds = %93 br label %103 100: ; preds = %93 %101 = load i32, ptr %7, align 4 %102 = sub nsw i32 %101, 1 br label %103 103: ; preds = %100, %99 %104 = phi i32 [ 1, %99 ], [ %102, %100 ] %105 = icmp sle i32 %95, %104 br i1 %105, label %106, label %109 106: ; preds = %103 %107 = load i32, ptr %6, align 4 %108 = sub nsw i32 0, %107 br label %119 109: ; preds = %103 %110 = load i32, ptr %7, align 4 %111 = sub nsw i32 %110, 1 %112 = icmp sge i32 1, %111 br i1 %112, label %113, label %114 113: ; preds = %109 br label %117 114: ; preds = %109 %115 = load i32, ptr %7, align 4 %116 = sub nsw i32 %115, 1 br label %117 117: ; preds = %114, %113 %118 = phi i32 [ 1, %113 ], [ %116, %114 ] br label %119 119: ; preds = %117, %106 %120 = phi i32 [ %108, %106 ], [ %118, %117 ] store i32 %120, ptr %9, align 4 %121 = load i32, ptr %6, align 4 %122 = icmp slt i32 %121, 0 br i1 %122, label %123, label %181 123: ; preds = %119 %124 = load i32, ptr %7, align 4 %125 = icmp sgt i32 %124, 1 br i1 %125, label %126, label %181 126: ; preds = %123 store i32 0, ptr %10, align 4 %127 = load i32, ptr %10, align 4 %128 = load i32, ptr %9, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %.lr.ph8, label %151 .lr.ph8: ; preds = %126 br label %130 130: ; preds = %.lr.ph8, %145 %131 = load ptr, ptr %12, align 8 %132 = load i32, ptr %7, align 4 %133 = load i32, ptr %10, align 4 %134 = sub nsw i32 %132, %133 %135 = sub nsw i32 %134, 1 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %131, i64 %136 %138 = load i8, ptr %137, align 1 %139 = load ptr, ptr %12, align 8 %140 = load i32, ptr %7, align 4 %141 = load i32, ptr %10, align 4 %142 = sub nsw i32 %140, %141 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds i8, ptr %139, i64 %143 store i8 %138, ptr %144, align 1 br label %145 145: ; preds = %130 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %10, align 4 %148 = load i32, ptr %10, align 4 %149 = load i32, ptr %9, align 4 %150 = icmp slt i32 %148, %149 br i1 %150, label %130, label %._crit_edge9, !llvm.loop !6 ._crit_edge9: ; preds = %145 br label %151 151: ; preds = %._crit_edge9, %126 %152 = load ptr, ptr %12, align 8 %153 = load i32, ptr %7, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %7, align 4 %155 = load i32, ptr %9, align 4 %156 = sub nsw i32 %153, %155 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %152, i64 %157 store i8 46, ptr %158, align 1 %159 = load i32, ptr %9, align 4 %160 = load i32, ptr %6, align 4 %161 = add nsw i32 %160, %159 store i32 %161, ptr %6, align 4 %162 = load i32, ptr %6, align 4 %163 = icmp ne i32 %162, 0 br i1 %163, label %164, label %180 164: ; preds = %151 %165 = load ptr, ptr %12, align 8 %166 = load i32, ptr %7, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %7, align 4 %168 = sext i32 %166 to i64 %169 = getelementptr inbounds i8, ptr %165, i64 %168 store i8 101, ptr %169, align 1 %170 = load i32, ptr %6, align 4 %171 = load ptr, ptr %12, align 8 %172 = load i32, ptr %7, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds i8, ptr %171, i64 %173 %175 = call i64 @i_to_str(i32 noundef %170, ptr noundef %174) %176 = load i32, ptr %7, align 4 %177 = sext i32 %176 to i64 %178 = add nsw i64 %177, %175 %179 = trunc i64 %178 to i32 store i32 %179, ptr %7, align 4 br label %180 180: ; preds = %164, %151 br label %281 181: ; preds = %123, %119 %182 = load i32, ptr %6, align 4 %183 = icmp slt i32 %182, 0 br i1 %183, label %184, label %239 184: ; preds = %181 %185 = load i32, ptr %6, align 4 %186 = icmp sge i32 %185, -3 br i1 %186, label %187, label %239 187: ; preds = %184 store i32 0, ptr %10, align 4 %188 = load i32, ptr %10, align 4 %189 = load i32, ptr %7, align 4 %190 = icmp slt i32 %188, %189 br i1 %190, label %.lr.ph2, label %215 .lr.ph2: ; preds = %187 br label %191 191: ; preds = %.lr.ph2, %209 %192 = load ptr, ptr %12, align 8 %193 = load i32, ptr %7, align 4 %194 = load i32, ptr %10, align 4 %195 = sub nsw i32 %193, %194 %196 = sub nsw i32 %195, 1 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds i8, ptr %192, i64 %197 %199 = load i8, ptr %198, align 1 %200 = load ptr, ptr %12, align 8 %201 = load i32, ptr %7, align 4 %202 = load i32, ptr %6, align 4 %203 = sub nsw i32 %201, %202 %204 = sub nsw i32 %203, 1 %205 = load i32, ptr %10, align 4 %206 = sub nsw i32 %204, %205 %207 = sext i32 %206 to i64 %208 = getelementptr inbounds i8, ptr %200, i64 %207 store i8 %199, ptr %208, align 1 br label %209 209: ; preds = %191 %210 = load i32, ptr %10, align 4 %211 = add nsw i32 %210, 1 store i32 %211, ptr %10, align 4 %212 = load i32, ptr %10, align 4 %213 = load i32, ptr %7, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %191, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %209 br label %215 215: ; preds = %._crit_edge3, %187 %216 = load ptr, ptr %12, align 8 %217 = getelementptr inbounds i8, ptr %216, i64 0 store i8 46, ptr %217, align 1 store i32 1, ptr %10, align 4 %218 = load i32, ptr %10, align 4 %219 = load i32, ptr %6, align 4 %220 = sub nsw i32 0, %219 %221 = icmp slt i32 %218, %220 br i1 %221, label %.lr.ph5, label %234 .lr.ph5: ; preds = %215 br label %222 222: ; preds = %.lr.ph5, %227 %223 = load ptr, ptr %12, align 8 %224 = load i32, ptr %10, align 4 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds i8, ptr %223, i64 %225 store i8 48, ptr %226, align 1 br label %227 227: ; preds = %222 %228 = load i32, ptr %10, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %10, align 4 %230 = load i32, ptr %10, align 4 %231 = load i32, ptr %6, align 4 %232 = sub nsw i32 0, %231 %233 = icmp slt i32 %230, %232 br i1 %233, label %222, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %227 br label %234 234: ; preds = %._crit_edge6, %215 %235 = load i32, ptr %6, align 4 %236 = sub nsw i32 0, %235 %237 = load i32, ptr %7, align 4 %238 = add nsw i32 %237, %236 store i32 %238, ptr %7, align 4 br label %280 239: ; preds = %184, %181 %240 = load i32, ptr %6, align 4 %241 = icmp slt i32 %240, 0 br i1 %241, label %245, label %242 242: ; preds = %239 %243 = load i32, ptr %6, align 4 %244 = icmp sgt i32 %243, 2 br i1 %244, label %245, label %261 245: ; preds = %242, %239 %246 = load ptr, ptr %12, align 8 %247 = load i32, ptr %7, align 4 %248 = add nsw i32 %247, 1 store i32 %248, ptr %7, align 4 %249 = sext i32 %247 to i64 %250 = getelementptr inbounds i8, ptr %246, i64 %249 store i8 101, ptr %250, align 1 %251 = load i32, ptr %6, align 4 %252 = load ptr, ptr %12, align 8 %253 = load i32, ptr %7, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds i8, ptr %252, i64 %254 %256 = call i64 @i_to_str(i32 noundef %251, ptr noundef %255) %257 = load i32, ptr %7, align 4 %258 = sext i32 %257 to i64 %259 = add nsw i64 %258, %256 %260 = trunc i64 %259 to i32 store i32 %260, ptr %7, align 4 br label %279 261: ; preds = %242 %262 = load i32, ptr %6, align 4 %263 = icmp sgt i32 %262, 0 br i1 %263, label %264, label %278 264: ; preds = %261 %265 = load i32, ptr %6, align 4 %266 = add nsw i32 %265, -1 store i32 %266, ptr %6, align 4 %267 = icmp sgt i32 %265, 0 br i1 %267, label %.lr.ph, label %277 .lr.ph: ; preds = %264 br label %268 268: ; preds = %.lr.ph, %268 %269 = load ptr, ptr %12, align 8 %270 = load i32, ptr %7, align 4 %271 = add nsw i32 %270, 1 store i32 %271, ptr %7, align 4 %272 = sext i32 %270 to i64 %273 = getelementptr inbounds i8, ptr %269, i64 %272 store i8 48, ptr %273, align 1 %274 = load i32, ptr %6, align 4 %275 = add nsw i32 %274, -1 store i32 %275, ptr %6, align 4 %276 = icmp sgt i32 %274, 0 br i1 %276, label %268, label %._crit_edge, !llvm.loop !10 ._crit_edge: ; preds = %268 br label %277 277: ; preds = %._crit_edge, %264 br label %278 278: ; preds = %277, %261 br label %279 279: ; preds = %278, %245 br label %280 280: ; preds = %279, %234 br label %281 281: ; preds = %280, %180 %282 = load ptr, ptr %12, align 8 %283 = load i32, ptr %7, align 4 %284 = sext i32 %283 to i64 %285 = getelementptr inbounds i8, ptr %282, i64 %284 store i8 0, ptr %285, align 1 %286 = load ptr, ptr %12, align 8 %287 = load i32, ptr %7, align 4 %288 = sext i32 %287 to i64 %289 = getelementptr inbounds i8, ptr %286, i64 %288 %290 = load ptr, ptr %5, align 8 %291 = ptrtoint ptr %289 to i64 %292 = ptrtoint ptr %290 to i64 %293 = sub i64 %291, %292 %294 = trunc i64 %293 to i32 store i32 %294, ptr %3, align 4 br label %295 295: ; preds = %281, %82, %62, %48, %21 %296 = load i32, ptr %3, align 4 ret i32 %296 } declare i32 @assert(ptr noundef) #1 declare i32 @sprintf_s(ptr noundef, ...) #1 declare i32 @grisu3(double noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @i_to_str(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp43mecapl.c' source_filename = "/tmp/tmp43mecapl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %12, %1 %5 = load ptr, ptr %2, align 8 %6 = load i32, ptr %3, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %21 12: ; preds = %4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i32 @ft_putchar(i8 noundef signext %17) %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %4, !llvm.loop !6 21: ; preds = %4 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp43mecapl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %3, align 4 %6 = sext i32 %5 to i64 %7 = getelementptr inbounds i8, ptr %4, i64 %6 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = call i32 @ft_putchar(i8 noundef signext %16) %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load ptr, ptr %2, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 0 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %27 27: ; preds = %._crit_edge, %1 ret void } declare i32 @ft_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj0icwa0k.c' source_filename = "/tmp/tmpj0icwa0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"42\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj0icwa0k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"42\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxu1kcfz_.c' source_filename = "/tmp/tmpxu1kcfz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Austin Parrish\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Computer is Little endian \0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Computer is Big endian \0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"sizeof(short) = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"sizeof(int) = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"sizeof(long) = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"sizeof(long long) = %u\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"Dec\09Hex\09\09Binary\0A\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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i64 (...) @isBigEndian() %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %11 11: ; preds = %9, %7 store i64 1, ptr %2, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 4) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 8) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 8) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -3, ptr %3, align 4 br label %17 17: ; preds = %24, %11 %18 = load i32, ptr %3, align 4 %19 = icmp sle i32 %18, 10 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = call i32 @printNum(i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %24 24: ; preds = %20 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %17, !llvm.loop !6 27: ; preds = %17 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @isBigEndian(...) #1 declare i32 @printNum(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/tmpxu1kcfz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Austin Parrish\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"Computer is Little endian \0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Computer is Big endian \0A\00", align 1 @.str.3 = private unnamed_addr constant [20 x i8] c"sizeof(short) = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"sizeof(int) = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"sizeof(long) = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [24 x i8] c"sizeof(long long) = %u\0A\00", align 1 @.str.7 = private unnamed_addr constant [17 x i8] c"Dec\09Hex\09\09Binary\0A\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 i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i64 (...) @isBigEndian() %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %11 9: ; preds = %0 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %11 11: ; preds = %9, %7 store i64 1, ptr %2, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef 2) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef 4) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef 8) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef 8) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) store i32 -3, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp sle i32 %17, 10 br i1 %18, label %.lr.ph, label %28 .lr.ph: ; preds = %11 br label %19 19: ; preds = %.lr.ph, %23 %20 = load i32, ptr %3, align 4 %21 = call i32 @printNum(i32 noundef %20) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %23 23: ; preds = %19 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = icmp sle i32 %26, 10 br i1 %27, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %11 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i64 @isBigEndian(...) #1 declare i32 @printNum(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/tmpn5seqq7o.c' source_filename = "/tmp/tmpn5seqq7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1 0\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [40 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1000 x i64], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %5, align 4 br label %10 10: ; preds = %19, %0 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %22 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %16 %18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17) br label %19 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %10, !llvm.loop !6 22: ; preds = %10 store i32 1, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 8000, i1 false) %23 = getelementptr inbounds <{ i64, i64, [998 x i64] }>, ptr %6, i32 0, i32 1 store i64 1, ptr %23, align 8 store i32 0, ptr %7, align 4 br label %24 24: ; preds = %93, %22 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %28, label %96 28: ; preds = %24 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %30 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %28 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %93 36: ; preds = %28 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr %4, align 4 %42 = icmp sgt i32 %40, %41 br i1 %42, label %43, label %76 43: ; preds = %36 %44 = load i32, ptr %4, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %8, align 4 br label %46 46: ; preds = %68, %43 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp sle i32 %47, %51 br i1 %52, label %53, label %71 53: ; preds = %46 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %56 %58 = load i64, ptr %57, align 8 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %61 %63 = load i64, ptr %62, align 8 %64 = add i64 %58, %63 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %66 store i64 %64, ptr %67, align 8 br label %68 68: ; preds = %53 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 br label %46, !llvm.loop !8 71: ; preds = %46 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 store i32 %75, ptr %4, align 4 br label %76 76: ; preds = %71, %36 %77 = load i32, ptr %7, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = sub nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %82 %84 = load i64, ptr %83, align 8 %85 = load i32, ptr %7, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %86 %88 = load i32, ptr %87, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %89 %91 = load i64, ptr %90, align 8 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %84, i64 noundef %91) br label %93 93: ; preds = %76, %34 %94 = load i32, ptr %7, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %7, align 4 br label %24, !llvm.loop !9 96: ; preds = %24 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn5seqq7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"1 0\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%d %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [40 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1000 x i64], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %18 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %15 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %13 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %0 store i32 1, ptr %4, align 4 call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 8000, i1 false) %25 = getelementptr inbounds <{ i64, i64, [998 x i64] }>, ptr %6, i32 0, i32 1 store i64 1, ptr %25, align 8 store i32 0, ptr %7, align 4 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %.lr.ph5, label %105 .lr.ph5: ; preds = %24 br label %29 29: ; preds = %.lr.ph5, %99 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %31 %33 = load i32, ptr %32, align 4 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %29 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %99 37: ; preds = %29 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %4, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %82 44: ; preds = %37 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = icmp sle i32 %47, %51 br i1 %52, label %.lr.ph2, label %77 .lr.ph2: ; preds = %44 br label %53 53: ; preds = %.lr.ph2, %68 %54 = load i32, ptr %8, align 4 %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %56 %58 = load i64, ptr %57, align 8 %59 = load i32, ptr %8, align 4 %60 = sub nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %61 %63 = load i64, ptr %62, align 8 %64 = add i64 %58, %63 %65 = load i32, ptr %8, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %66 store i64 %64, ptr %67, align 8 br label %68 68: ; preds = %53 %69 = load i32, ptr %8, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %8, align 4 %71 = load i32, ptr %8, align 4 %72 = load i32, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 %76 = icmp sle i32 %71, %75 br i1 %76, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %77 77: ; preds = %._crit_edge3, %44 %78 = load i32, ptr %7, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 store i32 %81, ptr %4, align 4 br label %82 82: ; preds = %77, %37 %83 = load i32, ptr %7, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %84 %86 = load i32, ptr %85, align 4 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %88 %90 = load i64, ptr %89, align 8 %91 = load i32, ptr %7, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [1000 x i64], ptr %6, i64 0, i64 %95 %97 = load i64, ptr %96, align 8 %98 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %90, i64 noundef %97) br label %99 99: ; preds = %82, %35 %100 = load i32, ptr %7, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %7, align 4 %102 = load i32, ptr %7, align 4 %103 = load i32, ptr %2, align 4 %104 = icmp slt i32 %102, %103 br i1 %104, label %29, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %99 br label %105 105: ; preds = %._crit_edge6, %24 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmprmu_wb2v.c' source_filename = "/tmp/tmprmu_wb2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprmu_wb2v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbbn6qxy0.c' source_filename = "/tmp/tmpbbn6qxy0.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = call i64 @argv_escape_join(ptr noundef %7, i32 noundef %8, ptr noundef %6) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i32 @free(ptr noundef %15) br label %17 17: ; preds = %11, %2 ret i32 0 } declare i64 @argv_escape_join(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbbn6qxy0.c" target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = call i64 @argv_escape_join(ptr noundef %7, i32 noundef %8, ptr noundef %6) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @stderr, align 4 %13 = load ptr, ptr %6, align 8 %14 = call i32 @fprintf(i32 noundef %12, ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %6, align 8 %16 = call i32 @free(ptr noundef %15) br label %17 17: ; preds = %11, %2 ret i32 0 } declare i64 @argv_escape_join(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwo9ddvji.c' source_filename = "/tmp/tmpwo9ddvji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 1, ptr %7, align 4 store i32 2, ptr %8, align 4 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) store i32 1, ptr %9, align 4 br label %12 12: ; preds = %30, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %10, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %33 16: ; preds = %12 %17 = load i32, ptr %8, align 4 %18 = sitofp i32 %17 to double %19 = load i32, ptr %7, align 4 %20 = sitofp i32 %19 to double %21 = fdiv double %18, %20 %22 = load double, ptr %6, align 8 %23 = fadd double %22, %21 store double %23, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %8, align 4 %26 = add nsw i32 %24, %25 store i32 %26, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %7, align 4 %29 = sub nsw i32 %27, %28 store i32 %29, ptr %7, align 4 br label %30 30: ; preds = %16 %31 = load i32, ptr %9, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %9, align 4 br label %12, !llvm.loop !6 33: ; preds = %12 %34 = load double, ptr %6, align 8 %35 = call i32 @printf(ptr noundef @.str.1, double noundef %34) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwo9ddvji.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [7 x i8] c"%.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 0.000000e+00, ptr %6, align 8 store i32 1, ptr %7, align 4 store i32 2, ptr %8, align 4 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) store i32 1, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %10, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %15 15: ; preds = %.lr.ph, %29 %16 = load i32, ptr %8, align 4 %17 = sitofp i32 %16 to double %18 = load i32, ptr %7, align 4 %19 = sitofp i32 %18 to double %20 = fdiv double %17, %19 %21 = load double, ptr %6, align 8 %22 = fadd double %21, %20 store double %22, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %23, %24 store i32 %25, ptr %8, align 4 %26 = load i32, ptr %8, align 4 %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %26, %27 store i32 %28, ptr %7, align 4 br label %29 29: ; preds = %15 %30 = load i32, ptr %9, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %9, align 4 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 %36 = load double, ptr %6, align 8 %37 = call i32 @printf(ptr noundef @.str.1, double noundef %36) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptsgc6rrz.c' source_filename = "/tmp/tmptsgc6rrz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DE_Copy() #0 { %1 = call i32 @DE_Manipulate(i8 noundef signext 99) ret i32 %1 } declare i32 @DE_Manipulate(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/tmptsgc6rrz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DE_Copy() #0 { %1 = call i32 @DE_Manipulate(i8 noundef signext 99) ret i32 %1 } declare i32 @DE_Manipulate(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/tmp6iaopbf3.c' source_filename = "/tmp/tmp6iaopbf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 br label %7 7: ; preds = %17, %2 %8 = load i32, ptr %5, align 4 %9 = add nsw i32 %8, -1 store i32 %9, ptr %5, align 4 %10 = icmp ne i32 %8, 0 br i1 %10, label %11, label %20 11: ; preds = %7 %12 = load ptr, ptr %4, align 8 %13 = call ptr @strchr(ptr noundef %12, i8 noundef signext 124) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %11 store ptr null, ptr %3, align 8 br label %22 17: ; preds = %11 %18 = load ptr, ptr %6, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 store ptr %19, ptr %4, align 8 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %3, align 8 br label %22 22: ; preds = %20, %16 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6iaopbf3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @skip(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = add nsw i32 %7, -1 store i32 %8, ptr %5, align 4 %9 = icmp ne i32 %7, 0 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %16 %11 = load ptr, ptr %4, align 8 %12 = call ptr @strchr(ptr noundef %11, i8 noundef signext 124) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %10 store ptr null, ptr %3, align 8 br label %24 16: ; preds = %10 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 1 store ptr %18, ptr %4, align 8 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, -1 store i32 %20, ptr %5, align 4 %21 = icmp ne i32 %19, 0 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = load ptr, ptr %4, align 8 store ptr %23, ptr %3, align 8 br label %24 24: ; preds = %22, %15 %25 = load ptr, ptr %3, align 8 ret ptr %25 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprupcihq7.c' source_filename = "/tmp/tmprupcihq7.c" target datalayout = "e-m:e-p270: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/tmprupcihq7.c" target datalayout = "e-m:e-p270: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/tmpikwvhv6o.c' source_filename = "/tmp/tmpikwvhv6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"{ \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"{dummy %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"{}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sys_get_audio_apis(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef 9) %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str.2) %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %18, label %21 18: ; preds = %1 %19 = load ptr, ptr %2, align 8 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.3) br label %21 21: ; preds = %18, %1 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpikwvhv6o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"{ \00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"{dummy %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"{}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sys_get_audio_apis(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcpy(ptr noundef %4, ptr noundef @.str) %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = sext i32 %8 to i64 %10 = getelementptr inbounds i8, ptr %6, i64 %9 %11 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef 9) %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %3, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str.2) %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 2 br i1 %17, label %18, label %21 18: ; preds = %1 %19 = load ptr, ptr %2, align 8 %20 = call i32 @strcpy(ptr noundef %19, ptr noundef @.str.3) br label %21 21: ; preds = %18, %1 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw6lhupf6.c' source_filename = "/tmp/tmpw6lhupf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @move(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %9, align 8 store i32 0, ptr %10, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %6, align 4 store i32 %20, ptr %12, align 4 %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %8, align 8 br label %22 22: ; preds = %52, %3 %23 = load ptr, ptr %8, align 8 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %12, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = icmp ult ptr %23, %27 br i1 %28, label %29, label %55 29: ; preds = %22 %30 = load ptr, ptr %7, align 8 %31 = getelementptr inbounds i32, ptr %30, i64 -1 %32 = load i32, ptr %31, align 4 store i32 %32, ptr %10, align 4 %33 = load i32, ptr %10, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) %35 = load ptr, ptr %7, align 8 %36 = getelementptr inbounds i32, ptr %35, i64 -1 store ptr %36, ptr %9, align 8 br label %37 37: ; preds = %46, %29 %38 = load ptr, ptr %9, align 8 %39 = load ptr, ptr %4, align 8 %40 = icmp ugt ptr %38, %39 br i1 %40, label %41, label %49 41: ; preds = %37 %42 = load ptr, ptr %9, align 8 %43 = getelementptr inbounds i32, ptr %42, i64 -1 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %9, align 8 store i32 %44, ptr %45, align 4 br label %46 46: ; preds = %41 %47 = load ptr, ptr %9, align 8 %48 = getelementptr inbounds i32, ptr %47, i32 -1 store ptr %48, ptr %9, align 8 br label %37, !llvm.loop !6 49: ; preds = %37 %50 = load i32, ptr %10, align 4 %51 = load ptr, ptr %4, align 8 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %49 %53 = load ptr, ptr %8, align 8 %54 = getelementptr inbounds i32, ptr %53, i32 1 store ptr %54, ptr %8, align 8 br label %22, !llvm.loop !8 55: ; preds = %22 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw6lhupf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @move(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %13 = load ptr, ptr %4, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %4, align 8 store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %9, align 8 store i32 0, ptr %10, align 4 %19 = load i32, ptr %5, align 4 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %6, align 4 store i32 %20, ptr %12, align 4 %21 = load ptr, ptr %4, align 8 store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %12, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 %27 = icmp ult ptr %22, %26 br i1 %27, label %.lr.ph2, label %62 .lr.ph2: ; preds = %3 br label %28 28: ; preds = %.lr.ph2, %53 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds i32, ptr %29, i64 -1 %31 = load i32, ptr %30, align 4 store i32 %31, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = call i32 @printf(ptr noundef @.str, i32 noundef %32) %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 -1 store ptr %35, ptr %9, align 8 %36 = load ptr, ptr %9, align 8 %37 = load ptr, ptr %4, align 8 %38 = icmp ugt ptr %36, %37 br i1 %38, label %.lr.ph, label %50 .lr.ph: ; preds = %28 br label %39 39: ; preds = %.lr.ph, %44 %40 = load ptr, ptr %9, align 8 %41 = getelementptr inbounds i32, ptr %40, i64 -1 %42 = load i32, ptr %41, align 4 %43 = load ptr, ptr %9, align 8 store i32 %42, ptr %43, align 4 br label %44 44: ; preds = %39 %45 = load ptr, ptr %9, align 8 %46 = getelementptr inbounds i32, ptr %45, i32 -1 store ptr %46, ptr %9, align 8 %47 = load ptr, ptr %9, align 8 %48 = load ptr, ptr %4, align 8 %49 = icmp ugt ptr %47, %48 br i1 %49, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %28 %51 = load i32, ptr %10, align 4 %52 = load ptr, ptr %4, align 8 store i32 %51, ptr %52, align 4 br label %53 53: ; preds = %50 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds i32, ptr %54, i32 1 store ptr %55, ptr %8, align 8 %56 = load ptr, ptr %8, align 8 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %12, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = icmp ult ptr %56, %60 br i1 %61, label %28, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %53 br label %62 62: ; preds = %._crit_edge3, %3 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpwq5psoxu.c' source_filename = "/tmp/tmpwq5psoxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @immediate_notify() #0 { %1 = call i32 (...) @activate_threads() ret void } declare i32 @activate_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwq5psoxu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @immediate_notify() #0 { %1 = call i32 (...) @activate_threads() ret void } declare i32 @activate_threads(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvvtm0odz.c' source_filename = "/tmp/tmpvvtm0odz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"debug max %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"-----swap------\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"max %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"min %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"debug array[0]:%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"debug array[%d]:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = getelementptr inbounds i32, ptr %15, i64 -1 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %3, align 8 store ptr %18, ptr %9, align 8 store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %3, align 8 store ptr %19, ptr %7, align 8 br label %20 20: ; preds = %45, %2 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %6, align 8 %23 = icmp ule ptr %21, %22 br i1 %23, label %24, label %48 24: ; preds = %20 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %25, align 4 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %27, align 4 %29 = icmp sgt i32 %26, %28 br i1 %29, label %30, label %35 30: ; preds = %24 %31 = load ptr, ptr %7, align 8 store ptr %31, ptr %8, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %32, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %33) br label %44 35: ; preds = %24 %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %36, align 4 %38 = load ptr, ptr %9, align 8 %39 = load i32, ptr %38, align 4 %40 = icmp slt i32 %37, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = load ptr, ptr %7, align 8 store ptr %42, ptr %9, align 8 br label %43 43: ; preds = %41, %35 br label %44 44: ; preds = %43, %30 br label %45 45: ; preds = %44 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i32, ptr %46, i32 1 store ptr %47, ptr %7, align 8 br label %20, !llvm.loop !6 48: ; preds = %20 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %50 = load ptr, ptr %8, align 8 %51 = load i32, ptr %50, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51) %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %53, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54) %56 = load ptr, ptr %3, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 0 %58 = load i32, ptr %57, align 4 store i32 %58, ptr %10, align 4 %59 = load ptr, ptr %8, align 8 %60 = load i32, ptr %59, align 4 %61 = load ptr, ptr %3, align 8 %62 = getelementptr inbounds i32, ptr %61, i64 0 store i32 %60, ptr %62, align 4 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 0 %65 = load i32, ptr %64, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = load ptr, ptr %8, align 8 store i32 %67, ptr %68, align 4 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %4, align 4 %71 = sub nsw i32 %70, 1 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %69, i64 %72 %74 = load i32, ptr %73, align 4 store i32 %74, ptr %10, align 4 %75 = load i32, ptr %4, align 4 %76 = sub nsw i32 %75, 1 %77 = load ptr, ptr %3, align 8 %78 = load i32, ptr %4, align 4 %79 = sub nsw i32 %78, 1 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %77, i64 %80 %82 = load i32, ptr %81, align 4 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %76, i32 noundef %82) %84 = load ptr, ptr %9, align 8 %85 = load i32, ptr %84, align 4 %86 = load ptr, ptr %3, align 8 %87 = load i32, ptr %4, align 4 %88 = sub nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i32, ptr %86, i64 %89 store i32 %85, ptr %90, align 4 %91 = load i32, ptr %10, align 4 %92 = load ptr, ptr %9, align 8 store i32 %91, ptr %92, align 4 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %4, align 4 %95 = call i32 @output(ptr noundef %93, i32 noundef %94) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @output(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvvtm0odz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"debug max %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"-----swap------\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"max %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"min %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"debug array[0]:%d\0A\00", align 1 @.str.5 = private unnamed_addr constant [20 x i8] c"debug array[%d]:%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @swap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = getelementptr inbounds i32, ptr %15, i64 -1 store ptr %16, ptr %6, align 8 %17 = load ptr, ptr %3, align 8 store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %3, align 8 store ptr %18, ptr %9, align 8 store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %3, align 8 store ptr %19, ptr %7, align 8 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %6, align 8 %22 = icmp ule ptr %20, %21 br i1 %22, label %.lr.ph, label %50 .lr.ph: ; preds = %2 br label %23 23: ; preds = %.lr.ph, %44 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %8, align 8 %27 = load i32, ptr %26, align 4 %28 = icmp sgt i32 %25, %27 br i1 %28, label %29, label %34 29: ; preds = %23 %30 = load ptr, ptr %7, align 8 store ptr %30, ptr %8, align 8 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %31, align 4 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %32) br label %43 34: ; preds = %23 %35 = load ptr, ptr %7, align 8 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %9, align 8 %38 = load i32, ptr %37, align 4 %39 = icmp slt i32 %36, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = load ptr, ptr %7, align 8 store ptr %41, ptr %9, align 8 br label %42 42: ; preds = %40, %34 br label %43 43: ; preds = %42, %29 br label %44 44: ; preds = %43 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds i32, ptr %45, i32 1 store ptr %46, ptr %7, align 8 %47 = load ptr, ptr %7, align 8 %48 = load ptr, ptr %6, align 8 %49 = icmp ule ptr %47, %48 br i1 %49, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %50 50: ; preds = %._crit_edge, %2 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %52, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %53) %55 = load ptr, ptr %9, align 8 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %56) %58 = load ptr, ptr %3, align 8 %59 = getelementptr inbounds i32, ptr %58, i64 0 %60 = load i32, ptr %59, align 4 store i32 %60, ptr %10, align 4 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %61, align 4 %63 = load ptr, ptr %3, align 8 %64 = getelementptr inbounds i32, ptr %63, i64 0 store i32 %62, ptr %64, align 4 %65 = load ptr, ptr %3, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 0 %67 = load i32, ptr %66, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %67) %69 = load i32, ptr %10, align 4 %70 = load ptr, ptr %8, align 8 store i32 %69, ptr %70, align 4 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %4, align 4 %73 = sub nsw i32 %72, 1 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i32, ptr %71, i64 %74 %76 = load i32, ptr %75, align 4 store i32 %76, ptr %10, align 4 %77 = load i32, ptr %4, align 4 %78 = sub nsw i32 %77, 1 %79 = load ptr, ptr %3, align 8 %80 = load i32, ptr %4, align 4 %81 = sub nsw i32 %80, 1 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i32, ptr %79, i64 %82 %84 = load i32, ptr %83, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %78, i32 noundef %84) %86 = load ptr, ptr %9, align 8 %87 = load i32, ptr %86, align 4 %88 = load ptr, ptr %3, align 8 %89 = load i32, ptr %4, align 4 %90 = sub nsw i32 %89, 1 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds i32, ptr %88, i64 %91 store i32 %87, ptr %92, align 4 %93 = load i32, ptr %10, align 4 %94 = load ptr, ptr %9, align 8 store i32 %93, ptr %94, align 4 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %4, align 4 %97 = call i32 @output(ptr noundef %95, i32 noundef %96) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @output(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp364cz7rc.c' source_filename = "/tmp/tmp364cz7rc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readCell(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 store i8 0, ptr %8, align 1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %11 11: ; preds = %65, %2 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %68 15: ; preds = %11 %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %16, 32 br i1 %17, label %21, label %18 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = icmp eq i32 %19, 9 br i1 %20, label %21, label %29 21: ; preds = %18, %15 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp ne i32 %25, 34 br i1 %26, label %27, label %28 27: ; preds = %21 br label %65 28: ; preds = %21 br label %29 29: ; preds = %28, %18 %30 = load i32, ptr %5, align 4 %31 = icmp eq i32 %30, 44 br i1 %31, label %35, label %32 32: ; preds = %29 %33 = load i32, ptr %5, align 4 %34 = icmp eq i32 %33, 10 br i1 %34, label %35, label %56 35: ; preds = %32, %29 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 34 br i1 %40, label %41, label %42 41: ; preds = %35 br label %68 42: ; preds = %35 %43 = load i32, ptr %5, align 4 %44 = icmp eq i32 %43, 34 br i1 %44, label %45, label %54 45: ; preds = %42 %46 = load i32, ptr %5, align 4 %47 = trunc i32 %46 to i8 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 store i8 %47, ptr %51, align 1 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 br label %68 54: ; preds = %42 br label %55 55: ; preds = %54 br label %56 56: ; preds = %55, %32 %57 = load i32, ptr %5, align 4 %58 = trunc i32 %57 to i8 %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %6, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 %58, ptr %62, align 1 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 br label %65 65: ; preds = %56, %27 %66 = load ptr, ptr %3, align 8 %67 = call i32 @fgetc(ptr noundef %66) store i32 %67, ptr %5, align 4 br label %11, !llvm.loop !6 68: ; preds = %45, %41, %11 %69 = load ptr, ptr %4, align 8 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 store i8 0, ptr %72, align 1 %73 = load i32, ptr %5, align 4 ret i32 %73 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp364cz7rc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @readCell(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 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 0 store i8 0, ptr %8, align 1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @fgetc(ptr noundef %9) store i32 %10, ptr %5, align 4 store i32 0, ptr %6, align 4 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr @EOF, align 4 %13 = icmp ne i32 %11, %12 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %64 %15 = load i32, ptr %5, align 4 %16 = icmp eq i32 %15, 32 br i1 %16, label %20, label %17 17: ; preds = %14 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %18, 9 br i1 %19, label %20, label %28 20: ; preds = %17, %14 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 34 br i1 %25, label %26, label %27 26: ; preds = %20 br label %64 27: ; preds = %20 br label %28 28: ; preds = %27, %17 %29 = load i32, ptr %5, align 4 %30 = icmp eq i32 %29, 44 br i1 %30, label %34, label %31 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = icmp eq i32 %32, 10 br i1 %33, label %34, label %55 34: ; preds = %31, %28 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i64 0 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp ne i32 %38, 34 br i1 %39, label %40, label %41 40: ; preds = %34 br label %70 41: ; preds = %34 %42 = load i32, ptr %5, align 4 %43 = icmp eq i32 %42, 34 br i1 %43, label %44, label %53 44: ; preds = %41 %45 = load i32, ptr %5, align 4 %46 = trunc i32 %45 to i8 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 store i8 %46, ptr %50, align 1 %51 = load i32, ptr %6, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %6, align 4 br label %70 53: ; preds = %41 br label %54 54: ; preds = %53 br label %55 55: ; preds = %54, %31 %56 = load i32, ptr %5, 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 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %64 64: ; preds = %55, %26 %65 = load ptr, ptr %3, align 8 %66 = call i32 @fgetc(ptr noundef %65) store i32 %66, ptr %5, align 4 %67 = load i32, ptr %5, align 4 %68 = load i32, ptr @EOF, align 4 %69 = icmp ne i32 %67, %68 br i1 %69, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %64 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %70 70: ; preds = %.loopexit, %44, %40 %71 = load ptr, ptr %4, align 8 %72 = load i32, ptr %6, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 store i8 0, ptr %74, align 1 %75 = load i32, ptr %5, align 4 ret i32 %75 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5pxjl1ua.c' source_filename = "/tmp/tmp5pxjl1ua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"coprthr\00", align 1 @CL_DEVICE_TYPE_CPU = dso_local global i32 0, align 4 @CL_CONTEXT_PLATFORM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"XXX aa b c %p %p %p\0A\00", align 1 @CL_MEM_USE_HOST_PTR = dso_local global i32 0, align 4 @__const.main.kernel_code = private unnamed_addr constant [229 x i8] c"__kernel void matvecmult_kern(\0A uint n,__global float* aa,__global float* b,__global float* c )\0A{\0A int i = get_global_id(0);\0A int j;\0A float tmp = 0.0f;\0A for(j=0;j<n;j++) tmp += aa[i*n+j] * b[j];\0A c[i] = aa[i*n+i];\0A}\0A\00", align 16 @.str.2 = private unnamed_addr constant [16 x i8] c"matvecmult_kern\00", align 1 @__const.main.ltdsz = private unnamed_addr constant [1 x i64] [i64 16], align 8 @CL_TRUE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"c[%d] %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"clWaitForEvents returned %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca [3 x i32], align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca [229 x i8], align 16 %26 = alloca [1 x ptr], align 8 %27 = alloca i64, align 8 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca [1 x i64], align 8 %31 = alloca [1 x i64], align 8 %32 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 1024, ptr %6, align 4 %33 = call i32 @clGetPlatformIDs(i32 noundef 0, ptr noundef null, ptr noundef %7) %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 4 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %8, align 8 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %8, align 8 %42 = call i32 @clGetPlatformIDs(i32 noundef %40, ptr noundef %41, ptr noundef null) store i32 0, ptr %2, align 4 br label %43 43: ; preds = %66, %0 %44 = load i32, ptr %2, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %69 47: ; preds = %43 %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %2, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 store i32 %52, ptr %9, align 4 %53 = load ptr, ptr %8, align 8 %54 = load i32, ptr %2, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = load i32, ptr @CL_PLATFORM_NAME, align 4 %59 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %60 = call i32 @clGetPlatformInfo(i32 noundef %57, i32 noundef %58, i32 noundef 256, ptr noundef %59, i32 noundef 0) %61 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %62 = call i32 @strcmp(ptr noundef %61, ptr noundef @.str) %63 = icmp ne i32 %62, 0 br i1 %63, label %65, label %64 64: ; preds = %47 br label %69 65: ; preds = %47 br label %66 66: ; preds = %65 %67 = load i32, ptr %2, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %2, align 4 br label %43, !llvm.loop !6 69: ; preds = %64, %43 %70 = load i32, ptr %2, align 4 %71 = load i32, ptr %7, align 4 %72 = icmp slt i32 %70, %71 br i1 %72, label %73, label %79 73: ; preds = %69 %74 = load ptr, ptr %8, align 8 %75 = load i32, ptr %2, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %74, i64 %76 %78 = load i32, ptr %77, align 4 store i32 %78, ptr %9, align 4 br label %81 79: ; preds = %69 %80 = call i32 @exit(i32 noundef 1) #4 unreachable 81: ; preds = %73 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr @CL_DEVICE_TYPE_CPU, align 4 %84 = call i32 @clGetDeviceIDs(i32 noundef %82, i32 noundef %83, i32 noundef 0, ptr noundef null, ptr noundef %10) %85 = load i32, ptr %10, align 4 %86 = sext i32 %85 to i64 %87 = mul i64 %86, 4 %88 = trunc i64 %87 to i32 %89 = call i64 @malloc(i32 noundef %88) %90 = inttoptr i64 %89 to ptr store ptr %90, ptr %11, align 8 %91 = load i32, ptr %9, align 4 %92 = load i32, ptr @CL_DEVICE_TYPE_CPU, align 4 %93 = load i32, ptr %10, align 4 %94 = load ptr, ptr %11, align 8 %95 = call i32 @clGetDeviceIDs(i32 noundef %91, i32 noundef %92, i32 noundef %93, ptr noundef %94, ptr noundef null) %96 = load i32, ptr %10, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %102 98: ; preds = %81 %99 = load ptr, ptr %11, align 8 %100 = getelementptr inbounds i32, ptr %99, i64 0 %101 = load i32, ptr %100, align 4 store i32 %101, ptr %12, align 4 br label %104 102: ; preds = %81 %103 = call i32 @exit(i32 noundef 1) #4 unreachable 104: ; preds = %98 %105 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 %106 = load i32, ptr @CL_CONTEXT_PLATFORM, align 4 store i32 %106, ptr %105, align 4 %107 = getelementptr inbounds i32, ptr %105, i64 1 %108 = load i32, ptr %9, align 4 store i32 %108, ptr %107, align 4 %109 = getelementptr inbounds i32, ptr %107, i64 1 store i32 0, ptr %109, align 4 %110 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 %111 = call i32 @clCreateContext(ptr noundef %110, i32 noundef 1, ptr noundef %12, i32 noundef 0, i32 noundef 0, ptr noundef %4) store i32 %111, ptr %14, align 4 %112 = load i32, ptr %14, align 4 %113 = load i32, ptr %12, align 4 %114 = call i32 @clCreateCommandQueue(i32 noundef %112, i32 noundef %113, i32 noundef 0, ptr noundef %4) store i32 %114, ptr %15, align 4 %115 = load i32, ptr %6, align 4 %116 = load i32, ptr %6, align 4 %117 = mul i32 %115, %116 %118 = zext i32 %117 to i64 %119 = mul i64 %118, 4 store i64 %119, ptr %16, align 8 %120 = load i32, ptr %6, align 4 %121 = zext i32 %120 to i64 %122 = mul i64 %121, 4 store i64 %122, ptr %17, align 8 %123 = load i32, ptr %6, align 4 %124 = zext i32 %123 to i64 %125 = mul i64 %124, 4 store i64 %125, ptr %18, align 8 %126 = load i32, ptr %6, align 4 %127 = load i32, ptr %6, align 4 %128 = mul i32 %126, %127 %129 = zext i32 %128 to i64 %130 = mul i64 %129, 4 %131 = trunc i64 %130 to i32 %132 = call i64 @malloc(i32 noundef %131) %133 = inttoptr i64 %132 to ptr store ptr %133, ptr %19, align 8 %134 = load i32, ptr %6, align 4 %135 = zext i32 %134 to i64 %136 = mul i64 %135, 4 %137 = trunc i64 %136 to i32 %138 = call i64 @malloc(i32 noundef %137) %139 = inttoptr i64 %138 to ptr store ptr %139, ptr %20, align 8 %140 = load i32, ptr %6, align 4 %141 = zext i32 %140 to i64 %142 = mul i64 %141, 4 %143 = trunc i64 %142 to i32 %144 = call i64 @malloc(i32 noundef %143) %145 = inttoptr i64 %144 to ptr store ptr %145, ptr %21, align 8 %146 = load ptr, ptr %19, align 8 %147 = load ptr, ptr %20, align 8 %148 = load ptr, ptr %21, align 8 %149 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %146, ptr noundef %147, ptr noundef %148) store i32 0, ptr %2, align 4 br label %150 150: ; preds = %178, %104 %151 = load i32, ptr %2, align 4 %152 = load i32, ptr %6, align 4 %153 = icmp ult i32 %151, %152 br i1 %153, label %154, label %181 154: ; preds = %150 store i32 0, ptr %3, align 4 br label %155 155: ; preds = %174, %154 %156 = load i32, ptr %3, align 4 %157 = load i32, ptr %6, align 4 %158 = icmp ult i32 %156, %157 br i1 %158, label %159, label %177 159: ; preds = %155 %160 = load i32, ptr %2, align 4 %161 = sitofp i32 %160 to float %162 = fmul float 0x3FF19999A0000000, %161 %163 = load i32, ptr %3, align 4 %164 = sitofp i32 %163 to float %165 = fmul float %162, %164 %166 = load ptr, ptr %19, align 8 %167 = load i32, ptr %2, align 4 %168 = load i32, ptr %6, align 4 %169 = mul i32 %167, %168 %170 = load i32, ptr %3, align 4 %171 = add i32 %169, %170 %172 = zext i32 %171 to i64 %173 = getelementptr inbounds float, ptr %166, i64 %172 store float %165, ptr %173, align 4 br label %174 174: ; preds = %159 %175 = load i32, ptr %3, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %3, align 4 br label %155, !llvm.loop !8 177: ; preds = %155 br label %178 178: ; preds = %177 %179 = load i32, ptr %2, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %2, align 4 br label %150, !llvm.loop !9 181: ; preds = %150 store i32 0, ptr %2, align 4 br label %182 182: ; preds = %194, %181 %183 = load i32, ptr %2, align 4 %184 = load i32, ptr %6, align 4 %185 = icmp ult i32 %183, %184 br i1 %185, label %186, label %197 186: ; preds = %182 %187 = load i32, ptr %2, align 4 %188 = sitofp i32 %187 to float %189 = fmul float 0x40019999A0000000, %188 %190 = load ptr, ptr %20, align 8 %191 = load i32, ptr %2, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds float, ptr %190, i64 %192 store float %189, ptr %193, align 4 br label %194 194: ; preds = %186 %195 = load i32, ptr %2, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %2, align 4 br label %182, !llvm.loop !10 197: ; preds = %182 store i32 0, ptr %2, align 4 br label %198 198: ; preds = %207, %197 %199 = load i32, ptr %2, align 4 %200 = load i32, ptr %6, align 4 %201 = icmp ult i32 %199, %200 br i1 %201, label %202, label %210 202: ; preds = %198 %203 = load ptr, ptr %21, align 8 %204 = load i32, ptr %2, align 4 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds float, ptr %203, i64 %205 store float 0.000000e+00, ptr %206, align 4 br label %207 207: ; preds = %202 %208 = load i32, ptr %2, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %2, align 4 br label %198, !llvm.loop !11 210: ; preds = %198 %211 = load i32, ptr %14, align 4 %212 = load i32, ptr @CL_MEM_USE_HOST_PTR, align 4 %213 = load i64, ptr %16, align 8 %214 = load ptr, ptr %19, align 8 %215 = call i32 @clCreateBuffer(i32 noundef %211, i32 noundef %212, i64 noundef %213, ptr noundef %214, ptr noundef %4) store i32 %215, ptr %22, align 4 %216 = load i32, ptr %14, align 4 %217 = load i32, ptr @CL_MEM_USE_HOST_PTR, align 4 %218 = load i64, ptr %17, align 8 %219 = load ptr, ptr %20, align 8 %220 = call i32 @clCreateBuffer(i32 noundef %216, i32 noundef %217, i64 noundef %218, ptr noundef %219, ptr noundef %4) store i32 %220, ptr %23, align 4 %221 = load i32, ptr %14, align 4 %222 = load i32, ptr @CL_MEM_USE_HOST_PTR, align 4 %223 = load i64, ptr %18, align 8 %224 = load ptr, ptr %21, align 8 %225 = call i32 @clCreateBuffer(i32 noundef %221, i32 noundef %222, i64 noundef %223, ptr noundef %224, ptr noundef %4) store i32 %225, ptr %24, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 @__const.main.kernel_code, i64 229, i1 false) %226 = getelementptr inbounds [1 x ptr], ptr %26, i64 0, i64 0 %227 = getelementptr inbounds [229 x i8], ptr %25, i64 0, i64 0 store ptr %227, ptr %226, align 8 store i64 229, ptr %27, align 8 %228 = load i32, ptr %14, align 4 %229 = call i32 @clCreateProgramWithSource(i32 noundef %228, i32 noundef 1, ptr noundef %26, ptr noundef %27, ptr noundef %4) store i32 %229, ptr %28, align 4 %230 = load i32, ptr %28, align 4 %231 = call i32 @clBuildProgram(i32 noundef %230, i32 noundef 1, ptr noundef %12, i32 noundef 0, i32 noundef 0, i32 noundef 0) %232 = load i32, ptr %28, align 4 %233 = call i32 @clCreateKernel(i32 noundef %232, ptr noundef @.str.2, ptr noundef %4) store i32 %233, ptr %29, align 4 %234 = load i32, ptr %29, align 4 %235 = call i32 @clSetKernelArg(i32 noundef %234, i32 noundef 0, i32 noundef 4, ptr noundef %6) %236 = load i32, ptr %29, align 4 %237 = call i32 @clSetKernelArg(i32 noundef %236, i32 noundef 1, i32 noundef 4, ptr noundef %22) %238 = load i32, ptr %29, align 4 %239 = call i32 @clSetKernelArg(i32 noundef %238, i32 noundef 2, i32 noundef 4, ptr noundef %23) %240 = load i32, ptr %29, align 4 %241 = call i32 @clSetKernelArg(i32 noundef %240, i32 noundef 3, i32 noundef 4, ptr noundef %24) %242 = getelementptr inbounds [1 x i64], ptr %30, i64 0, i64 0 %243 = load i32, ptr %6, align 4 %244 = zext i32 %243 to i64 store i64 %244, ptr %242, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 @__const.main.ltdsz, i64 8, i1 false) %245 = load i32, ptr %15, align 4 %246 = load i32, ptr %29, align 4 %247 = getelementptr inbounds [1 x i64], ptr %30, i64 0, i64 0 %248 = getelementptr inbounds [1 x i64], ptr %31, i64 0, i64 0 %249 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0 %250 = call i32 @clEnqueueNDRangeKernel(i32 noundef %245, i32 noundef %246, i32 noundef 1, i32 noundef 0, ptr noundef %247, ptr noundef %248, i32 noundef 0, i32 noundef 0, ptr noundef %249) %251 = load i32, ptr %15, align 4 %252 = load i32, ptr %24, align 4 %253 = load i32, ptr @CL_TRUE, align 4 %254 = load i64, ptr %18, align 8 %255 = load ptr, ptr %21, align 8 %256 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 1 %257 = call i32 @clEnqueueReadBuffer(i32 noundef %251, i32 noundef %252, i32 noundef %253, i32 noundef 0, i64 noundef %254, ptr noundef %255, i32 noundef 0, i32 noundef 0, ptr noundef %256) %258 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0 %259 = call i32 @clWaitForEvents(i32 noundef 2, ptr noundef %258) store i32 %259, ptr %4, align 4 store i32 0, ptr %2, align 4 br label %260 260: ; preds = %273, %210 %261 = load i32, ptr %2, align 4 %262 = load i32, ptr %6, align 4 %263 = icmp ult i32 %261, %262 br i1 %263, label %264, label %276 264: ; preds = %260 %265 = load i32, ptr %2, align 4 %266 = load ptr, ptr %21, align 8 %267 = load i32, ptr %2, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds float, ptr %266, i64 %268 %270 = load float, ptr %269, align 4 %271 = fpext float %270 to double %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %265, double noundef %271) br label %273 273: ; preds = %264 %274 = load i32, ptr %2, align 4 %275 = add nsw i32 %274, 1 store i32 %275, ptr %2, align 4 br label %260, !llvm.loop !12 276: ; preds = %260 %277 = load i32, ptr %4, align 4 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %277) %279 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 1 %280 = load i32, ptr %279, align 4 %281 = call i32 @clReleaseEvent(i32 noundef %280) %282 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0 %283 = load i32, ptr %282, align 16 %284 = call i32 @clReleaseEvent(i32 noundef %283) %285 = load i32, ptr %29, align 4 %286 = call i32 @clReleaseKernel(i32 noundef %285) %287 = load i32, ptr %28, align 4 %288 = call i32 @clReleaseProgram(i32 noundef %287) %289 = load i32, ptr %22, align 4 %290 = call i32 @clReleaseMemObject(i32 noundef %289) %291 = load i32, ptr %23, align 4 %292 = call i32 @clReleaseMemObject(i32 noundef %291) %293 = load i32, ptr %24, align 4 %294 = call i32 @clReleaseMemObject(i32 noundef %293) %295 = load i32, ptr %15, align 4 %296 = call i32 @clReleaseCommandQueue(i32 noundef %295) %297 = load i32, ptr %14, align 4 %298 = call i32 @clReleaseContext(i32 noundef %297) %299 = load ptr, ptr %19, align 8 %300 = call i32 @free(ptr noundef %299) %301 = load ptr, ptr %20, align 8 %302 = call i32 @free(ptr noundef %301) %303 = load ptr, ptr %21, align 8 %304 = call i32 @free(ptr noundef %303) %305 = load i32, ptr %1, align 4 ret i32 %305 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clWaitForEvents(i32 noundef, ptr noundef) #1 declare i32 @clReleaseEvent(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5pxjl1ua.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"coprthr\00", align 1 @CL_DEVICE_TYPE_CPU = dso_local global i32 0, align 4 @CL_CONTEXT_PLATFORM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"XXX aa b c %p %p %p\0A\00", align 1 @CL_MEM_USE_HOST_PTR = dso_local global i32 0, align 4 @__const.main.kernel_code = private unnamed_addr constant [229 x i8] c"__kernel void matvecmult_kern(\0A uint n,__global float* aa,__global float* b,__global float* c )\0A{\0A int i = get_global_id(0);\0A int j;\0A float tmp = 0.0f;\0A for(j=0;j<n;j++) tmp += aa[i*n+j] * b[j];\0A c[i] = aa[i*n+i];\0A}\0A\00", align 16 @.str.2 = private unnamed_addr constant [16 x i8] c"matvecmult_kern\00", align 1 @__const.main.ltdsz = private unnamed_addr constant [1 x i64] [i64 16], align 8 @CL_TRUE = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"c[%d] %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [29 x i8] c"clWaitForEvents returned %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca [3 x i32], align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca ptr, align 8 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca [229 x i8], align 16 %26 = alloca [1 x ptr], align 8 %27 = alloca i64, align 8 %28 = alloca i32, align 4 %29 = alloca i32, align 4 %30 = alloca [1 x i64], align 8 %31 = alloca [1 x i64], align 8 %32 = alloca [10 x i32], align 16 store i32 0, ptr %1, align 4 store i32 1024, ptr %6, align 4 %33 = call i32 @clGetPlatformIDs(i32 noundef 0, ptr noundef null, ptr noundef %7) %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = mul i64 %35, 4 %37 = trunc i64 %36 to i32 %38 = call i64 @malloc(i32 noundef %37) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %8, align 8 %40 = load i32, ptr %7, align 4 %41 = load ptr, ptr %8, align 8 %42 = call i32 @clGetPlatformIDs(i32 noundef %40, ptr noundef %41, ptr noundef null) store i32 0, ptr %2, align 4 %43 = load i32, ptr %2, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %46 46: ; preds = %.lr.ph, %65 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %2, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i32, ptr %47, i64 %49 %51 = load i32, ptr %50, align 4 store i32 %51, ptr %9, align 4 %52 = load ptr, ptr %8, align 8 %53 = load i32, ptr %2, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i32, ptr %52, i64 %54 %56 = load i32, ptr %55, align 4 %57 = load i32, ptr @CL_PLATFORM_NAME, align 4 %58 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %59 = call i32 @clGetPlatformInfo(i32 noundef %56, i32 noundef %57, i32 noundef 256, ptr noundef %58, i32 noundef 0) %60 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %61 = call i32 @strcmp(ptr noundef %60, ptr noundef @.str) %62 = icmp ne i32 %61, 0 br i1 %62, label %64, label %63 63: ; preds = %46 br label %71 64: ; preds = %46 br label %65 65: ; preds = %64 %66 = load i32, ptr %2, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %2, align 4 %68 = load i32, ptr %2, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp slt i32 %68, %69 br i1 %70, label %46, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %65 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %71 71: ; preds = %.loopexit, %63 %72 = load i32, ptr %2, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %75, label %81 75: ; preds = %71 %76 = load ptr, ptr %8, align 8 %77 = load i32, ptr %2, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = load i32, ptr %79, align 4 store i32 %80, ptr %9, align 4 br label %83 81: ; preds = %71 %82 = call i32 @exit(i32 noundef 1) #4 unreachable 83: ; preds = %75 %84 = load i32, ptr %9, align 4 %85 = load i32, ptr @CL_DEVICE_TYPE_CPU, align 4 %86 = call i32 @clGetDeviceIDs(i32 noundef %84, i32 noundef %85, i32 noundef 0, ptr noundef null, ptr noundef %10) %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = mul i64 %88, 4 %90 = trunc i64 %89 to i32 %91 = call i64 @malloc(i32 noundef %90) %92 = inttoptr i64 %91 to ptr store ptr %92, ptr %11, align 8 %93 = load i32, ptr %9, align 4 %94 = load i32, ptr @CL_DEVICE_TYPE_CPU, align 4 %95 = load i32, ptr %10, align 4 %96 = load ptr, ptr %11, align 8 %97 = call i32 @clGetDeviceIDs(i32 noundef %93, i32 noundef %94, i32 noundef %95, ptr noundef %96, ptr noundef null) %98 = load i32, ptr %10, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %104 100: ; preds = %83 %101 = load ptr, ptr %11, align 8 %102 = getelementptr inbounds i32, ptr %101, i64 0 %103 = load i32, ptr %102, align 4 store i32 %103, ptr %12, align 4 br label %106 104: ; preds = %83 %105 = call i32 @exit(i32 noundef 1) #4 unreachable 106: ; preds = %100 %107 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 %108 = load i32, ptr @CL_CONTEXT_PLATFORM, align 4 store i32 %108, ptr %107, align 4 %109 = getelementptr inbounds i32, ptr %107, i64 1 %110 = load i32, ptr %9, align 4 store i32 %110, ptr %109, align 4 %111 = getelementptr inbounds i32, ptr %109, i64 1 store i32 0, ptr %111, align 4 %112 = getelementptr inbounds [3 x i32], ptr %13, i64 0, i64 0 %113 = call i32 @clCreateContext(ptr noundef %112, i32 noundef 1, ptr noundef %12, i32 noundef 0, i32 noundef 0, ptr noundef %4) store i32 %113, ptr %14, align 4 %114 = load i32, ptr %14, align 4 %115 = load i32, ptr %12, align 4 %116 = call i32 @clCreateCommandQueue(i32 noundef %114, i32 noundef %115, i32 noundef 0, ptr noundef %4) store i32 %116, ptr %15, align 4 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %6, align 4 %119 = mul i32 %117, %118 %120 = zext i32 %119 to i64 %121 = mul i64 %120, 4 store i64 %121, ptr %16, align 8 %122 = load i32, ptr %6, align 4 %123 = zext i32 %122 to i64 %124 = mul i64 %123, 4 store i64 %124, ptr %17, align 8 %125 = load i32, ptr %6, align 4 %126 = zext i32 %125 to i64 %127 = mul i64 %126, 4 store i64 %127, ptr %18, align 8 %128 = load i32, ptr %6, align 4 %129 = load i32, ptr %6, align 4 %130 = mul i32 %128, %129 %131 = zext i32 %130 to i64 %132 = mul i64 %131, 4 %133 = trunc i64 %132 to i32 %134 = call i64 @malloc(i32 noundef %133) %135 = inttoptr i64 %134 to ptr store ptr %135, ptr %19, align 8 %136 = load i32, ptr %6, align 4 %137 = zext i32 %136 to i64 %138 = mul i64 %137, 4 %139 = trunc i64 %138 to i32 %140 = call i64 @malloc(i32 noundef %139) %141 = inttoptr i64 %140 to ptr store ptr %141, ptr %20, align 8 %142 = load i32, ptr %6, align 4 %143 = zext i32 %142 to i64 %144 = mul i64 %143, 4 %145 = trunc i64 %144 to i32 %146 = call i64 @malloc(i32 noundef %145) %147 = inttoptr i64 %146 to ptr store ptr %147, ptr %21, align 8 %148 = load ptr, ptr %19, align 8 %149 = load ptr, ptr %20, align 8 %150 = load ptr, ptr %21, align 8 %151 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %148, ptr noundef %149, ptr noundef %150) store i32 0, ptr %2, align 4 %152 = load i32, ptr %2, align 4 %153 = load i32, ptr %6, align 4 %154 = icmp ult i32 %152, %153 br i1 %154, label %.lr.ph3, label %187 .lr.ph3: ; preds = %106 br label %155 155: ; preds = %.lr.ph3, %181 store i32 0, ptr %3, align 4 %156 = load i32, ptr %3, align 4 %157 = load i32, ptr %6, align 4 %158 = icmp ult i32 %156, %157 br i1 %158, label %.lr.ph1, label %180 .lr.ph1: ; preds = %155 br label %159 159: ; preds = %.lr.ph1, %174 %160 = load i32, ptr %2, align 4 %161 = sitofp i32 %160 to float %162 = fmul float 0x3FF19999A0000000, %161 %163 = load i32, ptr %3, align 4 %164 = sitofp i32 %163 to float %165 = fmul float %162, %164 %166 = load ptr, ptr %19, align 8 %167 = load i32, ptr %2, align 4 %168 = load i32, ptr %6, align 4 %169 = mul i32 %167, %168 %170 = load i32, ptr %3, align 4 %171 = add i32 %169, %170 %172 = zext i32 %171 to i64 %173 = getelementptr inbounds float, ptr %166, i64 %172 store float %165, ptr %173, align 4 br label %174 174: ; preds = %159 %175 = load i32, ptr %3, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %3, align 4 %177 = load i32, ptr %3, align 4 %178 = load i32, ptr %6, align 4 %179 = icmp ult i32 %177, %178 br i1 %179, label %159, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %174 br label %180 180: ; preds = %._crit_edge, %155 br label %181 181: ; preds = %180 %182 = load i32, ptr %2, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %2, align 4 %184 = load i32, ptr %2, align 4 %185 = load i32, ptr %6, align 4 %186 = icmp ult i32 %184, %185 br i1 %186, label %155, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %181 br label %187 187: ; preds = %._crit_edge4, %106 store i32 0, ptr %2, align 4 %188 = load i32, ptr %2, align 4 %189 = load i32, ptr %6, align 4 %190 = icmp ult i32 %188, %189 br i1 %190, label %.lr.ph6, label %205 .lr.ph6: ; preds = %187 br label %191 191: ; preds = %.lr.ph6, %199 %192 = load i32, ptr %2, align 4 %193 = sitofp i32 %192 to float %194 = fmul float 0x40019999A0000000, %193 %195 = load ptr, ptr %20, align 8 %196 = load i32, ptr %2, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds float, ptr %195, i64 %197 store float %194, ptr %198, align 4 br label %199 199: ; preds = %191 %200 = load i32, ptr %2, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %2, align 4 %202 = load i32, ptr %2, align 4 %203 = load i32, ptr %6, align 4 %204 = icmp ult i32 %202, %203 br i1 %204, label %191, label %._crit_edge7, !llvm.loop !10 ._crit_edge7: ; preds = %199 br label %205 205: ; preds = %._crit_edge7, %187 store i32 0, ptr %2, align 4 %206 = load i32, ptr %2, align 4 %207 = load i32, ptr %6, align 4 %208 = icmp ult i32 %206, %207 br i1 %208, label %.lr.ph9, label %220 .lr.ph9: ; preds = %205 br label %209 209: ; preds = %.lr.ph9, %214 %210 = load ptr, ptr %21, align 8 %211 = load i32, ptr %2, align 4 %212 = sext i32 %211 to i64 %213 = getelementptr inbounds float, ptr %210, i64 %212 store float 0.000000e+00, ptr %213, align 4 br label %214 214: ; preds = %209 %215 = load i32, ptr %2, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %2, align 4 %217 = load i32, ptr %2, align 4 %218 = load i32, ptr %6, align 4 %219 = icmp ult i32 %217, %218 br i1 %219, label %209, label %._crit_edge10, !llvm.loop !11 ._crit_edge10: ; preds = %214 br label %220 220: ; preds = %._crit_edge10, %205 %221 = load i32, ptr %14, align 4 %222 = load i32, ptr @CL_MEM_USE_HOST_PTR, align 4 %223 = load i64, ptr %16, align 8 %224 = load ptr, ptr %19, align 8 %225 = call i32 @clCreateBuffer(i32 noundef %221, i32 noundef %222, i64 noundef %223, ptr noundef %224, ptr noundef %4) store i32 %225, ptr %22, align 4 %226 = load i32, ptr %14, align 4 %227 = load i32, ptr @CL_MEM_USE_HOST_PTR, align 4 %228 = load i64, ptr %17, align 8 %229 = load ptr, ptr %20, align 8 %230 = call i32 @clCreateBuffer(i32 noundef %226, i32 noundef %227, i64 noundef %228, ptr noundef %229, ptr noundef %4) store i32 %230, ptr %23, align 4 %231 = load i32, ptr %14, align 4 %232 = load i32, ptr @CL_MEM_USE_HOST_PTR, align 4 %233 = load i64, ptr %18, align 8 %234 = load ptr, ptr %21, align 8 %235 = call i32 @clCreateBuffer(i32 noundef %231, i32 noundef %232, i64 noundef %233, ptr noundef %234, ptr noundef %4) store i32 %235, ptr %24, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 16 @__const.main.kernel_code, i64 229, i1 false) %236 = getelementptr inbounds [1 x ptr], ptr %26, i64 0, i64 0 %237 = getelementptr inbounds [229 x i8], ptr %25, i64 0, i64 0 store ptr %237, ptr %236, align 8 store i64 229, ptr %27, align 8 %238 = load i32, ptr %14, align 4 %239 = call i32 @clCreateProgramWithSource(i32 noundef %238, i32 noundef 1, ptr noundef %26, ptr noundef %27, ptr noundef %4) store i32 %239, ptr %28, align 4 %240 = load i32, ptr %28, align 4 %241 = call i32 @clBuildProgram(i32 noundef %240, i32 noundef 1, ptr noundef %12, i32 noundef 0, i32 noundef 0, i32 noundef 0) %242 = load i32, ptr %28, align 4 %243 = call i32 @clCreateKernel(i32 noundef %242, ptr noundef @.str.2, ptr noundef %4) store i32 %243, ptr %29, align 4 %244 = load i32, ptr %29, align 4 %245 = call i32 @clSetKernelArg(i32 noundef %244, i32 noundef 0, i32 noundef 4, ptr noundef %6) %246 = load i32, ptr %29, align 4 %247 = call i32 @clSetKernelArg(i32 noundef %246, i32 noundef 1, i32 noundef 4, ptr noundef %22) %248 = load i32, ptr %29, align 4 %249 = call i32 @clSetKernelArg(i32 noundef %248, i32 noundef 2, i32 noundef 4, ptr noundef %23) %250 = load i32, ptr %29, align 4 %251 = call i32 @clSetKernelArg(i32 noundef %250, i32 noundef 3, i32 noundef 4, ptr noundef %24) %252 = getelementptr inbounds [1 x i64], ptr %30, i64 0, i64 0 %253 = load i32, ptr %6, align 4 %254 = zext i32 %253 to i64 store i64 %254, ptr %252, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 8 @__const.main.ltdsz, i64 8, i1 false) %255 = load i32, ptr %15, align 4 %256 = load i32, ptr %29, align 4 %257 = getelementptr inbounds [1 x i64], ptr %30, i64 0, i64 0 %258 = getelementptr inbounds [1 x i64], ptr %31, i64 0, i64 0 %259 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0 %260 = call i32 @clEnqueueNDRangeKernel(i32 noundef %255, i32 noundef %256, i32 noundef 1, i32 noundef 0, ptr noundef %257, ptr noundef %258, i32 noundef 0, i32 noundef 0, ptr noundef %259) %261 = load i32, ptr %15, align 4 %262 = load i32, ptr %24, align 4 %263 = load i32, ptr @CL_TRUE, align 4 %264 = load i64, ptr %18, align 8 %265 = load ptr, ptr %21, align 8 %266 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 1 %267 = call i32 @clEnqueueReadBuffer(i32 noundef %261, i32 noundef %262, i32 noundef %263, i32 noundef 0, i64 noundef %264, ptr noundef %265, i32 noundef 0, i32 noundef 0, ptr noundef %266) %268 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0 %269 = call i32 @clWaitForEvents(i32 noundef 2, ptr noundef %268) store i32 %269, ptr %4, align 4 store i32 0, ptr %2, align 4 %270 = load i32, ptr %2, align 4 %271 = load i32, ptr %6, align 4 %272 = icmp ult i32 %270, %271 br i1 %272, label %.lr.ph12, label %288 .lr.ph12: ; preds = %220 br label %273 273: ; preds = %.lr.ph12, %282 %274 = load i32, ptr %2, align 4 %275 = load ptr, ptr %21, align 8 %276 = load i32, ptr %2, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds float, ptr %275, i64 %277 %279 = load float, ptr %278, align 4 %280 = fpext float %279 to double %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %274, double noundef %280) br label %282 282: ; preds = %273 %283 = load i32, ptr %2, align 4 %284 = add nsw i32 %283, 1 store i32 %284, ptr %2, align 4 %285 = load i32, ptr %2, align 4 %286 = load i32, ptr %6, align 4 %287 = icmp ult i32 %285, %286 br i1 %287, label %273, label %._crit_edge13, !llvm.loop !12 ._crit_edge13: ; preds = %282 br label %288 288: ; preds = %._crit_edge13, %220 %289 = load i32, ptr %4, align 4 %290 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %289) %291 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 1 %292 = load i32, ptr %291, align 4 %293 = call i32 @clReleaseEvent(i32 noundef %292) %294 = getelementptr inbounds [10 x i32], ptr %32, i64 0, i64 0 %295 = load i32, ptr %294, align 16 %296 = call i32 @clReleaseEvent(i32 noundef %295) %297 = load i32, ptr %29, align 4 %298 = call i32 @clReleaseKernel(i32 noundef %297) %299 = load i32, ptr %28, align 4 %300 = call i32 @clReleaseProgram(i32 noundef %299) %301 = load i32, ptr %22, align 4 %302 = call i32 @clReleaseMemObject(i32 noundef %301) %303 = load i32, ptr %23, align 4 %304 = call i32 @clReleaseMemObject(i32 noundef %303) %305 = load i32, ptr %24, align 4 %306 = call i32 @clReleaseMemObject(i32 noundef %305) %307 = load i32, ptr %15, align 4 %308 = call i32 @clReleaseCommandQueue(i32 noundef %307) %309 = load i32, ptr %14, align 4 %310 = call i32 @clReleaseContext(i32 noundef %309) %311 = load ptr, ptr %19, align 8 %312 = call i32 @free(ptr noundef %311) %313 = load ptr, ptr %20, align 8 %314 = call i32 @free(ptr noundef %313) %315 = load ptr, ptr %21, align 8 %316 = call i32 @free(ptr noundef %315) %317 = load i32, ptr %1, align 4 ret i32 %317 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clWaitForEvents(i32 noundef, ptr noundef) #1 declare i32 @clReleaseEvent(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpfyeug9qe.c' source_filename = "/tmp/tmpfyeug9qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minCostClimbingStairs(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %38 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %18 18: ; preds = %27, %12 %19 = load i32, ptr %7, align 4 %20 = load i32, ptr %5, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %30 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 -1, ptr %26, align 4 br label %27 27: ; preds = %22 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %18, !llvm.loop !6 30: ; preds = %18 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %5, align 4 %33 = load ptr, ptr %6, align 8 %34 = call i32 @search(ptr noundef %31, i32 noundef %32, ptr noundef %33) store i32 %34, ptr %8, align 4 %35 = load ptr, ptr %6, align 8 %36 = call i32 @free(ptr noundef %35) %37 = load i32, ptr %8, align 4 store i32 %37, ptr %3, align 4 br label %38 38: ; preds = %30, %11 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare ptr @malloc(i32 noundef) #1 declare i32 @search(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfyeug9qe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @minCostClimbingStairs(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 0, ptr %3, align 4 br label %40 12: ; preds = %2 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = mul i64 %14, 4 %16 = trunc i64 %15 to i32 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %6, align 8 store i32 0, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %32 .lr.ph: ; preds = %12 br label %21 21: ; preds = %.lr.ph, %26 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %7, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %22, i64 %24 store i32 -1, ptr %25, align 4 br label %26 26: ; preds = %21 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %5, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %26 br label %32 32: ; preds = %._crit_edge, %12 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %5, align 4 %35 = load ptr, ptr %6, align 8 %36 = call i32 @search(ptr noundef %33, i32 noundef %34, ptr noundef %35) store i32 %36, ptr %8, align 4 %37 = load ptr, ptr %6, align 8 %38 = call i32 @free(ptr noundef %37) %39 = load i32, ptr %8, align 4 store i32 %39, ptr %3, align 4 br label %40 40: ; preds = %32, %11 %41 = load i32, ptr %3, align 4 ret i32 %41 } declare ptr @malloc(i32 noundef) #1 declare i32 @search(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpelyd6i84.c' source_filename = "/tmp/tmpelyd6i84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lk_list_replace_init(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 @lk_list_replace(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @INIT_LK_LIST_HEAD(ptr noundef %8) ret void } declare i32 @lk_list_replace(ptr noundef, ptr noundef) #1 declare i32 @INIT_LK_LIST_HEAD(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpelyd6i84.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lk_list_replace_init(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 @lk_list_replace(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @INIT_LK_LIST_HEAD(ptr noundef %8) ret void } declare i32 @lk_list_replace(ptr noundef, ptr noundef) #1 declare i32 @INIT_LK_LIST_HEAD(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9s4igcf9.c' source_filename = "/tmp/tmp9s4igcf9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"#:SM %s#\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"#:SN %s#\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"#:SO %s#\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#:SP %s#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setSiteName(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [16 x i8], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 switch i32 %7, label %24 [ i32 1, label %8 i32 2, label %12 i32 3, label %16 i32 4, label %20 ] 8: ; preds = %2 %9 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 16, ptr noundef @.str, ptr noundef %10) br label %25 12: ; preds = %2 %13 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %4, align 8 %15 = call i32 @snprintf(ptr noundef %13, i32 noundef 16, ptr noundef @.str.1, ptr noundef %14) br label %25 16: ; preds = %2 %17 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call i32 @snprintf(ptr noundef %17, i32 noundef 16, ptr noundef @.str.2, ptr noundef %18) br label %25 20: ; preds = %2 %21 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %22 = load ptr, ptr %4, align 8 %23 = call i32 @snprintf(ptr noundef %21, i32 noundef 16, ptr noundef @.str.3, ptr noundef %22) br label %25 24: ; preds = %2 store i32 -1, ptr %3, align 4 br label %28 25: ; preds = %20, %16, %12, %8 %26 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %27 = call i32 @setStandardProcedure(ptr noundef %26) store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %25, %24 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @setStandardProcedure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9s4igcf9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"#:SM %s#\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"#:SN %s#\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"#:SO %s#\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"#:SP %s#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setSiteName(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [16 x i8], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 switch i32 %7, label %24 [ i32 1, label %8 i32 2, label %12 i32 3, label %16 i32 4, label %20 ] 8: ; preds = %2 %9 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @snprintf(ptr noundef %9, i32 noundef 16, ptr noundef @.str, ptr noundef %10) br label %25 12: ; preds = %2 %13 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %14 = load ptr, ptr %4, align 8 %15 = call i32 @snprintf(ptr noundef %13, i32 noundef 16, ptr noundef @.str.1, ptr noundef %14) br label %25 16: ; preds = %2 %17 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %4, align 8 %19 = call i32 @snprintf(ptr noundef %17, i32 noundef 16, ptr noundef @.str.2, ptr noundef %18) br label %25 20: ; preds = %2 %21 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %22 = load ptr, ptr %4, align 8 %23 = call i32 @snprintf(ptr noundef %21, i32 noundef 16, ptr noundef @.str.3, ptr noundef %22) br label %25 24: ; preds = %2 store i32 -1, ptr %3, align 4 br label %28 25: ; preds = %20, %16, %12, %8 %26 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %27 = call i32 @setStandardProcedure(ptr noundef %26) store i32 %27, ptr %3, align 4 br label %28 28: ; preds = %25, %24 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @setStandardProcedure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp66ejv16p.c' source_filename = "/tmp/tmp66ejv16p.c" target datalayout = "e-m:e-p270: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 [9 x i8] c"**** %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errmesg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp66ejv16p.c" target datalayout = "e-m:e-p270: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 [9 x i8] c"**** %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @errmesg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphchv_wxn.c' source_filename = "/tmp/tmphchv_wxn.c" target datalayout = "e-m:e-p270: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.zhex_encode.dec2hex = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @zhex_encode(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [17 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.zhex_encode.dec2hex, i64 17, i1 false) %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %10, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %11, align 4 br label %15 15: ; preds = %61, %4 %16 = load i32, ptr %11, align 4 %17 = load i32, ptr %6, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %64 19: ; preds = %15 %20 = load i32, ptr %8, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load i32, ptr %13, align 4 %24 = add nsw i32 %23, 2 %25 = load i32, ptr %8, align 4 %26 = icmp sgt i32 %24, %25 br i1 %26, label %27, label %28 27: ; preds = %22 br label %64 28: ; preds = %22, %19 %29 = load ptr, ptr %10, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = ashr i32 %34, 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 store i32 %39, ptr %12, align 4 %40 = load i32, ptr %8, align 4 %41 = load ptr, ptr %7, align 8 %42 = load i32, ptr %13, align 4 %43 = load i32, ptr %12, align 4 %44 = call i32 @Z_DF_ADD_CHAR(i32 noundef %40, ptr noundef %41, i32 noundef %42, i32 noundef %43) %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %11, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = zext i8 %49 to i32 %51 = and i32 %50, 15 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 store i32 %55, ptr %12, align 4 %56 = load i32, ptr %8, align 4 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %13, align 4 %59 = load i32, ptr %12, align 4 %60 = call i32 @Z_DF_ADD_CHAR(i32 noundef %56, ptr noundef %57, i32 noundef %58, i32 noundef %59) br label %61 61: ; preds = %28 %62 = load i32, ptr %11, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %11, align 4 br label %15, !llvm.loop !6 64: ; preds = %27, %15 %65 = load i32, ptr %13, align 4 ret i32 %65 } ; 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 @Z_DF_ADD_CHAR(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmphchv_wxn.c" target datalayout = "e-m:e-p270: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.zhex_encode.dec2hex = private unnamed_addr constant [17 x i8] c"0123456789ABCDEF\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @zhex_encode(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [17 x i8], align 16 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %9, ptr align 16 @__const.zhex_encode.dec2hex, i64 17, i1 false) %14 = load ptr, ptr %5, align 8 store ptr %14, ptr %10, align 8 store i32 0, ptr %13, align 4 store i32 0, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %18 18: ; preds = %.lr.ph, %60 %19 = load i32, ptr %8, align 4 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %27 21: ; preds = %18 %22 = load i32, ptr %13, align 4 %23 = add nsw i32 %22, 2 %24 = load i32, ptr %8, align 4 %25 = icmp sgt i32 %23, %24 br i1 %25, label %26, label %27 26: ; preds = %21 br label %66 27: ; preds = %21, %18 %28 = load ptr, ptr %10, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = zext i8 %32 to i32 %34 = ashr i32 %33, 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 store i32 %38, ptr %12, align 4 %39 = load i32, ptr %8, align 4 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %13, align 4 %42 = load i32, ptr %12, align 4 %43 = call i32 @Z_DF_ADD_CHAR(i32 noundef %39, ptr noundef %40, i32 noundef %41, i32 noundef %42) %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %11, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = zext i8 %48 to i32 %50 = and i32 %49, 15 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [17 x i8], ptr %9, i64 0, i64 %51 %53 = load i8, ptr %52, align 1 %54 = zext i8 %53 to i32 store i32 %54, ptr %12, align 4 %55 = load i32, ptr %8, align 4 %56 = load ptr, ptr %7, align 8 %57 = load i32, ptr %13, align 4 %58 = load i32, ptr %12, align 4 %59 = call i32 @Z_DF_ADD_CHAR(i32 noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef %58) br label %60 60: ; preds = %27 %61 = load i32, ptr %11, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %11, align 4 %63 = load i32, ptr %11, align 4 %64 = load i32, ptr %6, align 4 %65 = icmp slt i32 %63, %64 br i1 %65, label %18, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %60 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %66 66: ; preds = %.loopexit, %26 %67 = load i32, ptr %13, align 4 ret i32 %67 } ; 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 @Z_DF_ADD_CHAR(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: 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/tmp9odkbit6.c' source_filename = "/tmp/tmp9odkbit6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"ERROR: You need one argument.\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d: 'A'\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d: 'E'\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%d: 'I'\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%d: 'O'\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%d: 'U'\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"%d: 'Y'\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"%d: %c is not a vowel\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %79 12: ; preds = %2 store i32 0, ptr %6, align 4 store i8 0, ptr %7, align 1 store i32 0, ptr %6, align 4 store i8 0, ptr %7, align 1 br label %13 13: ; preds = %75, %12 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load i32, ptr %6, 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 ne i32 %21, 0 br i1 %22, label %23, label %78 23: ; preds = %13 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 store i8 %30, ptr %7, align 1 %31 = load i8, ptr %7, align 1 %32 = sext i8 %31 to i32 %33 = icmp sge i32 %32, 65 br i1 %33, label %34, label %44 34: ; preds = %23 %35 = load i8, ptr %7, align 1 %36 = sext i8 %35 to i32 %37 = icmp sle i32 %36, 90 br i1 %37, label %38, label %44 38: ; preds = %34 %39 = load i8, ptr %7, align 1 %40 = sext i8 %39 to i32 %41 = sub nsw i32 %40, 65 %42 = add nsw i32 97, %41 %43 = trunc i32 %42 to i8 store i8 %43, ptr %7, align 1 br label %44 44: ; preds = %38, %34, %23 %45 = load i8, ptr %7, align 1 %46 = sext i8 %45 to i32 switch i32 %46, label %69 [ i32 97, label %47 i32 101, label %50 i32 105, label %53 i32 111, label %56 i32 117, label %59 i32 121, label %62 ] 47: ; preds = %44 %48 = load i32, ptr %6, align 4 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %48) br label %74 50: ; preds = %44 %51 = load i32, ptr %6, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %51) br label %74 53: ; preds = %44 %54 = load i32, ptr %6, align 4 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %54) br label %74 56: ; preds = %44 %57 = load i32, ptr %6, align 4 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %57) br label %74 59: ; preds = %44 %60 = load i32, ptr %6, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %60) br label %74 62: ; preds = %44 %63 = load i32, ptr %6, align 4 %64 = icmp sgt i32 %63, 2 br i1 %64, label %65, label %68 65: ; preds = %62 %66 = load i32, ptr %6, align 4 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %66) br label %74 68: ; preds = %62 br label %69 69: ; preds = %44, %68 %70 = load i32, ptr %6, align 4 %71 = load i8, ptr %7, align 1 %72 = sext i8 %71 to i32 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %70, i32 noundef %72) br label %74 74: ; preds = %69, %65, %59, %56, %53, %50, %47 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 %13, !llvm.loop !6 78: ; preds = %13 store i32 0, ptr %3, align 4 br label %79 79: ; preds = %78, %10 %80 = load i32, ptr %3, align 4 ret i32 %80 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9odkbit6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"ERROR: You need one argument.\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d: 'A'\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d: 'E'\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"%d: 'I'\0A\00", align 1 @.str.4 = private unnamed_addr constant [9 x i8] c"%d: 'O'\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"%d: 'U'\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"%d: 'Y'\0A\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"%d: %c is not a vowel\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 i8, align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %12 10: ; preds = %2 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %87 12: ; preds = %2 store i32 0, ptr %6, align 4 store i8 0, ptr %7, align 1 store i32 0, ptr %6, align 4 store i8 0, ptr %7, align 1 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = load i32, ptr %6, 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 ne i32 %20, 0 br i1 %21, label %.lr.ph, label %86 .lr.ph: ; preds = %12 br label %22 22: ; preds = %.lr.ph, %74 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 store i8 %29, ptr %7, align 1 %30 = load i8, ptr %7, align 1 %31 = sext i8 %30 to i32 %32 = icmp sge i32 %31, 65 br i1 %32, label %33, label %43 33: ; preds = %22 %34 = load i8, ptr %7, align 1 %35 = sext i8 %34 to i32 %36 = icmp sle i32 %35, 90 br i1 %36, label %37, label %43 37: ; preds = %33 %38 = load i8, ptr %7, align 1 %39 = sext i8 %38 to i32 %40 = sub nsw i32 %39, 65 %41 = add nsw i32 97, %40 %42 = trunc i32 %41 to i8 store i8 %42, ptr %7, align 1 br label %43 43: ; preds = %37, %33, %22 %44 = load i8, ptr %7, align 1 %45 = sext i8 %44 to i32 switch i32 %45, label %68 [ i32 97, label %46 i32 101, label %49 i32 105, label %52 i32 111, label %55 i32 117, label %58 i32 121, label %61 ] 46: ; preds = %43 %47 = load i32, ptr %6, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %47) br label %73 49: ; preds = %43 %50 = load i32, ptr %6, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) br label %73 52: ; preds = %43 %53 = load i32, ptr %6, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %53) br label %73 55: ; preds = %43 %56 = load i32, ptr %6, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %56) br label %73 58: ; preds = %43 %59 = load i32, ptr %6, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %59) br label %73 61: ; preds = %43 %62 = load i32, ptr %6, align 4 %63 = icmp sgt i32 %62, 2 br i1 %63, label %64, label %67 64: ; preds = %61 %65 = load i32, ptr %6, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65) br label %73 67: ; preds = %61 br label %68 68: ; preds = %67, %43 %69 = load i32, ptr %6, align 4 %70 = load i8, ptr %7, align 1 %71 = sext i8 %70 to i32 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %69, i32 noundef %71) br label %73 73: ; preds = %68, %64, %58, %55, %52, %49, %46 br label %74 74: ; preds = %73 %75 = load i32, ptr %6, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %6, align 4 %77 = load ptr, ptr %5, align 8 %78 = getelementptr inbounds ptr, ptr %77, i64 1 %79 = load ptr, ptr %78, align 8 %80 = load i32, ptr %6, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i8, ptr %79, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %84, 0 br i1 %85, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %86 86: ; preds = %._crit_edge, %12 store i32 0, ptr %3, align 4 br label %87 87: ; preds = %86, %10 %88 = load i32, ptr %3, align 4 ret i32 %88 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp9khdmrsx.c' source_filename = "/tmp/tmp9khdmrsx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"setparams: Internal error: invalid class type %c\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"#define CLASS '%c'\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"#define M %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_ep_info(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load i8, ptr %4, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 83 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 24, ptr %5, align 4 br label %50 10: ; preds = %2 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 87 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 25, ptr %5, align 4 br label %49 15: ; preds = %10 %16 = load i8, ptr %4, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 65 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 28, ptr %5, align 4 br label %48 20: ; preds = %15 %21 = load i8, ptr %4, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 66 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 30, ptr %5, align 4 br label %47 25: ; preds = %20 %26 = load i8, ptr %4, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 67 br i1 %28, label %29, label %30 29: ; preds = %25 store i32 32, ptr %5, align 4 br label %46 30: ; preds = %25 %31 = load i8, ptr %4, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 68 br i1 %33, label %34, label %35 34: ; preds = %30 store i32 36, ptr %5, align 4 br label %45 35: ; preds = %30 %36 = load i8, ptr %4, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 69 br i1 %38, label %39, label %40 39: ; preds = %35 store i32 40, ptr %5, align 4 br label %44 40: ; preds = %35 %41 = load i8, ptr %4, align 1 %42 = call i32 @printf(ptr noundef @.str, i8 noundef signext %41) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %39 br label %45 45: ; preds = %44, %34 br label %46 46: ; preds = %45, %29 br label %47 47: ; preds = %46, %24 br label %48 48: ; preds = %47, %19 br label %49 49: ; preds = %48, %14 br label %50 50: ; preds = %49, %9 %51 = load ptr, ptr %3, align 8 %52 = load i8, ptr %4, align 1 %53 = sext i8 %52 to i32 %54 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.1, i32 noundef %53) %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %5, align 4 %57 = call i32 @fprintf(ptr noundef %55, ptr noundef @.str.2, i32 noundef %56) ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp9khdmrsx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [50 x i8] c"setparams: Internal error: invalid class type %c\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"#define CLASS '%c'\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"#define M %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @write_ep_info(ptr noundef %0, i8 noundef signext %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i8 %1, ptr %4, align 1 %6 = load i8, ptr %4, align 1 %7 = sext i8 %6 to i32 %8 = icmp eq i32 %7, 83 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 24, ptr %5, align 4 br label %50 10: ; preds = %2 %11 = load i8, ptr %4, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 87 br i1 %13, label %14, label %15 14: ; preds = %10 store i32 25, ptr %5, align 4 br label %49 15: ; preds = %10 %16 = load i8, ptr %4, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 65 br i1 %18, label %19, label %20 19: ; preds = %15 store i32 28, ptr %5, align 4 br label %48 20: ; preds = %15 %21 = load i8, ptr %4, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 66 br i1 %23, label %24, label %25 24: ; preds = %20 store i32 30, ptr %5, align 4 br label %47 25: ; preds = %20 %26 = load i8, ptr %4, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 67 br i1 %28, label %29, label %30 29: ; preds = %25 store i32 32, ptr %5, align 4 br label %46 30: ; preds = %25 %31 = load i8, ptr %4, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 68 br i1 %33, label %34, label %35 34: ; preds = %30 store i32 36, ptr %5, align 4 br label %45 35: ; preds = %30 %36 = load i8, ptr %4, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 69 br i1 %38, label %39, label %40 39: ; preds = %35 store i32 40, ptr %5, align 4 br label %44 40: ; preds = %35 %41 = load i8, ptr %4, align 1 %42 = call i32 @printf(ptr noundef @.str, i8 noundef signext %41) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %39 br label %45 45: ; preds = %44, %34 br label %46 46: ; preds = %45, %29 br label %47 47: ; preds = %46, %24 br label %48 48: ; preds = %47, %19 br label %49 49: ; preds = %48, %14 br label %50 50: ; preds = %49, %9 %51 = load ptr, ptr %3, align 8 %52 = load i8, ptr %4, align 1 %53 = sext i8 %52 to i32 %54 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.1, i32 noundef %53) %55 = load ptr, ptr %3, align 8 %56 = load i32, ptr %5, align 4 %57 = call i32 @fprintf(ptr noundef %55, ptr noundef @.str.2, i32 noundef %56) ret void } declare i32 @printf(ptr noundef, i8 noundef signext) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @fprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp_2jjr267.c' source_filename = "/tmp/tmp_2jjr267.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"Usage: %s <msg_file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"video\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d*%d:%d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Can't open %s for reading!\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Invalid message file!\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca [10800 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 -1, ptr %3, align 4 br label %71 21: ; preds = %2 store i32 600, ptr %6, align 4 store i32 800, ptr %7, align 4 store i32 8, ptr %8, align 4 %22 = call ptr @getenv(ptr noundef @.str.1) store ptr %22, ptr %9, align 8 %23 = load ptr, ptr %9, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load ptr, ptr %9, align 8 %27 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %6, ptr noundef %7, ptr noundef %8) br label %28 28: ; preds = %25, %21 %29 = load i32, ptr %8, align 4 %30 = icmp eq i32 %29, 8 %31 = zext i1 %30 to i64 %32 = select i1 %30, i32 3, i32 2 store i32 %32, ptr %10, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.3) store ptr %36, ptr %11, align 8 %37 = load ptr, ptr %11, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %45 39: ; preds = %28 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 1 %43 = load ptr, ptr %42, align 8 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.4, ptr noundef %43) store i32 -1, ptr %3, align 4 br label %71 45: ; preds = %28 %46 = getelementptr inbounds [10800 x i8], ptr %12, i64 0, i64 0 %47 = load ptr, ptr %11, align 8 %48 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef 10800, ptr noundef %47) %49 = icmp ne i32 %48, 10800 br i1 %49, label %50, label %55 50: ; preds = %45 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.5) %53 = load ptr, ptr %11, align 8 %54 = call i32 @fclose(ptr noundef %53) store i32 -1, ptr %3, align 4 br label %71 55: ; preds = %45 %56 = load ptr, ptr %11, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = call i32 (...) @bs_chip_init() %59 = call i32 (...) @bs_cmd_flag_hif_mode_cmd() %60 = load i32, ptr %7, align 4 %61 = sub nsw i32 %60, 2 %62 = sub nsw i32 %61, 18 %63 = getelementptr inbounds [10800 x i8], ptr %12, i64 0, i64 0 %64 = call i32 @bs_cmd_ld_img_area_data(i32 noundef 3, i32 noundef 0, i32 noundef %62, i32 noundef 600, i32 noundef 18, ptr noundef %63) %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %7, align 4 %67 = sub nsw i32 %66, 2 %68 = sub nsw i32 %67, 18 %69 = call i32 @update_area(i32 noundef %65, i32 noundef 0, i32 noundef %68, i32 noundef 600, i32 noundef 18) %70 = call i32 (...) @bs_chip_final() store i32 0, ptr %3, align 4 br label %71 71: ; preds = %55, %50, %39, %15 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @bs_chip_init(...) #1 declare i32 @bs_cmd_flag_hif_mode_cmd(...) #1 declare i32 @bs_cmd_ld_img_area_data(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @update_area(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bs_chip_final(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_2jjr267.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"Usage: %s <msg_file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"video\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d*%d:%d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Can't open %s for reading!\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"Invalid message file!\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca [10800 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 2 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 -1, ptr %3, align 4 br label %71 21: ; preds = %2 store i32 600, ptr %6, align 4 store i32 800, ptr %7, align 4 store i32 8, ptr %8, align 4 %22 = call ptr @getenv(ptr noundef @.str.1) store ptr %22, ptr %9, align 8 %23 = load ptr, ptr %9, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %28 25: ; preds = %21 %26 = load ptr, ptr %9, align 8 %27 = call i32 @sscanf(ptr noundef %26, ptr noundef @.str.2, ptr noundef %6, ptr noundef %7, ptr noundef %8) br label %28 28: ; preds = %25, %21 %29 = load i32, ptr %8, align 4 %30 = icmp eq i32 %29, 8 %31 = zext i1 %30 to i64 %32 = select i1 %30, i32 3, i32 2 store i32 %32, ptr %10, align 4 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 %36 = call ptr @fopen(ptr noundef %35, ptr noundef @.str.3) store ptr %36, ptr %11, align 8 %37 = load ptr, ptr %11, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %45 39: ; preds = %28 %40 = load i32, ptr @stderr, align 4 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 1 %43 = load ptr, ptr %42, align 8 %44 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.4, ptr noundef %43) store i32 -1, ptr %3, align 4 br label %71 45: ; preds = %28 %46 = getelementptr inbounds [10800 x i8], ptr %12, i64 0, i64 0 %47 = load ptr, ptr %11, align 8 %48 = call i32 @fread(ptr noundef %46, i32 noundef 1, i32 noundef 10800, ptr noundef %47) %49 = icmp ne i32 %48, 10800 br i1 %49, label %50, label %55 50: ; preds = %45 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.5) %53 = load ptr, ptr %11, align 8 %54 = call i32 @fclose(ptr noundef %53) store i32 -1, ptr %3, align 4 br label %71 55: ; preds = %45 %56 = load ptr, ptr %11, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = call i32 (...) @bs_chip_init() %59 = call i32 (...) @bs_cmd_flag_hif_mode_cmd() %60 = load i32, ptr %7, align 4 %61 = sub nsw i32 %60, 2 %62 = sub nsw i32 %61, 18 %63 = getelementptr inbounds [10800 x i8], ptr %12, i64 0, i64 0 %64 = call i32 @bs_cmd_ld_img_area_data(i32 noundef 3, i32 noundef 0, i32 noundef %62, i32 noundef 600, i32 noundef 18, ptr noundef %63) %65 = load i32, ptr %10, align 4 %66 = load i32, ptr %7, align 4 %67 = sub nsw i32 %66, 2 %68 = sub nsw i32 %67, 18 %69 = call i32 @update_area(i32 noundef %65, i32 noundef 0, i32 noundef %68, i32 noundef 600, i32 noundef 18) %70 = call i32 (...) @bs_chip_final() store i32 0, ptr %3, align 4 br label %71 71: ; preds = %55, %50, %39, %15 %72 = load i32, ptr %3, align 4 ret i32 %72 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare ptr @getenv(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @bs_chip_init(...) #1 declare i32 @bs_cmd_flag_hif_mode_cmd(...) #1 declare i32 @bs_cmd_ld_img_area_data(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @update_area(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @bs_chip_final(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmrnes1ls.c' source_filename = "/tmp/tmpmrnes1ls.c" target datalayout = "e-m:e-p270: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/tmpmrnes1ls.c" target datalayout = "e-m:e-p270: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/tmp1qmu9arf.c' source_filename = "/tmp/tmp1qmu9arf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%.1f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %8 = load float, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = fcmp ogt float %8, %9 br i1 %10, label %11, label %22 11: ; preds = %0 %12 = load float, ptr %2, align 4 %13 = load float, ptr %4, align 4 %14 = fcmp ogt float %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load float, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str.1, float noundef %16) br label %21 18: ; preds = %11 %19 = load float, ptr %4, align 4 %20 = call i32 @printf(ptr noundef @.str.1, float noundef %19) br label %21 21: ; preds = %18, %15 br label %33 22: ; preds = %0 %23 = load float, ptr %3, align 4 %24 = load float, ptr %4, align 4 %25 = fcmp ogt float %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load float, ptr %3, align 4 %28 = call i32 @printf(ptr noundef @.str.1, float noundef %27) br label %32 29: ; preds = %22 %30 = load float, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str.1, float noundef %30) br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32, %21 %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1qmu9arf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%.1f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %8 = load float, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = fcmp ogt float %8, %9 br i1 %10, label %11, label %22 11: ; preds = %0 %12 = load float, ptr %2, align 4 %13 = load float, ptr %4, align 4 %14 = fcmp ogt float %12, %13 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load float, ptr %2, align 4 %17 = call i32 @printf(ptr noundef @.str.1, float noundef %16) br label %21 18: ; preds = %11 %19 = load float, ptr %4, align 4 %20 = call i32 @printf(ptr noundef @.str.1, float noundef %19) br label %21 21: ; preds = %18, %15 br label %33 22: ; preds = %0 %23 = load float, ptr %3, align 4 %24 = load float, ptr %4, align 4 %25 = fcmp ogt float %23, %24 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load float, ptr %3, align 4 %28 = call i32 @printf(ptr noundef @.str.1, float noundef %27) br label %32 29: ; preds = %22 %30 = load float, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str.1, float noundef %30) br label %32 32: ; preds = %29, %26 br label %33 33: ; preds = %32, %21 %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpljnpmkza.c' source_filename = "/tmp/tmpljnpmkza.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_next_line.buff_storage = internal global [8192 x ptr] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_next_line(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %8, 8192 br i1 %9, label %16, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13, %10, %2 store i32 -1, ptr %3, align 4 br label %62 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = call i32 @get_buff(i32 noundef %18, ptr noundef %6, ptr noundef @get_next_line.buff_storage) %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 0) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %28 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = call i32 @clean_buff(i32 noundef %25, ptr noundef %6, ptr noundef @get_next_line.buff_storage) %27 = sub nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %62 28: ; preds = %17 %29 = call ptr @ft_memalloc(i32 noundef 1) %30 = load ptr, ptr %5, align 8 store ptr %29, ptr %30, align 8 %31 = icmp ne ptr %29, null br i1 %31, label %33, label %32 32: ; preds = %28 store i32 -1, ptr %3, align 4 br label %62 33: ; preds = %28 store i32 0, ptr %7, align 4 br label %34 34: ; preds = %33, %61 %35 = load ptr, ptr %5, align 8 %36 = call i64 @set_line(ptr noundef %6, ptr noundef %35, ptr noundef %7) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %34 store i32 1, ptr %3, align 4 br label %62 39: ; preds = %34 %40 = load i32, ptr %4, align 4 %41 = load ptr, ptr %6, align 8 %42 = call i32 @read(i32 noundef %40, ptr noundef %41, i32 noundef 32) %43 = icmp eq i32 %42, 0 br i1 %43, label %44, label %60 44: ; preds = %39 %45 = load i32, ptr %7, align 4 %46 = icmp eq i32 %45, 0 br i1 %46, label %47, label %51 47: ; preds = %44 %48 = load ptr, ptr %5, align 8 %49 = load ptr, ptr %48, align 8 %50 = call i32 @free(ptr noundef %49) br label %51 51: ; preds = %47, %44 %52 = load i32, ptr %7, align 4 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load i32, ptr %4, align 4 %56 = call i32 @clean_buff(i32 noundef %55, ptr noundef %6, ptr noundef @get_next_line.buff_storage) br label %58 57: ; preds = %51 br label %58 58: ; preds = %57, %54 %59 = phi i32 [ %56, %54 ], [ 1, %57 ] store i32 %59, ptr %3, align 4 br label %62 60: ; preds = %39 br label %61 61: ; preds = %60 br label %34 62: ; preds = %58, %38, %32, %24, %16 %63 = load i32, ptr %3, align 4 ret i32 %63 } declare i32 @get_buff(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @clean_buff(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @ft_memalloc(i32 noundef) #1 declare i64 @set_line(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpljnpmkza.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @get_next_line.buff_storage = internal global [8192 x ptr] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_next_line(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp sge i32 %8, 8192 br i1 %9, label %16, label %10 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %16, label %17 16: ; preds = %13, %10, %2 store i32 -1, ptr %3, align 4 br label %64 17: ; preds = %13 %18 = load i32, ptr %4, align 4 %19 = call i32 @get_buff(i32 noundef %18, ptr noundef %6, ptr noundef @get_next_line.buff_storage) %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %6, align 8 %22 = call i32 @read(i32 noundef %20, ptr noundef %21, i32 noundef 0) %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %28 24: ; preds = %17 %25 = load i32, ptr %4, align 4 %26 = call i32 @clean_buff(i32 noundef %25, ptr noundef %6, ptr noundef @get_next_line.buff_storage) %27 = sub nsw i32 %26, 1 store i32 %27, ptr %3, align 4 br label %64 28: ; preds = %17 %29 = call ptr @ft_memalloc(i32 noundef 1) %30 = load ptr, ptr %5, align 8 store ptr %29, ptr %30, align 8 %31 = icmp ne ptr %29, null br i1 %31, label %33, label %32 32: ; preds = %28 store i32 -1, ptr %3, align 4 br label %64 33: ; preds = %28 store i32 0, ptr %7, align 4 %34 = load ptr, ptr %5, align 8 %35 = call i64 @set_line(ptr noundef %6, ptr noundef %34, ptr noundef %7) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %.lr.ph .lr.ph: ; preds = %33 br label %38 ._crit_edge: ; preds = %60 br label %37 37: ; preds = %._crit_edge, %33 store i32 1, ptr %3, align 4 br label %64 38: ; preds = %.lr.ph, %60 %39 = load i32, ptr %4, align 4 %40 = load ptr, ptr %6, align 8 %41 = call i32 @read(i32 noundef %39, ptr noundef %40, i32 noundef 32) %42 = icmp eq i32 %41, 0 br i1 %42, label %43, label %59 43: ; preds = %38 %44 = load i32, ptr %7, align 4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load ptr, ptr %5, align 8 %48 = load ptr, ptr %47, align 8 %49 = call i32 @free(ptr noundef %48) br label %50 50: ; preds = %46, %43 %51 = load i32, ptr %7, align 4 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %56 53: ; preds = %50 %54 = load i32, ptr %4, align 4 %55 = call i32 @clean_buff(i32 noundef %54, ptr noundef %6, ptr noundef @get_next_line.buff_storage) br label %57 56: ; preds = %50 br label %57 57: ; preds = %56, %53 %58 = phi i32 [ %55, %53 ], [ 1, %56 ] store i32 %58, ptr %3, align 4 br label %64 59: ; preds = %38 br label %60 60: ; preds = %59 %61 = load ptr, ptr %5, align 8 %62 = call i64 @set_line(ptr noundef %6, ptr noundef %61, ptr noundef %7) %63 = icmp ne i64 %62, 0 br i1 %63, label %._crit_edge, label %38 64: ; preds = %57, %37, %32, %24, %16 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @get_buff(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @clean_buff(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @ft_memalloc(i32 noundef) #1 declare i64 @set_line(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnmqvb0k1.c' source_filename = "/tmp/tmpnmqvb0k1.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, ptr } @.str = private unnamed_addr constant [20 x i8] c"creating socket...\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"find_socket-socket()\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Couldn't find a socket\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_socket(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 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str) %10 = load ptr, ptr %2, align 8 store ptr %10, ptr %4, align 8 br label %11 11: ; preds = %31, %1 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %35 14: ; preds = %11 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds %struct.addrinfo, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 8 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds %struct.addrinfo, ptr %18, i32 0, i32 1 %20 = load i32, ptr %19, align 4 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds %struct.addrinfo, ptr %21, i32 0, i32 0 %23 = load i32, ptr %22, align 8 %24 = call i32 @socket(i32 noundef %17, i32 noundef %20, i32 noundef %23) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %14 %28 = call i32 @perror(ptr noundef @.str.1) br label %31 29: ; preds = %14 %30 = load i32, ptr %3, align 4 ret i32 %30 31: ; preds = %27 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds %struct.addrinfo, ptr %32, i32 0, i32 3 %34 = load ptr, ptr %33, align 8 store ptr %34, ptr %4, align 8 br label %11, !llvm.loop !6 35: ; preds = %11 %36 = load i32, ptr %3, align 4 %37 = icmp eq i32 %36, -1 %38 = zext i1 %37 to i32 %39 = call i32 @assert(i32 noundef %38) %40 = load i32, ptr @stderr, align 4 %41 = call i32 @fprintf(i32 noundef %40, ptr noundef @.str.2) %42 = load i32, ptr @EXIT_FAILURE, align 4 %43 = call i32 @exit(i32 noundef %42) #3 unreachable } declare i32 @assert(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnmqvb0k1.c" target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, ptr } @.str = private unnamed_addr constant [20 x i8] c"creating socket...\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"find_socket-socket()\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Couldn't find a socket\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @find_socket(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 = icmp ne ptr %5, null %7 = zext i1 %6 to i32 %8 = call i32 @assert(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str) %10 = load ptr, ptr %2, align 8 store ptr %10, ptr %4, align 8 %11 = load ptr, ptr %4, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %.lr.ph, label %36 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %30 %14 = load ptr, ptr %4, align 8 %15 = getelementptr inbounds %struct.addrinfo, ptr %14, i32 0, i32 2 %16 = load i32, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.addrinfo, ptr %17, i32 0, i32 1 %19 = load i32, ptr %18, align 4 %20 = load ptr, ptr %4, align 8 %21 = getelementptr inbounds %struct.addrinfo, ptr %20, i32 0, i32 0 %22 = load i32, ptr %21, align 8 %23 = call i32 @socket(i32 noundef %16, i32 noundef %19, i32 noundef %22) store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %28 26: ; preds = %13 %27 = call i32 @perror(ptr noundef @.str.1) br label %30 28: ; preds = %13 %29 = load i32, ptr %3, align 4 ret i32 %29 30: ; preds = %26 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds %struct.addrinfo, ptr %31, i32 0, i32 3 %33 = load ptr, ptr %32, align 8 store ptr %33, ptr %4, align 8 %34 = load ptr, ptr %4, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %36 36: ; preds = %._crit_edge, %1 %37 = load i32, ptr %3, align 4 %38 = icmp eq i32 %37, -1 %39 = zext i1 %38 to i32 %40 = call i32 @assert(i32 noundef %39) %41 = load i32, ptr @stderr, align 4 %42 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2) %43 = load i32, ptr @EXIT_FAILURE, align 4 %44 = call i32 @exit(i32 noundef %43) #3 unreachable } declare i32 @assert(i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp1dik6y8j.c' source_filename = "/tmp/tmp1dik6y8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_lcs(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr null, ptr %12, align 8 store i32 0, ptr %14, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %32 25: ; preds = %5 %26 = load ptr, ptr %9, align 8 store ptr %26, ptr %13, align 8 %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %13, align 8 store ptr %28, ptr %7, align 8 %29 = load i32, ptr %10, align 4 store i32 %29, ptr %18, align 4 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %18, align 4 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %25, %5 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %10, align 4 %35 = call ptr @calculate_bm_table(ptr noundef %33, i32 noundef %34) store ptr %35, ptr %19, align 8 store i32 1, ptr %17, align 4 store i32 0, ptr %15, align 4 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %15, align 4 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %38, %39 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %37, i64 %42 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i64 %46 = getelementptr inbounds i32, ptr %36, i64 %45 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %16, align 4 br label %48 48: ; preds = %162, %32 %49 = load i32, ptr %15, align 4 %50 = load i32, ptr %8, align 4 %51 = icmp slt i32 %49, %50 br i1 %51, label %52, label %163 52: ; preds = %48 %53 = load i32, ptr %16, align 4 %54 = load i32, ptr %15, align 4 %55 = add nsw i32 %54, %53 store i32 %55, ptr %15, align 4 %56 = load ptr, ptr %19, align 8 %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %15, align 4 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %58, %59 %61 = sub nsw i32 %60, 1 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %57, i64 %62 %64 = load i8, ptr %63, align 1 %65 = zext i8 %64 to i64 %66 = getelementptr inbounds i32, ptr %56, i64 %65 %67 = load i32, ptr %66, align 4 store i32 %67, ptr %16, align 4 %68 = load i32, ptr %16, align 4 %69 = load i32, ptr %10, align 4 %70 = icmp eq i32 %68, %69 br i1 %70, label %71, label %74 71: ; preds = %52 %72 = load i32, ptr %14, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %16, align 4 br label %162 74: ; preds = %52 %75 = load i32, ptr %15, align 4 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %75, %76 %78 = sub nsw i32 %77, 1 store i32 %78, ptr %20, align 4 store i32 0, ptr %21, align 4 br label %79 79: ; preds = %102, %74 %80 = load i32, ptr %16, align 4 %81 = load i32, ptr %10, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %100 83: ; preds = %79 %84 = load ptr, ptr %9, align 8 %85 = load i32, ptr %10, align 4 %86 = load i32, ptr %16, align 4 %87 = sub nsw i32 %85, %86 %88 = sub nsw i32 %87, 1 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds i8, ptr %84, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %20, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %92, %98 br label %100 100: ; preds = %83, %79 %101 = phi i1 [ false, %79 ], [ %99, %83 ] br i1 %101, label %102, label %107 102: ; preds = %100 %103 = load i32, ptr %20, align 4 %104 = add nsw i32 %103, -1 store i32 %104, ptr %20, align 4 %105 = load i32, ptr %16, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %16, align 4 br label %79, !llvm.loop !6 107: ; preds = %100 %108 = load i32, ptr %16, align 4 %109 = add nsw i32 %108, -1 store i32 %109, ptr %16, align 4 %110 = load i32, ptr %20, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %20, align 4 br label %112 112: ; preds = %134, %107 %113 = load i32, ptr %16, align 4 %114 = icmp sge i32 %113, 0 br i1 %114, label %115, label %132 115: ; preds = %112 %116 = load ptr, ptr %9, align 8 %117 = load i32, ptr %10, align 4 %118 = load i32, ptr %16, align 4 %119 = sub nsw i32 %117, %118 %120 = sub nsw i32 %119, 1 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %116, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = load ptr, ptr %7, align 8 %126 = load i32, ptr %20, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i8, ptr %125, i64 %127 %129 = load i8, ptr %128, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %124, %130 br label %132 132: ; preds = %115, %112 %133 = phi i1 [ false, %112 ], [ %131, %115 ] br i1 %133, label %134, label %141 134: ; preds = %132 %135 = load i32, ptr %21, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %21, align 4 %137 = load i32, ptr %16, align 4 %138 = add nsw i32 %137, -1 store i32 %138, ptr %16, align 4 %139 = load i32, ptr %20, align 4 %140 = add nsw i32 %139, 1 store i32 %140, ptr %20, align 4 br label %112, !llvm.loop !8 141: ; preds = %132 %142 = load i32, ptr %21, align 4 %143 = load i32, ptr %14, align 4 %144 = icmp sgt i32 %142, %143 br i1 %144, label %145, label %161 145: ; preds = %141 %146 = load i32, ptr %21, align 4 store i32 %146, ptr %14, align 4 %147 = load ptr, ptr %7, align 8 %148 = load i32, ptr %20, align 4 %149 = load i32, ptr %21, align 4 %150 = sub nsw i32 %148, %149 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds i8, ptr %147, i64 %151 store ptr %152, ptr %12, align 8 %153 = load i32, ptr %14, align 4 %154 = load i32, ptr %10, align 4 %155 = icmp eq i32 %153, %154 br i1 %155, label %156, label %160 156: ; preds = %145 %157 = load i32, ptr %14, align 4 %158 = load ptr, ptr %11, align 8 store i32 %157, ptr %158, align 4 %159 = load ptr, ptr %12, align 8 store ptr %159, ptr %6, align 8 br label %169 160: ; preds = %145 br label %161 161: ; preds = %160, %141 store i32 1, ptr %16, align 4 br label %162 162: ; preds = %161, %71 br label %48, !llvm.loop !9 163: ; preds = %48 %164 = load i32, ptr %14, align 4 %165 = load ptr, ptr %11, align 8 store i32 %164, ptr %165, align 4 %166 = load ptr, ptr %19, align 8 %167 = call i32 @free(ptr noundef %166) %168 = load ptr, ptr %12, align 8 store ptr %168, ptr %6, align 8 br label %169 169: ; preds = %163, %156 %170 = load ptr, ptr %6, align 8 ret ptr %170 } declare ptr @calculate_bm_table(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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1dik6y8j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_lcs(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr null, ptr %12, align 8 store i32 0, ptr %14, align 4 %22 = load i32, ptr %10, align 4 %23 = load i32, ptr %8, align 4 %24 = icmp sgt i32 %22, %23 br i1 %24, label %25, label %32 25: ; preds = %5 %26 = load ptr, ptr %9, align 8 store ptr %26, ptr %13, align 8 %27 = load ptr, ptr %7, align 8 store ptr %27, ptr %9, align 8 %28 = load ptr, ptr %13, align 8 store ptr %28, ptr %7, align 8 %29 = load i32, ptr %10, align 4 store i32 %29, ptr %18, align 4 %30 = load i32, ptr %8, align 4 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %18, align 4 store i32 %31, ptr %8, align 4 br label %32 32: ; preds = %25, %5 %33 = load ptr, ptr %9, align 8 %34 = load i32, ptr %10, align 4 %35 = call ptr @calculate_bm_table(ptr noundef %33, i32 noundef %34) store ptr %35, ptr %19, align 8 store i32 1, ptr %17, align 4 store i32 0, ptr %15, align 4 %36 = load ptr, ptr %19, align 8 %37 = load ptr, ptr %7, align 8 %38 = load i32, ptr %15, align 4 %39 = load i32, ptr %10, align 4 %40 = add nsw i32 %38, %39 %41 = sub nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %37, i64 %42 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i64 %46 = getelementptr inbounds i32, ptr %36, i64 %45 %47 = load i32, ptr %46, align 4 store i32 %47, ptr %16, align 4 %48 = load i32, ptr %15, align 4 %49 = load i32, ptr %8, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph, label %165 .lr.ph: ; preds = %32 br label %51 51: ; preds = %.lr.ph, %161 %52 = load i32, ptr %16, align 4 %53 = load i32, ptr %15, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %15, align 4 %55 = load ptr, ptr %19, align 8 %56 = load ptr, ptr %7, align 8 %57 = load i32, ptr %15, align 4 %58 = load i32, ptr %10, align 4 %59 = add nsw i32 %57, %58 %60 = sub nsw i32 %59, 1 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %56, i64 %61 %63 = load i8, ptr %62, align 1 %64 = zext i8 %63 to i64 %65 = getelementptr inbounds i32, ptr %55, i64 %64 %66 = load i32, ptr %65, align 4 store i32 %66, ptr %16, align 4 %67 = load i32, ptr %16, align 4 %68 = load i32, ptr %10, align 4 %69 = icmp eq i32 %67, %68 br i1 %69, label %70, label %73 70: ; preds = %51 %71 = load i32, ptr %14, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %16, align 4 br label %161 73: ; preds = %51 %74 = load i32, ptr %15, align 4 %75 = load i32, ptr %10, align 4 %76 = add nsw i32 %74, %75 %77 = sub nsw i32 %76, 1 store i32 %77, ptr %20, align 4 store i32 0, ptr %21, align 4 br label %78 78: ; preds = %101, %73 %79 = load i32, ptr %16, align 4 %80 = load i32, ptr %10, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %82, label %99 82: ; preds = %78 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %10, align 4 %85 = load i32, ptr %16, align 4 %86 = sub nsw i32 %84, %85 %87 = sub nsw i32 %86, 1 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds i8, ptr %83, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = load ptr, ptr %7, align 8 %93 = load i32, ptr %20, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp eq i32 %91, %97 br label %99 99: ; preds = %82, %78 %100 = phi i1 [ false, %78 ], [ %98, %82 ] br i1 %100, label %101, label %106 101: ; preds = %99 %102 = load i32, ptr %20, align 4 %103 = add nsw i32 %102, -1 store i32 %103, ptr %20, align 4 %104 = load i32, ptr %16, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %16, align 4 br label %78, !llvm.loop !6 106: ; preds = %99 %107 = load i32, ptr %16, align 4 %108 = add nsw i32 %107, -1 store i32 %108, ptr %16, align 4 %109 = load i32, ptr %20, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %20, align 4 br label %111 111: ; preds = %133, %106 %112 = load i32, ptr %16, align 4 %113 = icmp sge i32 %112, 0 br i1 %113, label %114, label %131 114: ; preds = %111 %115 = load ptr, ptr %9, align 8 %116 = load i32, ptr %10, align 4 %117 = load i32, ptr %16, align 4 %118 = sub nsw i32 %116, %117 %119 = sub nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %115, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = load ptr, ptr %7, align 8 %125 = load i32, ptr %20, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds i8, ptr %124, i64 %126 %128 = load i8, ptr %127, align 1 %129 = sext i8 %128 to i32 %130 = icmp eq i32 %123, %129 br label %131 131: ; preds = %114, %111 %132 = phi i1 [ false, %111 ], [ %130, %114 ] br i1 %132, label %133, label %140 133: ; preds = %131 %134 = load i32, ptr %21, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %21, align 4 %136 = load i32, ptr %16, align 4 %137 = add nsw i32 %136, -1 store i32 %137, ptr %16, align 4 %138 = load i32, ptr %20, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %20, align 4 br label %111, !llvm.loop !8 140: ; preds = %131 %141 = load i32, ptr %21, align 4 %142 = load i32, ptr %14, align 4 %143 = icmp sgt i32 %141, %142 br i1 %143, label %144, label %160 144: ; preds = %140 %145 = load i32, ptr %21, align 4 store i32 %145, ptr %14, align 4 %146 = load ptr, ptr %7, align 8 %147 = load i32, ptr %20, align 4 %148 = load i32, ptr %21, align 4 %149 = sub nsw i32 %147, %148 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds i8, ptr %146, i64 %150 store ptr %151, ptr %12, align 8 %152 = load i32, ptr %14, align 4 %153 = load i32, ptr %10, align 4 %154 = icmp eq i32 %152, %153 br i1 %154, label %155, label %159 155: ; preds = %144 %156 = load i32, ptr %14, align 4 %157 = load ptr, ptr %11, align 8 store i32 %156, ptr %157, align 4 %158 = load ptr, ptr %12, align 8 store ptr %158, ptr %6, align 8 br label %171 159: ; preds = %144 br label %160 160: ; preds = %159, %140 store i32 1, ptr %16, align 4 br label %161 161: ; preds = %160, %70 %162 = load i32, ptr %15, align 4 %163 = load i32, ptr %8, align 4 %164 = icmp slt i32 %162, %163 br i1 %164, label %51, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %161 br label %165 165: ; preds = %._crit_edge, %32 %166 = load i32, ptr %14, align 4 %167 = load ptr, ptr %11, align 8 store i32 %166, ptr %167, align 4 %168 = load ptr, ptr %19, align 8 %169 = call i32 @free(ptr noundef %168) %170 = load ptr, ptr %12, align 8 store ptr %170, ptr %6, align 8 br label %171 171: ; preds = %165, %155 %172 = load ptr, ptr %6, align 8 ret ptr %172 } declare ptr @calculate_bm_table(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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpwaf6zvdk.c' source_filename = "/tmp/tmpwaf6zvdk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"open(%s)\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"lseek()\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"read()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @slurp(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 ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) 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 %16 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = call i32 (ptr, ...) @epanic(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %2 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr @SEEK_END, align 4 %19 = call i32 @lseek(i32 noundef %17, i32 noundef 0, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = call i32 (ptr, ...) @epanic(ptr noundef @.str.1) br label %24 24: ; preds = %22, %16 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr @SEEK_SET, align 4 %27 = call i32 @lseek(i32 noundef %25, i32 noundef 0, i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = call ptr @alloc(i32 noundef %29) store ptr %30, ptr %7, align 8 %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %6, align 4 %34 = call i32 @read(i32 noundef %31, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %24 %38 = call i32 (ptr, ...) @epanic(ptr noundef @.str.2) br label %39 39: ; preds = %37, %24 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 0, ptr %43, align 1 %44 = load i32, ptr %5, align 4 %45 = call i32 @close(i32 noundef %44) %46 = load ptr, ptr %4, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %52 48: ; preds = %39 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = load ptr, ptr %4, align 8 store i64 %50, ptr %51, align 8 br label %52 52: ; preds = %48, %39 %53 = load ptr, ptr %7, align 8 ret ptr %53 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @epanic(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @alloc(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwaf6zvdk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"open(%s)\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [8 x i8] c"lseek()\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"read()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @slurp(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 ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr @O_RDONLY, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) 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 %16 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = call i32 (ptr, ...) @epanic(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %13, %2 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr @SEEK_END, align 4 %19 = call i32 @lseek(i32 noundef %17, i32 noundef 0, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %16 %23 = call i32 (ptr, ...) @epanic(ptr noundef @.str.1) br label %24 24: ; preds = %22, %16 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr @SEEK_SET, align 4 %27 = call i32 @lseek(i32 noundef %25, i32 noundef 0, i32 noundef %26) %28 = load i32, ptr %6, align 4 %29 = add nsw i32 %28, 1 %30 = call ptr @alloc(i32 noundef %29) store ptr %30, ptr %7, align 8 %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %6, align 4 %34 = call i32 @read(i32 noundef %31, ptr noundef %32, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = icmp ne i32 %34, %35 br i1 %36, label %37, label %39 37: ; preds = %24 %38 = call i32 (ptr, ...) @epanic(ptr noundef @.str.2) br label %39 39: ; preds = %37, %24 %40 = load ptr, ptr %7, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 store i8 0, ptr %43, align 1 %44 = load i32, ptr %5, align 4 %45 = call i32 @close(i32 noundef %44) %46 = load ptr, ptr %4, align 8 %47 = icmp ne ptr %46, null br i1 %47, label %48, label %52 48: ; preds = %39 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = load ptr, ptr %4, align 8 store i64 %50, ptr %51, align 8 br label %52 52: ; preds = %48, %39 %53 = load ptr, ptr %7, align 8 ret ptr %53 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @epanic(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @alloc(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpaz1fbf4b.c' source_filename = "/tmp/tmpaz1fbf4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %13, %3 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %6, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %13, label %18 13: ; preds = %9 %14 = load i32, ptr %5, align 4 %15 = trunc i32 %14 to i8 %16 = load ptr, ptr %7, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %7, align 8 store i8 %15, ptr %16, align 1 br label %9, !llvm.loop !6 18: ; preds = %9 %19 = load ptr, ptr %4, align 8 ret ptr %19 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpaz1fbf4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memset(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load i32, ptr %6, align 4 %10 = add nsw i32 %9, -1 store i32 %10, ptr %6, align 4 %11 = icmp ne i32 %9, 0 br i1 %11, label %.lr.ph, label %20 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %5, align 4 %14 = trunc i32 %13 to i8 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %7, align 8 store i8 %14, ptr %15, align 1 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, -1 store i32 %18, ptr %6, align 4 %19 = icmp ne i32 %17, 0 br i1 %19, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %20 20: ; preds = %._crit_edge, %3 %21 = load ptr, ptr %4, align 8 ret ptr %21 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpl6anp40h.c' source_filename = "/tmp/tmpl6anp40h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"a: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"b: \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"c: \00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Average: %.5lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = fadd double %12, %13 %15 = load double, ptr %4, align 8 %16 = fadd double %14, %15 %17 = fdiv double %16, 3.000000e+00 store double %17, ptr %5, align 8 %18 = load double, ptr %5, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18) 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/tmpl6anp40h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"a: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"b: \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"c: \00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"Average: %.5lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 store double 0.000000e+00, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) %12 = load double, ptr %2, align 8 %13 = load double, ptr %3, align 8 %14 = fadd double %12, %13 %15 = load double, ptr %4, align 8 %16 = fadd double %14, %15 %17 = fdiv double %16, 3.000000e+00 store double %17, ptr %5, align 8 %18 = load double, ptr %5, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %18) 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/tmpiqdosmv7.c' source_filename = "/tmp/tmpiqdosmv7.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [26 x i8] c"%s-%ld:%ld:%ld.%ld.%ld%s\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sprint_time(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 %struct.timeval, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = srem i32 %12, 86400 %14 = sdiv i32 %13, 3600 %15 = add nsw i32 1, %14 %16 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = srem i32 %17, 3600 %19 = sdiv i32 %18, 60 %20 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = srem i32 %21, 60 %23 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = sdiv i32 %24, 1000 %26 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = srem i32 %27, 1000 %29 = load ptr, ptr %6, align 8 %30 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %15, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28, ptr noundef %29) ret i32 %30 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiqdosmv7.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [26 x i8] c"%s-%ld:%ld:%ld.%ld.%ld%s\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sprint_time(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 %struct.timeval, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %12 = load i32, ptr %11, align 4 %13 = srem i32 %12, 86400 %14 = sdiv i32 %13, 3600 %15 = add nsw i32 1, %14 %16 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %17 = load i32, ptr %16, align 4 %18 = srem i32 %17, 3600 %19 = sdiv i32 %18, 60 %20 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = srem i32 %21, 60 %23 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %24 = load i32, ptr %23, align 4 %25 = sdiv i32 %24, 1000 %26 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = srem i32 %27, 1000 %29 = load ptr, ptr %6, align 8 %30 = call i32 @sprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, i32 noundef %15, i32 noundef %19, i32 noundef %22, i32 noundef %25, i32 noundef %28, ptr noundef %29) ret i32 %30 } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeasft1b7.c' source_filename = "/tmp/tmpeasft1b7.c" target datalayout = "e-m:e-p270: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/tmpeasft1b7.c" target datalayout = "e-m:e-p270: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/tmpvyczcf8d.c' source_filename = "/tmp/tmpvyczcf8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @SD_writeSingleBlock(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i8, align 1 %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 = shl i64 %6, 9 %8 = call i64 @SD_sendCommand(i32 noundef 88, i64 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i8 1, ptr %3, align 1 br label %17 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i64 @transmit_DataBlock(ptr noundef %12, i32 noundef 254) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store i8 1, ptr %3, align 1 br label %17 16: ; preds = %11 store i8 0, ptr %3, align 1 br label %17 17: ; preds = %16, %15, %10 %18 = load i8, ptr %3, align 1 ret i8 %18 } declare i64 @SD_sendCommand(i32 noundef, i64 noundef) #1 declare i64 @transmit_DataBlock(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvyczcf8d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @SD_writeSingleBlock(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i8, align 1 %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 = shl i64 %6, 9 %8 = call i64 @SD_sendCommand(i32 noundef 88, i64 noundef %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %2 store i8 1, ptr %3, align 1 br label %17 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i64 @transmit_DataBlock(ptr noundef %12, i32 noundef 254) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11 store i8 1, ptr %3, align 1 br label %17 16: ; preds = %11 store i8 0, ptr %3, align 1 br label %17 17: ; preds = %16, %15, %10 %18 = load i8, ptr %3, align 1 ret i8 %18 } declare i64 @SD_sendCommand(i32 noundef, i64 noundef) #1 declare i64 @transmit_DataBlock(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2kz4nvi1.c' source_filename = "/tmp/tmp2kz4nvi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @getprogname.progname = internal global ptr null, align 8 @.str = private unnamed_addr constant [13 x i8] c"/proc/%d/exe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getprogname() #0 { %1 = alloca ptr, align 8 %2 = alloca [999 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr @getprogname.progname, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %37, label %7 7: ; preds = %0 %8 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %9 = call i32 (...) @getpid() %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %12 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @readlink(ptr noundef %11, ptr noundef %12, i32 noundef 999) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %7 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = icmp eq i64 %18, 999 br i1 %19, label %20, label %21 20: ; preds = %16, %7 store ptr null, ptr %1, align 8 br label %39 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %26 = call ptr @strrchr(ptr noundef %25, i8 noundef signext 47) store ptr %26, ptr %4, align 8 %27 = load ptr, ptr %4, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 br label %34 32: ; preds = %21 %33 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 br label %34 34: ; preds = %32, %29 %35 = phi ptr [ %31, %29 ], [ %33, %32 ] %36 = call ptr @strdup(ptr noundef %35) store ptr %36, ptr @getprogname.progname, align 8 br label %37 37: ; preds = %34, %0 %38 = load ptr, ptr @getprogname.progname, align 8 store ptr %38, ptr %1, align 8 br label %39 39: ; preds = %37, %20 %40 = load ptr, ptr %1, align 8 ret ptr %40 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2kz4nvi1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @getprogname.progname = internal global ptr null, align 8 @.str = private unnamed_addr constant [13 x i8] c"/proc/%d/exe\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @getprogname() #0 { %1 = alloca ptr, align 8 %2 = alloca [999 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = load ptr, ptr @getprogname.progname, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %37, label %7 7: ; preds = %0 %8 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %9 = call i32 (...) @getpid() %10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9) %11 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %12 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %13 = call i32 @readlink(ptr noundef %11, ptr noundef %12, i32 noundef 999) store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp slt i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %7 %17 = load i32, ptr %3, align 4 %18 = sext i32 %17 to i64 %19 = icmp eq i64 %18, 999 br i1 %19, label %20, label %21 20: ; preds = %16, %7 store ptr null, ptr %1, align 8 br label %39 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 %23 store i8 0, ptr %24, align 1 %25 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 %26 = call ptr @strrchr(ptr noundef %25, i8 noundef signext 47) store ptr %26, ptr %4, align 8 %27 = load ptr, ptr %4, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load ptr, ptr %4, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 br label %34 32: ; preds = %21 %33 = getelementptr inbounds [999 x i8], ptr %2, i64 0, i64 0 br label %34 34: ; preds = %32, %29 %35 = phi ptr [ %31, %29 ], [ %33, %32 ] %36 = call ptr @strdup(ptr noundef %35) store ptr %36, ptr @getprogname.progname, align 8 br label %37 37: ; preds = %34, %0 %38 = load ptr, ptr @getprogname.progname, align 8 store ptr %38, ptr %1, align 8 br label %39 39: ; preds = %37, %20 %40 = load ptr, ptr %1, align 8 ret ptr %40 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare i32 @readlink(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp33gfe5mf.c' source_filename = "/tmp/tmp33gfe5mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Integer arithmetic:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"a = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"b = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"c = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"a + b = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"c * b = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"c - a * (a + b) = %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"a / b = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"b / c = %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"Floating-point arithmetic:\0A\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"x = %g\0A\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"y = %g\0A\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"z = %g\0A\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"x + y = %g\0A\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"z * y = %g\0A\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"z - x * (x + y) = %g\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"x / y = %g\0A\00", align 1 @.str.18 = private unnamed_addr constant [12 x i8] c"y / z = %g\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, 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 5, ptr %6, align 4 store i32 2, ptr %7, align 4 store i32 3, ptr %8, align 4 store double 5.000000e+00, ptr %9, align 8 store double 2.000000e+00, ptr %10, align 8 store double 3.000000e+00, ptr %11, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = load i32, ptr %6, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) %17 = load i32, ptr %8, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21) %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 %23, %24 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25) %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %29, %30 %32 = mul nsw i32 %28, %31 %33 = sub nsw i32 %27, %32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = sdiv i32 %35, %36 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %37) %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = sdiv i32 %39, %40 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %45 = load double, ptr %9, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %45) %47 = load double, ptr %10, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %47) %49 = load double, ptr %11, align 8 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %49) %51 = load double, ptr %9, align 8 %52 = load double, ptr %10, align 8 %53 = fadd double %51, %52 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %53) %55 = load double, ptr %11, align 8 %56 = load double, ptr %10, align 8 %57 = fmul double %55, %56 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %57) %59 = load double, ptr %11, align 8 %60 = load double, ptr %9, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %10, align 8 %63 = fadd double %61, %62 %64 = fneg double %60 %65 = call double @llvm.fmuladd.f64(double %64, double %63, double %59) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %65) %67 = load double, ptr %9, align 8 %68 = load double, ptr %10, align 8 %69 = fdiv double %67, %68 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %69) %71 = load double, ptr %10, align 8 %72 = load double, ptr %11, align 8 %73 = fdiv double %71, %72 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %73) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp33gfe5mf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Integer arithmetic:\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"a = %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"b = %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"c = %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"a + b = %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"c * b = %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [22 x i8] c"c - a * (a + b) = %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"a / b = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [12 x i8] c"b / c = %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [28 x i8] c"Floating-point arithmetic:\0A\00", align 1 @.str.11 = private unnamed_addr constant [8 x i8] c"x = %g\0A\00", align 1 @.str.12 = private unnamed_addr constant [8 x i8] c"y = %g\0A\00", align 1 @.str.13 = private unnamed_addr constant [8 x i8] c"z = %g\0A\00", align 1 @.str.14 = private unnamed_addr constant [12 x i8] c"x + y = %g\0A\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"z * y = %g\0A\00", align 1 @.str.16 = private unnamed_addr constant [22 x i8] c"z - x * (x + y) = %g\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"x / y = %g\0A\00", align 1 @.str.18 = private unnamed_addr constant [12 x i8] c"y / z = %g\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 i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, 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 5, ptr %6, align 4 store i32 2, ptr %7, align 4 store i32 3, ptr %8, align 4 store double 5.000000e+00, ptr %9, align 8 store double 2.000000e+00, ptr %10, align 8 store double 3.000000e+00, ptr %11, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = load i32, ptr %6, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13) %15 = load i32, ptr %7, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) %17 = load i32, ptr %8, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %19, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %21) %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %7, align 4 %25 = mul nsw i32 %23, %24 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %25) %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %29, %30 %32 = mul nsw i32 %28, %31 %33 = sub nsw i32 %27, %32 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %33) %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = sdiv i32 %35, %36 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %37) %39 = load i32, ptr %7, align 4 %40 = load i32, ptr %8, align 4 %41 = sdiv i32 %39, %40 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %41) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %45 = load double, ptr %9, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %45) %47 = load double, ptr %10, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %47) %49 = load double, ptr %11, align 8 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %49) %51 = load double, ptr %9, align 8 %52 = load double, ptr %10, align 8 %53 = fadd double %51, %52 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %53) %55 = load double, ptr %11, align 8 %56 = load double, ptr %10, align 8 %57 = fmul double %55, %56 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %57) %59 = load double, ptr %11, align 8 %60 = load double, ptr %9, align 8 %61 = load double, ptr %9, align 8 %62 = load double, ptr %10, align 8 %63 = fadd double %61, %62 %64 = fneg double %60 %65 = call double @llvm.fmuladd.f64(double %64, double %63, double %59) %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %65) %67 = load double, ptr %9, align 8 %68 = load double, ptr %10, align 8 %69 = fdiv double %67, %68 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, double noundef %69) %71 = load double, ptr %10, align 8 %72 = load double, ptr %11, align 8 %73 = fdiv double %71, %72 %74 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %73) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpft0j6eiw.c' source_filename = "/tmp/tmpft0j6eiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"testFile\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"ctest_testing\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @deleteattr_numattr() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @setattr_testattr() %3 = call i32 @deleteAttr(ptr noundef @.str, ptr noundef @.str.1) %4 = call i64 @listattr_numattr(ptr noundef @.str) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %7, ptr %1, align 4 br label %10 8: ; preds = %0 %9 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %9, ptr %1, align 4 br label %10 10: ; preds = %8, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @setattr_testattr(...) #1 declare i32 @deleteAttr(ptr noundef, ptr noundef) #1 declare i64 @listattr_numattr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpft0j6eiw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"testFile\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"ctest_testing\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @deleteattr_numattr() #0 { %1 = alloca i32, align 4 %2 = call i32 (...) @setattr_testattr() %3 = call i32 @deleteAttr(ptr noundef @.str, ptr noundef @.str.1) %4 = call i64 @listattr_numattr(ptr noundef @.str) %5 = icmp ne i64 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %7, ptr %1, align 4 br label %10 8: ; preds = %0 %9 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %9, ptr %1, align 4 br label %10 10: ; preds = %8, %6 %11 = load i32, ptr %1, align 4 ret i32 %11 } declare i32 @setattr_testattr(...) #1 declare i32 @deleteAttr(ptr noundef, ptr noundef) #1 declare i64 @listattr_numattr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjgliyo7p.c' source_filename = "/tmp/tmpjgliyo7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sin(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sinus(double noundef %3, i32 noundef 0) ret double %4 } declare double @sinus(double 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/tmpjgliyo7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sin(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sinus(double noundef %3, i32 noundef 0) ret double %4 } declare double @sinus(double 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/tmpctykmgg9.c' source_filename = "/tmp/tmpctykmgg9.c" target datalayout = "e-m:e-p270: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/tmpctykmgg9.c" target datalayout = "e-m:e-p270: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/tmpre50ecr2.c' source_filename = "/tmp/tmpre50ecr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fpath is NULL\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"invalid file path\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"./\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_file_blk_info(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %4 %15 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %5, align 4 br label %122 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 -1 store ptr %22, ptr %10, align 8 br label %23 23: ; preds = %33, %16 %24 = load ptr, ptr %10, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load ptr, ptr %10, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 95 br label %31 31: ; preds = %26, %23 %32 = phi i1 [ false, %23 ], [ %30, %26 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %10, align 8 br label %23, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %10, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %5, align 4 br label %122 41: ; preds = %36 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 %44 = call i32 @atoi(ptr noundef %43) %45 = load ptr, ptr %9, align 8 store i32 %44, ptr %45, align 4 %46 = load ptr, ptr %10, align 8 store ptr %46, ptr %11, align 8 br label %47 47: ; preds = %57, %41 %48 = load ptr, ptr %11, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %55 50: ; preds = %47 %51 = load ptr, ptr %11, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 47 br label %55 55: ; preds = %50, %47 %56 = phi i1 [ false, %47 ], [ %54, %50 ] br i1 %56, label %57, label %60 57: ; preds = %55 %58 = load ptr, ptr %11, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 -1 store ptr %59, ptr %11, align 8 br label %47, !llvm.loop !8 60: ; preds = %55 %61 = load ptr, ptr %11, align 8 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %83 63: ; preds = %60 %64 = load ptr, ptr %8, align 8 %65 = load ptr, ptr %6, align 8 %66 = load ptr, ptr %6, align 8 %67 = load ptr, ptr %10, align 8 %68 = ptrtoint ptr %66 to i64 %69 = ptrtoint ptr %67 to i64 %70 = sub i64 %68, %69 %71 = trunc i64 %70 to i32 %72 = call i32 @strncpy(ptr noundef %64, ptr noundef %65, i32 noundef %71) %73 = load ptr, ptr %8, align 8 %74 = load ptr, ptr %10, align 8 %75 = load ptr, ptr %11, align 8 %76 = ptrtoint ptr %74 to i64 %77 = ptrtoint ptr %75 to i64 %78 = sub i64 %76, %77 %79 = sub nsw i64 %78, 1 %80 = getelementptr inbounds i8, ptr %73, i64 %79 store i8 0, ptr %80, align 1 %81 = load ptr, ptr %7, align 8 %82 = call i32 @strcpy(ptr noundef %81, ptr noundef @.str.2) br label %121 83: ; preds = %60 %84 = load ptr, ptr %8, align 8 %85 = load ptr, ptr %11, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 1 %87 = load ptr, ptr %10, align 8 %88 = load ptr, ptr %11, align 8 %89 = ptrtoint ptr %87 to i64 %90 = ptrtoint ptr %88 to i64 %91 = sub i64 %89, %90 %92 = sub nsw i64 %91, 1 %93 = trunc i64 %92 to i32 %94 = call i32 @strncpy(ptr noundef %84, ptr noundef %86, i32 noundef %93) %95 = load ptr, ptr %8, align 8 %96 = load ptr, ptr %10, align 8 %97 = load ptr, ptr %11, align 8 %98 = ptrtoint ptr %96 to i64 %99 = ptrtoint ptr %97 to i64 %100 = sub i64 %98, %99 %101 = sub nsw i64 %100, 1 %102 = getelementptr inbounds i8, ptr %95, i64 %101 store i8 0, ptr %102, align 1 %103 = load ptr, ptr %7, align 8 %104 = load ptr, ptr %6, align 8 %105 = load ptr, ptr %11, align 8 %106 = load ptr, ptr %6, align 8 %107 = ptrtoint ptr %105 to i64 %108 = ptrtoint ptr %106 to i64 %109 = sub i64 %107, %108 %110 = add nsw i64 %109, 1 %111 = trunc i64 %110 to i32 %112 = call i32 @strncpy(ptr noundef %103, ptr noundef %104, i32 noundef %111) %113 = load ptr, ptr %7, align 8 %114 = load ptr, ptr %11, align 8 %115 = load ptr, ptr %6, align 8 %116 = ptrtoint ptr %114 to i64 %117 = ptrtoint ptr %115 to i64 %118 = sub i64 %116, %117 %119 = add nsw i64 %118, 1 %120 = getelementptr inbounds i8, ptr %113, i64 %119 store i8 0, ptr %120, align 1 br label %121 121: ; preds = %83, %63 store i32 0, ptr %5, align 4 br label %122 122: ; preds = %121, %39, %14 %123 = load i32, ptr %5, align 4 ret i32 %123 } declare i32 @printf(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpre50ecr2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fpath is NULL\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"invalid file path\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"./\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_file_blk_info(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 %12 = load ptr, ptr %6, align 8 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %4 %15 = call i32 @printf(ptr noundef @.str) store i32 -1, ptr %5, align 4 br label %122 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %6, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %17, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 -1 store ptr %22, ptr %10, align 8 br label %23 23: ; preds = %33, %16 %24 = load ptr, ptr %10, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %31 26: ; preds = %23 %27 = load ptr, ptr %10, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp ne i32 %29, 95 br label %31 31: ; preds = %26, %23 %32 = phi i1 [ false, %23 ], [ %30, %26 ] br i1 %32, label %33, label %36 33: ; preds = %31 %34 = load ptr, ptr %10, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %10, align 8 br label %23, !llvm.loop !6 36: ; preds = %31 %37 = load ptr, ptr %10, align 8 %38 = icmp eq ptr %37, null br i1 %38, label %39, label %41 39: ; preds = %36 %40 = call i32 @printf(ptr noundef @.str.1) store i32 -1, ptr %5, align 4 br label %122 41: ; preds = %36 %42 = load ptr, ptr %10, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 1 %44 = call i32 @atoi(ptr noundef %43) %45 = load ptr, ptr %9, align 8 store i32 %44, ptr %45, align 4 %46 = load ptr, ptr %10, align 8 store ptr %46, ptr %11, align 8 br label %47 47: ; preds = %57, %41 %48 = load ptr, ptr %11, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %55 50: ; preds = %47 %51 = load ptr, ptr %11, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 47 br label %55 55: ; preds = %50, %47 %56 = phi i1 [ false, %47 ], [ %54, %50 ] br i1 %56, label %57, label %60 57: ; preds = %55 %58 = load ptr, ptr %11, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 -1 store ptr %59, ptr %11, align 8 br label %47, !llvm.loop !8 60: ; preds = %55 %61 = load ptr, ptr %11, align 8 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %83 63: ; preds = %60 %64 = load ptr, ptr %8, align 8 %65 = load ptr, ptr %6, align 8 %66 = load ptr, ptr %6, align 8 %67 = load ptr, ptr %10, align 8 %68 = ptrtoint ptr %66 to i64 %69 = ptrtoint ptr %67 to i64 %70 = sub i64 %68, %69 %71 = trunc i64 %70 to i32 %72 = call i32 @strncpy(ptr noundef %64, ptr noundef %65, i32 noundef %71) %73 = load ptr, ptr %8, align 8 %74 = load ptr, ptr %10, align 8 %75 = load ptr, ptr %11, align 8 %76 = ptrtoint ptr %74 to i64 %77 = ptrtoint ptr %75 to i64 %78 = sub i64 %76, %77 %79 = sub nsw i64 %78, 1 %80 = getelementptr inbounds i8, ptr %73, i64 %79 store i8 0, ptr %80, align 1 %81 = load ptr, ptr %7, align 8 %82 = call i32 @strcpy(ptr noundef %81, ptr noundef @.str.2) br label %121 83: ; preds = %60 %84 = load ptr, ptr %8, align 8 %85 = load ptr, ptr %11, align 8 %86 = getelementptr inbounds i8, ptr %85, i64 1 %87 = load ptr, ptr %10, align 8 %88 = load ptr, ptr %11, align 8 %89 = ptrtoint ptr %87 to i64 %90 = ptrtoint ptr %88 to i64 %91 = sub i64 %89, %90 %92 = sub nsw i64 %91, 1 %93 = trunc i64 %92 to i32 %94 = call i32 @strncpy(ptr noundef %84, ptr noundef %86, i32 noundef %93) %95 = load ptr, ptr %8, align 8 %96 = load ptr, ptr %10, align 8 %97 = load ptr, ptr %11, align 8 %98 = ptrtoint ptr %96 to i64 %99 = ptrtoint ptr %97 to i64 %100 = sub i64 %98, %99 %101 = sub nsw i64 %100, 1 %102 = getelementptr inbounds i8, ptr %95, i64 %101 store i8 0, ptr %102, align 1 %103 = load ptr, ptr %7, align 8 %104 = load ptr, ptr %6, align 8 %105 = load ptr, ptr %11, align 8 %106 = load ptr, ptr %6, align 8 %107 = ptrtoint ptr %105 to i64 %108 = ptrtoint ptr %106 to i64 %109 = sub i64 %107, %108 %110 = add nsw i64 %109, 1 %111 = trunc i64 %110 to i32 %112 = call i32 @strncpy(ptr noundef %103, ptr noundef %104, i32 noundef %111) %113 = load ptr, ptr %7, align 8 %114 = load ptr, ptr %11, align 8 %115 = load ptr, ptr %6, align 8 %116 = ptrtoint ptr %114 to i64 %117 = ptrtoint ptr %115 to i64 %118 = sub i64 %116, %117 %119 = add nsw i64 %118, 1 %120 = getelementptr inbounds i8, ptr %113, i64 %119 store i8 0, ptr %120, align 1 br label %121 121: ; preds = %83, %63 store i32 0, ptr %5, align 4 br label %122 122: ; preds = %121, %39, %14 %123 = load i32, ptr %5, align 4 ret i32 %123 } declare i32 @printf(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpn1tzuv7h.c' source_filename = "/tmp/tmpn1tzuv7h.c" target datalayout = "e-m:e-p270: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/tmpn1tzuv7h.c" target datalayout = "e-m:e-p270: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/tmpm633vit8.c' source_filename = "/tmp/tmpm633vit8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"#:Sw%d#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setMaxSlewRate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 8 br i1 %9, label %10, label %11 10: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %17 11: ; preds = %7 %12 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %3, align 4 %14 = call i32 @snprintf(ptr noundef %12, i32 noundef 16, ptr noundef @.str, i32 noundef %13) %15 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @setStandardProcedure(ptr noundef %15) store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @setStandardProcedure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm633vit8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"#:Sw%d#\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @setMaxSlewRate(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [16 x i8], align 16 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp sgt i32 %8, 8 br i1 %9, label %10, label %11 10: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %17 11: ; preds = %7 %12 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %13 = load i32, ptr %3, align 4 %14 = call i32 @snprintf(ptr noundef %12, i32 noundef 16, ptr noundef @.str, i32 noundef %13) %15 = getelementptr inbounds [16 x i8], ptr %4, i64 0, i64 0 %16 = call i32 @setStandardProcedure(ptr noundef %15) store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @setStandardProcedure(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpatnlm1hw.c' source_filename = "/tmp/tmpatnlm1hw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removePidFile(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 @unlink(ptr noundef %3) ret i32 %4 } declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpatnlm1hw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removePidFile(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 @unlink(ptr noundef %3) ret i32 %4 } declare i32 @unlink(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1uwfeqoi.c' source_filename = "/tmp/tmp1uwfeqoi.c" target datalayout = "e-m:e-p270: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/tmp1uwfeqoi.c" target datalayout = "e-m:e-p270: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/tmp1ver2tpf.c' source_filename = "/tmp/tmp1ver2tpf.c" target datalayout = "e-m:e-p270: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.test_two_elements.array = private unnamed_addr constant [2 x i32] [i32 2, i32 3], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_two_elements() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [2 x i32], align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.test_two_elements.array, i64 8, i1 false) %4 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %5 = call i32 @find(ptr noundef %4, i32 noundef 2, ptr noundef %1, ptr noundef %2) %6 = load i32, ptr %1, align 4 %7 = icmp eq i32 3, %6 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 2, %9 br label %11 11: ; preds = %8, %0 %12 = phi i1 [ false, %0 ], [ %10, %8 ] %13 = zext i1 %12 to i32 ret i32 %13 } ; 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 @find(ptr noundef, 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1ver2tpf.c" target datalayout = "e-m:e-p270: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.test_two_elements.array = private unnamed_addr constant [2 x i32] [i32 2, i32 3], align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_two_elements() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca [2 x i32], align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %3, ptr align 4 @__const.test_two_elements.array, i64 8, i1 false) %4 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 0 %5 = call i32 @find(ptr noundef %4, i32 noundef 2, ptr noundef %1, ptr noundef %2) %6 = load i32, ptr %1, align 4 %7 = icmp eq i32 3, %6 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 2, %9 br label %11 11: ; preds = %8, %0 %12 = phi i1 [ false, %0 ], [ %10, %8 ] %13 = zext i1 %12 to i32 ret i32 %13 } ; 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 @find(ptr noundef, 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: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbu3ec77h.c' source_filename = "/tmp/tmpbu3ec77h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basTicks() #0 { %1 = call i32 (...) @clock() %2 = call i32 @pushNumber(i32 noundef %1) ret void } declare i32 @pushNumber(i32 noundef) #1 declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbu3ec77h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @basTicks() #0 { %1 = call i32 (...) @clock() %2 = call i32 @pushNumber(i32 noundef %1) ret void } declare i32 @pushNumber(i32 noundef) #1 declare i32 @clock(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu6kbszq8.c' source_filename = "/tmp/tmpu6kbszq8.c" target datalayout = "e-m:e-p270: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/tmpu6kbszq8.c" target datalayout = "e-m:e-p270: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/tmp0gqiexcw.c' source_filename = "/tmp/tmp0gqiexcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"%C%y-%m-%eT%TZ GMT %z\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_time(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strftime(ptr noundef %6, i32 noundef 128, ptr noundef @.str, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 0, ptr %12, align 1 ret void } declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0gqiexcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"%C%y-%m-%eT%TZ GMT %z\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @get_time(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strftime(ptr noundef %6, i32 noundef 128, ptr noundef @.str, ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = load i32, ptr %5, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i8, ptr %9, i64 %11 store i8 0, ptr %12, align 1 ret void } declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw128ngf7.c' source_filename = "/tmp/tmpw128ngf7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\0A%s\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"After reverse operation.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = load ptr, ptr %2, align 8 store ptr null, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @addNewNodeFront(ptr noundef %4, i32 noundef 1) %6 = load ptr, ptr %2, align 8 %7 = call i32 @addNewNodeFront(ptr noundef %6, i32 noundef 2) %8 = load ptr, ptr %2, align 8 %9 = call i32 @addNewNodeFront(ptr noundef %8, i32 noundef 3) %10 = load ptr, ptr %2, align 8 %11 = call i32 @addNewNodeFront(ptr noundef %10, i32 noundef 4) %12 = load ptr, ptr %2, align 8 %13 = call i32 @addNewNodeFront(ptr noundef %12, i32 noundef 5) %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i32 @traverseLinkedList(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = call ptr @reverseByCount(ptr noundef %19, i32 noundef 3) %21 = call i32 @traverseLinkedList(ptr noundef %20) ret i32 0 } declare i32 @addNewNodeFront(ptr noundef, i32 noundef) #1 declare i32 @traverseLinkedList(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @reverseByCount(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw128ngf7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"\0A%s\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"After reverse operation.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %3 = load ptr, ptr %2, align 8 store ptr null, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @addNewNodeFront(ptr noundef %4, i32 noundef 1) %6 = load ptr, ptr %2, align 8 %7 = call i32 @addNewNodeFront(ptr noundef %6, i32 noundef 2) %8 = load ptr, ptr %2, align 8 %9 = call i32 @addNewNodeFront(ptr noundef %8, i32 noundef 3) %10 = load ptr, ptr %2, align 8 %11 = call i32 @addNewNodeFront(ptr noundef %10, i32 noundef 4) %12 = load ptr, ptr %2, align 8 %13 = call i32 @addNewNodeFront(ptr noundef %12, i32 noundef 5) %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i32 @traverseLinkedList(ptr noundef %15) %17 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %18 = load ptr, ptr %2, align 8 %19 = load ptr, ptr %18, align 8 %20 = call ptr @reverseByCount(ptr noundef %19, i32 noundef 3) %21 = call i32 @traverseLinkedList(ptr noundef %20) ret i32 0 } declare i32 @addNewNodeFront(ptr noundef, i32 noundef) #1 declare i32 @traverseLinkedList(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @reverseByCount(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppkyap5tr.c' source_filename = "/tmp/tmppkyap5tr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"/usr/lib/vdr/xbmc-vdr-shutdown\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 ptr, ptr %5, align 8 %7 = call i32 @execv(ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @execv(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/tmppkyap5tr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"/usr/lib/vdr/xbmc-vdr-shutdown\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 ptr, ptr %5, align 8 %7 = call i32 @execv(ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @execv(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/tmph26uwomi.c' source_filename = "/tmp/tmph26uwomi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @XBufferOverflow = 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/tmph26uwomi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @XBufferOverflow = 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/tmpl0k0hlf9.c' source_filename = "/tmp/tmpl0k0hlf9.c" target datalayout = "e-m:e-p270: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/tmpl0k0hlf9.c" target datalayout = "e-m:e-p270: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/tmpij93rp07.c' source_filename = "/tmp/tmpij93rp07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @__const.main.num = private unnamed_addr constant [4 x i32] [i32 3, i32 4, i32 6, i32 2], align 16 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @__const.main.n = private unnamed_addr constant [4 x i32] [i32 3, i32 0, i32 0, i32 0], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 %5 = alloca [4 x i32], align 16 %6 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 br label %7 7: ; preds = %16, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 10 br i1 %9, label %10, label %19 10: ; preds = %7 %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %7, !llvm.loop !6 19: ; preds = %7 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.num, i64 16, i1 false) store i32 0, ptr %3, align 4 br label %21 21: ; preds = %30, %19 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %22, 4 br i1 %23, label %24, label %33 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) br label %30 30: ; preds = %24 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %21, !llvm.loop !8 33: ; preds = %21 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.n, i64 16, i1 false) store i32 0, ptr %3, align 4 br label %35 35: ; preds = %44, %33 %36 = load i32, ptr %3, align 4 %37 = icmp slt i32 %36, 4 br i1 %37, label %38, label %47 38: ; preds = %35 %39 = load i32, ptr %3, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %42) br label %44 44: ; preds = %38 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %35, !llvm.loop !9 47: ; preds = %35 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 16, i1 false) store i32 0, ptr %3, align 4 br label %49 49: ; preds = %58, %47 %50 = load i32, ptr %3, align 4 %51 = icmp slt i32 %50, 4 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %3, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %54 %56 = load i32, ptr %55, align 4 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %56) br label %58 58: ; preds = %52 %59 = load i32, ptr %3, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %3, align 4 br label %49, !llvm.loop !10 61: ; preds = %49 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpij93rp07.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d,\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @__const.main.num = private unnamed_addr constant [4 x i32] [i32 3, i32 4, i32 6, i32 2], align 16 @.str.2 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @__const.main.n = private unnamed_addr constant [4 x i32] [i32 3, i32 0, i32 0, i32 0], align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca [4 x i32], align 16 %5 = alloca [4 x i32], align 16 %6 = alloca [4 x i32], align 16 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 10 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %15 %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %11 %13 = load i32, ptr %12, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %0 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.num, i64 16, i1 false) store i32 0, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp slt i32 %22, 4 br i1 %23, label %.lr.ph2, label %35 .lr.ph2: ; preds = %20 br label %24 24: ; preds = %.lr.ph2, %30 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [4 x i32], ptr %4, i64 0, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) br label %30 30: ; preds = %24 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %33, 4 br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %20 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const.main.n, i64 16, i1 false) store i32 0, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %37, 4 br i1 %38, label %.lr.ph5, label %50 .lr.ph5: ; preds = %35 br label %39 39: ; preds = %.lr.ph5, %45 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [4 x i32], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %43) br label %45 45: ; preds = %39 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %48, 4 br i1 %49, label %39, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %45 br label %50 50: ; preds = %._crit_edge6, %35 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 16, i1 false) store i32 0, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = icmp slt i32 %52, 4 br i1 %53, label %.lr.ph8, label %65 .lr.ph8: ; preds = %50 br label %54 54: ; preds = %.lr.ph8, %60 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [4 x i32], ptr %6, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %58) br label %60 60: ; preds = %54 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %3, align 4 %63 = load i32, ptr %3, align 4 %64 = icmp slt i32 %63, 4 br i1 %64, label %54, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %60 br label %65 65: ; preds = %._crit_edge9, %50 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpirndf13b.c' source_filename = "/tmp/tmpirndf13b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"\09How are you doing?\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 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) 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/tmpirndf13b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"\09How are you doing?\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 @printf(ptr noundef @.str) %7 = call i32 @printf(ptr noundef @.str.1) 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/tmpqrz1lwx5.c' source_filename = "/tmp/tmpqrz1lwx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @latlon2km(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store float 1.000000e+00, ptr %15, align 4 store float 2.000000e+00, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = load float, ptr %17, align 4 %19 = call float @cos(float noundef %18) store float %19, ptr %11, align 4 %20 = load ptr, ptr %6, align 8 %21 = load float, ptr %20, align 4 %22 = call float @sin(float noundef %21) store float %22, ptr %12, align 4 %23 = load ptr, ptr %10, align 8 %24 = load float, ptr %23, align 4 %25 = load float, ptr %12, align 4 %26 = fmul float %24, %25 %27 = load float, ptr %12, align 4 %28 = fmul float %26, %27 store float %28, ptr %13, align 4 %29 = load float, ptr %15, align 4 %30 = load float, ptr %15, align 4 %31 = load float, ptr %13, align 4 %32 = fadd float %30, %31 %33 = fdiv float %29, %32 %34 = call float @sqrt(float noundef %33) store float %34, ptr %14, align 4 %35 = load ptr, ptr %9, align 8 %36 = load float, ptr %35, align 4 %37 = load float, ptr %11, align 4 %38 = fmul float %36, %37 %39 = load float, ptr %14, align 4 %40 = fmul float %38, %39 %41 = load ptr, ptr %8, align 8 store float %40, ptr %41, align 4 %42 = load ptr, ptr %9, align 8 %43 = load float, ptr %42, align 4 %44 = load float, ptr %15, align 4 %45 = load float, ptr %13, align 4 %46 = load float, ptr %16, align 4 %47 = load ptr, ptr %10, align 8 %48 = load float, ptr %47, align 4 %49 = fadd float %46, %48 %50 = call float @llvm.fmuladd.f32(float %45, float %49, float %44) %51 = call float @sqrt(float noundef %50) %52 = fmul float %43, %51 %53 = load float, ptr %14, align 4 %54 = fmul float %52, %53 %55 = load float, ptr %14, align 4 %56 = fmul float %54, %55 %57 = load float, ptr %14, align 4 %58 = fmul float %56, %57 %59 = load ptr, ptr %7, align 8 store float %58, ptr %59, align 4 ret void } declare float @cos(float noundef) #1 declare float @sin(float noundef) #1 declare float @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqrz1lwx5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @latlon2km(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 store float 1.000000e+00, ptr %15, align 4 store float 2.000000e+00, ptr %16, align 4 %17 = load ptr, ptr %6, align 8 %18 = load float, ptr %17, align 4 %19 = call float @cos(float noundef %18) store float %19, ptr %11, align 4 %20 = load ptr, ptr %6, align 8 %21 = load float, ptr %20, align 4 %22 = call float @sin(float noundef %21) store float %22, ptr %12, align 4 %23 = load ptr, ptr %10, align 8 %24 = load float, ptr %23, align 4 %25 = load float, ptr %12, align 4 %26 = fmul float %24, %25 %27 = load float, ptr %12, align 4 %28 = fmul float %26, %27 store float %28, ptr %13, align 4 %29 = load float, ptr %15, align 4 %30 = load float, ptr %15, align 4 %31 = load float, ptr %13, align 4 %32 = fadd float %30, %31 %33 = fdiv float %29, %32 %34 = call float @sqrt(float noundef %33) store float %34, ptr %14, align 4 %35 = load ptr, ptr %9, align 8 %36 = load float, ptr %35, align 4 %37 = load float, ptr %11, align 4 %38 = fmul float %36, %37 %39 = load float, ptr %14, align 4 %40 = fmul float %38, %39 %41 = load ptr, ptr %8, align 8 store float %40, ptr %41, align 4 %42 = load ptr, ptr %9, align 8 %43 = load float, ptr %42, align 4 %44 = load float, ptr %15, align 4 %45 = load float, ptr %13, align 4 %46 = load float, ptr %16, align 4 %47 = load ptr, ptr %10, align 8 %48 = load float, ptr %47, align 4 %49 = fadd float %46, %48 %50 = call float @llvm.fmuladd.f32(float %45, float %49, float %44) %51 = call float @sqrt(float noundef %50) %52 = fmul float %43, %51 %53 = load float, ptr %14, align 4 %54 = fmul float %52, %53 %55 = load float, ptr %14, align 4 %56 = fmul float %54, %55 %57 = load float, ptr %14, align 4 %58 = fmul float %56, %57 %59 = load ptr, ptr %7, align 8 store float %58, ptr %59, align 4 ret void } declare float @cos(float noundef) #1 declare float @sin(float noundef) #1 declare float @sqrt(float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuu2ilpbk.c' source_filename = "/tmp/tmpuu2ilpbk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtolower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %12, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %15 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call signext i8 @tolower(i8 noundef signext %9) %11 = load ptr, ptr %2, align 8 store i8 %10, ptr %11, align 1 br label %12 12: ; preds = %7 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %2, align 8 br label %3, !llvm.loop !6 15: ; preds = %3 ret void } declare signext i8 @tolower(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/tmpuu2ilpbk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtolower(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 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %11 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = call signext i8 @tolower(i8 noundef signext %8) %10 = load ptr, ptr %2, align 8 store i8 %9, ptr %10, align 1 br label %11 11: ; preds = %6 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %2, align 8 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %17 17: ; preds = %._crit_edge, %1 ret void } declare signext i8 @tolower(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/tmp_wuhh6d6.c' source_filename = "/tmp/tmp_wuhh6d6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replaceSubString(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 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = 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 %11 = call ptr @calloc(i32 noundef 1, i32 noundef 200) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strncpy(ptr noundef %12, ptr noundef %14, i32 noundef 100) %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strstr(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %9, align 4 %21 = load ptr, ptr %8, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %3 %24 = load ptr, ptr %7, align 8 %25 = call i32 @free(ptr noundef %24) br label %62 26: ; preds = %3 br label %27 27: ; preds = %30, %26 %28 = load ptr, ptr %8, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %54 30: ; preds = %27 %31 = load ptr, ptr %8, align 8 store i8 0, ptr %31, align 1 %32 = load ptr, ptr %8, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = getelementptr inbounds i8, ptr %35, i64 -1 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %8, align 8 %38 = load i32, ptr %9, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store ptr %40, ptr %8, align 8 %41 = load ptr, ptr %8, align 8 %42 = call ptr @strdup(ptr noundef %41) store ptr %42, ptr %10, align 8 %43 = load ptr, ptr %7, align 8 %44 = load ptr, ptr %6, align 8 %45 = call i32 @strncat(ptr noundef %43, ptr noundef %44, i32 noundef 100) %46 = load ptr, ptr %7, align 8 %47 = load ptr, ptr %10, align 8 %48 = call i32 @strncat(ptr noundef %46, ptr noundef %47, i32 noundef 100) %49 = load ptr, ptr %10, align 8 %50 = call i32 @free(ptr noundef %49) %51 = load ptr, ptr %7, align 8 %52 = load ptr, ptr %5, align 8 %53 = call ptr @strstr(ptr noundef %51, ptr noundef %52) store ptr %53, ptr %8, align 8 br label %27, !llvm.loop !6 54: ; preds = %27 br label %55 55: ; preds = %54 %56 = load ptr, ptr %4, align 8 %57 = load ptr, ptr %56, align 8 %58 = load ptr, ptr %7, align 8 %59 = call i32 @sprintf(ptr noundef %57, ptr noundef %58) %60 = load ptr, ptr %7, align 8 %61 = call i32 @free(ptr noundef %60) br label %62 62: ; preds = %55, %23 ret void } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(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/tmp_wuhh6d6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @replaceSubString(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 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = 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 %11 = call ptr @calloc(i32 noundef 1, i32 noundef 200) store ptr %11, ptr %7, align 8 %12 = load ptr, ptr %7, align 8 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @strncpy(ptr noundef %12, ptr noundef %14, i32 noundef 100) %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strstr(ptr noundef %16, ptr noundef %17) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %5, align 8 %20 = call i32 @strlen(ptr noundef %19) store i32 %20, ptr %9, align 4 %21 = load ptr, ptr %8, align 8 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %26 23: ; preds = %3 %24 = load ptr, ptr %7, align 8 %25 = call i32 @free(ptr noundef %24) br label %63 26: ; preds = %3 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %.lr.ph, label %55 .lr.ph: ; preds = %26 br label %29 29: ; preds = %.lr.ph, %29 %30 = load ptr, ptr %8, align 8 store i8 0, ptr %30, align 1 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = getelementptr inbounds i8, ptr %34, i64 -1 store i8 0, ptr %35, align 1 %36 = load ptr, ptr %8, align 8 %37 = load i32, ptr %9, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store ptr %39, ptr %8, align 8 %40 = load ptr, ptr %8, align 8 %41 = call ptr @strdup(ptr noundef %40) store ptr %41, ptr %10, align 8 %42 = load ptr, ptr %7, align 8 %43 = load ptr, ptr %6, align 8 %44 = call i32 @strncat(ptr noundef %42, ptr noundef %43, i32 noundef 100) %45 = load ptr, ptr %7, align 8 %46 = load ptr, ptr %10, align 8 %47 = call i32 @strncat(ptr noundef %45, ptr noundef %46, i32 noundef 100) %48 = load ptr, ptr %10, align 8 %49 = call i32 @free(ptr noundef %48) %50 = load ptr, ptr %7, align 8 %51 = load ptr, ptr %5, align 8 %52 = call ptr @strstr(ptr noundef %50, ptr noundef %51) store ptr %52, ptr %8, align 8 %53 = load ptr, ptr %8, align 8 %54 = icmp ne ptr %53, null br i1 %54, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %55 55: ; preds = %._crit_edge, %26 br label %56 56: ; preds = %55 %57 = load ptr, ptr %4, align 8 %58 = load ptr, ptr %57, align 8 %59 = load ptr, ptr %7, align 8 %60 = call i32 @sprintf(ptr noundef %58, ptr noundef %59) %61 = load ptr, ptr %7, align 8 %62 = call i32 @free(ptr noundef %61) br label %63 63: ; preds = %56, %23 ret void } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare i32 @strncat(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sprintf(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/tmp35ilg4tc.c' source_filename = "/tmp/tmp35ilg4tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__divsi3(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 0, %10 store i32 %11, ptr %3, align 4 store i32 1, ptr %5, align 4 br label %12 12: ; preds = %9, %2 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 0, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = xor i32 %18, 1 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %15, %12 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @__udivmodsi4(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 0, %27 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare i32 @__udivmodsi4(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/tmp35ilg4tc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__divsi3(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 0, %10 store i32 %11, ptr %3, align 4 store i32 1, ptr %5, align 4 br label %12 12: ; preds = %9, %2 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %4, align 4 %17 = sub nsw i32 0, %16 store i32 %17, ptr %4, align 4 %18 = load i32, ptr %5, align 4 %19 = xor i32 %18, 1 store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %15, %12 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 @__udivmodsi4(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp ne i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %20 %27 = load i32, ptr %6, align 4 %28 = sub nsw i32 0, %27 store i32 %28, ptr %6, align 4 br label %29 29: ; preds = %26, %20 %30 = load i32, ptr %6, align 4 ret i32 %30 } declare i32 @__udivmodsi4(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/tmpu22ig4ud.c' source_filename = "/tmp/tmpu22ig4ud.c" target datalayout = "e-m:e-p270: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/tmpu22ig4ud.c" target datalayout = "e-m:e-p270: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/tmpz745t9rk.c' source_filename = "/tmp/tmpz745t9rk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_info(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @log_write(ptr noundef %4, i32 noundef 0) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @log_write(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz745t9rk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log_info(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @log_write(ptr noundef %4, i32 noundef 0) %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @log_write(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvl6warid.c' source_filename = "/tmp/tmpvl6warid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"using port #%d\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"waiting for new client...\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"opened new communication with client\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @task(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 7578, ptr %9, align 4 %17 = load i32, ptr @BUFSIZ, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %13, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %14, align 8 %21 = load i32, ptr @BUFSIZ, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 1, %22 %24 = trunc i64 %23 to i32 %25 = call i32 @bzero(ptr noundef %20, i32 noundef %24) %26 = load i32, ptr %9, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26) %28 = load i32, ptr @AF_INET, align 4 %29 = load i32, ptr @SOCK_STREAM, align 4 %30 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %3 %34 = call i32 @error(ptr noundef @.str.1) br label %35 35: ; preds = %33, %3 %36 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %37 = load i32, ptr @AF_INET, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %37, ptr %38, align 4 %39 = load i32, ptr @INADDR_ANY, align 4 %40 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0 store i32 %39, ptr %41, align 4 %42 = load i32, ptr %9, align 4 %43 = call i32 @htons(i32 noundef %42) %44 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 store i32 %43, ptr %44, align 4 %45 = load i32, ptr %7, align 4 %46 = call i64 @bind(i32 noundef %45, ptr noundef %11, i32 noundef 12) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %35 %49 = call i32 @error(ptr noundef @.str.2) br label %50 50: ; preds = %48, %35 %51 = load i32, ptr %7, align 4 %52 = call i32 @listen(i32 noundef %51, i32 noundef 5) store i32 12, ptr %10, align 4 br label %53 53: ; preds = %61, %50 br label %54 54: ; preds = %53 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %56 = load i32, ptr %7, align 4 %57 = call i32 @accept(i32 noundef %56, ptr noundef %12, ptr noundef %10) store i32 %57, ptr %8, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %54 %60 = call i32 @error(ptr noundef @.str.4) br label %61 61: ; preds = %59, %54 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = load i32, ptr %8, align 4 %64 = call i32 @getData(i32 noundef %63, ptr noundef %20) %65 = load ptr, ptr %6, align 8 %66 = call ptr %65(ptr noundef %20) store ptr %66, ptr %16, align 8 %67 = load i32, ptr %8, align 4 %68 = call i32 @close(i32 noundef %67) br label %53 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @bzero(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @error(ptr noundef) #2 declare i32 @htons(i32 noundef) #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @getData(i32 noundef, ptr noundef) #2 declare i32 @close(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 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/tmpvl6warid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @BUFSIZ = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"using port #%d\0A\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"ERROR opening socket\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [17 x i8] c"ERROR on binding\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"waiting for new client...\0A\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c"ERROR on accept\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"opened new communication with client\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @task(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca %struct.sockaddr_in, align 4 %12 = alloca %struct.sockaddr_in, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 store i32 7578, ptr %9, align 4 %17 = load i32, ptr @BUFSIZ, align 4 %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %13, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %14, align 8 %21 = load i32, ptr @BUFSIZ, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 1, %22 %24 = trunc i64 %23 to i32 %25 = call i32 @bzero(ptr noundef %20, i32 noundef %24) %26 = load i32, ptr %9, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26) %28 = load i32, ptr @AF_INET, align 4 %29 = load i32, ptr @SOCK_STREAM, align 4 %30 = call i32 @socket(i32 noundef %28, i32 noundef %29, i32 noundef 0) store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %3 %34 = call i32 @error(ptr noundef @.str.1) br label %35 35: ; preds = %33, %3 %36 = call i32 @bzero(ptr noundef %11, i32 noundef 12) %37 = load i32, ptr @AF_INET, align 4 %38 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 2 store i32 %37, ptr %38, align 4 %39 = load i32, ptr @INADDR_ANY, align 4 %40 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 1 %41 = getelementptr inbounds %struct.TYPE_2__, ptr %40, i32 0, i32 0 store i32 %39, ptr %41, align 4 %42 = load i32, ptr %9, align 4 %43 = call i32 @htons(i32 noundef %42) %44 = getelementptr inbounds %struct.sockaddr_in, ptr %11, i32 0, i32 0 store i32 %43, ptr %44, align 4 %45 = load i32, ptr %7, align 4 %46 = call i64 @bind(i32 noundef %45, ptr noundef %11, i32 noundef 12) %47 = icmp slt i64 %46, 0 br i1 %47, label %48, label %50 48: ; preds = %35 %49 = call i32 @error(ptr noundef @.str.2) br label %50 50: ; preds = %48, %35 %51 = load i32, ptr %7, align 4 %52 = call i32 @listen(i32 noundef %51, i32 noundef 5) store i32 12, ptr %10, align 4 br label %53 53: ; preds = %61, %50 br label %54 54: ; preds = %53 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %56 = load i32, ptr %7, align 4 %57 = call i32 @accept(i32 noundef %56, ptr noundef %12, ptr noundef %10) store i32 %57, ptr %8, align 4 %58 = icmp slt i32 %57, 0 br i1 %58, label %59, label %61 59: ; preds = %54 %60 = call i32 @error(ptr noundef @.str.4) br label %61 61: ; preds = %59, %54 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = load i32, ptr %8, align 4 %64 = call i32 @getData(i32 noundef %63, ptr noundef %20) %65 = load ptr, ptr %6, align 8 %66 = call ptr %65(ptr noundef %20) store ptr %66, ptr %16, align 8 %67 = load i32, ptr %8, align 4 %68 = call i32 @close(i32 noundef %67) br label %53 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @bzero(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #2 declare i32 @error(ptr noundef) #2 declare i32 @htons(i32 noundef) #2 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @listen(i32 noundef, i32 noundef) #2 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #2 declare i32 @getData(i32 noundef, ptr noundef) #2 declare i32 @close(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 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/tmp3g_71k_l.c' source_filename = "/tmp/tmp3g_71k_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%[^\0A]c\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"a: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"b: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"c: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"d: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"e: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"f: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"g: %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"h: %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"i: %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"j: %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"k: %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"l: %d\0A\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"m: %d\0A\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"n: %d\0A\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"0: %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"p: %d\0A\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"q: %d\0A\00", align 1 @.str.18 = private unnamed_addr constant [7 x i8] c"r: %d\0A\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"s: %d\0A\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"t: %d\0A\00", align 1 @.str.21 = private unnamed_addr constant [7 x i8] c"u: %d\0A\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"v: %d\0A\00", align 1 @.str.23 = private unnamed_addr constant [7 x i8] c"w: %d\0A\00", align 1 @.str.24 = private unnamed_addr constant [7 x i8] c"x: %d\0A\00", align 1 @.str.25 = private unnamed_addr constant [7 x i8] c"y: %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [7 x i8] c"z: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [26 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 104, i1 false) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) %10 = sub nsw i32 %9, 1 store i32 %10, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %11 11: ; preds = %484, %0 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %15, label %487 15: ; preds = %11 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 97 br i1 %21, label %29, label %22 22: ; preds = %15 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 65 br i1 %28, label %29, label %33 29: ; preds = %22, %15 %30 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 0 %31 = load i32, ptr %30, align 16 %32 = add nsw i32 %31, 1 store i32 %32, ptr %30, align 16 br label %33 33: ; preds = %29, %22 %34 = load i32, ptr %4, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 98 br i1 %39, label %47, label %40 40: ; preds = %33 %41 = load i32, ptr %4, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 66 br i1 %46, label %47, label %51 47: ; preds = %40, %33 %48 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 1 %49 = load i32, ptr %48, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %48, align 4 br label %51 51: ; preds = %47, %40 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 99 br i1 %57, label %65, label %58 58: ; preds = %51 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %60 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp eq i32 %63, 67 br i1 %64, label %65, label %69 65: ; preds = %58, %51 %66 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 2 %67 = load i32, ptr %66, align 8 %68 = add nsw i32 %67, 1 store i32 %68, ptr %66, align 8 br label %69 69: ; preds = %65, %58 %70 = load i32, ptr %4, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp eq i32 %74, 100 br i1 %75, label %83, label %76 76: ; preds = %69 %77 = load i32, ptr %4, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 %81, 68 br i1 %82, label %83, label %87 83: ; preds = %76, %69 %84 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 3 %85 = load i32, ptr %84, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %84, align 4 br label %87 87: ; preds = %83, %76 %88 = load i32, ptr %4, align 4 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %89 %91 = load i8, ptr %90, align 1 %92 = sext i8 %91 to i32 %93 = icmp eq i32 %92, 101 br i1 %93, label %101, label %94 94: ; preds = %87 %95 = load i32, ptr %4, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 %99, 69 br i1 %100, label %101, label %105 101: ; preds = %94, %87 %102 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 4 %103 = load i32, ptr %102, align 16 %104 = add nsw i32 %103, 1 store i32 %104, ptr %102, align 16 br label %105 105: ; preds = %101, %94 %106 = load i32, ptr %4, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %107 %109 = load i8, ptr %108, align 1 %110 = sext i8 %109 to i32 %111 = icmp eq i32 %110, 102 br i1 %111, label %119, label %112 112: ; preds = %105 %113 = load i32, ptr %4, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %114 %116 = load i8, ptr %115, align 1 %117 = sext i8 %116 to i32 %118 = icmp eq i32 %117, 70 br i1 %118, label %119, label %123 119: ; preds = %112, %105 %120 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 5 %121 = load i32, ptr %120, align 4 %122 = add nsw i32 %121, 1 store i32 %122, ptr %120, align 4 br label %123 123: ; preds = %119, %112 %124 = load i32, ptr %4, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %125 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp eq i32 %128, 103 br i1 %129, label %137, label %130 130: ; preds = %123 %131 = load i32, ptr %4, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %132 %134 = load i8, ptr %133, align 1 %135 = sext i8 %134 to i32 %136 = icmp eq i32 %135, 71 br i1 %136, label %137, label %141 137: ; preds = %130, %123 %138 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 6 %139 = load i32, ptr %138, align 8 %140 = add nsw i32 %139, 1 store i32 %140, ptr %138, align 8 br label %141 141: ; preds = %137, %130 %142 = load i32, ptr %4, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %143 %145 = load i8, ptr %144, align 1 %146 = sext i8 %145 to i32 %147 = icmp eq i32 %146, 104 br i1 %147, label %155, label %148 148: ; preds = %141 %149 = load i32, ptr %4, align 4 %150 = sext i32 %149 to i64 %151 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %150 %152 = load i8, ptr %151, align 1 %153 = sext i8 %152 to i32 %154 = icmp eq i32 %153, 72 br i1 %154, label %155, label %159 155: ; preds = %148, %141 %156 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 7 %157 = load i32, ptr %156, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %156, align 4 br label %159 159: ; preds = %155, %148 %160 = load i32, ptr %4, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp eq i32 %164, 105 br i1 %165, label %173, label %166 166: ; preds = %159 %167 = load i32, ptr %4, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %168 %170 = load i8, ptr %169, align 1 %171 = sext i8 %170 to i32 %172 = icmp eq i32 %171, 73 br i1 %172, label %173, label %177 173: ; preds = %166, %159 %174 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 8 %175 = load i32, ptr %174, align 16 %176 = add nsw i32 %175, 1 store i32 %176, ptr %174, align 16 br label %177 177: ; preds = %173, %166 %178 = load i32, ptr %4, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %179 %181 = load i8, ptr %180, align 1 %182 = sext i8 %181 to i32 %183 = icmp eq i32 %182, 106 br i1 %183, label %191, label %184 184: ; preds = %177 %185 = load i32, ptr %4, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %186 %188 = load i8, ptr %187, align 1 %189 = sext i8 %188 to i32 %190 = icmp eq i32 %189, 74 br i1 %190, label %191, label %195 191: ; preds = %184, %177 %192 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 9 %193 = load i32, ptr %192, align 4 %194 = add nsw i32 %193, 1 store i32 %194, ptr %192, align 4 br label %195 195: ; preds = %191, %184 %196 = load i32, ptr %4, align 4 %197 = sext i32 %196 to i64 %198 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %197 %199 = load i8, ptr %198, align 1 %200 = sext i8 %199 to i32 %201 = icmp eq i32 %200, 107 br i1 %201, label %209, label %202 202: ; preds = %195 %203 = load i32, ptr %4, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %204 %206 = load i8, ptr %205, align 1 %207 = sext i8 %206 to i32 %208 = icmp eq i32 %207, 75 br i1 %208, label %209, label %213 209: ; preds = %202, %195 %210 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 10 %211 = load i32, ptr %210, align 8 %212 = add nsw i32 %211, 1 store i32 %212, ptr %210, align 8 br label %213 213: ; preds = %209, %202 %214 = load i32, ptr %4, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %215 %217 = load i8, ptr %216, align 1 %218 = sext i8 %217 to i32 %219 = icmp eq i32 %218, 108 br i1 %219, label %227, label %220 220: ; preds = %213 %221 = load i32, ptr %4, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %222 %224 = load i8, ptr %223, align 1 %225 = sext i8 %224 to i32 %226 = icmp eq i32 %225, 76 br i1 %226, label %227, label %231 227: ; preds = %220, %213 %228 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 11 %229 = load i32, ptr %228, align 4 %230 = add nsw i32 %229, 1 store i32 %230, ptr %228, align 4 br label %231 231: ; preds = %227, %220 %232 = load i32, ptr %4, align 4 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %233 %235 = load i8, ptr %234, align 1 %236 = sext i8 %235 to i32 %237 = icmp eq i32 %236, 109 br i1 %237, label %245, label %238 238: ; preds = %231 %239 = load i32, ptr %4, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %240 %242 = load i8, ptr %241, align 1 %243 = sext i8 %242 to i32 %244 = icmp eq i32 %243, 77 br i1 %244, label %245, label %249 245: ; preds = %238, %231 %246 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 12 %247 = load i32, ptr %246, align 16 %248 = add nsw i32 %247, 1 store i32 %248, ptr %246, align 16 br label %249 249: ; preds = %245, %238 %250 = load i32, ptr %4, align 4 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %251 %253 = load i8, ptr %252, align 1 %254 = sext i8 %253 to i32 %255 = icmp eq i32 %254, 110 br i1 %255, label %263, label %256 256: ; preds = %249 %257 = load i32, ptr %4, align 4 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %258 %260 = load i8, ptr %259, align 1 %261 = sext i8 %260 to i32 %262 = icmp eq i32 %261, 78 br i1 %262, label %263, label %267 263: ; preds = %256, %249 %264 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 13 %265 = load i32, ptr %264, align 4 %266 = add nsw i32 %265, 1 store i32 %266, ptr %264, align 4 br label %267 267: ; preds = %263, %256 %268 = load i32, ptr %4, align 4 %269 = sext i32 %268 to i64 %270 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %269 %271 = load i8, ptr %270, align 1 %272 = sext i8 %271 to i32 %273 = icmp eq i32 %272, 111 br i1 %273, label %281, label %274 274: ; preds = %267 %275 = load i32, ptr %4, align 4 %276 = sext i32 %275 to i64 %277 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %276 %278 = load i8, ptr %277, align 1 %279 = sext i8 %278 to i32 %280 = icmp eq i32 %279, 79 br i1 %280, label %281, label %285 281: ; preds = %274, %267 %282 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 14 %283 = load i32, ptr %282, align 8 %284 = add nsw i32 %283, 1 store i32 %284, ptr %282, align 8 br label %285 285: ; preds = %281, %274 %286 = load i32, ptr %4, align 4 %287 = sext i32 %286 to i64 %288 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %287 %289 = load i8, ptr %288, align 1 %290 = sext i8 %289 to i32 %291 = icmp eq i32 %290, 112 br i1 %291, label %299, label %292 292: ; preds = %285 %293 = load i32, ptr %4, align 4 %294 = sext i32 %293 to i64 %295 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %294 %296 = load i8, ptr %295, align 1 %297 = sext i8 %296 to i32 %298 = icmp eq i32 %297, 80 br i1 %298, label %299, label %303 299: ; preds = %292, %285 %300 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 15 %301 = load i32, ptr %300, align 4 %302 = add nsw i32 %301, 1 store i32 %302, ptr %300, align 4 br label %303 303: ; preds = %299, %292 %304 = load i32, ptr %4, align 4 %305 = sext i32 %304 to i64 %306 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %305 %307 = load i8, ptr %306, align 1 %308 = sext i8 %307 to i32 %309 = icmp eq i32 %308, 113 br i1 %309, label %317, label %310 310: ; preds = %303 %311 = load i32, ptr %4, align 4 %312 = sext i32 %311 to i64 %313 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %312 %314 = load i8, ptr %313, align 1 %315 = sext i8 %314 to i32 %316 = icmp eq i32 %315, 81 br i1 %316, label %317, label %321 317: ; preds = %310, %303 %318 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 16 %319 = load i32, ptr %318, align 16 %320 = add nsw i32 %319, 1 store i32 %320, ptr %318, align 16 br label %321 321: ; preds = %317, %310 %322 = load i32, ptr %4, align 4 %323 = sext i32 %322 to i64 %324 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %323 %325 = load i8, ptr %324, align 1 %326 = sext i8 %325 to i32 %327 = icmp eq i32 %326, 114 br i1 %327, label %335, label %328 328: ; preds = %321 %329 = load i32, ptr %4, align 4 %330 = sext i32 %329 to i64 %331 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %330 %332 = load i8, ptr %331, align 1 %333 = sext i8 %332 to i32 %334 = icmp eq i32 %333, 82 br i1 %334, label %335, label %339 335: ; preds = %328, %321 %336 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 17 %337 = load i32, ptr %336, align 4 %338 = add nsw i32 %337, 1 store i32 %338, ptr %336, align 4 br label %339 339: ; preds = %335, %328 %340 = load i32, ptr %4, align 4 %341 = sext i32 %340 to i64 %342 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %341 %343 = load i8, ptr %342, align 1 %344 = sext i8 %343 to i32 %345 = icmp eq i32 %344, 115 br i1 %345, label %353, label %346 346: ; preds = %339 %347 = load i32, ptr %4, align 4 %348 = sext i32 %347 to i64 %349 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %348 %350 = load i8, ptr %349, align 1 %351 = sext i8 %350 to i32 %352 = icmp eq i32 %351, 83 br i1 %352, label %353, label %357 353: ; preds = %346, %339 %354 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 18 %355 = load i32, ptr %354, align 8 %356 = add nsw i32 %355, 1 store i32 %356, ptr %354, align 8 br label %357 357: ; preds = %353, %346 %358 = load i32, ptr %4, align 4 %359 = sext i32 %358 to i64 %360 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %359 %361 = load i8, ptr %360, align 1 %362 = sext i8 %361 to i32 %363 = icmp eq i32 %362, 116 br i1 %363, label %371, label %364 364: ; preds = %357 %365 = load i32, ptr %4, align 4 %366 = sext i32 %365 to i64 %367 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %366 %368 = load i8, ptr %367, align 1 %369 = sext i8 %368 to i32 %370 = icmp eq i32 %369, 84 br i1 %370, label %371, label %375 371: ; preds = %364, %357 %372 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 19 %373 = load i32, ptr %372, align 4 %374 = add nsw i32 %373, 1 store i32 %374, ptr %372, align 4 br label %375 375: ; preds = %371, %364 %376 = load i32, ptr %4, align 4 %377 = sext i32 %376 to i64 %378 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %377 %379 = load i8, ptr %378, align 1 %380 = sext i8 %379 to i32 %381 = icmp eq i32 %380, 117 br i1 %381, label %389, label %382 382: ; preds = %375 %383 = load i32, ptr %4, align 4 %384 = sext i32 %383 to i64 %385 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %384 %386 = load i8, ptr %385, align 1 %387 = sext i8 %386 to i32 %388 = icmp eq i32 %387, 85 br i1 %388, label %389, label %393 389: ; preds = %382, %375 %390 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 20 %391 = load i32, ptr %390, align 16 %392 = add nsw i32 %391, 1 store i32 %392, ptr %390, align 16 br label %393 393: ; preds = %389, %382 %394 = load i32, ptr %4, align 4 %395 = sext i32 %394 to i64 %396 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %395 %397 = load i8, ptr %396, align 1 %398 = sext i8 %397 to i32 %399 = icmp eq i32 %398, 118 br i1 %399, label %407, label %400 400: ; preds = %393 %401 = load i32, ptr %4, align 4 %402 = sext i32 %401 to i64 %403 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %402 %404 = load i8, ptr %403, align 1 %405 = sext i8 %404 to i32 %406 = icmp eq i32 %405, 86 br i1 %406, label %407, label %411 407: ; preds = %400, %393 %408 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 21 %409 = load i32, ptr %408, align 4 %410 = add nsw i32 %409, 1 store i32 %410, ptr %408, align 4 br label %411 411: ; preds = %407, %400 %412 = load i32, ptr %4, align 4 %413 = sext i32 %412 to i64 %414 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %413 %415 = load i8, ptr %414, align 1 %416 = sext i8 %415 to i32 %417 = icmp eq i32 %416, 119 br i1 %417, label %425, label %418 418: ; preds = %411 %419 = load i32, ptr %4, align 4 %420 = sext i32 %419 to i64 %421 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %420 %422 = load i8, ptr %421, align 1 %423 = sext i8 %422 to i32 %424 = icmp eq i32 %423, 87 br i1 %424, label %425, label %429 425: ; preds = %418, %411 %426 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 22 %427 = load i32, ptr %426, align 8 %428 = add nsw i32 %427, 1 store i32 %428, ptr %426, align 8 br label %429 429: ; preds = %425, %418 %430 = load i32, ptr %4, align 4 %431 = sext i32 %430 to i64 %432 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %431 %433 = load i8, ptr %432, align 1 %434 = sext i8 %433 to i32 %435 = icmp eq i32 %434, 120 br i1 %435, label %443, label %436 436: ; preds = %429 %437 = load i32, ptr %4, align 4 %438 = sext i32 %437 to i64 %439 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %438 %440 = load i8, ptr %439, align 1 %441 = sext i8 %440 to i32 %442 = icmp eq i32 %441, 88 br i1 %442, label %443, label %447 443: ; preds = %436, %429 %444 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 23 %445 = load i32, ptr %444, align 4 %446 = add nsw i32 %445, 1 store i32 %446, ptr %444, align 4 br label %447 447: ; preds = %443, %436 %448 = load i32, ptr %4, align 4 %449 = sext i32 %448 to i64 %450 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %449 %451 = load i8, ptr %450, align 1 %452 = sext i8 %451 to i32 %453 = icmp eq i32 %452, 121 br i1 %453, label %461, label %454 454: ; preds = %447 %455 = load i32, ptr %4, align 4 %456 = sext i32 %455 to i64 %457 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %456 %458 = load i8, ptr %457, align 1 %459 = sext i8 %458 to i32 %460 = icmp eq i32 %459, 89 br i1 %460, label %461, label %465 461: ; preds = %454, %447 %462 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 24 %463 = load i32, ptr %462, align 16 %464 = add nsw i32 %463, 1 store i32 %464, ptr %462, align 16 br label %465 465: ; preds = %461, %454 %466 = load i32, ptr %4, align 4 %467 = sext i32 %466 to i64 %468 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %467 %469 = load i8, ptr %468, align 1 %470 = sext i8 %469 to i32 %471 = icmp eq i32 %470, 122 br i1 %471, label %479, label %472 472: ; preds = %465 %473 = load i32, ptr %4, align 4 %474 = sext i32 %473 to i64 %475 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %474 %476 = load i8, ptr %475, align 1 %477 = sext i8 %476 to i32 %478 = icmp eq i32 %477, 90 br i1 %478, label %479, label %483 479: ; preds = %472, %465 %480 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 25 %481 = load i32, ptr %480, align 4 %482 = add nsw i32 %481, 1 store i32 %482, ptr %480, align 4 br label %483 483: ; preds = %479, %472 br label %484 484: ; preds = %483 %485 = load i32, ptr %4, align 4 %486 = add nsw i32 %485, 1 store i32 %486, ptr %4, align 4 br label %11, !llvm.loop !6 487: ; preds = %11 store i32 0, ptr %4, align 4 br label %488 488: ; preds = %726, %487 %489 = load i32, ptr %4, align 4 %490 = icmp slt i32 %489, 26 br i1 %490, label %491, label %729 491: ; preds = %488 %492 = load i32, ptr %4, align 4 %493 = icmp eq i32 %492, 0 br i1 %493, label %494, label %500 494: ; preds = %491 %495 = load i32, ptr %4, align 4 %496 = sext i32 %495 to i64 %497 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %496 %498 = load i32, ptr %497, align 4 %499 = call i32 @printf(ptr noundef @.str.1, i32 noundef %498) br label %500 500: ; preds = %494, %491 %501 = load i32, ptr %4, align 4 %502 = icmp eq i32 %501, 1 br i1 %502, label %503, label %509 503: ; preds = %500 %504 = load i32, ptr %4, align 4 %505 = sext i32 %504 to i64 %506 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %505 %507 = load i32, ptr %506, align 4 %508 = call i32 @printf(ptr noundef @.str.2, i32 noundef %507) br label %509 509: ; preds = %503, %500 %510 = load i32, ptr %4, align 4 %511 = icmp eq i32 %510, 2 br i1 %511, label %512, label %518 512: ; preds = %509 %513 = load i32, ptr %4, align 4 %514 = sext i32 %513 to i64 %515 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %514 %516 = load i32, ptr %515, align 4 %517 = call i32 @printf(ptr noundef @.str.3, i32 noundef %516) br label %518 518: ; preds = %512, %509 %519 = load i32, ptr %4, align 4 %520 = icmp eq i32 %519, 3 br i1 %520, label %521, label %527 521: ; preds = %518 %522 = load i32, ptr %4, align 4 %523 = sext i32 %522 to i64 %524 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %523 %525 = load i32, ptr %524, align 4 %526 = call i32 @printf(ptr noundef @.str.4, i32 noundef %525) br label %527 527: ; preds = %521, %518 %528 = load i32, ptr %4, align 4 %529 = icmp eq i32 %528, 4 br i1 %529, label %530, label %536 530: ; preds = %527 %531 = load i32, ptr %4, align 4 %532 = sext i32 %531 to i64 %533 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %532 %534 = load i32, ptr %533, align 4 %535 = call i32 @printf(ptr noundef @.str.5, i32 noundef %534) br label %536 536: ; preds = %530, %527 %537 = load i32, ptr %4, align 4 %538 = icmp eq i32 %537, 5 br i1 %538, label %539, label %545 539: ; preds = %536 %540 = load i32, ptr %4, align 4 %541 = sext i32 %540 to i64 %542 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %541 %543 = load i32, ptr %542, align 4 %544 = call i32 @printf(ptr noundef @.str.6, i32 noundef %543) br label %545 545: ; preds = %539, %536 %546 = load i32, ptr %4, align 4 %547 = icmp eq i32 %546, 6 br i1 %547, label %548, label %554 548: ; preds = %545 %549 = load i32, ptr %4, align 4 %550 = sext i32 %549 to i64 %551 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %550 %552 = load i32, ptr %551, align 4 %553 = call i32 @printf(ptr noundef @.str.7, i32 noundef %552) br label %554 554: ; preds = %548, %545 %555 = load i32, ptr %4, align 4 %556 = icmp eq i32 %555, 7 br i1 %556, label %557, label %563 557: ; preds = %554 %558 = load i32, ptr %4, align 4 %559 = sext i32 %558 to i64 %560 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %559 %561 = load i32, ptr %560, align 4 %562 = call i32 @printf(ptr noundef @.str.8, i32 noundef %561) br label %563 563: ; preds = %557, %554 %564 = load i32, ptr %4, align 4 %565 = icmp eq i32 %564, 8 br i1 %565, label %566, label %572 566: ; preds = %563 %567 = load i32, ptr %4, align 4 %568 = sext i32 %567 to i64 %569 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %568 %570 = load i32, ptr %569, align 4 %571 = call i32 @printf(ptr noundef @.str.9, i32 noundef %570) br label %572 572: ; preds = %566, %563 %573 = load i32, ptr %4, align 4 %574 = icmp eq i32 %573, 9 br i1 %574, label %575, label %581 575: ; preds = %572 %576 = load i32, ptr %4, align 4 %577 = sext i32 %576 to i64 %578 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %577 %579 = load i32, ptr %578, align 4 %580 = call i32 @printf(ptr noundef @.str.10, i32 noundef %579) br label %581 581: ; preds = %575, %572 %582 = load i32, ptr %4, align 4 %583 = icmp eq i32 %582, 10 br i1 %583, label %584, label %590 584: ; preds = %581 %585 = load i32, ptr %4, align 4 %586 = sext i32 %585 to i64 %587 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %586 %588 = load i32, ptr %587, align 4 %589 = call i32 @printf(ptr noundef @.str.11, i32 noundef %588) br label %590 590: ; preds = %584, %581 %591 = load i32, ptr %4, align 4 %592 = icmp eq i32 %591, 11 br i1 %592, label %593, label %599 593: ; preds = %590 %594 = load i32, ptr %4, align 4 %595 = sext i32 %594 to i64 %596 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %595 %597 = load i32, ptr %596, align 4 %598 = call i32 @printf(ptr noundef @.str.12, i32 noundef %597) br label %599 599: ; preds = %593, %590 %600 = load i32, ptr %4, align 4 %601 = icmp eq i32 %600, 12 br i1 %601, label %602, label %608 602: ; preds = %599 %603 = load i32, ptr %4, align 4 %604 = sext i32 %603 to i64 %605 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %604 %606 = load i32, ptr %605, align 4 %607 = call i32 @printf(ptr noundef @.str.13, i32 noundef %606) br label %608 608: ; preds = %602, %599 %609 = load i32, ptr %4, align 4 %610 = icmp eq i32 %609, 13 br i1 %610, label %611, label %617 611: ; preds = %608 %612 = load i32, ptr %4, align 4 %613 = sext i32 %612 to i64 %614 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %613 %615 = load i32, ptr %614, align 4 %616 = call i32 @printf(ptr noundef @.str.14, i32 noundef %615) br label %617 617: ; preds = %611, %608 %618 = load i32, ptr %4, align 4 %619 = icmp eq i32 %618, 14 br i1 %619, label %620, label %626 620: ; preds = %617 %621 = load i32, ptr %4, align 4 %622 = sext i32 %621 to i64 %623 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %622 %624 = load i32, ptr %623, align 4 %625 = call i32 @printf(ptr noundef @.str.15, i32 noundef %624) br label %626 626: ; preds = %620, %617 %627 = load i32, ptr %4, align 4 %628 = icmp eq i32 %627, 15 br i1 %628, label %629, label %635 629: ; preds = %626 %630 = load i32, ptr %4, align 4 %631 = sext i32 %630 to i64 %632 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %631 %633 = load i32, ptr %632, align 4 %634 = call i32 @printf(ptr noundef @.str.16, i32 noundef %633) br label %635 635: ; preds = %629, %626 %636 = load i32, ptr %4, align 4 %637 = icmp eq i32 %636, 16 br i1 %637, label %638, label %644 638: ; preds = %635 %639 = load i32, ptr %4, align 4 %640 = sext i32 %639 to i64 %641 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %640 %642 = load i32, ptr %641, align 4 %643 = call i32 @printf(ptr noundef @.str.17, i32 noundef %642) br label %644 644: ; preds = %638, %635 %645 = load i32, ptr %4, align 4 %646 = icmp eq i32 %645, 17 br i1 %646, label %647, label %653 647: ; preds = %644 %648 = load i32, ptr %4, align 4 %649 = sext i32 %648 to i64 %650 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %649 %651 = load i32, ptr %650, align 4 %652 = call i32 @printf(ptr noundef @.str.18, i32 noundef %651) br label %653 653: ; preds = %647, %644 %654 = load i32, ptr %4, align 4 %655 = icmp eq i32 %654, 18 br i1 %655, label %656, label %662 656: ; preds = %653 %657 = load i32, ptr %4, align 4 %658 = sext i32 %657 to i64 %659 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %658 %660 = load i32, ptr %659, align 4 %661 = call i32 @printf(ptr noundef @.str.19, i32 noundef %660) br label %662 662: ; preds = %656, %653 %663 = load i32, ptr %4, align 4 %664 = icmp eq i32 %663, 19 br i1 %664, label %665, label %671 665: ; preds = %662 %666 = load i32, ptr %4, align 4 %667 = sext i32 %666 to i64 %668 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %667 %669 = load i32, ptr %668, align 4 %670 = call i32 @printf(ptr noundef @.str.20, i32 noundef %669) br label %671 671: ; preds = %665, %662 %672 = load i32, ptr %4, align 4 %673 = icmp eq i32 %672, 20 br i1 %673, label %674, label %680 674: ; preds = %671 %675 = load i32, ptr %4, align 4 %676 = sext i32 %675 to i64 %677 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %676 %678 = load i32, ptr %677, align 4 %679 = call i32 @printf(ptr noundef @.str.21, i32 noundef %678) br label %680 680: ; preds = %674, %671 %681 = load i32, ptr %4, align 4 %682 = icmp eq i32 %681, 21 br i1 %682, label %683, label %689 683: ; preds = %680 %684 = load i32, ptr %4, align 4 %685 = sext i32 %684 to i64 %686 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %685 %687 = load i32, ptr %686, align 4 %688 = call i32 @printf(ptr noundef @.str.22, i32 noundef %687) br label %689 689: ; preds = %683, %680 %690 = load i32, ptr %4, align 4 %691 = icmp eq i32 %690, 22 br i1 %691, label %692, label %698 692: ; preds = %689 %693 = load i32, ptr %4, align 4 %694 = sext i32 %693 to i64 %695 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %694 %696 = load i32, ptr %695, align 4 %697 = call i32 @printf(ptr noundef @.str.23, i32 noundef %696) br label %698 698: ; preds = %692, %689 %699 = load i32, ptr %4, align 4 %700 = icmp eq i32 %699, 23 br i1 %700, label %701, label %707 701: ; preds = %698 %702 = load i32, ptr %4, align 4 %703 = sext i32 %702 to i64 %704 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %703 %705 = load i32, ptr %704, align 4 %706 = call i32 @printf(ptr noundef @.str.24, i32 noundef %705) br label %707 707: ; preds = %701, %698 %708 = load i32, ptr %4, align 4 %709 = icmp eq i32 %708, 24 br i1 %709, label %710, label %716 710: ; preds = %707 %711 = load i32, ptr %4, align 4 %712 = sext i32 %711 to i64 %713 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %712 %714 = load i32, ptr %713, align 4 %715 = call i32 @printf(ptr noundef @.str.25, i32 noundef %714) br label %716 716: ; preds = %710, %707 %717 = load i32, ptr %4, align 4 %718 = icmp eq i32 %717, 25 br i1 %718, label %719, label %725 719: ; preds = %716 %720 = load i32, ptr %4, align 4 %721 = sext i32 %720 to i64 %722 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %721 %723 = load i32, ptr %722, align 4 %724 = call i32 @printf(ptr noundef @.str.26, i32 noundef %723) br label %725 725: ; preds = %719, %716 br label %726 726: ; preds = %725 %727 = load i32, ptr %4, align 4 %728 = add nsw i32 %727, 1 store i32 %728, ptr %4, align 4 br label %488, !llvm.loop !8 729: ; preds = %488 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3g_71k_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"%[^\0A]c\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"a: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"b: %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"c: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"d: %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [7 x i8] c"e: %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"f: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"g: %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"h: %d\0A\00", align 1 @.str.9 = private unnamed_addr constant [7 x i8] c"i: %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [7 x i8] c"j: %d\0A\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c"k: %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"l: %d\0A\00", align 1 @.str.13 = private unnamed_addr constant [7 x i8] c"m: %d\0A\00", align 1 @.str.14 = private unnamed_addr constant [7 x i8] c"n: %d\0A\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"0: %d\0A\00", align 1 @.str.16 = private unnamed_addr constant [7 x i8] c"p: %d\0A\00", align 1 @.str.17 = private unnamed_addr constant [7 x i8] c"q: %d\0A\00", align 1 @.str.18 = private unnamed_addr constant [7 x i8] c"r: %d\0A\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"s: %d\0A\00", align 1 @.str.20 = private unnamed_addr constant [7 x i8] c"t: %d\0A\00", align 1 @.str.21 = private unnamed_addr constant [7 x i8] c"u: %d\0A\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"v: %d\0A\00", align 1 @.str.23 = private unnamed_addr constant [7 x i8] c"w: %d\0A\00", align 1 @.str.24 = private unnamed_addr constant [7 x i8] c"x: %d\0A\00", align 1 @.str.25 = private unnamed_addr constant [7 x i8] c"y: %d\0A\00", align 1 @.str.26 = private unnamed_addr constant [7 x i8] c"z: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [26 x i32], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 104, i1 false) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %6) %8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %9 = call i32 @strlen(ptr noundef %8) %10 = sub nsw i32 %9, 1 store i32 %10, ptr %5, align 4 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %.lr.ph, label %489 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %483 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 97 br i1 %20, label %28, label %21 21: ; preds = %14 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 65 br i1 %27, label %28, label %32 28: ; preds = %21, %14 %29 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 0 %30 = load i32, ptr %29, align 16 %31 = add nsw i32 %30, 1 store i32 %31, ptr %29, align 16 br label %32 32: ; preds = %28, %21 %33 = load i32, ptr %4, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 98 br i1 %38, label %46, label %39 39: ; preds = %32 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 66 br i1 %45, label %46, label %50 46: ; preds = %39, %32 %47 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 1 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %46, %39 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 99 br i1 %56, label %64, label %57 57: ; preds = %50 %58 = load i32, ptr %4, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp eq i32 %62, 67 br i1 %63, label %64, label %68 64: ; preds = %57, %50 %65 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 2 %66 = load i32, ptr %65, align 8 %67 = add nsw i32 %66, 1 store i32 %67, ptr %65, align 8 br label %68 68: ; preds = %64, %57 %69 = load i32, ptr %4, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %70 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i32 %74 = icmp eq i32 %73, 100 br i1 %74, label %82, label %75 75: ; preds = %68 %76 = load i32, ptr %4, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 %80, 68 br i1 %81, label %82, label %86 82: ; preds = %75, %68 %83 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 3 %84 = load i32, ptr %83, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %83, align 4 br label %86 86: ; preds = %82, %75 %87 = load i32, ptr %4, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 %91, 101 br i1 %92, label %100, label %93 93: ; preds = %86 %94 = load i32, ptr %4, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 69 br i1 %99, label %100, label %104 100: ; preds = %93, %86 %101 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 4 %102 = load i32, ptr %101, align 16 %103 = add nsw i32 %102, 1 store i32 %103, ptr %101, align 16 br label %104 104: ; preds = %100, %93 %105 = load i32, ptr %4, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 102 br i1 %110, label %118, label %111 111: ; preds = %104 %112 = load i32, ptr %4, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %113 %115 = load i8, ptr %114, align 1 %116 = sext i8 %115 to i32 %117 = icmp eq i32 %116, 70 br i1 %117, label %118, label %122 118: ; preds = %111, %104 %119 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 5 %120 = load i32, ptr %119, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %119, align 4 br label %122 122: ; preds = %118, %111 %123 = load i32, ptr %4, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 103 br i1 %128, label %136, label %129 129: ; preds = %122 %130 = load i32, ptr %4, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %131 %133 = load i8, ptr %132, align 1 %134 = sext i8 %133 to i32 %135 = icmp eq i32 %134, 71 br i1 %135, label %136, label %140 136: ; preds = %129, %122 %137 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 6 %138 = load i32, ptr %137, align 8 %139 = add nsw i32 %138, 1 store i32 %139, ptr %137, align 8 br label %140 140: ; preds = %136, %129 %141 = load i32, ptr %4, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %142 %144 = load i8, ptr %143, align 1 %145 = sext i8 %144 to i32 %146 = icmp eq i32 %145, 104 br i1 %146, label %154, label %147 147: ; preds = %140 %148 = load i32, ptr %4, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %149 %151 = load i8, ptr %150, align 1 %152 = sext i8 %151 to i32 %153 = icmp eq i32 %152, 72 br i1 %153, label %154, label %158 154: ; preds = %147, %140 %155 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 7 %156 = load i32, ptr %155, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %155, align 4 br label %158 158: ; preds = %154, %147 %159 = load i32, ptr %4, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %160 %162 = load i8, ptr %161, align 1 %163 = sext i8 %162 to i32 %164 = icmp eq i32 %163, 105 br i1 %164, label %172, label %165 165: ; preds = %158 %166 = load i32, ptr %4, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %167 %169 = load i8, ptr %168, align 1 %170 = sext i8 %169 to i32 %171 = icmp eq i32 %170, 73 br i1 %171, label %172, label %176 172: ; preds = %165, %158 %173 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 8 %174 = load i32, ptr %173, align 16 %175 = add nsw i32 %174, 1 store i32 %175, ptr %173, align 16 br label %176 176: ; preds = %172, %165 %177 = load i32, ptr %4, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %178 %180 = load i8, ptr %179, align 1 %181 = sext i8 %180 to i32 %182 = icmp eq i32 %181, 106 br i1 %182, label %190, label %183 183: ; preds = %176 %184 = load i32, ptr %4, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %185 %187 = load i8, ptr %186, align 1 %188 = sext i8 %187 to i32 %189 = icmp eq i32 %188, 74 br i1 %189, label %190, label %194 190: ; preds = %183, %176 %191 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 9 %192 = load i32, ptr %191, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %191, align 4 br label %194 194: ; preds = %190, %183 %195 = load i32, ptr %4, align 4 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %196 %198 = load i8, ptr %197, align 1 %199 = sext i8 %198 to i32 %200 = icmp eq i32 %199, 107 br i1 %200, label %208, label %201 201: ; preds = %194 %202 = load i32, ptr %4, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %203 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = icmp eq i32 %206, 75 br i1 %207, label %208, label %212 208: ; preds = %201, %194 %209 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 10 %210 = load i32, ptr %209, align 8 %211 = add nsw i32 %210, 1 store i32 %211, ptr %209, align 8 br label %212 212: ; preds = %208, %201 %213 = load i32, ptr %4, align 4 %214 = sext i32 %213 to i64 %215 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %214 %216 = load i8, ptr %215, align 1 %217 = sext i8 %216 to i32 %218 = icmp eq i32 %217, 108 br i1 %218, label %226, label %219 219: ; preds = %212 %220 = load i32, ptr %4, align 4 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %221 %223 = load i8, ptr %222, align 1 %224 = sext i8 %223 to i32 %225 = icmp eq i32 %224, 76 br i1 %225, label %226, label %230 226: ; preds = %219, %212 %227 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 11 %228 = load i32, ptr %227, align 4 %229 = add nsw i32 %228, 1 store i32 %229, ptr %227, align 4 br label %230 230: ; preds = %226, %219 %231 = load i32, ptr %4, align 4 %232 = sext i32 %231 to i64 %233 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %232 %234 = load i8, ptr %233, align 1 %235 = sext i8 %234 to i32 %236 = icmp eq i32 %235, 109 br i1 %236, label %244, label %237 237: ; preds = %230 %238 = load i32, ptr %4, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %239 %241 = load i8, ptr %240, align 1 %242 = sext i8 %241 to i32 %243 = icmp eq i32 %242, 77 br i1 %243, label %244, label %248 244: ; preds = %237, %230 %245 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 12 %246 = load i32, ptr %245, align 16 %247 = add nsw i32 %246, 1 store i32 %247, ptr %245, align 16 br label %248 248: ; preds = %244, %237 %249 = load i32, ptr %4, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %250 %252 = load i8, ptr %251, align 1 %253 = sext i8 %252 to i32 %254 = icmp eq i32 %253, 110 br i1 %254, label %262, label %255 255: ; preds = %248 %256 = load i32, ptr %4, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %257 %259 = load i8, ptr %258, align 1 %260 = sext i8 %259 to i32 %261 = icmp eq i32 %260, 78 br i1 %261, label %262, label %266 262: ; preds = %255, %248 %263 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 13 %264 = load i32, ptr %263, align 4 %265 = add nsw i32 %264, 1 store i32 %265, ptr %263, align 4 br label %266 266: ; preds = %262, %255 %267 = load i32, ptr %4, align 4 %268 = sext i32 %267 to i64 %269 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %268 %270 = load i8, ptr %269, align 1 %271 = sext i8 %270 to i32 %272 = icmp eq i32 %271, 111 br i1 %272, label %280, label %273 273: ; preds = %266 %274 = load i32, ptr %4, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %275 %277 = load i8, ptr %276, align 1 %278 = sext i8 %277 to i32 %279 = icmp eq i32 %278, 79 br i1 %279, label %280, label %284 280: ; preds = %273, %266 %281 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 14 %282 = load i32, ptr %281, align 8 %283 = add nsw i32 %282, 1 store i32 %283, ptr %281, align 8 br label %284 284: ; preds = %280, %273 %285 = load i32, ptr %4, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %286 %288 = load i8, ptr %287, align 1 %289 = sext i8 %288 to i32 %290 = icmp eq i32 %289, 112 br i1 %290, label %298, label %291 291: ; preds = %284 %292 = load i32, ptr %4, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %293 %295 = load i8, ptr %294, align 1 %296 = sext i8 %295 to i32 %297 = icmp eq i32 %296, 80 br i1 %297, label %298, label %302 298: ; preds = %291, %284 %299 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 15 %300 = load i32, ptr %299, align 4 %301 = add nsw i32 %300, 1 store i32 %301, ptr %299, align 4 br label %302 302: ; preds = %298, %291 %303 = load i32, ptr %4, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %304 %306 = load i8, ptr %305, align 1 %307 = sext i8 %306 to i32 %308 = icmp eq i32 %307, 113 br i1 %308, label %316, label %309 309: ; preds = %302 %310 = load i32, ptr %4, align 4 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %311 %313 = load i8, ptr %312, align 1 %314 = sext i8 %313 to i32 %315 = icmp eq i32 %314, 81 br i1 %315, label %316, label %320 316: ; preds = %309, %302 %317 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 16 %318 = load i32, ptr %317, align 16 %319 = add nsw i32 %318, 1 store i32 %319, ptr %317, align 16 br label %320 320: ; preds = %316, %309 %321 = load i32, ptr %4, align 4 %322 = sext i32 %321 to i64 %323 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %322 %324 = load i8, ptr %323, align 1 %325 = sext i8 %324 to i32 %326 = icmp eq i32 %325, 114 br i1 %326, label %334, label %327 327: ; preds = %320 %328 = load i32, ptr %4, align 4 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %329 %331 = load i8, ptr %330, align 1 %332 = sext i8 %331 to i32 %333 = icmp eq i32 %332, 82 br i1 %333, label %334, label %338 334: ; preds = %327, %320 %335 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 17 %336 = load i32, ptr %335, align 4 %337 = add nsw i32 %336, 1 store i32 %337, ptr %335, align 4 br label %338 338: ; preds = %334, %327 %339 = load i32, ptr %4, align 4 %340 = sext i32 %339 to i64 %341 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %340 %342 = load i8, ptr %341, align 1 %343 = sext i8 %342 to i32 %344 = icmp eq i32 %343, 115 br i1 %344, label %352, label %345 345: ; preds = %338 %346 = load i32, ptr %4, align 4 %347 = sext i32 %346 to i64 %348 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %347 %349 = load i8, ptr %348, align 1 %350 = sext i8 %349 to i32 %351 = icmp eq i32 %350, 83 br i1 %351, label %352, label %356 352: ; preds = %345, %338 %353 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 18 %354 = load i32, ptr %353, align 8 %355 = add nsw i32 %354, 1 store i32 %355, ptr %353, align 8 br label %356 356: ; preds = %352, %345 %357 = load i32, ptr %4, align 4 %358 = sext i32 %357 to i64 %359 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %358 %360 = load i8, ptr %359, align 1 %361 = sext i8 %360 to i32 %362 = icmp eq i32 %361, 116 br i1 %362, label %370, label %363 363: ; preds = %356 %364 = load i32, ptr %4, align 4 %365 = sext i32 %364 to i64 %366 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %365 %367 = load i8, ptr %366, align 1 %368 = sext i8 %367 to i32 %369 = icmp eq i32 %368, 84 br i1 %369, label %370, label %374 370: ; preds = %363, %356 %371 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 19 %372 = load i32, ptr %371, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %371, align 4 br label %374 374: ; preds = %370, %363 %375 = load i32, ptr %4, align 4 %376 = sext i32 %375 to i64 %377 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %376 %378 = load i8, ptr %377, align 1 %379 = sext i8 %378 to i32 %380 = icmp eq i32 %379, 117 br i1 %380, label %388, label %381 381: ; preds = %374 %382 = load i32, ptr %4, align 4 %383 = sext i32 %382 to i64 %384 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %383 %385 = load i8, ptr %384, align 1 %386 = sext i8 %385 to i32 %387 = icmp eq i32 %386, 85 br i1 %387, label %388, label %392 388: ; preds = %381, %374 %389 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 20 %390 = load i32, ptr %389, align 16 %391 = add nsw i32 %390, 1 store i32 %391, ptr %389, align 16 br label %392 392: ; preds = %388, %381 %393 = load i32, ptr %4, align 4 %394 = sext i32 %393 to i64 %395 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %394 %396 = load i8, ptr %395, align 1 %397 = sext i8 %396 to i32 %398 = icmp eq i32 %397, 118 br i1 %398, label %406, label %399 399: ; preds = %392 %400 = load i32, ptr %4, align 4 %401 = sext i32 %400 to i64 %402 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %401 %403 = load i8, ptr %402, align 1 %404 = sext i8 %403 to i32 %405 = icmp eq i32 %404, 86 br i1 %405, label %406, label %410 406: ; preds = %399, %392 %407 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 21 %408 = load i32, ptr %407, align 4 %409 = add nsw i32 %408, 1 store i32 %409, ptr %407, align 4 br label %410 410: ; preds = %406, %399 %411 = load i32, ptr %4, align 4 %412 = sext i32 %411 to i64 %413 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %412 %414 = load i8, ptr %413, align 1 %415 = sext i8 %414 to i32 %416 = icmp eq i32 %415, 119 br i1 %416, label %424, label %417 417: ; preds = %410 %418 = load i32, ptr %4, align 4 %419 = sext i32 %418 to i64 %420 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %419 %421 = load i8, ptr %420, align 1 %422 = sext i8 %421 to i32 %423 = icmp eq i32 %422, 87 br i1 %423, label %424, label %428 424: ; preds = %417, %410 %425 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 22 %426 = load i32, ptr %425, align 8 %427 = add nsw i32 %426, 1 store i32 %427, ptr %425, align 8 br label %428 428: ; preds = %424, %417 %429 = load i32, ptr %4, align 4 %430 = sext i32 %429 to i64 %431 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %430 %432 = load i8, ptr %431, align 1 %433 = sext i8 %432 to i32 %434 = icmp eq i32 %433, 120 br i1 %434, label %442, label %435 435: ; preds = %428 %436 = load i32, ptr %4, align 4 %437 = sext i32 %436 to i64 %438 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %437 %439 = load i8, ptr %438, align 1 %440 = sext i8 %439 to i32 %441 = icmp eq i32 %440, 88 br i1 %441, label %442, label %446 442: ; preds = %435, %428 %443 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 23 %444 = load i32, ptr %443, align 4 %445 = add nsw i32 %444, 1 store i32 %445, ptr %443, align 4 br label %446 446: ; preds = %442, %435 %447 = load i32, ptr %4, align 4 %448 = sext i32 %447 to i64 %449 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %448 %450 = load i8, ptr %449, align 1 %451 = sext i8 %450 to i32 %452 = icmp eq i32 %451, 121 br i1 %452, label %460, label %453 453: ; preds = %446 %454 = load i32, ptr %4, align 4 %455 = sext i32 %454 to i64 %456 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %455 %457 = load i8, ptr %456, align 1 %458 = sext i8 %457 to i32 %459 = icmp eq i32 %458, 89 br i1 %459, label %460, label %464 460: ; preds = %453, %446 %461 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 24 %462 = load i32, ptr %461, align 16 %463 = add nsw i32 %462, 1 store i32 %463, ptr %461, align 16 br label %464 464: ; preds = %460, %453 %465 = load i32, ptr %4, align 4 %466 = sext i32 %465 to i64 %467 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %466 %468 = load i8, ptr %467, align 1 %469 = sext i8 %468 to i32 %470 = icmp eq i32 %469, 122 br i1 %470, label %478, label %471 471: ; preds = %464 %472 = load i32, ptr %4, align 4 %473 = sext i32 %472 to i64 %474 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 %473 %475 = load i8, ptr %474, align 1 %476 = sext i8 %475 to i32 %477 = icmp eq i32 %476, 90 br i1 %477, label %478, label %482 478: ; preds = %471, %464 %479 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 25 %480 = load i32, ptr %479, align 4 %481 = add nsw i32 %480, 1 store i32 %481, ptr %479, align 4 br label %482 482: ; preds = %478, %471 br label %483 483: ; preds = %482 %484 = load i32, ptr %4, align 4 %485 = add nsw i32 %484, 1 store i32 %485, ptr %4, align 4 %486 = load i32, ptr %4, align 4 %487 = load i32, ptr %5, align 4 %488 = icmp sle i32 %486, %487 br i1 %488, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %483 br label %489 489: ; preds = %._crit_edge, %0 store i32 0, ptr %4, align 4 %490 = load i32, ptr %4, align 4 %491 = icmp slt i32 %490, 26 br i1 %491, label %.lr.ph2, label %732 .lr.ph2: ; preds = %489 br label %492 492: ; preds = %.lr.ph2, %727 %493 = load i32, ptr %4, align 4 %494 = icmp eq i32 %493, 0 br i1 %494, label %495, label %501 495: ; preds = %492 %496 = load i32, ptr %4, align 4 %497 = sext i32 %496 to i64 %498 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %497 %499 = load i32, ptr %498, align 4 %500 = call i32 @printf(ptr noundef @.str.1, i32 noundef %499) br label %501 501: ; preds = %495, %492 %502 = load i32, ptr %4, align 4 %503 = icmp eq i32 %502, 1 br i1 %503, label %504, label %510 504: ; preds = %501 %505 = load i32, ptr %4, align 4 %506 = sext i32 %505 to i64 %507 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %506 %508 = load i32, ptr %507, align 4 %509 = call i32 @printf(ptr noundef @.str.2, i32 noundef %508) br label %510 510: ; preds = %504, %501 %511 = load i32, ptr %4, align 4 %512 = icmp eq i32 %511, 2 br i1 %512, label %513, label %519 513: ; preds = %510 %514 = load i32, ptr %4, align 4 %515 = sext i32 %514 to i64 %516 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %515 %517 = load i32, ptr %516, align 4 %518 = call i32 @printf(ptr noundef @.str.3, i32 noundef %517) br label %519 519: ; preds = %513, %510 %520 = load i32, ptr %4, align 4 %521 = icmp eq i32 %520, 3 br i1 %521, label %522, label %528 522: ; preds = %519 %523 = load i32, ptr %4, align 4 %524 = sext i32 %523 to i64 %525 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %524 %526 = load i32, ptr %525, align 4 %527 = call i32 @printf(ptr noundef @.str.4, i32 noundef %526) br label %528 528: ; preds = %522, %519 %529 = load i32, ptr %4, align 4 %530 = icmp eq i32 %529, 4 br i1 %530, label %531, label %537 531: ; preds = %528 %532 = load i32, ptr %4, align 4 %533 = sext i32 %532 to i64 %534 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %533 %535 = load i32, ptr %534, align 4 %536 = call i32 @printf(ptr noundef @.str.5, i32 noundef %535) br label %537 537: ; preds = %531, %528 %538 = load i32, ptr %4, align 4 %539 = icmp eq i32 %538, 5 br i1 %539, label %540, label %546 540: ; preds = %537 %541 = load i32, ptr %4, align 4 %542 = sext i32 %541 to i64 %543 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %542 %544 = load i32, ptr %543, align 4 %545 = call i32 @printf(ptr noundef @.str.6, i32 noundef %544) br label %546 546: ; preds = %540, %537 %547 = load i32, ptr %4, align 4 %548 = icmp eq i32 %547, 6 br i1 %548, label %549, label %555 549: ; preds = %546 %550 = load i32, ptr %4, align 4 %551 = sext i32 %550 to i64 %552 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %551 %553 = load i32, ptr %552, align 4 %554 = call i32 @printf(ptr noundef @.str.7, i32 noundef %553) br label %555 555: ; preds = %549, %546 %556 = load i32, ptr %4, align 4 %557 = icmp eq i32 %556, 7 br i1 %557, label %558, label %564 558: ; preds = %555 %559 = load i32, ptr %4, align 4 %560 = sext i32 %559 to i64 %561 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %560 %562 = load i32, ptr %561, align 4 %563 = call i32 @printf(ptr noundef @.str.8, i32 noundef %562) br label %564 564: ; preds = %558, %555 %565 = load i32, ptr %4, align 4 %566 = icmp eq i32 %565, 8 br i1 %566, label %567, label %573 567: ; preds = %564 %568 = load i32, ptr %4, align 4 %569 = sext i32 %568 to i64 %570 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %569 %571 = load i32, ptr %570, align 4 %572 = call i32 @printf(ptr noundef @.str.9, i32 noundef %571) br label %573 573: ; preds = %567, %564 %574 = load i32, ptr %4, align 4 %575 = icmp eq i32 %574, 9 br i1 %575, label %576, label %582 576: ; preds = %573 %577 = load i32, ptr %4, align 4 %578 = sext i32 %577 to i64 %579 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %578 %580 = load i32, ptr %579, align 4 %581 = call i32 @printf(ptr noundef @.str.10, i32 noundef %580) br label %582 582: ; preds = %576, %573 %583 = load i32, ptr %4, align 4 %584 = icmp eq i32 %583, 10 br i1 %584, label %585, label %591 585: ; preds = %582 %586 = load i32, ptr %4, align 4 %587 = sext i32 %586 to i64 %588 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %587 %589 = load i32, ptr %588, align 4 %590 = call i32 @printf(ptr noundef @.str.11, i32 noundef %589) br label %591 591: ; preds = %585, %582 %592 = load i32, ptr %4, align 4 %593 = icmp eq i32 %592, 11 br i1 %593, label %594, label %600 594: ; preds = %591 %595 = load i32, ptr %4, align 4 %596 = sext i32 %595 to i64 %597 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %596 %598 = load i32, ptr %597, align 4 %599 = call i32 @printf(ptr noundef @.str.12, i32 noundef %598) br label %600 600: ; preds = %594, %591 %601 = load i32, ptr %4, align 4 %602 = icmp eq i32 %601, 12 br i1 %602, label %603, label %609 603: ; preds = %600 %604 = load i32, ptr %4, align 4 %605 = sext i32 %604 to i64 %606 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %605 %607 = load i32, ptr %606, align 4 %608 = call i32 @printf(ptr noundef @.str.13, i32 noundef %607) br label %609 609: ; preds = %603, %600 %610 = load i32, ptr %4, align 4 %611 = icmp eq i32 %610, 13 br i1 %611, label %612, label %618 612: ; preds = %609 %613 = load i32, ptr %4, align 4 %614 = sext i32 %613 to i64 %615 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %614 %616 = load i32, ptr %615, align 4 %617 = call i32 @printf(ptr noundef @.str.14, i32 noundef %616) br label %618 618: ; preds = %612, %609 %619 = load i32, ptr %4, align 4 %620 = icmp eq i32 %619, 14 br i1 %620, label %621, label %627 621: ; preds = %618 %622 = load i32, ptr %4, align 4 %623 = sext i32 %622 to i64 %624 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %623 %625 = load i32, ptr %624, align 4 %626 = call i32 @printf(ptr noundef @.str.15, i32 noundef %625) br label %627 627: ; preds = %621, %618 %628 = load i32, ptr %4, align 4 %629 = icmp eq i32 %628, 15 br i1 %629, label %630, label %636 630: ; preds = %627 %631 = load i32, ptr %4, align 4 %632 = sext i32 %631 to i64 %633 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %632 %634 = load i32, ptr %633, align 4 %635 = call i32 @printf(ptr noundef @.str.16, i32 noundef %634) br label %636 636: ; preds = %630, %627 %637 = load i32, ptr %4, align 4 %638 = icmp eq i32 %637, 16 br i1 %638, label %639, label %645 639: ; preds = %636 %640 = load i32, ptr %4, align 4 %641 = sext i32 %640 to i64 %642 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %641 %643 = load i32, ptr %642, align 4 %644 = call i32 @printf(ptr noundef @.str.17, i32 noundef %643) br label %645 645: ; preds = %639, %636 %646 = load i32, ptr %4, align 4 %647 = icmp eq i32 %646, 17 br i1 %647, label %648, label %654 648: ; preds = %645 %649 = load i32, ptr %4, align 4 %650 = sext i32 %649 to i64 %651 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %650 %652 = load i32, ptr %651, align 4 %653 = call i32 @printf(ptr noundef @.str.18, i32 noundef %652) br label %654 654: ; preds = %648, %645 %655 = load i32, ptr %4, align 4 %656 = icmp eq i32 %655, 18 br i1 %656, label %657, label %663 657: ; preds = %654 %658 = load i32, ptr %4, align 4 %659 = sext i32 %658 to i64 %660 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %659 %661 = load i32, ptr %660, align 4 %662 = call i32 @printf(ptr noundef @.str.19, i32 noundef %661) br label %663 663: ; preds = %657, %654 %664 = load i32, ptr %4, align 4 %665 = icmp eq i32 %664, 19 br i1 %665, label %666, label %672 666: ; preds = %663 %667 = load i32, ptr %4, align 4 %668 = sext i32 %667 to i64 %669 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %668 %670 = load i32, ptr %669, align 4 %671 = call i32 @printf(ptr noundef @.str.20, i32 noundef %670) br label %672 672: ; preds = %666, %663 %673 = load i32, ptr %4, align 4 %674 = icmp eq i32 %673, 20 br i1 %674, label %675, label %681 675: ; preds = %672 %676 = load i32, ptr %4, align 4 %677 = sext i32 %676 to i64 %678 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %677 %679 = load i32, ptr %678, align 4 %680 = call i32 @printf(ptr noundef @.str.21, i32 noundef %679) br label %681 681: ; preds = %675, %672 %682 = load i32, ptr %4, align 4 %683 = icmp eq i32 %682, 21 br i1 %683, label %684, label %690 684: ; preds = %681 %685 = load i32, ptr %4, align 4 %686 = sext i32 %685 to i64 %687 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %686 %688 = load i32, ptr %687, align 4 %689 = call i32 @printf(ptr noundef @.str.22, i32 noundef %688) br label %690 690: ; preds = %684, %681 %691 = load i32, ptr %4, align 4 %692 = icmp eq i32 %691, 22 br i1 %692, label %693, label %699 693: ; preds = %690 %694 = load i32, ptr %4, align 4 %695 = sext i32 %694 to i64 %696 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %695 %697 = load i32, ptr %696, align 4 %698 = call i32 @printf(ptr noundef @.str.23, i32 noundef %697) br label %699 699: ; preds = %693, %690 %700 = load i32, ptr %4, align 4 %701 = icmp eq i32 %700, 23 br i1 %701, label %702, label %708 702: ; preds = %699 %703 = load i32, ptr %4, align 4 %704 = sext i32 %703 to i64 %705 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %704 %706 = load i32, ptr %705, align 4 %707 = call i32 @printf(ptr noundef @.str.24, i32 noundef %706) br label %708 708: ; preds = %702, %699 %709 = load i32, ptr %4, align 4 %710 = icmp eq i32 %709, 24 br i1 %710, label %711, label %717 711: ; preds = %708 %712 = load i32, ptr %4, align 4 %713 = sext i32 %712 to i64 %714 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %713 %715 = load i32, ptr %714, align 4 %716 = call i32 @printf(ptr noundef @.str.25, i32 noundef %715) br label %717 717: ; preds = %711, %708 %718 = load i32, ptr %4, align 4 %719 = icmp eq i32 %718, 25 br i1 %719, label %720, label %726 720: ; preds = %717 %721 = load i32, ptr %4, align 4 %722 = sext i32 %721 to i64 %723 = getelementptr inbounds [26 x i32], ptr %3, i64 0, i64 %722 %724 = load i32, ptr %723, align 4 %725 = call i32 @printf(ptr noundef @.str.26, i32 noundef %724) br label %726 726: ; preds = %720, %717 br label %727 727: ; preds = %726 %728 = load i32, ptr %4, align 4 %729 = add nsw i32 %728, 1 store i32 %729, ptr %4, align 4 %730 = load i32, ptr %4, align 4 %731 = icmp slt i32 %730, 26 br i1 %731, label %492, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %727 br label %732 732: ; preds = %._crit_edge3, %489 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @scanf(ptr noundef, ptr noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp15vzuf4m.c' source_filename = "/tmp/tmp15vzuf4m.c" target datalayout = "e-m:e-p270: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/tmp15vzuf4m.c" target datalayout = "e-m:e-p270: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/tmpxnblmo5d.c' source_filename = "/tmp/tmpxnblmo5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"A man, a plan, a canal: Panama\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\E6\98\AF\E5\9B\9E\E6\96\87\E5\AD\97\E7\AC\A6\E4\B8\B2\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\E4\B8\8D\E6\98\AF\E5\9B\9E\E6\96\87\E5\AD\97\E7\AC\A6\E4\B8\B2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str) store ptr @.str.1, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @isPalindrome(ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @printf(ptr noundef @.str.2) br label %17 15: ; preds = %2 %16 = call i32 @printf(ptr noundef @.str.3) br label %17 17: ; preds = %15, %13 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @isPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxnblmo5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hello, World!\0A\00", align 1 @.str.1 = private unnamed_addr constant [31 x i8] c"A man, a plan, a canal: Panama\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"\E6\98\AF\E5\9B\9E\E6\96\87\E5\AD\97\E7\AC\A6\E4\B8\B2\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"\E4\B8\8D\E6\98\AF\E5\9B\9E\E6\96\87\E5\AD\97\E7\AC\A6\E4\B8\B2\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @printf(ptr noundef @.str) store ptr @.str.1, ptr %6, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @isPalindrome(ptr noundef %9) store i32 %10, ptr %7, align 4 %11 = load i32, ptr %7, align 4 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = call i32 @printf(ptr noundef @.str.2) br label %17 15: ; preds = %2 %16 = call i32 @printf(ptr noundef @.str.3) br label %17 17: ; preds = %15, %13 ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @isPalindrome(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqypfl90g.c' source_filename = "/tmp/tmpqypfl90g.c" target datalayout = "e-m:e-p270: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/tmpqypfl90g.c" target datalayout = "e-m:e-p270: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/tmp00fp4umn.c' source_filename = "/tmp/tmp00fp4umn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sa_push_c(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [2 x i8], align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = trunc i32 %7 to i8 store i8 %8, ptr %6, align 1 %9 = getelementptr inbounds i8, ptr %6, i64 1 store i8 0, ptr %9, align 1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @sa_push(ptr noundef %10, ptr noundef %11) ret void } declare i32 @sa_push(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/tmp00fp4umn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sa_push_c(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [2 x i8], align 1 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %7 = load i32, ptr %4, align 4 %8 = trunc i32 %7 to i8 store i8 %8, ptr %6, align 1 %9 = getelementptr inbounds i8, ptr %6, i64 1 store i8 0, ptr %9, align 1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds [2 x i8], ptr %5, i64 0, i64 0 %12 = call i32 @sa_push(ptr noundef %10, ptr noundef %11) ret void } declare i32 @sa_push(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/tmpdqqfn63q.c' source_filename = "/tmp/tmpdqqfn63q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter N:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Please enter valid N:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Sum: %.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) br label %8 8: ; preds = %11, %0 %9 = load i32, ptr %2, align 4 %10 = icmp sle i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %13 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) br label %8, !llvm.loop !6 14: ; preds = %8 store i32 1, ptr %3, align 4 br label %15 15: ; preds = %24, %14 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %19, label %27 19: ; preds = %15 %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4) %21 = load double, ptr %5, align 8 %22 = load double, ptr %4, align 8 %23 = fadd double %21, %22 store double %23, ptr %5, align 8 br label %24 24: ; preds = %19 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %15, !llvm.loop !8 27: ; preds = %15 %28 = load double, ptr %5, align 8 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdqqfn63q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Please enter N:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Please enter valid N:\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.4 = private unnamed_addr constant [12 x i8] c"Sum: %.2lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca double, align 8 %5 = alloca double, align 8 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 store i32 1, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sle i32 %16, %17 br i1 %18, label %.lr.ph2, label %30 .lr.ph2: ; preds = %15 br label %19 19: ; preds = %.lr.ph2, %24 %20 = call i32 (ptr, ...) @scanf(ptr noundef @.str.3, ptr noundef %4) %21 = load double, ptr %5, align 8 %22 = load double, ptr %4, align 8 %23 = fadd double %21, %22 store double %23, ptr %5, align 8 br label %24 24: ; preds = %19 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %24 br label %30 30: ; preds = %._crit_edge3, %15 %31 = load double, ptr %5, align 8 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %31) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp8b7_sq_f.c' source_filename = "/tmp/tmp8b7_sq_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(ptr noalias noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %10 10: ; preds = %36, %4 %11 = load i32, ptr %9, align 4 %12 = icmp slt i32 %11, 7 br i1 %12, label %13, label %39 13: ; preds = %10 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %9, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i64, ptr %14, i64 %16 %18 = load i64, ptr %17, align 8 %19 = load ptr, ptr %7, align 8 %20 = load ptr, ptr %8, align 8 %21 = load i32, ptr %9, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i64, ptr %20, i64 %22 %24 = load i64, ptr %23, align 8 %25 = getelementptr inbounds i64, ptr %19, i64 %24 %26 = load i64, ptr %25, align 8 %27 = add nsw i64 %18, %26 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = sext i32 %32 to i64 %34 = add nsw i64 %33, %27 %35 = trunc i64 %34 to i32 store i32 %35, ptr %31, align 4 br label %36 36: ; preds = %13 %37 = load i32, ptr %9, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %9, align 4 br label %10, !llvm.loop !6 39: ; preds = %10 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/tmp8b7_sq_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f2(ptr noalias noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store i32 0, ptr %9, align 4 %10 = load i32, ptr %9, align 4 %11 = icmp slt i32 %10, 7 br i1 %11, label %.lr.ph, label %40 .lr.ph: ; preds = %4 br label %12 12: ; preds = %.lr.ph, %35 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %9, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i64, ptr %13, i64 %15 %17 = load i64, ptr %16, align 8 %18 = load ptr, ptr %7, align 8 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i64, ptr %19, i64 %21 %23 = load i64, ptr %22, align 8 %24 = getelementptr inbounds i64, ptr %18, i64 %23 %25 = load i64, ptr %24, align 8 %26 = add nsw i64 %17, %25 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = sext i32 %31 to i64 %33 = add nsw i64 %32, %26 %34 = trunc i64 %33 to i32 store i32 %34, ptr %30, align 4 br label %35 35: ; preds = %12 %36 = load i32, ptr %9, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %9, align 4 %38 = load i32, ptr %9, align 4 %39 = icmp slt i32 %38, 7 br i1 %39, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw2g4ocj2.c' source_filename = "/tmp/tmpw2g4ocj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 store ptr %10, ptr %8, align 8 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %25, %3 %12 = load ptr, ptr %8, align 8 %13 = load i32, ptr %9, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %18, label %28 18: ; preds = %11 %19 = load ptr, ptr %8, align 8 %20 = load i32, ptr %9, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call i32 @printf(ptr noundef @.str, ptr noundef %23) br label %25 25: ; preds = %18 %26 = load ptr, ptr %8, align 8 %27 = getelementptr inbounds ptr, ptr %26, i32 1 store ptr %27, ptr %8, align 8 br label %11, !llvm.loop !6 28: ; preds = %11 ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2g4ocj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 %10 = load ptr, ptr %7, align 8 store ptr %10, ptr %8, align 8 store i32 0, ptr %9, align 4 %11 = load ptr, ptr %8, align 8 %12 = load i32, ptr %9, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds ptr, ptr %11, i64 %13 %15 = load ptr, ptr %14, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %.lr.ph, label %33 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %24 %18 = load ptr, ptr %8, align 8 %19 = load i32, ptr %9, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %18, i64 %20 %22 = load ptr, ptr %21, align 8 %23 = call i32 @printf(ptr noundef @.str, ptr noundef %22) br label %24 24: ; preds = %17 %25 = load ptr, ptr %8, align 8 %26 = getelementptr inbounds ptr, ptr %25, i32 1 store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %8, align 8 %28 = load i32, ptr %9, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = icmp ne ptr %31, null br i1 %32, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %33 33: ; preds = %._crit_edge, %3 ret i32 0 } 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"}
; ModuleID = '/tmp/tmpr71pdkv1.c' source_filename = "/tmp/tmpr71pdkv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @truncate_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fclose(ptr noundef %12) store i32 %13, ptr %2, align 4 br label %15 14: ; preds = %1 store i32 -1, ptr %2, align 4 br label %15 15: ; preds = %14, %11 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @assert(ptr noundef) #1 declare ptr @fopen(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/tmpr71pdkv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @truncate_file(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @assert(ptr noundef %5) %7 = load ptr, ptr %3, align 8 %8 = call ptr @fopen(ptr noundef %7, ptr noundef @.str) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %1 %12 = load ptr, ptr %4, align 8 %13 = call i32 @fclose(ptr noundef %12) store i32 %13, ptr %2, align 4 br label %15 14: ; preds = %1 store i32 -1, ptr %2, align 4 br label %15 15: ; preds = %14, %11 %16 = load i32, ptr %2, align 4 ret i32 %16 } declare i32 @assert(ptr noundef) #1 declare ptr @fopen(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/tmpf0ugyyra.c' source_filename = "/tmp/tmpf0ugyyra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uwsgi_connect_udp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 -1, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call ptr @uwsgi_concat2(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 58) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %1 br label %21 13: ; preds = %1 %14 = load ptr, ptr %5, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @atoi(ptr noundef %18) %20 = call i32 @connect_to_udp(ptr noundef %17, i32 noundef %19) store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %13, %12 %22 = load ptr, ptr %4, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @uwsgi_concat2(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @connect_to_udp(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf0ugyyra.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @uwsgi_connect_udp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 -1, ptr %3, align 4 %6 = load ptr, ptr %2, align 8 %7 = call ptr @uwsgi_concat2(ptr noundef %6, ptr noundef @.str) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = call ptr @strchr(ptr noundef %8, i8 noundef signext 58) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %13, label %12 12: ; preds = %1 br label %21 13: ; preds = %1 %14 = load ptr, ptr %5, align 8 store i8 0, ptr %14, align 1 %15 = load ptr, ptr %5, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = load ptr, ptr %5, align 8 %19 = call i32 @atoi(ptr noundef %18) %20 = call i32 @connect_to_udp(ptr noundef %17, i32 noundef %19) store i32 %20, ptr %3, align 4 br label %21 21: ; preds = %13, %12 %22 = load ptr, ptr %4, align 8 %23 = call i32 @free(ptr noundef %22) %24 = load i32, ptr %3, align 4 ret i32 %24 } declare ptr @uwsgi_concat2(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @connect_to_udp(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6a6i3_hr.c' source_filename = "/tmp/tmp6a6i3_hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Impossible random level 1 spell %d\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rand1lvl() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = call i32 @d(i32 noundef 8) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 switch i32 %4, label %21 [ i32 1, label %5 i32 2, label %7 i32 3, label %9 i32 4, label %11 i32 5, label %13 i32 6, label %15 i32 7, label %17 i32 8, label %19 ] 5: ; preds = %0 %6 = call ptr (...) @randbard1lvl() store ptr %6, ptr %1, align 8 br label %26 7: ; preds = %0 %8 = call ptr (...) @randcleric1lvl() store ptr %8, ptr %1, align 8 br label %26 9: ; preds = %0 %10 = call ptr (...) @randdruid1lvl() store ptr %10, ptr %1, align 8 br label %26 11: ; preds = %0 %12 = call ptr (...) @randpaladin1lvl() store ptr %12, ptr %1, align 8 br label %26 13: ; preds = %0 %14 = call ptr (...) @randranger1lvl() store ptr %14, ptr %1, align 8 br label %26 15: ; preds = %0 %16 = call ptr (...) @randsorcerer1lvl() store ptr %16, ptr %1, align 8 br label %26 17: ; preds = %0 %18 = call ptr (...) @randwarlock1lvl() store ptr %18, ptr %1, align 8 br label %26 19: ; preds = %0 %20 = call ptr (...) @randwizard1lvl() store ptr %20, ptr %1, align 8 br label %26 21: ; preds = %0 %22 = load i32, ptr %2, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr @EXIT_FAILURE, align 4 %25 = call i32 @exit(i32 noundef %24) #3 unreachable 26: ; preds = %19, %17, %15, %13, %11, %9, %7, %5 %27 = load ptr, ptr %1, align 8 ret ptr %27 } declare i32 @d(i32 noundef) #1 declare ptr @randbard1lvl(...) #1 declare ptr @randcleric1lvl(...) #1 declare ptr @randdruid1lvl(...) #1 declare ptr @randpaladin1lvl(...) #1 declare ptr @randranger1lvl(...) #1 declare ptr @randsorcerer1lvl(...) #1 declare ptr @randwarlock1lvl(...) #1 declare ptr @randwizard1lvl(...) #1 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/tmp6a6i3_hr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Impossible random level 1 spell %d\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rand1lvl() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = call i32 @d(i32 noundef 8) store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 switch i32 %4, label %21 [ i32 1, label %5 i32 2, label %7 i32 3, label %9 i32 4, label %11 i32 5, label %13 i32 6, label %15 i32 7, label %17 i32 8, label %19 ] 5: ; preds = %0 %6 = call ptr (...) @randbard1lvl() store ptr %6, ptr %1, align 8 br label %26 7: ; preds = %0 %8 = call ptr (...) @randcleric1lvl() store ptr %8, ptr %1, align 8 br label %26 9: ; preds = %0 %10 = call ptr (...) @randdruid1lvl() store ptr %10, ptr %1, align 8 br label %26 11: ; preds = %0 %12 = call ptr (...) @randpaladin1lvl() store ptr %12, ptr %1, align 8 br label %26 13: ; preds = %0 %14 = call ptr (...) @randranger1lvl() store ptr %14, ptr %1, align 8 br label %26 15: ; preds = %0 %16 = call ptr (...) @randsorcerer1lvl() store ptr %16, ptr %1, align 8 br label %26 17: ; preds = %0 %18 = call ptr (...) @randwarlock1lvl() store ptr %18, ptr %1, align 8 br label %26 19: ; preds = %0 %20 = call ptr (...) @randwizard1lvl() store ptr %20, ptr %1, align 8 br label %26 21: ; preds = %0 %22 = load i32, ptr %2, align 4 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %22) %24 = load i32, ptr @EXIT_FAILURE, align 4 %25 = call i32 @exit(i32 noundef %24) #3 unreachable 26: ; preds = %19, %17, %15, %13, %11, %9, %7, %5 %27 = load ptr, ptr %1, align 8 ret ptr %27 } declare i32 @d(i32 noundef) #1 declare ptr @randbard1lvl(...) #1 declare ptr @randcleric1lvl(...) #1 declare ptr @randdruid1lvl(...) #1 declare ptr @randpaladin1lvl(...) #1 declare ptr @randranger1lvl(...) #1 declare ptr @randsorcerer1lvl(...) #1 declare ptr @randwarlock1lvl(...) #1 declare ptr @randwizard1lvl(...) #1 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/tmpnlwk7w0e.c' source_filename = "/tmp/tmpnlwk7w0e.c" target datalayout = "e-m:e-p270: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/tmpnlwk7w0e.c" target datalayout = "e-m:e-p270: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/tmpjz3lnxo1.c' source_filename = "/tmp/tmpjz3lnxo1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBit(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = call i32 @readByte(i64 noundef %10, i64 noundef %11, ptr noundef %9) %13 = load i64, ptr %8, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %4 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %7, align 8 %18 = trunc i64 %17 to i32 %19 = shl i32 1, %18 %20 = sext i32 %19 to i64 %21 = or i64 %16, %20 br label %30 22: ; preds = %4 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %7, align 8 %25 = trunc i64 %24 to i32 %26 = shl i32 1, %25 %27 = xor i32 %26, -1 %28 = sext i32 %27 to i64 %29 = and i64 %23, %28 br label %30 30: ; preds = %22, %15 %31 = phi i64 [ %21, %15 ], [ %29, %22 ] store i64 %31, ptr %9, align 8 %32 = load i64, ptr %5, align 8 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = call i32 @writeByte(i64 noundef %32, i64 noundef %33, i64 noundef %34) ret i32 %35 } declare i32 @readByte(i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @writeByte(i64 noundef, i64 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/tmpjz3lnxo1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeBit(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i64 %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 %3, ptr %8, align 8 %10 = load i64, ptr %5, align 8 %11 = load i64, ptr %6, align 8 %12 = call i32 @readByte(i64 noundef %10, i64 noundef %11, ptr noundef %9) %13 = load i64, ptr %8, align 8 %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %22 15: ; preds = %4 %16 = load i64, ptr %9, align 8 %17 = load i64, ptr %7, align 8 %18 = trunc i64 %17 to i32 %19 = shl i32 1, %18 %20 = sext i32 %19 to i64 %21 = or i64 %16, %20 br label %30 22: ; preds = %4 %23 = load i64, ptr %9, align 8 %24 = load i64, ptr %7, align 8 %25 = trunc i64 %24 to i32 %26 = shl i32 1, %25 %27 = xor i32 %26, -1 %28 = sext i32 %27 to i64 %29 = and i64 %23, %28 br label %30 30: ; preds = %22, %15 %31 = phi i64 [ %21, %15 ], [ %29, %22 ] store i64 %31, ptr %9, align 8 %32 = load i64, ptr %5, align 8 %33 = load i64, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = call i32 @writeByte(i64 noundef %32, i64 noundef %33, i64 noundef %34) ret i32 %35 } declare i32 @readByte(i64 noundef, i64 noundef, ptr noundef) #1 declare i32 @writeByte(i64 noundef, i64 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/tmphgva1okq.c' source_filename = "/tmp/tmphgva1okq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = call i32 @pthread_attr_init(ptr noundef %3) %5 = call i32 @pthread_attr_setaffinity_np(ptr noundef %3, i32 noundef 0, ptr noundef null) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @pthread_attr_init(ptr noundef) #1 declare i32 @pthread_attr_setaffinity_np(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgva1okq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = call i32 @pthread_attr_init(ptr noundef %3) %5 = call i32 @pthread_attr_setaffinity_np(ptr noundef %3, i32 noundef 0, ptr noundef null) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 ret i32 %6 } declare i32 @pthread_attr_init(ptr noundef) #1 declare i32 @pthread_attr_setaffinity_np(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps9gmdo5e.c' source_filename = "/tmp/tmps9gmdo5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callback_null_arg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 call void %3(ptr noundef null) ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps9gmdo5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callback_null_arg(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 call void %3(ptr noundef null) ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzz323c58.c' source_filename = "/tmp/tmpzz323c58.c" target datalayout = "e-m:e-p270: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/tmpzz323c58.c" target datalayout = "e-m:e-p270: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/tmpiuf4t1w5.c' source_filename = "/tmp/tmpiuf4t1w5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"a = %d, b = %d, c = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"b == c\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"b != c\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"z = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 2, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = and i32 %12, 1 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = and i32 %14, 1 store i32 %15, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 25: ; preds = %2 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25, %23 store i32 2, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 0, ptr %11, align 4 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = sub nsw i32 0, %28 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 %33 = add nsw i32 %30, %32 %34 = load i32, ptr %11, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %11, align 4 %36 = load i32, ptr %11, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36) 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/tmpiuf4t1w5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"a = %d, b = %d, c = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"b == c\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"b != c\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"z = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca 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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 2, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = and i32 %12, 1 store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = and i32 %14, 1 store i32 %15, ptr %8, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %8, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17, i32 noundef %18) %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp eq i32 %20, %21 br i1 %22, label %23, label %25 23: ; preds = %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %27 25: ; preds = %2 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %27 27: ; preds = %25, %23 store i32 2, ptr %9, align 4 store i32 1, ptr %10, align 4 store i32 0, ptr %11, align 4 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = sub nsw i32 0, %28 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 %33 = add nsw i32 %30, %32 %34 = load i32, ptr %11, align 4 %35 = add nsw i32 %34, %33 store i32 %35, ptr %11, align 4 %36 = load i32, ptr %11, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %36) 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/tmp27jkcnx8.c' source_filename = "/tmp/tmp27jkcnx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @visit.level = internal global i32 -1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @visit(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr @visit.level, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr @visit.level, align 4 %10 = load i32, ptr @visit.level, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 store i32 %10, ptr %14, align 4 %15 = load i32, ptr @visit.level, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = call i32 @doit(ptr noundef %19, i32 noundef %20) br label %43 22: ; preds = %3 store i32 0, ptr %7, align 4 br label %23 23: ; preds = %39, %22 %24 = load i32, ptr %7, align 4 %25 = load i32, ptr %5, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %42 27: ; preds = %23 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %27 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %5, align 4 %37 = load i32, ptr %7, align 4 call void @visit(ptr noundef %35, i32 noundef %36, i32 noundef %37) br label %38 38: ; preds = %34, %27 br label %39 39: ; preds = %38 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %23, !llvm.loop !6 42: ; preds = %23 br label %43 43: ; preds = %42, %18 %44 = load i32, ptr @visit.level, align 4 %45 = sub nsw i32 %44, 1 store i32 %45, ptr @visit.level, align 4 %46 = load ptr, ptr %4, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 store i32 0, ptr %49, align 4 ret void } declare i32 @doit(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp27jkcnx8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @visit.level = internal global i32 -1, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @visit(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %8 = load i32, ptr @visit.level, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr @visit.level, align 4 %10 = load i32, ptr @visit.level, align 4 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 store i32 %10, ptr %14, align 4 %15 = load i32, ptr @visit.level, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %15, %16 br i1 %17, label %18, label %22 18: ; preds = %3 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = call i32 @doit(ptr noundef %19, i32 noundef %20) br label %45 22: ; preds = %3 store i32 0, ptr %7, align 4 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %44 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %38 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %7, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %37 33: ; preds = %26 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %5, align 4 %36 = load i32, ptr %7, align 4 call void @visit(ptr noundef %34, i32 noundef %35, i32 noundef %36) br label %37 37: ; preds = %33, %26 br label %38 38: ; preds = %37 %39 = load i32, ptr %7, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %22 br label %45 45: ; preds = %44, %18 %46 = load i32, ptr @visit.level, align 4 %47 = sub nsw i32 %46, 1 store i32 %47, ptr @visit.level, align 4 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 0, ptr %51, align 4 ret void } declare i32 @doit(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptvd3wq6x.c' source_filename = "/tmp/tmptvd3wq6x.c" target datalayout = "e-m:e-p270: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/tmptvd3wq6x.c" target datalayout = "e-m:e-p270: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/tmpj01tlm4p.c' source_filename = "/tmp/tmpj01tlm4p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for z\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0x7a() #0 { %1 = call i64 @iscntrl(i32 noundef 122) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 615, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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/tmpj01tlm4p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_iscntrl.c\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"iscntrl should be 0 for z\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_iscntrl_0x7a() #0 { %1 = call i64 @iscntrl(i32 noundef 122) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 615, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @iscntrl(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"}