llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp_usdjdd5.c' source_filename = "/tmp/tmp_usdjdd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vlogical_imm_andminus6_int64_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %21, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = and i32 %15, -6 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i32, ptr %17, i64 %19 store i32 %16, ptr %20, align 4 br label %21 21: ; preds = %10 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %6, !llvm.loop !6 24: ; preds = %6 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_usdjdd5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @vlogical_imm_andminus6_int64_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %20 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = and i32 %14, -6 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %20 20: ; preds = %9 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %2 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppakgikcw.c' source_filename = "/tmp/tmppakgikcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_log_file(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 @fclose(ptr noundef %3) ret i32 %4 } 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/tmppakgikcw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @close_log_file(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 @fclose(ptr noundef %3) ret i32 %4 } 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/tmpkh5ru7h3.c' source_filename = "/tmp/tmpkh5ru7h3.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkh5ru7h3.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzb1f4p1j.c' source_filename = "/tmp/tmpzb1f4p1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @test(double noundef 3.000000e+00, ptr noundef %2) %4 = call i32 @test(double noundef 3.500000e+00, ptr noundef %2) %5 = call i32 @test(double noundef 4.000000e+00, ptr noundef %2) %6 = call i32 @test(double noundef 5.000000e+00, ptr noundef %2) %7 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test(double 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/tmpzb1f4p1j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @test(double noundef 3.000000e+00, ptr noundef %2) %4 = call i32 @test(double noundef 3.500000e+00, ptr noundef %2) %5 = call i32 @test(double noundef 4.000000e+00, ptr noundef %2) %6 = call i32 @test(double noundef 5.000000e+00, ptr noundef %2) %7 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test(double 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/tmpsim12jtp.c' source_filename = "/tmp/tmpsim12jtp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @SIM_power_strcat(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 = icmp ne ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcat(ptr noundef %10, ptr noundef %11) br label %13 13: ; preds = %7, %2 %14 = load ptr, ptr %3, align 8 ret ptr %14 } 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/tmpsim12jtp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @SIM_power_strcat(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 = icmp ne ptr %5, null br i1 %6, label %7, label %13 7: ; preds = %2 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcat(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcat(ptr noundef %10, ptr noundef %11) br label %13 13: ; preds = %7, %2 %14 = load ptr, ptr %3, align 8 ret ptr %14 } 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/tmp3gc2f0up.c' source_filename = "/tmp/tmp3gc2f0up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_print_numbers() #0 { %1 = alloca i8, align 1 store i8 48, ptr %1, align 1 br label %2 2: ; preds = %6, %0 %3 = load i8, ptr %1, align 1 %4 = sext i8 %3 to i32 %5 = icmp sle i32 %4, 57 br i1 %5, label %6, label %11 6: ; preds = %2 %7 = load i8, ptr %1, align 1 %8 = call i32 @ft_putchar(i8 noundef signext %7) %9 = load i8, ptr %1, align 1 %10 = add i8 %9, 1 store i8 %10, ptr %1, align 1 br label %2, !llvm.loop !6 11: ; preds = %2 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/tmp3gc2f0up.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_print_numbers() #0 { %1 = alloca i8, align 1 store i8 48, ptr %1, align 1 %2 = load i8, ptr %1, align 1 %3 = sext i8 %2 to i32 %4 = icmp sle i32 %3, 57 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = load i8, ptr %1, align 1 %7 = call i32 @ft_putchar(i8 noundef signext %6) %8 = load i8, ptr %1, align 1 %9 = add i8 %8, 1 store i8 %9, ptr %1, align 1 %10 = load i8, ptr %1, align 1 %11 = sext i8 %10 to i32 %12 = icmp sle i32 %11, 57 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %13 13: ; preds = %._crit_edge, %0 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/tmp0h3u2nbc.c' source_filename = "/tmp/tmp0h3u2nbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Timestep: %06d, Current time: %.4f, dt: %e\0A\00", align 1 @.str.1 = 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 double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca [5151 x double], align 16 %6 = alloca [5151 x double], align 16 %7 = alloca [5151 x double], align 16 %8 = alloca [5151 x double], align 16 %9 = alloca [5151 x double], align 16 %10 = alloca [5151 x double], align 16 %11 = alloca [5151 x double], align 16 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 5.000000e-02, ptr %3, align 8 store double 5.000000e-02, ptr %4, align 8 store double 6.000000e+01, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0x3EAE32F0EE144531, ptr %14, align 8 store double 1.000000e+02, ptr %15, align 8 store i32 0, ptr %17, align 4 br label %19 19: ; preds = %110, %0 %20 = load i32, ptr %17, align 4 %21 = icmp slt i32 %20, 51 br i1 %21, label %22, label %113 22: ; preds = %19 store i32 0, ptr %16, align 4 br label %23 23: ; preds = %106, %22 %24 = load i32, ptr %16, align 4 %25 = icmp slt i32 %24, 101 br i1 %25, label %26, label %109 26: ; preds = %23 %27 = load i32, ptr %17, align 4 %28 = mul nsw i32 101, %27 %29 = load i32, ptr %16, align 4 %30 = add nsw i32 %28, %29 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 %31 store double 0.000000e+00, ptr %32, align 8 %33 = load i32, ptr %17, align 4 %34 = mul nsw i32 101, %33 %35 = load i32, ptr %16, align 4 %36 = add nsw i32 %34, %35 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 %37 store double 0.000000e+00, ptr %38, align 8 %39 = load double, ptr %15, align 8 %40 = load double, ptr %4, align 8 %41 = fmul double %39, %40 %42 = fmul double %41, 3.000000e-04 %43 = load i32, ptr %17, align 4 %44 = sub nsw i32 51, %43 %45 = sitofp i32 %44 to double %46 = fmul double %42, %45 %47 = load i32, ptr %17, align 4 %48 = mul nsw i32 101, %47 %49 = load i32, ptr %16, align 4 %50 = add nsw i32 %48, %49 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [5151 x double], ptr %7, i64 0, i64 %51 store double %46, ptr %52, align 8 %53 = load double, ptr %15, align 8 %54 = load i32, ptr %17, align 4 %55 = mul nsw i32 101, %54 %56 = load i32, ptr %16, align 4 %57 = add nsw i32 %55, %56 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 %58 store double %53, ptr %59, align 8 %60 = load i32, ptr %17, align 4 %61 = mul nsw i32 101, %60 %62 = load i32, ptr %16, align 4 %63 = add nsw i32 %61, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [5151 x double], ptr %9, i64 0, i64 %64 store double 1.000000e+00, ptr %65, align 8 %66 = load i32, ptr %17, align 4 %67 = icmp slt i32 %66, 4 br i1 %67, label %68, label %78 68: ; preds = %26 %69 = load i32, ptr %16, align 4 %70 = icmp slt i32 %69, 50 br i1 %70, label %71, label %78 71: ; preds = %68 %72 = load i32, ptr %17, align 4 %73 = mul nsw i32 101, %72 %74 = load i32, ptr %16, align 4 %75 = add nsw i32 %73, %74 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 %76 store double 1.000000e+03, ptr %77, align 8 br label %99 78: ; preds = %68, %26 %79 = load i32, ptr %17, align 4 %80 = icmp sgt i32 %79, 46 br i1 %80, label %81, label %91 81: ; preds = %78 %82 = load i32, ptr %16, align 4 %83 = icmp sgt i32 %82, 50 br i1 %83, label %84, label %91 84: ; preds = %81 %85 = load i32, ptr %17, align 4 %86 = mul nsw i32 101, %85 %87 = load i32, ptr %16, align 4 %88 = add nsw i32 %86, %87 %89 = sext i32 %88 to i64 %90 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 %89 store double 0.000000e+00, ptr %90, align 8 br label %98 91: ; preds = %81, %78 %92 = load i32, ptr %17, align 4 %93 = mul nsw i32 101, %92 %94 = load i32, ptr %16, align 4 %95 = add nsw i32 %93, %94 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 %96 store double 5.000000e+02, ptr %97, align 8 br label %98 98: ; preds = %91, %84 br label %99 99: ; preds = %98, %71 %100 = load i32, ptr %17, align 4 %101 = mul nsw i32 101, %100 %102 = load i32, ptr %16, align 4 %103 = add nsw i32 %101, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [5151 x double], ptr %11, i64 0, i64 %104 store double 1.000000e+02, ptr %105, align 8 br label %106 106: ; preds = %99 %107 = load i32, ptr %16, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %16, align 4 br label %23, !llvm.loop !6 109: ; preds = %23 br label %110 110: ; preds = %109 %111 = load i32, ptr %17, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %17, align 4 br label %19, !llvm.loop !8 113: ; preds = %19 %114 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 0 %115 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 0 %116 = call i32 @apply_vel_boundary_conditions(ptr noundef %114, ptr noundef %115) %117 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %118 = call i32 @apply_thermal_boundary_conditions(ptr noundef %117) store i32 0, ptr %18, align 4 store double 0.000000e+00, ptr %2, align 8 br label %119 119: ; preds = %113, %131 %120 = load i32, ptr %18, align 4 %121 = srem i32 %120, 1000 %122 = icmp eq i32 %121, 0 br i1 %122, label %123, label %131 123: ; preds = %119 %124 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %125 = call i32 @visualise(ptr noundef %124, i32 noundef 0, i32 noundef 1000, i32 noundef 1) %126 = load i32, ptr %18, align 4 %127 = load double, ptr %2, align 8 %128 = load double, ptr %14, align 8 %129 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %126, double noundef %127, double noundef %128) %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %131 131: ; preds = %123, %119 %132 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %133 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 0 %134 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 0 %135 = load double, ptr %3, align 8 %136 = load double, ptr %4, align 8 %137 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 0 %138 = load double, ptr %14, align 8 %139 = load double, ptr %12, align 8 %140 = getelementptr inbounds [5151 x double], ptr %11, i64 0, i64 0 %141 = load double, ptr %13, align 8 %142 = call i32 @solve_advection_diffusion(ptr noundef %132, ptr noundef %133, ptr noundef %134, double noundef %135, double noundef %136, ptr noundef %137, double noundef %138, double noundef %139, ptr noundef %140, double noundef %141) %143 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 0 %144 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %145 = call i32 @update_rho(ptr noundef %143, ptr noundef %144) %146 = getelementptr inbounds [5151 x double], ptr %9, i64 0, i64 0 %147 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %148 = call i32 @update_nu(ptr noundef %146, ptr noundef %147) %149 = getelementptr inbounds [5151 x double], ptr %11, i64 0, i64 0 %150 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %151 = call i32 @update_k(ptr noundef %149, ptr noundef %150) %152 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 0 %153 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 0 %154 = load double, ptr %3, align 8 %155 = load double, ptr %4, align 8 %156 = getelementptr inbounds [5151 x double], ptr %7, i64 0, i64 0 %157 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 0 %158 = getelementptr inbounds [5151 x double], ptr %9, i64 0, i64 0 %159 = load double, ptr %14, align 8 %160 = call i32 @solve_flow(ptr noundef %152, ptr noundef %153, double noundef %154, double noundef %155, ptr noundef %156, ptr noundef %157, ptr noundef %158, double noundef %159) %161 = load double, ptr %14, align 8 %162 = load double, ptr %2, align 8 %163 = fadd double %162, %161 store double %163, ptr %2, align 8 %164 = load i32, ptr %18, align 4 %165 = add nsw i32 %164, 1 store i32 %165, ptr %18, align 4 br label %119 } declare i32 @apply_vel_boundary_conditions(ptr noundef, ptr noundef) #1 declare i32 @apply_thermal_boundary_conditions(ptr noundef) #1 declare i32 @visualise(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @solve_advection_diffusion(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef) #1 declare i32 @update_rho(ptr noundef, ptr noundef) #1 declare i32 @update_nu(ptr noundef, ptr noundef) #1 declare i32 @update_k(ptr noundef, ptr noundef) #1 declare i32 @solve_flow(ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0h3u2nbc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [44 x i8] c"Timestep: %06d, Current time: %.4f, dt: %e\0A\00", align 1 @.str.1 = 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 double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca [5151 x double], align 16 %6 = alloca [5151 x double], align 16 %7 = alloca [5151 x double], align 16 %8 = alloca [5151 x double], align 16 %9 = alloca [5151 x double], align 16 %10 = alloca [5151 x double], align 16 %11 = alloca [5151 x double], align 16 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca double, align 8 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 store i32 0, ptr %1, align 4 store double 5.000000e-02, ptr %3, align 8 store double 5.000000e-02, ptr %4, align 8 store double 6.000000e+01, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 store double 0x3EAE32F0EE144531, ptr %14, align 8 store double 1.000000e+02, ptr %15, align 8 store i32 0, ptr %17, align 4 %19 = load i32, ptr %17, align 4 %20 = icmp slt i32 %19, 51 br i1 %20, label %.lr.ph2, label %115 .lr.ph2: ; preds = %0 br label %21 21: ; preds = %.lr.ph2, %110 store i32 0, ptr %16, align 4 %22 = load i32, ptr %16, align 4 %23 = icmp slt i32 %22, 101 br i1 %23, label %.lr.ph, label %109 .lr.ph: ; preds = %21 br label %24 24: ; preds = %.lr.ph, %104 %25 = load i32, ptr %17, align 4 %26 = mul nsw i32 101, %25 %27 = load i32, ptr %16, align 4 %28 = add nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 %29 store double 0.000000e+00, ptr %30, align 8 %31 = load i32, ptr %17, align 4 %32 = mul nsw i32 101, %31 %33 = load i32, ptr %16, align 4 %34 = add nsw i32 %32, %33 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 %35 store double 0.000000e+00, ptr %36, align 8 %37 = load double, ptr %15, align 8 %38 = load double, ptr %4, align 8 %39 = fmul double %37, %38 %40 = fmul double %39, 3.000000e-04 %41 = load i32, ptr %17, align 4 %42 = sub nsw i32 51, %41 %43 = sitofp i32 %42 to double %44 = fmul double %40, %43 %45 = load i32, ptr %17, align 4 %46 = mul nsw i32 101, %45 %47 = load i32, ptr %16, align 4 %48 = add nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [5151 x double], ptr %7, i64 0, i64 %49 store double %44, ptr %50, align 8 %51 = load double, ptr %15, align 8 %52 = load i32, ptr %17, align 4 %53 = mul nsw i32 101, %52 %54 = load i32, ptr %16, align 4 %55 = add nsw i32 %53, %54 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 %56 store double %51, ptr %57, align 8 %58 = load i32, ptr %17, align 4 %59 = mul nsw i32 101, %58 %60 = load i32, ptr %16, align 4 %61 = add nsw i32 %59, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [5151 x double], ptr %9, i64 0, i64 %62 store double 1.000000e+00, ptr %63, align 8 %64 = load i32, ptr %17, align 4 %65 = icmp slt i32 %64, 4 br i1 %65, label %66, label %76 66: ; preds = %24 %67 = load i32, ptr %16, align 4 %68 = icmp slt i32 %67, 50 br i1 %68, label %69, label %76 69: ; preds = %66 %70 = load i32, ptr %17, align 4 %71 = mul nsw i32 101, %70 %72 = load i32, ptr %16, align 4 %73 = add nsw i32 %71, %72 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 %74 store double 1.000000e+03, ptr %75, align 8 br label %97 76: ; preds = %66, %24 %77 = load i32, ptr %17, align 4 %78 = icmp sgt i32 %77, 46 br i1 %78, label %79, label %89 79: ; preds = %76 %80 = load i32, ptr %16, align 4 %81 = icmp sgt i32 %80, 50 br i1 %81, label %82, label %89 82: ; preds = %79 %83 = load i32, ptr %17, align 4 %84 = mul nsw i32 101, %83 %85 = load i32, ptr %16, align 4 %86 = add nsw i32 %84, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 %87 store double 0.000000e+00, ptr %88, align 8 br label %96 89: ; preds = %79, %76 %90 = load i32, ptr %17, align 4 %91 = mul nsw i32 101, %90 %92 = load i32, ptr %16, align 4 %93 = add nsw i32 %91, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 %94 store double 5.000000e+02, ptr %95, align 8 br label %96 96: ; preds = %89, %82 br label %97 97: ; preds = %96, %69 %98 = load i32, ptr %17, align 4 %99 = mul nsw i32 101, %98 %100 = load i32, ptr %16, align 4 %101 = add nsw i32 %99, %100 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [5151 x double], ptr %11, i64 0, i64 %102 store double 1.000000e+02, ptr %103, align 8 br label %104 104: ; preds = %97 %105 = load i32, ptr %16, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %16, align 4 %107 = load i32, ptr %16, align 4 %108 = icmp slt i32 %107, 101 br i1 %108, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %104 br label %109 109: ; preds = %._crit_edge, %21 br label %110 110: ; preds = %109 %111 = load i32, ptr %17, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %17, align 4 %113 = load i32, ptr %17, align 4 %114 = icmp slt i32 %113, 51 br i1 %114, label %21, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %110 br label %115 115: ; preds = %._crit_edge3, %0 %116 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 0 %117 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 0 %118 = call i32 @apply_vel_boundary_conditions(ptr noundef %116, ptr noundef %117) %119 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %120 = call i32 @apply_thermal_boundary_conditions(ptr noundef %119) store i32 0, ptr %18, align 4 store double 0.000000e+00, ptr %2, align 8 br label %121 121: ; preds = %133, %115 %122 = load i32, ptr %18, align 4 %123 = srem i32 %122, 1000 %124 = icmp eq i32 %123, 0 br i1 %124, label %125, label %133 125: ; preds = %121 %126 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %127 = call i32 @visualise(ptr noundef %126, i32 noundef 0, i32 noundef 1000, i32 noundef 1) %128 = load i32, ptr %18, align 4 %129 = load double, ptr %2, align 8 %130 = load double, ptr %14, align 8 %131 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %128, double noundef %129, double noundef %130) %132 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %133 133: ; preds = %125, %121 %134 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %135 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 0 %136 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 0 %137 = load double, ptr %3, align 8 %138 = load double, ptr %4, align 8 %139 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 0 %140 = load double, ptr %14, align 8 %141 = load double, ptr %12, align 8 %142 = getelementptr inbounds [5151 x double], ptr %11, i64 0, i64 0 %143 = load double, ptr %13, align 8 %144 = call i32 @solve_advection_diffusion(ptr noundef %134, ptr noundef %135, ptr noundef %136, double noundef %137, double noundef %138, ptr noundef %139, double noundef %140, double noundef %141, ptr noundef %142, double noundef %143) %145 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 0 %146 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %147 = call i32 @update_rho(ptr noundef %145, ptr noundef %146) %148 = getelementptr inbounds [5151 x double], ptr %9, i64 0, i64 0 %149 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %150 = call i32 @update_nu(ptr noundef %148, ptr noundef %149) %151 = getelementptr inbounds [5151 x double], ptr %11, i64 0, i64 0 %152 = getelementptr inbounds [5151 x double], ptr %10, i64 0, i64 0 %153 = call i32 @update_k(ptr noundef %151, ptr noundef %152) %154 = getelementptr inbounds [5151 x double], ptr %5, i64 0, i64 0 %155 = getelementptr inbounds [5151 x double], ptr %6, i64 0, i64 0 %156 = load double, ptr %3, align 8 %157 = load double, ptr %4, align 8 %158 = getelementptr inbounds [5151 x double], ptr %7, i64 0, i64 0 %159 = getelementptr inbounds [5151 x double], ptr %8, i64 0, i64 0 %160 = getelementptr inbounds [5151 x double], ptr %9, i64 0, i64 0 %161 = load double, ptr %14, align 8 %162 = call i32 @solve_flow(ptr noundef %154, ptr noundef %155, double noundef %156, double noundef %157, ptr noundef %158, ptr noundef %159, ptr noundef %160, double noundef %161) %163 = load double, ptr %14, align 8 %164 = load double, ptr %2, align 8 %165 = fadd double %164, %163 store double %165, ptr %2, align 8 %166 = load i32, ptr %18, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %18, align 4 br label %121 } declare i32 @apply_vel_boundary_conditions(ptr noundef, ptr noundef) #1 declare i32 @apply_thermal_boundary_conditions(ptr noundef) #1 declare i32 @visualise(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @solve_advection_diffusion(ptr noundef, ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef, double noundef, ptr noundef, double noundef) #1 declare i32 @update_rho(ptr noundef, ptr noundef) #1 declare i32 @update_nu(ptr noundef, ptr noundef) #1 declare i32 @update_k(ptr noundef, ptr noundef) #1 declare i32 @solve_flow(ptr noundef, ptr noundef, double noundef, double noundef, ptr noundef, ptr noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpx9l3trrc.c' source_filename = "/tmp/tmpx9l3trrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XEvent_xmaprequest_display(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = inttoptr i64 %6 to ptr ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx9l3trrc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XEvent_xmaprequest_display(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i32 0, i32 0 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = inttoptr i64 %6 to ptr ret ptr %7 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfk0rvznu.c' source_filename = "/tmp/tmpfk0rvznu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0x8a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0x8a() #0 { %1 = call i64 @isxdigit(i32 noundef 138) %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 695, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmpfk0rvznu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 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_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0x8a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0x8a() #0 { %1 = call i64 @isxdigit(i32 noundef 138) %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 695, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmp3r6g9j6k.c' source_filename = "/tmp/tmp3r6g9j6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mallocEscapeFreeCustomAlloc2() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 12) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @myfoo(ptr noundef %3) %5 = load ptr, ptr %1, align 8 %6 = call i32 @free(ptr noundef %5) %7 = call i32 @myalloc2(ptr noundef %1) %8 = load ptr, ptr %1, align 8 %9 = call i32 @free(ptr noundef %8) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @myfoo(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @myalloc2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3r6g9j6k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mallocEscapeFreeCustomAlloc2() #0 { %1 = alloca ptr, align 8 %2 = call ptr @malloc(i32 noundef 12) store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = call i32 @myfoo(ptr noundef %3) %5 = load ptr, ptr %1, align 8 %6 = call i32 @free(ptr noundef %5) %7 = call i32 @myalloc2(ptr noundef %1) %8 = load ptr, ptr %1, align 8 %9 = call i32 @free(ptr noundef %8) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @myfoo(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @myalloc2(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd144e2b5.c' source_filename = "/tmp/tmpd144e2b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Assertion: %d != %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @assert_eq(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 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/tmpd144e2b5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Assertion: %d != %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @assert_eq(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %5, %6 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %9, i32 noundef %10) %12 = call i32 @exit(i32 noundef 1) #3 unreachable 13: ; preds = %2 ret i32 0 } declare i32 @printf(ptr noundef, i32 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/tmp6aammmy3.c' source_filename = "/tmp/tmp6aammmy3.c" target datalayout = "e-m:e-p270: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/tmp6aammmy3.c" target datalayout = "e-m:e-p270: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/tmpt7kev96x.c' source_filename = "/tmp/tmpt7kev96x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [62 x i8] c"\0A\0ACaso 1 Errores de redondeo al trabajar con enteros (int).\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"Si obtenemos el resultado esperado: %d * %d= %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"Si obtenemos el resultado esperado: %d + %d= %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Si obtenemos el resultado esperado: %d - %d= %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"\0A\C2\A1Cuidado!\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"No obtenemos el resultado esperado: %d / %d= %d\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"Pero si utilizamos variables de tipo float, \0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"Si obtenemos el resultado esperado: %f / %f= %f\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 10, ptr %2, align 4 store i32 15, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 %12, %13 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = sdiv i32 %33, %34 store i32 %35, ptr %7, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %7, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37, i32 noundef %38, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store float 1.000000e+01, ptr %8, align 4 store float 1.500000e+01, ptr %9, align 4 %42 = load float, ptr %8, align 4 %43 = load float, ptr %9, align 4 %44 = fdiv float %42, %43 store float %44, ptr %10, align 4 %45 = load float, ptr %8, align 4 %46 = fpext float %45 to double %47 = load float, ptr %9, align 4 %48 = fpext float %47 to double %49 = load float, ptr %10, align 4 %50 = fpext float %49 to double %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %46, double noundef %48, double noundef %50) 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/tmpt7kev96x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [62 x i8] c"\0A\0ACaso 1 Errores de redondeo al trabajar con enteros (int).\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [49 x i8] c"Si obtenemos el resultado esperado: %d * %d= %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"Si obtenemos el resultado esperado: %d + %d= %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"Si obtenemos el resultado esperado: %d - %d= %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"\0A\C2\A1Cuidado!\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [50 x i8] c"No obtenemos el resultado esperado: %d / %d= %d\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [47 x i8] c"Pero si utilizamos variables de tipo float, \0A\0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"Si obtenemos el resultado esperado: %f / %f= %f\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 10, ptr %2, align 4 store i32 15, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = mul nsw i32 %12, %13 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = add nsw i32 %15, %16 store i32 %17, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 store i32 %20, ptr %6, align 4 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %21, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %2, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr %2, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %6, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %29, i32 noundef %30, i32 noundef %31) %33 = load i32, ptr %2, align 4 %34 = load i32, ptr %3, align 4 %35 = sdiv i32 %33, %34 store i32 %35, ptr %7, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %3, align 4 %39 = load i32, ptr %7, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %37, i32 noundef %38, i32 noundef %39) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store float 1.000000e+01, ptr %8, align 4 store float 1.500000e+01, ptr %9, align 4 %42 = load float, ptr %8, align 4 %43 = load float, ptr %9, align 4 %44 = fdiv float %42, %43 store float %44, ptr %10, align 4 %45 = load float, ptr %8, align 4 %46 = fpext float %45 to double %47 = load float, ptr %9, align 4 %48 = fpext float %47 to double %49 = load float, ptr %10, align 4 %50 = fpext float %49 to double %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %46, double noundef %48, double noundef %50) 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/tmpg26fzidz.c' source_filename = "/tmp/tmpg26fzidz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_set(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @outb(i32 noundef 980, i32 noundef 10) %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 31, i32 32 %8 = call i32 @outb(i32 noundef 981, i32 noundef %7) ret void } declare i32 @outb(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg26fzidz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @curs_set(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @outb(i32 noundef 980, i32 noundef 10) %4 = load i32, ptr %2, align 4 %5 = icmp ne i32 %4, 0 %6 = zext i1 %5 to i64 %7 = select i1 %5, i32 31, i32 32 %8 = call i32 @outb(i32 noundef 981, i32 noundef %7) ret void } declare i32 @outb(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuy9dp6qu.c' source_filename = "/tmp/tmpuy9dp6qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sinf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fpext float %3 to double %5 = call i64 @sin(double noundef %4) %6 = sitofp i64 %5 to float ret float %6 } declare i64 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuy9dp6qu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @sinf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = fpext float %3 to double %5 = call i64 @sin(double noundef %4) %6 = sitofp i64 %5 to float ret float %6 } declare i64 @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgtf0g83a.c' source_filename = "/tmp/tmpgtf0g83a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mktemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @_mktemp(ptr noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @_mktemp(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgtf0g83a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mktemp(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @_mktemp(ptr noundef %3) %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare i64 @_mktemp(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb8mosbe3.c' source_filename = "/tmp/tmpb8mosbe3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_row(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %12 = load i64, ptr %8, align 8 store i64 %12, ptr %11, align 8 br label %13 13: ; preds = %23, %5 %14 = load i64, ptr %11, align 8 %15 = load i64, ptr %9, align 8 %16 = icmp sle i64 %14, %15 br i1 %16, label %17, label %26 17: ; preds = %13 %18 = load i64, ptr %6, align 8 %19 = load i64, ptr %11, align 8 %20 = load i64, ptr %7, align 8 %21 = load i32, ptr %10, align 4 %22 = call i32 @set_led_8_8_12(i64 noundef %18, i64 noundef %19, i64 noundef %20, i32 noundef %21) br label %23 23: ; preds = %17 %24 = load i64, ptr %11, align 8 %25 = add nsw i64 %24, 1 store i64 %25, ptr %11, align 8 br label %13, !llvm.loop !6 26: ; preds = %13 ret void } declare i32 @set_led_8_8_12(i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8mosbe3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_row(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4) #0 { %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 store i64 %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %12 = load i64, ptr %8, align 8 store i64 %12, ptr %11, align 8 %13 = load i64, ptr %11, align 8 %14 = load i64, ptr %9, align 8 %15 = icmp sle i64 %13, %14 br i1 %15, label %.lr.ph, label %28 .lr.ph: ; preds = %5 br label %16 16: ; preds = %.lr.ph, %22 %17 = load i64, ptr %6, align 8 %18 = load i64, ptr %11, align 8 %19 = load i64, ptr %7, align 8 %20 = load i32, ptr %10, align 4 %21 = call i32 @set_led_8_8_12(i64 noundef %17, i64 noundef %18, i64 noundef %19, i32 noundef %20) br label %22 22: ; preds = %16 %23 = load i64, ptr %11, align 8 %24 = add nsw i64 %23, 1 store i64 %24, ptr %11, align 8 %25 = load i64, ptr %11, align 8 %26 = load i64, ptr %9, align 8 %27 = icmp sle i64 %25, %26 br i1 %27, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %28 28: ; preds = %._crit_edge, %5 ret void } declare i32 @set_led_8_8_12(i64 noundef, i64 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwhfy95mx.c' source_filename = "/tmp/tmpwhfy95mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"petit_shell1...> \00", align 1 @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"Fin du Shell\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Error creathing thread!\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Error executing command: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [256 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca [256 x ptr], align 16 store i32 0, ptr %1, align 4 br label %10 10: ; preds = %0, %106, %131 %11 = load i32, ptr @stdout, align 4 %12 = call i32 @fputs(ptr noundef @.str, i32 noundef %11) %13 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %14 = load i32, ptr @stdin, align 4 %15 = call ptr @fgets(ptr noundef %13, i32 noundef 256, i32 noundef %14) store ptr %15, ptr %8, align 8 %16 = load ptr, ptr %8, align 8 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %23 18: ; preds = %10 %19 = load i32, ptr @stderr, align 4 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.1) %21 = load i32, ptr @EXIT_SUCCESS, align 4 %22 = call i32 @exit(i32 noundef %21) #3 unreachable 23: ; preds = %10 %24 = load ptr, ptr %8, align 8 %25 = call i32 @strlen(ptr noundef %24) store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %28 store i8 0, ptr %29, align 1 %30 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %31 = call i32 @strlen(ptr noundef %30) store i32 %31, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %32 32: ; preds = %98, %23 %33 = load i32, ptr %4, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %103 36: ; preds = %32 br label %37 37: ; preds = %53, %36 %38 = load i32, ptr %4, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 32 br i1 %43, label %51, label %44 44: ; preds = %37 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 9 br label %51 51: ; preds = %44, %37 %52 = phi i1 [ true, %37 ], [ %50, %44 ] br i1 %52, label %53, label %56 53: ; preds = %51 %54 = load i32, ptr %4, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %4, align 4 br label %37, !llvm.loop !6 56: ; preds = %51 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp eq i32 %61, 0 br i1 %62, label %63, label %64 63: ; preds = %56 br label %103 64: ; preds = %56 %65 = load i32, ptr %4, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %66 %68 = load i32, ptr %5, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %5, align 4 %70 = sext i32 %68 to i64 %71 = getelementptr inbounds [256 x ptr], ptr %9, i64 0, i64 %70 store ptr %67, ptr %71, align 8 br label %72 72: ; preds = %95, %64 %73 = load i32, ptr %4, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = icmp ne i32 %77, 32 br i1 %78, label %79, label %93 79: ; preds = %72 %80 = load i32, ptr %4, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %81 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp ne i32 %84, 9 br i1 %85, label %86, label %93 86: ; preds = %79 %87 = load i32, ptr %4, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %88 %90 = load i8, ptr %89, align 1 %91 = sext i8 %90 to i32 %92 = icmp ne i32 %91, 0 br label %93 93: ; preds = %86, %79, %72 %94 = phi i1 [ false, %79 ], [ false, %72 ], [ %92, %86 ] br i1 %94, label %95, label %98 95: ; preds = %93 %96 = load i32, ptr %4, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %4, align 4 br label %72, !llvm.loop !8 98: ; preds = %93 %99 = load i32, ptr %4, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %4, align 4 %101 = sext i32 %99 to i64 %102 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %101 store i8 0, ptr %102, align 1 br label %32, !llvm.loop !9 103: ; preds = %63, %32 %104 = load i32, ptr %5, align 4 %105 = icmp eq i32 %104, 0 br i1 %105, label %106, label %107 106: ; preds = %103 br label %10 107: ; preds = %103 %108 = load i32, ptr %5, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [256 x ptr], ptr %9, i64 0, i64 %109 store ptr null, ptr %110, align 8 %111 = call i32 (...) @fork() store i32 %111, ptr %2, align 4 %112 = load i32, ptr %2, align 4 switch i32 %112, label %129 [ i32 -1, label %113 i32 0, label %116 ] 113: ; preds = %107 %114 = load i32, ptr @stderr, align 4 %115 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %114, ptr noundef @.str.2) br label %131 116: ; preds = %107 %117 = load ptr, ptr %8, align 8 %118 = getelementptr inbounds [256 x ptr], ptr %9, i64 0, i64 0 %119 = call i32 @execvp(ptr noundef %117, ptr noundef %118) store i32 %119, ptr %6, align 4 %120 = load i32, ptr %6, align 4 %121 = icmp ne i32 %120, 0 br i1 %121, label %122, label %126 122: ; preds = %116 %123 = load i32, ptr @stderr, align 4 %124 = load ptr, ptr %8, align 8 %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %123, ptr noundef @.str.3, ptr noundef %124) br label %126 126: ; preds = %122, %116 %127 = load i32, ptr %6, align 4 %128 = call i32 @exit(i32 noundef %127) #3 unreachable 129: ; preds = %107 %130 = call i32 @wait(ptr noundef null) br label %131 131: ; preds = %129, %113 br label %10 } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strlen(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwhfy95mx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"petit_shell1...> \00", align 1 @stdout = dso_local global i32 0, align 4 @stdin = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [14 x i8] c"Fin du Shell\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Error creathing thread!\00", align 1 @.str.3 = private unnamed_addr constant [29 x i8] c"Error executing command: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [256 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca [256 x ptr], align 16 store i32 0, ptr %1, align 4 %10 = load i32, ptr @stdout, align 4 %11 = call i32 @fputs(ptr noundef @.str, i32 noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %13 = load i32, ptr @stdin, align 4 %14 = call ptr @fgets(ptr noundef %12, i32 noundef 256, i32 noundef %13) store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %.lr.ph1 .lr.ph1: ; preds = %0 br label %22 ._crit_edge: ; preds = %.backedge br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr @stderr, align 4 %19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str.1) %20 = load i32, ptr @EXIT_SUCCESS, align 4 %21 = call i32 @exit(i32 noundef %20) #3 unreachable 22: ; preds = %.lr.ph1, %.backedge %23 = load ptr, ptr %8, align 8 %24 = call i32 @strlen(ptr noundef %23) store i32 %24, ptr %3, align 4 %25 = load i32, ptr %3, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %27 store i8 0, ptr %28, align 1 %29 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %30 = call i32 @strlen(ptr noundef %29) store i32 %30, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %22 br label %34 34: ; preds = %.lr.ph, %96 br label %35 35: ; preds = %51, %34 %36 = load i32, ptr %4, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp eq i32 %40, 32 br i1 %41, label %49, label %42 42: ; preds = %35 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp eq i32 %47, 9 br label %49 49: ; preds = %42, %35 %50 = phi i1 [ true, %35 ], [ %48, %42 ] br i1 %50, label %51, label %54 51: ; preds = %49 %52 = load i32, ptr %4, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %4, align 4 br label %35, !llvm.loop !6 54: ; preds = %49 %55 = load i32, ptr %4, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %54 br label %104 62: ; preds = %54 %63 = load i32, ptr %4, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %64 %66 = load i32, ptr %5, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %5, align 4 %68 = sext i32 %66 to i64 %69 = getelementptr inbounds [256 x ptr], ptr %9, i64 0, i64 %68 store ptr %65, ptr %69, align 8 br label %70 70: ; preds = %93, %62 %71 = load i32, ptr %4, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %72 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp ne i32 %75, 32 br i1 %76, label %77, label %91 77: ; preds = %70 %78 = load i32, ptr %4, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 9 br i1 %83, label %84, label %91 84: ; preds = %77 %85 = load i32, ptr %4, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp ne i32 %89, 0 br label %91 91: ; preds = %84, %77, %70 %92 = phi i1 [ false, %77 ], [ false, %70 ], [ %90, %84 ] br i1 %92, label %93, label %96 93: ; preds = %91 %94 = load i32, ptr %4, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %4, align 4 br label %70, !llvm.loop !8 96: ; preds = %91 %97 = load i32, ptr %4, align 4 %98 = add nsw i32 %97, 1 store i32 %98, ptr %4, align 4 %99 = sext i32 %97 to i64 %100 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 %99 store i8 0, ptr %100, align 1 %101 = load i32, ptr %4, align 4 %102 = load i32, ptr %3, align 4 %103 = icmp slt i32 %101, %102 br i1 %103, label %34, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %96 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %22 br label %104 104: ; preds = %.loopexit, %61 %105 = load i32, ptr %5, align 4 %106 = icmp eq i32 %105, 0 br i1 %106, label %107, label %114 107: ; preds = %104 br label %.backedge .backedge: ; preds = %107, %138 %108 = load i32, ptr @stdout, align 4 %109 = call i32 @fputs(ptr noundef @.str, i32 noundef %108) %110 = load i32, ptr @stdin, align 4 %111 = call ptr @fgets(ptr noundef %12, i32 noundef 256, i32 noundef %110) store ptr %111, ptr %8, align 8 %112 = load ptr, ptr %8, align 8 %113 = icmp eq ptr %112, null br i1 %113, label %._crit_edge, label %22 114: ; preds = %104 %115 = load i32, ptr %5, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [256 x ptr], ptr %9, i64 0, i64 %116 store ptr null, ptr %117, align 8 %118 = call i32 (...) @fork() store i32 %118, ptr %2, align 4 %119 = load i32, ptr %2, align 4 switch i32 %119, label %136 [ i32 -1, label %120 i32 0, label %123 ] 120: ; preds = %114 %121 = load i32, ptr @stderr, align 4 %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %121, ptr noundef @.str.2) br label %138 123: ; preds = %114 %124 = load ptr, ptr %8, align 8 %125 = getelementptr inbounds [256 x ptr], ptr %9, i64 0, i64 0 %126 = call i32 @execvp(ptr noundef %124, ptr noundef %125) store i32 %126, ptr %6, align 4 %127 = load i32, ptr %6, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %129, label %133 129: ; preds = %123 %130 = load i32, ptr @stderr, align 4 %131 = load ptr, ptr %8, align 8 %132 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %130, ptr noundef @.str.3, ptr noundef %131) br label %133 133: ; preds = %129, %123 %134 = load i32, ptr %6, align 4 %135 = call i32 @exit(i32 noundef %134) #3 unreachable 136: ; preds = %114 %137 = call i32 @wait(ptr noundef null) br label %138 138: ; preds = %136, %120 br label %.backedge } declare i32 @fputs(ptr noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strlen(ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @execvp(ptr noundef, ptr noundef) #1 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpb9s6lyv7.c' source_filename = "/tmp/tmpb9s6lyv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c" flow network: convergence in gas iteration %d \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"\0A divergence; the increment size is decreased to %e\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c" the increment is reattempted\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c" no convergence\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkconvnet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25) #0 { %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca i32, align 4 %54 = alloca i32, align 4 %55 = alloca i32, align 4 %56 = alloca i32, align 4 %57 = alloca i32, align 4 %58 = alloca i32, align 4 %59 = alloca i32, align 4 %60 = alloca i32, align 4 %61 = alloca double, align 8 %62 = alloca double, align 8 %63 = alloca double, align 8 %64 = alloca double, align 8 %65 = alloca double, align 8 %66 = alloca double, align 8 %67 = alloca double, align 8 %68 = alloca double, align 8 %69 = alloca double, align 8 %70 = alloca double, align 8 %71 = alloca double, align 8 %72 = alloca double, align 8 %73 = alloca double, align 8 %74 = alloca double, align 8 store ptr %0, ptr %27, align 8 store ptr %1, ptr %28, align 8 store ptr %2, ptr %29, align 8 store ptr %3, ptr %30, align 8 store ptr %4, ptr %31, align 8 store ptr %5, ptr %32, align 8 store ptr %6, ptr %33, align 8 store ptr %7, ptr %34, align 8 store ptr %8, ptr %35, align 8 store ptr %9, ptr %36, align 8 store ptr %10, ptr %37, align 8 store ptr %11, ptr %38, align 8 store ptr %12, ptr %39, align 8 store ptr %13, ptr %40, align 8 store ptr %14, ptr %41, align 8 store ptr %15, ptr %42, align 8 store ptr %16, ptr %43, align 8 store ptr %17, ptr %44, align 8 store ptr %18, ptr %45, align 8 store ptr %19, ptr %46, align 8 store ptr %20, ptr %47, align 8 store ptr %21, ptr %48, align 8 store ptr %22, ptr %49, align 8 store ptr %23, ptr %50, align 8 store ptr %24, ptr %51, align 8 store ptr %25, ptr %52, align 8 %75 = load ptr, ptr %43, align 8 %76 = getelementptr inbounds double, ptr %75, i64 0 %77 = load double, ptr %76, align 8 %78 = fptosi double %77 to i32 store i32 %78, ptr %53, align 4 %79 = load ptr, ptr %43, align 8 %80 = getelementptr inbounds double, ptr %79, i64 1 %81 = load double, ptr %80, align 8 %82 = fptosi double %81 to i32 store i32 %82, ptr %54, align 4 %83 = load ptr, ptr %43, align 8 %84 = getelementptr inbounds double, ptr %83, i64 2 %85 = load double, ptr %84, align 8 %86 = fptosi double %85 to i32 store i32 %86, ptr %55, align 4 %87 = load ptr, ptr %43, align 8 %88 = getelementptr inbounds double, ptr %87, i64 3 %89 = load double, ptr %88, align 8 %90 = fptosi double %89 to i32 store i32 %90, ptr %56, align 4 %91 = load ptr, ptr %43, align 8 %92 = getelementptr inbounds double, ptr %91, i64 4 %93 = load double, ptr %92, align 8 %94 = fptosi double %93 to i32 store i32 %94, ptr %57, align 4 %95 = load ptr, ptr %43, align 8 %96 = getelementptr inbounds double, ptr %95, i64 5 %97 = load double, ptr %96, align 8 %98 = fptosi double %97 to i32 store i32 %98, ptr %58, align 4 %99 = load ptr, ptr %43, align 8 %100 = getelementptr inbounds double, ptr %99, i64 7 %101 = load double, ptr %100, align 8 %102 = fptosi double %101 to i32 store i32 %102, ptr %59, align 4 %103 = load ptr, ptr %43, align 8 %104 = getelementptr inbounds double, ptr %103, i64 10 %105 = load double, ptr %104, align 8 store double %105, ptr %65, align 8 %106 = load ptr, ptr %43, align 8 %107 = getelementptr inbounds double, ptr %106, i64 11 %108 = load double, ptr %107, align 8 store double %108, ptr %66, align 8 %109 = load ptr, ptr %43, align 8 %110 = getelementptr inbounds double, ptr %109, i64 12 %111 = load double, ptr %110, align 8 store double %111, ptr %67, align 8 %112 = load ptr, ptr %43, align 8 %113 = getelementptr inbounds double, ptr %112, i64 16 %114 = load double, ptr %113, align 8 store double %114, ptr %68, align 8 %115 = load ptr, ptr %43, align 8 %116 = getelementptr inbounds double, ptr %115, i64 18 %117 = load double, ptr %116, align 8 store double %117, ptr %69, align 8 %118 = load ptr, ptr %43, align 8 %119 = getelementptr inbounds double, ptr %118, i64 19 %120 = load double, ptr %119, align 8 store double %120, ptr %70, align 8 %121 = load ptr, ptr %43, align 8 %122 = getelementptr inbounds double, ptr %121, i64 22 %123 = load double, ptr %122, align 8 store double %123, ptr %71, align 8 %124 = load ptr, ptr %43, align 8 %125 = getelementptr inbounds double, ptr %124, i64 23 %126 = load double, ptr %125, align 8 store double %126, ptr %72, align 8 %127 = load ptr, ptr %43, align 8 %128 = getelementptr inbounds double, ptr %127, i64 24 %129 = load double, ptr %128, align 8 store double %129, ptr %73, align 8 %130 = load ptr, ptr %43, align 8 %131 = getelementptr inbounds double, ptr %130, i64 25 %132 = load double, ptr %131, align 8 store double %132, ptr %74, align 8 %133 = load ptr, ptr %28, align 8 %134 = load i32, ptr %133, align 4 %135 = load i32, ptr %55, align 4 %136 = icmp sle i32 %134, %135 br i1 %136, label %137, label %140 137: ; preds = %26 %138 = load double, ptr %69, align 8 %139 = fmul double 1.000000e-04, %138 store double %139, ptr %61, align 8 br label %143 140: ; preds = %26 %141 = load double, ptr %71, align 8 %142 = fmul double 1.000000e-04, %141 store double %142, ptr %61, align 8 br label %143 143: ; preds = %140, %137 %144 = load ptr, ptr %28, align 8 %145 = load i32, ptr %144, align 4 %146 = load i32, ptr %55, align 4 %147 = icmp sle i32 %145, %146 br i1 %147, label %148, label %151 148: ; preds = %143 %149 = load double, ptr %69, align 8 %150 = fmul double 1.000000e-04, %149 store double %150, ptr %62, align 8 br label %154 151: ; preds = %143 %152 = load double, ptr %71, align 8 %153 = fmul double 1.000000e-04, %152 store double %153, ptr %62, align 8 br label %154 154: ; preds = %151, %148 %155 = load ptr, ptr %28, align 8 %156 = load i32, ptr %155, align 4 %157 = load i32, ptr %55, align 4 %158 = icmp sle i32 %156, %157 br i1 %158, label %159, label %162 159: ; preds = %154 %160 = load double, ptr %69, align 8 %161 = fmul double 1.000000e-04, %160 store double %161, ptr %63, align 8 br label %165 162: ; preds = %154 %163 = load double, ptr %71, align 8 %164 = fmul double 1.000000e-04, %163 store double %164, ptr %63, align 8 br label %165 165: ; preds = %162, %159 %166 = load ptr, ptr %28, align 8 %167 = load i32, ptr %166, align 4 %168 = load i32, ptr %55, align 4 %169 = icmp sle i32 %167, %168 br i1 %169, label %170, label %173 170: ; preds = %165 %171 = load double, ptr %69, align 8 %172 = fmul double 1.000000e-04, %171 store double %172, ptr %64, align 8 br label %176 173: ; preds = %165 %174 = load double, ptr %71, align 8 %175 = fmul double 1.000000e-04, %174 store double %175, ptr %64, align 8 br label %176 176: ; preds = %173, %170 %177 = load ptr, ptr %32, align 8 %178 = load double, ptr %177, align 8 %179 = load ptr, ptr %35, align 8 %180 = load double, ptr %179, align 8 %181 = fcmp olt double %178, %180 br i1 %181, label %182, label %186 182: ; preds = %176 %183 = load ptr, ptr %32, align 8 %184 = load double, ptr %183, align 8 %185 = load ptr, ptr %35, align 8 store double %184, ptr %185, align 8 br label %186 186: ; preds = %182, %176 %187 = load ptr, ptr %33, align 8 %188 = load double, ptr %187, align 8 %189 = load ptr, ptr %36, align 8 %190 = load double, ptr %189, align 8 %191 = fcmp olt double %188, %190 br i1 %191, label %192, label %196 192: ; preds = %186 %193 = load ptr, ptr %33, align 8 %194 = load double, ptr %193, align 8 %195 = load ptr, ptr %36, align 8 store double %194, ptr %195, align 8 br label %196 196: ; preds = %192, %186 %197 = load ptr, ptr %34, align 8 %198 = load double, ptr %197, align 8 %199 = load ptr, ptr %37, align 8 %200 = load double, ptr %199, align 8 %201 = fcmp olt double %198, %200 br i1 %201, label %202, label %206 202: ; preds = %196 %203 = load ptr, ptr %34, align 8 %204 = load double, ptr %203, align 8 %205 = load ptr, ptr %37, align 8 store double %204, ptr %205, align 8 br label %206 206: ; preds = %202, %196 %207 = load ptr, ptr %45, align 8 %208 = load double, ptr %207, align 8 %209 = load ptr, ptr %46, align 8 %210 = load double, ptr %209, align 8 %211 = fcmp olt double %208, %210 br i1 %211, label %212, label %216 212: ; preds = %206 %213 = load ptr, ptr %45, align 8 %214 = load double, ptr %213, align 8 %215 = load ptr, ptr %46, align 8 store double %214, ptr %215, align 8 br label %216 216: ; preds = %212, %206 %217 = load ptr, ptr %38, align 8 %218 = load double, ptr %217, align 8 %219 = load double, ptr %61, align 8 %220 = load ptr, ptr %29, align 8 %221 = load double, ptr %220, align 8 %222 = fmul double %219, %221 %223 = fcmp ole double %218, %222 br i1 %223, label %232, label %224 224: ; preds = %216 %225 = load ptr, ptr %38, align 8 %226 = load double, ptr %225, align 8 %227 = load double, ptr %61, align 8 %228 = load ptr, ptr %48, align 8 %229 = load double, ptr %228, align 8 %230 = fmul double %227, %229 %231 = fcmp olt double %226, %230 br i1 %231, label %232, label %290 232: ; preds = %224, %216 %233 = load ptr, ptr %39, align 8 %234 = load double, ptr %233, align 8 %235 = load double, ptr %62, align 8 %236 = load ptr, ptr %30, align 8 %237 = load double, ptr %236, align 8 %238 = fmul double %235, %237 %239 = fcmp ole double %234, %238 br i1 %239, label %248, label %240 240: ; preds = %232 %241 = load ptr, ptr %39, align 8 %242 = load double, ptr %241, align 8 %243 = load double, ptr %62, align 8 %244 = load ptr, ptr %49, align 8 %245 = load double, ptr %244, align 8 %246 = fmul double %243, %245 %247 = fcmp olt double %242, %246 br i1 %247, label %248, label %290 248: ; preds = %240, %232 %249 = load ptr, ptr %40, align 8 %250 = load double, ptr %249, align 8 %251 = load double, ptr %63, align 8 %252 = load ptr, ptr %31, align 8 %253 = load double, ptr %252, align 8 %254 = fmul double %251, %253 %255 = fcmp ole double %250, %254 br i1 %255, label %264, label %256 256: ; preds = %248 %257 = load ptr, ptr %40, align 8 %258 = load double, ptr %257, align 8 %259 = load double, ptr %63, align 8 %260 = load ptr, ptr %50, align 8 %261 = load double, ptr %260, align 8 %262 = fmul double %259, %261 %263 = fcmp olt double %258, %262 br i1 %263, label %264, label %290 264: ; preds = %256, %248 %265 = load ptr, ptr %47, align 8 %266 = load double, ptr %265, align 8 %267 = load double, ptr %64, align 8 %268 = load ptr, ptr %44, align 8 %269 = load double, ptr %268, align 8 %270 = fmul double %267, %269 %271 = fcmp ole double %266, %270 br i1 %271, label %280, label %272 272: ; preds = %264 %273 = load ptr, ptr %47, align 8 %274 = load double, ptr %273, align 8 %275 = load double, ptr %64, align 8 %276 = load ptr, ptr %51, align 8 %277 = load double, ptr %276, align 8 %278 = fmul double %275, %277 %279 = fcmp olt double %274, %278 br i1 %279, label %280, label %290 280: ; preds = %272, %264 %281 = load ptr, ptr %28, align 8 %282 = load i32, ptr %281, align 4 %283 = icmp sgt i32 %282, 3 br i1 %283, label %284, label %290 284: ; preds = %280 %285 = load ptr, ptr %28, align 8 %286 = load i32, ptr %285, align 4 %287 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %286) %288 = load ptr, ptr %41, align 8 store i32 1, ptr %288, align 4 %289 = load ptr, ptr %27, align 8 store i32 0, ptr %289, align 4 br label %463 290: ; preds = %280, %272, %256, %240, %224 store i32 0, ptr %60, align 4 %291 = load ptr, ptr %28, align 8 %292 = load i32, ptr %291, align 4 %293 = load i32, ptr %53, align 4 %294 = mul nsw i32 20, %293 %295 = icmp sge i32 %292, %294 br i1 %295, label %301, label %296 296: ; preds = %290 %297 = load ptr, ptr %38, align 8 %298 = load double, ptr %297, align 8 %299 = call double @llvm.fabs.f64(double %298) %300 = fcmp ogt double %299, 1.000000e+20 br i1 %300, label %301, label %323 301: ; preds = %296, %290 %302 = load ptr, ptr %32, align 8 %303 = load double, ptr %302, align 8 %304 = load ptr, ptr %35, align 8 %305 = load double, ptr %304, align 8 %306 = fcmp oge double %303, %305 br i1 %306, label %307, label %322 307: ; preds = %301 %308 = load ptr, ptr %38, align 8 %309 = load double, ptr %308, align 8 %310 = load ptr, ptr %35, align 8 %311 = load double, ptr %310, align 8 %312 = fcmp oge double %309, %311 br i1 %312, label %313, label %322 313: ; preds = %307 %314 = load ptr, ptr %38, align 8 %315 = load double, ptr %314, align 8 %316 = load double, ptr %61, align 8 %317 = load ptr, ptr %29, align 8 %318 = load double, ptr %317, align 8 %319 = fmul double %316, %318 %320 = fcmp ogt double %315, %319 br i1 %320, label %321, label %322 321: ; preds = %313 store i32 1, ptr %60, align 4 br label %322 322: ; preds = %321, %313, %307, %301 br label %323 323: ; preds = %322, %296 %324 = load ptr, ptr %28, align 8 %325 = load i32, ptr %324, align 4 %326 = load i32, ptr %53, align 4 %327 = mul nsw i32 20, %326 %328 = icmp sge i32 %325, %327 br i1 %328, label %334, label %329 329: ; preds = %323 %330 = load ptr, ptr %39, align 8 %331 = load double, ptr %330, align 8 %332 = call double @llvm.fabs.f64(double %331) %333 = fcmp ogt double %332, 1.000000e+20 br i1 %333, label %334, label %356 334: ; preds = %329, %323 %335 = load ptr, ptr %33, align 8 %336 = load double, ptr %335, align 8 %337 = load ptr, ptr %36, align 8 %338 = load double, ptr %337, align 8 %339 = fcmp oge double %336, %338 br i1 %339, label %340, label %355 340: ; preds = %334 %341 = load ptr, ptr %39, align 8 %342 = load double, ptr %341, align 8 %343 = load ptr, ptr %36, align 8 %344 = load double, ptr %343, align 8 %345 = fcmp oge double %342, %344 br i1 %345, label %346, label %355 346: ; preds = %340 %347 = load ptr, ptr %39, align 8 %348 = load double, ptr %347, align 8 %349 = load double, ptr %62, align 8 %350 = load ptr, ptr %30, align 8 %351 = load double, ptr %350, align 8 %352 = fmul double %349, %351 %353 = fcmp ogt double %348, %352 br i1 %353, label %354, label %355 354: ; preds = %346 store i32 1, ptr %60, align 4 br label %355 355: ; preds = %354, %346, %340, %334 br label %356 356: ; preds = %355, %329 %357 = load ptr, ptr %28, align 8 %358 = load i32, ptr %357, align 4 %359 = load i32, ptr %53, align 4 %360 = mul nsw i32 20, %359 %361 = icmp sge i32 %358, %360 br i1 %361, label %367, label %362 362: ; preds = %356 %363 = load ptr, ptr %40, align 8 %364 = load double, ptr %363, align 8 %365 = call double @llvm.fabs.f64(double %364) %366 = fcmp ogt double %365, 1.000000e+20 br i1 %366, label %367, label %389 367: ; preds = %362, %356 %368 = load ptr, ptr %34, align 8 %369 = load double, ptr %368, align 8 %370 = load ptr, ptr %37, align 8 %371 = load double, ptr %370, align 8 %372 = fcmp oge double %369, %371 br i1 %372, label %373, label %388 373: ; preds = %367 %374 = load ptr, ptr %40, align 8 %375 = load double, ptr %374, align 8 %376 = load ptr, ptr %37, align 8 %377 = load double, ptr %376, align 8 %378 = fcmp oge double %375, %377 br i1 %378, label %379, label %388 379: ; preds = %373 %380 = load ptr, ptr %40, align 8 %381 = load double, ptr %380, align 8 %382 = load double, ptr %63, align 8 %383 = load ptr, ptr %31, align 8 %384 = load double, ptr %383, align 8 %385 = fmul double %382, %384 %386 = fcmp ogt double %381, %385 br i1 %386, label %387, label %388 387: ; preds = %379 store i32 1, ptr %60, align 4 br label %388 388: ; preds = %387, %379, %373, %367 br label %389 389: ; preds = %388, %362 %390 = load ptr, ptr %28, align 8 %391 = load i32, ptr %390, align 4 %392 = load i32, ptr %53, align 4 %393 = mul nsw i32 20, %392 %394 = icmp sge i32 %391, %393 br i1 %394, label %400, label %395 395: ; preds = %389 %396 = load ptr, ptr %47, align 8 %397 = load double, ptr %396, align 8 %398 = call double @llvm.fabs.f64(double %397) %399 = fcmp ogt double %398, 1.000000e+20 br i1 %399, label %400, label %422 400: ; preds = %395, %389 %401 = load ptr, ptr %45, align 8 %402 = load double, ptr %401, align 8 %403 = load ptr, ptr %46, align 8 %404 = load double, ptr %403, align 8 %405 = fcmp oge double %402, %404 br i1 %405, label %406, label %421 406: ; preds = %400 %407 = load ptr, ptr %47, align 8 %408 = load double, ptr %407, align 8 %409 = load ptr, ptr %46, align 8 %410 = load double, ptr %409, align 8 %411 = fcmp oge double %408, %410 br i1 %411, label %412, label %421 412: ; preds = %406 %413 = load ptr, ptr %47, align 8 %414 = load double, ptr %413, align 8 %415 = load double, ptr %64, align 8 %416 = load ptr, ptr %44, align 8 %417 = load double, ptr %416, align 8 %418 = fmul double %415, %417 %419 = fcmp ogt double %414, %418 br i1 %419, label %420, label %421 420: ; preds = %412 store i32 1, ptr %60, align 4 br label %421 421: ; preds = %420, %412, %406, %400 br label %422 422: ; preds = %421, %395 %423 = load ptr, ptr %28, align 8 %424 = load i32, ptr %423, align 4 %425 = load i32, ptr %56, align 4 %426 = mul nsw i32 20, %425 %427 = icmp sgt i32 %424, %426 br i1 %427, label %428, label %429 428: ; preds = %422 store i32 1, ptr %60, align 4 br label %429 429: ; preds = %428, %422 %430 = load ptr, ptr %28, align 8 %431 = load i32, ptr %430, align 4 %432 = icmp eq i32 %431, 0 br i1 %432, label %433, label %434 433: ; preds = %429 store i32 1, ptr %60, align 4 br label %434 434: ; preds = %433, %429 %435 = load i32, ptr %60, align 4 %436 = icmp eq i32 %435, 1 br i1 %436, label %437, label %460 437: ; preds = %434 %438 = load ptr, ptr %42, align 8 %439 = load double, ptr %438, align 8 %440 = load double, ptr %65, align 8 %441 = fmul double %439, %440 %442 = load ptr, ptr %42, align 8 store double %441, ptr %442, align 8 %443 = load ptr, ptr %42, align 8 %444 = load double, ptr %443, align 8 %445 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %444) %446 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %447 = load ptr, ptr %28, align 8 store i32 0, ptr %447, align 4 %448 = load ptr, ptr %27, align 8 %449 = load i32, ptr %448, align 4 %450 = add nsw i32 %449, 1 store i32 %450, ptr %448, align 4 %451 = load ptr, ptr %27, align 8 %452 = load i32, ptr %451, align 4 %453 = load i32, ptr %59, align 4 %454 = icmp sgt i32 %452, %453 br i1 %454, label %455, label %459 455: ; preds = %437 %456 = load ptr, ptr %52, align 8 %457 = getelementptr inbounds double, ptr %456, i64 2 store double 2.500000e-01, ptr %457, align 8 %458 = load ptr, ptr %41, align 8 store i32 1, ptr %458, align 4 br label %459 459: ; preds = %455, %437 br label %462 460: ; preds = %434 %461 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %462 462: ; preds = %460, %459 br label %463 463: ; preds = %462, %284 ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(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/tmpb9s6lyv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [55 x i8] c" flow network: convergence in gas iteration %d \0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"\0A divergence; the increment size is decreased to %e\0A\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c" the increment is reattempted\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c" no convergence\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkconvnet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25) #0 { %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca ptr, align 8 %40 = alloca ptr, align 8 %41 = alloca ptr, align 8 %42 = alloca ptr, align 8 %43 = alloca ptr, align 8 %44 = alloca ptr, align 8 %45 = alloca ptr, align 8 %46 = alloca ptr, align 8 %47 = alloca ptr, align 8 %48 = alloca ptr, align 8 %49 = alloca ptr, align 8 %50 = alloca ptr, align 8 %51 = alloca ptr, align 8 %52 = alloca ptr, align 8 %53 = alloca i32, align 4 %54 = alloca i32, align 4 %55 = alloca i32, align 4 %56 = alloca i32, align 4 %57 = alloca i32, align 4 %58 = alloca i32, align 4 %59 = alloca i32, align 4 %60 = alloca i32, align 4 %61 = alloca double, align 8 %62 = alloca double, align 8 %63 = alloca double, align 8 %64 = alloca double, align 8 %65 = alloca double, align 8 %66 = alloca double, align 8 %67 = alloca double, align 8 %68 = alloca double, align 8 %69 = alloca double, align 8 %70 = alloca double, align 8 %71 = alloca double, align 8 %72 = alloca double, align 8 %73 = alloca double, align 8 %74 = alloca double, align 8 store ptr %0, ptr %27, align 8 store ptr %1, ptr %28, align 8 store ptr %2, ptr %29, align 8 store ptr %3, ptr %30, align 8 store ptr %4, ptr %31, align 8 store ptr %5, ptr %32, align 8 store ptr %6, ptr %33, align 8 store ptr %7, ptr %34, align 8 store ptr %8, ptr %35, align 8 store ptr %9, ptr %36, align 8 store ptr %10, ptr %37, align 8 store ptr %11, ptr %38, align 8 store ptr %12, ptr %39, align 8 store ptr %13, ptr %40, align 8 store ptr %14, ptr %41, align 8 store ptr %15, ptr %42, align 8 store ptr %16, ptr %43, align 8 store ptr %17, ptr %44, align 8 store ptr %18, ptr %45, align 8 store ptr %19, ptr %46, align 8 store ptr %20, ptr %47, align 8 store ptr %21, ptr %48, align 8 store ptr %22, ptr %49, align 8 store ptr %23, ptr %50, align 8 store ptr %24, ptr %51, align 8 store ptr %25, ptr %52, align 8 %75 = load ptr, ptr %43, align 8 %76 = getelementptr inbounds double, ptr %75, i64 0 %77 = load double, ptr %76, align 8 %78 = fptosi double %77 to i32 store i32 %78, ptr %53, align 4 %79 = load ptr, ptr %43, align 8 %80 = getelementptr inbounds double, ptr %79, i64 1 %81 = load double, ptr %80, align 8 %82 = fptosi double %81 to i32 store i32 %82, ptr %54, align 4 %83 = load ptr, ptr %43, align 8 %84 = getelementptr inbounds double, ptr %83, i64 2 %85 = load double, ptr %84, align 8 %86 = fptosi double %85 to i32 store i32 %86, ptr %55, align 4 %87 = load ptr, ptr %43, align 8 %88 = getelementptr inbounds double, ptr %87, i64 3 %89 = load double, ptr %88, align 8 %90 = fptosi double %89 to i32 store i32 %90, ptr %56, align 4 %91 = load ptr, ptr %43, align 8 %92 = getelementptr inbounds double, ptr %91, i64 4 %93 = load double, ptr %92, align 8 %94 = fptosi double %93 to i32 store i32 %94, ptr %57, align 4 %95 = load ptr, ptr %43, align 8 %96 = getelementptr inbounds double, ptr %95, i64 5 %97 = load double, ptr %96, align 8 %98 = fptosi double %97 to i32 store i32 %98, ptr %58, align 4 %99 = load ptr, ptr %43, align 8 %100 = getelementptr inbounds double, ptr %99, i64 7 %101 = load double, ptr %100, align 8 %102 = fptosi double %101 to i32 store i32 %102, ptr %59, align 4 %103 = load ptr, ptr %43, align 8 %104 = getelementptr inbounds double, ptr %103, i64 10 %105 = load double, ptr %104, align 8 store double %105, ptr %65, align 8 %106 = load ptr, ptr %43, align 8 %107 = getelementptr inbounds double, ptr %106, i64 11 %108 = load double, ptr %107, align 8 store double %108, ptr %66, align 8 %109 = load ptr, ptr %43, align 8 %110 = getelementptr inbounds double, ptr %109, i64 12 %111 = load double, ptr %110, align 8 store double %111, ptr %67, align 8 %112 = load ptr, ptr %43, align 8 %113 = getelementptr inbounds double, ptr %112, i64 16 %114 = load double, ptr %113, align 8 store double %114, ptr %68, align 8 %115 = load ptr, ptr %43, align 8 %116 = getelementptr inbounds double, ptr %115, i64 18 %117 = load double, ptr %116, align 8 store double %117, ptr %69, align 8 %118 = load ptr, ptr %43, align 8 %119 = getelementptr inbounds double, ptr %118, i64 19 %120 = load double, ptr %119, align 8 store double %120, ptr %70, align 8 %121 = load ptr, ptr %43, align 8 %122 = getelementptr inbounds double, ptr %121, i64 22 %123 = load double, ptr %122, align 8 store double %123, ptr %71, align 8 %124 = load ptr, ptr %43, align 8 %125 = getelementptr inbounds double, ptr %124, i64 23 %126 = load double, ptr %125, align 8 store double %126, ptr %72, align 8 %127 = load ptr, ptr %43, align 8 %128 = getelementptr inbounds double, ptr %127, i64 24 %129 = load double, ptr %128, align 8 store double %129, ptr %73, align 8 %130 = load ptr, ptr %43, align 8 %131 = getelementptr inbounds double, ptr %130, i64 25 %132 = load double, ptr %131, align 8 store double %132, ptr %74, align 8 %133 = load ptr, ptr %28, align 8 %134 = load i32, ptr %133, align 4 %135 = load i32, ptr %55, align 4 %136 = icmp sle i32 %134, %135 br i1 %136, label %137, label %140 137: ; preds = %26 %138 = load double, ptr %69, align 8 %139 = fmul double 1.000000e-04, %138 store double %139, ptr %61, align 8 br label %143 140: ; preds = %26 %141 = load double, ptr %71, align 8 %142 = fmul double 1.000000e-04, %141 store double %142, ptr %61, align 8 br label %143 143: ; preds = %140, %137 %144 = load ptr, ptr %28, align 8 %145 = load i32, ptr %144, align 4 %146 = load i32, ptr %55, align 4 %147 = icmp sle i32 %145, %146 br i1 %147, label %148, label %151 148: ; preds = %143 %149 = load double, ptr %69, align 8 %150 = fmul double 1.000000e-04, %149 store double %150, ptr %62, align 8 br label %154 151: ; preds = %143 %152 = load double, ptr %71, align 8 %153 = fmul double 1.000000e-04, %152 store double %153, ptr %62, align 8 br label %154 154: ; preds = %151, %148 %155 = load ptr, ptr %28, align 8 %156 = load i32, ptr %155, align 4 %157 = load i32, ptr %55, align 4 %158 = icmp sle i32 %156, %157 br i1 %158, label %159, label %162 159: ; preds = %154 %160 = load double, ptr %69, align 8 %161 = fmul double 1.000000e-04, %160 store double %161, ptr %63, align 8 br label %165 162: ; preds = %154 %163 = load double, ptr %71, align 8 %164 = fmul double 1.000000e-04, %163 store double %164, ptr %63, align 8 br label %165 165: ; preds = %162, %159 %166 = load ptr, ptr %28, align 8 %167 = load i32, ptr %166, align 4 %168 = load i32, ptr %55, align 4 %169 = icmp sle i32 %167, %168 br i1 %169, label %170, label %173 170: ; preds = %165 %171 = load double, ptr %69, align 8 %172 = fmul double 1.000000e-04, %171 store double %172, ptr %64, align 8 br label %176 173: ; preds = %165 %174 = load double, ptr %71, align 8 %175 = fmul double 1.000000e-04, %174 store double %175, ptr %64, align 8 br label %176 176: ; preds = %173, %170 %177 = load ptr, ptr %32, align 8 %178 = load double, ptr %177, align 8 %179 = load ptr, ptr %35, align 8 %180 = load double, ptr %179, align 8 %181 = fcmp olt double %178, %180 br i1 %181, label %182, label %186 182: ; preds = %176 %183 = load ptr, ptr %32, align 8 %184 = load double, ptr %183, align 8 %185 = load ptr, ptr %35, align 8 store double %184, ptr %185, align 8 br label %186 186: ; preds = %182, %176 %187 = load ptr, ptr %33, align 8 %188 = load double, ptr %187, align 8 %189 = load ptr, ptr %36, align 8 %190 = load double, ptr %189, align 8 %191 = fcmp olt double %188, %190 br i1 %191, label %192, label %196 192: ; preds = %186 %193 = load ptr, ptr %33, align 8 %194 = load double, ptr %193, align 8 %195 = load ptr, ptr %36, align 8 store double %194, ptr %195, align 8 br label %196 196: ; preds = %192, %186 %197 = load ptr, ptr %34, align 8 %198 = load double, ptr %197, align 8 %199 = load ptr, ptr %37, align 8 %200 = load double, ptr %199, align 8 %201 = fcmp olt double %198, %200 br i1 %201, label %202, label %206 202: ; preds = %196 %203 = load ptr, ptr %34, align 8 %204 = load double, ptr %203, align 8 %205 = load ptr, ptr %37, align 8 store double %204, ptr %205, align 8 br label %206 206: ; preds = %202, %196 %207 = load ptr, ptr %45, align 8 %208 = load double, ptr %207, align 8 %209 = load ptr, ptr %46, align 8 %210 = load double, ptr %209, align 8 %211 = fcmp olt double %208, %210 br i1 %211, label %212, label %216 212: ; preds = %206 %213 = load ptr, ptr %45, align 8 %214 = load double, ptr %213, align 8 %215 = load ptr, ptr %46, align 8 store double %214, ptr %215, align 8 br label %216 216: ; preds = %212, %206 %217 = load ptr, ptr %38, align 8 %218 = load double, ptr %217, align 8 %219 = load double, ptr %61, align 8 %220 = load ptr, ptr %29, align 8 %221 = load double, ptr %220, align 8 %222 = fmul double %219, %221 %223 = fcmp ole double %218, %222 br i1 %223, label %232, label %224 224: ; preds = %216 %225 = load ptr, ptr %38, align 8 %226 = load double, ptr %225, align 8 %227 = load double, ptr %61, align 8 %228 = load ptr, ptr %48, align 8 %229 = load double, ptr %228, align 8 %230 = fmul double %227, %229 %231 = fcmp olt double %226, %230 br i1 %231, label %232, label %290 232: ; preds = %224, %216 %233 = load ptr, ptr %39, align 8 %234 = load double, ptr %233, align 8 %235 = load double, ptr %62, align 8 %236 = load ptr, ptr %30, align 8 %237 = load double, ptr %236, align 8 %238 = fmul double %235, %237 %239 = fcmp ole double %234, %238 br i1 %239, label %248, label %240 240: ; preds = %232 %241 = load ptr, ptr %39, align 8 %242 = load double, ptr %241, align 8 %243 = load double, ptr %62, align 8 %244 = load ptr, ptr %49, align 8 %245 = load double, ptr %244, align 8 %246 = fmul double %243, %245 %247 = fcmp olt double %242, %246 br i1 %247, label %248, label %290 248: ; preds = %240, %232 %249 = load ptr, ptr %40, align 8 %250 = load double, ptr %249, align 8 %251 = load double, ptr %63, align 8 %252 = load ptr, ptr %31, align 8 %253 = load double, ptr %252, align 8 %254 = fmul double %251, %253 %255 = fcmp ole double %250, %254 br i1 %255, label %264, label %256 256: ; preds = %248 %257 = load ptr, ptr %40, align 8 %258 = load double, ptr %257, align 8 %259 = load double, ptr %63, align 8 %260 = load ptr, ptr %50, align 8 %261 = load double, ptr %260, align 8 %262 = fmul double %259, %261 %263 = fcmp olt double %258, %262 br i1 %263, label %264, label %290 264: ; preds = %256, %248 %265 = load ptr, ptr %47, align 8 %266 = load double, ptr %265, align 8 %267 = load double, ptr %64, align 8 %268 = load ptr, ptr %44, align 8 %269 = load double, ptr %268, align 8 %270 = fmul double %267, %269 %271 = fcmp ole double %266, %270 br i1 %271, label %280, label %272 272: ; preds = %264 %273 = load ptr, ptr %47, align 8 %274 = load double, ptr %273, align 8 %275 = load double, ptr %64, align 8 %276 = load ptr, ptr %51, align 8 %277 = load double, ptr %276, align 8 %278 = fmul double %275, %277 %279 = fcmp olt double %274, %278 br i1 %279, label %280, label %290 280: ; preds = %272, %264 %281 = load ptr, ptr %28, align 8 %282 = load i32, ptr %281, align 4 %283 = icmp sgt i32 %282, 3 br i1 %283, label %284, label %290 284: ; preds = %280 %285 = load ptr, ptr %28, align 8 %286 = load i32, ptr %285, align 4 %287 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %286) %288 = load ptr, ptr %41, align 8 store i32 1, ptr %288, align 4 %289 = load ptr, ptr %27, align 8 store i32 0, ptr %289, align 4 br label %463 290: ; preds = %280, %272, %256, %240, %224 store i32 0, ptr %60, align 4 %291 = load ptr, ptr %28, align 8 %292 = load i32, ptr %291, align 4 %293 = load i32, ptr %53, align 4 %294 = mul nsw i32 20, %293 %295 = icmp sge i32 %292, %294 br i1 %295, label %301, label %296 296: ; preds = %290 %297 = load ptr, ptr %38, align 8 %298 = load double, ptr %297, align 8 %299 = call double @llvm.fabs.f64(double %298) %300 = fcmp ogt double %299, 1.000000e+20 br i1 %300, label %301, label %323 301: ; preds = %296, %290 %302 = load ptr, ptr %32, align 8 %303 = load double, ptr %302, align 8 %304 = load ptr, ptr %35, align 8 %305 = load double, ptr %304, align 8 %306 = fcmp oge double %303, %305 br i1 %306, label %307, label %322 307: ; preds = %301 %308 = load ptr, ptr %38, align 8 %309 = load double, ptr %308, align 8 %310 = load ptr, ptr %35, align 8 %311 = load double, ptr %310, align 8 %312 = fcmp oge double %309, %311 br i1 %312, label %313, label %322 313: ; preds = %307 %314 = load ptr, ptr %38, align 8 %315 = load double, ptr %314, align 8 %316 = load double, ptr %61, align 8 %317 = load ptr, ptr %29, align 8 %318 = load double, ptr %317, align 8 %319 = fmul double %316, %318 %320 = fcmp ogt double %315, %319 br i1 %320, label %321, label %322 321: ; preds = %313 store i32 1, ptr %60, align 4 br label %322 322: ; preds = %321, %313, %307, %301 br label %323 323: ; preds = %322, %296 %324 = load ptr, ptr %28, align 8 %325 = load i32, ptr %324, align 4 %326 = load i32, ptr %53, align 4 %327 = mul nsw i32 20, %326 %328 = icmp sge i32 %325, %327 br i1 %328, label %334, label %329 329: ; preds = %323 %330 = load ptr, ptr %39, align 8 %331 = load double, ptr %330, align 8 %332 = call double @llvm.fabs.f64(double %331) %333 = fcmp ogt double %332, 1.000000e+20 br i1 %333, label %334, label %356 334: ; preds = %329, %323 %335 = load ptr, ptr %33, align 8 %336 = load double, ptr %335, align 8 %337 = load ptr, ptr %36, align 8 %338 = load double, ptr %337, align 8 %339 = fcmp oge double %336, %338 br i1 %339, label %340, label %355 340: ; preds = %334 %341 = load ptr, ptr %39, align 8 %342 = load double, ptr %341, align 8 %343 = load ptr, ptr %36, align 8 %344 = load double, ptr %343, align 8 %345 = fcmp oge double %342, %344 br i1 %345, label %346, label %355 346: ; preds = %340 %347 = load ptr, ptr %39, align 8 %348 = load double, ptr %347, align 8 %349 = load double, ptr %62, align 8 %350 = load ptr, ptr %30, align 8 %351 = load double, ptr %350, align 8 %352 = fmul double %349, %351 %353 = fcmp ogt double %348, %352 br i1 %353, label %354, label %355 354: ; preds = %346 store i32 1, ptr %60, align 4 br label %355 355: ; preds = %354, %346, %340, %334 br label %356 356: ; preds = %355, %329 %357 = load ptr, ptr %28, align 8 %358 = load i32, ptr %357, align 4 %359 = load i32, ptr %53, align 4 %360 = mul nsw i32 20, %359 %361 = icmp sge i32 %358, %360 br i1 %361, label %367, label %362 362: ; preds = %356 %363 = load ptr, ptr %40, align 8 %364 = load double, ptr %363, align 8 %365 = call double @llvm.fabs.f64(double %364) %366 = fcmp ogt double %365, 1.000000e+20 br i1 %366, label %367, label %389 367: ; preds = %362, %356 %368 = load ptr, ptr %34, align 8 %369 = load double, ptr %368, align 8 %370 = load ptr, ptr %37, align 8 %371 = load double, ptr %370, align 8 %372 = fcmp oge double %369, %371 br i1 %372, label %373, label %388 373: ; preds = %367 %374 = load ptr, ptr %40, align 8 %375 = load double, ptr %374, align 8 %376 = load ptr, ptr %37, align 8 %377 = load double, ptr %376, align 8 %378 = fcmp oge double %375, %377 br i1 %378, label %379, label %388 379: ; preds = %373 %380 = load ptr, ptr %40, align 8 %381 = load double, ptr %380, align 8 %382 = load double, ptr %63, align 8 %383 = load ptr, ptr %31, align 8 %384 = load double, ptr %383, align 8 %385 = fmul double %382, %384 %386 = fcmp ogt double %381, %385 br i1 %386, label %387, label %388 387: ; preds = %379 store i32 1, ptr %60, align 4 br label %388 388: ; preds = %387, %379, %373, %367 br label %389 389: ; preds = %388, %362 %390 = load ptr, ptr %28, align 8 %391 = load i32, ptr %390, align 4 %392 = load i32, ptr %53, align 4 %393 = mul nsw i32 20, %392 %394 = icmp sge i32 %391, %393 br i1 %394, label %400, label %395 395: ; preds = %389 %396 = load ptr, ptr %47, align 8 %397 = load double, ptr %396, align 8 %398 = call double @llvm.fabs.f64(double %397) %399 = fcmp ogt double %398, 1.000000e+20 br i1 %399, label %400, label %422 400: ; preds = %395, %389 %401 = load ptr, ptr %45, align 8 %402 = load double, ptr %401, align 8 %403 = load ptr, ptr %46, align 8 %404 = load double, ptr %403, align 8 %405 = fcmp oge double %402, %404 br i1 %405, label %406, label %421 406: ; preds = %400 %407 = load ptr, ptr %47, align 8 %408 = load double, ptr %407, align 8 %409 = load ptr, ptr %46, align 8 %410 = load double, ptr %409, align 8 %411 = fcmp oge double %408, %410 br i1 %411, label %412, label %421 412: ; preds = %406 %413 = load ptr, ptr %47, align 8 %414 = load double, ptr %413, align 8 %415 = load double, ptr %64, align 8 %416 = load ptr, ptr %44, align 8 %417 = load double, ptr %416, align 8 %418 = fmul double %415, %417 %419 = fcmp ogt double %414, %418 br i1 %419, label %420, label %421 420: ; preds = %412 store i32 1, ptr %60, align 4 br label %421 421: ; preds = %420, %412, %406, %400 br label %422 422: ; preds = %421, %395 %423 = load ptr, ptr %28, align 8 %424 = load i32, ptr %423, align 4 %425 = load i32, ptr %56, align 4 %426 = mul nsw i32 20, %425 %427 = icmp sgt i32 %424, %426 br i1 %427, label %428, label %429 428: ; preds = %422 store i32 1, ptr %60, align 4 br label %429 429: ; preds = %428, %422 %430 = load ptr, ptr %28, align 8 %431 = load i32, ptr %430, align 4 %432 = icmp eq i32 %431, 0 br i1 %432, label %433, label %434 433: ; preds = %429 store i32 1, ptr %60, align 4 br label %434 434: ; preds = %433, %429 %435 = load i32, ptr %60, align 4 %436 = icmp eq i32 %435, 1 br i1 %436, label %437, label %460 437: ; preds = %434 %438 = load ptr, ptr %42, align 8 %439 = load double, ptr %438, align 8 %440 = load double, ptr %65, align 8 %441 = fmul double %439, %440 %442 = load ptr, ptr %42, align 8 store double %441, ptr %442, align 8 %443 = load ptr, ptr %42, align 8 %444 = load double, ptr %443, align 8 %445 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %444) %446 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %447 = load ptr, ptr %28, align 8 store i32 0, ptr %447, align 4 %448 = load ptr, ptr %27, align 8 %449 = load i32, ptr %448, align 4 %450 = add nsw i32 %449, 1 store i32 %450, ptr %448, align 4 %451 = load ptr, ptr %27, align 8 %452 = load i32, ptr %451, align 4 %453 = load i32, ptr %59, align 4 %454 = icmp sgt i32 %452, %453 br i1 %454, label %455, label %459 455: ; preds = %437 %456 = load ptr, ptr %52, align 8 %457 = getelementptr inbounds double, ptr %456, i64 2 store double 2.500000e-01, ptr %457, align 8 %458 = load ptr, ptr %41, align 8 store i32 1, ptr %458, align 4 br label %459 459: ; preds = %455, %437 br label %462 460: ; preds = %434 %461 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %462 462: ; preds = %460, %459 br label %463 463: ; preds = %462, %284 ret void } declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(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/tmptc9xbhrl.c' source_filename = "/tmp/tmptc9xbhrl.c" target datalayout = "e-m:e-p270: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/tmptc9xbhrl.c" target datalayout = "e-m:e-p270: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/tmpg_s98ex4.c' source_filename = "/tmp/tmpg_s98ex4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Data Blocks End == %ld\0A\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Your filesystem successfully created\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_data_blocks(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = call i64 @calloc(i32 noundef 4096, i32 noundef 1) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %17, %2 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = load ptr, ptr %5, align 8 %16 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef 4096) br label %17 17: ; preds = %13 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %9, !llvm.loop !6 20: ; preds = %9 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr @SEEK_CUR, align 4 %23 = call i32 @lseek(i32 noundef %21, i32 noundef 0, i32 noundef %22) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %23) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_s98ex4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Data Blocks End == %ld\0A\00", align 1 @SEEK_CUR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"Your filesystem successfully created\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_data_blocks(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = call i64 @calloc(i32 noundef 4096, i32 noundef 1) %8 = inttoptr i64 %7 to ptr store ptr %8, ptr %5, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %16 %13 = load i32, ptr %3, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef 4096) br label %16 16: ; preds = %12 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 %23 = load i32, ptr %3, align 4 %24 = load i32, ptr @SEEK_CUR, align 4 %25 = call i32 @lseek(i32 noundef %23, i32 noundef 0, i32 noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpefnfbt0u.c' source_filename = "/tmp/tmpefnfbt0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetEnergy(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 @getenergy_(ptr noundef %5, ptr noundef %6) ret void } declare i32 @getenergy_(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/tmpefnfbt0u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetEnergy(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 @getenergy_(ptr noundef %5, ptr noundef %6) ret void } declare i32 @getenergy_(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/tmpoys7p03b.c' source_filename = "/tmp/tmpoys7p03b.c" target datalayout = "e-m:e-p270: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/tmpoys7p03b.c" target datalayout = "e-m:e-p270: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/tmpk0sfh_s_.c' source_filename = "/tmp/tmpk0sfh_s_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Enter a: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"A: %d\0AB: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %1, align 4 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %3, align 4 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11) ret void } 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/tmpk0sfh_s_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"Enter a: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"A: %d\0AB: %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %7 = load i32, ptr %1, align 4 store i32 %7, ptr %3, align 4 %8 = load i32, ptr %2, align 4 store i32 %8, ptr %1, align 4 %9 = load i32, ptr %3, align 4 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %10, i32 noundef %11) ret void } 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/tmpx6k7z_wj.c' source_filename = "/tmp/tmpx6k7z_wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @foo() ret i32 0 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx6k7z_wj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @foo() ret i32 0 } declare i32 @foo(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyz5zplcl.c' source_filename = "/tmp/tmpyz5zplcl.c" target datalayout = "e-m:e-p270: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/tmpyz5zplcl.c" target datalayout = "e-m:e-p270: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/tmp11km0c8k.c' source_filename = "/tmp/tmp11km0c8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\225.75in\22 height=\220.5in\22 fill=\22#ef0000\22 />\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_three(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = fadd double %6, 5.000000e-01 %8 = call i32 @printf(ptr noundef @.str, double noundef %5, double noundef %7) %9 = load double, ptr %3, align 8 %10 = load double, ptr %4, align 8 %11 = call i32 @hrt(double noundef %9, double noundef %10, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, double noundef, double noundef) #1 declare i32 @hrt(double noundef, double 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/tmp11km0c8k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [85 x i8] c" <rect x=\22%.2fin\22 y=\22%.2fin\22 width=\225.75in\22 height=\220.5in\22 fill=\22#ef0000\22 />\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"3\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_three(double noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca double, align 8 store double %0, ptr %3, align 8 store double %1, ptr %4, align 8 %5 = load double, ptr %3, align 8 %6 = load double, ptr %4, align 8 %7 = fadd double %6, 5.000000e-01 %8 = call i32 @printf(ptr noundef @.str, double noundef %5, double noundef %7) %9 = load double, ptr %3, align 8 %10 = load double, ptr %4, align 8 %11 = call i32 @hrt(double noundef %9, double noundef %10, ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef, double noundef, double noundef) #1 declare i32 @hrt(double noundef, double 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/tmpzquhuw9_.c' source_filename = "/tmp/tmpzquhuw9_.c" target datalayout = "e-m:e-p270: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/tmpzquhuw9_.c" target datalayout = "e-m:e-p270: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/tmpvr4cj90v.c' source_filename = "/tmp/tmpvr4cj90v.c" target datalayout = "e-m:e-p270: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/tmpvr4cj90v.c" target datalayout = "e-m:e-p270: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/tmppkob05ds.c' source_filename = "/tmp/tmppkob05ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASCII values of each characters of given string: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; 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 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %34 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %6, align 8 store i32 0, ptr %7, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %16 16: ; preds = %23, %11 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %23, label %32 23: ; preds = %16 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = sext i32 %25 to i64 %28 = getelementptr inbounds i8, ptr %24, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %30) br label %16, !llvm.loop !6 32: ; preds = %16 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %34 34: ; preds = %32, %10 %35 = load i32, ptr %3, align 4 ret i32 %35 } 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/tmppkob05ds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASCII values of each characters of given string: \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; 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 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 2 br i1 %9, label %10, label %11 10: ; preds = %2 store i32 1, ptr %3, align 4 br label %39 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 1 %14 = load ptr, ptr %13, align 8 store ptr %14, ptr %6, align 8 store i32 0, ptr %7, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str) %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = icmp ne i8 %20, 0 br i1 %21, label %.lr.ph, label %37 .lr.ph: ; preds = %11 br label %22 22: ; preds = %.lr.ph, %22 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %7, align 4 %26 = sext i32 %24 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %29) %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %37 37: ; preds = %._crit_edge, %11 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %3, align 4 br label %39 39: ; preds = %37, %10 %40 = load i32, ptr %3, align 4 ret i32 %40 } 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/tmp7f5y8yjy.c' source_filename = "/tmp/tmp7f5y8yjy.c" target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, i64 } @SEM_UNDO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"semdemo.c\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ftok\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"initsem\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Press return to lock: \00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Trying to lock...\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"semop\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"Locked.\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"Press return to unlock: \00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Unlocked\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 %struct.sembuf, align 8 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 2 store i64 0, ptr %5, align 8 %6 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 0 store i32 -1, ptr %6, align 8 %7 = load i32, ptr @SEM_UNDO, align 4 %8 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 1 store i32 %7, ptr %8, align 4 %9 = call i32 @ftok(ptr noundef @.str, i8 noundef signext 74) store i32 %9, ptr %2, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = call i32 @initsem(i32 noundef %15, i32 noundef 1) store i32 %16, ptr %3, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = call i32 @perror(ptr noundef @.str.2) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %14 %22 = call i32 @printf(ptr noundef @.str.3) %23 = call i32 (...) @getchar() %24 = call i32 @printf(ptr noundef @.str.4) %25 = load i32, ptr %3, align 4 %26 = call i32 @semop(i32 noundef %25, ptr noundef %4, i32 noundef 1) %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = call i32 @perror(ptr noundef @.str.5) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %21 %32 = call i32 @printf(ptr noundef @.str.6) %33 = call i32 @printf(ptr noundef @.str.7) %34 = call i32 (...) @getchar() %35 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 0 store i32 1, ptr %35, align 8 %36 = load i32, ptr %3, align 4 %37 = call i32 @semop(i32 noundef %36, ptr noundef %4, i32 noundef 1) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %42 39: ; preds = %31 %40 = call i32 @perror(ptr noundef @.str.5) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %31 %43 = call i32 @printf(ptr noundef @.str.8) ret i32 0 } declare i32 @ftok(ptr noundef, i8 noundef signext) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @initsem(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7f5y8yjy.c" target datalayout = "e-m:e-p270: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.sembuf = type { i32, i32, i64 } @SEM_UNDO = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"semdemo.c\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ftok\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"initsem\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"Press return to lock: \00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"Trying to lock...\0A\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"semop\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"Locked.\0A\00", align 1 @.str.7 = private unnamed_addr constant [25 x i8] c"Press return to unlock: \00", align 1 @.str.8 = private unnamed_addr constant [10 x i8] c"Unlocked\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 %struct.sembuf, align 8 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 2 store i64 0, ptr %5, align 8 %6 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 0 store i32 -1, ptr %6, align 8 %7 = load i32, ptr @SEM_UNDO, align 4 %8 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 1 store i32 %7, ptr %8, align 4 %9 = call i32 @ftok(ptr noundef @.str, i8 noundef signext 74) store i32 %9, ptr %2, align 4 %10 = icmp eq i32 %9, -1 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 @perror(ptr noundef @.str.1) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = call i32 @initsem(i32 noundef %15, i32 noundef 1) store i32 %16, ptr %3, align 4 %17 = icmp eq i32 %16, -1 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = call i32 @perror(ptr noundef @.str.2) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %14 %22 = call i32 @printf(ptr noundef @.str.3) %23 = call i32 (...) @getchar() %24 = call i32 @printf(ptr noundef @.str.4) %25 = load i32, ptr %3, align 4 %26 = call i32 @semop(i32 noundef %25, ptr noundef %4, i32 noundef 1) %27 = icmp eq i32 %26, -1 br i1 %27, label %28, label %31 28: ; preds = %21 %29 = call i32 @perror(ptr noundef @.str.5) %30 = call i32 @exit(i32 noundef 1) #3 unreachable 31: ; preds = %21 %32 = call i32 @printf(ptr noundef @.str.6) %33 = call i32 @printf(ptr noundef @.str.7) %34 = call i32 (...) @getchar() %35 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 0 store i32 1, ptr %35, align 8 %36 = load i32, ptr %3, align 4 %37 = call i32 @semop(i32 noundef %36, ptr noundef %4, i32 noundef 1) %38 = icmp eq i32 %37, -1 br i1 %38, label %39, label %42 39: ; preds = %31 %40 = call i32 @perror(ptr noundef @.str.5) %41 = call i32 @exit(i32 noundef 1) #3 unreachable 42: ; preds = %31 %43 = call i32 @printf(ptr noundef @.str.8) ret i32 0 } declare i32 @ftok(ptr noundef, i8 noundef signext) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @initsem(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @getchar(...) #1 declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxdedrdp.c' source_filename = "/tmp/tmpfxdedrdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sub nsw i32 %6, 1 store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %21, %1 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, 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 i64 @isspace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %11, %8 %20 = phi i1 [ false, %8 ], [ %18, %11 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 br label %8, !llvm.loop !6 24: ; preds = %19 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %38 27: ; preds = %24 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 41 br i1 %34, label %35, label %38 35: ; preds = %27 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %27, %24 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 0, ptr %42, align 1 store i32 0, ptr %4, align 4 br label %43 43: ; preds = %64, %38 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = icmp ne i8 %48, 0 br i1 %49, label %50, label %67 50: ; preds = %43 %51 = load ptr, ptr %3, align 8 %52 = load i32, ptr %4, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = sext i8 %55 to i32 %57 = icmp eq i32 %56, 44 br i1 %57, label %58, label %63 58: ; preds = %50 %59 = load ptr, ptr %3, align 8 %60 = load i32, ptr %4, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 store i8 58, ptr %62, align 1 br label %63 63: ; preds = %58, %50 br label %64 64: ; preds = %63 %65 = load i32, ptr %4, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %4, align 4 br label %43, !llvm.loop !8 67: ; preds = %43 %68 = load ptr, ptr %3, align 8 %69 = getelementptr inbounds i8, ptr %68, i64 0 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp eq i32 %71, 40 br i1 %72, label %73, label %76 73: ; preds = %67 %74 = load ptr, ptr %3, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 1 store ptr %75, ptr %2, align 8 br label %78 76: ; preds = %67 %77 = load ptr, ptr %3, align 8 store ptr %77, ptr %2, align 8 br label %78 78: ; preds = %76, %73 %79 = load ptr, ptr %2, align 8 ret ptr %79 } declare i32 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfxdedrdp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @trim(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i32 @strlen(ptr noundef %5) %7 = sub nsw i32 %6, 1 store i32 %7, ptr %4, align 4 br label %8 8: ; preds = %21, %1 %9 = load i32, ptr %4, align 4 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, 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 i64 @isspace(i8 noundef signext %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %11, %8 %20 = phi i1 [ false, %8 ], [ %18, %11 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, -1 store i32 %23, ptr %4, align 4 br label %8, !llvm.loop !6 24: ; preds = %19 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 0 br i1 %26, label %27, label %38 27: ; preds = %24 %28 = load ptr, ptr %3, align 8 %29 = load i32, ptr %4, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 41 br i1 %34, label %35, label %38 35: ; preds = %27 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %4, align 4 br label %38 38: ; preds = %35, %27, %24 %39 = load ptr, ptr %3, align 8 %40 = load i32, ptr %4, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 store i8 0, ptr %42, align 1 store i32 0, ptr %4, align 4 %43 = load ptr, ptr %3, align 8 %44 = load i32, ptr %4, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %.lr.ph, label %72 .lr.ph: ; preds = %38 br label %49 49: ; preds = %.lr.ph, %63 %50 = load ptr, ptr %3, 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 = icmp eq i32 %55, 44 br i1 %56, label %57, label %62 57: ; preds = %49 %58 = load ptr, ptr %3, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 store i8 58, ptr %61, align 1 br label %62 62: ; preds = %57, %49 br label %63 63: ; preds = %62 %64 = load i32, ptr %4, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %4, align 4 %66 = load ptr, ptr %3, align 8 %67 = load i32, ptr %4, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = icmp ne i8 %70, 0 br i1 %71, label %49, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %63 br label %72 72: ; preds = %._crit_edge, %38 %73 = load ptr, ptr %3, align 8 %74 = getelementptr inbounds i8, ptr %73, i64 0 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 40 br i1 %77, label %78, label %81 78: ; preds = %72 %79 = load ptr, ptr %3, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 1 store ptr %80, ptr %2, align 8 br label %83 81: ; preds = %72 %82 = load ptr, ptr %3, align 8 store ptr %82, ptr %2, align 8 br label %83 83: ; preds = %81, %78 %84 = load ptr, ptr %2, align 8 ret ptr %84 } declare i32 @strlen(ptr noundef) #1 declare i64 @isspace(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmplp2saru1.c' source_filename = "/tmp/tmplp2saru1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Server certificates:\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Subject: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Issuer: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"No certificates.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ShowCerts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @SSL_get_peer_certificate(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %27 9: ; preds = %1 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = load ptr, ptr %3, align 8 %12 = call i32 @X509_get_subject_name(ptr noundef %11) %13 = call ptr @X509_NAME_oneline(i32 noundef %12, i32 noundef 0, i32 noundef 0) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @free(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @X509_get_issuer_name(ptr noundef %18) %20 = call ptr @X509_NAME_oneline(i32 noundef %19, i32 noundef 0, i32 noundef 0) store ptr %20, ptr %4, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %23 = load ptr, ptr %4, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load ptr, ptr %3, align 8 %26 = call i32 @X509_free(ptr noundef %25) br label %29 27: ; preds = %1 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %29 29: ; preds = %27, %9 ret void } declare ptr @SSL_get_peer_certificate(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @X509_NAME_oneline(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @X509_get_subject_name(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @X509_get_issuer_name(ptr noundef) #1 declare i32 @X509_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/tmplp2saru1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Server certificates:\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Subject: %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Issuer: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"No certificates.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ShowCerts(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @SSL_get_peer_certificate(ptr noundef %5) store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %27 9: ; preds = %1 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = load ptr, ptr %3, align 8 %12 = call i32 @X509_get_subject_name(ptr noundef %11) %13 = call ptr @X509_NAME_oneline(i32 noundef %12, i32 noundef 0, i32 noundef 0) store ptr %13, ptr %4, align 8 %14 = load ptr, ptr %4, align 8 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call i32 @free(ptr noundef %16) %18 = load ptr, ptr %3, align 8 %19 = call i32 @X509_get_issuer_name(ptr noundef %18) %20 = call ptr @X509_NAME_oneline(i32 noundef %19, i32 noundef 0, i32 noundef 0) store ptr %20, ptr %4, align 8 %21 = load ptr, ptr %4, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %21) %23 = load ptr, ptr %4, align 8 %24 = call i32 @free(ptr noundef %23) %25 = load ptr, ptr %3, align 8 %26 = call i32 @X509_free(ptr noundef %25) br label %29 27: ; preds = %1 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %29 29: ; preds = %27, %9 ret void } declare ptr @SSL_get_peer_certificate(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @X509_NAME_oneline(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @X509_get_subject_name(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @X509_get_issuer_name(ptr noundef) #1 declare i32 @X509_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/tmpsqg3ykny.c' source_filename = "/tmp/tmpsqg3ykny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pop(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 @delete_at(ptr noundef %3, i32 noundef 1) ret void } declare i32 @delete_at(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/tmpsqg3ykny.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pop(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 @delete_at(ptr noundef %3, i32 noundef 1) ret void } declare i32 @delete_at(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/tmp4cs15ddh.c' source_filename = "/tmp/tmp4cs15ddh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [4 x ptr], align 16 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 120 br i1 %13, label %14, label %19 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %15, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %15, align 8 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %2, align 8 br label %58 19: ; preds = %1 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %20, align 8 store i32 0, ptr %5, align 4 br label %23 23: ; preds = %32, %19 %24 = load i32, ptr %5, align 4 %25 = icmp slt i32 %24, 4 br i1 %25, label %26, label %35 26: ; preds = %23 %27 = load ptr, ptr %3, align 8 %28 = call ptr @reverse(ptr noundef %27) %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 %30 store ptr %28, ptr %31, align 8 br label %32 32: ; preds = %26 %33 = load i32, ptr %5, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %5, align 4 br label %23, !llvm.loop !6 35: ; preds = %23 %36 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 0 %37 = load ptr, ptr %36, align 16 %38 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 2 %39 = load ptr, ptr %38, align 16 %40 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 2 %41 = load ptr, ptr %40, align 16 %42 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 0 %43 = load ptr, ptr %42, align 16 %44 = ptrtoint ptr %41 to i64 %45 = ptrtoint ptr %43 to i64 %46 = sub i64 %44, %45 %47 = trunc i64 %46 to i32 %48 = load ptr, ptr %3, align 8 %49 = load ptr, ptr %48, align 8 %50 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 2 %51 = load ptr, ptr %50, align 16 %52 = ptrtoint ptr %49 to i64 %53 = ptrtoint ptr %51 to i64 %54 = sub i64 %52, %53 %55 = trunc i64 %54 to i32 %56 = call i32 @swap(ptr noundef %37, ptr noundef %39, i32 noundef %47, i32 noundef %55) %57 = load ptr, ptr %4, align 8 store ptr %57, ptr %2, align 8 br label %58 58: ; preds = %35, %14 %59 = load ptr, ptr %2, align 8 ret ptr %59 } declare i32 @swap(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4cs15ddh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reverse(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca [4 x ptr], align 16 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp ne i32 %12, 120 br i1 %13, label %14, label %19 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %15, align 8 %17 = getelementptr inbounds i8, ptr %16, i32 1 store ptr %17, ptr %15, align 8 %18 = load ptr, ptr %4, align 8 store ptr %18, ptr %2, align 8 br label %59 19: ; preds = %1 %20 = load ptr, ptr %3, align 8 %21 = load ptr, ptr %20, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %20, align 8 store i32 0, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 4 br i1 %24, label %.lr.ph, label %36 .lr.ph: ; preds = %19 br label %25 25: ; preds = %.lr.ph, %31 %26 = load ptr, ptr %3, align 8 %27 = call ptr @reverse(ptr noundef %26) %28 = load i32, ptr %5, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 %29 store ptr %27, ptr %30, align 8 br label %31 31: ; preds = %25 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp slt i32 %34, 4 br i1 %35, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %36 36: ; preds = %._crit_edge, %19 %37 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 0 %38 = load ptr, ptr %37, align 16 %39 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 2 %40 = load ptr, ptr %39, align 16 %41 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 2 %42 = load ptr, ptr %41, align 16 %43 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 0 %44 = load ptr, ptr %43, align 16 %45 = ptrtoint ptr %42 to i64 %46 = ptrtoint ptr %44 to i64 %47 = sub i64 %45, %46 %48 = trunc i64 %47 to i32 %49 = load ptr, ptr %3, align 8 %50 = load ptr, ptr %49, align 8 %51 = getelementptr inbounds [4 x ptr], ptr %6, i64 0, i64 2 %52 = load ptr, ptr %51, align 16 %53 = ptrtoint ptr %50 to i64 %54 = ptrtoint ptr %52 to i64 %55 = sub i64 %53, %54 %56 = trunc i64 %55 to i32 %57 = call i32 @swap(ptr noundef %38, ptr noundef %40, i32 noundef %48, i32 noundef %56) %58 = load ptr, ptr %4, align 8 store ptr %58, ptr %2, align 8 br label %59 59: ; preds = %36, %14 %60 = load ptr, ptr %2, align 8 ret ptr %60 } declare i32 @swap(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd67klsx9.c' source_filename = "/tmp/tmpd67klsx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @french_UTF_8_create_env() #0 { %1 = call ptr @SN_create_env(i32 noundef 0, i32 noundef 3, i32 noundef 0) ret ptr %1 } declare ptr @SN_create_env(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/tmpd67klsx9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @french_UTF_8_create_env() #0 { %1 = call ptr @SN_create_env(i32 noundef 0, i32 noundef 3, i32 noundef 0) ret ptr %1 } declare ptr @SN_create_env(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/tmph37rc370.c' source_filename = "/tmp/tmph37rc370.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atonat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %39 13: ; preds = %7 br label %14 14: ; preds = %34, %13 %15 = load ptr, ptr %3, align 8 %16 = load i8, ptr %15, align 1 %17 = icmp ne i8 %16, 0 br i1 %17, label %18, label %37 18: ; preds = %14 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = call i64 @isdigit(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %32 23: ; preds = %18 %24 = load i32, ptr %4, align 4 %25 = mul nsw i32 %24, 10 store i32 %25, ptr %4, align 4 %26 = load i32, ptr %4, align 4 %27 = load ptr, ptr %3, align 8 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = sub nsw i32 %29, 48 %31 = add nsw i32 %26, %30 store i32 %31, ptr %4, align 4 br label %33 32: ; preds = %18 store i32 -1, ptr %2, align 4 br label %39 33: ; preds = %23 br label %34 34: ; preds = %33 %35 = load ptr, ptr %3, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %3, align 8 br label %14, !llvm.loop !6 37: ; preds = %14 %38 = load i32, ptr %4, align 4 store i32 %38, ptr %2, align 4 br label %39 39: ; preds = %37, %32, %12 %40 = load i32, ptr %2, align 4 ret i32 %40 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph37rc370.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @atonat(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7, %1 store i32 -1, ptr %2, align 4 br label %41 13: ; preds = %7 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %.lr.ph, label %39 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %33 %18 = load ptr, ptr %3, align 8 %19 = load i8, ptr %18, align 1 %20 = call i64 @isdigit(i8 noundef signext %19) %21 = icmp ne i64 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %17 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %23, 10 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = sub nsw i32 %28, 48 %30 = add nsw i32 %25, %29 store i32 %30, ptr %4, align 4 br label %32 31: ; preds = %17 store i32 -1, ptr %2, align 4 br label %41 32: ; preds = %22 br label %33 33: ; preds = %32 %34 = load ptr, ptr %3, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %3, align 8 %36 = load ptr, ptr %3, align 8 %37 = load i8, ptr %36, align 1 %38 = icmp ne i8 %37, 0 br i1 %38, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %13 %40 = load i32, ptr %4, align 4 store i32 %40, ptr %2, align 4 br label %41 41: ; preds = %39, %31, %12 %42 = load i32, ptr %2, align 4 ret i32 %42 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_hiiqhe6.c' source_filename = "/tmp/tmp_hiiqhe6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"ERROR: Se esperaba comilla en: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"\0AERROR: Demasiado texto para la pseudo instruccion TXT %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @obtener_txt(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 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %42, %2 %8 = load i32, ptr %5, align 4 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = icmp slt i32 %8, %10 br i1 %11, label %12, label %45 12: ; preds = %7 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, 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 = icmp eq i32 %18, 84 br i1 %19, label %20, label %41 20: ; preds = %12 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp eq i32 %27, 88 br i1 %28, label %29, label %41 29: ; preds = %20 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 2 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp eq i32 %36, 84 br i1 %37, label %38, label %41 38: ; preds = %29 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 3 store i32 %40, ptr %5, align 4 br label %45 41: ; preds = %29, %20, %12 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 %7, !llvm.loop !6 45: ; preds = %38, %7 br label %46 46: ; preds = %82, %45 %47 = load i32, ptr %5, align 4 %48 = load ptr, ptr %3, align 8 %49 = call i32 @strlen(ptr noundef %48) %50 = icmp slt i32 %47, %49 br i1 %50, label %51, label %85 51: ; preds = %46 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %5, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 39 br i1 %58, label %59, label %60 59: ; preds = %51 br label %85 60: ; preds = %51 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp ne i32 %66, 32 br i1 %67, label %68, label %80 68: ; preds = %60 %69 = load ptr, ptr %3, align 8 %70 = load i32, ptr %5, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp ne i32 %74, 9 br i1 %75, label %76, label %80 76: ; preds = %68 %77 = load ptr, ptr %3, align 8 %78 = call i32 @printf(ptr noundef @.str, ptr noundef %77) %79 = call i32 @exit(i32 noundef 1) #3 unreachable 80: ; preds = %68, %60 br label %81 81: ; preds = %80 br label %82 82: ; preds = %81 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %5, align 4 br label %46, !llvm.loop !8 85: ; preds = %59, %46 br label %86 86: ; preds = %135, %85 %87 = load i32, ptr %5, align 4 %88 = load ptr, ptr %3, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = icmp slt i32 %87, %89 br i1 %90, label %91, label %138 91: ; preds = %86 %92 = load i32, ptr %6, align 4 %93 = icmp slt i32 %92, 6 br i1 %93, label %94, label %130 94: ; preds = %91 %95 = load ptr, ptr %3, align 8 %96 = load i32, ptr %5, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %95, i64 %97 %99 = load i8, ptr %98, align 1 %100 = load ptr, ptr %4, align 8 %101 = load i32, ptr %6, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %6, align 4 %103 = sext i32 %101 to i64 %104 = getelementptr inbounds i8, ptr %100, i64 %103 store i8 %99, ptr %104, align 1 %105 = load ptr, ptr %4, align 8 %106 = load i32, ptr %6, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i8, ptr %105, i64 %107 store i8 0, ptr %108, align 1 %109 = load ptr, ptr %3, align 8 %110 = load i32, ptr %5, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %109, i64 %111 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = icmp eq i32 %114, 39 br i1 %115, label %116, label %129 116: ; preds = %94 %117 = load ptr, ptr %3, align 8 %118 = load i32, ptr %5, align 4 %119 = sub nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i8, ptr %117, i64 %120 %122 = load i8, ptr %121, align 1 %123 = sext i8 %122 to i32 %124 = icmp ne i32 %123, 92 br i1 %124, label %125, label %129 125: ; preds = %116 %126 = load i32, ptr %6, align 4 %127 = icmp ne i32 %126, 1 br i1 %127, label %128, label %129 128: ; preds = %125 br label %138 129: ; preds = %125, %116, %94 br label %134 130: ; preds = %91 %131 = load ptr, ptr %4, align 8 %132 = call i32 @printf(ptr noundef @.str.1, ptr noundef %131) %133 = call i32 @exit(i32 noundef 1) #3 unreachable 134: ; preds = %129 br label %135 135: ; preds = %134 %136 = load i32, ptr %5, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %5, align 4 br label %86, !llvm.loop !9 138: ; preds = %128, %86 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_hiiqhe6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"ERROR: Se esperaba comilla en: %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [59 x i8] c"\0AERROR: Demasiado texto para la pseudo instruccion TXT %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @obtener_txt(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 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %5, align 4 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strlen(ptr noundef %8) %10 = icmp slt i32 %7, %9 br i1 %10, label %.lr.ph, label %.loopexit2 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %41 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 84 br i1 %18, label %19, label %40 19: ; preds = %11 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %20, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 88 br i1 %27, label %28, label %40 28: ; preds = %19 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 2 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp eq i32 %35, 84 br i1 %36, label %37, label %40 37: ; preds = %28 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 3 store i32 %39, ptr %5, align 4 br label %48 40: ; preds = %28, %19, %11 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 ptr, ptr %3, align 8 %46 = call i32 @strlen(ptr noundef %45) %47 = icmp slt i32 %44, %46 br i1 %47, label %11, label %..loopexit2_crit_edge, !llvm.loop !6 ..loopexit2_crit_edge: ; preds = %41 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %2 br label %48 48: ; preds = %.loopexit2, %37 %49 = load i32, ptr %5, align 4 %50 = load ptr, ptr %3, align 8 %51 = call i32 @strlen(ptr noundef %50) %52 = icmp slt i32 %49, %51 br i1 %52, label %.lr.ph3, label %.loopexit1 .lr.ph3: ; preds = %48 br label %53 53: ; preds = %.lr.ph3, %84 %54 = load ptr, ptr %3, align 8 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i8, ptr %54, i64 %56 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 39 br i1 %60, label %61, label %62 61: ; preds = %53 br label %91 62: ; preds = %53 %63 = load ptr, ptr %3, align 8 %64 = load i32, ptr %5, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp ne i32 %68, 32 br i1 %69, label %70, label %82 70: ; preds = %62 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp ne i32 %76, 9 br i1 %77, label %78, label %82 78: ; preds = %70 %79 = load ptr, ptr %3, align 8 %80 = call i32 @printf(ptr noundef @.str, ptr noundef %79) %81 = call i32 @exit(i32 noundef 1) #3 unreachable 82: ; preds = %70, %62 br label %83 83: ; preds = %82 br label %84 84: ; preds = %83 %85 = load i32, ptr %5, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %5, align 4 %87 = load i32, ptr %5, align 4 %88 = load ptr, ptr %3, align 8 %89 = call i32 @strlen(ptr noundef %88) %90 = icmp slt i32 %87, %89 br i1 %90, label %53, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %84 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %48 br label %91 91: ; preds = %.loopexit1, %61 %92 = load i32, ptr %5, align 4 %93 = load ptr, ptr %3, align 8 %94 = call i32 @strlen(ptr noundef %93) %95 = icmp slt i32 %92, %94 br i1 %95, label %.lr.ph4, label %.loopexit .lr.ph4: ; preds = %91 br label %96 96: ; preds = %.lr.ph4, %140 %97 = load i32, ptr %6, align 4 %98 = icmp slt i32 %97, 6 br i1 %98, label %99, label %135 99: ; preds = %96 %100 = load ptr, ptr %3, align 8 %101 = load i32, ptr %5, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %100, i64 %102 %104 = load i8, ptr %103, align 1 %105 = load ptr, ptr %4, align 8 %106 = load i32, ptr %6, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %6, align 4 %108 = sext i32 %106 to i64 %109 = getelementptr inbounds i8, ptr %105, i64 %108 store i8 %104, ptr %109, align 1 %110 = load ptr, ptr %4, align 8 %111 = load i32, ptr %6, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds i8, ptr %110, i64 %112 store i8 0, ptr %113, align 1 %114 = load ptr, ptr %3, align 8 %115 = load i32, ptr %5, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds i8, ptr %114, i64 %116 %118 = load i8, ptr %117, align 1 %119 = sext i8 %118 to i32 %120 = icmp eq i32 %119, 39 br i1 %120, label %121, label %134 121: ; preds = %99 %122 = load ptr, ptr %3, align 8 %123 = load i32, ptr %5, align 4 %124 = sub nsw i32 %123, 1 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i8, ptr %122, i64 %125 %127 = load i8, ptr %126, align 1 %128 = sext i8 %127 to i32 %129 = icmp ne i32 %128, 92 br i1 %129, label %130, label %134 130: ; preds = %121 %131 = load i32, ptr %6, align 4 %132 = icmp ne i32 %131, 1 br i1 %132, label %133, label %134 133: ; preds = %130 br label %147 134: ; preds = %130, %121, %99 br label %139 135: ; preds = %96 %136 = load ptr, ptr %4, align 8 %137 = call i32 @printf(ptr noundef @.str.1, ptr noundef %136) %138 = call i32 @exit(i32 noundef 1) #3 unreachable 139: ; preds = %134 br label %140 140: ; preds = %139 %141 = load i32, ptr %5, align 4 %142 = add nsw i32 %141, 1 store i32 %142, ptr %5, align 4 %143 = load i32, ptr %5, align 4 %144 = load ptr, ptr %3, align 8 %145 = call i32 @strlen(ptr noundef %144) %146 = icmp slt i32 %143, %145 br i1 %146, label %96, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %140 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %91 br label %147 147: ; preds = %.loopexit, %133 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp07ozldko.c' source_filename = "/tmp/tmp07ozldko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"First number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Second number: \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"the GCD is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) br label %8 8: ; preds = %24, %0 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %9, %10 br i1 %11, label %12, label %25 12: ; preds = %8 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sgt i32 %13, %14 br i1 %15, label %16, label %20 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 %18, %17 store i32 %19, ptr %2, align 4 br label %24 20: ; preds = %12 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %22, %21 store i32 %23, ptr %3, align 4 br label %24 24: ; preds = %20, %16 br label %8, !llvm.loop !6 25: ; preds = %8 %26 = load i32, ptr %2, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp07ozldko.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"First number: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Second number: \00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"the GCD is: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %8 = load i32, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %23 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %12, %13 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, %16 store i32 %18, ptr %2, align 4 br label %23 19: ; preds = %11 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %21, %20 store i32 %22, ptr %3, align 4 br label %23 23: ; preds = %19, %15 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = icmp ne i32 %24, %25 br i1 %26, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %27 27: ; preds = %._crit_edge, %0 %28 = load i32, ptr %2, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqf0wrpke.c' source_filename = "/tmp/tmpqf0wrpke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.first_name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1 @__const.main.last_name = private unnamed_addr constant [5 x i8] c"Shaw\00", align 1 @.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"You have %f awesome super powers.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"I have an initial %c.\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"I have a first name %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"I have a last name %s.\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"My whole name is %s %c. %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 %9 = alloca i8, align 1 %10 = alloca [4 x i8], align 1 %11 = alloca [5 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 100, ptr %6, align 4 store float 0x4002C28F60000000, ptr %7, align 4 store double 0x40EBBAAE809D4952, ptr %8, align 8 store i8 65, ptr %9, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 5, i1 false) %12 = load i32, ptr %6, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = load float, ptr %7, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15) %17 = load double, ptr %8, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17) %19 = load i8, ptr %9, align 1 %20 = sext i8 %19 to i32 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20) %22 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %22) %24 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %24) %26 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %27 = load i8, ptr %9, align 1 %28 = sext i8 %27 to i32 %29 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %26, i32 noundef %28, ptr noundef %29) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqf0wrpke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.first_name = private unnamed_addr constant [4 x i8] c"Zed\00", align 1 @__const.main.last_name = private unnamed_addr constant [5 x i8] c"Shaw\00", align 1 @.str = private unnamed_addr constant [24 x i8] c"You are %d miles away.\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"You have %f levels of power.\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"You have %f awesome super powers.\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"I have an initial %c.\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"I have a first name %s.\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"I have a last name %s.\0A\00", align 1 @.str.6 = private unnamed_addr constant [29 x i8] c"My whole name is %s %c. %s.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca float, align 4 %8 = alloca double, align 8 %9 = alloca i8, align 1 %10 = alloca [4 x i8], align 1 %11 = alloca [5 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 100, ptr %6, align 4 store float 0x4002C28F60000000, ptr %7, align 4 store double 0x40EBBAAE809D4952, ptr %8, align 8 store i8 65, ptr %9, align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %10, ptr align 1 @__const.main.first_name, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.main.last_name, i64 5, i1 false) %12 = load i32, ptr %6, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %12) %14 = load float, ptr %7, align 4 %15 = fpext float %14 to double %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %15) %17 = load double, ptr %8, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %17) %19 = load i8, ptr %9, align 1 %20 = sext i8 %19 to i32 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20) %22 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %22) %24 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %24) %26 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0 %27 = load i8, ptr %9, align 1 %28 = sext i8 %27 to i32 %29 = getelementptr inbounds [5 x i8], ptr %11, i64 0, i64 0 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %26, i32 noundef %28, ptr noundef %29) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdzpsxq0_.c' source_filename = "/tmp/tmpdzpsxq0_.c" target datalayout = "e-m:e-p270: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/tmpdzpsxq0_.c" target datalayout = "e-m:e-p270: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/tmpyzrx3vgc.c' source_filename = "/tmp/tmpyzrx3vgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d, \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d ]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @count(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %8 8: ; preds = %20, %1 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = sub nsw i32 %10, 1 %12 = icmp slt i32 %9, %11 br i1 %12, label %13, label %23 13: ; preds = %8 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %18) br label %20 20: ; preds = %13 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %8, !llvm.loop !6 23: ; preds = %8 %24 = load ptr, ptr %2, align 8 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load i32, ptr %27, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %28) ret void } declare i32 @count(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyzrx3vgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [5 x i8] c"%d, \00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%d ]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_list(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @count(ptr noundef %5) store i32 %6, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %4, align 4 %10 = sub nsw i32 %9, 1 %11 = icmp slt i32 %8, %10 br i1 %11, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %19 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i32, ptr %13, i64 %15 %17 = load i32, ptr %16, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %17) br label %19 19: ; preds = %12 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %3, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = icmp slt i32 %22, %24 br i1 %25, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %31) ret void } declare i32 @count(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpur7bjigr.c' source_filename = "/tmp/tmpur7bjigr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AUsage: getkey KEYWORD filename\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c" eg) getkey NAXIS1 test.fits\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%-8.8s=\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Cannot find file \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [73 x i8] c"END \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\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 [10 x i8], align 1 %7 = alloca ptr, align 8 %8 = alloca [81 x i8], align 16 %9 = alloca [70 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 81, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 70, i1 false) store i32 0, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef -1) #4 unreachable 19: ; preds = %2 %20 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %23) %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.3) store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 %30 = icmp eq ptr null, %29 br i1 %30, label %31, label %36 31: ; preds = %19 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %34) br label %36 36: ; preds = %31, %19 br label %37 37: ; preds = %185, %36 %38 = load ptr, ptr %7, align 8 %39 = call i32 @feof(ptr noundef %38) %40 = icmp ne i32 %39, 0 %41 = xor i1 %40, true br i1 %41, label %42, label %186 42: ; preds = %37 %43 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %44 = load ptr, ptr %7, align 8 %45 = call i32 @fread(ptr noundef %43, i32 noundef 1, i32 noundef 80, ptr noundef %44) %46 = icmp ne i32 80, %45 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = call i32 @exit(i32 noundef -1) #4 unreachable 49: ; preds = %42 %50 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %51 = call i64 @strncmp(ptr noundef @.str.5, ptr noundef %50, i32 noundef 80) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %55 53: ; preds = %49 %54 = call i32 @exit(i32 noundef 0) #4 unreachable 55: ; preds = %49 %56 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %57 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %58 = call i64 @strncmp(ptr noundef %56, ptr noundef %57, i32 noundef 9) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %184 60: ; preds = %55 store i32 0, ptr %11, align 4 store i32 10, ptr %10, align 4 br label %61 61: ; preds = %178, %60 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %62, 79 br i1 %63, label %64, label %181 64: ; preds = %61 %65 = load i32, ptr %10, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %66 %68 = load i8, ptr %67, align 1 %69 = sext i8 %68 to i32 %70 = icmp eq i32 39, %69 br i1 %70, label %71, label %117 71: ; preds = %64 %72 = load i32, ptr %12, align 4 %73 = icmp eq i32 %72, 0 br i1 %73, label %74, label %75 74: ; preds = %71 store i32 1, ptr %12, align 4 br label %116 75: ; preds = %71 %76 = load i32, ptr %10, align 4 %77 = add nsw i32 %76, 1 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp eq i32 39, %81 br i1 %82, label %83, label %91 83: ; preds = %75 %84 = load i32, ptr %11, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %85 store i8 39, ptr %86, align 1 %87 = load i32, ptr %11, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %11, align 4 %89 = load i32, ptr %10, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %10, align 4 br label %115 91: ; preds = %75 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %93 store i8 0, ptr %94, align 1 %95 = load i32, ptr %11, align 4 %96 = add nsw i32 %95, -1 store i32 %96, ptr %11, align 4 br label %97 97: ; preds = %108, %91 %98 = load i32, ptr %11, align 4 %99 = icmp sgt i32 %98, 0 br i1 %99, label %100, label %114 100: ; preds = %97 %101 = load i32, ptr %11, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp ne i32 %105, 32 br i1 %106, label %107, label %108 107: ; preds = %100 br label %114 108: ; preds = %100 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %110 store i8 0, ptr %111, align 1 %112 = load i32, ptr %11, align 4 %113 = add nsw i32 %112, -1 store i32 %113, ptr %11, align 4 br label %97, !llvm.loop !6 114: ; preds = %107, %97 br label %181 115: ; preds = %83 br label %116 116: ; preds = %115, %74 br label %177 117: ; preds = %64 %118 = load i32, ptr %12, align 4 %119 = icmp eq i32 %118, 1 br i1 %119, label %120, label %130 120: ; preds = %117 %121 = load i32, ptr %10, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %122 %124 = load i8, ptr %123, align 1 %125 = load i32, ptr %11, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %126 store i8 %124, ptr %127, align 1 %128 = load i32, ptr %11, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %11, align 4 br label %176 130: ; preds = %117 %131 = load i32, ptr %12, align 4 %132 = icmp eq i32 %131, 2 br i1 %132, label %133, label %157 133: ; preds = %130 %134 = load i32, ptr %10, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %135 %137 = load i8, ptr %136, align 1 %138 = sext i8 %137 to i32 %139 = icmp ne i32 %138, 32 br i1 %139, label %140, label %150 140: ; preds = %133 %141 = load i32, ptr %10, align 4 %142 = sext i32 %141 to i64 %143 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %142 %144 = load i8, ptr %143, align 1 %145 = load i32, ptr %11, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %146 store i8 %144, ptr %147, align 1 %148 = load i32, ptr %11, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %11, align 4 br label %156 150: ; preds = %133 %151 = load i32, ptr %11, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %152 store i8 0, ptr %153, align 1 %154 = load i32, ptr %11, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %11, align 4 br label %181 156: ; preds = %140 br label %175 157: ; preds = %130 %158 = load i32, ptr %10, align 4 %159 = sext i32 %158 to i64 %160 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %159 %161 = load i8, ptr %160, align 1 %162 = sext i8 %161 to i32 %163 = icmp ne i32 %162, 32 br i1 %163, label %164, label %174 164: ; preds = %157 store i32 2, ptr %12, align 4 %165 = load i32, ptr %10, align 4 %166 = sext i32 %165 to i64 %167 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %166 %168 = load i8, ptr %167, align 1 %169 = load i32, ptr %11, align 4 %170 = sext i32 %169 to i64 %171 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %170 store i8 %168, ptr %171, align 1 %172 = load i32, ptr %11, align 4 %173 = add nsw i32 %172, 1 store i32 %173, ptr %11, align 4 br label %174 174: ; preds = %164, %157 br label %175 175: ; preds = %174, %156 br label %176 176: ; preds = %175, %120 br label %177 177: ; preds = %176, %116 br label %178 178: ; preds = %177 %179 = load i32, ptr %10, align 4 %180 = add nsw i32 %179, 1 store i32 %180, ptr %10, align 4 br label %61, !llvm.loop !8 181: ; preds = %150, %114, %61 %182 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 0 %183 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %182) store i32 0, ptr %3, align 4 br label %187 184: ; preds = %55 br label %185 185: ; preds = %184 br label %37, !llvm.loop !9 186: ; preds = %37 store i32 0, ptr %3, align 4 br label %187 187: ; preds = %186, %181 %188 = load i32, ptr %3, align 4 ret i32 %188 } ; 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 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @feof(ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpur7bjigr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"\0AUsage: getkey KEYWORD filename\0A\00", align 1 @.str.1 = private unnamed_addr constant [39 x i8] c" eg) getkey NAXIS1 test.fits\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%-8.8s=\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Cannot find file \22%s\22\0A\00", align 1 @.str.5 = private unnamed_addr constant [73 x i8] c"END \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%s\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 [10 x i8], align 1 %7 = alloca ptr, align 8 %8 = alloca [81 x i8], align 16 %9 = alloca [70 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 call void @llvm.memset.p0.i64(ptr align 1 %6, i8 0, i64 10, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 81, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 70, i1 false) store i32 0, ptr %12, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 3 br i1 %14, label %15, label %19 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef -1) #4 unreachable 19: ; preds = %2 %20 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 1 %23 = load ptr, ptr %22, align 8 %24 = call i32 @sprintf(ptr noundef %20, ptr noundef @.str.2, ptr noundef %23) %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds ptr, ptr %25, i64 2 %27 = load ptr, ptr %26, align 8 %28 = call ptr @fopen(ptr noundef %27, ptr noundef @.str.3) store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 %30 = icmp eq ptr null, %29 br i1 %30, label %31, label %36 31: ; preds = %19 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %34) br label %36 36: ; preds = %31, %19 %37 = load ptr, ptr %7, align 8 %38 = call i32 @feof(ptr noundef %37) %39 = icmp ne i32 %38, 0 %40 = xor i1 %39, true br i1 %40, label %.lr.ph, label %191 .lr.ph: ; preds = %36 br label %41 41: ; preds = %.lr.ph, %186 %42 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %43 = load ptr, ptr %7, align 8 %44 = call i32 @fread(ptr noundef %42, i32 noundef 1, i32 noundef 80, ptr noundef %43) %45 = icmp ne i32 80, %44 br i1 %45, label %46, label %48 46: ; preds = %41 %47 = call i32 @exit(i32 noundef -1) #4 unreachable 48: ; preds = %41 %49 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %50 = call i64 @strncmp(ptr noundef @.str.5, ptr noundef %49, i32 noundef 80) %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %54 52: ; preds = %48 %53 = call i32 @exit(i32 noundef 0) #4 unreachable 54: ; preds = %48 %55 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0 %56 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 0 %57 = call i64 @strncmp(ptr noundef %55, ptr noundef %56, i32 noundef 9) %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %185 59: ; preds = %54 store i32 0, ptr %11, align 4 store i32 10, ptr %10, align 4 %60 = load i32, ptr %10, align 4 %61 = icmp slt i32 %60, 79 br i1 %61, label %.lr.ph3, label %.loopexit1 .lr.ph3: ; preds = %59 br label %62 62: ; preds = %.lr.ph3, %177 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %64 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = icmp eq i32 39, %67 br i1 %68, label %69, label %116 69: ; preds = %62 %70 = load i32, ptr %12, align 4 %71 = icmp eq i32 %70, 0 br i1 %71, label %72, label %73 72: ; preds = %69 store i32 1, ptr %12, align 4 br label %115 73: ; preds = %69 %74 = load i32, ptr %10, align 4 %75 = add nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp eq i32 39, %79 br i1 %80, label %81, label %89 81: ; preds = %73 %82 = load i32, ptr %11, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %83 store i8 39, ptr %84, align 1 %85 = load i32, ptr %11, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %11, align 4 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %10, align 4 br label %114 89: ; preds = %73 %90 = load i32, ptr %11, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %91 store i8 0, ptr %92, align 1 %93 = load i32, ptr %11, align 4 %94 = add nsw i32 %93, -1 store i32 %94, ptr %11, align 4 %95 = load i32, ptr %11, align 4 %96 = icmp sgt i32 %95, 0 br i1 %96, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %89 br label %97 97: ; preds = %.lr.ph5, %105 %98 = load i32, ptr %11, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %99 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 32 br i1 %103, label %104, label %105 104: ; preds = %97 br label %113 105: ; preds = %97 %106 = load i32, ptr %11, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %107 store i8 0, ptr %108, align 1 %109 = load i32, ptr %11, align 4 %110 = add nsw i32 %109, -1 store i32 %110, ptr %11, align 4 %111 = load i32, ptr %11, align 4 %112 = icmp sgt i32 %111, 0 br i1 %112, label %97, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %105 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %89 br label %113 113: ; preds = %.loopexit, %104 br label %182 114: ; preds = %81 br label %115 115: ; preds = %114, %72 br label %176 116: ; preds = %62 %117 = load i32, ptr %12, align 4 %118 = icmp eq i32 %117, 1 br i1 %118, label %119, label %129 119: ; preds = %116 %120 = load i32, ptr %10, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %121 %123 = load i8, ptr %122, align 1 %124 = load i32, ptr %11, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %125 store i8 %123, ptr %126, align 1 %127 = load i32, ptr %11, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %11, align 4 br label %175 129: ; preds = %116 %130 = load i32, ptr %12, align 4 %131 = icmp eq i32 %130, 2 br i1 %131, label %132, label %156 132: ; preds = %129 %133 = load i32, ptr %10, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %134 %136 = load i8, ptr %135, align 1 %137 = sext i8 %136 to i32 %138 = icmp ne i32 %137, 32 br i1 %138, label %139, label %149 139: ; preds = %132 %140 = load i32, ptr %10, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %141 %143 = load i8, ptr %142, align 1 %144 = load i32, ptr %11, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %145 store i8 %143, ptr %146, align 1 %147 = load i32, ptr %11, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %11, align 4 br label %155 149: ; preds = %132 %150 = load i32, ptr %11, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %151 store i8 0, ptr %152, align 1 %153 = load i32, ptr %11, align 4 %154 = add nsw i32 %153, 1 store i32 %154, ptr %11, align 4 br label %182 155: ; preds = %139 br label %174 156: ; preds = %129 %157 = load i32, ptr %10, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %158 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = icmp ne i32 %161, 32 br i1 %162, label %163, label %173 163: ; preds = %156 store i32 2, ptr %12, align 4 %164 = load i32, ptr %10, align 4 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds [81 x i8], ptr %8, i64 0, i64 %165 %167 = load i8, ptr %166, align 1 %168 = load i32, ptr %11, align 4 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 %169 store i8 %167, ptr %170, align 1 %171 = load i32, ptr %11, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %11, align 4 br label %173 173: ; preds = %163, %156 br label %174 174: ; preds = %173, %155 br label %175 175: ; preds = %174, %119 br label %176 176: ; preds = %175, %115 br label %177 177: ; preds = %176 %178 = load i32, ptr %10, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %10, align 4 %180 = load i32, ptr %10, align 4 %181 = icmp slt i32 %180, 79 br i1 %181, label %62, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %177 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %59 br label %182 182: ; preds = %.loopexit1, %149, %113 %183 = getelementptr inbounds [70 x i8], ptr %9, i64 0, i64 0 %184 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %183) store i32 0, ptr %3, align 4 br label %192 185: ; preds = %54 br label %186 186: ; preds = %185 %187 = load ptr, ptr %7, align 8 %188 = call i32 @feof(ptr noundef %187) %189 = icmp ne i32 %188, 0 %190 = xor i1 %189, true br i1 %190, label %41, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %186 br label %191 191: ; preds = %._crit_edge, %36 store i32 0, ptr %3, align 4 br label %192 192: ; preds = %191, %182 %193 = load i32, ptr %3, align 4 ret i32 %193 } ; 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 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @feof(ptr noundef) #2 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #2 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsopn5ol3.c' source_filename = "/tmp/tmpsopn5ol3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstr1Operand(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @GenPrintInstr(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = call i32 @GenPrintOperand(i32 noundef %12, i32 noundef %13) %15 = call i32 (...) @GenPrintNewLine() ret void } declare i32 @GenPrintInstr(i32 noundef, i32 noundef) #1 declare i32 @GenPrintOperand(i32 noundef, i32 noundef) #1 declare i32 @GenPrintNewLine(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsopn5ol3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GenPrintInstr1Operand(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call i32 @GenPrintInstr(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %8, align 4 %14 = call i32 @GenPrintOperand(i32 noundef %12, i32 noundef %13) %15 = call i32 (...) @GenPrintNewLine() ret void } declare i32 @GenPrintInstr(i32 noundef, i32 noundef) #1 declare i32 @GenPrintOperand(i32 noundef, i32 noundef) #1 declare i32 @GenPrintNewLine(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3a693nkp.c' source_filename = "/tmp/tmp3a693nkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HOME\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"HOME_ETC\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"/tmp/myconfigs\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"~/.myrc\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"original path: ~/.myrc\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"modified path: %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 %7 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1) %8 = call i32 @setenv(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 1) %9 = call i32 @home_etc_expand_tilde(i32 noundef 1) %10 = call ptr @_HE(ptr noundef @.str.4) store ptr %10, ptr %6, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %12) %14 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @home_etc_expand_tilde(i32 noundef) #1 declare ptr @_HE(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3a693nkp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"HOME\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"/tmp\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"HOME_ETC\00", align 1 @.str.3 = private unnamed_addr constant [15 x i8] c"/tmp/myconfigs\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"~/.myrc\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"original path: ~/.myrc\0A\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"modified path: %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 %7 = call i32 @setenv(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 1) %8 = call i32 @setenv(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 1) %9 = call i32 @home_etc_expand_tilde(i32 noundef 1) %10 = call ptr @_HE(ptr noundef @.str.4) store ptr %10, ptr %6, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %12 = load ptr, ptr %6, align 8 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %12) %14 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @setenv(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @home_etc_expand_tilde(i32 noundef) #1 declare ptr @_HE(ptr 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"}
; ModuleID = '/tmp/tmpz88_ivnf.c' source_filename = "/tmp/tmpz88_ivnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Digite a quantidade de termos: \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"Digite os %d termos: \0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Digite o termo[%d]: \00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"A soma maxima do segmento eh: %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 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) store i32 0, ptr %4, align 4 br label %10 10: ; preds = %22, %0 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %25 14: ; preds = %10 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16) %18 = load i32, ptr %4, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %19 %21 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 br label %10, !llvm.loop !6 25: ; preds = %10 %26 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 0 %27 = load i32, ptr %2, align 4 %28 = call i32 @sum_max(ptr noundef %26, i32 noundef %27) store i32 %28, ptr %5, align 4 %29 = load i32, ptr %5, align 4 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %29) %31 = load i32, ptr %1, align 4 ret i32 %31 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sum_max(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/tmpz88_ivnf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Digite a quantidade de termos: \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"Digite os %d termos: \0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"Digite o termo[%d]: \00", align 1 @.str.4 = private unnamed_addr constant [35 x i8] c"A soma maxima do segmento eh: %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 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %8) store i32 0, ptr %4, align 4 %10 = load i32, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %0 br label %13 13: ; preds = %.lr.ph, %21 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %15) %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %18 %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %19) br label %21 21: ; preds = %13 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %4, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %2, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %27 27: ; preds = %._crit_edge, %0 %28 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 0 %29 = load i32, ptr %2, align 4 %30 = call i32 @sum_max(ptr noundef %28, i32 noundef %29) store i32 %30, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %31) %33 = load i32, ptr %1, align 4 ret i32 %33 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sum_max(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/tmpr3xio9qq.c' source_filename = "/tmp/tmpr3xio9qq.c" target datalayout = "e-m:e-p270: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/tmpr3xio9qq.c" target datalayout = "e-m:e-p270: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/tmpqtrtw10m.c' source_filename = "/tmp/tmpqtrtw10m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHA256_DIGEST_LENGTH = 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/tmpqtrtw10m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SHA256_DIGEST_LENGTH = 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/tmpr2neg5q1.c' source_filename = "/tmp/tmpr2neg5q1.c" target datalayout = "e-m:e-p270: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/tmpr2neg5q1.c" target datalayout = "e-m:e-p270: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/tmpu8f2b0io.c' source_filename = "/tmp/tmpu8f2b0io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @be32_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i32, ptr %4, i32 1 store ptr %5, ptr %2, align 8 %6 = load i32, ptr %4, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = mul nsw i32 %7, 256 store i32 %8, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i32, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = mul nsw i32 %14, 256 store i32 %15, ptr %3, align 4 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %2, align 8 %18 = load i32, ptr %16, align 4 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = mul nsw i32 %21, 256 store i32 %22, ptr %3, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i32, ptr %23, i32 1 store ptr %24, ptr %2, align 8 %25 = load i32, ptr %23, align 4 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8f2b0io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @be32_int(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = getelementptr inbounds i32, ptr %4, i32 1 store ptr %5, ptr %2, align 8 %6 = load i32, ptr %4, align 4 store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = mul nsw i32 %7, 256 store i32 %8, ptr %3, align 4 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i32, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %12, %11 store i32 %13, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = mul nsw i32 %14, 256 store i32 %15, ptr %3, align 4 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds i32, ptr %16, i32 1 store ptr %17, ptr %2, align 8 %18 = load i32, ptr %16, align 4 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, %18 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %3, align 4 %22 = mul nsw i32 %21, 256 store i32 %22, ptr %3, align 4 %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds i32, ptr %23, i32 1 store ptr %24, ptr %2, align 8 %25 = load i32, ptr %23, align 4 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, %25 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %3, align 4 ret i32 %28 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpes5z3_u1.c' source_filename = "/tmp/tmpes5z3_u1.c" target datalayout = "e-m:e-p270: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/tmpes5z3_u1.c" target datalayout = "e-m:e-p270: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/tmp88tnkg5r.c' source_filename = "/tmp/tmp88tnkg5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @UI_ClampCvar(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 %8 = load float, ptr %7, align 4 %9 = load float, ptr %5, align 4 %10 = fcmp olt float %8, %9 br i1 %10, label %11, label %13 11: ; preds = %3 %12 = load float, ptr %5, align 4 store float %12, ptr %4, align 4 br label %21 13: ; preds = %3 %14 = load float, ptr %7, align 4 %15 = load float, ptr %6, align 4 %16 = fcmp ogt float %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load float, ptr %6, align 4 store float %18, ptr %4, align 4 br label %21 19: ; preds = %13 %20 = load float, ptr %7, align 4 store float %20, ptr %4, align 4 br label %21 21: ; preds = %19, %17, %11 %22 = load float, ptr %4, align 4 ret float %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp88tnkg5r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @UI_ClampCvar(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 %8 = load float, ptr %7, align 4 %9 = load float, ptr %5, align 4 %10 = fcmp olt float %8, %9 br i1 %10, label %11, label %13 11: ; preds = %3 %12 = load float, ptr %5, align 4 store float %12, ptr %4, align 4 br label %21 13: ; preds = %3 %14 = load float, ptr %7, align 4 %15 = load float, ptr %6, align 4 %16 = fcmp ogt float %14, %15 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = load float, ptr %6, align 4 store float %18, ptr %4, align 4 br label %21 19: ; preds = %13 %20 = load float, ptr %7, align 4 store float %20, ptr %4, align 4 br label %21 21: ; preds = %19, %17, %11 %22 = load float, ptr %4, align 4 ret float %22 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6set5g7w.c' source_filename = "/tmp/tmp6set5g7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"baz\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"other\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @func(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sitofp i32 %5 to double %7 = fdiv double %6, 1.000000e+01 %8 = call i32 @floor(double noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 switch i32 %9, label %13 [ i32 0, label %10 i32 1, label %11 i32 2, label %12 ] 10: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %14 11: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %14 12: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %14 13: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %14 14: ; preds = %13, %12, %11, %10 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i32 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6set5g7w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"foo\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"baz\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"other\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @func(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = sitofp i32 %5 to double %7 = fdiv double %6, 1.000000e+01 %8 = call i32 @floor(double noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %4, align 4 switch i32 %9, label %13 [ i32 0, label %10 i32 1, label %11 i32 2, label %12 ] 10: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %14 11: ; preds = %1 store ptr @.str.1, ptr %2, align 8 br label %14 12: ; preds = %1 store ptr @.str.2, ptr %2, align 8 br label %14 13: ; preds = %1 store ptr @.str.3, ptr %2, align 8 br label %14 14: ; preds = %13, %12, %11, %10 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i32 @floor(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpibsxype_.c' source_filename = "/tmp/tmpibsxype_.c" target datalayout = "e-m:e-p270: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/tmpibsxype_.c" target datalayout = "e-m:e-p270: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/tmp9i2z3wyl.c' source_filename = "/tmp/tmp9i2z3wyl.c" target datalayout = "e-m:e-p270: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/tmp9i2z3wyl.c" target datalayout = "e-m:e-p270: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/tmpdfn_ool2.c' source_filename = "/tmp/tmpdfn_ool2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_PSICopyMatrix_double(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @assert(ptr noundef %11) %13 = load ptr, ptr %6, align 8 %14 = call i32 @assert(ptr noundef %13) store i32 0, ptr %9, align 4 br label %15 15: ; preds = %46, %4 %16 = load i32, ptr %9, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp ult i32 %16, %17 br i1 %18, label %19, label %49 19: ; preds = %15 store i32 0, ptr %10, align 4 br label %20 20: ; preds = %42, %19 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %8, align 4 %23 = icmp ult i32 %21, %22 br i1 %23, label %24, label %45 24: ; preds = %20 %25 = load ptr, ptr %6, align 8 %26 = load i32, ptr %9, align 4 %27 = zext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load i32, ptr %10, align 4 %31 = zext i32 %30 to i64 %32 = getelementptr inbounds double, ptr %29, i64 %31 %33 = load double, ptr %32, align 8 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %9, align 4 %36 = zext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i32, ptr %10, align 4 %40 = zext i32 %39 to i64 %41 = getelementptr inbounds double, ptr %38, i64 %40 store double %33, ptr %41, align 8 br label %42 42: ; preds = %24 %43 = load i32, ptr %10, align 4 %44 = add i32 %43, 1 store i32 %44, ptr %10, align 4 br label %20, !llvm.loop !6 45: ; preds = %20 br label %46 46: ; preds = %45 %47 = load i32, ptr %9, align 4 %48 = add i32 %47, 1 store i32 %48, ptr %9, align 4 br label %15, !llvm.loop !8 49: ; preds = %15 ret void } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpdfn_ool2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_PSICopyMatrix_double(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @assert(ptr noundef %11) %13 = load ptr, ptr %6, align 8 %14 = call i32 @assert(ptr noundef %13) store i32 0, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp ult i32 %15, %16 br i1 %17, label %.lr.ph2, label %53 .lr.ph2: ; preds = %4 br label %18 18: ; preds = %.lr.ph2, %47 store i32 0, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp ult i32 %19, %20 br i1 %21, label %.lr.ph, label %46 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %40 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %9, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = load i32, ptr %10, align 4 %29 = zext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 %31 = load double, ptr %30, align 8 %32 = load ptr, ptr %5, align 8 %33 = load i32, ptr %9, align 4 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds ptr, ptr %32, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr %10, align 4 %38 = zext i32 %37 to i64 %39 = getelementptr inbounds double, ptr %36, i64 %38 store double %31, ptr %39, align 8 br label %40 40: ; preds = %22 %41 = load i32, ptr %10, align 4 %42 = add i32 %41, 1 store i32 %42, ptr %10, align 4 %43 = load i32, ptr %10, align 4 %44 = load i32, ptr %8, align 4 %45 = icmp ult i32 %43, %44 br i1 %45, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %18 br label %47 47: ; preds = %46 %48 = load i32, ptr %9, align 4 %49 = add i32 %48, 1 store i32 %49, ptr %9, align 4 %50 = load i32, ptr %9, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp ult i32 %50, %51 br i1 %52, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %47 br label %53 53: ; preds = %._crit_edge3, %4 ret void } declare i32 @assert(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpptn3o5eo.c' source_filename = "/tmp/tmpptn3o5eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"libx1.so\00", align 1 @RTLD_NOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"libx2.so\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"libx2_f2\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"libx1_f1\00", align 1 @.str.4 = private unnamed_addr constant [83 x i8] c"Going to `dlclose(3)' libx2, it should not be unloaded since libx1 depends on it.\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Main is finished.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @RTLD_NOW, align 4 %9 = call ptr @dlopen(ptr noundef @.str, i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (...) @dlerror() %14 = call i32 @fatal(i32 noundef %13) br label %15 15: ; preds = %12, %2 %16 = load i32, ptr @RTLD_NOW, align 4 %17 = call ptr @dlopen(ptr noundef @.str.1, i32 noundef %16) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %15 %21 = call i32 (...) @dlerror() %22 = call i32 @fatal(i32 noundef %21) br label %23 23: ; preds = %20, %15 %24 = load ptr, ptr %7, align 8 %25 = call i32 @invoke(ptr noundef %24, ptr noundef @.str.2) %26 = load ptr, ptr %6, align 8 %27 = call i32 @invoke(ptr noundef %26, ptr noundef @.str.3) %28 = call i32 @printf(ptr noundef @.str.4) %29 = load ptr, ptr %7, align 8 %30 = call i32 @dlclose(ptr noundef %29) %31 = call i32 @printf(ptr noundef @.str.5) %32 = load i32, ptr @EXIT_SUCCESS, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @fatal(i32 noundef) #1 declare i32 @dlerror(...) #1 declare i32 @invoke(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @dlclose(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/tmpptn3o5eo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"libx1.so\00", align 1 @RTLD_NOW = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [9 x i8] c"libx2.so\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"libx2_f2\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"libx1_f1\00", align 1 @.str.4 = private unnamed_addr constant [83 x i8] c"Going to `dlclose(3)' libx2, it should not be unloaded since libx1 depends on it.\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"Main is finished.\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr @RTLD_NOW, align 4 %9 = call ptr @dlopen(ptr noundef @.str, i32 noundef %8) store ptr %9, ptr %6, align 8 %10 = load ptr, ptr %6, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (...) @dlerror() %14 = call i32 @fatal(i32 noundef %13) br label %15 15: ; preds = %12, %2 %16 = load i32, ptr @RTLD_NOW, align 4 %17 = call ptr @dlopen(ptr noundef @.str.1, i32 noundef %16) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %15 %21 = call i32 (...) @dlerror() %22 = call i32 @fatal(i32 noundef %21) br label %23 23: ; preds = %20, %15 %24 = load ptr, ptr %7, align 8 %25 = call i32 @invoke(ptr noundef %24, ptr noundef @.str.2) %26 = load ptr, ptr %6, align 8 %27 = call i32 @invoke(ptr noundef %26, ptr noundef @.str.3) %28 = call i32 @printf(ptr noundef @.str.4) %29 = load ptr, ptr %7, align 8 %30 = call i32 @dlclose(ptr noundef %29) %31 = call i32 @printf(ptr noundef @.str.5) %32 = load i32, ptr @EXIT_SUCCESS, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable } declare ptr @dlopen(ptr noundef, i32 noundef) #1 declare i32 @fatal(i32 noundef) #1 declare i32 @dlerror(...) #1 declare i32 @invoke(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @dlclose(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/tmpzwkftsf6.c' source_filename = "/tmp/tmpzwkftsf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XIMText_feedback(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = inttoptr i64 %5 to ptr ret ptr %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzwkftsf6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_XIMText_feedback(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i64, ptr %4, align 8 %6 = inttoptr i64 %5 to ptr ret ptr %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpffs77860.c' source_filename = "/tmp/tmpffs77860.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @XCB_ATOM_WINDOW = dso_local global i32 0, align 4 @UINT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xcb_icccm_get_wm_colormap_windows_unchecked(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr @XCB_ATOM_WINDOW, align 4 %11 = load i32, ptr @UINT_MAX, align 4 %12 = call i32 @xcb_get_property_unchecked(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 0, i32 noundef %11) ret i32 %12 } declare i32 @xcb_get_property_unchecked(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpffs77860.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @XCB_ATOM_WINDOW = dso_local global i32 0, align 4 @UINT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @xcb_icccm_get_wm_colormap_windows_unchecked(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr @XCB_ATOM_WINDOW, align 4 %11 = load i32, ptr @UINT_MAX, align 4 %12 = call i32 @xcb_get_property_unchecked(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef 0, i32 noundef %11) ret i32 %12 } declare i32 @xcb_get_property_unchecked(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1ymjmixh.c' source_filename = "/tmp/tmp1ymjmixh.c" target datalayout = "e-m:e-p270: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/tmp1ymjmixh.c" target datalayout = "e-m:e-p270: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/tmpjmuqkh0t.c' source_filename = "/tmp/tmpjmuqkh0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Enter word: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Smallest word: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Largest word: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca [20 x i8], align 16 %4 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %37, %0 %6 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %7 = load i8, ptr %6, align 16 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 10 br i1 %9, label %10, label %38 10: ; preds = %5 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %13 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %14 = call i32 @strlen(ptr noundef %13) %15 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = icmp slt i32 %14, %16 br i1 %17, label %18, label %22 18: ; preds = %10 %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %20 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %21 = call i32 @strcpy(ptr noundef %19, ptr noundef %20) br label %22 22: ; preds = %18, %10 %23 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) %25 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %26 = call i32 @strlen(ptr noundef %25) %27 = icmp sgt i32 %24, %26 br i1 %27, label %28, label %32 28: ; preds = %22 %29 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %30 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30) br label %32 32: ; preds = %28, %22 %33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @strlen(ptr noundef %33) %35 = icmp eq i32 %34, 4 br i1 %35, label %36, label %37 36: ; preds = %32 br label %38 37: ; preds = %32 br label %5, !llvm.loop !6 38: ; preds = %36, %5 %39 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %39) %41 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %41) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjmuqkh0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"Enter word: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Smallest word: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Largest word: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i8], align 16 %3 = alloca [20 x i8], align 16 %4 = alloca [20 x i8], align 16 store i32 0, ptr %1, align 4 %5 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %6 = load i8, ptr %5, align 16 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 10 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %13 9: ; preds = %35 %10 = load i8, ptr %5, align 16 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 10 br i1 %12, label %13, label %..loopexit_crit_edge, !llvm.loop !6 13: ; preds = %.lr.ph, %9 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %16 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %17 = call i32 @strlen(ptr noundef %16) %18 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp slt i32 %17, %19 br i1 %20, label %21, label %25 21: ; preds = %13 %22 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %23 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %24 = call i32 @strcpy(ptr noundef %22, ptr noundef %23) br label %25 25: ; preds = %21, %13 %26 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %27 = call i32 @strlen(ptr noundef %26) %28 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %29 = call i32 @strlen(ptr noundef %28) %30 = icmp sgt i32 %27, %29 br i1 %30, label %31, label %35 31: ; preds = %25 %32 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %33 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33) br label %35 35: ; preds = %31, %25 %36 = getelementptr inbounds [20 x i8], ptr %2, i64 0, i64 0 %37 = call i32 @strlen(ptr noundef %36) %38 = icmp eq i32 %37, 4 br i1 %38, label %39, label %9 39: ; preds = %35 br label %40 ..loopexit_crit_edge: ; preds = %9 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %40 40: ; preds = %.loopexit, %39 %41 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %41) %43 = getelementptr inbounds [20 x i8], ptr %4, i64 0, i64 0 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %43) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0g3lh6fe.c' source_filename = "/tmp/tmp0g3lh6fe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"It costs \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c" crowns.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawcost(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca [40 x i8], align 16 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %8 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %8, align 16 %9 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 %10 = call i32 @strcat(ptr noundef %9, ptr noundef @.str) %11 = load i8, ptr %6, align 1 %12 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 9 %13 = call i32 @int2str(i8 noundef zeroext %11, ptr noundef %12) %14 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str.1) %16 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 %17 = load i8, ptr %4, align 1 %18 = load i8, ptr %5, align 1 %19 = call i32 @drawstringz(ptr noundef %16, i8 noundef zeroext %17, i8 noundef zeroext %18) ret void } declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @int2str(i8 noundef zeroext, ptr noundef) #1 declare i32 @drawstringz(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0g3lh6fe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"It costs \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c" crowns.\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @drawcost(i8 noundef zeroext %0, i8 noundef zeroext %1, i8 noundef zeroext %2) #0 { %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca [40 x i8], align 16 store i8 %0, ptr %4, align 1 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %8 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 store i8 0, ptr %8, align 16 %9 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 %10 = call i32 @strcat(ptr noundef %9, ptr noundef @.str) %11 = load i8, ptr %6, align 1 %12 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 9 %13 = call i32 @int2str(i8 noundef zeroext %11, ptr noundef %12) %14 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 %15 = call i32 @strcat(ptr noundef %14, ptr noundef @.str.1) %16 = getelementptr inbounds [40 x i8], ptr %7, i64 0, i64 0 %17 = load i8, ptr %4, align 1 %18 = load i8, ptr %5, align 1 %19 = call i32 @drawstringz(ptr noundef %16, i8 noundef zeroext %17, i8 noundef zeroext %18) ret void } declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @int2str(i8 noundef zeroext, ptr noundef) #1 declare i32 @drawstringz(ptr noundef, i8 noundef zeroext, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpx581yw97.c' source_filename = "/tmp/tmpx581yw97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c" - - - - - - - - > ttb_base = %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Mali_LdMem(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9228, i32 noundef 0) %8 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9224, i32 noundef -2004318072) %9 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9220, i32 noundef 0) %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 3 %12 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9216, i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = call i32 @printk(ptr noundef @.str, i32 noundef %13) %15 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9240, i32 noundef 1) %16 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 8196, i32 noundef -1) %17 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 8200, i32 noundef -1) %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @Mali_WrReg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printk(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/tmpx581yw97.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c" - - - - - - - - > ttb_base = %x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @Mali_LdMem(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 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9228, i32 noundef 0) %8 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9224, i32 noundef -2004318072) %9 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9220, i32 noundef 0) %10 = load i32, ptr %6, align 4 %11 = or i32 %10, 3 %12 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9216, i32 noundef %11) %13 = load i32, ptr %6, align 4 %14 = call i32 @printk(ptr noundef @.str, i32 noundef %13) %15 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 9240, i32 noundef 1) %16 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 8196, i32 noundef -1) %17 = call i32 @Mali_WrReg(i32 noundef 32, i32 noundef 0, i32 noundef 8200, i32 noundef -1) %18 = load ptr, ptr %4, align 8 ret ptr %18 } declare i32 @Mali_WrReg(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printk(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/tmpzzihvjn7.c' source_filename = "/tmp/tmpzzihvjn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pygame_scrap_contains(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = call ptr (...) @pygame_scrap_get_types() store ptr %6, ptr %5, align 8 br label %7 7: ; preds = %24, %1 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %4, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds ptr, ptr %8, i64 %10 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %27 14: ; preds = %7 %15 = load ptr, ptr %3, align 8 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i64 @strcmp(ptr noundef %15, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 1, ptr %2, align 4 br label %28 24: ; preds = %14 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %7, !llvm.loop !6 27: ; preds = %7 store i32 0, ptr %2, align 4 br label %28 28: ; preds = %27, %23 %29 = load i32, ptr %2, align 4 ret i32 %29 } declare ptr @pygame_scrap_get_types(...) #1 declare i64 @strcmp(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/tmpzzihvjn7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pygame_scrap_contains(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %6 = call ptr (...) @pygame_scrap_get_types() store ptr %6, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds ptr, ptr %7, i64 %9 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %.lr.ph, label %32 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %23 %14 = load ptr, ptr %3, align 8 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i64 @strcmp(ptr noundef %14, ptr noundef %19) %21 = icmp eq i64 %20, 0 br i1 %21, label %22, label %23 22: ; preds = %13 store i32 1, ptr %2, align 4 br label %33 23: ; preds = %13 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %32 32: ; preds = %._crit_edge, %1 store i32 0, ptr %2, align 4 br label %33 33: ; preds = %32, %22 %34 = load i32, ptr %2, align 4 ret i32 %34 } declare ptr @pygame_scrap_get_types(...) #1 declare i64 @strcmp(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/tmpbzxrpoc4.c' source_filename = "/tmp/tmpbzxrpoc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_session_is_remote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EINVAL, align 4 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbzxrpoc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sd_session_is_remote(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @EINVAL, align 4 %4 = sub nsw i32 0, %3 ret i32 %4 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuwealqx6.c' source_filename = "/tmp/tmpuwealqx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola mundo xD\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @misael() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuwealqx6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Hola mundo xD\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @misael() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu9dapdmt.c' source_filename = "/tmp/tmpu9dapdmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ensure_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %32, %3 %11 = load i64, ptr %7, align 8 %12 = load i64, ptr %8, align 8 %13 = icmp ugt i64 %11, %12 br i1 %13, label %14, label %36 14: ; preds = %10 %15 = load i32, ptr %5, align 4 %16 = load ptr, ptr %6, align 8 %17 = load i64, ptr %8, align 8 %18 = getelementptr i8, ptr %16, i64 %17 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %8, align 8 %21 = sub i64 %19, %20 %22 = call i64 @read(i32 noundef %15, ptr noundef %18, i64 noundef %21) store i64 %22, ptr %9, align 8 %23 = load i64, ptr %9, align 8 %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %14 %26 = load i64, ptr %9, align 8 store i64 %26, ptr %4, align 8 br label %38 27: ; preds = %14 %28 = load i64, ptr %9, align 8 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %31 30: ; preds = %27 br label %36 31: ; preds = %27 br label %32 32: ; preds = %31 %33 = load i64, ptr %9, align 8 %34 = load i64, ptr %8, align 8 %35 = add i64 %34, %33 store i64 %35, ptr %8, align 8 br label %10, !llvm.loop !6 36: ; preds = %30, %10 %37 = load i64, ptr %8, align 8 store i64 %37, ptr %4, align 8 br label %38 38: ; preds = %36, %25 %39 = load i64, ptr %4, align 8 ret i64 %39 } declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu9dapdmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @ensure_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = load i64, ptr %8, align 8 %12 = icmp ugt i64 %10, %11 br i1 %12, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %31 %14 = load i32, ptr %5, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i64, ptr %8, align 8 %17 = getelementptr i8, ptr %15, i64 %16 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %8, align 8 %20 = sub i64 %18, %19 %21 = call i64 @read(i32 noundef %14, ptr noundef %17, i64 noundef %20) store i64 %21, ptr %9, align 8 %22 = load i64, ptr %9, align 8 %23 = icmp slt i64 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %13 %25 = load i64, ptr %9, align 8 store i64 %25, ptr %4, align 8 br label %40 26: ; preds = %13 %27 = load i64, ptr %9, align 8 %28 = icmp eq i64 %27, 0 br i1 %28, label %29, label %30 29: ; preds = %26 br label %38 30: ; preds = %26 br label %31 31: ; preds = %30 %32 = load i64, ptr %9, align 8 %33 = load i64, ptr %8, align 8 %34 = add i64 %33, %32 store i64 %34, ptr %8, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %8, align 8 %37 = icmp ugt i64 %35, %36 br i1 %37, label %13, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %38 38: ; preds = %.loopexit, %29 %39 = load i64, ptr %8, align 8 store i64 %39, ptr %4, align 8 br label %40 40: ; preds = %38, %24 %41 = load i64, ptr %4, align 8 ret i64 %41 } declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi0mf9oh_.c' source_filename = "/tmp/tmpi0mf9oh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BIO_TYPE_MD = dso_local global i32 0, align 4 @ERR_R_INTERNAL_ERROR = dso_local global i32 0, align 4 @PKCS7_F_PKCS7_FIND_DIGEST = dso_local global i32 0, align 4 @PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST = 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/tmpi0mf9oh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BIO_TYPE_MD = dso_local global i32 0, align 4 @ERR_R_INTERNAL_ERROR = dso_local global i32 0, align 4 @PKCS7_F_PKCS7_FIND_DIGEST = dso_local global i32 0, align 4 @PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST = 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/tmp2dpdox6s.c' source_filename = "/tmp/tmp2dpdox6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.nums = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @.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() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.nums, i64 20, i1 false) %3 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @rob(ptr noundef %3, i32 noundef 5) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @rob(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2dpdox6s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.nums = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16 @.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() #0 { %1 = alloca i32, align 4 %2 = alloca [5 x i32], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.nums, i64 20, i1 false) %3 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0 %4 = call i32 @rob(ptr noundef %3, i32 noundef 5) %5 = call i32 @printf(ptr noundef @.str, i32 noundef %4) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef) #2 declare i32 @rob(ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8dsatbtj.c' source_filename = "/tmp/tmp8dsatbtj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tosReal_expE(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 @exp(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8dsatbtj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tosReal_expE(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 @exp(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @exp(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprpgt_muf.c' source_filename = "/tmp/tmprpgt_muf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Para salir del shell use el comando \22logout\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler_sigint() #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/tmprpgt_muf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [46 x i8] c"Para salir del shell use el comando \22logout\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler_sigint() #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/tmprmgjnh5s.c' source_filename = "/tmp/tmprmgjnh5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"dado = %d, \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @exibe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 1 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprmgjnh5s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"dado = %d, \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @exibe(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %5, align 4 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 1 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp46fjoho8.c' source_filename = "/tmp/tmp46fjoho8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookup_rl(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [12 x i32], align 16 %8 = alloca [12 x i32], align 16 %9 = alloca [12 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %10, align 4 br label %18 18: ; preds = %43, %3 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %19, 12 br i1 %20, label %21, label %46 21: ; preds = %18 %22 = load i32, ptr %10, align 4 %23 = add nsw i32 %22, 1 %24 = call i32 @ipow(i32 noundef 4, i32 noundef %23) %25 = mul nsw i32 80, %24 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %27 store i32 %25, ptr %28, align 4 %29 = load i32, ptr %10, align 4 %30 = add nsw i32 %29, 1 %31 = call i32 @ipow(i32 noundef 4, i32 noundef %30) %32 = mul nsw i32 180, %31 %33 = load i32, ptr %10, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %34 store i32 %32, ptr %35, align 4 %36 = load i32, ptr %10, align 4 %37 = add nsw i32 %36, 1 %38 = call i32 @ipow(i32 noundef 4, i32 noundef %37) %39 = mul nsw i32 500, %38 %40 = load i32, ptr %10, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [12 x i32], ptr %9, i64 0, i64 %41 store i32 %39, ptr %42, align 4 br label %43 43: ; preds = %21 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %18, !llvm.loop !6 46: ; preds = %18 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %59, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 12 br i1 %49, label %50, label %62 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp sge i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %50 br label %62 58: ; preds = %50 br label %59 59: ; preds = %58 %60 = load i32, ptr %10, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %10, align 4 br label %47, !llvm.loop !8 62: ; preds = %57, %47 %63 = load i32, ptr %10, align 4 store i32 %63, ptr %13, align 4 %64 = load i32, ptr %13, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = load i32, ptr %4, align 4 %69 = sub nsw i32 %67, %68 store i32 %69, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %70 70: ; preds = %82, %62 %71 = load i32, ptr %10, align 4 %72 = icmp slt i32 %71, 12 br i1 %72, label %73, label %85 73: ; preds = %70 %74 = load i32, ptr %10, align 4 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %75 %77 = load i32, ptr %76, align 4 %78 = load i32, ptr %4, align 4 %79 = icmp sge i32 %77, %78 br i1 %79, label %80, label %81 80: ; preds = %73 br label %85 81: ; preds = %73 br label %82 82: ; preds = %81 %83 = load i32, ptr %10, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %10, align 4 br label %70, !llvm.loop !9 85: ; preds = %80, %70 %86 = load i32, ptr %10, align 4 store i32 %86, ptr %15, align 4 %87 = load i32, ptr %15, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = load i32, ptr %4, align 4 %92 = sub nsw i32 %90, %91 store i32 %92, ptr %14, align 4 store i32 0, ptr %10, align 4 br label %93 93: ; preds = %105, %85 %94 = load i32, ptr %10, align 4 %95 = icmp slt i32 %94, 12 br i1 %95, label %96, label %108 96: ; preds = %93 %97 = load i32, ptr %10, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds [12 x i32], ptr %9, i64 0, i64 %98 %100 = load i32, ptr %99, align 4 %101 = load i32, ptr %4, align 4 %102 = icmp sge i32 %100, %101 br i1 %102, label %103, label %104 103: ; preds = %96 br label %108 104: ; preds = %96 br label %105 105: ; preds = %104 %106 = load i32, ptr %10, align 4 %107 = add nsw i32 %106, 1 store i32 %107, ptr %10, align 4 br label %93, !llvm.loop !10 108: ; preds = %103, %93 %109 = load i32, ptr %10, align 4 store i32 %109, ptr %17, align 4 %110 = load i32, ptr %17, align 4 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds [12 x i32], ptr %9, i64 0, i64 %111 %113 = load i32, ptr %112, align 4 %114 = load i32, ptr %4, align 4 %115 = sub nsw i32 %113, %114 store i32 %115, ptr %16, align 4 %116 = load i32, ptr %12, align 4 store i32 %116, ptr %11, align 4 %117 = load i32, ptr %14, align 4 %118 = load i32, ptr %11, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %122 120: ; preds = %108 %121 = load i32, ptr %14, align 4 store i32 %121, ptr %11, align 4 br label %122 122: ; preds = %120, %108 %123 = load i32, ptr %16, align 4 %124 = load i32, ptr %11, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %126, label %128 126: ; preds = %122 %127 = load i32, ptr %16, align 4 store i32 %127, ptr %11, align 4 br label %128 128: ; preds = %126, %122 %129 = load i32, ptr %11, align 4 %130 = load i32, ptr %12, align 4 %131 = icmp eq i32 %129, %130 br i1 %131, label %132, label %137 132: ; preds = %128 %133 = load ptr, ptr %5, align 8 store i32 2, ptr %133, align 4 %134 = load i32, ptr %13, align 4 %135 = add nsw i32 %134, 1 %136 = load ptr, ptr %6, align 8 store i32 %135, ptr %136, align 4 br label %157 137: ; preds = %128 %138 = load i32, ptr %11, align 4 %139 = load i32, ptr %14, align 4 %140 = icmp eq i32 %138, %139 br i1 %140, label %141, label %146 141: ; preds = %137 %142 = load ptr, ptr %5, align 8 store i32 3, ptr %142, align 4 %143 = load i32, ptr %15, align 4 %144 = add nsw i32 %143, 1 %145 = load ptr, ptr %6, align 8 store i32 %144, ptr %145, align 4 br label %156 146: ; preds = %137 %147 = load i32, ptr %11, align 4 %148 = load i32, ptr %16, align 4 %149 = icmp eq i32 %147, %148 br i1 %149, label %150, label %155 150: ; preds = %146 %151 = load ptr, ptr %5, align 8 store i32 5, ptr %151, align 4 %152 = load i32, ptr %17, align 4 %153 = add nsw i32 %152, 1 %154 = load ptr, ptr %6, align 8 store i32 %153, ptr %154, align 4 br label %155 155: ; preds = %150, %146 br label %156 156: ; preds = %155, %141 br label %157 157: ; preds = %156, %132 ret void } declare i32 @ipow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp46fjoho8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lookup_rl(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [12 x i32], align 16 %8 = alloca [12 x i32], align 16 %9 = alloca [12 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp slt i32 %18, 12 br i1 %19, label %.lr.ph, label %47 .lr.ph: ; preds = %3 br label %20 20: ; preds = %.lr.ph, %42 %21 = load i32, ptr %10, align 4 %22 = add nsw i32 %21, 1 %23 = call i32 @ipow(i32 noundef 4, i32 noundef %22) %24 = mul nsw i32 80, %23 %25 = load i32, ptr %10, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %26 store i32 %24, ptr %27, align 4 %28 = load i32, ptr %10, align 4 %29 = add nsw i32 %28, 1 %30 = call i32 @ipow(i32 noundef 4, i32 noundef %29) %31 = mul nsw i32 180, %30 %32 = load i32, ptr %10, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %33 store i32 %31, ptr %34, align 4 %35 = load i32, ptr %10, align 4 %36 = add nsw i32 %35, 1 %37 = call i32 @ipow(i32 noundef 4, i32 noundef %36) %38 = mul nsw i32 500, %37 %39 = load i32, ptr %10, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [12 x i32], ptr %9, i64 0, i64 %40 store i32 %38, ptr %41, align 4 br label %42 42: ; preds = %20 %43 = load i32, ptr %10, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %10, align 4 %45 = load i32, ptr %10, align 4 %46 = icmp slt i32 %45, 12 br i1 %46, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %42 br label %47 47: ; preds = %._crit_edge, %3 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 12 br i1 %49, label %.lr.ph4, label %.loopexit2 .lr.ph4: ; preds = %47 br label %50 50: ; preds = %.lr.ph4, %59 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp sge i32 %54, %55 br i1 %56, label %57, label %58 57: ; preds = %50 br label %64 58: ; preds = %50 br label %59 59: ; preds = %58 %60 = load i32, ptr %10, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %10, align 4 %62 = load i32, ptr %10, align 4 %63 = icmp slt i32 %62, 12 br i1 %63, label %50, label %..loopexit2_crit_edge, !llvm.loop !8 ..loopexit2_crit_edge: ; preds = %59 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %47 br label %64 64: ; preds = %.loopexit2, %57 %65 = load i32, ptr %10, align 4 store i32 %65, ptr %13, align 4 %66 = load i32, ptr %13, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [12 x i32], ptr %7, i64 0, i64 %67 %69 = load i32, ptr %68, align 4 %70 = load i32, ptr %4, align 4 %71 = sub nsw i32 %69, %70 store i32 %71, ptr %12, align 4 store i32 0, ptr %10, align 4 %72 = load i32, ptr %10, align 4 %73 = icmp slt i32 %72, 12 br i1 %73, label %.lr.ph6, label %.loopexit1 .lr.ph6: ; preds = %64 br label %74 74: ; preds = %.lr.ph6, %83 %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = load i32, ptr %4, align 4 %80 = icmp sge i32 %78, %79 br i1 %80, label %81, label %82 81: ; preds = %74 br label %88 82: ; preds = %74 br label %83 83: ; preds = %82 %84 = load i32, ptr %10, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %10, align 4 %86 = load i32, ptr %10, align 4 %87 = icmp slt i32 %86, 12 br i1 %87, label %74, label %..loopexit1_crit_edge, !llvm.loop !9 ..loopexit1_crit_edge: ; preds = %83 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %64 br label %88 88: ; preds = %.loopexit1, %81 %89 = load i32, ptr %10, align 4 store i32 %89, ptr %15, align 4 %90 = load i32, ptr %15, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [12 x i32], ptr %8, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = load i32, ptr %4, align 4 %95 = sub nsw i32 %93, %94 store i32 %95, ptr %14, align 4 store i32 0, ptr %10, align 4 %96 = load i32, ptr %10, align 4 %97 = icmp slt i32 %96, 12 br i1 %97, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %88 br label %98 98: ; preds = %.lr.ph8, %107 %99 = load i32, ptr %10, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [12 x i32], ptr %9, i64 0, i64 %100 %102 = load i32, ptr %101, align 4 %103 = load i32, ptr %4, align 4 %104 = icmp sge i32 %102, %103 br i1 %104, label %105, label %106 105: ; preds = %98 br label %112 106: ; preds = %98 br label %107 107: ; preds = %106 %108 = load i32, ptr %10, align 4 %109 = add nsw i32 %108, 1 store i32 %109, ptr %10, align 4 %110 = load i32, ptr %10, align 4 %111 = icmp slt i32 %110, 12 br i1 %111, label %98, label %..loopexit_crit_edge, !llvm.loop !10 ..loopexit_crit_edge: ; preds = %107 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %88 br label %112 112: ; preds = %.loopexit, %105 %113 = load i32, ptr %10, align 4 store i32 %113, ptr %17, align 4 %114 = load i32, ptr %17, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [12 x i32], ptr %9, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 %118 = load i32, ptr %4, align 4 %119 = sub nsw i32 %117, %118 store i32 %119, ptr %16, align 4 %120 = load i32, ptr %12, align 4 store i32 %120, ptr %11, align 4 %121 = load i32, ptr %14, align 4 %122 = load i32, ptr %11, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %124, label %126 124: ; preds = %112 %125 = load i32, ptr %14, align 4 store i32 %125, ptr %11, align 4 br label %126 126: ; preds = %124, %112 %127 = load i32, ptr %16, align 4 %128 = load i32, ptr %11, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %130, label %132 130: ; preds = %126 %131 = load i32, ptr %16, align 4 store i32 %131, ptr %11, align 4 br label %132 132: ; preds = %130, %126 %133 = load i32, ptr %11, align 4 %134 = load i32, ptr %12, align 4 %135 = icmp eq i32 %133, %134 br i1 %135, label %136, label %141 136: ; preds = %132 %137 = load ptr, ptr %5, align 8 store i32 2, ptr %137, align 4 %138 = load i32, ptr %13, align 4 %139 = add nsw i32 %138, 1 %140 = load ptr, ptr %6, align 8 store i32 %139, ptr %140, align 4 br label %161 141: ; preds = %132 %142 = load i32, ptr %11, align 4 %143 = load i32, ptr %14, align 4 %144 = icmp eq i32 %142, %143 br i1 %144, label %145, label %150 145: ; preds = %141 %146 = load ptr, ptr %5, align 8 store i32 3, ptr %146, align 4 %147 = load i32, ptr %15, align 4 %148 = add nsw i32 %147, 1 %149 = load ptr, ptr %6, align 8 store i32 %148, ptr %149, align 4 br label %160 150: ; preds = %141 %151 = load i32, ptr %11, align 4 %152 = load i32, ptr %16, align 4 %153 = icmp eq i32 %151, %152 br i1 %153, label %154, label %159 154: ; preds = %150 %155 = load ptr, ptr %5, align 8 store i32 5, ptr %155, align 4 %156 = load i32, ptr %17, align 4 %157 = add nsw i32 %156, 1 %158 = load ptr, ptr %6, align 8 store i32 %157, ptr %158, align 4 br label %159 159: ; preds = %154, %150 br label %160 160: ; preds = %159, %145 br label %161 161: ; preds = %160, %136 ret void } declare i32 @ipow(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp9ax_62_v.c' source_filename = "/tmp/tmp9ax_62_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @direct_clear32(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 volatile i32 %1, ptr %4, align 4 %5 = load volatile i32, ptr %4, align 4 %6 = xor i32 %5, -1 %7 = load ptr, ptr %3, align 8 %8 = load volatile i32, ptr %7, align 4 %9 = and i32 %8, %6 store volatile i32 %9, ptr %7, align 4 %10 = load volatile i32, ptr %4, align 4 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9ax_62_v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @direct_clear32(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 volatile i32 %1, ptr %4, align 4 %5 = load volatile i32, ptr %4, align 4 %6 = xor i32 %5, -1 %7 = load ptr, ptr %3, align 8 %8 = load volatile i32, ptr %7, align 4 %9 = and i32 %8, %6 store volatile i32 %9, ptr %7, align 4 %10 = load volatile i32, ptr %4, align 4 ret i32 %10 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0smrnlxf.c' source_filename = "/tmp/tmp0smrnlxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.str = private unnamed_addr constant [25 x i8] c"http://www.Linkerist.com\00", align 16 @.str = private unnamed_addr constant [29 x i8] c"String after |%c| is - |%s|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [25 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str, i64 25, i1 false) store i8 46, ptr %3, align 1 %5 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @strlen(ptr noundef %6) %8 = call ptr @memchr(ptr noundef %5, i8 noundef signext 46, i32 noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext 46, ptr noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, i8 noundef signext, 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/tmp0smrnlxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.str = private unnamed_addr constant [25 x i8] c"http://www.Linkerist.com\00", align 16 @.str = private unnamed_addr constant [29 x i8] c"String after |%c| is - |%s|\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [25 x i8], align 16 %3 = alloca i8, align 1 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str, i64 25, i1 false) store i8 46, ptr %3, align 1 %5 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [25 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @strlen(ptr noundef %6) %8 = call ptr @memchr(ptr noundef %5, i8 noundef signext 46, i32 noundef %7) store ptr %8, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @printf(ptr noundef @.str, i8 noundef signext 46, ptr noundef %9) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare ptr @memchr(ptr noundef, i8 noundef signext, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 declare i32 @printf(ptr noundef, i8 noundef signext, 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/tmpf1xxg4oi.c' source_filename = "/tmp/tmpf1xxg4oi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Maximum destination string size exceeded\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @snoopy_string_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 -1, ptr %7, align 4 store i32 -1, ptr %8, align 4 store i32 -1, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = sub nsw i32 %14, %15 store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %3 %21 = call i32 @snoopy_error_handler(ptr noundef @.str) br label %22 22: ; preds = %20, %3 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strcat(ptr noundef %26, ptr noundef %27) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @snoopy_error_handler(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/tmpf1xxg4oi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Maximum destination string size exceeded\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @snoopy_string_append(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 -1, ptr %7, align 4 store i32 -1, ptr %8, align 4 store i32 -1, ptr %9, align 4 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %7, align 4 %16 = sub nsw i32 %14, %15 store i32 %16, ptr %8, align 4 %17 = load i32, ptr %8, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %22 20: ; preds = %3 %21 = call i32 @snoopy_error_handler(ptr noundef @.str) br label %22 22: ; preds = %20, %3 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load ptr, ptr %5, align 8 %28 = call i32 @strcat(ptr noundef %26, ptr noundef %27) ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @snoopy_error_handler(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/tmpj983cxvl.c' source_filename = "/tmp/tmpj983cxvl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitForWrite(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @FD_ZERO(ptr noundef %6) %9 = load i32, ptr %4, align 4 %10 = call i32 @FD_SET(i32 noundef %9, ptr noundef %6) %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @select(i32 noundef %13, ptr noundef null, ptr noundef %6, ptr noundef null, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = call i64 @FD_ISSET(i32 noundef %16, ptr noundef %6) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 1, ptr %3, align 4 br label %21 20: ; preds = %2 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(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/tmpj983cxvl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @waitForWrite(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 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @FD_ZERO(ptr noundef %6) %9 = load i32, ptr %4, align 4 %10 = call i32 @FD_SET(i32 noundef %9, ptr noundef %6) %11 = load i32, ptr %4, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @select(i32 noundef %13, ptr noundef null, ptr noundef %6, ptr noundef null, ptr noundef %14) %16 = load i32, ptr %4, align 4 %17 = call i64 @FD_ISSET(i32 noundef %16, ptr noundef %6) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %2 store i32 1, ptr %3, align 4 br label %21 20: ; preds = %2 store i32 0, ptr %3, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %3, align 4 ret i32 %22 } declare i32 @FD_ZERO(ptr noundef) #1 declare i32 @FD_SET(i32 noundef, ptr noundef) #1 declare i32 @select(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @FD_ISSET(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/tmp807ce33y.c' source_filename = "/tmp/tmp807ce33y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.src = private unnamed_addr constant [46 x i8] c"Accsvr:tcp -h 127.0.0.1 -p\0A 20018\00", align 16 @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"|%s|\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [46 x i8], align 16 %3 = alloca [128 x ptr], align 16 %4 = alloca [128 x ptr], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.src, i64 46, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = getelementptr inbounds [46 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [128 x ptr], ptr %3, i64 0, i64 0 %11 = call i32 @split(ptr noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %5) store i32 0, ptr %7, align 4 br label %12 12: ; preds = %42, %0 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %45 16: ; preds = %12 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [128 x ptr], ptr %3, i64 0, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @printf(ptr noundef @.str.1, ptr noundef %20) %22 = load i32, ptr %7, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [128 x ptr], ptr %3, i64 0, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = getelementptr inbounds [128 x ptr], ptr %4, i64 0, i64 0 %27 = call i32 @split(ptr noundef %25, ptr noundef @.str.2, ptr noundef %26, ptr noundef %6) store i32 0, ptr %8, align 4 br label %28 28: ; preds = %38, %16 %29 = load i32, ptr %8, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %32, label %41 32: ; preds = %28 %33 = load i32, ptr %8, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [128 x ptr], ptr %4, i64 0, i64 %34 %36 = load ptr, ptr %35, align 8 %37 = call i32 @printf(ptr noundef @.str.1, ptr noundef %36) br label %38 38: ; preds = %32 %39 = load i32, ptr %8, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %8, align 4 br label %28, !llvm.loop !6 41: ; preds = %28 br label %42 42: ; preds = %41 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %12, !llvm.loop !8 45: ; preds = %12 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @split(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp807ce33y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.src = private unnamed_addr constant [46 x i8] c"Accsvr:tcp -h 127.0.0.1 -p\0A 20018\00", align 16 @.str = private unnamed_addr constant [2 x i8] c":\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"|%s|\0A\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c" \09\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [46 x i8], align 16 %3 = alloca [128 x ptr], align 16 %4 = alloca [128 x ptr], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.src, i64 46, i1 false) store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = getelementptr inbounds [46 x i8], ptr %2, i64 0, i64 0 %10 = getelementptr inbounds [128 x ptr], ptr %3, i64 0, i64 0 %11 = call i32 @split(ptr noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %5) store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %49 .lr.ph2: ; preds = %0 br label %15 15: ; preds = %.lr.ph2, %43 %16 = load i32, ptr %7, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [128 x ptr], ptr %3, i64 0, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 @printf(ptr noundef @.str.1, ptr noundef %19) %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [128 x ptr], ptr %3, i64 0, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = getelementptr inbounds [128 x ptr], ptr %4, i64 0, i64 0 %26 = call i32 @split(ptr noundef %24, ptr noundef @.str.2, ptr noundef %25, ptr noundef %6) store i32 0, ptr %8, align 4 %27 = load i32, ptr %8, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %.lr.ph, label %42 .lr.ph: ; preds = %15 br label %30 30: ; preds = %.lr.ph, %36 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [128 x ptr], ptr %4, i64 0, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = call i32 @printf(ptr noundef @.str.1, ptr noundef %34) br label %36 36: ; preds = %30 %37 = load i32, ptr %8, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %42 42: ; preds = %._crit_edge, %15 br label %43 43: ; preds = %42 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %5, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %49 49: ; preds = %._crit_edge3, %0 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @split(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpb758h0tt.c' source_filename = "/tmp/tmpb758h0tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"adb shell \22[ %s ] && echo '1' || echo '0'\22\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"$ %s\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @adb_condition(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [2048 x i8], align 16 %5 = alloca [8 x i8], align 1 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 2048, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 8, i1 false) %6 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %10 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @os_shellexec(ptr noundef %9, ptr noundef %10, i32 noundef 8) %12 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %13 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 49 br i1 %18, label %19, label %20 19: ; preds = %1 store i32 1, ptr %2, align 4 br label %21 20: ; preds = %1 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %2, align 4 ret i32 %22 } ; 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 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @os_shellexec(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb758h0tt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [43 x i8] c"adb shell \22[ %s ] && echo '1' || echo '0'\22\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"$ %s\0A%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @adb_condition(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [2048 x i8], align 16 %5 = alloca [8 x i8], align 1 store ptr %0, ptr %3, align 8 call void @llvm.memset.p0.i64(ptr align 16 %4, i8 0, i64 2048, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 8, i1 false) %6 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %7 = load ptr, ptr %3, align 8 %8 = call i32 @sprintf(ptr noundef %6, ptr noundef @.str, ptr noundef %7) %9 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %10 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %11 = call i32 @os_shellexec(ptr noundef %9, ptr noundef %10, i32 noundef 8) %12 = getelementptr inbounds [2048 x i8], ptr %4, i64 0, i64 0 %13 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @printf(ptr noundef @.str.1, ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [8 x i8], ptr %5, i64 0, i64 0 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = icmp eq i32 %17, 49 br i1 %18, label %19, label %20 19: ; preds = %1 store i32 1, ptr %2, align 4 br label %21 20: ; preds = %1 store i32 0, ptr %2, align 4 br label %21 21: ; preds = %20, %19 %22 = load i32, ptr %2, align 4 ret i32 %22 } ; 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 @sprintf(ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @os_shellexec(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8o_3rgbf.c' source_filename = "/tmp/tmp8o_3rgbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%.10f\0A\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 @.str.2 = private unnamed_addr constant [22 x i8] c"The taxrate is %.3f.\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"The tax on %f is %f, so the grand total is %f.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"The TAXRATE is %.3f.\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c"The tax on %.2f is %.2f, so the grand total is %.2f.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"The TAXRATE_CONST is %.3f.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef 0x400921FB4D12D84A) %12 = load double, ptr @M_PI, align 8 %13 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %12) store double 1.740000e-01, ptr %6, align 8 store double 1.710000e-01, ptr %7, align 8 store double 2.000000e+02, ptr %8, align 8 store double 2.000000e-01, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = load double, ptr %7, align 8 %16 = fmul double %14, %15 store double %16, ptr %9, align 8 %17 = load double, ptr %8, align 8 %18 = load double, ptr %9, align 8 %19 = fadd double %17, %18 store double %19, ptr %10, align 8 %20 = load double, ptr %7, align 8 %21 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %20) %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = load double, ptr %10, align 8 %25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %22, double noundef %23, double noundef %24) store double 2.000000e+02, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = fmul double %26, 2.000000e-01 store double %27, ptr %9, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %9, align 8 %30 = fadd double %28, %29 store double %30, ptr %10, align 8 %31 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.4, double noundef 2.000000e-01) %32 = load double, ptr %8, align 8 %33 = load double, ptr %9, align 8 %34 = load double, ptr %10, align 8 %35 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %32, double noundef %33, double noundef %34) store double 2.000000e+02, ptr %8, align 8 %36 = load double, ptr %8, align 8 %37 = fmul double %36, 1.740000e-01 store double %37, ptr %9, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %9, align 8 %40 = fadd double %38, %39 store double %40, ptr %10, align 8 %41 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.6, double noundef 1.740000e-01) %42 = load double, ptr %8, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %42, double noundef %43, double noundef %44) ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8o_3rgbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%.10f\0A\0A\00", align 1 @M_PI = dso_local global double 0.000000e+00, align 8 @.str.2 = private unnamed_addr constant [22 x i8] c"The taxrate is %.3f.\0A\00", align 1 @.str.3 = private unnamed_addr constant [49 x i8] c"The tax on %f is %f, so the grand total is %f.\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [22 x i8] c"The TAXRATE is %.3f.\0A\00", align 1 @.str.5 = private unnamed_addr constant [55 x i8] c"The tax on %.2f is %.2f, so the grand total is %.2f.\0A\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"The TAXRATE_CONST is %.3f.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef 0x400921FB4D12D84A) %12 = load double, ptr @M_PI, align 8 %13 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %12) store double 1.740000e-01, ptr %6, align 8 store double 1.710000e-01, ptr %7, align 8 store double 2.000000e+02, ptr %8, align 8 store double 2.000000e-01, ptr %7, align 8 %14 = load double, ptr %8, align 8 %15 = load double, ptr %7, align 8 %16 = fmul double %14, %15 store double %16, ptr %9, align 8 %17 = load double, ptr %8, align 8 %18 = load double, ptr %9, align 8 %19 = fadd double %17, %18 store double %19, ptr %10, align 8 %20 = load double, ptr %7, align 8 %21 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %20) %22 = load double, ptr %8, align 8 %23 = load double, ptr %9, align 8 %24 = load double, ptr %10, align 8 %25 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %22, double noundef %23, double noundef %24) store double 2.000000e+02, ptr %8, align 8 %26 = load double, ptr %8, align 8 %27 = fmul double %26, 2.000000e-01 store double %27, ptr %9, align 8 %28 = load double, ptr %8, align 8 %29 = load double, ptr %9, align 8 %30 = fadd double %28, %29 store double %30, ptr %10, align 8 %31 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.4, double noundef 2.000000e-01) %32 = load double, ptr %8, align 8 %33 = load double, ptr %9, align 8 %34 = load double, ptr %10, align 8 %35 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %32, double noundef %33, double noundef %34) store double 2.000000e+02, ptr %8, align 8 %36 = load double, ptr %8, align 8 %37 = fmul double %36, 1.740000e-01 store double %37, ptr %9, align 8 %38 = load double, ptr %8, align 8 %39 = load double, ptr %9, align 8 %40 = fadd double %38, %39 store double %40, ptr %10, align 8 %41 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.6, double noundef 1.740000e-01) %42 = load double, ptr %8, align 8 %43 = load double, ptr %9, align 8 %44 = load double, ptr %10, align 8 %45 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.5, double noundef %42, double noundef %43, double noundef %44) ret i32 0 } 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"}
; ModuleID = '/tmp/tmp1se9hq2k.c' source_filename = "/tmp/tmp1se9hq2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %7, %0 %5 = call i64 (...) @nondet() %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %3, align 4 br label %4, !llvm.loop !6 12: ; preds = %4 br label %13 13: ; preds = %16, %12 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %13, !llvm.loop !8 21: ; preds = %13 %22 = load i32, ptr %3, align 4 %23 = icmp sle i32 %22, -1 br i1 %23, label %24, label %25 24: ; preds = %21 br label %26 25: ; preds = %21 store i32 1, ptr %1, align 4 br label %26 26: ; preds = %25, %24 %27 = load i32, ptr %1, align 4 ret i32 %27 } declare i64 @nondet(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp1se9hq2k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 store i32 0, ptr %3, align 4 %4 = call i64 (...) @nondet() %5 = icmp ne i64 %4, 0 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 %11 = call i64 (...) @nondet() %12 = icmp ne i64 %11, 0 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %0 %14 = load i32, ptr %2, align 4 %15 = icmp sgt i32 %14, 0 br i1 %15, label %.lr.ph2, label %23 .lr.ph2: ; preds = %13 br label %16 16: ; preds = %.lr.ph2, %16 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 1 store i32 %20, ptr %3, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %16 br label %23 23: ; preds = %._crit_edge3, %13 %24 = load i32, ptr %3, align 4 %25 = icmp sle i32 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %23 br label %28 27: ; preds = %23 store i32 1, ptr %1, align 4 br label %28 28: ; preds = %27, %26 %29 = load i32, ptr %1, align 4 ret i32 %29 } declare i64 @nondet(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpb34fycwi.c' source_filename = "/tmp/tmpb34fycwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @keymaps_header.header = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [19 x i8] c"dumpkeys | head -1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @keymaps_header() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = load i8, ptr @keymaps_header.header, align 16 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %33 6: ; preds = %0 %7 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %6 %11 = load ptr, ptr %1, align 8 %12 = call i32 @fgets(ptr noundef @keymaps_header.header, i32 noundef 1024, ptr noundef %11) %13 = load ptr, ptr %1, align 8 %14 = call i32 @pclose(ptr noundef %13) br label %15 15: ; preds = %10, %6 %16 = call i32 @strlen(ptr noundef @keymaps_header.header) store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [1024 x i8], ptr @keymaps_header.header, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 10 br i1 %26, label %27, label %32 27: ; preds = %19 %28 = load i32, ptr %2, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1024 x i8], ptr @keymaps_header.header, i64 0, i64 %30 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %27, %19, %15 br label %33 33: ; preds = %32, %0 ret ptr @keymaps_header.header } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb34fycwi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @keymaps_header.header = internal global [1024 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [19 x i8] c"dumpkeys | head -1\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @keymaps_header() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = load i8, ptr @keymaps_header.header, align 16 %4 = sext i8 %3 to i32 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %33 6: ; preds = %0 %7 = call ptr @popen(ptr noundef @.str, ptr noundef @.str.1) store ptr %7, ptr %1, align 8 %8 = load ptr, ptr %1, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %10, label %15 10: ; preds = %6 %11 = load ptr, ptr %1, align 8 %12 = call i32 @fgets(ptr noundef @keymaps_header.header, i32 noundef 1024, ptr noundef %11) %13 = load ptr, ptr %1, align 8 %14 = call i32 @pclose(ptr noundef %13) br label %15 15: ; preds = %10, %6 %16 = call i32 @strlen(ptr noundef @keymaps_header.header) store i32 %16, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = icmp sgt i32 %17, 0 br i1 %18, label %19, label %32 19: ; preds = %15 %20 = load i32, ptr %2, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [1024 x i8], ptr @keymaps_header.header, i64 0, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp eq i32 %25, 10 br i1 %26, label %27, label %32 27: ; preds = %19 %28 = load i32, ptr %2, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [1024 x i8], ptr @keymaps_header.header, i64 0, i64 %30 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %27, %19, %15 br label %33 33: ; preds = %32, %0 ret ptr @keymaps_header.header } declare ptr @popen(ptr noundef, ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @pclose(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptkp530vz.c' source_filename = "/tmp/tmptkp530vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_init() #0 { %1 = call i32 (...) @do_test() ret i32 42 } declare i32 @do_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptkp530vz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_init() #0 { %1 = call i32 (...) @do_test() ret i32 42 } declare i32 @do_test(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxea41v6m.c' source_filename = "/tmp/tmpxea41v6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"The value of foo is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @foo(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/tmpxea41v6m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"The value of foo is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @foo(i32 noundef 1) %3 = call i32 @printf(ptr noundef @.str, i32 noundef %2) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @foo(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/tmpq10d2rgi.c' source_filename = "/tmp/tmpq10d2rgi.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"parbake: could not allocate (%u bytes)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parbake_emalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr %2, align 8 %11 = trunc i64 %10 to i32 %12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %11) %13 = call i32 @exit(i32 noundef 1) #5 unreachable 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 ret ptr %15 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { 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/tmpq10d2rgi.c" target datalayout = "e-m:e-p270: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 [39 x i8] c"parbake: could not allocate (%u bytes)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @parbake_emalloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call ptr @malloc(i64 noundef %4) #4 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %14, label %8 8: ; preds = %1 %9 = load i32, ptr @stderr, align 4 %10 = load i64, ptr %2, align 8 %11 = trunc i64 %10 to i32 %12 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, i32 noundef %11) %13 = call i32 @exit(i32 noundef 1) #5 unreachable 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 ret ptr %15 } ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #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 = { allocsize(0) "frame-pointer"="all" "no-trapping-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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { 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/tmph9zl10vj.c' source_filename = "/tmp/tmph9zl10vj.c" target datalayout = "e-m:e-p270: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/tmph9zl10vj.c" target datalayout = "e-m:e-p270: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/tmpvycks4xp.c' source_filename = "/tmp/tmpvycks4xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".dta\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".sav\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".por\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".xpt\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c".json\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c".sas7bdat\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c".sas7bcat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @format(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp ult i64 %7, 4 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %75 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = getelementptr inbounds i8, ptr %13, i64 -4 %15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef 4) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %10 store i32 1, ptr %2, align 4 br label %75 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 -4 %23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.1, i32 noundef 4) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 2, ptr %2, align 4 br label %75 26: ; preds = %18 %27 = load ptr, ptr %3, align 8 %28 = load i64, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = getelementptr inbounds i8, ptr %29, i64 -4 %31 = call i64 @strncmp(ptr noundef %30, ptr noundef @.str.2, i32 noundef 4) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %26 store i32 4, ptr %2, align 4 br label %75 34: ; preds = %26 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = getelementptr inbounds i8, ptr %37, i64 -4 %39 = call i64 @strncmp(ptr noundef %38, ptr noundef @.str.3, i32 noundef 4) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %34 store i32 32, ptr %2, align 4 br label %75 42: ; preds = %34 %43 = load i64, ptr %4, align 8 %44 = icmp ult i64 %43, 5 br i1 %44, label %45, label %46 45: ; preds = %42 store i32 0, ptr %2, align 4 br label %75 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load i64, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %47, i64 %48 %50 = getelementptr inbounds i8, ptr %49, i64 -5 %51 = call i64 @strncmp(ptr noundef %50, ptr noundef @.str.4, i32 noundef 5) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %46 store i32 128, ptr %2, align 4 br label %75 54: ; preds = %46 %55 = load i64, ptr %4, align 8 %56 = icmp ult i64 %55, 9 br i1 %56, label %57, label %58 57: ; preds = %54 store i32 0, ptr %2, align 4 br label %75 58: ; preds = %54 %59 = load ptr, ptr %3, align 8 %60 = load i64, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %59, i64 %60 %62 = getelementptr inbounds i8, ptr %61, i64 -9 %63 = call i64 @strncmp(ptr noundef %62, ptr noundef @.str.5, i32 noundef 9) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %58 store i32 8, ptr %2, align 4 br label %75 66: ; preds = %58 %67 = load ptr, ptr %3, align 8 %68 = load i64, ptr %4, align 8 %69 = getelementptr inbounds i8, ptr %67, i64 %68 %70 = getelementptr inbounds i8, ptr %69, i64 -9 %71 = call i64 @strncmp(ptr noundef %70, ptr noundef @.str.6, i32 noundef 9) %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %74 73: ; preds = %66 store i32 16, ptr %2, align 4 br label %75 74: ; preds = %66 store i32 0, ptr %2, align 4 br label %75 75: ; preds = %74, %73, %65, %57, %53, %45, %41, %33, %25, %17, %9 %76 = load i32, ptr %2, align 4 ret i32 %76 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvycks4xp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".dta\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c".sav\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".por\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c".xpt\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c".json\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c".sas7bdat\00", align 1 @.str.6 = private unnamed_addr constant [10 x i8] c".sas7bcat\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @format(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call i64 @strlen(ptr noundef %5) store i64 %6, ptr %4, align 8 %7 = load i64, ptr %4, align 8 %8 = icmp ult i64 %7, 4 br i1 %8, label %9, label %10 9: ; preds = %1 store i32 0, ptr %2, align 4 br label %75 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = load i64, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %11, i64 %12 %14 = getelementptr inbounds i8, ptr %13, i64 -4 %15 = call i64 @strncmp(ptr noundef %14, ptr noundef @.str, i32 noundef 4) %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %10 store i32 1, ptr %2, align 4 br label %75 18: ; preds = %10 %19 = load ptr, ptr %3, align 8 %20 = load i64, ptr %4, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 -4 %23 = call i64 @strncmp(ptr noundef %22, ptr noundef @.str.1, i32 noundef 4) %24 = icmp eq i64 %23, 0 br i1 %24, label %25, label %26 25: ; preds = %18 store i32 2, ptr %2, align 4 br label %75 26: ; preds = %18 %27 = load ptr, ptr %3, align 8 %28 = load i64, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %27, i64 %28 %30 = getelementptr inbounds i8, ptr %29, i64 -4 %31 = call i64 @strncmp(ptr noundef %30, ptr noundef @.str.2, i32 noundef 4) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %26 store i32 4, ptr %2, align 4 br label %75 34: ; preds = %26 %35 = load ptr, ptr %3, align 8 %36 = load i64, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %35, i64 %36 %38 = getelementptr inbounds i8, ptr %37, i64 -4 %39 = call i64 @strncmp(ptr noundef %38, ptr noundef @.str.3, i32 noundef 4) %40 = icmp eq i64 %39, 0 br i1 %40, label %41, label %42 41: ; preds = %34 store i32 32, ptr %2, align 4 br label %75 42: ; preds = %34 %43 = load i64, ptr %4, align 8 %44 = icmp ult i64 %43, 5 br i1 %44, label %45, label %46 45: ; preds = %42 store i32 0, ptr %2, align 4 br label %75 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = load i64, ptr %4, align 8 %49 = getelementptr inbounds i8, ptr %47, i64 %48 %50 = getelementptr inbounds i8, ptr %49, i64 -5 %51 = call i64 @strncmp(ptr noundef %50, ptr noundef @.str.4, i32 noundef 5) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %54 53: ; preds = %46 store i32 128, ptr %2, align 4 br label %75 54: ; preds = %46 %55 = load i64, ptr %4, align 8 %56 = icmp ult i64 %55, 9 br i1 %56, label %57, label %58 57: ; preds = %54 store i32 0, ptr %2, align 4 br label %75 58: ; preds = %54 %59 = load ptr, ptr %3, align 8 %60 = load i64, ptr %4, align 8 %61 = getelementptr inbounds i8, ptr %59, i64 %60 %62 = getelementptr inbounds i8, ptr %61, i64 -9 %63 = call i64 @strncmp(ptr noundef %62, ptr noundef @.str.5, i32 noundef 9) %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %58 store i32 8, ptr %2, align 4 br label %75 66: ; preds = %58 %67 = load ptr, ptr %3, align 8 %68 = load i64, ptr %4, align 8 %69 = getelementptr inbounds i8, ptr %67, i64 %68 %70 = getelementptr inbounds i8, ptr %69, i64 -9 %71 = call i64 @strncmp(ptr noundef %70, ptr noundef @.str.6, i32 noundef 9) %72 = icmp eq i64 %71, 0 br i1 %72, label %73, label %74 73: ; preds = %66 store i32 16, ptr %2, align 4 br label %75 74: ; preds = %66 store i32 0, ptr %2, align 4 br label %75 75: ; preds = %74, %73, %65, %57, %53, %45, %41, %33, %25, %17, %9 %76 = load i32, ptr %2, align 4 ret i32 %76 } declare i64 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp02hpkemo.c' source_filename = "/tmp/tmp02hpkemo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wots_pk_from_sig(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 [35 x i32], align 16 %12 = alloca i32, 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 %13 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 0 %14 = load ptr, ptr %8, align 8 %15 = call i32 @chain_lengths(ptr noundef %13, ptr noundef %14) store i32 0, ptr %12, align 4 br label %16 16: ; preds = %45, %5 %17 = load i32, ptr %12, align 4 %18 = icmp slt i32 %17, 35 br i1 %18, label %19, label %48 19: ; preds = %16 %20 = load ptr, ptr %10, align 8 %21 = load i32, ptr %12, align 4 %22 = call i32 @set_chain_addr(ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %12, align 4 %25 = mul nsw i32 %24, 16 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %23, i64 %26 %28 = load ptr, ptr %7, align 8 %29 = load i32, ptr %12, align 4 %30 = mul nsw i32 %29, 16 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 %33 = load i32, ptr %12, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 %37 = load i32, ptr %12, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = sub nsw i32 15, %40 %42 = load ptr, ptr %9, align 8 %43 = load ptr, ptr %10, align 8 %44 = call i32 @gen_chain(ptr noundef %27, ptr noundef %32, i32 noundef %36, i32 noundef %41, ptr noundef %42, ptr noundef %43) br label %45 45: ; preds = %19 %46 = load i32, ptr %12, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %12, align 4 br label %16, !llvm.loop !6 48: ; preds = %16 ret void } declare i32 @chain_lengths(ptr noundef, ptr noundef) #1 declare i32 @set_chain_addr(ptr noundef, i32 noundef) #1 declare i32 @gen_chain(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp02hpkemo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wots_pk_from_sig(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 [35 x i32], align 16 %12 = alloca i32, 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 %13 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 0 %14 = load ptr, ptr %8, align 8 %15 = call i32 @chain_lengths(ptr noundef %13, ptr noundef %14) store i32 0, ptr %12, align 4 %16 = load i32, ptr %12, align 4 %17 = icmp slt i32 %16, 35 br i1 %17, label %.lr.ph, label %49 .lr.ph: ; preds = %5 br label %18 18: ; preds = %.lr.ph, %44 %19 = load ptr, ptr %10, align 8 %20 = load i32, ptr %12, align 4 %21 = call i32 @set_chain_addr(ptr noundef %19, i32 noundef %20) %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %12, align 4 %24 = mul nsw i32 %23, 16 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %12, align 4 %29 = mul nsw i32 %28, 16 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i32, ptr %12, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 %36 = load i32, ptr %12, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [35 x i32], ptr %11, i64 0, i64 %37 %39 = load i32, ptr %38, align 4 %40 = sub nsw i32 15, %39 %41 = load ptr, ptr %9, align 8 %42 = load ptr, ptr %10, align 8 %43 = call i32 @gen_chain(ptr noundef %26, ptr noundef %31, i32 noundef %35, i32 noundef %40, ptr noundef %41, ptr noundef %42) br label %44 44: ; preds = %18 %45 = load i32, ptr %12, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %12, align 4 %47 = load i32, ptr %12, align 4 %48 = icmp slt i32 %47, 35 br i1 %48, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %5 ret void } declare i32 @chain_lengths(ptr noundef, ptr noundef) #1 declare i32 @set_chain_addr(ptr noundef, i32 noundef) #1 declare i32 @gen_chain(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpjvhruds9.c' source_filename = "/tmp/tmpjvhruds9.c" target datalayout = "e-m:e-p270: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/tmpjvhruds9.c" target datalayout = "e-m:e-p270: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/tmpu6p2qhmf.c' source_filename = "/tmp/tmpu6p2qhmf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rms(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %24, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %27 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds double, ptr %12, i64 %14 %16 = load double, ptr %15, align 8 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds double, ptr %17, i64 %19 %21 = load double, ptr %20, align 8 %22 = load double, ptr %6, align 8 %23 = call double @llvm.fmuladd.f64(double %16, double %21, double %22) store double %23, ptr %6, align 8 br label %24 24: ; preds = %11 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %7, !llvm.loop !6 27: ; preds = %7 %28 = load double, ptr %6, align 8 %29 = load i32, ptr %4, align 4 %30 = sitofp i32 %29 to double %31 = fdiv double %28, %30 %32 = call double @sqrt(double noundef %31) #3 store double %32, ptr %6, align 8 %33 = load double, ptr %6, align 8 ret double %33 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu6p2qhmf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rms(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store double 0.000000e+00, ptr %6, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %23 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds double, ptr %11, i64 %13 %15 = load double, ptr %14, align 8 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %16, i64 %18 %20 = load double, ptr %19, align 8 %21 = load double, ptr %6, align 8 %22 = call double @llvm.fmuladd.f64(double %15, double %20, double %21) store double %22, ptr %6, align 8 br label %23 23: ; preds = %10 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 %30 = load double, ptr %6, align 8 %31 = load i32, ptr %4, align 4 %32 = sitofp i32 %31 to double %33 = fdiv double %30, %32 %34 = call double @sqrt(double noundef %33) #3 store double %34, ptr %6, align 8 %35 = load double, ptr %6, align 8 ret double %35 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprelpckqk.c' source_filename = "/tmp/tmprelpckqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Usage: kbdlight [up|down|off|max|get|set <value>]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprelpckqk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [51 x i8] c"Usage: kbdlight [up|down|off|max|get|set <value>]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @exit(i32 noundef 0) #3 unreachable } 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"}
; ModuleID = '/tmp/tmpgnj1wb3_.c' source_filename = "/tmp/tmpgnj1wb3_.c" target datalayout = "e-m:e-p270: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 ptr @read_paragraph(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 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 br label %9 9: ; preds = %38, %2 %10 = load ptr, ptr %3, align 8 %11 = load ptr, ptr %4, align 8 %12 = call i32 %10(ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load i32, ptr @EOF, align 4 %14 = icmp ne i32 %12, %13 br i1 %14, label %15, label %44 15: ; preds = %9 %16 = load i32, ptr %6, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = icmp sgt i32 %17, %18 br i1 %19, label %20, label %28 20: ; preds = %15 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 100 store i32 %22, ptr %5, align 4 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 %26 = call i64 @realloc(ptr noundef %23, i32 noundef %25) %27 = inttoptr i64 %26 to ptr store ptr %27, ptr %7, align 8 br label %28 28: ; preds = %20, %15 %29 = load i32, ptr %8, align 4 %30 = trunc i32 %29 to i8 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 %30, ptr %34, align 1 %35 = sext i8 %30 to i32 %36 = icmp eq i32 %35, 10 br i1 %36, label %37, label %38 37: ; preds = %28 br label %44 38: ; preds = %28 %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %6, align 4 %41 = add nsw i32 %40, 1 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 store i8 0, ptr %43, align 1 br label %9, !llvm.loop !6 44: ; preds = %37, %9 %45 = load ptr, ptr %7, align 8 ret ptr %45 } declare i64 @realloc(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/tmpgnj1wb3_.c" target datalayout = "e-m:e-p270: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 ptr @read_paragraph(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 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 %9(ptr noundef %10) store i32 %11, ptr %8, 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, %37 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %6, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %27 19: ; preds = %14 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 100 store i32 %21, ptr %5, align 4 %22 = load ptr, ptr %7, align 8 %23 = load i32, ptr %5, align 4 %24 = add nsw i32 %23, 1 %25 = call i64 @realloc(ptr noundef %22, i32 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %7, align 8 br label %27 27: ; preds = %19, %14 %28 = load i32, ptr %8, align 4 %29 = trunc i32 %28 to i8 %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 %34 = sext i8 %29 to i32 %35 = icmp eq i32 %34, 10 br i1 %35, label %36, label %37 36: ; preds = %27 br label %48 37: ; preds = %27 %38 = load ptr, ptr %7, align 8 %39 = load i32, ptr %6, align 4 %40 = add nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %3, align 8 %44 = load ptr, ptr %4, align 8 %45 = call i32 %43(ptr noundef %44) store i32 %45, ptr %8, align 4 %46 = load i32, ptr @EOF, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %37 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %48 48: ; preds = %.loopexit, %36 %49 = load ptr, ptr %7, align 8 ret ptr %49 } declare i64 @realloc(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/tmp0lwmylkv.c' source_filename = "/tmp/tmp0lwmylkv.c" target datalayout = "e-m:e-p270: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/tmp0lwmylkv.c" target datalayout = "e-m:e-p270: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/tmp6e9362il.c' source_filename = "/tmp/tmp6e9362il.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PRIO_PROCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"priv_sched_setpriority_aproc(asroot, injail)\00", align 1 @EACCES = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"priv_sched_setpriority_aproc(asroot, !injail)\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"priv_sched_setpriority_aproc(!asroot, injail)\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"priv_sched_setpriority_aproc(!asroot, !injail)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @priv_sched_setpriority_aproc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr @PRIO_PROCESS, align 4 %9 = call i32 @setpriority(i32 noundef %8, i32 noundef 0, i32 noundef -1) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr @EACCES, align 4 %18 = call i32 @expect(ptr noundef @.str, i32 noundef %16, i32 noundef -1, i32 noundef %17) br label %19 19: ; preds = %15, %12, %3 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = call i32 @expect(ptr noundef @.str.1, i32 noundef %26, i32 noundef 0, i32 noundef 0) br label %28 28: ; preds = %25, %22, %19 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %38, label %31 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %31 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr @EACCES, align 4 %37 = call i32 @expect(ptr noundef @.str.2, i32 noundef %35, i32 noundef -1, i32 noundef %36) br label %38 38: ; preds = %34, %31, %28 %39 = load i32, ptr %4, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %48, label %41 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr @EACCES, align 4 %47 = call i32 @expect(ptr noundef @.str.3, i32 noundef %45, i32 noundef -1, i32 noundef %46) br label %48 48: ; preds = %44, %41, %38 ret void } declare i32 @setpriority(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @expect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6e9362il.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PRIO_PROCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [45 x i8] c"priv_sched_setpriority_aproc(asroot, injail)\00", align 1 @EACCES = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"priv_sched_setpriority_aproc(asroot, !injail)\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"priv_sched_setpriority_aproc(!asroot, injail)\00", align 1 @.str.3 = private unnamed_addr constant [47 x i8] c"priv_sched_setpriority_aproc(!asroot, !injail)\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @priv_sched_setpriority_aproc(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %8 = load i32, ptr @PRIO_PROCESS, align 4 %9 = call i32 @setpriority(i32 noundef %8, i32 noundef 0, i32 noundef -1) store i32 %9, ptr %7, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %3 %13 = load i32, ptr %5, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %12 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr @EACCES, align 4 %18 = call i32 @expect(ptr noundef @.str, i32 noundef %16, i32 noundef -1, i32 noundef %17) br label %19 19: ; preds = %15, %12, %3 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %28 22: ; preds = %19 %23 = load i32, ptr %5, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = load i32, ptr %7, align 4 %27 = call i32 @expect(ptr noundef @.str.1, i32 noundef %26, i32 noundef 0, i32 noundef 0) br label %28 28: ; preds = %25, %22, %19 %29 = load i32, ptr %4, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %38, label %31 31: ; preds = %28 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %31 %35 = load i32, ptr %7, align 4 %36 = load i32, ptr @EACCES, align 4 %37 = call i32 @expect(ptr noundef @.str.2, i32 noundef %35, i32 noundef -1, i32 noundef %36) br label %38 38: ; preds = %34, %31, %28 %39 = load i32, ptr %4, align 4 %40 = icmp ne i32 %39, 0 br i1 %40, label %48, label %41 41: ; preds = %38 %42 = load i32, ptr %5, align 4 %43 = icmp ne i32 %42, 0 br i1 %43, label %48, label %44 44: ; preds = %41 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr @EACCES, align 4 %47 = call i32 @expect(ptr noundef @.str.3, i32 noundef %45, i32 noundef -1, i32 noundef %46) br label %48 48: ; preds = %44, %41, %38 ret void } declare i32 @setpriority(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @expect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqbojj8sj.c' source_filename = "/tmp/tmpqbojj8sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @append_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %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 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %7, align 8 store i32 0, ptr %6, align 4 br label %10 10: ; preds = %23, %2 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = icmp slt i32 %11, %13 br i1 %14, label %15, label %26 15: ; preds = %10 %16 = load ptr, ptr %4, 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 = load ptr, ptr %7, align 8 %22 = call i32 @fputc(i8 noundef signext %20, ptr noundef %21) br label %23 23: ; preds = %15 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 br label %10, !llvm.loop !6 26: ; preds = %10 %27 = load ptr, ptr %7, align 8 %28 = call i32 @fclose(ptr noundef %27) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqbojj8sj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"a\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @append_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i8, align 1 %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 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %7, align 8 store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strlen(ptr noundef %11) %13 = icmp slt i32 %10, %12 br i1 %13, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %22 %15 = load ptr, ptr %4, 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 = load ptr, ptr %7, align 8 %21 = call i32 @fputc(i8 noundef signext %19, ptr noundef %20) br label %22 22: ; preds = %14 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %6, align 4 %25 = load i32, ptr %6, align 4 %26 = load ptr, ptr %4, align 8 %27 = call i32 @strlen(ptr noundef %26) %28 = icmp slt i32 %25, %27 br i1 %28, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %29 29: ; preds = %._crit_edge, %2 %30 = load ptr, ptr %7, align 8 %31 = call i32 @fclose(ptr noundef %30) ret void } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @fputc(i8 noundef signext, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy3iu_c0q.c' source_filename = "/tmp/tmpy3iu_c0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [35 x i8] c"The number of dearrangements is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 @count(i32 noundef %4) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @count(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy3iu_c0q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [35 x i8] c"The number of dearrangements is %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %1) %4 = load i32, ptr %1, align 4 %5 = call i32 @count(i32 noundef %4) store i32 %5, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @count(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0xi67sgz.c' source_filename = "/tmp/tmp0xi67sgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntTypeSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1073741824 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i64, ptr %3, align 8 %9 = icmp eq i64 %8, 1073745920 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ true, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @DEBUG_ASSERT(i32 noundef %12) %14 = load i64, ptr %4, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %10 %17 = load i64, ptr %4, align 8 %18 = icmp eq i64 %17, 4 br label %19 19: ; preds = %16, %10 %20 = phi i1 [ true, %10 ], [ %18, %16 ] %21 = zext i1 %20 to i32 %22 = call i32 @DEBUG_ASSERT(i32 noundef %21) %23 = load i64, ptr %3, align 8 %24 = add i64 %23, 8 %25 = inttoptr i64 %24 to ptr %26 = load volatile i64, ptr %25, align 8 %27 = and i64 %26, -5 %28 = load i64, ptr %4, align 8 %29 = or i64 %27, %28 %30 = load i64, ptr %3, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to ptr store volatile i64 %29, ptr %32, align 8 ret void } declare i32 @DEBUG_ASSERT(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/tmp0xi67sgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntTypeSet(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i64 %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp eq i64 %5, 1073741824 br i1 %6, label %10, label %7 7: ; preds = %2 %8 = load i64, ptr %3, align 8 %9 = icmp eq i64 %8, 1073745920 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ true, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @DEBUG_ASSERT(i32 noundef %12) %14 = load i64, ptr %4, align 8 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %10 %17 = load i64, ptr %4, align 8 %18 = icmp eq i64 %17, 4 br label %19 19: ; preds = %16, %10 %20 = phi i1 [ true, %10 ], [ %18, %16 ] %21 = zext i1 %20 to i32 %22 = call i32 @DEBUG_ASSERT(i32 noundef %21) %23 = load i64, ptr %3, align 8 %24 = add i64 %23, 8 %25 = inttoptr i64 %24 to ptr %26 = load volatile i64, ptr %25, align 8 %27 = and i64 %26, -5 %28 = load i64, ptr %4, align 8 %29 = or i64 %27, %28 %30 = load i64, ptr %3, align 8 %31 = add i64 %30, 8 %32 = inttoptr i64 %31 to ptr store volatile i64 %29, ptr %32, align 8 ret void } declare i32 @DEBUG_ASSERT(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/tmp4ysnx9l7.c' source_filename = "/tmp/tmp4ysnx9l7.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"PE: Memory allocation fails!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @allocate_s_double_UT(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 %9 = mul nsw i32 %6, %8 %10 = sdiv i32 %9, 2 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = call ptr @allocate_double_2D_AP(i32 noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %1 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %1 %20 = load i32, ptr %4, align 4 %21 = call ptr @allocate_double_1D(i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 store ptr %21, ptr %23, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %19 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %19 store i32 0, ptr %3, align 4 br label %33 33: ; preds = %44, %32 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %37, label %47 37: ; preds = %33 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 %41 = load i32, ptr %3, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 store double 0.000000e+00, ptr %43, align 8 br label %44 44: ; preds = %37 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 br label %33, !llvm.loop !6 47: ; preds = %33 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %50 50: ; preds = %70, %47 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %2, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %54, label %73 54: ; preds = %50 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %3, align 4 %57 = sub nsw i32 %56, 1 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds ptr, ptr %55, i64 %58 %60 = load ptr, ptr %59, align 8 %61 = load i32, ptr %4, align 4 %62 = load i32, ptr %3, align 4 %63 = sub nsw i32 %61, %62 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds double, ptr %60, i64 %64 %66 = load ptr, ptr %5, align 8 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds ptr, ptr %66, i64 %68 store ptr %65, ptr %69, align 8 br label %70 70: ; preds = %54 %71 = load i32, ptr %3, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %3, align 4 br label %50, !llvm.loop !8 73: ; preds = %50 %74 = load ptr, ptr %5, align 8 ret ptr %74 } declare ptr @allocate_double_2D_AP(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @allocate_double_1D(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ysnx9l7.c" target datalayout = "e-m:e-p270: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 [30 x i8] c"PE: Memory allocation fails!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @allocate_s_double_UT(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 %9 = mul nsw i32 %6, %8 %10 = sdiv i32 %9, 2 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 %12 = call ptr @allocate_double_2D_AP(i32 noundef %11) store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %19 15: ; preds = %1 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %1 %20 = load i32, ptr %4, align 4 %21 = call ptr @allocate_double_1D(i32 noundef %20) %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 0 store ptr %21, ptr %23, align 8 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %32 28: ; preds = %19 %29 = load i32, ptr @stderr, align 4 %30 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str) %31 = call i32 @exit(i32 noundef 1) #3 unreachable 32: ; preds = %19 store i32 0, ptr %3, align 4 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %4, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %.lr.ph, label %49 .lr.ph: ; preds = %32 br label %36 36: ; preds = %.lr.ph, %43 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 %39 = load ptr, ptr %38, align 8 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 store double 0.000000e+00, ptr %42, align 8 br label %43 43: ; preds = %36 %44 = load i32, ptr %3, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %32 %50 = load i32, ptr %2, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %4, align 4 store i32 1, ptr %3, align 4 %52 = load i32, ptr %3, align 4 %53 = load i32, ptr %2, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph2, label %77 .lr.ph2: ; preds = %49 br label %55 55: ; preds = %.lr.ph2, %71 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %3, align 4 %58 = sub nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %56, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %4, align 4 %63 = load i32, ptr %3, align 4 %64 = sub nsw i32 %62, %63 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %61, i64 %65 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %3, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 store ptr %66, ptr %70, align 8 br label %71 71: ; preds = %55 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 %74 = load i32, ptr %3, align 4 %75 = load i32, ptr %2, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %55, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %49 %78 = load ptr, ptr %5, align 8 ret ptr %78 } declare ptr @allocate_double_2D_AP(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @allocate_double_1D(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpfpe4m4fy.c' source_filename = "/tmp/tmpfpe4m4fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mutation_HitAndRun(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, double noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 store ptr %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store i32 %2, ptr %13, align 4 store ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store i32 %5, ptr %16, align 4 store double %6, ptr %17, align 8 store double %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %27 = load ptr, ptr %12, align 8 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %15, align 8 %30 = load i32, ptr %16, align 4 %31 = call i32 @self_adj_index_search(ptr noundef %21, double noundef %28, ptr noundef %29, i32 noundef %30) %32 = load ptr, ptr %20, align 8 %33 = load i32, ptr %13, align 4 %34 = call i32 @uniformdirectionrng(ptr noundef %32, i32 noundef %33) %35 = call double (...) @normalrng() %36 = load double, ptr %18, align 8 %37 = fmul double %35, %36 %38 = load i32, ptr %21, align 4 %39 = sitofp i32 %38 to double %40 = load i32, ptr %16, align 4 %41 = sitofp i32 %40 to double %42 = fadd double %41, 1.000000e+00 %43 = fdiv double %39, %42 %44 = fptosi double %43 to i32 %45 = call double @pow(i32 noundef %44, double noundef 5.000000e-01) %46 = fmul double %37, %45 store double %46, ptr %26, align 8 store i32 1, ptr %23, align 4 br label %47 47: ; preds = %68, %10 %48 = load i32, ptr %23, align 4 %49 = load i32, ptr %13, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %51, label %71 51: ; preds = %47 %52 = load ptr, ptr %11, align 8 %53 = load i32, ptr %23, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds double, ptr %52, i64 %54 %56 = load double, ptr %55, align 8 %57 = load ptr, ptr %20, align 8 %58 = load i32, ptr %23, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds double, ptr %57, i64 %59 %61 = load double, ptr %60, align 8 %62 = load double, ptr %26, align 8 %63 = call double @llvm.fmuladd.f64(double %61, double %62, double %56) %64 = load ptr, ptr %20, align 8 %65 = load i32, ptr %23, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds double, ptr %64, i64 %66 store double %63, ptr %67, align 8 br label %68 68: ; preds = %51 %69 = load i32, ptr %23, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %23, align 4 br label %47, !llvm.loop !6 71: ; preds = %47 %72 = load ptr, ptr %20, align 8 %73 = load i32, ptr %13, align 4 %74 = call double @cost(ptr noundef %72, i32 noundef %73) store double %74, ptr %24, align 8 %75 = load double, ptr %24, align 8 %76 = load ptr, ptr %15, align 8 %77 = load i32, ptr %16, align 4 %78 = call i32 @self_adj_index_search(ptr noundef %22, double noundef %75, ptr noundef %76, i32 noundef %77) %79 = load ptr, ptr %14, align 8 %80 = load i32, ptr %22, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 %83 = load double, ptr %82, align 8 %84 = fneg double %83 %85 = load double, ptr %24, align 8 %86 = load double, ptr %17, align 8 %87 = fdiv double %85, %86 %88 = fsub double %84, %87 %89 = load ptr, ptr %14, align 8 %90 = load i32, ptr %21, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = fadd double %88, %93 %95 = load ptr, ptr %12, align 8 %96 = load double, ptr %95, align 8 %97 = load double, ptr %17, align 8 %98 = fdiv double %96, %97 %99 = fadd double %94, %98 store double %99, ptr %25, align 8 %100 = load double, ptr %25, align 8 %101 = fcmp ogt double %100, 0.000000e+00 br i1 %101, label %102, label %103 102: ; preds = %71 br label %106 103: ; preds = %71 %104 = load double, ptr %25, align 8 %105 = call double @exp(double noundef %104) #4 br label %106 106: ; preds = %103, %102 %107 = phi double [ 1.000000e+00, %102 ], [ %105, %103 ] %108 = load ptr, ptr %19, align 8 store double %107, ptr %108, align 8 %109 = call double (...) @uniformrng() store double %109, ptr %26, align 8 %110 = load ptr, ptr %19, align 8 %111 = load double, ptr %110, align 8 %112 = load double, ptr %26, align 8 %113 = fcmp ogt double %111, %112 br i1 %113, label %114, label %135 114: ; preds = %106 %115 = load double, ptr %24, align 8 %116 = load ptr, ptr %12, align 8 store double %115, ptr %116, align 8 store i32 1, ptr %23, align 4 br label %117 117: ; preds = %131, %114 %118 = load i32, ptr %23, align 4 %119 = load i32, ptr %13, align 4 %120 = icmp sle i32 %118, %119 br i1 %120, label %121, label %134 121: ; preds = %117 %122 = load ptr, ptr %20, align 8 %123 = load i32, ptr %23, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds double, ptr %122, i64 %124 %126 = load double, ptr %125, align 8 %127 = load ptr, ptr %11, align 8 %128 = load i32, ptr %23, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %127, i64 %129 store double %126, ptr %130, align 8 br label %131 131: ; preds = %121 %132 = load i32, ptr %23, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %23, align 4 br label %117, !llvm.loop !8 134: ; preds = %117 br label %135 135: ; preds = %134, %106 ret void } declare i32 @self_adj_index_search(ptr noundef, double noundef, ptr noundef, i32 noundef) #1 declare i32 @uniformdirectionrng(ptr noundef, i32 noundef) #1 declare double @normalrng(...) #1 declare double @pow(i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @cost(ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #3 declare double @uniformrng(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfpe4m4fy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Mutation_HitAndRun(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, double noundef %6, double noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 store ptr %0, ptr %11, align 8 store ptr %1, ptr %12, align 8 store i32 %2, ptr %13, align 4 store ptr %3, ptr %14, align 8 store ptr %4, ptr %15, align 8 store i32 %5, ptr %16, align 4 store double %6, ptr %17, align 8 store double %7, ptr %18, align 8 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %27 = load ptr, ptr %12, align 8 %28 = load double, ptr %27, align 8 %29 = load ptr, ptr %15, align 8 %30 = load i32, ptr %16, align 4 %31 = call i32 @self_adj_index_search(ptr noundef %21, double noundef %28, ptr noundef %29, i32 noundef %30) %32 = load ptr, ptr %20, align 8 %33 = load i32, ptr %13, align 4 %34 = call i32 @uniformdirectionrng(ptr noundef %32, i32 noundef %33) %35 = call double (...) @normalrng() %36 = load double, ptr %18, align 8 %37 = fmul double %35, %36 %38 = load i32, ptr %21, align 4 %39 = sitofp i32 %38 to double %40 = load i32, ptr %16, align 4 %41 = sitofp i32 %40 to double %42 = fadd double %41, 1.000000e+00 %43 = fdiv double %39, %42 %44 = fptosi double %43 to i32 %45 = call double @pow(i32 noundef %44, double noundef 5.000000e-01) %46 = fmul double %37, %45 store double %46, ptr %26, align 8 store i32 1, ptr %23, align 4 %47 = load i32, ptr %23, align 4 %48 = load i32, ptr %13, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %.lr.ph, label %73 .lr.ph: ; preds = %10 br label %50 50: ; preds = %.lr.ph, %67 %51 = load ptr, ptr %11, align 8 %52 = load i32, ptr %23, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %51, i64 %53 %55 = load double, ptr %54, align 8 %56 = load ptr, ptr %20, align 8 %57 = load i32, ptr %23, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds double, ptr %56, i64 %58 %60 = load double, ptr %59, align 8 %61 = load double, ptr %26, align 8 %62 = call double @llvm.fmuladd.f64(double %60, double %61, double %55) %63 = load ptr, ptr %20, align 8 %64 = load i32, ptr %23, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds double, ptr %63, i64 %65 store double %62, ptr %66, align 8 br label %67 67: ; preds = %50 %68 = load i32, ptr %23, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %23, align 4 %70 = load i32, ptr %23, align 4 %71 = load i32, ptr %13, align 4 %72 = icmp sle i32 %70, %71 br i1 %72, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %67 br label %73 73: ; preds = %._crit_edge, %10 %74 = load ptr, ptr %20, align 8 %75 = load i32, ptr %13, align 4 %76 = call double @cost(ptr noundef %74, i32 noundef %75) store double %76, ptr %24, align 8 %77 = load double, ptr %24, align 8 %78 = load ptr, ptr %15, align 8 %79 = load i32, ptr %16, align 4 %80 = call i32 @self_adj_index_search(ptr noundef %22, double noundef %77, ptr noundef %78, i32 noundef %79) %81 = load ptr, ptr %14, align 8 %82 = load i32, ptr %22, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 %85 = load double, ptr %84, align 8 %86 = fneg double %85 %87 = load double, ptr %24, align 8 %88 = load double, ptr %17, align 8 %89 = fdiv double %87, %88 %90 = fsub double %86, %89 %91 = load ptr, ptr %14, align 8 %92 = load i32, ptr %21, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 %95 = load double, ptr %94, align 8 %96 = fadd double %90, %95 %97 = load ptr, ptr %12, align 8 %98 = load double, ptr %97, align 8 %99 = load double, ptr %17, align 8 %100 = fdiv double %98, %99 %101 = fadd double %96, %100 store double %101, ptr %25, align 8 %102 = load double, ptr %25, align 8 %103 = fcmp ogt double %102, 0.000000e+00 br i1 %103, label %104, label %105 104: ; preds = %73 br label %108 105: ; preds = %73 %106 = load double, ptr %25, align 8 %107 = call double @exp(double noundef %106) #4 br label %108 108: ; preds = %105, %104 %109 = phi double [ 1.000000e+00, %104 ], [ %107, %105 ] %110 = load ptr, ptr %19, align 8 store double %109, ptr %110, align 8 %111 = call double (...) @uniformrng() store double %111, ptr %26, align 8 %112 = load ptr, ptr %19, align 8 %113 = load double, ptr %112, align 8 %114 = load double, ptr %26, align 8 %115 = fcmp ogt double %113, %114 br i1 %115, label %116, label %139 116: ; preds = %108 %117 = load double, ptr %24, align 8 %118 = load ptr, ptr %12, align 8 store double %117, ptr %118, align 8 store i32 1, ptr %23, align 4 %119 = load i32, ptr %23, align 4 %120 = load i32, ptr %13, align 4 %121 = icmp sle i32 %119, %120 br i1 %121, label %.lr.ph2, label %138 .lr.ph2: ; preds = %116 br label %122 122: ; preds = %.lr.ph2, %132 %123 = load ptr, ptr %20, align 8 %124 = load i32, ptr %23, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds double, ptr %123, i64 %125 %127 = load double, ptr %126, align 8 %128 = load ptr, ptr %11, align 8 %129 = load i32, ptr %23, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds double, ptr %128, i64 %130 store double %127, ptr %131, align 8 br label %132 132: ; preds = %122 %133 = load i32, ptr %23, align 4 %134 = add nsw i32 %133, 1 store i32 %134, ptr %23, align 4 %135 = load i32, ptr %23, align 4 %136 = load i32, ptr %13, align 4 %137 = icmp sle i32 %135, %136 br i1 %137, label %122, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %132 br label %138 138: ; preds = %._crit_edge3, %116 br label %139 139: ; preds = %138, %108 ret void } declare i32 @self_adj_index_search(ptr noundef, double noundef, ptr noundef, i32 noundef) #1 declare i32 @uniformdirectionrng(ptr noundef, i32 noundef) #1 declare double @normalrng(...) #1 declare double @pow(i32 noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @cost(ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @exp(double noundef) #3 declare double @uniformrng(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpcv8zfizt.c' source_filename = "/tmp/tmpcv8zfizt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"$(\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expand_envstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %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 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %66 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 store ptr %22, ptr %2, align 8 br label %66 23: ; preds = %16 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %31, label %29 29: ; preds = %23 %30 = load ptr, ptr %3, align 8 store ptr %30, ptr %2, align 8 br label %66 31: ; preds = %23 %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %7, align 8 %36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str) %37 = getelementptr inbounds i8, ptr %36, i64 2 store ptr %37, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = call ptr @strchr(ptr noundef %38, i8 noundef signext 41) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %46, label %42 42: ; preds = %31 %43 = load ptr, ptr %7, align 8 %44 = call i32 @free(ptr noundef %43) %45 = load ptr, ptr %3, align 8 store ptr %45, ptr %2, align 8 br label %66 46: ; preds = %31 %47 = load ptr, ptr %6, align 8 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %4, align 8 store i8 0, ptr %48, align 1 %49 = load ptr, ptr %5, align 8 %50 = call ptr @getenv(ptr noundef %49) store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %57 53: ; preds = %46 %54 = load ptr, ptr %4, align 8 %55 = load ptr, ptr %8, align 8 %56 = call i32 @strcat(ptr noundef %54, ptr noundef %55) br label %57 57: ; preds = %53, %46 %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = call i32 @strcat(ptr noundef %58, ptr noundef %60) %62 = load ptr, ptr %7, align 8 %63 = call i32 @free(ptr noundef %62) %64 = load ptr, ptr %3, align 8 %65 = call ptr @expand_envstr(ptr noundef %64) store ptr %65, ptr %2, align 8 br label %66 66: ; preds = %57, %42, %29, %21, %14 %67 = load ptr, ptr %2, align 8 ret ptr %67 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare ptr @getenv(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/tmpcv8zfizt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"$(\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @expand_envstr(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %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 store ptr %0, ptr %3, align 8 %10 = load ptr, ptr %3, align 8 %11 = call ptr @strstr(ptr noundef %10, ptr noundef @.str) store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %16, label %14 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 store ptr %15, ptr %2, align 8 br label %66 16: ; preds = %1 %17 = load ptr, ptr %3, align 8 %18 = call i32 @strlen(ptr noundef %17) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %16 %22 = load ptr, ptr %3, align 8 store ptr %22, ptr %2, align 8 br label %66 23: ; preds = %16 %24 = load i32, ptr %9, align 4 %25 = add nsw i32 %24, 1 %26 = call ptr @malloc(i32 noundef %25) store ptr %26, ptr %7, align 8 %27 = load ptr, ptr %7, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %31, label %29 29: ; preds = %23 %30 = load ptr, ptr %3, align 8 store ptr %30, ptr %2, align 8 br label %66 31: ; preds = %23 %32 = load ptr, ptr %7, align 8 %33 = load ptr, ptr %3, align 8 %34 = call i32 @strcpy(ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %7, align 8 %36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str) %37 = getelementptr inbounds i8, ptr %36, i64 2 store ptr %37, ptr %5, align 8 %38 = load ptr, ptr %5, align 8 %39 = call ptr @strchr(ptr noundef %38, i8 noundef signext 41) store ptr %39, ptr %6, align 8 %40 = load ptr, ptr %6, align 8 %41 = icmp ne ptr %40, null br i1 %41, label %46, label %42 42: ; preds = %31 %43 = load ptr, ptr %7, align 8 %44 = call i32 @free(ptr noundef %43) %45 = load ptr, ptr %3, align 8 store ptr %45, ptr %2, align 8 br label %66 46: ; preds = %31 %47 = load ptr, ptr %6, align 8 store i8 0, ptr %47, align 1 %48 = load ptr, ptr %4, align 8 store i8 0, ptr %48, align 1 %49 = load ptr, ptr %5, align 8 %50 = call ptr @getenv(ptr noundef %49) store ptr %50, ptr %8, align 8 %51 = load ptr, ptr %8, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %53, label %57 53: ; preds = %46 %54 = load ptr, ptr %4, align 8 %55 = load ptr, ptr %8, align 8 %56 = call i32 @strcat(ptr noundef %54, ptr noundef %55) br label %57 57: ; preds = %53, %46 %58 = load ptr, ptr %4, align 8 %59 = load ptr, ptr %6, align 8 %60 = getelementptr inbounds i8, ptr %59, i64 1 %61 = call i32 @strcat(ptr noundef %58, ptr noundef %60) %62 = load ptr, ptr %7, align 8 %63 = call i32 @free(ptr noundef %62) %64 = load ptr, ptr %3, align 8 %65 = call ptr @expand_envstr(ptr noundef %64) store ptr %65, ptr %2, align 8 br label %66 66: ; preds = %57, %42, %29, %21, %14 %67 = load ptr, ptr %2, align 8 ret ptr %67 } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 declare ptr @getenv(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"}