llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpvqzznxg_.c' source_filename = "/tmp/tmpvqzznxg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @charat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 store i8 %15, ptr %3, align 1 br label %17 16: ; preds = %2 store i8 -1, ptr %3, align 1 br label %17 17: ; preds = %16, %10 %18 = load i8, ptr %3, align 1 ret i8 %18 } 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/tmpvqzznxg_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @charat(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i8, align 1 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 store i8 %15, ptr %3, align 1 br label %17 16: ; preds = %2 store i8 -1, ptr %3, align 1 br label %17 17: ; preds = %16, %10 %18 = load i8, ptr %3, align 1 ret i8 %18 } 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/tmpbnrk1jqp.c' source_filename = "/tmp/tmpbnrk1jqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = alloca [30 x i32], align 16 %2 = alloca ptr, align 8 %3 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0 store ptr %3, ptr %2, align 8 %4 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 2 store i32 777, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 8 store i32 777, ptr %6, align 4 %7 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 2 %8 = load i32, ptr %7, align 8 %9 = icmp ne i32 %8, 777 br i1 %9, label %14, label %10 10: ; preds = %0 %11 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 8 %12 = load i32, ptr %11, align 16 %13 = icmp ne i32 %12, 777 br i1 %13, label %14, label %16 14: ; preds = %10, %0 %15 = call i32 (...) @abort() #2 unreachable 16: ; preds = %10 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbnrk1jqp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo() #0 { %1 = alloca [30 x i32], align 16 %2 = alloca ptr, align 8 %3 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 0 store ptr %3, ptr %2, align 8 %4 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 2 store i32 777, ptr %4, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i64 8 store i32 777, ptr %6, align 4 %7 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 2 %8 = load i32, ptr %7, align 8 %9 = icmp ne i32 %8, 777 br i1 %9, label %14, label %10 10: ; preds = %0 %11 = getelementptr inbounds [30 x i32], ptr %1, i64 0, i64 8 %12 = load i32, ptr %11, align 16 %13 = icmp ne i32 %12, 777 br i1 %13, label %14, label %16 14: ; preds = %10, %0 %15 = call i32 (...) @abort() #2 unreachable 16: ; preds = %10 ret void } ; Function Attrs: noreturn declare i32 @abort(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_smcufhx.c' source_filename = "/tmp/tmp_smcufhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_error(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @strerror(i32 noundef %3) ret ptr %4 } declare ptr @strerror(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/tmp_smcufhx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @trio_error(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call ptr @strerror(i32 noundef %3) ret ptr %4 } declare ptr @strerror(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/tmpsv4ecd7l.c' source_filename = "/tmp/tmpsv4ecd7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 { %1 = call i32 (...) @_fork() ret i32 %1 } declare i32 @_fork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsv4ecd7l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fork() #0 { %1 = call i32 (...) @_fork() ret i32 %1 } declare i32 @_fork(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprs4hd9ck.c' source_filename = "/tmp/tmprs4hd9ck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interrupt_handler20(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @io_out8(i32 noundef 32, i32 noundef 96) ret void } declare i32 @io_out8(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/tmprs4hd9ck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @interrupt_handler20(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @io_out8(i32 noundef 32, i32 noundef 96) ret void } declare i32 @io_out8(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/tmp4p3nyh9z.c' source_filename = "/tmp/tmp4p3nyh9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_word_read(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load ptr, ptr %6, align 8 %11 = call i32 @bbm_word_read(ptr noundef %8, i16 noundef zeroext %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bbm_word_read(ptr noundef, i16 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4p3nyh9z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bbm_com_word_read(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load ptr, ptr %6, align 8 %11 = call i32 @bbm_word_read(ptr noundef %8, i16 noundef zeroext %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @bbm_word_read(ptr noundef, i16 noundef zeroext, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzpw_lz_d.c' source_filename = "/tmp/tmpzpw_lz_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @array_sum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i64 0, ptr %5, align 8 br label %7 7: ; preds = %18, %2 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %4, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load i32, ptr %6, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i64, ptr %5, align 8 %15 = getelementptr inbounds i32, ptr %13, i64 %14 %16 = load i32, ptr %15, align 4 %17 = add nsw i32 %12, %16 store i32 %17, ptr %6, align 4 br label %18 18: ; preds = %11 %19 = load i64, ptr %5, align 8 %20 = add i64 %19, 1 store i64 %20, ptr %5, align 8 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = load i32, ptr %6, align 4 ret i32 %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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzpw_lz_d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @array_sum(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i64 0, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp ult i64 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %17 %11 = load i32, ptr %6, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i64, ptr %5, align 8 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4 %16 = add nsw i32 %11, %15 store i32 %16, ptr %6, align 4 br label %17 17: ; preds = %10 %18 = load i64, ptr %5, align 8 %19 = add i64 %18, 1 store i64 %19, ptr %5, align 8 %20 = load i64, ptr %5, align 8 %21 = load i64, ptr %4, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = load i32, ptr %6, align 4 ret i32 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7o1gxlgx.c' source_filename = "/tmp/tmp7o1gxlgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @wide_to_char.funcname = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [13 x i8] c"wide_to_char\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @wide_to_char(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %19 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @wide_strlen(ptr noundef %11) %13 = add nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = mul i64 2, %14 %16 = trunc i64 %15 to i32 %17 = load ptr, ptr @wide_to_char.funcname, align 8 %18 = call i32 @willus_mem_alloc_warn(ptr noundef %5, i32 noundef %16, ptr noundef %17, i32 noundef 10) br label %21 19: ; preds = %2 %20 = load ptr, ptr %3, align 8 store ptr %20, ptr %5, align 8 br label %21 21: ; preds = %19, %10 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %23 23: ; preds = %42, %21 %24 = load ptr, ptr %6, align 8 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i16, ptr %24, i64 %26 %28 = load i16, ptr %27, align 2 %29 = zext i16 %28 to i32 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %45 31: ; preds = %23 %32 = load ptr, ptr %6, align 8 %33 = load i32, ptr %7, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i16, ptr %32, i64 %34 %36 = load i16, ptr %35, align 2 %37 = trunc i16 %36 to i8 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 store i8 %37, ptr %41, align 1 br label %42 42: ; preds = %31 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %23, !llvm.loop !6 45: ; preds = %23 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 store i8 0, ptr %49, align 1 %50 = load ptr, ptr %5, align 8 ret ptr %50 } declare i32 @willus_mem_alloc_warn(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wide_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7o1gxlgx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @wide_to_char.funcname = internal global ptr @.str, align 8 @.str = private unnamed_addr constant [13 x i8] c"wide_to_char\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @wide_to_char(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %19 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @wide_strlen(ptr noundef %11) %13 = add nsw i32 %12, 1 %14 = sext i32 %13 to i64 %15 = mul i64 2, %14 %16 = trunc i64 %15 to i32 %17 = load ptr, ptr @wide_to_char.funcname, align 8 %18 = call i32 @willus_mem_alloc_warn(ptr noundef %5, i32 noundef %16, ptr noundef %17, i32 noundef 10) br label %21 19: ; preds = %2 %20 = load ptr, ptr %3, align 8 store ptr %20, ptr %5, align 8 br label %21 21: ; preds = %19, %10 %22 = load ptr, ptr %4, align 8 store ptr %22, ptr %6, align 8 store i32 0, ptr %7, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i16, ptr %23, i64 %25 %27 = load i16, ptr %26, align 2 %28 = zext i16 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %.lr.ph, label %51 .lr.ph: ; preds = %21 br label %30 30: ; preds = %.lr.ph, %41 %31 = load ptr, ptr %6, align 8 %32 = load i32, ptr %7, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i16, ptr %31, i64 %33 %35 = load i16, ptr %34, align 2 %36 = trunc i16 %35 to i8 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 store i8 %36, ptr %40, align 1 br label %41 41: ; preds = %30 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load ptr, ptr %6, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i16, ptr %44, i64 %46 %48 = load i16, ptr %47, align 2 %49 = zext i16 %48 to i32 %50 = icmp ne i32 %49, 0 br i1 %50, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %51 51: ; preds = %._crit_edge, %21 %52 = load ptr, ptr %5, align 8 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %5, align 8 ret ptr %56 } declare i32 @willus_mem_alloc_warn(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @wide_strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwdhoch0z.c' source_filename = "/tmp/tmpwdhoch0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.itimerval = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64, i64 } %struct.TYPE_3__ = type { i64, i64 } @ITIMER_REAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @alarm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.itimerval, align 8 %5 = alloca %struct.itimerval, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 1 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0 store i64 0, ptr %10, align 8 %11 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 0 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 1 store i64 0, ptr %12, align 8 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 0 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i32 0, i32 0 store i64 %14, ptr %16, align 8 %17 = load i32, ptr @ITIMER_REAL, align 4 %18 = call i32 @setitimer(i32 noundef %17, ptr noundef %5, ptr noundef %4) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %1 store i32 0, ptr %2, align 4 br label %34 21: ; preds = %1 %22 = getelementptr inbounds %struct.itimerval, ptr %4, i32 0, i32 0 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = getelementptr inbounds %struct.itimerval, ptr %4, i32 0, i32 0 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i32 0, i32 1 %27 = load i64, ptr %26, align 8 %28 = icmp ne i64 %27, 0 %29 = zext i1 %28 to i64 %30 = select i1 %28, i32 1, i32 0 %31 = sext i32 %30 to i64 %32 = add nsw i64 %24, %31 %33 = trunc i64 %32 to i32 store i32 %33, ptr %2, align 4 br label %34 34: ; preds = %21, %20 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwdhoch0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.itimerval = type { %struct.TYPE_4__, %struct.TYPE_3__ } %struct.TYPE_4__ = type { i64, i64 } %struct.TYPE_3__ = type { i64, i64 } @ITIMER_REAL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @alarm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.itimerval, align 8 %5 = alloca %struct.itimerval, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %7 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 1 store i64 0, ptr %8, align 8 %9 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 1 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0 store i64 0, ptr %10, align 8 %11 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 0 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %11, i32 0, i32 1 store i64 0, ptr %12, align 8 %13 = load i32, ptr %3, align 4 %14 = zext i32 %13 to i64 %15 = getelementptr inbounds %struct.itimerval, ptr %5, i32 0, i32 0 %16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i32 0, i32 0 store i64 %14, ptr %16, align 8 %17 = load i32, ptr @ITIMER_REAL, align 4 %18 = call i32 @setitimer(i32 noundef %17, ptr noundef %5, ptr noundef %4) %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %21 20: ; preds = %1 store i32 0, ptr %2, align 4 br label %34 21: ; preds = %1 %22 = getelementptr inbounds %struct.itimerval, ptr %4, i32 0, i32 0 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = getelementptr inbounds %struct.itimerval, ptr %4, i32 0, i32 0 %26 = getelementptr inbounds %struct.TYPE_4__, ptr %25, i32 0, i32 1 %27 = load i64, ptr %26, align 8 %28 = icmp ne i64 %27, 0 %29 = zext i1 %28 to i64 %30 = select i1 %28, i32 1, i32 0 %31 = sext i32 %30 to i64 %32 = add nsw i64 %24, %31 %33 = trunc i64 %32 to i32 store i32 %33, ptr %2, align 4 br label %34 34: ; preds = %21, %20 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare i32 @setitimer(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmppmx2ug92.c' source_filename = "/tmp/tmppmx2ug92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_off() #0 { %1 = call i32 @lcd_cmd(i32 noundef 8) ret void } declare i32 @lcd_cmd(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/tmppmx2ug92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @lcd_off() #0 { %1 = call i32 @lcd_cmd(i32 noundef 8) ret void } declare i32 @lcd_cmd(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/tmp2vpd9hwv.c' source_filename = "/tmp/tmp2vpd9hwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_residual_windowed(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %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 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %17, 2 %19 = add nsw i32 %18, 1 store i32 %19, ptr %16, align 4 %20 = load i32, ptr %16, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @cst_safe_alloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %26, i64 %29 store float 1.000000e+00, ptr %30, align 4 %31 = load i32, ptr %16, align 4 %32 = sub nsw i32 %31, 1 %33 = sitofp i32 %32 to double %34 = fdiv double 0x400921FB54442D18, %33 %35 = fptosi double %34 to i32 store i32 %35, ptr %14, align 4 store i32 0, ptr %12, align 4 %36 = load i32, ptr %16, align 4 %37 = sub nsw i32 %36, 1 store i32 %37, ptr %13, align 4 br label %38 38: ; preds = %58, %4 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, 1 %42 = icmp slt i32 %39, %41 br i1 %42, label %43, label %63 43: ; preds = %38 %44 = load i32, ptr %14, align 4 %45 = load i32, ptr %12, align 4 %46 = mul nsw i32 %44, %45 %47 = call double @cos(i32 noundef %46) %48 = call double @llvm.fmuladd.f64(double -4.600000e-01, double %47, double 5.400000e-01) %49 = fptrunc double %48 to float %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %12, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds float, ptr %50, i64 %52 store float %49, ptr %53, align 4 %54 = load ptr, ptr %9, align 8 %55 = load i32, ptr %13, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds float, ptr %54, i64 %56 store float %49, ptr %57, align 4 br label %58 58: ; preds = %43 %59 = load i32, ptr %12, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %12, align 4 %61 = load i32, ptr %13, align 4 %62 = add nsw i32 %61, -1 store i32 %62, ptr %13, align 4 br label %38, !llvm.loop !6 63: ; preds = %38 %64 = load i32, ptr %16, align 4 %65 = sext i32 %64 to i64 %66 = mul i64 4, %65 %67 = trunc i64 %66 to i32 %68 = call i64 @cst_safe_alloc(i32 noundef %67) %69 = inttoptr i64 %68 to ptr store ptr %69, ptr %11, align 8 store i32 0, ptr %12, align 4 br label %70 70: ; preds = %85, %63 %71 = load i32, ptr %12, align 4 %72 = load i32, ptr %16, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %74, label %88 74: ; preds = %70 %75 = load ptr, ptr %6, align 8 %76 = load i32, ptr %12, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = call float @cst_ulaw_to_short(i8 noundef zeroext %79) %81 = load ptr, ptr %11, align 8 %82 = load i32, ptr %12, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds float, ptr %81, i64 %83 store float %80, ptr %84, align 4 br label %85 85: ; preds = %74 %86 = load i32, ptr %12, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %12, align 4 br label %70, !llvm.loop !8 88: ; preds = %70 %89 = load i32, ptr %7, align 4 %90 = mul nsw i32 %89, 2 %91 = add nsw i32 %90, 1 %92 = sext i32 %91 to i64 %93 = mul i64 4, %92 %94 = trunc i64 %93 to i32 %95 = call i64 @cst_safe_alloc(i32 noundef %94) %96 = inttoptr i64 %95 to ptr store ptr %96, ptr %10, align 8 store i32 0, ptr %12, align 4 br label %97 97: ; preds = %114, %88 %98 = load i32, ptr %12, align 4 %99 = load i32, ptr %7, align 4 %100 = mul nsw i32 %99, 2 %101 = add nsw i32 %100, 1 %102 = icmp slt i32 %98, %101 br i1 %102, label %103, label %117 103: ; preds = %97 %104 = load ptr, ptr %8, align 8 %105 = load i32, ptr %12, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %104, i64 %106 %108 = load i8, ptr %107, align 1 %109 = call float @cst_ulaw_to_short(i8 noundef zeroext %108) %110 = load ptr, ptr %10, align 8 %111 = load i32, ptr %12, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds float, ptr %110, i64 %112 store float %109, ptr %113, align 4 br label %114 114: ; preds = %103 %115 = load i32, ptr %12, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %12, align 4 br label %97, !llvm.loop !9 117: ; preds = %97 %118 = load i32, ptr %5, align 4 %119 = load i32, ptr %7, align 4 %120 = icmp slt i32 %118, %119 br i1 %120, label %121, label %152 121: ; preds = %117 store i32 0, ptr %12, align 4 br label %122 122: ; preds = %148, %121 %123 = load i32, ptr %12, align 4 %124 = load i32, ptr %16, align 4 %125 = icmp slt i32 %123, %124 br i1 %125, label %126, label %151 126: ; preds = %122 %127 = load ptr, ptr %9, align 8 %128 = load i32, ptr %12, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds float, ptr %127, i64 %129 %131 = load float, ptr %130, align 4 %132 = load ptr, ptr %10, align 8 %133 = load i32, ptr %12, align 4 %134 = load i32, ptr %7, align 4 %135 = load i32, ptr %5, align 4 %136 = sub nsw i32 %134, %135 %137 = sdiv i32 %136, 2 %138 = add nsw i32 %133, %137 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds float, ptr %132, i64 %139 %141 = load float, ptr %140, align 4 %142 = load ptr, ptr %11, align 8 %143 = load i32, ptr %12, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds float, ptr %142, i64 %144 %146 = load float, ptr %145, align 4 %147 = call float @llvm.fmuladd.f32(float %131, float %141, float %146) store float %147, ptr %145, align 4 br label %148 148: ; preds = %126 %149 = load i32, ptr %12, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %12, align 4 br label %122, !llvm.loop !10 151: ; preds = %122 br label %187 152: ; preds = %117 %153 = load i32, ptr %5, align 4 %154 = load i32, ptr %7, align 4 %155 = sub nsw i32 %153, %154 %156 = sdiv i32 %155, 2 store i32 %156, ptr %15, align 4 %157 = load i32, ptr %15, align 4 store i32 %157, ptr %12, align 4 br label %158 158: ; preds = %183, %152 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %16, align 4 %161 = load i32, ptr %15, align 4 %162 = sub nsw i32 %160, %161 %163 = icmp slt i32 %159, %162 br i1 %163, label %164, label %186 164: ; preds = %158 %165 = load ptr, ptr %9, align 8 %166 = load i32, ptr %12, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds float, ptr %165, i64 %167 %169 = load float, ptr %168, align 4 %170 = load ptr, ptr %10, align 8 %171 = load i32, ptr %12, align 4 %172 = load i32, ptr %15, align 4 %173 = sub nsw i32 %171, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds float, ptr %170, i64 %174 %176 = load float, ptr %175, align 4 %177 = load ptr, ptr %11, align 8 %178 = load i32, ptr %12, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds float, ptr %177, i64 %179 %181 = load float, ptr %180, align 4 %182 = call float @llvm.fmuladd.f32(float %169, float %176, float %181) store float %182, ptr %180, align 4 br label %183 183: ; preds = %164 %184 = load i32, ptr %12, align 4 %185 = add nsw i32 %184, 1 store i32 %185, ptr %12, align 4 br label %158, !llvm.loop !11 186: ; preds = %158 br label %187 187: ; preds = %186, %151 store i32 0, ptr %12, align 4 br label %188 188: ; preds = %204, %187 %189 = load i32, ptr %12, align 4 %190 = load i32, ptr %16, align 4 %191 = icmp slt i32 %189, %190 br i1 %191, label %192, label %207 192: ; preds = %188 %193 = load ptr, ptr %11, align 8 %194 = load i32, ptr %12, align 4 %195 = sext i32 %194 to i64 %196 = getelementptr inbounds float, ptr %193, i64 %195 %197 = load float, ptr %196, align 4 %198 = fptosi float %197 to i16 %199 = call zeroext i8 @cst_short_to_ulaw(i16 noundef signext %198) %200 = load ptr, ptr %6, align 8 %201 = load i32, ptr %12, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds i8, ptr %200, i64 %202 store i8 %199, ptr %203, align 1 br label %204 204: ; preds = %192 %205 = load i32, ptr %12, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %12, align 4 br label %188, !llvm.loop !12 207: ; preds = %188 %208 = load ptr, ptr %9, align 8 %209 = call i32 @cst_free(ptr noundef %208) %210 = load ptr, ptr %11, align 8 %211 = call i32 @cst_free(ptr noundef %210) %212 = load ptr, ptr %10, align 8 %213 = call i32 @cst_free(ptr noundef %212) ret void } declare i64 @cst_safe_alloc(i32 noundef) #1 declare double @cos(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare float @cst_ulaw_to_short(i8 noundef zeroext) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare zeroext i8 @cst_short_to_ulaw(i16 noundef signext) #1 declare i32 @cst_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2vpd9hwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_residual_windowed(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %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 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %17 = load i32, ptr %5, align 4 %18 = mul nsw i32 %17, 2 %19 = add nsw i32 %18, 1 store i32 %19, ptr %16, align 4 %20 = load i32, ptr %16, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call i64 @cst_safe_alloc(i32 noundef %23) %25 = inttoptr i64 %24 to ptr store ptr %25, ptr %9, align 8 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds float, ptr %26, i64 %29 store float 1.000000e+00, ptr %30, align 4 %31 = load i32, ptr %16, align 4 %32 = sub nsw i32 %31, 1 %33 = sitofp i32 %32 to double %34 = fdiv double 0x400921FB54442D18, %33 %35 = fptosi double %34 to i32 store i32 %35, ptr %14, align 4 store i32 0, ptr %12, align 4 %36 = load i32, ptr %16, align 4 %37 = sub nsw i32 %36, 1 store i32 %37, ptr %13, align 4 %38 = load i32, ptr %12, align 4 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 %41 = icmp slt i32 %38, %40 br i1 %41, label %.lr.ph, label %66 .lr.ph: ; preds = %4 br label %42 42: ; preds = %.lr.ph, %57 %43 = load i32, ptr %14, align 4 %44 = load i32, ptr %12, align 4 %45 = mul nsw i32 %43, %44 %46 = call double @cos(i32 noundef %45) %47 = call double @llvm.fmuladd.f64(double -4.600000e-01, double %46, double 5.400000e-01) %48 = fptrunc double %47 to float %49 = load ptr, ptr %9, align 8 %50 = load i32, ptr %12, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds float, ptr %49, i64 %51 store float %48, ptr %52, align 4 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %13, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds float, ptr %53, i64 %55 store float %48, ptr %56, align 4 br label %57 57: ; preds = %42 %58 = load i32, ptr %12, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %12, align 4 %60 = load i32, ptr %13, align 4 %61 = add nsw i32 %60, -1 store i32 %61, ptr %13, align 4 %62 = load i32, ptr %12, align 4 %63 = load i32, ptr %5, align 4 %64 = add nsw i32 %63, 1 %65 = icmp slt i32 %62, %64 br i1 %65, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %66 66: ; preds = %._crit_edge, %4 %67 = load i32, ptr %16, align 4 %68 = sext i32 %67 to i64 %69 = mul i64 4, %68 %70 = trunc i64 %69 to i32 %71 = call i64 @cst_safe_alloc(i32 noundef %70) %72 = inttoptr i64 %71 to ptr store ptr %72, ptr %11, align 8 store i32 0, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = load i32, ptr %16, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %.lr.ph2, label %93 .lr.ph2: ; preds = %66 br label %76 76: ; preds = %.lr.ph2, %87 %77 = load ptr, ptr %6, align 8 %78 = load i32, ptr %12, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = call float @cst_ulaw_to_short(i8 noundef zeroext %81) %83 = load ptr, ptr %11, align 8 %84 = load i32, ptr %12, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds float, ptr %83, i64 %85 store float %82, ptr %86, align 4 br label %87 87: ; preds = %76 %88 = load i32, ptr %12, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %12, align 4 %90 = load i32, ptr %12, align 4 %91 = load i32, ptr %16, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %76, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %93 93: ; preds = %._crit_edge3, %66 %94 = load i32, ptr %7, align 4 %95 = mul nsw i32 %94, 2 %96 = add nsw i32 %95, 1 %97 = sext i32 %96 to i64 %98 = mul i64 4, %97 %99 = trunc i64 %98 to i32 %100 = call i64 @cst_safe_alloc(i32 noundef %99) %101 = inttoptr i64 %100 to ptr store ptr %101, ptr %10, align 8 store i32 0, ptr %12, align 4 %102 = load i32, ptr %12, align 4 %103 = load i32, ptr %7, align 4 %104 = mul nsw i32 %103, 2 %105 = add nsw i32 %104, 1 %106 = icmp slt i32 %102, %105 br i1 %106, label %.lr.ph5, label %126 .lr.ph5: ; preds = %93 br label %107 107: ; preds = %.lr.ph5, %118 %108 = load ptr, ptr %8, align 8 %109 = load i32, ptr %12, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %108, i64 %110 %112 = load i8, ptr %111, align 1 %113 = call float @cst_ulaw_to_short(i8 noundef zeroext %112) %114 = load ptr, ptr %10, align 8 %115 = load i32, ptr %12, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds float, ptr %114, i64 %116 store float %113, ptr %117, align 4 br label %118 118: ; preds = %107 %119 = load i32, ptr %12, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %12, align 4 %121 = load i32, ptr %12, align 4 %122 = load i32, ptr %7, align 4 %123 = mul nsw i32 %122, 2 %124 = add nsw i32 %123, 1 %125 = icmp slt i32 %121, %124 br i1 %125, label %107, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %118 br label %126 126: ; preds = %._crit_edge6, %93 %127 = load i32, ptr %5, align 4 %128 = load i32, ptr %7, align 4 %129 = icmp slt i32 %127, %128 br i1 %129, label %130, label %163 130: ; preds = %126 store i32 0, ptr %12, align 4 %131 = load i32, ptr %12, align 4 %132 = load i32, ptr %16, align 4 %133 = icmp slt i32 %131, %132 br i1 %133, label %.lr.ph11, label %162 .lr.ph11: ; preds = %130 br label %134 134: ; preds = %.lr.ph11, %156 %135 = load ptr, ptr %9, align 8 %136 = load i32, ptr %12, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds float, ptr %135, i64 %137 %139 = load float, ptr %138, align 4 %140 = load ptr, ptr %10, align 8 %141 = load i32, ptr %12, align 4 %142 = load i32, ptr %7, align 4 %143 = load i32, ptr %5, align 4 %144 = sub nsw i32 %142, %143 %145 = sdiv i32 %144, 2 %146 = add nsw i32 %141, %145 %147 = sext i32 %146 to i64 %148 = getelementptr inbounds float, ptr %140, i64 %147 %149 = load float, ptr %148, align 4 %150 = load ptr, ptr %11, align 8 %151 = load i32, ptr %12, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %150, i64 %152 %154 = load float, ptr %153, align 4 %155 = call float @llvm.fmuladd.f32(float %139, float %149, float %154) store float %155, ptr %153, align 4 br label %156 156: ; preds = %134 %157 = load i32, ptr %12, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %12, align 4 %159 = load i32, ptr %12, align 4 %160 = load i32, ptr %16, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %134, label %._crit_edge12, !llvm.loop !10 ._crit_edge12: ; preds = %156 br label %162 162: ; preds = %._crit_edge12, %130 br label %202 163: ; preds = %126 %164 = load i32, ptr %5, align 4 %165 = load i32, ptr %7, align 4 %166 = sub nsw i32 %164, %165 %167 = sdiv i32 %166, 2 store i32 %167, ptr %15, align 4 %168 = load i32, ptr %15, align 4 store i32 %168, ptr %12, align 4 %169 = load i32, ptr %12, align 4 %170 = load i32, ptr %16, align 4 %171 = load i32, ptr %15, align 4 %172 = sub nsw i32 %170, %171 %173 = icmp slt i32 %169, %172 br i1 %173, label %.lr.ph8, label %201 .lr.ph8: ; preds = %163 br label %174 174: ; preds = %.lr.ph8, %193 %175 = load ptr, ptr %9, align 8 %176 = load i32, ptr %12, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds float, ptr %175, i64 %177 %179 = load float, ptr %178, align 4 %180 = load ptr, ptr %10, align 8 %181 = load i32, ptr %12, align 4 %182 = load i32, ptr %15, align 4 %183 = sub nsw i32 %181, %182 %184 = sext i32 %183 to i64 %185 = getelementptr inbounds float, ptr %180, i64 %184 %186 = load float, ptr %185, align 4 %187 = load ptr, ptr %11, align 8 %188 = load i32, ptr %12, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds float, ptr %187, i64 %189 %191 = load float, ptr %190, align 4 %192 = call float @llvm.fmuladd.f32(float %179, float %186, float %191) store float %192, ptr %190, align 4 br label %193 193: ; preds = %174 %194 = load i32, ptr %12, align 4 %195 = add nsw i32 %194, 1 store i32 %195, ptr %12, align 4 %196 = load i32, ptr %12, align 4 %197 = load i32, ptr %16, align 4 %198 = load i32, ptr %15, align 4 %199 = sub nsw i32 %197, %198 %200 = icmp slt i32 %196, %199 br i1 %200, label %174, label %._crit_edge9, !llvm.loop !11 ._crit_edge9: ; preds = %193 br label %201 201: ; preds = %._crit_edge9, %163 br label %202 202: ; preds = %201, %162 store i32 0, ptr %12, align 4 %203 = load i32, ptr %12, align 4 %204 = load i32, ptr %16, align 4 %205 = icmp slt i32 %203, %204 br i1 %205, label %.lr.ph14, label %224 .lr.ph14: ; preds = %202 br label %206 206: ; preds = %.lr.ph14, %218 %207 = load ptr, ptr %11, align 8 %208 = load i32, ptr %12, align 4 %209 = sext i32 %208 to i64 %210 = getelementptr inbounds float, ptr %207, i64 %209 %211 = load float, ptr %210, align 4 %212 = fptosi float %211 to i16 %213 = call zeroext i8 @cst_short_to_ulaw(i16 noundef signext %212) %214 = load ptr, ptr %6, align 8 %215 = load i32, ptr %12, align 4 %216 = sext i32 %215 to i64 %217 = getelementptr inbounds i8, ptr %214, i64 %216 store i8 %213, ptr %217, align 1 br label %218 218: ; preds = %206 %219 = load i32, ptr %12, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %12, align 4 %221 = load i32, ptr %12, align 4 %222 = load i32, ptr %16, align 4 %223 = icmp slt i32 %221, %222 br i1 %223, label %206, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %218 br label %224 224: ; preds = %._crit_edge15, %202 %225 = load ptr, ptr %9, align 8 %226 = call i32 @cst_free(ptr noundef %225) %227 = load ptr, ptr %11, align 8 %228 = call i32 @cst_free(ptr noundef %227) %229 = load ptr, ptr %10, align 8 %230 = call i32 @cst_free(ptr noundef %229) ret void } declare i64 @cst_safe_alloc(i32 noundef) #1 declare double @cos(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare float @cst_ulaw_to_short(i8 noundef zeroext) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare zeroext i8 @cst_short_to_ulaw(i16 noundef signext) #1 declare i32 @cst_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpd0x1hiq5.c' source_filename = "/tmp/tmpd0x1hiq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_close_socket(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0x1hiq5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_close_socket(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @close(i32 noundef %3) ret void } declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplnuf1mj5.c' source_filename = "/tmp/tmplnuf1mj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%sControl forecast%s\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"%sPerturbed forecasts%s\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"%sCluster means%s\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"%sCluster std. dev.%s\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"%sForecast probability%s\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"%sEnsemble means%s\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"%sEnsemble std. dev.%s\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"%sECMWF type?%s\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"%sensemble forecasts%s\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"%smon mean%s\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"%smon (co)var%s\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"%smon mean from daily%s\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c"%sECMWF stream?%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EC_ext(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 4 %9 = load i8, ptr %8, align 1 %10 = zext i8 %9 to i32 %11 = icmp eq i32 %10, 98 br i1 %11, label %12, label %89 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = shl i32 %16, 16 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = shl i32 %21, 8 %23 = add nsw i32 %17, %22 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 2 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = add nsw i32 %23, %27 %29 = icmp sge i32 %28, 43 br i1 %29, label %30, label %89 30: ; preds = %12 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = shl i32 %34, 16 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = shl i32 %39, 8 %41 = add nsw i32 %35, %40 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = add nsw i32 %41, %45 %47 = icmp sge i32 %46, 43 br i1 %47, label %48, label %53 48: ; preds = %30 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 42 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 br label %54 53: ; preds = %30 br label %54 54: ; preds = %53, %48 %55 = phi i32 [ %52, %48 ], [ 0, %53 ] switch i32 %55, label %84 [ i32 10, label %56 i32 11, label %60 i32 14, label %64 i32 15, label %68 i32 16, label %72 i32 17, label %76 i32 18, label %80 ] 56: ; preds = %54 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %6, align 8 %59 = call i32 @printf(ptr noundef @.str, ptr noundef %57, ptr noundef %58) br label %88 60: ; preds = %54 %61 = load ptr, ptr %5, align 8 %62 = load ptr, ptr %6, align 8 %63 = call i32 @printf(ptr noundef @.str.1, ptr noundef %61, ptr noundef %62) br label %88 64: ; preds = %54 %65 = load ptr, ptr %5, align 8 %66 = load ptr, ptr %6, align 8 %67 = call i32 @printf(ptr noundef @.str.2, ptr noundef %65, ptr noundef %66) br label %88 68: ; preds = %54 %69 = load ptr, ptr %5, align 8 %70 = load ptr, ptr %6, align 8 %71 = call i32 @printf(ptr noundef @.str.3, ptr noundef %69, ptr noundef %70) br label %88 72: ; preds = %54 %73 = load ptr, ptr %5, align 8 %74 = load ptr, ptr %6, align 8 %75 = call i32 @printf(ptr noundef @.str.4, ptr noundef %73, ptr noundef %74) br label %88 76: ; preds = %54 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %6, align 8 %79 = call i32 @printf(ptr noundef @.str.5, ptr noundef %77, ptr noundef %78) br label %88 80: ; preds = %54 %81 = load ptr, ptr %5, align 8 %82 = load ptr, ptr %6, align 8 %83 = call i32 @printf(ptr noundef @.str.6, ptr noundef %81, ptr noundef %82) br label %88 84: ; preds = %54 %85 = load ptr, ptr %5, align 8 %86 = load ptr, ptr %6, align 8 %87 = call i32 @printf(ptr noundef @.str.7, ptr noundef %85, ptr noundef %86) br label %88 88: ; preds = %84, %80, %76, %72, %68, %64, %60, %56 br label %89 89: ; preds = %88, %12, %3 %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 4 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp eq i32 %93, 98 br i1 %94, label %95, label %175 95: ; preds = %89 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 0 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = shl i32 %99, 16 %101 = load ptr, ptr %4, align 8 %102 = getelementptr inbounds i8, ptr %101, i64 1 %103 = load i8, ptr %102, align 1 %104 = zext i8 %103 to i32 %105 = shl i32 %104, 8 %106 = add nsw i32 %100, %105 %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 2 %109 = load i8, ptr %108, align 1 %110 = zext i8 %109 to i32 %111 = add nsw i32 %106, %110 %112 = icmp sge i32 %111, 45 br i1 %112, label %113, label %175 113: ; preds = %95 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds i8, ptr %114, i64 0 %116 = load i8, ptr %115, align 1 %117 = zext i8 %116 to i32 %118 = shl i32 %117, 16 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 1 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = shl i32 %122, 8 %124 = add nsw i32 %118, %123 %125 = load ptr, ptr %4, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 2 %127 = load i8, ptr %126, align 1 %128 = zext i8 %127 to i32 %129 = add nsw i32 %124, %128 %130 = icmp sge i32 %129, 45 br i1 %130, label %131, label %151 131: ; preds = %113 %132 = load ptr, ptr %4, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 43 %134 = load i8, ptr %133, align 1 %135 = zext i8 %134 to i32 %136 = and i32 %135, 128 %137 = lshr i32 %136, 6 %138 = sub nsw i32 1, %137 %139 = load ptr, ptr %4, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 43 %141 = load i8, ptr %140, align 1 %142 = zext i8 %141 to i32 %143 = and i32 %142, 127 %144 = shl i32 %143, 8 %145 = load ptr, ptr %4, align 8 %146 = getelementptr inbounds i8, ptr %145, i64 44 %147 = load i8, ptr %146, align 1 %148 = zext i8 %147 to i32 %149 = add nsw i32 %144, %148 %150 = mul nsw i32 %138, %149 br label %152 151: ; preds = %113 br label %152 152: ; preds = %151, %131 %153 = phi i32 [ %150, %131 ], [ 0, %151 ] switch i32 %153, label %170 [ i32 1035, label %154 i32 1043, label %158 i32 1070, label %162 i32 1071, label %166 ] 154: ; preds = %152 %155 = load ptr, ptr %5, align 8 %156 = load ptr, ptr %6, align 8 %157 = call i32 @printf(ptr noundef @.str.8, ptr noundef %155, ptr noundef %156) br label %174 158: ; preds = %152 %159 = load ptr, ptr %5, align 8 %160 = load ptr, ptr %6, align 8 %161 = call i32 @printf(ptr noundef @.str.9, ptr noundef %159, ptr noundef %160) br label %174 162: ; preds = %152 %163 = load ptr, ptr %5, align 8 %164 = load ptr, ptr %6, align 8 %165 = call i32 @printf(ptr noundef @.str.10, ptr noundef %163, ptr noundef %164) br label %174 166: ; preds = %152 %167 = load ptr, ptr %5, align 8 %168 = load ptr, ptr %6, align 8 %169 = call i32 @printf(ptr noundef @.str.11, ptr noundef %167, ptr noundef %168) br label %174 170: ; preds = %152 %171 = load ptr, ptr %5, align 8 %172 = load ptr, ptr %6, align 8 %173 = call i32 @printf(ptr noundef @.str.12, ptr noundef %171, ptr noundef %172) br label %174 174: ; preds = %170, %166, %162, %158, %154 br label %175 175: ; preds = %174, %95, %89 ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplnuf1mj5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%sControl forecast%s\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"%sPerturbed forecasts%s\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"%sCluster means%s\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"%sCluster std. dev.%s\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"%sForecast probability%s\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"%sEnsemble means%s\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"%sEnsemble std. dev.%s\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c"%sECMWF type?%s\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"%sensemble forecasts%s\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"%smon mean%s\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c"%smon (co)var%s\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"%smon mean from daily%s\00", align 1 @.str.12 = private unnamed_addr constant [18 x i8] c"%sECMWF stream?%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EC_ext(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 4 %9 = load i8, ptr %8, align 1 %10 = zext i8 %9 to i32 %11 = icmp eq i32 %10, 98 br i1 %11, label %12, label %89 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 0 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = shl i32 %16, 16 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 1 %20 = load i8, ptr %19, align 1 %21 = zext i8 %20 to i32 %22 = shl i32 %21, 8 %23 = add nsw i32 %17, %22 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 2 %26 = load i8, ptr %25, align 1 %27 = zext i8 %26 to i32 %28 = add nsw i32 %23, %27 %29 = icmp sge i32 %28, 43 br i1 %29, label %30, label %89 30: ; preds = %12 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i64 0 %33 = load i8, ptr %32, align 1 %34 = zext i8 %33 to i32 %35 = shl i32 %34, 16 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 %38 = load i8, ptr %37, align 1 %39 = zext i8 %38 to i32 %40 = shl i32 %39, 8 %41 = add nsw i32 %35, %40 %42 = load ptr, ptr %4, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 %46 = add nsw i32 %41, %45 %47 = icmp sge i32 %46, 43 br i1 %47, label %48, label %53 48: ; preds = %30 %49 = load ptr, ptr %4, align 8 %50 = getelementptr inbounds i8, ptr %49, i64 42 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 br label %54 53: ; preds = %30 br label %54 54: ; preds = %53, %48 %55 = phi i32 [ %52, %48 ], [ 0, %53 ] switch i32 %55, label %84 [ i32 10, label %56 i32 11, label %60 i32 14, label %64 i32 15, label %68 i32 16, label %72 i32 17, label %76 i32 18, label %80 ] 56: ; preds = %54 %57 = load ptr, ptr %5, align 8 %58 = load ptr, ptr %6, align 8 %59 = call i32 @printf(ptr noundef @.str, ptr noundef %57, ptr noundef %58) br label %88 60: ; preds = %54 %61 = load ptr, ptr %5, align 8 %62 = load ptr, ptr %6, align 8 %63 = call i32 @printf(ptr noundef @.str.1, ptr noundef %61, ptr noundef %62) br label %88 64: ; preds = %54 %65 = load ptr, ptr %5, align 8 %66 = load ptr, ptr %6, align 8 %67 = call i32 @printf(ptr noundef @.str.2, ptr noundef %65, ptr noundef %66) br label %88 68: ; preds = %54 %69 = load ptr, ptr %5, align 8 %70 = load ptr, ptr %6, align 8 %71 = call i32 @printf(ptr noundef @.str.3, ptr noundef %69, ptr noundef %70) br label %88 72: ; preds = %54 %73 = load ptr, ptr %5, align 8 %74 = load ptr, ptr %6, align 8 %75 = call i32 @printf(ptr noundef @.str.4, ptr noundef %73, ptr noundef %74) br label %88 76: ; preds = %54 %77 = load ptr, ptr %5, align 8 %78 = load ptr, ptr %6, align 8 %79 = call i32 @printf(ptr noundef @.str.5, ptr noundef %77, ptr noundef %78) br label %88 80: ; preds = %54 %81 = load ptr, ptr %5, align 8 %82 = load ptr, ptr %6, align 8 %83 = call i32 @printf(ptr noundef @.str.6, ptr noundef %81, ptr noundef %82) br label %88 84: ; preds = %54 %85 = load ptr, ptr %5, align 8 %86 = load ptr, ptr %6, align 8 %87 = call i32 @printf(ptr noundef @.str.7, ptr noundef %85, ptr noundef %86) br label %88 88: ; preds = %84, %80, %76, %72, %68, %64, %60, %56 br label %89 89: ; preds = %88, %12, %3 %90 = load ptr, ptr %4, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 4 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = icmp eq i32 %93, 98 br i1 %94, label %95, label %175 95: ; preds = %89 %96 = load ptr, ptr %4, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 0 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = shl i32 %99, 16 %101 = load ptr, ptr %4, align 8 %102 = getelementptr inbounds i8, ptr %101, i64 1 %103 = load i8, ptr %102, align 1 %104 = zext i8 %103 to i32 %105 = shl i32 %104, 8 %106 = add nsw i32 %100, %105 %107 = load ptr, ptr %4, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 2 %109 = load i8, ptr %108, align 1 %110 = zext i8 %109 to i32 %111 = add nsw i32 %106, %110 %112 = icmp sge i32 %111, 45 br i1 %112, label %113, label %175 113: ; preds = %95 %114 = load ptr, ptr %4, align 8 %115 = getelementptr inbounds i8, ptr %114, i64 0 %116 = load i8, ptr %115, align 1 %117 = zext i8 %116 to i32 %118 = shl i32 %117, 16 %119 = load ptr, ptr %4, align 8 %120 = getelementptr inbounds i8, ptr %119, i64 1 %121 = load i8, ptr %120, align 1 %122 = zext i8 %121 to i32 %123 = shl i32 %122, 8 %124 = add nsw i32 %118, %123 %125 = load ptr, ptr %4, align 8 %126 = getelementptr inbounds i8, ptr %125, i64 2 %127 = load i8, ptr %126, align 1 %128 = zext i8 %127 to i32 %129 = add nsw i32 %124, %128 %130 = icmp sge i32 %129, 45 br i1 %130, label %131, label %151 131: ; preds = %113 %132 = load ptr, ptr %4, align 8 %133 = getelementptr inbounds i8, ptr %132, i64 43 %134 = load i8, ptr %133, align 1 %135 = zext i8 %134 to i32 %136 = and i32 %135, 128 %137 = lshr i32 %136, 6 %138 = sub nsw i32 1, %137 %139 = load ptr, ptr %4, align 8 %140 = getelementptr inbounds i8, ptr %139, i64 43 %141 = load i8, ptr %140, align 1 %142 = zext i8 %141 to i32 %143 = and i32 %142, 127 %144 = shl i32 %143, 8 %145 = load ptr, ptr %4, align 8 %146 = getelementptr inbounds i8, ptr %145, i64 44 %147 = load i8, ptr %146, align 1 %148 = zext i8 %147 to i32 %149 = add nsw i32 %144, %148 %150 = mul nsw i32 %138, %149 br label %152 151: ; preds = %113 br label %152 152: ; preds = %151, %131 %153 = phi i32 [ %150, %131 ], [ 0, %151 ] switch i32 %153, label %170 [ i32 1035, label %154 i32 1043, label %158 i32 1070, label %162 i32 1071, label %166 ] 154: ; preds = %152 %155 = load ptr, ptr %5, align 8 %156 = load ptr, ptr %6, align 8 %157 = call i32 @printf(ptr noundef @.str.8, ptr noundef %155, ptr noundef %156) br label %174 158: ; preds = %152 %159 = load ptr, ptr %5, align 8 %160 = load ptr, ptr %6, align 8 %161 = call i32 @printf(ptr noundef @.str.9, ptr noundef %159, ptr noundef %160) br label %174 162: ; preds = %152 %163 = load ptr, ptr %5, align 8 %164 = load ptr, ptr %6, align 8 %165 = call i32 @printf(ptr noundef @.str.10, ptr noundef %163, ptr noundef %164) br label %174 166: ; preds = %152 %167 = load ptr, ptr %5, align 8 %168 = load ptr, ptr %6, align 8 %169 = call i32 @printf(ptr noundef @.str.11, ptr noundef %167, ptr noundef %168) br label %174 170: ; preds = %152 %171 = load ptr, ptr %5, align 8 %172 = load ptr, ptr %6, align 8 %173 = call i32 @printf(ptr noundef @.str.12, ptr noundef %171, ptr noundef %172) br label %174 174: ; preds = %170, %166, %162, %158, %154 br label %175 175: ; preds = %174, %95, %89 ret void } declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4xhk350g.c' source_filename = "/tmp/tmp4xhk350g.c" target datalayout = "e-m:e-p270: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/tmp4xhk350g.c" target datalayout = "e-m:e-p270: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/tmpfl5pf5uv.c' source_filename = "/tmp/tmpfl5pf5uv.c" target datalayout = "e-m:e-p270: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/tmpfl5pf5uv.c" target datalayout = "e-m:e-p270: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/tmpmq5i91fk.c' source_filename = "/tmp/tmpmq5i91fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @lcm(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @lcm(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/tmpmq5i91fk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(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 %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7) %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = call i32 @lcm(i32 noundef %9, i32 noundef %10) %12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @lcm(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/tmpn47zhd29.c' source_filename = "/tmp/tmpn47zhd29.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xa8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xa8() #0 { %1 = call i64 @isdigit(i32 noundef 168) %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 845, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn47zhd29.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isdigit should be 0 for 0xa8\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isdigit_0xa8() #0 { %1 = call i64 @isdigit(i32 noundef 168) %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 845, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isdigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5e47kppz.c' source_filename = "/tmp/tmp5e47kppz.c" target datalayout = "e-m:e-p270: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.flock = type { i32, i64, i64, i32, i32 } @F_UNLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @F_SETLKW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fd_unlock_w(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.flock, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr @F_UNLCK, align 4 %5 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 4 store i32 %4, ptr %5, align 4 %6 = load i32, ptr @SEEK_SET, align 4 %7 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 3 store i32 %6, ptr %7, align 8 %8 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 2 store i64 0, ptr %8, align 8 %9 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 1 store i64 0, ptr %9, align 8 %10 = call i32 (...) @getpid() %11 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 0 store i32 %10, ptr %11, align 8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @F_SETLKW, align 4 %14 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, ptr noundef %3) ret i32 %14 } declare i32 @getpid(...) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5e47kppz.c" target datalayout = "e-m:e-p270: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.flock = type { i32, i64, i64, i32, i32 } @F_UNLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @F_SETLKW = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fd_unlock_w(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.flock, align 8 store i32 %0, ptr %2, align 4 %4 = load i32, ptr @F_UNLCK, align 4 %5 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 4 store i32 %4, ptr %5, align 4 %6 = load i32, ptr @SEEK_SET, align 4 %7 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 3 store i32 %6, ptr %7, align 8 %8 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 2 store i64 0, ptr %8, align 8 %9 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 1 store i64 0, ptr %9, align 8 %10 = call i32 (...) @getpid() %11 = getelementptr inbounds %struct.flock, ptr %3, i32 0, i32 0 store i32 %10, ptr %11, align 8 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr @F_SETLKW, align 4 %14 = call i32 @fcntl(i32 noundef %12, i32 noundef %13, ptr noundef %3) ret i32 %14 } declare i32 @getpid(...) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprbhyb01c.c' source_filename = "/tmp/tmprbhyb01c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [66 x i8] c"usage: chi-squared-tester pA(float) pT(float) pG(float) pC(float)\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"WARNING - DATA LOST\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%05.2f | %i\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 [4 x float], align 16 %7 = alloca [2 x i8], align 1 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca [10000 x float], align 16 %11 = alloca i32, align 4 %12 = alloca [30 x i32], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 5 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 @puts(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %169 20: ; preds = %2 %21 = call i32 @time(ptr noundef null) %22 = call i32 @srand(i32 noundef %21) %23 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call float @atof(ptr noundef %26) store float %27, ptr %23, align 4 %28 = getelementptr inbounds float, ptr %23, i64 1 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call float @atof(ptr noundef %31) store float %32, ptr %28, align 4 %33 = getelementptr inbounds float, ptr %28, i64 1 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call float @atof(ptr noundef %36) store float %37, ptr %33, align 4 %38 = getelementptr inbounds float, ptr %33, i64 1 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 4 %41 = load ptr, ptr %40, align 8 %42 = call float @atof(ptr noundef %41) store float %42, ptr %38, align 4 %43 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %44 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %45 = call signext i8 @generate(ptr noundef %44) store i8 %45, ptr %43, align 1 %46 = getelementptr inbounds i8, ptr %43, i64 1 %47 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %48 = call signext i8 @generate(ptr noundef %47) store i8 %48, ptr %46, align 1 store float 0.000000e+00, ptr %8, align 4 %49 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %51, %54 br i1 %55, label %56, label %80 56: ; preds = %20 %57 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i64 %60 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %59 %61 = load float, ptr %60, align 4 %62 = fpext float %61 to double %63 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %62, double 1.000000e+00) %64 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i64 %67 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %66 %68 = load float, ptr %67, align 4 %69 = fpext float %68 to double %70 = fmul double 3.000000e+00, %69 %71 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i64 %74 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %73 %75 = load float, ptr %74, align 4 %76 = fpext float %75 to double %77 = fneg double %70 %78 = call double @llvm.fmuladd.f64(double %77, double %76, double %63) %79 = fptrunc double %78 to float store float %79, ptr %8, align 4 br label %97 80: ; preds = %20 %81 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i64 %84 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %83 %85 = load float, ptr %84, align 4 %86 = fpext float %85 to double %87 = fmul double 3.000000e+00, %86 %88 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i64 %91 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %90 %92 = load float, ptr %91, align 4 %93 = fpext float %92 to double %94 = fneg double %87 %95 = call double @llvm.fmuladd.f64(double %94, double %93, double 1.000000e+00) %96 = fptrunc double %95 to float store float %96, ptr %8, align 4 br label %97 97: ; preds = %80, %56 %98 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i64 %101 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %100 %102 = load float, ptr %101, align 4 %103 = fpext float %102 to double %104 = fmul double 9.990000e+02, %103 %105 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i64 %108 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %107 %109 = load float, ptr %108, align 4 %110 = fpext float %109 to double %111 = fmul double %104, %110 %112 = fptrunc double %111 to float store float %112, ptr %9, align 4 store i32 0, ptr %11, align 4 br label %113 113: ; preds = %125, %97 %114 = load i32, ptr %11, align 4 %115 = icmp slt i32 %114, 10000 br i1 %115, label %116, label %128 116: ; preds = %113 %117 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %118 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %119 = load float, ptr %8, align 4 %120 = load float, ptr %9, align 4 %121 = call float @sample(ptr noundef %117, ptr noundef %118, float noundef %119, float noundef %120) %122 = load i32, ptr %11, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [10000 x float], ptr %10, i64 0, i64 %123 store float %121, ptr %124, align 4 br label %125 125: ; preds = %116 %126 = load i32, ptr %11, align 4 %127 = add nsw i32 %126, 1 store i32 %127, ptr %11, align 4 br label %113, !llvm.loop !6 128: ; preds = %113 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 120, i1 false) store i32 0, ptr %13, align 4 br label %129 129: ; preds = %150, %128 %130 = load i32, ptr %13, align 4 %131 = icmp slt i32 %130, 10000 br i1 %131, label %132, label %153 132: ; preds = %129 %133 = load i32, ptr %13, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [10000 x float], ptr %10, i64 0, i64 %134 %136 = load float, ptr %135, align 4 %137 = fdiv float %136, 1.000000e+00 %138 = fptosi float %137 to i32 store i32 %138, ptr %14, align 4 %139 = load i32, ptr %14, align 4 %140 = icmp sgt i32 %139, 30 br i1 %140, label %141, label %143 141: ; preds = %132 %142 = call i32 @puts(ptr noundef @.str.1) br label %149 143: ; preds = %132 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [30 x i32], ptr %12, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %146, align 4 br label %149 149: ; preds = %143, %141 br label %150 150: ; preds = %149 %151 = load i32, ptr %13, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %13, align 4 br label %129, !llvm.loop !8 153: ; preds = %129 store i32 0, ptr %15, align 4 br label %154 154: ; preds = %166, %153 %155 = load i32, ptr %15, align 4 %156 = icmp slt i32 %155, 30 br i1 %156, label %157, label %169 157: ; preds = %154 %158 = load i32, ptr %15, align 4 %159 = sitofp i32 %158 to float %160 = fmul float %159, 1.000000e+00 %161 = load i32, ptr %15, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds [30 x i32], ptr %12, i64 0, i64 %162 %164 = load i32, ptr %163, align 4 %165 = call i32 @printf(ptr noundef @.str.2, float noundef %160, i32 noundef %164) br label %166 166: ; preds = %157 %167 = load i32, ptr %15, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %15, align 4 br label %154, !llvm.loop !9 169: ; preds = %18, %154 %170 = load i32, ptr %3, align 4 ret i32 %170 } declare i32 @puts(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare float @atof(ptr noundef) #1 declare signext i8 @generate(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare float @sample(ptr noundef, ptr noundef, float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @printf(ptr noundef, float 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprbhyb01c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [66 x i8] c"usage: chi-squared-tester pA(float) pT(float) pG(float) pC(float)\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"WARNING - DATA LOST\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%05.2f | %i\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 [4 x float], align 16 %7 = alloca [2 x i8], align 1 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca [10000 x float], align 16 %11 = alloca i32, align 4 %12 = alloca [30 x i32], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = 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 %16 = load i32, ptr %4, align 4 %17 = icmp ne i32 %16, 5 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 @puts(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %172 20: ; preds = %2 %21 = call i32 @time(ptr noundef null) %22 = call i32 @srand(i32 noundef %21) %23 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call float @atof(ptr noundef %26) store float %27, ptr %23, align 4 %28 = getelementptr inbounds float, ptr %23, i64 1 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call float @atof(ptr noundef %31) store float %32, ptr %28, align 4 %33 = getelementptr inbounds float, ptr %28, i64 1 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 3 %36 = load ptr, ptr %35, align 8 %37 = call float @atof(ptr noundef %36) store float %37, ptr %33, align 4 %38 = getelementptr inbounds float, ptr %33, i64 1 %39 = load ptr, ptr %5, align 8 %40 = getelementptr inbounds ptr, ptr %39, i64 4 %41 = load ptr, ptr %40, align 8 %42 = call float @atof(ptr noundef %41) store float %42, ptr %38, align 4 %43 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %44 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %45 = call signext i8 @generate(ptr noundef %44) store i8 %45, ptr %43, align 1 %46 = getelementptr inbounds i8, ptr %43, i64 1 %47 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %48 = call signext i8 @generate(ptr noundef %47) store i8 %48, ptr %46, align 1 store float 0.000000e+00, ptr %8, align 4 %49 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = icmp eq i32 %51, %54 br i1 %55, label %56, label %80 56: ; preds = %20 %57 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %58 = load i8, ptr %57, align 1 %59 = sext i8 %58 to i64 %60 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %59 %61 = load float, ptr %60, align 4 %62 = fpext float %61 to double %63 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %62, double 1.000000e+00) %64 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i64 %67 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %66 %68 = load float, ptr %67, align 4 %69 = fpext float %68 to double %70 = fmul double 3.000000e+00, %69 %71 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %72 = load i8, ptr %71, align 1 %73 = sext i8 %72 to i64 %74 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %73 %75 = load float, ptr %74, align 4 %76 = fpext float %75 to double %77 = fneg double %70 %78 = call double @llvm.fmuladd.f64(double %77, double %76, double %63) %79 = fptrunc double %78 to float store float %79, ptr %8, align 4 br label %97 80: ; preds = %20 %81 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %82 = load i8, ptr %81, align 1 %83 = sext i8 %82 to i64 %84 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %83 %85 = load float, ptr %84, align 4 %86 = fpext float %85 to double %87 = fmul double 3.000000e+00, %86 %88 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i64 %91 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %90 %92 = load float, ptr %91, align 4 %93 = fpext float %92 to double %94 = fneg double %87 %95 = call double @llvm.fmuladd.f64(double %94, double %93, double 1.000000e+00) %96 = fptrunc double %95 to float store float %96, ptr %8, align 4 br label %97 97: ; preds = %80, %56 %98 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i64 %101 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %100 %102 = load float, ptr %101, align 4 %103 = fpext float %102 to double %104 = fmul double 9.990000e+02, %103 %105 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 1 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i64 %108 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 %107 %109 = load float, ptr %108, align 4 %110 = fpext float %109 to double %111 = fmul double %104, %110 %112 = fptrunc double %111 to float store float %112, ptr %9, align 4 store i32 0, ptr %11, align 4 %113 = load i32, ptr %11, align 4 %114 = icmp slt i32 %113, 10000 br i1 %114, label %.lr.ph, label %129 .lr.ph: ; preds = %97 br label %115 115: ; preds = %.lr.ph, %124 %116 = getelementptr inbounds [4 x float], ptr %6, i64 0, i64 0 %117 = getelementptr inbounds [2 x i8], ptr %7, i64 0, i64 0 %118 = load float, ptr %8, align 4 %119 = load float, ptr %9, align 4 %120 = call float @sample(ptr noundef %116, ptr noundef %117, float noundef %118, float noundef %119) %121 = load i32, ptr %11, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [10000 x float], ptr %10, i64 0, i64 %122 store float %120, ptr %123, align 4 br label %124 124: ; preds = %115 %125 = load i32, ptr %11, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %11, align 4 %127 = load i32, ptr %11, align 4 %128 = icmp slt i32 %127, 10000 br i1 %128, label %115, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %124 br label %129 129: ; preds = %._crit_edge, %97 call void @llvm.memset.p0.i64(ptr align 16 %12, i8 0, i64 120, i1 false) store i32 0, ptr %13, align 4 %130 = load i32, ptr %13, align 4 %131 = icmp slt i32 %130, 10000 br i1 %131, label %.lr.ph2, label %155 .lr.ph2: ; preds = %129 br label %132 132: ; preds = %.lr.ph2, %150 %133 = load i32, ptr %13, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [10000 x float], ptr %10, i64 0, i64 %134 %136 = load float, ptr %135, align 4 %137 = fdiv float %136, 1.000000e+00 %138 = fptosi float %137 to i32 store i32 %138, ptr %14, align 4 %139 = load i32, ptr %14, align 4 %140 = icmp sgt i32 %139, 30 br i1 %140, label %141, label %143 141: ; preds = %132 %142 = call i32 @puts(ptr noundef @.str.1) br label %149 143: ; preds = %132 %144 = load i32, ptr %14, align 4 %145 = sext i32 %144 to i64 %146 = getelementptr inbounds [30 x i32], ptr %12, i64 0, i64 %145 %147 = load i32, ptr %146, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %146, align 4 br label %149 149: ; preds = %143, %141 br label %150 150: ; preds = %149 %151 = load i32, ptr %13, align 4 %152 = add nsw i32 %151, 1 store i32 %152, ptr %13, align 4 %153 = load i32, ptr %13, align 4 %154 = icmp slt i32 %153, 10000 br i1 %154, label %132, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %150 br label %155 155: ; preds = %._crit_edge3, %129 store i32 0, ptr %15, align 4 %156 = load i32, ptr %15, align 4 %157 = icmp slt i32 %156, 30 br i1 %157, label %.lr.ph5, label %.loopexit .lr.ph5: ; preds = %155 br label %158 158: ; preds = %.lr.ph5, %167 %159 = load i32, ptr %15, align 4 %160 = sitofp i32 %159 to float %161 = fmul float %160, 1.000000e+00 %162 = load i32, ptr %15, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds [30 x i32], ptr %12, i64 0, i64 %163 %165 = load i32, ptr %164, align 4 %166 = call i32 @printf(ptr noundef @.str.2, float noundef %161, i32 noundef %165) br label %167 167: ; preds = %158 %168 = load i32, ptr %15, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %15, align 4 %170 = load i32, ptr %15, align 4 %171 = icmp slt i32 %170, 30 br i1 %171, label %158, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %167 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %155 br label %172 172: ; preds = %.loopexit, %18 %173 = load i32, ptr %3, align 4 ret i32 %173 } declare i32 @puts(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare float @atof(ptr noundef) #1 declare signext i8 @generate(ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare float @sample(ptr noundef, ptr noundef, float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 declare i32 @printf(ptr noundef, float 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp44f6bnc4.c' source_filename = "/tmp/tmp44f6bnc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_init() #0 { %1 = call i32 @time(ptr noundef null) %2 = call i32 @srand(i32 noundef %1) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp44f6bnc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_init() #0 { %1 = call i32 @time(ptr noundef null) %2 = call i32 @srand(i32 noundef %1) ret void } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj9ebodle.c' source_filename = "/tmp/tmpj9ebodle.c" target datalayout = "e-m:e-p270: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/tmpj9ebodle.c" target datalayout = "e-m:e-p270: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/tmp9qnnrpqu.c' source_filename = "/tmp/tmp9qnnrpqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill(ptr noundef %0, i64 noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i64 0, ptr %7, align 8 br label %8 8: ; preds = %25, %3 %9 = load i64, ptr %7, align 8 %10 = load i64, ptr %5, align 8 %11 = icmp ult i64 %9, %10 br i1 %11, label %12, label %28 12: ; preds = %8 %13 = load i8, ptr %6, align 1 %14 = load ptr, ptr %4, align 8 %15 = load i64, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 store i8 %13, ptr %16, align 1 %17 = load i64, ptr %7, align 8 %18 = urem i64 %17, 100 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %24 20: ; preds = %12 %21 = load ptr, ptr %4, align 8 %22 = load i64, ptr %7, align 8 %23 = getelementptr inbounds i8, ptr %21, i64 %22 store i8 10, ptr %23, align 1 br label %24 24: ; preds = %20, %12 br label %25 25: ; preds = %24 %26 = load i64, ptr %7, align 8 %27 = add i64 %26, 1 store i64 %27, ptr %7, align 8 br label %8, !llvm.loop !6 28: ; preds = %8 %29 = load ptr, ptr %4, align 8 %30 = load i64, ptr %5, align 8 %31 = sub i64 %30, 1 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 0, ptr %32, align 1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9qnnrpqu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill(ptr noundef %0, i64 noundef %1, i8 noundef signext %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i8, align 1 %7 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i8 %2, ptr %6, align 1 store i64 0, ptr %7, align 8 %8 = load i64, ptr %7, align 8 %9 = load i64, ptr %5, align 8 %10 = icmp ult i64 %8, %9 br i1 %10, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %11 11: ; preds = %.lr.ph, %24 %12 = load i8, ptr %6, align 1 %13 = load ptr, ptr %4, align 8 %14 = load i64, ptr %7, align 8 %15 = getelementptr inbounds i8, ptr %13, i64 %14 store i8 %12, ptr %15, align 1 %16 = load i64, ptr %7, align 8 %17 = urem i64 %16, 100 %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %23 19: ; preds = %11 %20 = load ptr, ptr %4, align 8 %21 = load i64, ptr %7, align 8 %22 = getelementptr inbounds i8, ptr %20, i64 %21 store i8 10, ptr %22, align 1 br label %23 23: ; preds = %19, %11 br label %24 24: ; preds = %23 %25 = load i64, ptr %7, align 8 %26 = add i64 %25, 1 store i64 %26, ptr %7, align 8 %27 = load i64, ptr %7, align 8 %28 = load i64, ptr %5, align 8 %29 = icmp ult i64 %27, %28 br i1 %29, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %3 %31 = load ptr, ptr %4, align 8 %32 = load i64, ptr %5, align 8 %33 = sub i64 %32, 1 %34 = getelementptr inbounds i8, ptr %31, i64 %33 store i8 0, ptr %34, align 1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmprhjc7u9j.c' source_filename = "/tmp/tmprhjc7u9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rtl_timespeccmp(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 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %7 = load i64, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0 %10 = load i64, ptr %9, align 8 %11 = icmp sgt i64 %7, %10 br i1 %11, label %12, label %13 12: ; preds = %2 br label %32 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.timespec, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = icmp slt i64 %16, %19 br i1 %20, label %21, label %22 21: ; preds = %13 br label %30 22: ; preds = %13 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.timespec, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 8 %29 = sub nsw i32 %25, %28 br label %30 30: ; preds = %22, %21 %31 = phi i32 [ -1000000000, %21 ], [ %29, %22 ] br label %32 32: ; preds = %30, %12 %33 = phi i32 [ 1000000000, %12 ], [ %31, %30 ] ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprhjc7u9j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rtl_timespeccmp(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 = getelementptr inbounds %struct.timespec, ptr %5, i32 0, i32 0 %7 = load i64, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0 %10 = load i64, ptr %9, align 8 %11 = icmp sgt i64 %7, %10 br i1 %11, label %12, label %13 12: ; preds = %2 br label %32 13: ; preds = %2 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds %struct.timespec, ptr %14, i32 0, i32 0 %16 = load i64, ptr %15, align 8 %17 = load ptr, ptr %4, align 8 %18 = getelementptr inbounds %struct.timespec, ptr %17, i32 0, i32 0 %19 = load i64, ptr %18, align 8 %20 = icmp slt i64 %16, %19 br i1 %20, label %21, label %22 21: ; preds = %13 br label %30 22: ; preds = %13 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds %struct.timespec, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 8 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds %struct.timespec, ptr %26, i32 0, i32 1 %28 = load i32, ptr %27, align 8 %29 = sub nsw i32 %25, %28 br label %30 30: ; preds = %22, %21 %31 = phi i32 [ -1000000000, %21 ], [ %29, %22 ] br label %32 32: ; preds = %30, %12 %33 = phi i32 [ 1000000000, %12 ], [ %31, %30 ] ret i32 %33 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb7s5mbd9.c' source_filename = "/tmp/tmpb7s5mbd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%d. Parent\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"%d. Infinite child\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%d. Parent Infinite\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 1, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) store i8 65, ptr getelementptr inbounds (i8, ptr inttoptr (i64 -2147483648 to ptr), i64 753664), align 1 store i8 7, ptr getelementptr inbounds (i8, ptr inttoptr (i64 -2147483648 to ptr), i64 753665), align 1 %13 = call i32 (...) @fork() store i32 %13, ptr %10, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr %8, align 4 %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16) %18 = call i32 @sleep(i32 noundef 111) br label %22 19: ; preds = %3 %20 = load i32, ptr %10, align 4 %21 = call i32 @waitpid(i32 noundef %20, ptr noundef %9, i32 noundef 0) br label %22 22: ; preds = %19, %15 %23 = load i32, ptr %8, align 4 %24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23) br label %25 25: ; preds = %22, %25 br label %25 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb7s5mbd9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%d. Parent\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"%d. Infinite child\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%d. Parent Infinite\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %4, align 4 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 1, ptr %8, align 4 %11 = load i32, ptr %8, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) store i8 65, ptr getelementptr inbounds (i8, ptr inttoptr (i64 -2147483648 to ptr), i64 753664), align 1 store i8 7, ptr getelementptr inbounds (i8, ptr inttoptr (i64 -2147483648 to ptr), i64 753665), align 1 %13 = call i32 (...) @fork() store i32 %13, ptr %10, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %3 %16 = load i32, ptr %8, align 4 %17 = call i32 @printf(ptr noundef @.str.1, i32 noundef %16) %18 = call i32 @sleep(i32 noundef 111) br label %22 19: ; preds = %3 %20 = load i32, ptr %10, align 4 %21 = call i32 @waitpid(i32 noundef %20, ptr noundef %9, i32 noundef 0) br label %22 22: ; preds = %19, %15 %23 = load i32, ptr %8, align 4 %24 = call i32 @printf(ptr noundef @.str.2, i32 noundef %23) br label %25 25: ; preds = %25, %22 br label %25 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @fork(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8ms8dmuw.c' source_filename = "/tmp/tmp8ms8dmuw.c" target datalayout = "e-m:e-p270: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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XmbTextItem_nchars(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8ms8dmuw.c" target datalayout = "e-m:e-p270: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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XmbTextItem_nchars(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7kuz8nt1.c' source_filename = "/tmp/tmp7kuz8nt1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filelist_dir_excluded(ptr 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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %35, %3 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %12, %9 %23 = phi i1 [ false, %9 ], [ %21, %12 ] br i1 %23, label %24, label %38 24: ; preds = %22 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i64 @filelist_dir_name_match(ptr noundef %29, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %24 store i32 -1, ptr %4, align 4 br label %39 34: ; preds = %24 br label %35 35: ; preds = %34 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %9, !llvm.loop !6 38: ; preds = %22 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %38, %33 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i64 @filelist_dir_name_match(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/tmp7kuz8nt1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @filelist_dir_excluded(ptr 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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %9 9: ; preds = %35, %3 %10 = load ptr, ptr %7, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %22 12: ; preds = %9 %13 = load ptr, ptr %7, align 8 %14 = load i32, ptr %8, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = getelementptr inbounds i8, ptr %17, i64 0 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br label %22 22: ; preds = %12, %9 %23 = phi i1 [ false, %9 ], [ %21, %12 ] br i1 %23, label %24, label %38 24: ; preds = %22 %25 = load ptr, ptr %7, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = call i64 @filelist_dir_name_match(ptr noundef %29, ptr noundef %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %33, label %34 33: ; preds = %24 store i32 -1, ptr %4, align 4 br label %39 34: ; preds = %24 br label %35 35: ; preds = %34 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %9, !llvm.loop !6 38: ; preds = %22 store i32 0, ptr %4, align 4 br label %39 39: ; preds = %38, %33 %40 = load i32, ptr %4, align 4 ret i32 %40 } declare i64 @filelist_dir_name_match(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/tmp94bk8gay.c' source_filename = "/tmp/tmp94bk8gay.c" target datalayout = "e-m:e-p270: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/tmp94bk8gay.c" target datalayout = "e-m:e-p270: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/tmp9snpab9t.c' source_filename = "/tmp/tmp9snpab9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"%ld %ld\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%lu\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %10 10: ; preds = %60, %0 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, -1 store i32 %12, ptr %2, align 4 %13 = icmp ne i32 %11, 0 br i1 %13, label %14, label %61 14: ; preds = %10 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 %15 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6) %16 = load i64, ptr %5, align 8 store i64 %16, ptr %7, align 8 br label %17 17: ; preds = %33, %14 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %6, align 8 %20 = icmp ule i64 %18, %19 br i1 %20, label %21, label %36 21: ; preds = %17 %22 = load i64, ptr %7, align 8 %23 = call i64 @sqrt(i64 noundef %22) store i64 %23, ptr %8, align 8 %24 = load i64, ptr %8, align 8 %25 = load i64, ptr %8, align 8 %26 = mul i64 %24, %25 %27 = load i64, ptr %7, align 8 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %32 29: ; preds = %21 %30 = load i64, ptr %7, align 8 %31 = call i64 @sqrt(i64 noundef %30) store i64 %31, ptr %4, align 8 br label %36 32: ; preds = %21 br label %33 33: ; preds = %32 %34 = load i64, ptr %7, align 8 %35 = add i64 %34, 1 store i64 %35, ptr %7, align 8 br label %17, !llvm.loop !6 36: ; preds = %29, %17 %37 = load i64, ptr %4, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %52 39: ; preds = %36 br label %40 40: ; preds = %46, %39 %41 = load i64, ptr %4, align 8 %42 = load i64, ptr %4, align 8 %43 = mul i64 %41, %42 %44 = load i64, ptr %6, align 8 %45 = icmp ule i64 %43, %44 br i1 %45, label %46, label %51 46: ; preds = %40 %47 = load i64, ptr %3, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %3, align 8 %49 = load i64, ptr %4, align 8 %50 = add i64 %49, 1 store i64 %50, ptr %4, align 8 br label %40, !llvm.loop !8 51: ; preds = %40 br label %52 52: ; preds = %51, %36 %53 = load i64, ptr %4, align 8 %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %52 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %60 57: ; preds = %52 %58 = load i64, ptr %3, align 8 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %58) br label %60 60: ; preds = %57, %55 br label %10, !llvm.loop !9 61: ; preds = %10 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @sqrt(i64 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9snpab9t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [8 x i8] c"%ld %ld\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"0\0A\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"%lu\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 i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store i32 0, ptr %1, align 4 %9 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, -1 store i32 %11, ptr %2, align 4 %12 = icmp ne i32 %10, 0 br i1 %12, label %.lr.ph3, label %69 .lr.ph3: ; preds = %0 br label %13 13: ; preds = %.lr.ph3, %65 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5, ptr noundef %6) %15 = load i64, ptr %5, align 8 store i64 %15, ptr %7, align 8 %16 = load i64, ptr %7, align 8 %17 = load i64, ptr %6, align 8 %18 = icmp ule i64 %16, %17 br i1 %18, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %13 br label %19 19: ; preds = %.lr.ph, %31 %20 = load i64, ptr %7, align 8 %21 = call i64 @sqrt(i64 noundef %20) store i64 %21, ptr %8, align 8 %22 = load i64, ptr %8, align 8 %23 = load i64, ptr %8, align 8 %24 = mul i64 %22, %23 %25 = load i64, ptr %7, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %30 27: ; preds = %19 %28 = load i64, ptr %7, align 8 %29 = call i64 @sqrt(i64 noundef %28) store i64 %29, ptr %4, align 8 br label %37 30: ; preds = %19 br label %31 31: ; preds = %30 %32 = load i64, ptr %7, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %7, align 8 %34 = load i64, ptr %7, align 8 %35 = load i64, ptr %6, align 8 %36 = icmp ule i64 %34, %35 br i1 %36, label %19, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %31 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %13 br label %37 37: ; preds = %.loopexit, %27 %38 = load i64, ptr %4, align 8 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %57 40: ; preds = %37 %41 = load i64, ptr %4, align 8 %42 = load i64, ptr %4, align 8 %43 = mul i64 %41, %42 %44 = load i64, ptr %6, align 8 %45 = icmp ule i64 %43, %44 br i1 %45, label %.lr.ph1, label %56 .lr.ph1: ; preds = %40 br label %46 46: ; preds = %.lr.ph1, %46 %47 = load i64, ptr %3, align 8 %48 = add i64 %47, 1 store i64 %48, ptr %3, align 8 %49 = load i64, ptr %4, align 8 %50 = add i64 %49, 1 store i64 %50, ptr %4, align 8 %51 = load i64, ptr %4, align 8 %52 = load i64, ptr %4, align 8 %53 = mul i64 %51, %52 %54 = load i64, ptr %6, align 8 %55 = icmp ule i64 %53, %54 br i1 %55, label %46, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %46 br label %56 56: ; preds = %._crit_edge, %40 br label %57 57: ; preds = %56, %37 %58 = load i64, ptr %4, align 8 %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %62 60: ; preds = %57 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %65 62: ; preds = %57 %63 = load i64, ptr %3, align 8 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %63) br label %65 65: ; preds = %62, %60 %66 = load i32, ptr %2, align 4 %67 = add nsw i32 %66, -1 store i32 %67, ptr %2, align 4 %68 = icmp ne i32 %66, 0 br i1 %68, label %13, label %._crit_edge4, !llvm.loop !9 ._crit_edge4: ; preds = %65 br label %69 69: ; preds = %._crit_edge4, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i64 @sqrt(i64 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpd0_xvqvq.c' source_filename = "/tmp/tmpd0_xvqvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIConfigSetExpClk(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp eq i32 %18, 2 %20 = zext i1 %19 to i64 %21 = select i1 %19, i32 8, i32 0 store i32 %21, ptr %14, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i64 %25 = select i1 %23, i32 0, i32 4 %26 = load i32, ptr %14, align 4 %27 = or i32 %26, %25 store i32 %27, ptr %14, align 4 %28 = load i32, ptr %14, align 4 %29 = sext i32 %28 to i64 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 4 %32 = sext i32 %31 to i64 %33 = inttoptr i64 %32 to ptr store volatile i64 %29, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %11, align 4 %36 = sdiv i32 %34, %35 store i32 %36, ptr %13, align 4 store i32 0, ptr %15, align 4 br label %37 37: ; preds = %44, %6 %38 = load i32, ptr %15, align 4 %39 = add nsw i32 %38, 2 store i32 %39, ptr %15, align 4 %40 = load i32, ptr %13, align 4 %41 = load i32, ptr %15, align 4 %42 = sdiv i32 %40, %41 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %16, align 4 br label %44 44: ; preds = %37 %45 = load i32, ptr %16, align 4 %46 = icmp sgt i32 %45, 255 br i1 %46, label %37, label %47, !llvm.loop !6 47: ; preds = %44 %48 = load i32, ptr %15, align 4 %49 = sext i32 %48 to i64 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 16 %52 = sext i32 %51 to i64 %53 = inttoptr i64 %52 to ptr store volatile i64 %49, ptr %53, align 8 %54 = load i32, ptr %9, align 4 %55 = and i32 %54, 3 %56 = shl i32 %55, 6 store i32 %56, ptr %17, align 4 %57 = load i32, ptr %9, align 4 %58 = and i32 %57, 48 store i32 %58, ptr %9, align 4 %59 = load i32, ptr %16, align 4 %60 = shl i32 %59, 8 %61 = load i32, ptr %17, align 4 %62 = or i32 %60, %61 %63 = load i32, ptr %9, align 4 %64 = or i32 %62, %63 %65 = load i32, ptr %12, align 4 %66 = sub nsw i32 %65, 1 %67 = or i32 %64, %66 store i32 %67, ptr %14, align 4 %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 0 %72 = sext i32 %71 to i64 %73 = inttoptr i64 %72 to ptr store volatile i64 %69, ptr %73, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd0_xvqvq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SSIConfigSetExpClk(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp eq i32 %18, 2 %20 = zext i1 %19 to i64 %21 = select i1 %19, i32 8, i32 0 store i32 %21, ptr %14, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp eq i32 %22, 0 %24 = zext i1 %23 to i64 %25 = select i1 %23, i32 0, i32 4 %26 = load i32, ptr %14, align 4 %27 = or i32 %26, %25 store i32 %27, ptr %14, align 4 %28 = load i32, ptr %14, align 4 %29 = sext i32 %28 to i64 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 4 %32 = sext i32 %31 to i64 %33 = inttoptr i64 %32 to ptr store volatile i64 %29, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = load i32, ptr %11, align 4 %36 = sdiv i32 %34, %35 store i32 %36, ptr %13, align 4 store i32 0, ptr %15, align 4 br label %37 37: ; preds = %44, %6 %38 = load i32, ptr %15, align 4 %39 = add nsw i32 %38, 2 store i32 %39, ptr %15, align 4 %40 = load i32, ptr %13, align 4 %41 = load i32, ptr %15, align 4 %42 = sdiv i32 %40, %41 %43 = sub nsw i32 %42, 1 store i32 %43, ptr %16, align 4 br label %44 44: ; preds = %37 %45 = load i32, ptr %16, align 4 %46 = icmp sgt i32 %45, 255 br i1 %46, label %37, label %47, !llvm.loop !6 47: ; preds = %44 %48 = load i32, ptr %15, align 4 %49 = sext i32 %48 to i64 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 16 %52 = sext i32 %51 to i64 %53 = inttoptr i64 %52 to ptr store volatile i64 %49, ptr %53, align 8 %54 = load i32, ptr %9, align 4 %55 = and i32 %54, 3 %56 = shl i32 %55, 6 store i32 %56, ptr %17, align 4 %57 = load i32, ptr %9, align 4 %58 = and i32 %57, 48 store i32 %58, ptr %9, align 4 %59 = load i32, ptr %16, align 4 %60 = shl i32 %59, 8 %61 = load i32, ptr %17, align 4 %62 = or i32 %60, %61 %63 = load i32, ptr %9, align 4 %64 = or i32 %62, %63 %65 = load i32, ptr %12, align 4 %66 = sub nsw i32 %65, 1 %67 = or i32 %64, %66 store i32 %67, ptr %14, align 4 %68 = load i32, ptr %14, align 4 %69 = sext i32 %68 to i64 %70 = load i32, ptr %7, align 4 %71 = add nsw i32 %70, 0 %72 = sext i32 %71 to i64 %73 = inttoptr i64 %72 to ptr store volatile i64 %69, ptr %73, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkzek8iyc.c' source_filename = "/tmp/tmpkzek8iyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vSPI_RESET() #0 { %1 = call i32 @PeripheralReset(i32 noundef 128, i32 noundef 4, i32 noundef 100) ret void } declare i32 @PeripheralReset(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/tmpkzek8iyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vSPI_RESET() #0 { %1 = call i32 @PeripheralReset(i32 noundef 128, i32 noundef 4, i32 noundef 100) ret void } declare i32 @PeripheralReset(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/tmp6moesw84.c' source_filename = "/tmp/tmp6moesw84.c" target datalayout = "e-m:e-p270: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.string_1 = private unnamed_addr constant [7 x i8] c" Hallo\00", align 1 @__const.main.string_2 = private unnamed_addr constant [20 x i8] c"Halli\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [15 x i8] c"string_2 = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [20 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string_1, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.string_2, i64 20, i1 false) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %13, %0 %7 = load i32, ptr %4, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %8 %10 = load i8, ptr %9, align 1 %11 = sext i8 %10 to i32 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %6 %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %6, !llvm.loop !6 16: ; preds = %6 store i32 0, ptr %5, align 4 br label %17 17: ; preds = %29, %16 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %19 %21 = load i8, ptr %20, align 1 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %22, %23 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %25 store i8 %21, ptr %26, align 1 %27 = sext i8 %21 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %17 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 br label %17, !llvm.loop !8 32: ; preds = %17 %33 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %34 = call i32 @printf(ptr noundef @.str, ptr noundef %33) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6moesw84.c" target datalayout = "e-m:e-p270: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.string_1 = private unnamed_addr constant [7 x i8] c" Hallo\00", align 1 @__const.main.string_2 = private unnamed_addr constant [20 x i8] c"Halli\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00", align 16 @.str = private unnamed_addr constant [15 x i8] c"string_2 = %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [7 x i8], align 1 %3 = alloca [20 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string_1, i64 7, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.string_2, i64 20, i1 false) store i32 0, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %21 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %12 %13 = load i32, ptr %4, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %4, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %21 21: ; preds = %._crit_edge, %0 store i32 0, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %23 %25 = load i8, ptr %24, align 1 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = add nsw i32 %26, %27 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %29 store i8 %25, ptr %30, align 1 %31 = sext i8 %25 to i32 %32 = icmp ne i32 %31, 0 br i1 %32, label %.lr.ph2, label %47 .lr.ph2: ; preds = %21 br label %33 33: ; preds = %.lr.ph2, %33 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load i32, ptr %5, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [7 x i8], ptr %2, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load i32, ptr %5, align 4 %41 = load i32, ptr %4, align 4 %42 = add nsw i32 %40, %41 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %43 store i8 %39, ptr %44, align 1 %45 = sext i8 %39 to i32 %46 = icmp ne i32 %45, 0 br i1 %46, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %33 br label %47 47: ; preds = %._crit_edge3, %21 %48 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 0 %49 = call i32 @printf(ptr noundef @.str, ptr noundef %48) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmps_18ajpk.c' source_filename = "/tmp/tmps_18ajpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sigaction = type { i32 } @SA_RESTART = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @siginterrupt(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sigaction, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @sigaction(i32 noundef %8, ptr noundef null, ptr noundef %7) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %30 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr @SA_RESTART, align 4 %18 = xor i32 %17, -1 %19 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = and i32 %20, %18 store i32 %21, ptr %19, align 4 br label %27 22: ; preds = %13 %23 = load i32, ptr @SA_RESTART, align 4 %24 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = or i32 %25, %23 store i32 %26, ptr %24, align 4 br label %27 27: ; preds = %22, %16 %28 = load i32, ptr %4, align 4 %29 = call i32 @sigaction(i32 noundef %28, ptr noundef %7, ptr noundef null) store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %12 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps_18ajpk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sigaction = type { i32 } @SA_RESTART = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @siginterrupt(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca %struct.sigaction, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = call i32 @sigaction(i32 noundef %8, ptr noundef null, ptr noundef %7) store i32 %9, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %13 12: ; preds = %2 store i32 -1, ptr %3, align 4 br label %30 13: ; preds = %2 %14 = load i32, ptr %5, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %22 16: ; preds = %13 %17 = load i32, ptr @SA_RESTART, align 4 %18 = xor i32 %17, -1 %19 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0 %20 = load i32, ptr %19, align 4 %21 = and i32 %20, %18 store i32 %21, ptr %19, align 4 br label %27 22: ; preds = %13 %23 = load i32, ptr @SA_RESTART, align 4 %24 = getelementptr inbounds %struct.sigaction, ptr %7, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = or i32 %25, %23 store i32 %26, ptr %24, align 4 br label %27 27: ; preds = %22, %16 %28 = load i32, ptr %4, align 4 %29 = call i32 @sigaction(i32 noundef %28, ptr noundef %7, ptr noundef null) store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %27, %12 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @sigaction(i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphimis8io.c' source_filename = "/tmp/tmphimis8io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_integer_list(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 store i64 0, ptr %9, align 8 br label %12 12: ; preds = %37, %3 %13 = load ptr, ptr %8, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %8, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %40 18: ; preds = %12 %19 = load i64, ptr %7, align 8 %20 = load i64, ptr %9, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %30 22: ; preds = %18 %23 = load ptr, ptr %6, align 8 %24 = load i64, ptr %7, align 8 %25 = mul i64 %24, 2 store i64 %25, ptr %7, align 8 %26 = mul i64 %25, 8 %27 = call ptr @realloc(ptr noundef %23, i64 noundef %26) store ptr %27, ptr %6, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %30, label %29 29: ; preds = %22 store i64 -1, ptr %4, align 8 br label %54 30: ; preds = %22, %18 %31 = load ptr, ptr %8, align 8 %32 = call i32 @strtol(ptr noundef %31, ptr noundef %8, i32 noundef 10) %33 = sext i32 %32 to i64 %34 = load ptr, ptr %6, align 8 %35 = load i64, ptr %9, align 8 %36 = getelementptr inbounds i64, ptr %34, i64 %35 store i64 %33, ptr %36, align 8 br label %37 37: ; preds = %30 %38 = load i64, ptr %9, align 8 %39 = add i64 %38, 1 store i64 %39, ptr %9, align 8 br label %12, !llvm.loop !6 40: ; preds = %12 %41 = load ptr, ptr %6, align 8 %42 = load i64, ptr %9, align 8 %43 = getelementptr inbounds i64, ptr %41, i64 %42 store ptr %43, ptr %10, align 8 %44 = load ptr, ptr %6, align 8 %45 = load i64, ptr %9, align 8 %46 = add i64 %45, 1 store i64 %46, ptr %9, align 8 %47 = mul i64 %46, 8 %48 = call ptr @realloc(ptr noundef %44, i64 noundef %47) store ptr %48, ptr %6, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %51, label %50 50: ; preds = %40 store i64 -1, ptr %4, align 8 br label %54 51: ; preds = %40 %52 = load ptr, ptr %10, align 8 store i64 5, ptr %52, align 8 %53 = load i64, ptr %9, align 8 store i64 %53, ptr %4, align 8 br label %54 54: ; preds = %51, %50, %29 %55 = load i64, ptr %4, align 8 ret i64 %55 } declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @strtol(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphimis8io.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_integer_list(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %11 = load ptr, ptr %5, align 8 store ptr %11, ptr %8, align 8 store i64 0, ptr %9, align 8 %12 = load ptr, ptr %8, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %8, align 8 %14 = load i8, ptr %12, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %44 .lr.ph: ; preds = %3 br label %17 17: ; preds = %.lr.ph, %36 %18 = load i64, ptr %7, align 8 %19 = load i64, ptr %9, align 8 %20 = icmp ult i64 %18, %19 br i1 %20, label %21, label %29 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = load i64, ptr %7, align 8 %24 = mul i64 %23, 2 store i64 %24, ptr %7, align 8 %25 = mul i64 %24, 8 %26 = call ptr @realloc(ptr noundef %22, i64 noundef %25) store ptr %26, ptr %6, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %29, label %28 28: ; preds = %21 store i64 -1, ptr %4, align 8 br label %58 29: ; preds = %21, %17 %30 = load ptr, ptr %8, align 8 %31 = call i32 @strtol(ptr noundef %30, ptr noundef %8, i32 noundef 10) %32 = sext i32 %31 to i64 %33 = load ptr, ptr %6, align 8 %34 = load i64, ptr %9, align 8 %35 = getelementptr inbounds i64, ptr %33, i64 %34 store i64 %32, ptr %35, align 8 br label %36 36: ; preds = %29 %37 = load i64, ptr %9, align 8 %38 = add i64 %37, 1 store i64 %38, ptr %9, align 8 %39 = load ptr, ptr %8, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %8, align 8 %41 = load i8, ptr %39, align 1 %42 = sext i8 %41 to i32 %43 = icmp ne i32 %42, 0 br i1 %43, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %44 44: ; preds = %._crit_edge, %3 %45 = load ptr, ptr %6, align 8 %46 = load i64, ptr %9, align 8 %47 = getelementptr inbounds i64, ptr %45, i64 %46 store ptr %47, ptr %10, align 8 %48 = load ptr, ptr %6, align 8 %49 = load i64, ptr %9, align 8 %50 = add i64 %49, 1 store i64 %50, ptr %9, align 8 %51 = mul i64 %50, 8 %52 = call ptr @realloc(ptr noundef %48, i64 noundef %51) store ptr %52, ptr %6, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %55, label %54 54: ; preds = %44 store i64 -1, ptr %4, align 8 br label %58 55: ; preds = %44 %56 = load ptr, ptr %10, align 8 store i64 5, ptr %56, align 8 %57 = load i64, ptr %9, align 8 store i64 %57, ptr %4, align 8 br label %58 58: ; preds = %55, %54, %28 %59 = load i64, ptr %4, align 8 ret i64 %59 } declare ptr @realloc(ptr noundef, i64 noundef) #1 declare i32 @strtol(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmph2y396qs.c' source_filename = "/tmp/tmph2y396qs.c" target datalayout = "e-m:e-p270: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/tmph2y396qs.c" target datalayout = "e-m:e-p270: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/tmppjrk_hw7.c' source_filename = "/tmp/tmppjrk_hw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SOL_TCP = dso_local global i32 0, align 4 @SO_KEEPALIVE = dso_local global i32 0, align 4 @TCP_KEEPCNT = dso_local global i32 0, align 4 @TCP_KEEPIDLE = dso_local global i32 0, align 4 @TCP_KEEPINTVL = 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/tmppjrk_hw7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SOL_TCP = dso_local global i32 0, align 4 @SO_KEEPALIVE = dso_local global i32 0, align 4 @TCP_KEEPCNT = dso_local global i32 0, align 4 @TCP_KEEPIDLE = dso_local global i32 0, align 4 @TCP_KEEPINTVL = 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/tmpxdarbfr0.c' source_filename = "/tmp/tmpxdarbfr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @piece_get_extension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp eq ptr %10, %11 br i1 %12, label %13, label %14 13: ; preds = %9, %1 store ptr @.str, ptr %2, align 8 br label %18 14: ; preds = %9 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = call ptr @strdup(ptr noundef %16) store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %14, %13 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdarbfr0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @piece_get_extension(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call ptr @strrchr(ptr noundef %5, i8 noundef signext 46) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %13 9: ; preds = %1 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %3, align 8 %12 = icmp eq ptr %10, %11 br i1 %12, label %13, label %14 13: ; preds = %9, %1 store ptr @.str, ptr %2, align 8 br label %18 14: ; preds = %9 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 1 %17 = call ptr @strdup(ptr noundef %16) store ptr %17, ptr %2, align 8 br label %18 18: ; preds = %14, %13 %19 = load ptr, ptr %2, align 8 ret ptr %19 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare ptr @strdup(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp74sxxvv8.c' source_filename = "/tmp/tmp74sxxvv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, ptr, ptr, ptr, ptr, i32 } %struct.msghdr = type { i32, ptr, ptr, ptr, ptr, i32 } %struct.iovec = type { i32 } %struct.TYPE_2__ = type { ptr } @PF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"sbus_send_msg: Failed to create socket. %s\00", align 1 @errno = dso_local global i32 0, align 4 @AF_UNIX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [90 x i8] c"sbus_send_msg: Failed to send message on channel %s, error is %s. Is server side running?\00", align 1 @LOG_DEBUG = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [57 x i8] c"sbus_send_msg: Message with %d files was sent through %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sbus_send_msg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca %struct.sockaddr_un, align 8 %18 = alloca %struct.msghdr, align 8 %19 = alloca %struct.iovec, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %21 = load i32, ptr @PF_UNIX, align 4 %22 = load i32, ptr @SOCK_DGRAM, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %16, align 4 %24 = load i32, ptr %16, align 4 %25 = icmp sgt i32 0, %24 br i1 %25, label %26, label %31 26: ; preds = %7 %27 = load i32, ptr @LOG_ERR, align 4 %28 = load i32, ptr @errno, align 4 %29 = call i32 @strerror(i32 noundef %28) %30 = call i32 (i32, ptr, ...) @syslog(i32 noundef %27, ptr noundef @.str, i32 noundef %29) store i32 -1, ptr %8, align 4 br label %94 31: ; preds = %7 %32 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 48) %33 = load i32, ptr @AF_UNIX, align 4 %34 = getelementptr inbounds %struct.sockaddr_un, ptr %17, i32 0, i32 5 store i32 %33, ptr %34, align 8 %35 = getelementptr inbounds %struct.sockaddr_un, ptr %17, i32 0, i32 4 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %9, align 8 %38 = call i32 @strncpy(ptr noundef %36, ptr noundef %37, i32 noundef 8) %39 = getelementptr inbounds %struct.sockaddr_un, ptr %17, i32 0, i32 4 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds i64, ptr %40, i64 7 store i64 0, ptr %41, align 8 %42 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 48) %43 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 3 store ptr %17, ptr %43, align 8 %44 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 0 store i32 48, ptr %44, align 8 store i32 0, ptr %20, align 4 %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %11, align 4 %47 = load ptr, ptr %12, align 8 %48 = load i32, ptr %13, align 4 %49 = load ptr, ptr %14, align 8 %50 = load i32, ptr %15, align 4 %51 = call i32 @sbus_pack_message(ptr noundef %18, ptr noundef %19, ptr noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, ptr noundef %49, i32 noundef %50) store i32 %51, ptr %20, align 4 %52 = load i32, ptr %20, align 4 %53 = icmp sgt i32 0, %52 br i1 %53, label %54, label %57 54: ; preds = %31 %55 = load i32, ptr %16, align 4 %56 = call i32 @close(i32 noundef %55) br label %84 57: ; preds = %31 %58 = load i32, ptr %16, align 4 %59 = call i32 @sendmsg(i32 noundef %58, ptr noundef %18, i32 noundef 0) store i32 %59, ptr %20, align 4 %60 = load i32, ptr %20, align 4 %61 = icmp sgt i32 0, %60 br i1 %61, label %62, label %68 62: ; preds = %57 %63 = load i32, ptr @LOG_ERR, align 4 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr @errno, align 4 %66 = call i32 @strerror(i32 noundef %65) %67 = call i32 (i32, ptr, ...) @syslog(i32 noundef %63, ptr noundef @.str.1, ptr noundef %64, i32 noundef %66) br label %68 68: ; preds = %62, %57 %69 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 2 %70 = load ptr, ptr %69, align 8 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %70, i32 0, i32 0 %72 = load ptr, ptr %71, align 8 %73 = call i32 @free(ptr noundef %72) %74 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 1 %75 = load ptr, ptr %74, align 8 %76 = icmp ne ptr null, %75 br i1 %76, label %77, label %81 77: ; preds = %68 %78 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 1 %79 = load ptr, ptr %78, align 8 %80 = call i32 @free(ptr noundef %79) br label %81 81: ; preds = %77, %68 %82 = load i32, ptr %16, align 4 %83 = call i32 @close(i32 noundef %82) br label %84 84: ; preds = %81, %54 %85 = load i32, ptr %20, align 4 %86 = icmp sle i32 0, %85 br i1 %86, label %87, label %92 87: ; preds = %84 %88 = load i32, ptr @LOG_DEBUG, align 4 %89 = load i32, ptr %11, align 4 %90 = load ptr, ptr %9, align 8 %91 = call i32 (i32, ptr, ...) @syslog(i32 noundef %88, ptr noundef @.str.2, i32 noundef %89, ptr noundef %90) br label %92 92: ; preds = %87, %84 %93 = load i32, ptr %20, align 4 store i32 %93, ptr %8, align 4 br label %94 94: ; preds = %92, %26 %95 = load i32, ptr %8, align 4 ret i32 %95 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sbus_pack_message(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @sendmsg(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp74sxxvv8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, ptr, ptr, ptr, ptr, i32 } %struct.msghdr = type { i32, ptr, ptr, ptr, ptr, i32 } %struct.iovec = type { i32 } %struct.TYPE_2__ = type { ptr } @PF_UNIX = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [43 x i8] c"sbus_send_msg: Failed to create socket. %s\00", align 1 @errno = dso_local global i32 0, align 4 @AF_UNIX = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [90 x i8] c"sbus_send_msg: Failed to send message on channel %s, error is %s. Is server side running?\00", align 1 @LOG_DEBUG = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [57 x i8] c"sbus_send_msg: Message with %d files was sent through %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sbus_send_msg(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6) #0 { %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca ptr, align 8 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca %struct.sockaddr_un, align 8 %18 = alloca %struct.msghdr, align 8 %19 = alloca %struct.iovec, align 4 %20 = alloca i32, align 4 store ptr %0, ptr %9, align 8 store ptr %1, ptr %10, align 8 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store i32 %4, ptr %13, align 4 store ptr %5, ptr %14, align 8 store i32 %6, ptr %15, align 4 %21 = load i32, ptr @PF_UNIX, align 4 %22 = load i32, ptr @SOCK_DGRAM, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %16, align 4 %24 = load i32, ptr %16, align 4 %25 = icmp sgt i32 0, %24 br i1 %25, label %26, label %31 26: ; preds = %7 %27 = load i32, ptr @LOG_ERR, align 4 %28 = load i32, ptr @errno, align 4 %29 = call i32 @strerror(i32 noundef %28) %30 = call i32 (i32, ptr, ...) @syslog(i32 noundef %27, ptr noundef @.str, i32 noundef %29) store i32 -1, ptr %8, align 4 br label %94 31: ; preds = %7 %32 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef 48) %33 = load i32, ptr @AF_UNIX, align 4 %34 = getelementptr inbounds %struct.sockaddr_un, ptr %17, i32 0, i32 5 store i32 %33, ptr %34, align 8 %35 = getelementptr inbounds %struct.sockaddr_un, ptr %17, i32 0, i32 4 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %9, align 8 %38 = call i32 @strncpy(ptr noundef %36, ptr noundef %37, i32 noundef 8) %39 = getelementptr inbounds %struct.sockaddr_un, ptr %17, i32 0, i32 4 %40 = load ptr, ptr %39, align 8 %41 = getelementptr inbounds i64, ptr %40, i64 7 store i64 0, ptr %41, align 8 %42 = call i32 @memset(ptr noundef %18, i32 noundef 0, i32 noundef 48) %43 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 3 store ptr %17, ptr %43, align 8 %44 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 0 store i32 48, ptr %44, align 8 store i32 0, ptr %20, align 4 %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %11, align 4 %47 = load ptr, ptr %12, align 8 %48 = load i32, ptr %13, align 4 %49 = load ptr, ptr %14, align 8 %50 = load i32, ptr %15, align 4 %51 = call i32 @sbus_pack_message(ptr noundef %18, ptr noundef %19, ptr noundef %45, i32 noundef %46, ptr noundef %47, i32 noundef %48, ptr noundef %49, i32 noundef %50) store i32 %51, ptr %20, align 4 %52 = load i32, ptr %20, align 4 %53 = icmp sgt i32 0, %52 br i1 %53, label %54, label %57 54: ; preds = %31 %55 = load i32, ptr %16, align 4 %56 = call i32 @close(i32 noundef %55) br label %84 57: ; preds = %31 %58 = load i32, ptr %16, align 4 %59 = call i32 @sendmsg(i32 noundef %58, ptr noundef %18, i32 noundef 0) store i32 %59, ptr %20, align 4 %60 = load i32, ptr %20, align 4 %61 = icmp sgt i32 0, %60 br i1 %61, label %62, label %68 62: ; preds = %57 %63 = load i32, ptr @LOG_ERR, align 4 %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr @errno, align 4 %66 = call i32 @strerror(i32 noundef %65) %67 = call i32 (i32, ptr, ...) @syslog(i32 noundef %63, ptr noundef @.str.1, ptr noundef %64, i32 noundef %66) br label %68 68: ; preds = %62, %57 %69 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 2 %70 = load ptr, ptr %69, align 8 %71 = getelementptr inbounds %struct.TYPE_2__, ptr %70, i32 0, i32 0 %72 = load ptr, ptr %71, align 8 %73 = call i32 @free(ptr noundef %72) %74 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 1 %75 = load ptr, ptr %74, align 8 %76 = icmp ne ptr null, %75 br i1 %76, label %77, label %81 77: ; preds = %68 %78 = getelementptr inbounds %struct.msghdr, ptr %18, i32 0, i32 1 %79 = load ptr, ptr %78, align 8 %80 = call i32 @free(ptr noundef %79) br label %81 81: ; preds = %77, %68 %82 = load i32, ptr %16, align 4 %83 = call i32 @close(i32 noundef %82) br label %84 84: ; preds = %81, %54 %85 = load i32, ptr %20, align 4 %86 = icmp sle i32 0, %85 br i1 %86, label %87, label %92 87: ; preds = %84 %88 = load i32, ptr @LOG_DEBUG, align 4 %89 = load i32, ptr %11, align 4 %90 = load ptr, ptr %9, align 8 %91 = call i32 (i32, ptr, ...) @syslog(i32 noundef %88, ptr noundef @.str.2, i32 noundef %89, ptr noundef %90) br label %92 92: ; preds = %87, %84 %93 = load i32, ptr %20, align 4 store i32 %93, ptr %8, align 4 br label %94 94: ; preds = %92, %26 %95 = load i32, ptr %8, align 4 ret i32 %95 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef, ...) #1 declare i32 @strerror(i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sbus_pack_message(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @sendmsg(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz7mo42a_.c' source_filename = "/tmp/tmpz7mo42a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdbmi_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz7mo42a_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdbmi_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe86f2r77.c' source_filename = "/tmp/tmpe86f2r77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @time_sleep(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timespec, align 4 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 %7 = load i32, ptr %6, align 4 store i32 %7, ptr %4, align 4 %8 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = mul nsw i32 %11, 1000 store i32 %12, ptr %8, align 4 %13 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmpe86f2r77.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } %struct.timeval = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @time_sleep(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca %struct.timespec, align 4 store ptr %0, ptr %2, align 8 %4 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds %struct.timeval, ptr %5, i32 0, i32 1 %7 = load i32, ptr %6, align 4 store i32 %7, ptr %4, align 4 %8 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = mul nsw i32 %11, 1000 store i32 %12, ptr %8, align 4 %13 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) ret void } declare i32 @nanosleep(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/tmpfhaiwyi6.c' source_filename = "/tmp/tmpfhaiwyi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Incorrect number of arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Can't open files\0A\00", align 1 @.str.4 = 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 [20 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = 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 %10 = load i32, ptr @stdout, align 4 %11 = call i32 @setbuf(i32 noundef %10, ptr noundef null) %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store i32 -3, ptr %3, align 4 br label %46 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2) store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %30, label %27 27: ; preds = %16 %28 = load ptr, ptr %9, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %27, %16 %31 = call i32 @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %46 32: ; preds = %27 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %35 = call i32 @read_arr(ptr noundef %33, ptr noundef %34, ptr noundef %7) %36 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = call i32 @print_arr(ptr noundef %36, i32 noundef %37) %39 = call i32 @printf(ptr noundef @.str.4) %40 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %41 = load i32, ptr %7, align 4 %42 = call i32 @sort_odd(ptr noundef %40, i32 noundef %41) %43 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %44 = load i32, ptr %7, align 4 %45 = call i32 @print_arr(ptr noundef %43, i32 noundef %44) store i32 0, ptr %3, align 4 br label %46 46: ; preds = %32, %30, %14 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @read_arr(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_arr(ptr noundef, i32 noundef) #1 declare i32 @sort_odd(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/tmpfhaiwyi6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Incorrect number of arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Can't open files\0A\00", align 1 @.str.4 = 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 [20 x i32], align 16 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = 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 %10 = load i32, ptr @stdout, align 4 %11 = call i32 @setbuf(i32 noundef %10, ptr noundef null) %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 3 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @printf(ptr noundef @.str) store i32 -3, ptr %3, align 4 br label %46 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %8, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds ptr, ptr %21, i64 2 %23 = load ptr, ptr %22, align 8 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2) store ptr %24, ptr %9, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %30, label %27 27: ; preds = %16 %28 = load ptr, ptr %9, align 8 %29 = icmp eq ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %27, %16 %31 = call i32 @printf(ptr noundef @.str.3) store i32 -1, ptr %3, align 4 br label %46 32: ; preds = %27 %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %35 = call i32 @read_arr(ptr noundef %33, ptr noundef %34, ptr noundef %7) %36 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %37 = load i32, ptr %7, align 4 %38 = call i32 @print_arr(ptr noundef %36, i32 noundef %37) %39 = call i32 @printf(ptr noundef @.str.4) %40 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %41 = load i32, ptr %7, align 4 %42 = call i32 @sort_odd(ptr noundef %40, i32 noundef %41) %43 = getelementptr inbounds [20 x i32], ptr %6, i64 0, i64 0 %44 = load i32, ptr %7, align 4 %45 = call i32 @print_arr(ptr noundef %43, i32 noundef %44) store i32 0, ptr %3, align 4 br label %46 46: ; preds = %32, %30, %14 %47 = load i32, ptr %3, align 4 ret i32 %47 } declare i32 @setbuf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @read_arr(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @print_arr(ptr noundef, i32 noundef) #1 declare i32 @sort_odd(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/tmp3usb8lqx.c' source_filename = "/tmp/tmp3usb8lqx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @getllint() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, i64 noundef %4) ret i32 0 } declare i64 @getllint(...) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3usb8lqx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @getllint() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = call i32 @printf(ptr noundef @.str, i64 noundef %4) ret i32 0 } declare i64 @getllint(...) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcl40cy5g.c' source_filename = "/tmp/tmpcl40cy5g.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"%s bihxfile\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 2 br i1 %6, label %7, label %14 7: ; preds = %2 %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @split_bihx(ptr noundef %17) %19 = call i32 (...) @close_segs() %20 = call i32 (...) @bin_segs() ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @split_bihx(ptr noundef) #1 declare i32 @close_segs(...) #1 declare i32 @bin_segs(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpcl40cy5g.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"%s bihxfile\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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 2 br i1 %6, label %7, label %14 7: ; preds = %2 %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %11) %13 = call i32 @exit(i32 noundef 1) #3 unreachable 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = call i32 @split_bihx(ptr noundef %17) %19 = call i32 (...) @close_segs() %20 = call i32 (...) @bin_segs() ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @split_bihx(ptr noundef) #1 declare i32 @close_segs(...) #1 declare i32 @bin_segs(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-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/tmpqgb6_sub.c' source_filename = "/tmp/tmpqgb6_sub.c" target datalayout = "e-m:e-p270: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.ethhdr = type { i32, i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"malloc() failure: \00", align 1 @ETH_ALEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @eth_header_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = call ptr @malloc(i32 noundef 12) store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = call i32 @perror(ptr noundef @.str) store ptr null, ptr %4, align 8 br label %36 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds %struct.ethhdr, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @ether_aton(ptr noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load i32, ptr @ETH_ALEN, align 4 %22 = call i32 @memcpy(i32 noundef %17, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds %struct.ethhdr, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %6, align 8 %27 = call i64 @ether_aton(ptr noundef %26) %28 = inttoptr i64 %27 to ptr %29 = load i32, ptr @ETH_ALEN, align 4 %30 = call i32 @memcpy(i32 noundef %25, ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %7, align 4 %32 = call i32 @htons(i32 noundef %31) %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds %struct.ethhdr, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = load ptr, ptr %8, align 8 store ptr %35, ptr %4, align 8 br label %36 36: ; preds = %14, %12 %37 = load ptr, ptr %4, align 8 ret ptr %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @ether_aton(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqgb6_sub.c" target datalayout = "e-m:e-p270: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.ethhdr = type { i32, i32, i32 } @.str = private unnamed_addr constant [19 x i8] c"malloc() failure: \00", align 1 @ETH_ALEN = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @eth_header_init(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = call ptr @malloc(i32 noundef 12) store ptr %9, ptr %8, align 8 %10 = load ptr, ptr %8, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %3 %13 = call i32 @perror(ptr noundef @.str) store ptr null, ptr %4, align 8 br label %36 14: ; preds = %3 %15 = load ptr, ptr %8, align 8 %16 = getelementptr inbounds %struct.ethhdr, ptr %15, i32 0, i32 2 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i64 @ether_aton(ptr noundef %18) %20 = inttoptr i64 %19 to ptr %21 = load i32, ptr @ETH_ALEN, align 4 %22 = call i32 @memcpy(i32 noundef %17, ptr noundef %20, i32 noundef %21) %23 = load ptr, ptr %8, align 8 %24 = getelementptr inbounds %struct.ethhdr, ptr %23, i32 0, i32 1 %25 = load i32, ptr %24, align 4 %26 = load ptr, ptr %6, align 8 %27 = call i64 @ether_aton(ptr noundef %26) %28 = inttoptr i64 %27 to ptr %29 = load i32, ptr @ETH_ALEN, align 4 %30 = call i32 @memcpy(i32 noundef %25, ptr noundef %28, i32 noundef %29) %31 = load i32, ptr %7, align 4 %32 = call i32 @htons(i32 noundef %31) %33 = load ptr, ptr %8, align 8 %34 = getelementptr inbounds %struct.ethhdr, ptr %33, i32 0, i32 0 store i32 %32, ptr %34, align 4 %35 = load ptr, ptr %8, align 8 store ptr %35, ptr %4, align 8 br label %36 36: ; preds = %14, %12 %37 = load ptr, ptr %4, align 8 ret ptr %37 } declare ptr @malloc(i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @ether_aton(ptr noundef) #1 declare i32 @htons(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpawtcbxit.c' source_filename = "/tmp/tmpawtcbxit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_hairpin_min(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %8, align 4 %12 = sdiv i32 %11, 2 %13 = load i32, ptr %9, align 4 %14 = sub nsw i32 %12, %13 store i32 %14, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 0, ptr %5, align 4 br label %23 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %10, align 4 %22 = call i32 @check_dimer(ptr noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %18, %17 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @check_dimer(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/tmpawtcbxit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @check_hairpin_min(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %11 = load i32, ptr %8, align 4 %12 = sdiv i32 %11, 2 %13 = load i32, ptr %9, align 4 %14 = sub nsw i32 %12, %13 store i32 %14, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 0, ptr %5, align 4 br label %23 18: ; preds = %4 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %7, align 8 %21 = load i32, ptr %10, align 4 %22 = call i32 @check_dimer(ptr noundef %19, ptr noundef %20, i32 noundef %21) store i32 %22, ptr %5, align 4 br label %23 23: ; preds = %18, %17 %24 = load i32, ptr %5, align 4 ret i32 %24 } declare i32 @check_dimer(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/tmp4b999iy5.c' source_filename = "/tmp/tmp4b999iy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"soma da linha %d = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"soma da coluna %d = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [3 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [3 x i32], align 4 %6 = alloca [3 x i32], align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 12, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 12, i1 false) store i32 0, ptr %7, align 4 store i32 0, ptr %3, align 4 br label %8 8: ; preds = %28, %0 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 3 br i1 %10, label %11, label %31 11: ; preds = %8 store i32 0, ptr %4, align 4 br label %12 12: ; preds = %24, %11 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 3 br i1 %14, label %15, label %27 15: ; preds = %12 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %3, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %19 %21 = load i32, ptr %4, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [3 x i32], ptr %20, i64 0, i64 %22 store i32 %16, ptr %23, align 4 br label %24 24: ; preds = %15 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %12, !llvm.loop !6 27: ; preds = %12 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %8, !llvm.loop !8 31: ; preds = %8 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %74, %31 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %33, 3 br i1 %34, label %35, label %77 35: ; preds = %32 store i32 0, ptr %4, align 4 br label %36 36: ; preds = %70, %35 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %39, label %73 39: ; preds = %36 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %45 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [3 x i32], ptr %46, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = add nsw i32 %43, %50 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 %53 store i32 %51, ptr %54, align 4 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %60 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [3 x i32], ptr %61, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %58, %65 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %68 store i32 %66, ptr %69, align 4 br label %70 70: ; preds = %39 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %4, align 4 br label %36, !llvm.loop !9 73: ; preds = %36 br label %74 74: ; preds = %73 %75 = load i32, ptr %3, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %3, align 4 br label %32, !llvm.loop !10 77: ; preds = %32 store i32 0, ptr %3, align 4 br label %78 78: ; preds = %89, %77 %79 = load i32, ptr %3, align 4 %80 = icmp slt i32 %79, 3 br i1 %80, label %81, label %92 81: ; preds = %78 %82 = load i32, ptr %3, align 4 %83 = add nsw i32 %82, 1 %84 = load i32, ptr %3, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = call i32 @printf(ptr noundef @.str, i32 noundef %83, i32 noundef %87) br label %89 89: ; preds = %81 %90 = load i32, ptr %3, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %3, align 4 br label %78, !llvm.loop !11 92: ; preds = %78 store i32 0, ptr %3, align 4 br label %93 93: ; preds = %104, %92 %94 = load i32, ptr %3, align 4 %95 = icmp slt i32 %94, 3 br i1 %95, label %96, label %107 96: ; preds = %93 %97 = load i32, ptr %3, align 4 %98 = add nsw i32 %97, 1 %99 = load i32, ptr %3, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %100 %102 = load i32, ptr %101, align 4 %103 = call i32 @printf(ptr noundef @.str.1, i32 noundef %98, i32 noundef %102) br label %104 104: ; preds = %96 %105 = load i32, ptr %3, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %3, align 4 br label %93, !llvm.loop !12 107: ; preds = %93 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4b999iy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"soma da linha %d = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"soma da coluna %d = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x [3 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca [3 x i32], align 4 %6 = alloca [3 x i32], align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memset.p0.i64(ptr align 4 %5, i8 0, i64 12, i1 false) call void @llvm.memset.p0.i64(ptr align 4 %6, i8 0, i64 12, i1 false) store i32 0, ptr %7, align 4 store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %.lr.ph2, label %33 .lr.ph2: ; preds = %0 br label %10 10: ; preds = %.lr.ph2, %28 store i32 0, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %11, 3 br i1 %12, label %.lr.ph, label %27 .lr.ph: ; preds = %10 br label %13 13: ; preds = %.lr.ph, %22 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [3 x i32], ptr %18, i64 0, i64 %20 store i32 %14, ptr %21, align 4 br label %22 22: ; preds = %13 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 3 br i1 %26, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %10 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 3 br i1 %32, label %10, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %33 33: ; preds = %._crit_edge3, %0 store i32 0, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %34, 3 br i1 %35, label %.lr.ph8, label %81 .lr.ph8: ; preds = %33 br label %36 36: ; preds = %.lr.ph8, %76 store i32 0, ptr %4, align 4 %37 = load i32, ptr %4, align 4 %38 = icmp slt i32 %37, 3 br i1 %38, label %.lr.ph5, label %75 .lr.ph5: ; preds = %36 br label %39 39: ; preds = %.lr.ph5, %70 %40 = load i32, ptr %3, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load i32, ptr %3, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %45 %47 = load i32, ptr %4, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [3 x i32], ptr %46, i64 0, i64 %48 %50 = load i32, ptr %49, align 4 %51 = add nsw i32 %43, %50 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 %53 store i32 %51, ptr %54, align 4 %55 = load i32, ptr %3, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %56 %58 = load i32, ptr %57, align 4 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [3 x [3 x i32]], ptr %2, i64 0, i64 %60 %62 = load i32, ptr %3, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [3 x i32], ptr %61, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = add nsw i32 %58, %65 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %68 store i32 %66, ptr %69, align 4 br label %70 70: ; preds = %39 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %4, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp slt i32 %73, 3 br i1 %74, label %39, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %70 br label %75 75: ; preds = %._crit_edge6, %36 br label %76 76: ; preds = %75 %77 = load i32, ptr %3, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %3, align 4 %79 = load i32, ptr %3, align 4 %80 = icmp slt i32 %79, 3 br i1 %80, label %36, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %76 br label %81 81: ; preds = %._crit_edge9, %33 store i32 0, ptr %3, align 4 %82 = load i32, ptr %3, align 4 %83 = icmp slt i32 %82, 3 br i1 %83, label %.lr.ph11, label %97 .lr.ph11: ; preds = %81 br label %84 84: ; preds = %.lr.ph11, %92 %85 = load i32, ptr %3, align 4 %86 = add nsw i32 %85, 1 %87 = load i32, ptr %3, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [3 x i32], ptr %5, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = call i32 @printf(ptr noundef @.str, i32 noundef %86, i32 noundef %90) br label %92 92: ; preds = %84 %93 = load i32, ptr %3, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %3, align 4 %95 = load i32, ptr %3, align 4 %96 = icmp slt i32 %95, 3 br i1 %96, label %84, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %92 br label %97 97: ; preds = %._crit_edge12, %81 store i32 0, ptr %3, align 4 %98 = load i32, ptr %3, align 4 %99 = icmp slt i32 %98, 3 br i1 %99, label %.lr.ph14, label %113 .lr.ph14: ; preds = %97 br label %100 100: ; preds = %.lr.ph14, %108 %101 = load i32, ptr %3, align 4 %102 = add nsw i32 %101, 1 %103 = load i32, ptr %3, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 %104 %106 = load i32, ptr %105, align 4 %107 = call i32 @printf(ptr noundef @.str.1, i32 noundef %102, i32 noundef %106) br label %108 108: ; preds = %100 %109 = load i32, ptr %3, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %3, align 4 %111 = load i32, ptr %3, align 4 %112 = icmp slt i32 %111, 3 br i1 %112, label %100, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %108 br label %113 113: ; preds = %._crit_edge15, %97 ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpivx9bf0d.c' source_filename = "/tmp/tmpivx9bf0d.c" target datalayout = "e-m:e-p270: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/tmpivx9bf0d.c" target datalayout = "e-m:e-p270: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/tmpmenl5vqw.c' source_filename = "/tmp/tmpmenl5vqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @debugdata_function() %3 = add nsw i32 %2, 1 ret i32 %3 } declare i32 @debugdata_function(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmenl5vqw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @debugdata_function() %3 = add nsw i32 %2, 1 ret i32 %3 } declare i32 @debugdata_function(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd_bqa6yh.c' source_filename = "/tmp/tmpd_bqa6yh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @F0(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = shl i32 %6, 1 %8 = and i32 %7, 255 %9 = load i32, ptr %2, align 4 %10 = ashr i32 %9, 7 %11 = and i32 %10, 255 %12 = xor i32 %8, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = shl i32 %13, 2 %15 = and i32 %14, 255 %16 = load i32, ptr %2, align 4 %17 = ashr i32 %16, 6 %18 = and i32 %17, 255 %19 = xor i32 %15, %18 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = shl i32 %20, 7 %22 = and i32 %21, 255 %23 = load i32, ptr %2, align 4 %24 = ashr i32 %23, 1 %25 = and i32 %24, 255 %26 = xor i32 %22, %25 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = xor i32 %27, %28 %30 = load i32, ptr %5, align 4 %31 = xor i32 %29, %30 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd_bqa6yh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @F0(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %6 = load i32, ptr %2, align 4 %7 = shl i32 %6, 1 %8 = and i32 %7, 255 %9 = load i32, ptr %2, align 4 %10 = ashr i32 %9, 7 %11 = and i32 %10, 255 %12 = xor i32 %8, %11 store i32 %12, ptr %3, align 4 %13 = load i32, ptr %2, align 4 %14 = shl i32 %13, 2 %15 = and i32 %14, 255 %16 = load i32, ptr %2, align 4 %17 = ashr i32 %16, 6 %18 = and i32 %17, 255 %19 = xor i32 %15, %18 store i32 %19, ptr %4, align 4 %20 = load i32, ptr %2, align 4 %21 = shl i32 %20, 7 %22 = and i32 %21, 255 %23 = load i32, ptr %2, align 4 %24 = ashr i32 %23, 1 %25 = and i32 %24, 255 %26 = xor i32 %22, %25 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %3, align 4 %28 = load i32, ptr %4, align 4 %29 = xor i32 %27, %28 %30 = load i32, ptr %5, align 4 %31 = xor i32 %29, %30 ret i32 %31 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjtiq32h4.c' source_filename = "/tmp/tmpjtiq32h4.c" target datalayout = "e-m:e-p270: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/tmpjtiq32h4.c" target datalayout = "e-m:e-p270: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/tmpo78iwdhu.c' source_filename = "/tmp/tmpo78iwdhu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%ld.%06ld\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timeval, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @gettimeofday(ptr noundef %2, ptr noundef null) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %4, ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr @stdout, align 4 %8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %7, ptr noundef @.str.1, i32 noundef %9, i32 noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @time(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/tmpo78iwdhu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%ld\0A\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"%ld.%06ld\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.timeval, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @gettimeofday(ptr noundef %2, ptr noundef null) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @time(ptr noundef null) %6 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %4, ptr noundef @.str, i32 noundef %5) %7 = load i32, ptr @stdout, align 4 %8 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = getelementptr inbounds %struct.timeval, ptr %2, i32 0, i32 0 %11 = load i32, ptr %10, align 4 %12 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %7, ptr noundef @.str.1, i32 noundef %9, i32 noundef %11) %13 = load i32, ptr @EXIT_SUCCESS, align 4 %14 = call i32 @exit(i32 noundef %13) #3 unreachable } declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @time(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/tmpcowjgkn9.c' source_filename = "/tmp/tmpcowjgkn9.c" target datalayout = "e-m:e-p270: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/tmpcowjgkn9.c" target datalayout = "e-m:e-p270: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/tmpbtbzd1ej.c' source_filename = "/tmp/tmpbtbzd1ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load i64, ptr %7, align 8 store i64 %13, ptr %10, align 8 %14 = load ptr, ptr %6, align 8 store ptr %14, ptr %11, align 8 br label %15 15: ; preds = %26, %3 %16 = load i64, ptr %10, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %10, align 8 %18 = icmp ne i64 %16, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %19, %15 %25 = phi i1 [ false, %15 ], [ %23, %19 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %8, align 8 br label %15, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 store i64 %34, ptr %9, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %9, align 8 %37 = sub i64 %35, %36 store i64 %37, ptr %10, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %44, label %39 39: ; preds = %29 %40 = load i64, ptr %9, align 8 %41 = load ptr, ptr %6, align 8 %42 = call i64 @strlen(ptr noundef %41) %43 = add i64 %40, %42 store i64 %43, ptr %4, align 8 br label %71 44: ; preds = %29 br label %45 45: ; preds = %59, %44 %46 = load ptr, ptr %11, align 8 %47 = load i8, ptr %46, align 1 %48 = icmp ne i8 %47, 0 br i1 %48, label %49, label %62 49: ; preds = %45 %50 = load i64, ptr %10, align 8 %51 = icmp ne i64 %50, 1 br i1 %51, label %52, label %59 52: ; preds = %49 %53 = load ptr, ptr %11, align 8 %54 = load i8, ptr %53, align 1 %55 = load ptr, ptr %8, align 8 %56 = getelementptr inbounds i8, ptr %55, i32 1 store ptr %56, ptr %8, align 8 store i8 %54, ptr %55, align 1 %57 = load i64, ptr %10, align 8 %58 = add i64 %57, -1 store i64 %58, ptr %10, align 8 br label %59 59: ; preds = %52, %49 %60 = load ptr, ptr %11, align 8 %61 = getelementptr inbounds i8, ptr %60, i32 1 store ptr %61, ptr %11, align 8 br label %45, !llvm.loop !8 62: ; preds = %45 %63 = load ptr, ptr %8, align 8 store i8 0, ptr %63, align 1 %64 = load i64, ptr %9, align 8 %65 = load ptr, ptr %11, align 8 %66 = load ptr, ptr %6, align 8 %67 = ptrtoint ptr %65 to i64 %68 = ptrtoint ptr %66 to i64 %69 = sub i64 %67, %68 %70 = add i64 %64, %69 store i64 %70, ptr %4, align 8 br label %71 71: ; preds = %62, %39 %72 = load i64, ptr %4, align 8 ret i64 %72 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbtbzd1ej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 store ptr %12, ptr %8, align 8 %13 = load i64, ptr %7, align 8 store i64 %13, ptr %10, align 8 %14 = load ptr, ptr %6, align 8 store ptr %14, ptr %11, align 8 br label %15 15: ; preds = %26, %3 %16 = load i64, ptr %10, align 8 %17 = add i64 %16, -1 store i64 %17, ptr %10, align 8 %18 = icmp ne i64 %16, 0 br i1 %18, label %19, label %24 19: ; preds = %15 %20 = load ptr, ptr %8, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 0 br label %24 24: ; preds = %19, %15 %25 = phi i1 [ false, %15 ], [ %23, %19 ] br i1 %25, label %26, label %29 26: ; preds = %24 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %8, align 8 br label %15, !llvm.loop !6 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = load ptr, ptr %5, align 8 %32 = ptrtoint ptr %30 to i64 %33 = ptrtoint ptr %31 to i64 %34 = sub i64 %32, %33 store i64 %34, ptr %9, align 8 %35 = load i64, ptr %7, align 8 %36 = load i64, ptr %9, align 8 %37 = sub i64 %35, %36 store i64 %37, ptr %10, align 8 %38 = icmp ne i64 %37, 0 br i1 %38, label %44, label %39 39: ; preds = %29 %40 = load i64, ptr %9, align 8 %41 = load ptr, ptr %6, align 8 %42 = call i64 @strlen(ptr noundef %41) %43 = add i64 %40, %42 store i64 %43, ptr %4, align 8 br label %73 44: ; preds = %29 %45 = load ptr, ptr %11, align 8 %46 = load i8, ptr %45, align 1 %47 = icmp ne i8 %46, 0 br i1 %47, label %.lr.ph, label %64 .lr.ph: ; preds = %44 br label %48 48: ; preds = %.lr.ph, %58 %49 = load i64, ptr %10, align 8 %50 = icmp ne i64 %49, 1 br i1 %50, label %51, label %58 51: ; preds = %48 %52 = load ptr, ptr %11, align 8 %53 = load i8, ptr %52, align 1 %54 = load ptr, ptr %8, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %8, align 8 store i8 %53, ptr %54, align 1 %56 = load i64, ptr %10, align 8 %57 = add i64 %56, -1 store i64 %57, ptr %10, align 8 br label %58 58: ; preds = %51, %48 %59 = load ptr, ptr %11, align 8 %60 = getelementptr inbounds i8, ptr %59, i32 1 store ptr %60, ptr %11, align 8 %61 = load ptr, ptr %11, align 8 %62 = load i8, ptr %61, align 1 %63 = icmp ne i8 %62, 0 br i1 %63, label %48, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %44 %65 = load ptr, ptr %8, align 8 store i8 0, ptr %65, align 1 %66 = load i64, ptr %9, align 8 %67 = load ptr, ptr %11, align 8 %68 = load ptr, ptr %6, align 8 %69 = ptrtoint ptr %67 to i64 %70 = ptrtoint ptr %68 to i64 %71 = sub i64 %69, %70 %72 = add i64 %66, %71 store i64 %72, ptr %4, align 8 br label %73 73: ; preds = %64, %39 %74 = load i64, ptr %4, align 8 ret i64 %74 } declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpld6y55u0.c' source_filename = "/tmp/tmpld6y55u0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Too many iterations (> %d) in brent\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @brent(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca [100 x i8], align 16 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store double %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store double 0.000000e+00, ptr %34, align 8 %35 = load double, ptr %8, align 8 %36 = load double, ptr %10, align 8 %37 = fcmp olt double %35, %36 br i1 %37, label %38, label %40 38: ; preds = %6 %39 = load double, ptr %8, align 8 br label %42 40: ; preds = %6 %41 = load double, ptr %10, align 8 br label %42 42: ; preds = %40, %38 %43 = phi double [ %39, %38 ], [ %41, %40 ] store double %43, ptr %16, align 8 %44 = load double, ptr %8, align 8 %45 = load double, ptr %10, align 8 %46 = fcmp ogt double %44, %45 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = load double, ptr %8, align 8 br label %51 49: ; preds = %42 %50 = load double, ptr %10, align 8 br label %51 51: ; preds = %49, %47 %52 = phi double [ %48, %47 ], [ %50, %49 ] store double %52, ptr %17, align 8 %53 = load double, ptr %9, align 8 store double %53, ptr %30, align 8 store double %53, ptr %31, align 8 store double %53, ptr %32, align 8 %54 = load ptr, ptr %11, align 8 %55 = load double, ptr %32, align 8 %56 = call double %54(double noundef %55) store double %56, ptr %23, align 8 store double %56, ptr %21, align 8 store double %56, ptr %22, align 8 store i32 1, ptr %14, align 4 br label %57 57: ; preds = %302, %51 %58 = load i32, ptr %14, align 4 %59 = icmp sle i32 %58, 100 br i1 %59, label %60, label %305 60: ; preds = %57 %61 = load double, ptr %16, align 8 %62 = load double, ptr %17, align 8 %63 = fadd double %61, %62 %64 = fmul double 5.000000e-01, %63 store double %64, ptr %33, align 8 %65 = load double, ptr %12, align 8 %66 = load double, ptr %32, align 8 %67 = call double @llvm.fabs.f64(double %66) %68 = call double @llvm.fmuladd.f64(double %65, double %67, double 1.000000e-10) store double %68, ptr %27, align 8 %69 = fmul double 2.000000e+00, %68 store double %69, ptr %28, align 8 %70 = load double, ptr %32, align 8 %71 = load double, ptr %33, align 8 %72 = fsub double %70, %71 %73 = call double @llvm.fabs.f64(double %72) %74 = load double, ptr %28, align 8 %75 = load double, ptr %17, align 8 %76 = load double, ptr %16, align 8 %77 = fsub double %75, %76 %78 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %77, double %74) %79 = fcmp ole double %73, %78 br i1 %79, label %80, label %84 80: ; preds = %60 %81 = load double, ptr %32, align 8 %82 = load ptr, ptr %13, align 8 store double %81, ptr %82, align 8 %83 = load double, ptr %23, align 8 store double %83, ptr %7, align 8 br label %313 84: ; preds = %60 %85 = load double, ptr %34, align 8 %86 = call double @llvm.fabs.f64(double %85) %87 = load double, ptr %27, align 8 %88 = fcmp ogt double %86, %87 br i1 %88, label %89, label %202 89: ; preds = %84 %90 = load double, ptr %32, align 8 %91 = load double, ptr %31, align 8 %92 = fsub double %90, %91 %93 = load double, ptr %23, align 8 %94 = load double, ptr %21, align 8 %95 = fsub double %93, %94 %96 = fmul double %92, %95 store double %96, ptr %26, align 8 %97 = load double, ptr %32, align 8 %98 = load double, ptr %30, align 8 %99 = fsub double %97, %98 %100 = load double, ptr %23, align 8 %101 = load double, ptr %22, align 8 %102 = fsub double %100, %101 %103 = fmul double %99, %102 store double %103, ptr %25, align 8 %104 = load double, ptr %32, align 8 %105 = load double, ptr %30, align 8 %106 = fsub double %104, %105 %107 = load double, ptr %25, align 8 %108 = load double, ptr %32, align 8 %109 = load double, ptr %31, align 8 %110 = fsub double %108, %109 %111 = load double, ptr %26, align 8 %112 = fmul double %110, %111 %113 = fneg double %112 %114 = call double @llvm.fmuladd.f64(double %106, double %107, double %113) store double %114, ptr %24, align 8 %115 = load double, ptr %25, align 8 %116 = load double, ptr %26, align 8 %117 = fsub double %115, %116 %118 = fmul double 2.000000e+00, %117 store double %118, ptr %25, align 8 %119 = load double, ptr %25, align 8 %120 = fcmp ogt double %119, 0.000000e+00 br i1 %120, label %121, label %124 121: ; preds = %89 %122 = load double, ptr %24, align 8 %123 = fneg double %122 store double %123, ptr %24, align 8 br label %124 124: ; preds = %121, %89 %125 = load double, ptr %25, align 8 %126 = call double @llvm.fabs.f64(double %125) store double %126, ptr %25, align 8 %127 = load double, ptr %34, align 8 store double %127, ptr %19, align 8 %128 = load double, ptr %18, align 8 store double %128, ptr %34, align 8 %129 = load double, ptr %24, align 8 %130 = call double @llvm.fabs.f64(double %129) %131 = load double, ptr %25, align 8 %132 = fmul double 5.000000e-01, %131 %133 = load double, ptr %19, align 8 %134 = fmul double %132, %133 %135 = call double @llvm.fabs.f64(double %134) %136 = fcmp oge double %130, %135 br i1 %136, label %153, label %137 137: ; preds = %124 %138 = load double, ptr %24, align 8 %139 = load double, ptr %25, align 8 %140 = load double, ptr %16, align 8 %141 = load double, ptr %32, align 8 %142 = fsub double %140, %141 %143 = fmul double %139, %142 %144 = fcmp ole double %138, %143 br i1 %144, label %153, label %145 145: ; preds = %137 %146 = load double, ptr %24, align 8 %147 = load double, ptr %25, align 8 %148 = load double, ptr %17, align 8 %149 = load double, ptr %32, align 8 %150 = fsub double %148, %149 %151 = fmul double %147, %150 %152 = fcmp oge double %146, %151 br i1 %152, label %153, label %168 153: ; preds = %145, %137, %124 %154 = load double, ptr %32, align 8 %155 = load double, ptr %33, align 8 %156 = fcmp oge double %154, %155 br i1 %156, label %157, label %161 157: ; preds = %153 %158 = load double, ptr %16, align 8 %159 = load double, ptr %32, align 8 %160 = fsub double %158, %159 br label %165 161: ; preds = %153 %162 = load double, ptr %17, align 8 %163 = load double, ptr %32, align 8 %164 = fsub double %162, %163 br label %165 165: ; preds = %161, %157 %166 = phi double [ %160, %157 ], [ %164, %161 ] store double %166, ptr %34, align 8 %167 = fmul double 3.819660e-01, %166 store double %167, ptr %18, align 8 br label %201 168: ; preds = %145 %169 = load double, ptr %24, align 8 %170 = load double, ptr %25, align 8 %171 = fdiv double %169, %170 store double %171, ptr %18, align 8 %172 = load double, ptr %32, align 8 %173 = load double, ptr %18, align 8 %174 = fadd double %172, %173 store double %174, ptr %29, align 8 %175 = load double, ptr %29, align 8 %176 = load double, ptr %16, align 8 %177 = fsub double %175, %176 %178 = load double, ptr %28, align 8 %179 = fcmp olt double %177, %178 br i1 %179, label %186, label %180 180: ; preds = %168 %181 = load double, ptr %17, align 8 %182 = load double, ptr %29, align 8 %183 = fsub double %181, %182 %184 = load double, ptr %28, align 8 %185 = fcmp olt double %183, %184 br i1 %185, label %186, label %200 186: ; preds = %180, %168 %187 = load double, ptr %33, align 8 %188 = load double, ptr %32, align 8 %189 = fsub double %187, %188 %190 = fcmp oge double %189, 0.000000e+00 br i1 %190, label %191, label %194 191: ; preds = %186 %192 = load double, ptr %27, align 8 %193 = call double @llvm.fabs.f64(double %192) br label %198 194: ; preds = %186 %195 = load double, ptr %27, align 8 %196 = call double @llvm.fabs.f64(double %195) %197 = fneg double %196 br label %198 198: ; preds = %194, %191 %199 = phi double [ %193, %191 ], [ %197, %194 ] store double %199, ptr %18, align 8 br label %200 200: ; preds = %198, %180 br label %201 201: ; preds = %200, %165 br label %217 202: ; preds = %84 %203 = load double, ptr %32, align 8 %204 = load double, ptr %33, align 8 %205 = fcmp oge double %203, %204 br i1 %205, label %206, label %210 206: ; preds = %202 %207 = load double, ptr %16, align 8 %208 = load double, ptr %32, align 8 %209 = fsub double %207, %208 br label %214 210: ; preds = %202 %211 = load double, ptr %17, align 8 %212 = load double, ptr %32, align 8 %213 = fsub double %211, %212 br label %214 214: ; preds = %210, %206 %215 = phi double [ %209, %206 ], [ %213, %210 ] store double %215, ptr %34, align 8 %216 = fmul double 3.819660e-01, %215 store double %216, ptr %18, align 8 br label %217 217: ; preds = %214, %201 %218 = load double, ptr %18, align 8 %219 = call double @llvm.fabs.f64(double %218) %220 = load double, ptr %27, align 8 %221 = fcmp oge double %219, %220 br i1 %221, label %222, label %226 222: ; preds = %217 %223 = load double, ptr %32, align 8 %224 = load double, ptr %18, align 8 %225 = fadd double %223, %224 br label %240 226: ; preds = %217 %227 = load double, ptr %32, align 8 %228 = load double, ptr %18, align 8 %229 = fcmp oge double %228, 0.000000e+00 br i1 %229, label %230, label %233 230: ; preds = %226 %231 = load double, ptr %27, align 8 %232 = call double @llvm.fabs.f64(double %231) br label %237 233: ; preds = %226 %234 = load double, ptr %27, align 8 %235 = call double @llvm.fabs.f64(double %234) %236 = fneg double %235 br label %237 237: ; preds = %233, %230 %238 = phi double [ %232, %230 ], [ %236, %233 ] %239 = fadd double %227, %238 br label %240 240: ; preds = %237, %222 %241 = phi double [ %225, %222 ], [ %239, %237 ] store double %241, ptr %29, align 8 %242 = load ptr, ptr %11, align 8 %243 = load double, ptr %29, align 8 %244 = call double %242(double noundef %243) store double %244, ptr %20, align 8 %245 = load double, ptr %20, align 8 %246 = load double, ptr %23, align 8 %247 = fcmp ole double %245, %246 br i1 %247, label %248, label %263 248: ; preds = %240 %249 = load double, ptr %29, align 8 %250 = load double, ptr %32, align 8 %251 = fcmp oge double %249, %250 br i1 %251, label %252, label %254 252: ; preds = %248 %253 = load double, ptr %32, align 8 store double %253, ptr %16, align 8 br label %256 254: ; preds = %248 %255 = load double, ptr %32, align 8 store double %255, ptr %17, align 8 br label %256 256: ; preds = %254, %252 %257 = load double, ptr %31, align 8 store double %257, ptr %30, align 8 %258 = load double, ptr %32, align 8 store double %258, ptr %31, align 8 %259 = load double, ptr %29, align 8 store double %259, ptr %32, align 8 %260 = load double, ptr %22, align 8 store double %260, ptr %21, align 8 %261 = load double, ptr %23, align 8 store double %261, ptr %22, align 8 %262 = load double, ptr %20, align 8 store double %262, ptr %23, align 8 br label %301 263: ; preds = %240 %264 = load double, ptr %29, align 8 %265 = load double, ptr %32, align 8 %266 = fcmp olt double %264, %265 br i1 %266, label %267, label %269 267: ; preds = %263 %268 = load double, ptr %29, align 8 store double %268, ptr %16, align 8 br label %271 269: ; preds = %263 %270 = load double, ptr %29, align 8 store double %270, ptr %17, align 8 br label %271 271: ; preds = %269, %267 %272 = load double, ptr %20, align 8 %273 = load double, ptr %22, align 8 %274 = fcmp ole double %272, %273 br i1 %274, label %279, label %275 275: ; preds = %271 %276 = load double, ptr %31, align 8 %277 = load double, ptr %32, align 8 %278 = fcmp oeq double %276, %277 br i1 %278, label %279, label %284 279: ; preds = %275, %271 %280 = load double, ptr %31, align 8 store double %280, ptr %30, align 8 %281 = load double, ptr %29, align 8 store double %281, ptr %31, align 8 %282 = load double, ptr %22, align 8 store double %282, ptr %21, align 8 %283 = load double, ptr %20, align 8 store double %283, ptr %22, align 8 br label %300 284: ; preds = %275 %285 = load double, ptr %20, align 8 %286 = load double, ptr %21, align 8 %287 = fcmp ole double %285, %286 br i1 %287, label %296, label %288 288: ; preds = %284 %289 = load double, ptr %30, align 8 %290 = load double, ptr %32, align 8 %291 = fcmp oeq double %289, %290 br i1 %291, label %296, label %292 292: ; preds = %288 %293 = load double, ptr %30, align 8 %294 = load double, ptr %31, align 8 %295 = fcmp oeq double %293, %294 br i1 %295, label %296, label %299 296: ; preds = %292, %288, %284 %297 = load double, ptr %29, align 8 store double %297, ptr %30, align 8 %298 = load double, ptr %20, align 8 store double %298, ptr %21, align 8 br label %299 299: ; preds = %296, %292 br label %300 300: ; preds = %299, %279 br label %301 301: ; preds = %300, %256 br label %302 302: ; preds = %301 %303 = load i32, ptr %14, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %14, align 4 br label %57, !llvm.loop !6 305: ; preds = %57 %306 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0 %307 = call i32 @sprintf(ptr noundef %306, ptr noundef @.str, i32 noundef 100) %308 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0 %309 = call i32 @nrerror(ptr noundef %308) %310 = load double, ptr %32, align 8 %311 = load ptr, ptr %13, align 8 store double %310, ptr %311, align 8 %312 = load double, ptr %23, align 8 store double %312, ptr %7, align 8 br label %313 313: ; preds = %305, %80 %314 = load double, ptr %7, align 8 ret double %314 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @nrerror(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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpld6y55u0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [36 x i8] c"Too many iterations (> %d) in brent\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @brent(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, double noundef %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca [100 x i8], align 16 %16 = alloca double, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 %21 = alloca double, align 8 %22 = alloca double, align 8 %23 = alloca double, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca double, align 8 %27 = alloca double, align 8 %28 = alloca double, align 8 %29 = alloca double, align 8 %30 = alloca double, align 8 %31 = alloca double, align 8 %32 = alloca double, align 8 %33 = alloca double, align 8 %34 = alloca double, align 8 store double %0, ptr %8, align 8 store double %1, ptr %9, align 8 store double %2, ptr %10, align 8 store ptr %3, ptr %11, align 8 store double %4, ptr %12, align 8 store ptr %5, ptr %13, align 8 store double 0.000000e+00, ptr %34, align 8 %35 = load double, ptr %8, align 8 %36 = load double, ptr %10, align 8 %37 = fcmp olt double %35, %36 br i1 %37, label %38, label %40 38: ; preds = %6 %39 = load double, ptr %8, align 8 br label %42 40: ; preds = %6 %41 = load double, ptr %10, align 8 br label %42 42: ; preds = %40, %38 %43 = phi double [ %39, %38 ], [ %41, %40 ] store double %43, ptr %16, align 8 %44 = load double, ptr %8, align 8 %45 = load double, ptr %10, align 8 %46 = fcmp ogt double %44, %45 br i1 %46, label %47, label %49 47: ; preds = %42 %48 = load double, ptr %8, align 8 br label %51 49: ; preds = %42 %50 = load double, ptr %10, align 8 br label %51 51: ; preds = %49, %47 %52 = phi double [ %48, %47 ], [ %50, %49 ] store double %52, ptr %17, align 8 %53 = load double, ptr %9, align 8 store double %53, ptr %30, align 8 store double %53, ptr %31, align 8 store double %53, ptr %32, align 8 %54 = load ptr, ptr %11, align 8 %55 = load double, ptr %32, align 8 %56 = call double %54(double noundef %55) store double %56, ptr %23, align 8 store double %56, ptr %21, align 8 store double %56, ptr %22, align 8 store i32 1, ptr %14, align 4 %57 = load i32, ptr %14, align 4 %58 = icmp sle i32 %57, 100 br i1 %58, label %.lr.ph, label %306 .lr.ph: ; preds = %51 br label %59 59: ; preds = %.lr.ph, %301 %60 = load double, ptr %16, align 8 %61 = load double, ptr %17, align 8 %62 = fadd double %60, %61 %63 = fmul double 5.000000e-01, %62 store double %63, ptr %33, align 8 %64 = load double, ptr %12, align 8 %65 = load double, ptr %32, align 8 %66 = call double @llvm.fabs.f64(double %65) %67 = call double @llvm.fmuladd.f64(double %64, double %66, double 1.000000e-10) store double %67, ptr %27, align 8 %68 = fmul double 2.000000e+00, %67 store double %68, ptr %28, align 8 %69 = load double, ptr %32, align 8 %70 = load double, ptr %33, align 8 %71 = fsub double %69, %70 %72 = call double @llvm.fabs.f64(double %71) %73 = load double, ptr %28, align 8 %74 = load double, ptr %17, align 8 %75 = load double, ptr %16, align 8 %76 = fsub double %74, %75 %77 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %76, double %73) %78 = fcmp ole double %72, %77 br i1 %78, label %79, label %83 79: ; preds = %59 %80 = load double, ptr %32, align 8 %81 = load ptr, ptr %13, align 8 store double %80, ptr %81, align 8 %82 = load double, ptr %23, align 8 store double %82, ptr %7, align 8 br label %314 83: ; preds = %59 %84 = load double, ptr %34, align 8 %85 = call double @llvm.fabs.f64(double %84) %86 = load double, ptr %27, align 8 %87 = fcmp ogt double %85, %86 br i1 %87, label %88, label %201 88: ; preds = %83 %89 = load double, ptr %32, align 8 %90 = load double, ptr %31, align 8 %91 = fsub double %89, %90 %92 = load double, ptr %23, align 8 %93 = load double, ptr %21, align 8 %94 = fsub double %92, %93 %95 = fmul double %91, %94 store double %95, ptr %26, align 8 %96 = load double, ptr %32, align 8 %97 = load double, ptr %30, align 8 %98 = fsub double %96, %97 %99 = load double, ptr %23, align 8 %100 = load double, ptr %22, align 8 %101 = fsub double %99, %100 %102 = fmul double %98, %101 store double %102, ptr %25, align 8 %103 = load double, ptr %32, align 8 %104 = load double, ptr %30, align 8 %105 = fsub double %103, %104 %106 = load double, ptr %25, align 8 %107 = load double, ptr %32, align 8 %108 = load double, ptr %31, align 8 %109 = fsub double %107, %108 %110 = load double, ptr %26, align 8 %111 = fmul double %109, %110 %112 = fneg double %111 %113 = call double @llvm.fmuladd.f64(double %105, double %106, double %112) store double %113, ptr %24, align 8 %114 = load double, ptr %25, align 8 %115 = load double, ptr %26, align 8 %116 = fsub double %114, %115 %117 = fmul double 2.000000e+00, %116 store double %117, ptr %25, align 8 %118 = load double, ptr %25, align 8 %119 = fcmp ogt double %118, 0.000000e+00 br i1 %119, label %120, label %123 120: ; preds = %88 %121 = load double, ptr %24, align 8 %122 = fneg double %121 store double %122, ptr %24, align 8 br label %123 123: ; preds = %120, %88 %124 = load double, ptr %25, align 8 %125 = call double @llvm.fabs.f64(double %124) store double %125, ptr %25, align 8 %126 = load double, ptr %34, align 8 store double %126, ptr %19, align 8 %127 = load double, ptr %18, align 8 store double %127, ptr %34, align 8 %128 = load double, ptr %24, align 8 %129 = call double @llvm.fabs.f64(double %128) %130 = load double, ptr %25, align 8 %131 = fmul double 5.000000e-01, %130 %132 = load double, ptr %19, align 8 %133 = fmul double %131, %132 %134 = call double @llvm.fabs.f64(double %133) %135 = fcmp oge double %129, %134 br i1 %135, label %152, label %136 136: ; preds = %123 %137 = load double, ptr %24, align 8 %138 = load double, ptr %25, align 8 %139 = load double, ptr %16, align 8 %140 = load double, ptr %32, align 8 %141 = fsub double %139, %140 %142 = fmul double %138, %141 %143 = fcmp ole double %137, %142 br i1 %143, label %152, label %144 144: ; preds = %136 %145 = load double, ptr %24, align 8 %146 = load double, ptr %25, align 8 %147 = load double, ptr %17, align 8 %148 = load double, ptr %32, align 8 %149 = fsub double %147, %148 %150 = fmul double %146, %149 %151 = fcmp oge double %145, %150 br i1 %151, label %152, label %167 152: ; preds = %144, %136, %123 %153 = load double, ptr %32, align 8 %154 = load double, ptr %33, align 8 %155 = fcmp oge double %153, %154 br i1 %155, label %156, label %160 156: ; preds = %152 %157 = load double, ptr %16, align 8 %158 = load double, ptr %32, align 8 %159 = fsub double %157, %158 br label %164 160: ; preds = %152 %161 = load double, ptr %17, align 8 %162 = load double, ptr %32, align 8 %163 = fsub double %161, %162 br label %164 164: ; preds = %160, %156 %165 = phi double [ %159, %156 ], [ %163, %160 ] store double %165, ptr %34, align 8 %166 = fmul double 3.819660e-01, %165 store double %166, ptr %18, align 8 br label %200 167: ; preds = %144 %168 = load double, ptr %24, align 8 %169 = load double, ptr %25, align 8 %170 = fdiv double %168, %169 store double %170, ptr %18, align 8 %171 = load double, ptr %32, align 8 %172 = load double, ptr %18, align 8 %173 = fadd double %171, %172 store double %173, ptr %29, align 8 %174 = load double, ptr %29, align 8 %175 = load double, ptr %16, align 8 %176 = fsub double %174, %175 %177 = load double, ptr %28, align 8 %178 = fcmp olt double %176, %177 br i1 %178, label %185, label %179 179: ; preds = %167 %180 = load double, ptr %17, align 8 %181 = load double, ptr %29, align 8 %182 = fsub double %180, %181 %183 = load double, ptr %28, align 8 %184 = fcmp olt double %182, %183 br i1 %184, label %185, label %199 185: ; preds = %179, %167 %186 = load double, ptr %33, align 8 %187 = load double, ptr %32, align 8 %188 = fsub double %186, %187 %189 = fcmp oge double %188, 0.000000e+00 br i1 %189, label %190, label %193 190: ; preds = %185 %191 = load double, ptr %27, align 8 %192 = call double @llvm.fabs.f64(double %191) br label %197 193: ; preds = %185 %194 = load double, ptr %27, align 8 %195 = call double @llvm.fabs.f64(double %194) %196 = fneg double %195 br label %197 197: ; preds = %193, %190 %198 = phi double [ %192, %190 ], [ %196, %193 ] store double %198, ptr %18, align 8 br label %199 199: ; preds = %197, %179 br label %200 200: ; preds = %199, %164 br label %216 201: ; preds = %83 %202 = load double, ptr %32, align 8 %203 = load double, ptr %33, align 8 %204 = fcmp oge double %202, %203 br i1 %204, label %205, label %209 205: ; preds = %201 %206 = load double, ptr %16, align 8 %207 = load double, ptr %32, align 8 %208 = fsub double %206, %207 br label %213 209: ; preds = %201 %210 = load double, ptr %17, align 8 %211 = load double, ptr %32, align 8 %212 = fsub double %210, %211 br label %213 213: ; preds = %209, %205 %214 = phi double [ %208, %205 ], [ %212, %209 ] store double %214, ptr %34, align 8 %215 = fmul double 3.819660e-01, %214 store double %215, ptr %18, align 8 br label %216 216: ; preds = %213, %200 %217 = load double, ptr %18, align 8 %218 = call double @llvm.fabs.f64(double %217) %219 = load double, ptr %27, align 8 %220 = fcmp oge double %218, %219 br i1 %220, label %221, label %225 221: ; preds = %216 %222 = load double, ptr %32, align 8 %223 = load double, ptr %18, align 8 %224 = fadd double %222, %223 br label %239 225: ; preds = %216 %226 = load double, ptr %32, align 8 %227 = load double, ptr %18, align 8 %228 = fcmp oge double %227, 0.000000e+00 br i1 %228, label %229, label %232 229: ; preds = %225 %230 = load double, ptr %27, align 8 %231 = call double @llvm.fabs.f64(double %230) br label %236 232: ; preds = %225 %233 = load double, ptr %27, align 8 %234 = call double @llvm.fabs.f64(double %233) %235 = fneg double %234 br label %236 236: ; preds = %232, %229 %237 = phi double [ %231, %229 ], [ %235, %232 ] %238 = fadd double %226, %237 br label %239 239: ; preds = %236, %221 %240 = phi double [ %224, %221 ], [ %238, %236 ] store double %240, ptr %29, align 8 %241 = load ptr, ptr %11, align 8 %242 = load double, ptr %29, align 8 %243 = call double %241(double noundef %242) store double %243, ptr %20, align 8 %244 = load double, ptr %20, align 8 %245 = load double, ptr %23, align 8 %246 = fcmp ole double %244, %245 br i1 %246, label %247, label %262 247: ; preds = %239 %248 = load double, ptr %29, align 8 %249 = load double, ptr %32, align 8 %250 = fcmp oge double %248, %249 br i1 %250, label %251, label %253 251: ; preds = %247 %252 = load double, ptr %32, align 8 store double %252, ptr %16, align 8 br label %255 253: ; preds = %247 %254 = load double, ptr %32, align 8 store double %254, ptr %17, align 8 br label %255 255: ; preds = %253, %251 %256 = load double, ptr %31, align 8 store double %256, ptr %30, align 8 %257 = load double, ptr %32, align 8 store double %257, ptr %31, align 8 %258 = load double, ptr %29, align 8 store double %258, ptr %32, align 8 %259 = load double, ptr %22, align 8 store double %259, ptr %21, align 8 %260 = load double, ptr %23, align 8 store double %260, ptr %22, align 8 %261 = load double, ptr %20, align 8 store double %261, ptr %23, align 8 br label %300 262: ; preds = %239 %263 = load double, ptr %29, align 8 %264 = load double, ptr %32, align 8 %265 = fcmp olt double %263, %264 br i1 %265, label %266, label %268 266: ; preds = %262 %267 = load double, ptr %29, align 8 store double %267, ptr %16, align 8 br label %270 268: ; preds = %262 %269 = load double, ptr %29, align 8 store double %269, ptr %17, align 8 br label %270 270: ; preds = %268, %266 %271 = load double, ptr %20, align 8 %272 = load double, ptr %22, align 8 %273 = fcmp ole double %271, %272 br i1 %273, label %278, label %274 274: ; preds = %270 %275 = load double, ptr %31, align 8 %276 = load double, ptr %32, align 8 %277 = fcmp oeq double %275, %276 br i1 %277, label %278, label %283 278: ; preds = %274, %270 %279 = load double, ptr %31, align 8 store double %279, ptr %30, align 8 %280 = load double, ptr %29, align 8 store double %280, ptr %31, align 8 %281 = load double, ptr %22, align 8 store double %281, ptr %21, align 8 %282 = load double, ptr %20, align 8 store double %282, ptr %22, align 8 br label %299 283: ; preds = %274 %284 = load double, ptr %20, align 8 %285 = load double, ptr %21, align 8 %286 = fcmp ole double %284, %285 br i1 %286, label %295, label %287 287: ; preds = %283 %288 = load double, ptr %30, align 8 %289 = load double, ptr %32, align 8 %290 = fcmp oeq double %288, %289 br i1 %290, label %295, label %291 291: ; preds = %287 %292 = load double, ptr %30, align 8 %293 = load double, ptr %31, align 8 %294 = fcmp oeq double %292, %293 br i1 %294, label %295, label %298 295: ; preds = %291, %287, %283 %296 = load double, ptr %29, align 8 store double %296, ptr %30, align 8 %297 = load double, ptr %20, align 8 store double %297, ptr %21, align 8 br label %298 298: ; preds = %295, %291 br label %299 299: ; preds = %298, %278 br label %300 300: ; preds = %299, %255 br label %301 301: ; preds = %300 %302 = load i32, ptr %14, align 4 %303 = add nsw i32 %302, 1 store i32 %303, ptr %14, align 4 %304 = load i32, ptr %14, align 4 %305 = icmp sle i32 %304, 100 br i1 %305, label %59, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %301 br label %306 306: ; preds = %._crit_edge, %51 %307 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0 %308 = call i32 @sprintf(ptr noundef %307, ptr noundef @.str, i32 noundef 100) %309 = getelementptr inbounds [100 x i8], ptr %15, i64 0, i64 0 %310 = call i32 @nrerror(ptr noundef %309) %311 = load double, ptr %32, align 8 %312 = load ptr, ptr %13, align 8 store double %311, ptr %312, align 8 %313 = load double, ptr %23, align 8 store double %313, ptr %7, align 8 br label %314 314: ; preds = %306, %79 %315 = load double, ptr %7, align 8 ret double %315 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @nrerror(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 nosync nounwind speculatable willreturn memory(none) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpp3ekjz4h.c' source_filename = "/tmp/tmpp3ekjz4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @hello() ret i32 0 } declare i32 @hello(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp3ekjz4h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 (...) @hello() ret i32 0 } declare i32 @hello(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfqm4p5mz.c' source_filename = "/tmp/tmpfqm4p5mz.c" target datalayout = "e-m:e-p270: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/tmpfqm4p5mz.c" target datalayout = "e-m:e-p270: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/tmph2h2h95s.c' source_filename = "/tmp/tmph2h2h95s.c" target datalayout = "e-m:e-p270: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/tmph2h2h95s.c" target datalayout = "e-m:e-p270: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/tmpj0y_6o_p.c' source_filename = "/tmp/tmpj0y_6o_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EPERM = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__clock_getcpuclockid(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i64, ptr %4, align 8 %10 = call i64 (...) @getpid() %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = load i32, ptr @EPERM, align 4 store i32 %13, ptr %3, align 4 br label %16 14: ; preds = %8, %2 %15 = load i32, ptr @ENOENT, align 4 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %14, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj0y_6o_p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EPERM = dso_local global i32 0, align 4 @ENOENT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__clock_getcpuclockid(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i64, align 8 %5 = alloca ptr, align 8 store i64 %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load i64, ptr %4, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %2 %9 = load i64, ptr %4, align 8 %10 = call i64 (...) @getpid() %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = load i32, ptr @EPERM, align 4 store i32 %13, ptr %3, align 4 br label %16 14: ; preds = %8, %2 %15 = load i32, ptr @ENOENT, align 4 store i32 %15, ptr %3, align 4 br label %16 16: ; preds = %14, %12 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @getpid(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvbhz7qxi.c' source_filename = "/tmp/tmpvbhz7qxi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [195 x i8] c"@(#)/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/PawelNabe/EOS/refs/heads/master/SRC/esplit.c Sat Jan 22 08:19:10 2022 compiled: Mar 15 2022 22:59:06\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @esplit_version() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvbhz7qxi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [195 x i8] c"@(#)/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/PawelNabe/EOS/refs/heads/master/SRC/esplit.c Sat Jan 22 08:19:10 2022 compiled: Mar 15 2022 22:59:06\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @esplit_version() #0 { %1 = call i32 @puts(ptr noundef @.str) ret void } declare i32 @puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7k_zq0zs.c' source_filename = "/tmp/tmp7k_zq0zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } %struct.dirent = type { ptr, i64 } @.str = private unnamed_addr constant [13 x i8] c"Source error\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @DT_REG = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @listdir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 4 %7 = alloca ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = call ptr @opendir(ptr noundef %12) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str) br label %77 18: ; preds = %2 br label %19 19: ; preds = %73, %61, %48, %18 %20 = load ptr, ptr %7, align 8 %21 = call ptr @readdir(ptr noundef %20) store ptr %21, ptr %5, align 8 %22 = icmp ne ptr %21, null br i1 %22, label %23, label %74 23: ; preds = %19 %24 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds %struct.dirent, ptr %27, i32 0, i32 0 %29 = load ptr, ptr %28, align 8 %30 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %24, i32 noundef 1023, ptr noundef @.str.1, ptr noundef %25, ptr noundef %26, ptr noundef %29) store i32 %30, ptr %10, align 4 %31 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %32 = load ptr, ptr %3, align 8 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0 %35 = load ptr, ptr %34, align 8 %36 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %31, i32 noundef 1023, ptr noundef @.str.2, ptr noundef %32, ptr noundef %35) store i32 %36, ptr %11, align 4 %37 = load i32, ptr %10, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %38 store i8 0, ptr %39, align 1 %40 = load i32, ptr %11, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds %struct.dirent, ptr %43, i32 0, i32 1 %45 = load i64, ptr %44, align 8 %46 = load i64, ptr @DT_REG, align 8 %47 = icmp eq i64 %45, %46 br i1 %47, label %48, label %49 48: ; preds = %23 br label %19, !llvm.loop !6 49: ; preds = %23 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds %struct.dirent, ptr %50, i32 0, i32 0 %52 = load ptr, ptr %51, align 8 %53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.3) %54 = icmp eq i64 %53, 0 br i1 %54, label %61, label %55 55: ; preds = %49 %56 = load ptr, ptr %5, align 8 %57 = getelementptr inbounds %struct.dirent, ptr %56, i32 0, i32 0 %58 = load ptr, ptr %57, align 8 %59 = call i64 @strcmp(ptr noundef %58, ptr noundef @.str.4) %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %55, %49 br label %19, !llvm.loop !6 62: ; preds = %55 %63 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %64 = call i32 @stat(ptr noundef %63, ptr noundef %6) %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %69 66: ; preds = %62 %67 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %68 = call i32 @mkdir(ptr noundef %67, i32 noundef 448) br label %69 69: ; preds = %66, %62 %70 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %71 = load ptr, ptr %4, align 8 call void @listdir(ptr noundef %70, ptr noundef %71) br label %72 72: ; preds = %69 br label %73 73: ; preds = %72 br label %19, !llvm.loop !6 74: ; preds = %19 %75 = load ptr, ptr %7, align 8 %76 = call i32 @closedir(ptr noundef %75) br label %77 77: ; preds = %74, %16 ret void } declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7k_zq0zs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.stat = type { i32 } %struct.dirent = type { ptr, i64 } @.str = private unnamed_addr constant [13 x i8] c"Source error\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%s/%s/%s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%s/%s\00", align 1 @DT_REG = dso_local global i64 0, align 8 @.str.3 = private unnamed_addr constant [2 x i8] c".\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"..\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @listdir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.stat, align 4 %7 = alloca ptr, align 8 %8 = alloca [1024 x i8], align 16 %9 = alloca [1024 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = load ptr, ptr %3, align 8 %13 = call ptr @opendir(ptr noundef %12) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %2 %17 = call i32 @perror(ptr noundef @.str) br label %79 18: ; preds = %2 %19 = load ptr, ptr %7, align 8 %20 = call ptr @readdir(ptr noundef %19) store ptr %20, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %.lr.ph, label %76 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %.backedge %23 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %24 = load ptr, ptr %4, align 8 %25 = load ptr, ptr %3, align 8 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds %struct.dirent, ptr %26, i32 0, i32 0 %28 = load ptr, ptr %27, align 8 %29 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %23, i32 noundef 1023, ptr noundef @.str.1, ptr noundef %24, ptr noundef %25, ptr noundef %28) store i32 %29, ptr %10, align 4 %30 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %31 = load ptr, ptr %3, align 8 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds %struct.dirent, ptr %32, i32 0, i32 0 %34 = load ptr, ptr %33, align 8 %35 = call i32 (ptr, i32, ptr, ptr, ptr, ...) @snprintf(ptr noundef %30, i32 noundef 1023, ptr noundef @.str.2, ptr noundef %31, ptr noundef %34) store i32 %35, ptr %11, align 4 %36 = load i32, ptr %10, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 %37 store i8 0, ptr %38, align 1 %39 = load i32, ptr %11, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds %struct.dirent, ptr %42, i32 0, i32 1 %44 = load i64, ptr %43, align 8 %45 = load i64, ptr @DT_REG, align 8 %46 = icmp eq i64 %44, %45 br i1 %46, label %47, label %51 47: ; preds = %22 br label %.backedge .backedge: ; preds = %47, %63, %75 %48 = load ptr, ptr %7, align 8 %49 = call ptr @readdir(ptr noundef %48) store ptr %49, ptr %5, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %22, label %._crit_edge, !llvm.loop !6 51: ; preds = %22 %52 = load ptr, ptr %5, align 8 %53 = getelementptr inbounds %struct.dirent, ptr %52, i32 0, i32 0 %54 = load ptr, ptr %53, align 8 %55 = call i64 @strcmp(ptr noundef %54, ptr noundef @.str.3) %56 = icmp eq i64 %55, 0 br i1 %56, label %63, label %57 57: ; preds = %51 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds %struct.dirent, ptr %58, i32 0, i32 0 %60 = load ptr, ptr %59, align 8 %61 = call i64 @strcmp(ptr noundef %60, ptr noundef @.str.4) %62 = icmp eq i64 %61, 0 br i1 %62, label %63, label %64 63: ; preds = %57, %51 br label %.backedge 64: ; preds = %57 %65 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %66 = call i32 @stat(ptr noundef %65, ptr noundef %6) %67 = icmp eq i32 %66, -1 br i1 %67, label %68, label %71 68: ; preds = %64 %69 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0 %70 = call i32 @mkdir(ptr noundef %69, i32 noundef 448) br label %71 71: ; preds = %68, %64 %72 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %73 = load ptr, ptr %4, align 8 call void @listdir(ptr noundef %72, ptr noundef %73) br label %74 74: ; preds = %71 br label %75 75: ; preds = %74 br label %.backedge ._crit_edge: ; preds = %.backedge br label %76 76: ; preds = %._crit_edge, %18 %77 = load ptr, ptr %7, align 8 %78 = call i32 @closedir(ptr noundef %77) br label %79 79: ; preds = %76, %16 ret void } declare ptr @opendir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @mkdir(ptr noundef, i32 noundef) #1 declare i32 @closedir(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp53zzse2e.c' source_filename = "/tmp/tmp53zzse2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Is the number greater than %d? (Y/N)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @guess_itr(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 br label %7 7: ; preds = %33, %2 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp ne i32 %8, %9 br i1 %10, label %11, label %34 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %12, %13 %15 = sdiv i32 %14, 2 store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call signext i8 (...) @getchar() store i8 %18, ptr %5, align 1 br label %19 19: ; preds = %23, %11 %20 = call signext i8 (...) @getchar() %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 10 br i1 %22, label %23, label %24 23: ; preds = %19 br label %19, !llvm.loop !6 24: ; preds = %19 %25 = load i8, ptr %5, align 1 %26 = sext i8 %25 to i32 %27 = icmp eq i32 %26, 78 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = load i32, ptr %6, align 4 store i32 %29, ptr %4, align 4 br label %33 30: ; preds = %24 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %30, %28 br label %7, !llvm.loop !8 34: ; preds = %7 %35 = load i32, ptr %3, align 4 ret i32 %35 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmp53zzse2e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [38 x i8] c"Is the number greater than %d? (Y/N)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @guess_itr(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %31 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %3, align 4 %13 = add nsw i32 %11, %12 %14 = sdiv i32 %13, 2 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = call i32 @printf(ptr noundef @.str, i32 noundef %15) %17 = call signext i8 (...) @getchar() store i8 %17, ptr %5, align 1 br label %18 18: ; preds = %18, %10 %19 = call signext i8 (...) @getchar() %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 10 br i1 %21, label %18, label %22, !llvm.loop !6 22: ; preds = %18 %23 = load i8, ptr %5, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 78 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load i32, ptr %6, align 4 store i32 %27, ptr %4, align 4 br label %31 28: ; preds = %22 %29 = load i32, ptr %6, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %31 31: ; preds = %28, %26 %32 = load i32, ptr %4, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp ne i32 %32, %33 br i1 %34, label %10, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %31 br label %35 35: ; preds = %._crit_edge, %2 %36 = load i32, ptr %3, align 4 ret i32 %36 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare signext i8 @getchar(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpprj8tuh_.c' source_filename = "/tmp/tmpprj8tuh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iTlvSearchDOLTag(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %46, %4 %13 = load i32, ptr %7, align 4 %14 = icmp sgt i32 %13, 0 br i1 %14, label %15, label %64 15: ; preds = %12 %16 = load ptr, ptr %6, align 8 %17 = call i32 @_uiTlvGetTagLen(ptr noundef %16) store i32 %17, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %21 20: ; preds = %15 store i32 -10007, ptr %5, align 4 br label %65 21: ; preds = %15 %22 = load i32, ptr %7, align 4 %23 = load i32, ptr %10, align 4 %24 = add nsw i32 %23, 1 %25 = icmp slt i32 %22, %24 br i1 %25, label %26, label %27 26: ; preds = %21 br label %64 27: ; preds = %21 %28 = load ptr, ptr %6, align 8 %29 = load ptr, ptr %8, align 8 %30 = load i32, ptr %10, align 4 %31 = call i64 @memcmp(ptr noundef %28, ptr noundef %29, i32 noundef %30) %32 = icmp eq i64 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %27 %34 = load ptr, ptr %9, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr %11, align 4 %38 = load ptr, ptr %9, align 8 store i32 %37, ptr %38, align 4 br label %39 39: ; preds = %36, %33 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %10, align 4 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = zext i8 %44 to i32 store i32 %45, ptr %5, align 4 br label %65 46: ; preds = %27 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %10, align 4 %49 = zext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 %53 = load i32, ptr %11, align 4 %54 = add nsw i32 %53, %52 store i32 %54, ptr %11, align 4 %55 = load i32, ptr %10, align 4 %56 = add i32 %55, 1 %57 = load i32, ptr %7, align 4 %58 = sub i32 %57, %56 store i32 %58, ptr %7, align 4 %59 = load i32, ptr %10, align 4 %60 = add i32 %59, 1 %61 = load ptr, ptr %6, align 8 %62 = zext i32 %60 to i64 %63 = getelementptr inbounds i8, ptr %61, i64 %62 store ptr %63, ptr %6, align 8 br label %12, !llvm.loop !6 64: ; preds = %26, %12 store i32 -10004, ptr %5, align 4 br label %65 65: ; preds = %64, %39, %20 %66 = load i32, ptr %5, align 4 ret i32 %66 } declare i32 @_uiTlvGetTagLen(ptr noundef) #1 declare i64 @memcmp(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpprj8tuh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @iTlvSearchDOLTag(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store i32 0, ptr %11, align 4 %12 = load i32, ptr %7, align 4 %13 = icmp sgt i32 %12, 0 br i1 %13, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %45 %15 = load ptr, ptr %6, align 8 %16 = call i32 @_uiTlvGetTagLen(ptr noundef %15) store i32 %16, ptr %10, align 4 %17 = load i32, ptr %10, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %20 19: ; preds = %14 store i32 -10007, ptr %5, align 4 br label %66 20: ; preds = %14 %21 = load i32, ptr %7, align 4 %22 = load i32, ptr %10, align 4 %23 = add nsw i32 %22, 1 %24 = icmp slt i32 %21, %23 br i1 %24, label %25, label %26 25: ; preds = %20 br label %65 26: ; preds = %20 %27 = load ptr, ptr %6, align 8 %28 = load ptr, ptr %8, align 8 %29 = load i32, ptr %10, align 4 %30 = call i64 @memcmp(ptr noundef %27, ptr noundef %28, i32 noundef %29) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %45 32: ; preds = %26 %33 = load ptr, ptr %9, align 8 %34 = icmp ne ptr %33, null br i1 %34, label %35, label %38 35: ; preds = %32 %36 = load i32, ptr %11, align 4 %37 = load ptr, ptr %9, align 8 store i32 %36, ptr %37, align 4 br label %38 38: ; preds = %35, %32 %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %10, align 4 %41 = zext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 store i32 %44, ptr %5, align 4 br label %66 45: ; preds = %26 %46 = load ptr, ptr %6, align 8 %47 = load i32, ptr %10, align 4 %48 = zext i32 %47 to i64 %49 = getelementptr inbounds i8, ptr %46, i64 %48 %50 = load i8, ptr %49, align 1 %51 = zext i8 %50 to i32 %52 = load i32, ptr %11, align 4 %53 = add nsw i32 %52, %51 store i32 %53, ptr %11, align 4 %54 = load i32, ptr %10, align 4 %55 = add i32 %54, 1 %56 = load i32, ptr %7, align 4 %57 = sub i32 %56, %55 store i32 %57, ptr %7, align 4 %58 = load i32, ptr %10, align 4 %59 = add i32 %58, 1 %60 = load ptr, ptr %6, align 8 %61 = zext i32 %59 to i64 %62 = getelementptr inbounds i8, ptr %60, i64 %61 store ptr %62, ptr %6, align 8 %63 = load i32, ptr %7, align 4 %64 = icmp sgt i32 %63, 0 br i1 %64, label %14, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %45 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %4 br label %65 65: ; preds = %.loopexit, %25 store i32 -10004, ptr %5, align 4 br label %66 66: ; preds = %65, %38, %19 %67 = load i32, ptr %5, align 4 ret i32 %67 } declare i32 @_uiTlvGetTagLen(ptr noundef) #1 declare i64 @memcmp(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpua30yaj_.c' source_filename = "/tmp/tmpua30yaj_.c" target datalayout = "e-m:e-p270: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/tmpua30yaj_.c" target datalayout = "e-m:e-p270: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/tmpvguv056m.c' source_filename = "/tmp/tmpvguv056m.c" target datalayout = "e-m:e-p270: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/tmpvguv056m.c" target datalayout = "e-m:e-p270: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/tmpflymiz6g.c' source_filename = "/tmp/tmpflymiz6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 br label %19 19: ; preds = %22, %18 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %20, 1 br i1 %21, label %22, label %36 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = add nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds ptr, ptr %23, i64 %26 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10) store i64 %29, ptr %9, align 8 %30 = load i64, ptr %9, align 8 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %32 store i64 %30, ptr %33, align 8 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 br label %19, !llvm.loop !6 36: ; preds = %19 %37 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %38 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %39 = call i32 @RandomFunc(ptr noundef %37, ptr noundef %38) %40 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %41, 21990492659581 br i1 %42, label %43, label %45 43: ; preds = %36 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %46 45: ; preds = %36 br label %46 46: ; preds = %45, %43 store i32 0, ptr %10, align 4 br label %47 47: ; preds = %50, %46 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %50, label %58 50: ; preds = %47 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 br label %47, !llvm.loop !8 58: ; preds = %47 %59 = load i32, ptr %3, align 4 ret i32 %59 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpflymiz6g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [1 x i64], align 8 %7 = alloca [1 x i64], align 8 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @megaInit() %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 2 br i1 %13, label %14, label %17 14: ; preds = %2 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1) %16 = call i32 @exit(i32 noundef -1) #3 unreachable 17: ; preds = %2 br label %18 18: ; preds = %17 store i32 0, ptr %8, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %19, 1 br i1 %20, label %.lr.ph, label %37 .lr.ph: ; preds = %18 br label %21 21: ; preds = %.lr.ph, %21 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10) store i64 %28, ptr %9, align 8 %29 = load i64, ptr %9, align 8 %30 = load i32, ptr %8, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 %31 store i64 %29, ptr %32, align 8 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %8, align 4 %35 = load i32, ptr %8, align 4 %36 = icmp slt i32 %35, 1 br i1 %36, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %37 37: ; preds = %._crit_edge, %18 %38 = getelementptr inbounds [1 x i64], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 0 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %42, 21990492659581 br i1 %43, label %44, label %46 44: ; preds = %37 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %47 46: ; preds = %37 br label %47 47: ; preds = %46, %44 store i32 0, ptr %10, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp slt i32 %48, 1 br i1 %49, label %.lr.ph2, label %60 .lr.ph2: ; preds = %47 br label %50 50: ; preds = %.lr.ph2, %50 %51 = load i32, ptr %10, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1 x i64], ptr %7, i64 0, i64 %52 %54 = load i64, ptr %53, align 8 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %54) %56 = load i32, ptr %10, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %10, align 4 %58 = load i32, ptr %10, align 4 %59 = icmp slt i32 %58, 1 br i1 %59, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %50 br label %60 60: ; preds = %._crit_edge3, %47 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @megaInit(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @RandomFunc(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1al3vdm9.c' source_filename = "/tmp/tmp1al3vdm9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"share\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rBve99009253050923_br_find_data_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @rBve99009253050923_br_find_prefix(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @rBve99009253050923_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @rBve99009253050923_br_find_prefix(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @rBve99009253050923_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1al3vdm9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"share\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rBve99009253050923_br_find_data_dir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %6 = call ptr @rBve99009253050923_br_find_prefix(ptr noundef null) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %16 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call ptr @strdup(ptr noundef %13) store ptr %14, ptr %2, align 8 br label %22 15: ; preds = %9 store ptr null, ptr %2, align 8 br label %22 16: ; preds = %1 %17 = load ptr, ptr %4, align 8 %18 = call ptr @rBve99009253050923_br_build_path(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %5, align 8 %19 = load ptr, ptr %4, align 8 %20 = call i32 @free(ptr noundef %19) %21 = load ptr, ptr %5, align 8 store ptr %21, ptr %2, align 8 br label %22 22: ; preds = %16, %15, %12 %23 = load ptr, ptr %2, align 8 ret ptr %23 } declare ptr @rBve99009253050923_br_find_prefix(ptr noundef) #1 declare ptr @strdup(ptr noundef) #1 declare ptr @rBve99009253050923_br_build_path(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0jzqxjrp.c' source_filename = "/tmp/tmp0jzqxjrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%.2f%%\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 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load double, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = fdiv double %5, %6 %8 = fsub double %7, 1.000000e+00 %9 = fmul double %8, 1.000000e+02 %10 = call i32 @printf(ptr noundef @.str.1, double noundef %9) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0jzqxjrp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"%lf %lf\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%.2f%%\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 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %5 = load double, ptr %3, align 8 %6 = load double, ptr %2, align 8 %7 = fdiv double %5, %6 %8 = fsub double %7, 1.000000e+00 %9 = fmul double %8, 1.000000e+02 %10 = call i32 @printf(ptr noundef @.str.1, double noundef %9) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp61fwki44.c' source_filename = "/tmp/tmp61fwki44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generateMatrix(i32 noundef %0) #0 { %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 i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %10 = load i32, ptr %2, align 4 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 store i32 %11, ptr %5, align 4 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 -1, ptr %8, align 4 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 8, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %9, align 8 store i32 0, ptr %3, align 4 br label %18 18: ; preds = %33, %1 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %22, label %36 22: ; preds = %18 %23 = load i32, ptr %2, align 4 %24 = sext i32 %23 to i64 %25 = mul i64 4, %24 %26 = trunc i64 %25 to i32 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr %29 = load ptr, ptr %9, align 8 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %29, i64 %31 store ptr %28, ptr %32, align 8 br label %33 33: ; preds = %22 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %3, align 4 br label %18, !llvm.loop !6 36: ; preds = %18 br label %37 37: ; preds = %36, %137 store i32 0, ptr %3, align 4 br label %38 38: ; preds = %54, %37 %39 = load i32, ptr %3, align 4 %40 = load i32, ptr %5, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %57 42: ; preds = %38 %43 = load i32, ptr %6, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %6, align 4 %45 = load ptr, ptr %9, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = load i32, ptr %8, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %49, i64 %52 store i32 %43, ptr %53, align 4 br label %54 54: ; preds = %42 %55 = load i32, ptr %3, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %3, align 4 br label %38, !llvm.loop !8 57: ; preds = %38 %58 = load i32, ptr %4, align 4 %59 = add nsw i32 %58, -1 store i32 %59, ptr %4, align 4 %60 = icmp sle i32 %59, 0 br i1 %60, label %61, label %62 61: ; preds = %57 br label %138 62: ; preds = %57 store i32 0, ptr %3, align 4 br label %63 63: ; preds = %79, %62 %64 = load i32, ptr %3, align 4 %65 = load i32, ptr %4, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %67, label %82 67: ; preds = %63 %68 = load i32, ptr %6, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %6, align 4 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %7, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %7, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %70, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = load i32, ptr %8, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %75, i64 %77 store i32 %68, ptr %78, align 4 br label %79 79: ; preds = %67 %80 = load i32, ptr %3, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %3, align 4 br label %63, !llvm.loop !9 82: ; preds = %63 %83 = load i32, ptr %5, align 4 %84 = add nsw i32 %83, -1 store i32 %84, ptr %5, align 4 %85 = icmp sle i32 %84, 0 br i1 %85, label %86, label %87 86: ; preds = %82 br label %138 87: ; preds = %82 store i32 0, ptr %3, align 4 br label %88 88: ; preds = %104, %87 %89 = load i32, ptr %3, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %107 92: ; preds = %88 %93 = load i32, ptr %6, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %6, align 4 %95 = load ptr, ptr %9, align 8 %96 = load i32, ptr %7, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds ptr, ptr %95, i64 %97 %99 = load ptr, ptr %98, align 8 %100 = load i32, ptr %8, align 4 %101 = add nsw i32 %100, -1 store i32 %101, ptr %8, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds i32, ptr %99, i64 %102 store i32 %93, ptr %103, align 4 br label %104 104: ; preds = %92 %105 = load i32, ptr %3, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %3, align 4 br label %88, !llvm.loop !10 107: ; preds = %88 %108 = load i32, ptr %4, align 4 %109 = add nsw i32 %108, -1 store i32 %109, ptr %4, align 4 %110 = icmp sle i32 %109, 0 br i1 %110, label %111, label %112 111: ; preds = %107 br label %138 112: ; preds = %107 store i32 0, ptr %3, align 4 br label %113 113: ; preds = %129, %112 %114 = load i32, ptr %3, align 4 %115 = load i32, ptr %4, align 4 %116 = icmp slt i32 %114, %115 br i1 %116, label %117, label %132 117: ; preds = %113 %118 = load i32, ptr %6, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %6, align 4 %120 = load ptr, ptr %9, align 8 %121 = load i32, ptr %7, align 4 %122 = add nsw i32 %121, -1 store i32 %122, ptr %7, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds ptr, ptr %120, i64 %123 %125 = load ptr, ptr %124, align 8 %126 = load i32, ptr %8, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds i32, ptr %125, i64 %127 store i32 %118, ptr %128, align 4 br label %129 129: ; preds = %117 %130 = load i32, ptr %3, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %3, align 4 br label %113, !llvm.loop !11 132: ; preds = %113 %133 = load i32, ptr %5, align 4 %134 = add nsw i32 %133, -1 store i32 %134, ptr %5, align 4 %135 = icmp sle i32 %134, 0 br i1 %135, label %136, label %137 136: ; preds = %132 br label %138 137: ; preds = %132 br label %37 138: ; preds = %136, %111, %86, %61 %139 = load ptr, ptr %9, align 8 ret ptr %139 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp61fwki44.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @generateMatrix(i32 noundef %0) #0 { %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 i32, align 4 %9 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %10 = load i32, ptr %2, align 4 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %2, align 4 store i32 %11, ptr %5, align 4 store i32 1, ptr %6, align 4 store i32 0, ptr %7, align 4 store i32 -1, ptr %8, align 4 %12 = load i32, ptr %2, align 4 %13 = sext i32 %12 to i64 %14 = mul i64 8, %13 %15 = trunc i64 %14 to i32 %16 = call i64 @malloc(i32 noundef %15) %17 = inttoptr i64 %16 to ptr store ptr %17, ptr %9, align 8 store i32 0, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %2, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %21 21: ; preds = %.lr.ph, %32 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = mul i64 4, %23 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %9, align 8 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 store ptr %27, ptr %31, align 8 br label %32 32: ; preds = %21 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %2, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %1 br label %39 39: ; preds = %142, %38 store i32 0, ptr %3, align 4 %40 = load i32, ptr %3, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %.lr.ph2, label %61 .lr.ph2: ; preds = %39 br label %43 43: ; preds = %.lr.ph2, %55 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 %46 = load ptr, ptr %9, align 8 %47 = load i32, ptr %7, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = load i32, ptr %8, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %50, i64 %53 store i32 %44, ptr %54, align 4 br label %55 55: ; preds = %43 %56 = load i32, ptr %3, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %3, align 4 %58 = load i32, ptr %3, align 4 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %43, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %61 61: ; preds = %._crit_edge3, %39 %62 = load i32, ptr %4, align 4 %63 = add nsw i32 %62, -1 store i32 %63, ptr %4, align 4 %64 = icmp sle i32 %63, 0 br i1 %64, label %65, label %66 65: ; preds = %61 br label %147 66: ; preds = %61 store i32 0, ptr %3, align 4 %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %.lr.ph5, label %88 .lr.ph5: ; preds = %66 br label %70 70: ; preds = %.lr.ph5, %82 %71 = load i32, ptr %6, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %6, align 4 %73 = load ptr, ptr %9, align 8 %74 = load i32, ptr %7, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %7, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds ptr, ptr %73, i64 %76 %78 = load ptr, ptr %77, align 8 %79 = load i32, ptr %8, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 store i32 %71, ptr %81, align 4 br label %82 82: ; preds = %70 %83 = load i32, ptr %3, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %3, align 4 %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %4, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %70, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %82 br label %88 88: ; preds = %._crit_edge6, %66 %89 = load i32, ptr %5, align 4 %90 = add nsw i32 %89, -1 store i32 %90, ptr %5, align 4 %91 = icmp sle i32 %90, 0 br i1 %91, label %92, label %93 92: ; preds = %88 br label %147 93: ; preds = %88 store i32 0, ptr %3, align 4 %94 = load i32, ptr %3, align 4 %95 = load i32, ptr %5, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %.lr.ph8, label %115 .lr.ph8: ; preds = %93 br label %97 97: ; preds = %.lr.ph8, %109 %98 = load i32, ptr %6, align 4 %99 = add nsw i32 %98, 1 store i32 %99, ptr %6, align 4 %100 = load ptr, ptr %9, align 8 %101 = load i32, ptr %7, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds ptr, ptr %100, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = load i32, ptr %8, align 4 %106 = add nsw i32 %105, -1 store i32 %106, ptr %8, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds i32, ptr %104, i64 %107 store i32 %98, ptr %108, align 4 br label %109 109: ; preds = %97 %110 = load i32, ptr %3, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %3, align 4 %112 = load i32, ptr %3, align 4 %113 = load i32, ptr %5, align 4 %114 = icmp slt i32 %112, %113 br i1 %114, label %97, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %109 br label %115 115: ; preds = %._crit_edge9, %93 %116 = load i32, ptr %4, align 4 %117 = add nsw i32 %116, -1 store i32 %117, ptr %4, align 4 %118 = icmp sle i32 %117, 0 br i1 %118, label %119, label %120 119: ; preds = %115 br label %147 120: ; preds = %115 store i32 0, ptr %3, align 4 %121 = load i32, ptr %3, align 4 %122 = load i32, ptr %4, align 4 %123 = icmp slt i32 %121, %122 br i1 %123, label %.lr.ph11, label %142 .lr.ph11: ; preds = %120 br label %124 124: ; preds = %.lr.ph11, %136 %125 = load i32, ptr %6, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %6, align 4 %127 = load ptr, ptr %9, align 8 %128 = load i32, ptr %7, align 4 %129 = add nsw i32 %128, -1 store i32 %129, ptr %7, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds ptr, ptr %127, i64 %130 %132 = load ptr, ptr %131, align 8 %133 = load i32, ptr %8, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds i32, ptr %132, i64 %134 store i32 %125, ptr %135, align 4 br label %136 136: ; preds = %124 %137 = load i32, ptr %3, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %3, align 4 %139 = load i32, ptr %3, align 4 %140 = load i32, ptr %4, align 4 %141 = icmp slt i32 %139, %140 br i1 %141, label %124, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %136 br label %142 142: ; preds = %._crit_edge12, %120 %143 = load i32, ptr %5, align 4 %144 = add nsw i32 %143, -1 store i32 %144, ptr %5, align 4 %145 = icmp sle i32 %144, 0 br i1 %145, label %146, label %39 146: ; preds = %142 br label %147 147: ; preds = %146, %119, %92, %65 %148 = load ptr, ptr %9, align 8 ret ptr %148 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpajvzzxwv.c' source_filename = "/tmp/tmpajvzzxwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x ptr], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %6 6: ; preds = %20, %0 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %9, label %23 9: ; preds = %6 %10 = call ptr @mymalloc(i32 noundef 16) %11 = load i32, ptr %3, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %12 store ptr %10, ptr %13, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = ptrtoint ptr %17 to i32 %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) br label %20 20: ; preds = %9 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %6, !llvm.loop !6 23: ; preds = %6 %24 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @myfree(ptr noundef %25) %27 = call ptr @mymalloc(i32 noundef 10) store ptr %27, ptr %4, align 8 %28 = load ptr, ptr %4, align 8 %29 = ptrtoint ptr %28 to i32 %30 = call i32 @printf(ptr noundef @.str, i32 noundef %29) %31 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 0 %32 = load ptr, ptr %31, align 16 %33 = call i32 @myfree(ptr noundef %32) %34 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 2 %35 = load ptr, ptr %34, align 16 %36 = call i32 @myfree(ptr noundef %35) %37 = call i64 @mycalloc(i32 noundef 2, i32 noundef 7) %38 = inttoptr i64 %37 to ptr store ptr %38, ptr %5, align 8 %39 = load ptr, ptr %5, align 8 %40 = ptrtoint ptr %39 to i32 %41 = call i32 @printf(ptr noundef @.str, i32 noundef %40) %42 = load ptr, ptr %4, align 8 %43 = call ptr @myrealloc(ptr noundef %42, i32 noundef 5) store ptr %43, ptr %4, align 8 %44 = load ptr, ptr %4, align 8 %45 = call i32 @myfree(ptr noundef %44) %46 = load ptr, ptr %5, align 8 %47 = call i32 @myfree(ptr noundef %46) ret i32 0 } declare ptr @mymalloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @myfree(ptr noundef) #1 declare i64 @mycalloc(i32 noundef, i32 noundef) #1 declare ptr @myrealloc(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/tmpajvzzxwv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%x\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [3 x ptr], align 16 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 3 br i1 %7, label %.lr.ph, label %24 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %19 %9 = call ptr @mymalloc(i32 noundef 16) %10 = load i32, ptr %3, align 4 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %11 store ptr %9, ptr %12, align 8 %13 = load i32, ptr %3, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = ptrtoint ptr %16 to i32 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %8 %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 = icmp slt i32 %22, 3 br i1 %23, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %0 %25 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 1 %26 = load ptr, ptr %25, align 8 %27 = call i32 @myfree(ptr noundef %26) %28 = call ptr @mymalloc(i32 noundef 10) store ptr %28, ptr %4, align 8 %29 = load ptr, ptr %4, align 8 %30 = ptrtoint ptr %29 to i32 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 0 %33 = load ptr, ptr %32, align 16 %34 = call i32 @myfree(ptr noundef %33) %35 = getelementptr inbounds [3 x ptr], ptr %2, i64 0, i64 2 %36 = load ptr, ptr %35, align 16 %37 = call i32 @myfree(ptr noundef %36) %38 = call i64 @mycalloc(i32 noundef 2, i32 noundef 7) %39 = inttoptr i64 %38 to ptr store ptr %39, ptr %5, align 8 %40 = load ptr, ptr %5, align 8 %41 = ptrtoint ptr %40 to i32 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) %43 = load ptr, ptr %4, align 8 %44 = call ptr @myrealloc(ptr noundef %43, i32 noundef 5) store ptr %44, ptr %4, align 8 %45 = load ptr, ptr %4, align 8 %46 = call i32 @myfree(ptr noundef %45) %47 = load ptr, ptr %5, align 8 %48 = call i32 @myfree(ptr noundef %47) ret i32 0 } declare ptr @mymalloc(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @myfree(ptr noundef) #1 declare i64 @mycalloc(i32 noundef, i32 noundef) #1 declare ptr @myrealloc(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/tmpskgv48vw.c' source_filename = "/tmp/tmpskgv48vw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @IPPROTO_IP = dso_local global i32 0, align 4 @IP_MULTICAST_IF = dso_local global i32 0, align 4 @IP_MULTICAST_LOOP = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_BROADCAST = 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/tmpskgv48vw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @IPPROTO_IP = dso_local global i32 0, align 4 @IP_MULTICAST_IF = dso_local global i32 0, align 4 @IP_MULTICAST_LOOP = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_BROADCAST = 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/tmp983s_y_y.c' source_filename = "/tmp/tmp983s_y_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ispathabs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %53 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 36 br i1 %10, label %51, label %11 11: ; preds = %5 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 0 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 47 br i1 %16, label %51, label %17 17: ; preds = %11 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 92 br i1 %22, label %51, label %23 23: ; preds = %17 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 %26 = load i8, ptr %25, align 1 %27 = call i64 @isalpha(i8 noundef signext %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %49 29: ; preds = %23 %30 = load ptr, ptr %2, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 58 br i1 %34, label %35, label %49 35: ; preds = %29 %36 = load ptr, ptr %2, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 2 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 47 br i1 %40, label %47, label %41 41: ; preds = %35 %42 = load ptr, ptr %2, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 92 br label %47 47: ; preds = %41, %35 %48 = phi i1 [ true, %35 ], [ %46, %41 ] br label %49 49: ; preds = %47, %29, %23 %50 = phi i1 [ false, %29 ], [ false, %23 ], [ %48, %47 ] br label %51 51: ; preds = %49, %17, %11, %5 %52 = phi i1 [ true, %17 ], [ true, %11 ], [ true, %5 ], [ %50, %49 ] br label %53 53: ; preds = %51, %1 %54 = phi i1 [ false, %1 ], [ %52, %51 ] %55 = zext i1 %54 to i32 ret i32 %55 } declare i64 @isalpha(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp983s_y_y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ispathabs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %53 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 0 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp eq i32 %9, 36 br i1 %10, label %51, label %11 11: ; preds = %5 %12 = load ptr, ptr %2, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 0 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 47 br i1 %16, label %51, label %17 17: ; preds = %11 %18 = load ptr, ptr %2, align 8 %19 = getelementptr inbounds i8, ptr %18, i64 0 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 92 br i1 %22, label %51, label %23 23: ; preds = %17 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i64 0 %26 = load i8, ptr %25, align 1 %27 = call i64 @isalpha(i8 noundef signext %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %49 29: ; preds = %23 %30 = load ptr, ptr %2, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 %32 = load i8, ptr %31, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 58 br i1 %34, label %35, label %49 35: ; preds = %29 %36 = load ptr, ptr %2, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 2 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = icmp eq i32 %39, 47 br i1 %40, label %47, label %41 41: ; preds = %35 %42 = load ptr, ptr %2, align 8 %43 = getelementptr inbounds i8, ptr %42, i64 2 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = icmp eq i32 %45, 92 br label %47 47: ; preds = %41, %35 %48 = phi i1 [ true, %35 ], [ %46, %41 ] br label %49 49: ; preds = %47, %29, %23 %50 = phi i1 [ false, %29 ], [ false, %23 ], [ %48, %47 ] br label %51 51: ; preds = %49, %17, %11, %5 %52 = phi i1 [ true, %17 ], [ true, %11 ], [ true, %5 ], [ %50, %49 ] br label %53 53: ; preds = %51, %1 %54 = phi i1 [ false, %1 ], [ %52, %51 ] %55 = zext i1 %54 to i32 ret i32 %55 } declare i64 @isalpha(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdrgokw7x.c' source_filename = "/tmp/tmpdrgokw7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for h\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x68() #0 { %1 = call i64 @isodigit(i32 noundef 104) %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 525, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpdrgokw7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"isodigit should be 0 for h\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0x68() #0 { %1 = call i64 @isodigit(i32 noundef 104) %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 525, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(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/tmpcusess5j.c' source_filename = "/tmp/tmpcusess5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_array(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 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcusess5j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @print_array(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 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4vil8ziu.c' source_filename = "/tmp/tmp4vil8ziu.c" target datalayout = "e-m:e-p270: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 [69 x i8] c"This edimg cannot process *.tek or other compressed files. Aborted.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @panic_tek() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef -12341234) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4vil8ziu.c" target datalayout = "e-m:e-p270: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 [69 x i8] c"This edimg cannot process *.tek or other compressed files. Aborted.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @panic_tek() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = call i32 @exit(i32 noundef -12341234) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo9hl13cv.c' source_filename = "/tmp/tmpo9hl13cv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT8_MAX = dso_local global i64 0, align 8 @INT8_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @__hsail_sat_add_s8(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = add nsw i64 %7, %8 store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr @INT8_MAX, align 8 %12 = icmp sgt i64 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i64, ptr @INT8_MAX, align 8 store i64 %14, ptr %3, align 8 br label %23 15: ; preds = %2 %16 = load i64, ptr %6, align 8 %17 = load i64, ptr @INT8_MIN, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i64, ptr @INT8_MIN, align 8 store i64 %20, ptr %3, align 8 br label %23 21: ; preds = %15 %22 = load i64, ptr %6, align 8 store i64 %22, ptr %3, align 8 br label %23 23: ; preds = %21, %19, %13 %24 = load i64, ptr %3, align 8 ret i64 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo9hl13cv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT8_MAX = dso_local global i64 0, align 8 @INT8_MIN = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @__hsail_sat_add_s8(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %7 = load i64, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = add nsw i64 %7, %8 store i64 %9, ptr %6, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr @INT8_MAX, align 8 %12 = icmp sgt i64 %10, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i64, ptr @INT8_MAX, align 8 store i64 %14, ptr %3, align 8 br label %23 15: ; preds = %2 %16 = load i64, ptr %6, align 8 %17 = load i64, ptr @INT8_MIN, align 8 %18 = icmp slt i64 %16, %17 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = load i64, ptr @INT8_MIN, align 8 store i64 %20, ptr %3, align 8 br label %23 21: ; preds = %15 %22 = load i64, ptr %6, align 8 store i64 %22, ptr %3, align 8 br label %23 23: ; preds = %21, %19, %13 %24 = load i64, ptr %3, align 8 ret i64 %24 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk2c7nikl.c' source_filename = "/tmp/tmpk2c7nikl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = sdiv i32 %9, 1000000 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %14, 1000000 %16 = sub nsw i32 %13, %15 %17 = mul nsw i32 %16, 1000 %18 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i32 %17, ptr %18, align 4 %19 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %8, %1 %21 = load i32, ptr %5, align 4 ret i32 %21 } declare i32 @nanosleep(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/tmpk2c7nikl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @usleep(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.timespec, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %20 8: ; preds = %1 %9 = load i32, ptr %2, align 4 %10 = sdiv i32 %9, 1000000 store i32 %10, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %4, align 4 %15 = mul nsw i32 %14, 1000000 %16 = sub nsw i32 %13, %15 %17 = mul nsw i32 %16, 1000 %18 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i32 %17, ptr %18, align 4 %19 = call i32 @nanosleep(ptr noundef %3, ptr noundef null) store i32 %19, ptr %5, align 4 br label %20 20: ; preds = %8, %1 %21 = load i32, ptr %5, align 4 ret i32 %21 } declare i32 @nanosleep(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/tmpnhx6jn0z.c' source_filename = "/tmp/tmpnhx6jn0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"123456\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i8, align 1 %2 = call signext i8 @KthIndexFromEnd(ptr noundef @.str, i32 noundef 3) store i8 %2, ptr %1, align 1 %3 = load i8, ptr %1, align 1 %4 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %3) ret i32 0 } declare signext i8 @KthIndexFromEnd(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnhx6jn0z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"123456\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i8, align 1 %2 = call signext i8 @KthIndexFromEnd(ptr noundef @.str, i32 noundef 3) store i8 %2, ptr %1, align 1 %3 = load i8, ptr %1, align 1 %4 = call i32 @printf(ptr noundef @.str.1, i8 noundef signext %3) ret i32 0 } declare signext i8 @KthIndexFromEnd(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp542aaz0t.c' source_filename = "/tmp/tmp542aaz0t.c" target datalayout = "e-m:e-p270: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/tmp542aaz0t.c" target datalayout = "e-m:e-p270: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/tmpui0hn_7x.c' source_filename = "/tmp/tmpui0hn_7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cDumpLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %8, %1 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fgetc(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = icmp ne i32 %6, 10 br i1 %7, label %8, label %9 8: ; preds = %4 br label %4, !llvm.loop !6 9: ; preds = %4 ret i32 0 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpui0hn_7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cDumpLine(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 br label %4 4: ; preds = %4, %1 %5 = load ptr, ptr %2, align 8 %6 = call i32 @fgetc(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = icmp ne i32 %6, 10 br i1 %7, label %4, label %8, !llvm.loop !6 8: ; preds = %4 ret i32 0 } declare i32 @fgetc(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2hdaqrgz.c' source_filename = "/tmp/tmp2hdaqrgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i32 noundef 16) ret i32 %2 } declare i32 @bar(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/tmp2hdaqrgz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bar(i32 noundef 16) ret i32 %2 } declare i32 @bar(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/tmpopdb4oov.c' source_filename = "/tmp/tmpopdb4oov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cpu %d %d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getcputimes(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = call ptr (...) @readcpustat() store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12) ret void } declare ptr @readcpustat(...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpopdb4oov.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"cpu %d %d %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @getcputimes(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %8 = call ptr (...) @readcpustat() store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = load ptr, ptr %5, align 8 %12 = load ptr, ptr %6, align 8 %13 = call i32 @sscanf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12) ret void } declare ptr @readcpustat(...) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2cqck0_q.c' source_filename = "/tmp/tmp2cqck0_q.c" target datalayout = "e-m:e-p270: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/tmp2cqck0_q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_ik7ekg8.c' source_filename = "/tmp/tmp_ik7ekg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the number of equations : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\0AEnter the co-efficients of the equations :\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"a[%d][%d] = \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"b[%d] = \00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Augmented co-efficient matrix:\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [53 x i8] c"Augmented co-efficient matrix after %d elimination:\0A\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"\0AThe result is :\0A\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"\0Ax[%d] = %.2f\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 [20 x [20 x float]], align 16 %8 = alloca [20 x float], align 16 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %14 14: ; preds = %47, %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %50 18: ; preds = %14 store i32 0, ptr %3, align 4 br label %19 19: ; preds = %34, %18 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %37 23: ; preds = %19 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %3, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24, i32 noundef %25) %27 = load i32, ptr %2, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %28 %30 = load i32, ptr %3, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x float], ptr %29, i64 0, i64 %31 %33 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %32) br label %34 34: ; preds = %23 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = load i32, ptr %2, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %41 %43 = load i32, ptr %5, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [20 x float], ptr %42, i64 0, i64 %44 %46 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %45) br label %47 47: ; preds = %37 %48 = load i32, ptr %2, align 4 %49 = add nsw i32 %48, 1 store i32 %49, ptr %2, align 4 br label %14, !llvm.loop !8 50: ; preds = %14 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 br label %52 52: ; preds = %84, %50 %53 = load i32, ptr %2, align 4 %54 = load i32, ptr %5, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %87 56: ; preds = %52 store i32 0, ptr %3, align 4 br label %57 57: ; preds = %71, %56 %58 = load i32, ptr %3, align 4 %59 = load i32, ptr %5, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %61, label %74 61: ; preds = %57 %62 = load i32, ptr %2, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %63 %65 = load i32, ptr %3, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds [20 x float], ptr %64, i64 0, i64 %66 %68 = load float, ptr %67, align 4 %69 = fpext float %68 to double %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %69) br label %71 71: ; preds = %61 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 br label %57, !llvm.loop !9 74: ; preds = %57 %75 = load i32, ptr %2, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %76 %78 = load i32, ptr %5, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [20 x float], ptr %77, i64 0, i64 %79 %81 = load float, ptr %80, align 4 %82 = fpext float %81 to double %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %82) br label %84 84: ; preds = %74 %85 = load i32, ptr %2, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %2, align 4 br label %52, !llvm.loop !10 87: ; preds = %52 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 0, ptr %4, align 4 br label %89 89: ; preds = %199, %87 %90 = load i32, ptr %4, align 4 %91 = load i32, ptr %5, align 4 %92 = sub nsw i32 %91, 1 %93 = icmp slt i32 %90, %92 br i1 %93, label %94, label %202 94: ; preds = %89 %95 = load i32, ptr %4, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %2, align 4 br label %97 97: ; preds = %155, %94 %98 = load i32, ptr %2, align 4 %99 = load i32, ptr %5, align 4 %100 = icmp slt i32 %98, %99 br i1 %100, label %101, label %158 101: ; preds = %97 %102 = load i32, ptr %2, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %103 %105 = load i32, ptr %4, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [20 x float], ptr %104, i64 0, i64 %106 %108 = load float, ptr %107, align 4 %109 = load i32, ptr %4, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %110 %112 = load i32, ptr %4, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds [20 x float], ptr %111, i64 0, i64 %113 %115 = load float, ptr %114, align 4 %116 = fdiv float %108, %115 %117 = fpext float %116 to double store double %117, ptr %10, align 8 %118 = load i32, ptr %4, align 4 store i32 %118, ptr %3, align 4 br label %119 119: ; preds = %151, %101 %120 = load i32, ptr %3, align 4 %121 = load i32, ptr %5, align 4 %122 = add nsw i32 %121, 1 %123 = icmp slt i32 %120, %122 br i1 %123, label %124, label %154 124: ; preds = %119 %125 = load i32, ptr %2, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %126 %128 = load i32, ptr %3, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds [20 x float], ptr %127, i64 0, i64 %129 %131 = load float, ptr %130, align 4 %132 = fpext float %131 to double %133 = load double, ptr %10, align 8 %134 = load i32, ptr %4, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %135 %137 = load i32, ptr %3, align 4 %138 = sext i32 %137 to i64 %139 = getelementptr inbounds [20 x float], ptr %136, i64 0, i64 %138 %140 = load float, ptr %139, align 4 %141 = fpext float %140 to double %142 = fneg double %133 %143 = call double @llvm.fmuladd.f64(double %142, double %141, double %132) %144 = fptrunc double %143 to float %145 = load i32, ptr %2, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %146 %148 = load i32, ptr %3, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [20 x float], ptr %147, i64 0, i64 %149 store float %144, ptr %150, align 4 br label %151 151: ; preds = %124 %152 = load i32, ptr %3, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %3, align 4 br label %119, !llvm.loop !11 154: ; preds = %119 br label %155 155: ; preds = %154 %156 = load i32, ptr %2, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %2, align 4 br label %97, !llvm.loop !12 158: ; preds = %97 %159 = load i32, ptr %6, align 4 %160 = add nsw i32 %159, 1 store i32 %160, ptr %6, align 4 %161 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %160) store i32 0, ptr %2, align 4 br label %162 162: ; preds = %194, %158 %163 = load i32, ptr %2, align 4 %164 = load i32, ptr %5, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %166, label %197 166: ; preds = %162 store i32 0, ptr %3, align 4 br label %167 167: ; preds = %181, %166 %168 = load i32, ptr %3, align 4 %169 = load i32, ptr %5, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %171, label %184 171: ; preds = %167 %172 = load i32, ptr %2, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %173 %175 = load i32, ptr %3, align 4 %176 = sext i32 %175 to i64 %177 = getelementptr inbounds [20 x float], ptr %174, i64 0, i64 %176 %178 = load float, ptr %177, align 4 %179 = fpext float %178 to double %180 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %179) br label %181 181: ; preds = %171 %182 = load i32, ptr %3, align 4 %183 = add nsw i32 %182, 1 store i32 %183, ptr %3, align 4 br label %167, !llvm.loop !13 184: ; preds = %167 %185 = load i32, ptr %2, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %186 %188 = load i32, ptr %5, align 4 %189 = sext i32 %188 to i64 %190 = getelementptr inbounds [20 x float], ptr %187, i64 0, i64 %189 %191 = load float, ptr %190, align 4 %192 = fpext float %191 to double %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %192) br label %194 194: ; preds = %184 %195 = load i32, ptr %2, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %2, align 4 br label %162, !llvm.loop !14 197: ; preds = %162 %198 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %199 199: ; preds = %197 %200 = load i32, ptr %4, align 4 %201 = add nsw i32 %200, 1 store i32 %201, ptr %4, align 4 br label %89, !llvm.loop !15 202: ; preds = %89 %203 = load i32, ptr %5, align 4 %204 = sub nsw i32 %203, 1 %205 = sext i32 %204 to i64 %206 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %205 %207 = load i32, ptr %5, align 4 %208 = sext i32 %207 to i64 %209 = getelementptr inbounds [20 x float], ptr %206, i64 0, i64 %208 %210 = load float, ptr %209, align 4 %211 = load i32, ptr %5, align 4 %212 = sub nsw i32 %211, 1 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %213 %215 = load i32, ptr %5, align 4 %216 = sub nsw i32 %215, 1 %217 = sext i32 %216 to i64 %218 = getelementptr inbounds [20 x float], ptr %214, i64 0, i64 %217 %219 = load float, ptr %218, align 4 %220 = fdiv float %210, %219 %221 = load i32, ptr %5, align 4 %222 = sub nsw i32 %221, 1 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %223 store float %220, ptr %224, align 4 %225 = load i32, ptr %5, align 4 %226 = sub nsw i32 %225, 2 store i32 %226, ptr %2, align 4 br label %227 227: ; preds = %280, %202 %228 = load i32, ptr %2, align 4 %229 = icmp sge i32 %228, 0 br i1 %229, label %230, label %283 230: ; preds = %227 store double 0.000000e+00, ptr %9, align 8 %231 = load i32, ptr %2, align 4 %232 = add nsw i32 %231, 1 store i32 %232, ptr %3, align 4 br label %233 233: ; preds = %276, %230 %234 = load i32, ptr %3, align 4 %235 = load i32, ptr %5, align 4 %236 = icmp slt i32 %234, %235 br i1 %236, label %237, label %279 237: ; preds = %233 %238 = load i32, ptr %2, align 4 %239 = sext i32 %238 to i64 %240 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %239 %241 = load i32, ptr %3, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds [20 x float], ptr %240, i64 0, i64 %242 %244 = load float, ptr %243, align 4 %245 = load i32, ptr %3, align 4 %246 = sext i32 %245 to i64 %247 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %246 %248 = load float, ptr %247, align 4 %249 = fmul float %244, %248 %250 = fpext float %249 to double %251 = load double, ptr %9, align 8 %252 = fadd double %251, %250 store double %252, ptr %9, align 8 %253 = load i32, ptr %2, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %254 %256 = load i32, ptr %5, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [20 x float], ptr %255, i64 0, i64 %257 %259 = load float, ptr %258, align 4 %260 = fpext float %259 to double %261 = load double, ptr %9, align 8 %262 = fsub double %260, %261 %263 = load i32, ptr %2, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %264 %266 = load i32, ptr %2, align 4 %267 = sext i32 %266 to i64 %268 = getelementptr inbounds [20 x float], ptr %265, i64 0, i64 %267 %269 = load float, ptr %268, align 4 %270 = fpext float %269 to double %271 = fdiv double %262, %270 %272 = fptrunc double %271 to float %273 = load i32, ptr %2, align 4 %274 = sext i32 %273 to i64 %275 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %274 store float %272, ptr %275, align 4 br label %276 276: ; preds = %237 %277 = load i32, ptr %3, align 4 %278 = add nsw i32 %277, 1 store i32 %278, ptr %3, align 4 br label %233, !llvm.loop !16 279: ; preds = %233 br label %280 280: ; preds = %279 %281 = load i32, ptr %2, align 4 %282 = add nsw i32 %281, -1 store i32 %282, ptr %2, align 4 br label %227, !llvm.loop !17 283: ; preds = %227 %284 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 0, ptr %2, align 4 br label %285 285: ; preds = %298, %283 %286 = load i32, ptr %2, align 4 %287 = load i32, ptr %5, align 4 %288 = icmp slt i32 %286, %287 br i1 %288, label %289, label %301 289: ; preds = %285 %290 = load i32, ptr %2, align 4 %291 = add nsw i32 %290, 1 %292 = load i32, ptr %2, align 4 %293 = sext i32 %292 to i64 %294 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %293 %295 = load float, ptr %294, align 4 %296 = fpext float %295 to double %297 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %291, double noundef %296) br label %298 298: ; preds = %289 %299 = load i32, ptr %2, align 4 %300 = add nsw i32 %299, 1 store i32 %300, ptr %2, align 4 br label %285, !llvm.loop !18 301: ; preds = %285 %302 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ik7ekg8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter the number of equations : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\0AEnter the co-efficients of the equations :\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"a[%d][%d] = \00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"b[%d] = \00", align 1 @.str.6 = private unnamed_addr constant [32 x i8] c"Augmented co-efficient matrix:\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 x i8] c"%f \00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"%f\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.10 = private unnamed_addr constant [53 x i8] c"Augmented co-efficient matrix after %d elimination:\0A\00", align 1 @.str.11 = private unnamed_addr constant [18 x i8] c"\0AThe result is :\0A\00", align 1 @.str.12 = private unnamed_addr constant [14 x i8] c"\0Ax[%d] = %.2f\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 [20 x [20 x float]], align 16 %8 = alloca [20 x float], align 16 %9 = alloca double, align 8 %10 = alloca double, align 8 store i32 0, ptr %1, align 4 store i32 0, ptr %6, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %5) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph2, label %54 .lr.ph2: ; preds = %0 br label %17 17: ; preds = %.lr.ph2, %48 store i32 0, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %5, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %38 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %32 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %3, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22, i32 noundef %23) %25 = load i32, ptr %2, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %26 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [20 x float], ptr %27, i64 0, i64 %29 %31 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %30) br label %32 32: ; preds = %21 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 %35 = load i32, ptr %3, align 4 %36 = load i32, ptr %5, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %38 38: ; preds = %._crit_edge, %17 %39 = load i32, ptr %2, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %39) %41 = load i32, ptr %2, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %42 %44 = load i32, ptr %5, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [20 x float], ptr %43, i64 0, i64 %45 %47 = call i32 (ptr, ...) @scanf(ptr noundef @.str.4, ptr noundef %46) br label %48 48: ; preds = %38 %49 = load i32, ptr %2, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %2, align 4 %51 = load i32, ptr %2, align 4 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %54 54: ; preds = %._crit_edge3, %0 %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) store i32 0, ptr %2, align 4 %56 = load i32, ptr %2, align 4 %57 = load i32, ptr %5, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %.lr.ph8, label %95 .lr.ph8: ; preds = %54 br label %59 59: ; preds = %.lr.ph8, %89 store i32 0, ptr %3, align 4 %60 = load i32, ptr %3, align 4 %61 = load i32, ptr %5, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph5, label %79 .lr.ph5: ; preds = %59 br label %63 63: ; preds = %.lr.ph5, %73 %64 = load i32, ptr %2, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %65 %67 = load i32, ptr %3, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [20 x float], ptr %66, i64 0, i64 %68 %70 = load float, ptr %69, align 4 %71 = fpext float %70 to double %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %71) br label %73 73: ; preds = %63 %74 = load i32, ptr %3, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %3, align 4 %76 = load i32, ptr %3, align 4 %77 = load i32, ptr %5, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %63, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %73 br label %79 79: ; preds = %._crit_edge6, %59 %80 = load i32, ptr %2, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %81 %83 = load i32, ptr %5, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds [20 x float], ptr %82, i64 0, i64 %84 %86 = load float, ptr %85, align 4 %87 = fpext float %86 to double %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %87) br label %89 89: ; preds = %79 %90 = load i32, ptr %2, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %2, align 4 %92 = load i32, ptr %2, align 4 %93 = load i32, ptr %5, align 4 %94 = icmp slt i32 %92, %93 br i1 %94, label %59, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %89 br label %95 95: ; preds = %._crit_edge9, %54 %96 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) store i32 0, ptr %4, align 4 %97 = load i32, ptr %4, align 4 %98 = load i32, ptr %5, align 4 %99 = sub nsw i32 %98, 1 %100 = icmp slt i32 %97, %99 br i1 %100, label %.lr.ph23, label %222 .lr.ph23: ; preds = %95 br label %101 101: ; preds = %.lr.ph23, %215 %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %2, align 4 %104 = load i32, ptr %2, align 4 %105 = load i32, ptr %5, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph14, label %170 .lr.ph14: ; preds = %101 br label %107 107: ; preds = %.lr.ph14, %164 %108 = load i32, ptr %2, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %109 %111 = load i32, ptr %4, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [20 x float], ptr %110, i64 0, i64 %112 %114 = load float, ptr %113, align 4 %115 = load i32, ptr %4, align 4 %116 = sext i32 %115 to i64 %117 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %116 %118 = load i32, ptr %4, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds [20 x float], ptr %117, i64 0, i64 %119 %121 = load float, ptr %120, align 4 %122 = fdiv float %114, %121 %123 = fpext float %122 to double store double %123, ptr %10, align 8 %124 = load i32, ptr %4, align 4 store i32 %124, ptr %3, align 4 %125 = load i32, ptr %3, align 4 %126 = load i32, ptr %5, align 4 %127 = add nsw i32 %126, 1 %128 = icmp slt i32 %125, %127 br i1 %128, label %.lr.ph11, label %163 .lr.ph11: ; preds = %107 br label %129 129: ; preds = %.lr.ph11, %156 %130 = load i32, ptr %2, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %131 %133 = load i32, ptr %3, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [20 x float], ptr %132, i64 0, i64 %134 %136 = load float, ptr %135, align 4 %137 = fpext float %136 to double %138 = load double, ptr %10, align 8 %139 = load i32, ptr %4, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %140 %142 = load i32, ptr %3, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds [20 x float], ptr %141, i64 0, i64 %143 %145 = load float, ptr %144, align 4 %146 = fpext float %145 to double %147 = fneg double %138 %148 = call double @llvm.fmuladd.f64(double %147, double %146, double %137) %149 = fptrunc double %148 to float %150 = load i32, ptr %2, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %151 %153 = load i32, ptr %3, align 4 %154 = sext i32 %153 to i64 %155 = getelementptr inbounds [20 x float], ptr %152, i64 0, i64 %154 store float %149, ptr %155, align 4 br label %156 156: ; preds = %129 %157 = load i32, ptr %3, align 4 %158 = add nsw i32 %157, 1 store i32 %158, ptr %3, align 4 %159 = load i32, ptr %3, align 4 %160 = load i32, ptr %5, align 4 %161 = add nsw i32 %160, 1 %162 = icmp slt i32 %159, %161 br i1 %162, label %129, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %156 br label %163 163: ; preds = %._crit_edge12, %107 br label %164 164: ; preds = %163 %165 = load i32, ptr %2, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %2, align 4 %167 = load i32, ptr %2, align 4 %168 = load i32, ptr %5, align 4 %169 = icmp slt i32 %167, %168 br i1 %169, label %107, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %164 br label %170 170: ; preds = %._crit_edge15, %101 %171 = load i32, ptr %6, align 4 %172 = add nsw i32 %171, 1 store i32 %172, ptr %6, align 4 %173 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %172) store i32 0, ptr %2, align 4 %174 = load i32, ptr %2, align 4 %175 = load i32, ptr %5, align 4 %176 = icmp slt i32 %174, %175 br i1 %176, label %.lr.ph20, label %213 .lr.ph20: ; preds = %170 br label %177 177: ; preds = %.lr.ph20, %207 store i32 0, ptr %3, align 4 %178 = load i32, ptr %3, align 4 %179 = load i32, ptr %5, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %.lr.ph17, label %197 .lr.ph17: ; preds = %177 br label %181 181: ; preds = %.lr.ph17, %191 %182 = load i32, ptr %2, align 4 %183 = sext i32 %182 to i64 %184 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %183 %185 = load i32, ptr %3, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [20 x float], ptr %184, i64 0, i64 %186 %188 = load float, ptr %187, align 4 %189 = fpext float %188 to double %190 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %189) br label %191 191: ; preds = %181 %192 = load i32, ptr %3, align 4 %193 = add nsw i32 %192, 1 store i32 %193, ptr %3, align 4 %194 = load i32, ptr %3, align 4 %195 = load i32, ptr %5, align 4 %196 = icmp slt i32 %194, %195 br i1 %196, label %181, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %191 br label %197 197: ; preds = %._crit_edge18, %177 %198 = load i32, ptr %2, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %199 %201 = load i32, ptr %5, align 4 %202 = sext i32 %201 to i64 %203 = getelementptr inbounds [20 x float], ptr %200, i64 0, i64 %202 %204 = load float, ptr %203, align 4 %205 = fpext float %204 to double %206 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, double noundef %205) br label %207 207: ; preds = %197 %208 = load i32, ptr %2, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %2, align 4 %210 = load i32, ptr %2, align 4 %211 = load i32, ptr %5, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %177, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %207 br label %213 213: ; preds = %._crit_edge21, %170 %214 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %215 215: ; preds = %213 %216 = load i32, ptr %4, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %4, align 4 %218 = load i32, ptr %4, align 4 %219 = load i32, ptr %5, align 4 %220 = sub nsw i32 %219, 1 %221 = icmp slt i32 %218, %220 br i1 %221, label %101, label %._crit_edge24, !llvm.loop !15 ._crit_edge24: ; preds = %215 br label %222 222: ; preds = %._crit_edge24, %95 %223 = load i32, ptr %5, align 4 %224 = sub nsw i32 %223, 1 %225 = sext i32 %224 to i64 %226 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %225 %227 = load i32, ptr %5, align 4 %228 = sext i32 %227 to i64 %229 = getelementptr inbounds [20 x float], ptr %226, i64 0, i64 %228 %230 = load float, ptr %229, align 4 %231 = load i32, ptr %5, align 4 %232 = sub nsw i32 %231, 1 %233 = sext i32 %232 to i64 %234 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %233 %235 = load i32, ptr %5, align 4 %236 = sub nsw i32 %235, 1 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds [20 x float], ptr %234, i64 0, i64 %237 %239 = load float, ptr %238, align 4 %240 = fdiv float %230, %239 %241 = load i32, ptr %5, align 4 %242 = sub nsw i32 %241, 1 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %243 store float %240, ptr %244, align 4 %245 = load i32, ptr %5, align 4 %246 = sub nsw i32 %245, 2 store i32 %246, ptr %2, align 4 %247 = load i32, ptr %2, align 4 %248 = icmp sge i32 %247, 0 br i1 %248, label %.lr.ph29, label %306 .lr.ph29: ; preds = %222 br label %249 249: ; preds = %.lr.ph29, %301 store double 0.000000e+00, ptr %9, align 8 %250 = load i32, ptr %2, align 4 %251 = add nsw i32 %250, 1 store i32 %251, ptr %3, align 4 %252 = load i32, ptr %3, align 4 %253 = load i32, ptr %5, align 4 %254 = icmp slt i32 %252, %253 br i1 %254, label %.lr.ph26, label %300 .lr.ph26: ; preds = %249 br label %255 255: ; preds = %.lr.ph26, %294 %256 = load i32, ptr %2, align 4 %257 = sext i32 %256 to i64 %258 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %257 %259 = load i32, ptr %3, align 4 %260 = sext i32 %259 to i64 %261 = getelementptr inbounds [20 x float], ptr %258, i64 0, i64 %260 %262 = load float, ptr %261, align 4 %263 = load i32, ptr %3, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %264 %266 = load float, ptr %265, align 4 %267 = fmul float %262, %266 %268 = fpext float %267 to double %269 = load double, ptr %9, align 8 %270 = fadd double %269, %268 store double %270, ptr %9, align 8 %271 = load i32, ptr %2, align 4 %272 = sext i32 %271 to i64 %273 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %272 %274 = load i32, ptr %5, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds [20 x float], ptr %273, i64 0, i64 %275 %277 = load float, ptr %276, align 4 %278 = fpext float %277 to double %279 = load double, ptr %9, align 8 %280 = fsub double %278, %279 %281 = load i32, ptr %2, align 4 %282 = sext i32 %281 to i64 %283 = getelementptr inbounds [20 x [20 x float]], ptr %7, i64 0, i64 %282 %284 = load i32, ptr %2, align 4 %285 = sext i32 %284 to i64 %286 = getelementptr inbounds [20 x float], ptr %283, i64 0, i64 %285 %287 = load float, ptr %286, align 4 %288 = fpext float %287 to double %289 = fdiv double %280, %288 %290 = fptrunc double %289 to float %291 = load i32, ptr %2, align 4 %292 = sext i32 %291 to i64 %293 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %292 store float %290, ptr %293, align 4 br label %294 294: ; preds = %255 %295 = load i32, ptr %3, align 4 %296 = add nsw i32 %295, 1 store i32 %296, ptr %3, align 4 %297 = load i32, ptr %3, align 4 %298 = load i32, ptr %5, align 4 %299 = icmp slt i32 %297, %298 br i1 %299, label %255, label %._crit_edge27, !llvm.loop !16 ._crit_edge27: ; preds = %294 br label %300 300: ; preds = %._crit_edge27, %249 br label %301 301: ; preds = %300 %302 = load i32, ptr %2, align 4 %303 = add nsw i32 %302, -1 store i32 %303, ptr %2, align 4 %304 = load i32, ptr %2, align 4 %305 = icmp sge i32 %304, 0 br i1 %305, label %249, label %._crit_edge30, !llvm.loop !17 ._crit_edge30: ; preds = %301 br label %306 306: ; preds = %._crit_edge30, %222 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) store i32 0, ptr %2, align 4 %308 = load i32, ptr %2, align 4 %309 = load i32, ptr %5, align 4 %310 = icmp slt i32 %308, %309 br i1 %310, label %.lr.ph32, label %326 .lr.ph32: ; preds = %306 br label %311 311: ; preds = %.lr.ph32, %320 %312 = load i32, ptr %2, align 4 %313 = add nsw i32 %312, 1 %314 = load i32, ptr %2, align 4 %315 = sext i32 %314 to i64 %316 = getelementptr inbounds [20 x float], ptr %8, i64 0, i64 %315 %317 = load float, ptr %316, align 4 %318 = fpext float %317 to double %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %313, double noundef %318) br label %320 320: ; preds = %311 %321 = load i32, ptr %2, align 4 %322 = add nsw i32 %321, 1 store i32 %322, ptr %2, align 4 %323 = load i32, ptr %2, align 4 %324 = load i32, ptr %5, align 4 %325 = icmp slt i32 %323, %324 br i1 %325, label %311, label %._crit_edge33, !llvm.loop !18 ._crit_edge33: ; preds = %320 br label %326 326: ; preds = %._crit_edge33, %306 %327 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7} !18 = distinct !{!18, !7}
; ModuleID = '/tmp/tmp8k3ako1c.c' source_filename = "/tmp/tmp8k3ako1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @example5() #0 { %1 = alloca [5 x i32], align 16 %2 = alloca ptr, align 8 %3 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 4 store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store i32 42, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i32 -1 store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store i32 42, ptr %7, align 4 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i32, ptr %8, i32 -1 store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 store i32 40, ptr %10, align 4 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 40 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 4 %17 = load i32, ptr %16, align 16 %18 = icmp eq i32 %17, 42 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 3 %22 = load i32, ptr %21, align 4 %23 = icmp eq i32 %22, 42 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 2 %27 = load i32, ptr %26, align 8 %28 = icmp eq i32 %27, 40 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0 %32 = load i32, ptr %31, align 16 %33 = icmp eq i32 %32, 42 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) ret void } declare i32 @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/tmp8k3ako1c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @example5() #0 { %1 = alloca [5 x i32], align 16 %2 = alloca ptr, align 8 %3 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 4 store ptr %3, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store i32 42, ptr %4, align 4 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i32, ptr %5, i32 -1 store ptr %6, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 store i32 42, ptr %7, align 4 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i32, ptr %8, i32 -1 store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 store i32 40, ptr %10, align 4 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %11, align 4 %13 = icmp eq i32 %12, 40 %14 = zext i1 %13 to i32 %15 = call i32 @assert(i32 noundef %14) %16 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 4 %17 = load i32, ptr %16, align 16 %18 = icmp eq i32 %17, 42 %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 3 %22 = load i32, ptr %21, align 4 %23 = icmp eq i32 %22, 42 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 2 %27 = load i32, ptr %26, align 8 %28 = icmp eq i32 %27, 40 %29 = zext i1 %28 to i32 %30 = call i32 @assert(i32 noundef %29) %31 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 0 %32 = load i32, ptr %31, align 16 %33 = icmp eq i32 %32, 42 %34 = zext i1 %33 to i32 %35 = call i32 @assert(i32 noundef %34) ret void } declare i32 @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/tmpj4np99tl.c' source_filename = "/tmp/tmpj4np99tl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"git commit -a -m \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @commit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj4np99tl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"git commit -a -m \22%s\22\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @commit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt_so1n_e.c' source_filename = "/tmp/tmpt_so1n_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PINT_dotconf_strcmp_from_back(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %8, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %8, align 4 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %9, align 4 store i32 %15, ptr %7, align 4 br label %16 16: ; preds = %40, %2 %17 = load i32, ptr %6, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = icmp sge i32 %20, 0 br label %22 22: ; preds = %19, %16 %23 = phi i1 [ false, %16 ], [ %21, %19 ] br i1 %23, label %24, label %45 24: ; preds = %22 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = load ptr, ptr %4, 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 = sext i8 %35 to i32 %37 = icmp ne i32 %30, %36 br i1 %37, label %38, label %39 38: ; preds = %24 store i32 -1, ptr %5, align 4 br label %45 39: ; preds = %24 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %7, align 4 br label %16, !llvm.loop !6 45: ; preds = %38, %22 %46 = load i32, ptr %5, align 4 ret i32 %46 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt_so1n_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PINT_dotconf_strcmp_from_back(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load ptr, ptr %3, align 8 %11 = call i32 @strlen(ptr noundef %10) store i32 %11, ptr %8, align 4 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %8, align 4 store i32 %14, ptr %6, align 4 %15 = load i32, ptr %9, align 4 store i32 %15, ptr %7, align 4 br label %16 16: ; preds = %40, %2 %17 = load i32, ptr %6, align 4 %18 = icmp sge i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i32, ptr %7, align 4 %21 = icmp sge i32 %20, 0 br label %22 22: ; preds = %19, %16 %23 = phi i1 [ false, %16 ], [ %21, %19 ] br i1 %23, label %24, label %.loopexit 24: ; preds = %22 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = load ptr, ptr %4, 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 = sext i8 %35 to i32 %37 = icmp ne i32 %30, %36 br i1 %37, label %38, label %39 38: ; preds = %24 store i32 -1, ptr %5, align 4 br label %45 39: ; preds = %24 br label %40 40: ; preds = %39 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, -1 store i32 %44, ptr %7, align 4 br label %16, !llvm.loop !6 .loopexit: ; preds = %22 br label %45 45: ; preds = %.loopexit, %38 %46 = load i32, ptr %5, align 4 ret i32 %46 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7a1iqztw.c' source_filename = "/tmp/tmp7a1iqztw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Datos[%d][%d] es: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimeM(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 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %28, %1 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %31 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %24, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 8 br i1 %11, label %12, label %27 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [8 x double], ptr %15, i64 %17 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [8 x double], ptr %18, i64 0, i64 %20 %22 = load double, ptr %21, align 8 %23 = call i32 @printf(ptr noundef @.str, i32 noundef %13, i32 noundef %14, double noundef %22) br label %24 24: ; preds = %12 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %9, !llvm.loop !6 27: ; preds = %9 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 br label %5, !llvm.loop !8 31: ; preds = %5 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 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/tmp7a1iqztw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Datos[%d][%d] es: %f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @imprimeM(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 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph2, label %33 .lr.ph2: ; preds = %1 br label %7 7: ; preds = %.lr.ph2, %28 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 8 br i1 %9, label %.lr.ph, label %27 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %22 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [8 x double], ptr %13, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [8 x double], ptr %16, i64 0, i64 %18 %20 = load double, ptr %19, align 8 %21 = call i32 @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12, double noundef %20) br label %22 22: ; preds = %10 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %25, 8 br i1 %26, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %7 br label %28 28: ; preds = %27 %29 = load i32, ptr %3, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %28 br label %33 33: ; preds = %._crit_edge3, %1 ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 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/tmpomnhq5t7.c' source_filename = "/tmp/tmpomnhq5t7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TRIANGLE_STRIP = 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/tmpomnhq5t7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_TRIANGLE_STRIP = 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/tmpwz92kiha.c' source_filename = "/tmp/tmpwz92kiha.c" target datalayout = "e-m:e-p270: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/tmpwz92kiha.c" target datalayout = "e-m:e-p270: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/tmprlvsgl4i.c' source_filename = "/tmp/tmprlvsgl4i.c" target datalayout = "e-m:e-p270: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/tmprlvsgl4i.c" target datalayout = "e-m:e-p270: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/tmphc78j7re.c' source_filename = "/tmp/tmphc78j7re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork failed!\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"My child pid 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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @puts(ptr noundef @.str) br label %18 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (...) @child() br label %17 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = call i32 @wait(ptr noundef null) br label %17 17: ; preds = %13, %11 br label %18 18: ; preds = %17, %6 ret i32 0 } declare i32 @fork(...) #1 declare i32 @puts(ptr noundef) #1 declare i32 @child(...) #1 declare i32 @printf(ptr noundef, i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphc78j7re.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fork failed!\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"My child pid 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 store i32 0, ptr %1, align 4 %3 = call i32 (...) @fork() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @puts(ptr noundef @.str) br label %18 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 (...) @child() br label %17 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14) %16 = call i32 @wait(ptr noundef null) br label %17 17: ; preds = %13, %11 br label %18 18: ; preds = %17, %6 ret i32 0 } declare i32 @fork(...) #1 declare i32 @puts(ptr noundef) #1 declare i32 @child(...) #1 declare i32 @printf(ptr noundef, i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp489d04k2.c' source_filename = "/tmp/tmp489d04k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nullify(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @memset(ptr noundef %5, i8 noundef signext 0, i64 noundef %6) ret void } declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp489d04k2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nullify(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 %7 = call i32 @memset(ptr noundef %5, i8 noundef signext 0, i64 noundef %6) ret void } declare i32 @memset(ptr noundef, i8 noundef signext, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk_dhn3cu.c' source_filename = "/tmp/tmpk_dhn3cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %15 15: ; preds = %25, %2 %16 = load i32, ptr %10, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %28 19: ; preds = %15 %20 = call float (...) @rand_float() %21 = call float @llvm.fmuladd.f32(float %20, float 2.000000e+04, float -1.000000e+04) %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %14, i64 %23 store float %21, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %15, !llvm.loop !6 28: ; preds = %15 store float 0.000000e+00, ptr %8, align 4 %29 = call double (...) @tic() store double %29, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %30 30: ; preds = %43, %28 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %31, %32 br i1 %33, label %34, label %46 34: ; preds = %30 %35 = load i32, ptr %4, align 4 %36 = call float @stdlib_strided_snanstdevch(i32 noundef %35, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store float %36, ptr %8, align 4 %37 = load float, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = fcmp une float %37, %38 br i1 %39, label %40, label %42 40: ; preds = %34 %41 = call i32 @printf(ptr noundef @.str) br label %46 42: ; preds = %34 br label %43 43: ; preds = %42 %44 = load i32, ptr %10, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %10, align 4 br label %30, !llvm.loop !8 46: ; preds = %40, %30 %47 = call double (...) @tic() %48 = load double, ptr %9, align 8 %49 = fsub double %47, %48 store double %49, ptr %5, align 8 %50 = load float, ptr %8, align 4 %51 = load float, ptr %8, align 4 %52 = fcmp une float %50, %51 br i1 %52, label %53, label %55 53: ; preds = %46 %54 = call i32 @printf(ptr noundef @.str) br label %55 55: ; preds = %53, %46 %56 = load double, ptr %5, align 8 %57 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %57) ret double %56 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_snanstdevch(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk_dhn3cu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca float, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %11 = load i32, ptr %4, align 4 %12 = zext i32 %11 to i64 %13 = call ptr @llvm.stacksave() store ptr %13, ptr %6, align 8 %14 = alloca float, i64 %12, align 16 store i64 %12, ptr %7, align 8 store i32 0, ptr %10, align 4 %15 = load i32, ptr %10, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %18 18: ; preds = %.lr.ph, %24 %19 = call float (...) @rand_float() %20 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+04, float -1.000000e+04) %21 = load i32, ptr %10, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds float, ptr %14, i64 %22 store float %20, ptr %23, align 4 br label %24 24: ; preds = %18 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %2 store float 0.000000e+00, ptr %8, align 4 %31 = call double (...) @tic() store double %31, ptr %9, align 8 store i32 0, ptr %10, align 4 %32 = load i32, ptr %10, align 4 %33 = load i32, ptr %3, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %30 br label %35 35: ; preds = %.lr.ph2, %44 %36 = load i32, ptr %4, align 4 %37 = call float @stdlib_strided_snanstdevch(i32 noundef %36, float noundef 1.000000e+00, ptr noundef %14, i32 noundef 1) store float %37, ptr %8, align 4 %38 = load float, ptr %8, align 4 %39 = load float, ptr %8, align 4 %40 = fcmp une float %38, %39 br i1 %40, label %41, label %43 41: ; preds = %35 %42 = call i32 @printf(ptr noundef @.str) br label %50 43: ; preds = %35 br label %44 44: ; preds = %43 %45 = load i32, ptr %10, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %3, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %35, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %44 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %30 br label %50 50: ; preds = %.loopexit, %41 %51 = call double (...) @tic() %52 = load double, ptr %9, align 8 %53 = fsub double %51, %52 store double %53, ptr %5, align 8 %54 = load float, ptr %8, align 4 %55 = load float, ptr %8, align 4 %56 = fcmp une float %54, %55 br i1 %56, label %57, label %59 57: ; preds = %50 %58 = call i32 @printf(ptr noundef @.str) br label %59 59: ; preds = %57, %50 %60 = load double, ptr %5, align 8 %61 = load ptr, ptr %6, align 8 call void @llvm.stackrestore(ptr %61) ret double %60 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare float @rand_float(...) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #3 declare double @tic(...) #2 declare float @stdlib_strided_snanstdevch(i32 noundef, float noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind willreturn } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpuatu8v5g.c' source_filename = "/tmp/tmpuatu8v5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12, %2 store ptr null, ptr %3, align 8 br label %93 16: ; preds = %12 br label %17 17: ; preds = %90, %16 %18 = load ptr, ptr %7, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %91 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 0 %24 = load i8, ptr %23, align 1 %25 = call ptr @strchr(ptr noundef %21, i8 noundef signext %24) store ptr %25, ptr %8, align 8 %26 = load ptr, ptr %8, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %29, label %28 28: ; preds = %20 br label %91 29: ; preds = %20 store i32 1, ptr %6, align 4 br label %30 30: ; preds = %66, %29 %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp ne i32 %36, 0 br i1 %37, label %38, label %46 38: ; preds = %30 %39 = load ptr, ptr %5, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %39, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br label %46 46: ; preds = %38, %30 %47 = phi i1 [ false, %30 ], [ %45, %38 ] br i1 %47, label %48, label %69 48: ; preds = %46 %49 = load ptr, ptr %8, align 8 %50 = load i32, ptr %6, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = sext i8 %53 to i32 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp ne i32 %54, %60 br i1 %61, label %62, label %65 62: ; preds = %48 %63 = load ptr, ptr %8, align 8 %64 = getelementptr inbounds i8, ptr %63, i64 1 store ptr %64, ptr %7, align 8 store ptr null, ptr %8, align 8 br label %69 65: ; preds = %48 br label %66 66: ; preds = %65 %67 = load i32, ptr %6, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %6, align 4 br label %30, !llvm.loop !6 69: ; preds = %62, %46 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i8, ptr %70, i64 %72 %74 = load i8, ptr %73, align 1 %75 = icmp ne i8 %74, 0 br i1 %75, label %77, label %76 76: ; preds = %69 br label %91 77: ; preds = %69 %78 = load ptr, ptr %8, align 8 %79 = icmp ne ptr %78, null br i1 %79, label %80, label %90 80: ; preds = %77 %81 = load ptr, ptr %8, align 8 %82 = load i32, ptr %6, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds i8, ptr %81, i64 %83 %85 = load i8, ptr %84, align 1 %86 = icmp ne i8 %85, 0 br i1 %86, label %90, label %87 87: ; preds = %80 %88 = load ptr, ptr %8, align 8 %89 = getelementptr inbounds i8, ptr %88, i64 1 store ptr %89, ptr %7, align 8 store ptr null, ptr %8, align 8 br label %90 90: ; preds = %87, %80, %77 br label %17, !llvm.loop !8 91: ; preds = %76, %28, %17 %92 = load ptr, ptr %8, align 8 store ptr %92, ptr %3, align 8 br label %93 93: ; preds = %91, %15 %94 = load ptr, ptr %3, align 8 ret ptr %94 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuatu8v5g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @compare(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = load ptr, ptr %4, align 8 store ptr %9, ptr %7, align 8 %10 = load ptr, ptr %4, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = icmp eq ptr %13, null br i1 %14, label %15, label %16 15: ; preds = %12, %2 store ptr null, ptr %3, align 8 br label %94 16: ; preds = %12 %17 = load ptr, ptr %7, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %89 %20 = load ptr, ptr %7, align 8 %21 = load ptr, ptr %5, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 0 %23 = load i8, ptr %22, align 1 %24 = call ptr @strchr(ptr noundef %20, i8 noundef signext %23) store ptr %24, ptr %8, align 8 %25 = load ptr, ptr %8, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %28, label %27 27: ; preds = %19 br label %92 28: ; preds = %19 store i32 1, ptr %6, align 4 br label %29 29: ; preds = %65, %28 %30 = load ptr, ptr %8, align 8 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp ne i32 %35, 0 br i1 %36, label %37, label %45 37: ; preds = %29 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 0 br label %45 45: ; preds = %37, %29 %46 = phi i1 [ false, %29 ], [ %44, %37 ] br i1 %46, label %47, label %.loopexit 47: ; preds = %45 %48 = load ptr, ptr %8, align 8 %49 = load i32, ptr %6, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %6, 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 ne i32 %53, %59 br i1 %60, label %61, label %64 61: ; preds = %47 %62 = load ptr, ptr %8, align 8 %63 = getelementptr inbounds i8, ptr %62, i64 1 store ptr %63, ptr %7, align 8 store ptr null, ptr %8, align 8 br label %68 64: ; preds = %47 br label %65 65: ; preds = %64 %66 = load i32, ptr %6, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %6, align 4 br label %29, !llvm.loop !6 .loopexit: ; preds = %45 br label %68 68: ; preds = %.loopexit, %61 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %6, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = icmp ne i8 %73, 0 br i1 %74, label %76, label %75 75: ; preds = %68 br label %92 76: ; preds = %68 %77 = load ptr, ptr %8, align 8 %78 = icmp ne ptr %77, null br i1 %78, label %79, label %89 79: ; preds = %76 %80 = load ptr, ptr %8, align 8 %81 = load i32, ptr %6, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds i8, ptr %80, i64 %82 %84 = load i8, ptr %83, align 1 %85 = icmp ne i8 %84, 0 br i1 %85, label %89, label %86 86: ; preds = %79 %87 = load ptr, ptr %8, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 1 store ptr %88, ptr %7, align 8 store ptr null, ptr %8, align 8 br label %89 89: ; preds = %86, %79, %76 %90 = load ptr, ptr %7, align 8 %91 = icmp ne ptr %90, null br i1 %91, label %19, label %..loopexit1_crit_edge, !llvm.loop !8 ..loopexit1_crit_edge: ; preds = %89 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %16 br label %92 92: ; preds = %.loopexit1, %75, %27 %93 = load ptr, ptr %8, align 8 store ptr %93, ptr %3, align 8 br label %94 94: ; preds = %92, %15 %95 = load ptr, ptr %3, align 8 ret ptr %95 } declare ptr @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1hdl3ssa.c' source_filename = "/tmp/tmp1hdl3ssa.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"memory allocation failure in %s:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/simple_aes.c\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @aes192_decrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = call i64 @calloc(i32 noundef 208, i32 noundef 4) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = call i64 @calloc(i32 noundef 16, i32 noundef 4) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 435) %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %16 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %34 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 436) %32 = load i32, ptr @EXIT_FAILURE, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable 34: ; preds = %26 br label %35 35: ; preds = %34 store i32 0, ptr %7, align 4 br label %36 36: ; preds = %49, %35 %37 = load i32, ptr %7, align 4 %38 = icmp slt i32 %37, 24 br i1 %38, label %39, label %52 39: ; preds = %36 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 %44 = load i32, ptr %43, align 4 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 store i32 %44, ptr %48, align 4 br label %49 49: ; preds = %39 %50 = load i32, ptr %7, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %7, align 4 br label %36, !llvm.loop !6 52: ; preds = %36 %53 = load ptr, ptr %5, align 8 %54 = call i32 @expand_key(ptr noundef %53, i32 noundef 192) store i32 0, ptr %8, align 4 br label %55 55: ; preds = %69, %52 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %56, 16 br i1 %57, label %58, label %72 58: ; preds = %55 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 192, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %6, align 8 %66 = load i32, ptr %8, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 store i32 %64, ptr %68, align 4 br label %69 69: ; preds = %58 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 br label %55, !llvm.loop !8 72: ; preds = %55 %73 = load ptr, ptr %3, align 8 %74 = load ptr, ptr %6, align 8 %75 = call i32 @add_round_key(ptr noundef %73, ptr noundef %74) store i32 1, ptr %9, align 4 br label %76 76: ; preds = %110, %72 %77 = load i32, ptr %9, align 4 %78 = icmp sle i32 %77, 11 br i1 %78, label %79, label %113 79: ; preds = %76 %80 = load ptr, ptr %3, align 8 %81 = call i32 @inv_shift_rows(ptr noundef %80) %82 = load ptr, ptr %3, align 8 %83 = call i32 @inv_sub_bytes(ptr noundef %82) store i32 0, ptr %10, align 4 br label %84 84: ; preds = %101, %79 %85 = load i32, ptr %10, align 4 %86 = icmp slt i32 %85, 16 br i1 %86, label %87, label %104 87: ; preds = %84 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %10, align 4 %90 = load i32, ptr %9, align 4 %91 = mul nsw i32 %90, 16 %92 = sub nsw i32 192, %91 %93 = add nsw i32 %89, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %88, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %10, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 store i32 %96, ptr %100, align 4 br label %101 101: ; preds = %87 %102 = load i32, ptr %10, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %10, align 4 br label %84, !llvm.loop !9 104: ; preds = %84 %105 = load ptr, ptr %3, align 8 %106 = load ptr, ptr %6, align 8 %107 = call i32 @add_round_key(ptr noundef %105, ptr noundef %106) %108 = load ptr, ptr %3, align 8 %109 = call i32 @inv_mix_columns(ptr noundef %108) br label %110 110: ; preds = %104 %111 = load i32, ptr %9, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %9, align 4 br label %76, !llvm.loop !10 113: ; preds = %76 store i32 0, ptr %11, align 4 br label %114 114: ; preds = %127, %113 %115 = load i32, ptr %11, align 4 %116 = icmp slt i32 %115, 16 br i1 %116, label %117, label %130 117: ; preds = %114 %118 = load ptr, ptr %5, align 8 %119 = load i32, ptr %11, align 4 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds i32, ptr %118, i64 %120 %122 = load i32, ptr %121, align 4 %123 = load ptr, ptr %6, align 8 %124 = load i32, ptr %11, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds i32, ptr %123, i64 %125 store i32 %122, ptr %126, align 4 br label %127 127: ; preds = %117 %128 = load i32, ptr %11, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %11, align 4 br label %114, !llvm.loop !11 130: ; preds = %114 %131 = load ptr, ptr %3, align 8 %132 = call i32 @inv_shift_rows(ptr noundef %131) %133 = load ptr, ptr %3, align 8 %134 = call i32 @inv_sub_bytes(ptr noundef %133) %135 = load ptr, ptr %3, align 8 %136 = load ptr, ptr %6, align 8 %137 = call i32 @add_round_key(ptr noundef %135, ptr noundef %136) %138 = load ptr, ptr %5, align 8 %139 = call i32 @free(ptr noundef %138) %140 = load ptr, ptr %6, align 8 %141 = call i32 @free(ptr noundef %140) ret void } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @expand_key(ptr noundef, i32 noundef) #1 declare i32 @add_round_key(ptr noundef, ptr noundef) #1 declare i32 @inv_shift_rows(ptr noundef) #1 declare i32 @inv_sub_bytes(ptr noundef) #1 declare i32 @inv_mix_columns(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1hdl3ssa.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"memory allocation failure in %s:%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [139 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/tronje/simple_aes/refs/heads/master/simple_aes.c\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @aes192_decrypt(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %12 = call i64 @calloc(i32 noundef 208, i32 noundef 4) %13 = inttoptr i64 %12 to ptr store ptr %13, ptr %5, align 8 %14 = call i64 @calloc(i32 noundef 16, i32 noundef 4) %15 = inttoptr i64 %14 to ptr store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %24 19: ; preds = %16 %20 = load i32, ptr @stderr, align 4 %21 = call i32 @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 435) %22 = load i32, ptr @EXIT_FAILURE, align 4 %23 = call i32 @exit(i32 noundef %22) #3 unreachable 24: ; preds = %16 br label %25 25: ; preds = %24 br label %26 26: ; preds = %25 %27 = load ptr, ptr %6, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %34 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 436) %32 = load i32, ptr @EXIT_FAILURE, align 4 %33 = call i32 @exit(i32 noundef %32) #3 unreachable 34: ; preds = %26 br label %35 35: ; preds = %34 store i32 0, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %36, 24 br i1 %37, label %.lr.ph, label %53 .lr.ph: ; preds = %35 br label %38 38: ; preds = %.lr.ph, %48 %39 = load ptr, ptr %4, align 8 %40 = load i32, ptr %7, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 %43 = load i32, ptr %42, align 4 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %7, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 store i32 %43, ptr %47, align 4 br label %48 48: ; preds = %38 %49 = load i32, ptr %7, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %7, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp slt i32 %51, 24 br i1 %52, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %53 53: ; preds = %._crit_edge, %35 %54 = load ptr, ptr %5, align 8 %55 = call i32 @expand_key(ptr noundef %54, i32 noundef 192) store i32 0, ptr %8, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %56, 16 br i1 %57, label %.lr.ph2, label %74 .lr.ph2: ; preds = %53 br label %58 58: ; preds = %.lr.ph2, %69 %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 192, %60 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i32, ptr %59, i64 %62 %64 = load i32, ptr %63, align 4 %65 = load ptr, ptr %6, align 8 %66 = load i32, ptr %8, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i32, ptr %65, i64 %67 store i32 %64, ptr %68, align 4 br label %69 69: ; preds = %58 %70 = load i32, ptr %8, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %8, align 4 %72 = load i32, ptr %8, align 4 %73 = icmp slt i32 %72, 16 br i1 %73, label %58, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %69 br label %74 74: ; preds = %._crit_edge3, %53 %75 = load ptr, ptr %3, align 8 %76 = load ptr, ptr %6, align 8 %77 = call i32 @add_round_key(ptr noundef %75, ptr noundef %76) store i32 1, ptr %9, align 4 %78 = load i32, ptr %9, align 4 %79 = icmp sle i32 %78, 11 br i1 %79, label %.lr.ph8, label %117 .lr.ph8: ; preds = %74 br label %80 80: ; preds = %.lr.ph8, %112 %81 = load ptr, ptr %3, align 8 %82 = call i32 @inv_shift_rows(ptr noundef %81) %83 = load ptr, ptr %3, align 8 %84 = call i32 @inv_sub_bytes(ptr noundef %83) store i32 0, ptr %10, align 4 %85 = load i32, ptr %10, align 4 %86 = icmp slt i32 %85, 16 br i1 %86, label %.lr.ph5, label %106 .lr.ph5: ; preds = %80 br label %87 87: ; preds = %.lr.ph5, %101 %88 = load ptr, ptr %5, align 8 %89 = load i32, ptr %10, align 4 %90 = load i32, ptr %9, align 4 %91 = mul nsw i32 %90, 16 %92 = sub nsw i32 192, %91 %93 = add nsw i32 %89, %92 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i32, ptr %88, i64 %94 %96 = load i32, ptr %95, align 4 %97 = load ptr, ptr %6, align 8 %98 = load i32, ptr %10, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds i32, ptr %97, i64 %99 store i32 %96, ptr %100, align 4 br label %101 101: ; preds = %87 %102 = load i32, ptr %10, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %10, align 4 %104 = load i32, ptr %10, align 4 %105 = icmp slt i32 %104, 16 br i1 %105, label %87, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %101 br label %106 106: ; preds = %._crit_edge6, %80 %107 = load ptr, ptr %3, align 8 %108 = load ptr, ptr %6, align 8 %109 = call i32 @add_round_key(ptr noundef %107, ptr noundef %108) %110 = load ptr, ptr %3, align 8 %111 = call i32 @inv_mix_columns(ptr noundef %110) br label %112 112: ; preds = %106 %113 = load i32, ptr %9, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %9, align 4 %115 = load i32, ptr %9, align 4 %116 = icmp sle i32 %115, 11 br i1 %116, label %80, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %112 br label %117 117: ; preds = %._crit_edge9, %74 store i32 0, ptr %11, align 4 %118 = load i32, ptr %11, align 4 %119 = icmp slt i32 %118, 16 br i1 %119, label %.lr.ph11, label %135 .lr.ph11: ; preds = %117 br label %120 120: ; preds = %.lr.ph11, %130 %121 = load ptr, ptr %5, align 8 %122 = load i32, ptr %11, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %121, i64 %123 %125 = load i32, ptr %124, align 4 %126 = load ptr, ptr %6, align 8 %127 = load i32, ptr %11, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds i32, ptr %126, i64 %128 store i32 %125, ptr %129, align 4 br label %130 130: ; preds = %120 %131 = load i32, ptr %11, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %11, align 4 %133 = load i32, ptr %11, align 4 %134 = icmp slt i32 %133, 16 br i1 %134, label %120, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %130 br label %135 135: ; preds = %._crit_edge12, %117 %136 = load ptr, ptr %3, align 8 %137 = call i32 @inv_shift_rows(ptr noundef %136) %138 = load ptr, ptr %3, align 8 %139 = call i32 @inv_sub_bytes(ptr noundef %138) %140 = load ptr, ptr %3, align 8 %141 = load ptr, ptr %6, align 8 %142 = call i32 @add_round_key(ptr noundef %140, ptr noundef %141) %143 = load ptr, ptr %5, align 8 %144 = call i32 @free(ptr noundef %143) %145 = load ptr, ptr %6, align 8 %146 = call i32 @free(ptr noundef %145) ret void } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @expand_key(ptr noundef, i32 noundef) #1 declare i32 @add_round_key(ptr noundef, ptr noundef) #1 declare i32 @inv_shift_rows(ptr noundef) #1 declare i32 @inv_sub_bytes(ptr noundef) #1 declare i32 @inv_mix_columns(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpedwx82l3.c' source_filename = "/tmp/tmpedwx82l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } @.str = private unnamed_addr constant [21 x i8] c"%Y-%m-%d %H:%M:%S.%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_time_str_fmt(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca %struct.tm, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %13 = call i32 @localtime_r(ptr noundef %7, ptr noundef %12) %14 = load ptr, ptr %11, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %5 store ptr @.str, ptr %11, align 8 br label %17 17: ; preds = %16, %5 %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %10, align 8 %20 = load ptr, ptr %11, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i64 @catcierge_strftime(ptr noundef %18, i64 noundef %19, ptr noundef %20, ptr noundef %12, ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %17 store ptr null, ptr %6, align 8 br label %27 25: ; preds = %17 %26 = load ptr, ptr %9, align 8 store ptr %26, ptr %6, align 8 br label %27 27: ; preds = %25, %24 %28 = load ptr, ptr %6, align 8 ret ptr %28 } declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i64 @catcierge_strftime(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpedwx82l3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.tm = type { i32 } @.str = private unnamed_addr constant [21 x i8] c"%Y-%m-%d %H:%M:%S.%f\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_time_str_fmt(i32 noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca %struct.tm, align 4 store i32 %0, ptr %7, align 4 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i64 %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 %13 = call i32 @localtime_r(ptr noundef %7, ptr noundef %12) %14 = load ptr, ptr %11, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %5 store ptr @.str, ptr %11, align 8 br label %17 17: ; preds = %16, %5 %18 = load ptr, ptr %9, align 8 %19 = load i64, ptr %10, align 8 %20 = load ptr, ptr %11, align 8 %21 = load ptr, ptr %8, align 8 %22 = call i64 @catcierge_strftime(ptr noundef %18, i64 noundef %19, ptr noundef %20, ptr noundef %12, ptr noundef %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %24, label %25 24: ; preds = %17 store ptr null, ptr %6, align 8 br label %27 25: ; preds = %17 %26 = load ptr, ptr %9, align 8 store ptr %26, ptr %6, align 8 br label %27 27: ; preds = %25, %24 %28 = load ptr, ptr %6, align 8 ret ptr %28 } declare i32 @localtime_r(ptr noundef, ptr noundef) #1 declare i64 @catcierge_strftime(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbeab43br.c' source_filename = "/tmp/tmpbeab43br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_free_mac_context(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %9 [ i32 1, label %6 i32 2, label %6 ] 6: ; preds = %2, %2 %7 = load ptr, ptr %3, align 8 %8 = call i32 @hmac_free(ptr noundef %7) br label %9 9: ; preds = %6, %2 ret void } declare i32 @hmac_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/tmpbeab43br.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crypto_free_mac_context(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %9 [ i32 1, label %6 i32 2, label %6 ] 6: ; preds = %2, %2 %7 = load ptr, ptr %3, align 8 %8 = call i32 @hmac_free(ptr noundef %7) br label %9 9: ; preds = %6, %2 ret void } declare i32 @hmac_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/tmp0eubn5ul.c' source_filename = "/tmp/tmp0eubn5ul.c" target datalayout = "e-m:e-p270: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/tmp0eubn5ul.c" target datalayout = "e-m:e-p270: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/tmpksy4him6.c' source_filename = "/tmp/tmpksy4him6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mark_mismatch(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i8, align 1 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store i32 0, ptr %17, align 4 store i32 0, ptr %18, align 4 %27 = load ptr, ptr %16, align 8 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, 2 store i32 %29, ptr %22, align 4 %30 = load i32, ptr %22, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 8 %33 = trunc i64 %32 to i32 %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %23, align 8 store i64 0, ptr %24, align 8 store i64 0, ptr %25, align 8 %36 = load i32, ptr %9, align 4 %37 = load ptr, ptr %12, align 8 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds i64, ptr %37, i64 %38 store ptr %39, ptr %12, align 8 %40 = load i32, ptr %10, align 4 %41 = load ptr, ptr %13, align 8 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i64, ptr %41, i64 %42 store ptr %43, ptr %13, align 8 %44 = load i32, ptr %10, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %54 46: ; preds = %8 %47 = load i32, ptr %10, align 4 %48 = call i64 @to_cigar_int(i32 noundef %47, i8 noundef signext 83) %49 = load ptr, ptr %23, align 8 %50 = load i32, ptr %18, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %18, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds i64, ptr %49, i64 %52 store i64 %48, ptr %53, align 8 br label %54 54: ; preds = %46, %8 store i32 0, ptr %19, align 4 br label %55 55: ; preds = %147, %54 %56 = load i32, ptr %19, align 4 %57 = load ptr, ptr %16, align 8 %58 = load i32, ptr %57, align 4 %59 = icmp slt i32 %56, %58 br i1 %59, label %60, label %150 60: ; preds = %55 %61 = load ptr, ptr %15, align 8 %62 = load ptr, ptr %61, align 8 %63 = load i32, ptr %19, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i64, ptr %62, i64 %64 %66 = load i64, ptr %65, align 8 %67 = call signext i8 @cigar_int_to_op(i64 noundef %66) store i8 %67, ptr %26, align 1 %68 = load ptr, ptr %15, align 8 %69 = load ptr, ptr %68, align 8 %70 = load i32, ptr %19, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i64, ptr %69, i64 %71 %73 = load i64, ptr %72, align 8 %74 = call i32 @cigar_int_to_len(i64 noundef %73) store i32 %74, ptr %20, align 4 %75 = load i8, ptr %26, align 1 %76 = sext i8 %75 to i32 %77 = icmp eq i32 %76, 77 br i1 %77, label %78, label %110 78: ; preds = %60 store i32 0, ptr %21, align 4 br label %79 79: ; preds = %106, %78 %80 = load i32, ptr %21, align 4 %81 = load i32, ptr %20, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %83, label %109 83: ; preds = %79 %84 = load ptr, ptr %12, align 8 %85 = load i64, ptr %84, align 8 %86 = load ptr, ptr %13, align 8 %87 = load i64, ptr %86, align 8 %88 = icmp ne i64 %85, %87 br i1 %88, label %89, label %96 89: ; preds = %83 %90 = load i32, ptr %17, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %17, align 4 %92 = load ptr, ptr %23, align 8 %93 = call ptr @store_previous_m(i32 noundef 2, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %92) store ptr %93, ptr %23, align 8 %94 = load i64, ptr %25, align 8 %95 = add nsw i64 %94, 1 store i64 %95, ptr %25, align 8 br label %101 96: ; preds = %83 %97 = load ptr, ptr %23, align 8 %98 = call ptr @store_previous_m(i32 noundef 1, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %97) store ptr %98, ptr %23, align 8 %99 = load i64, ptr %24, align 8 %100 = add nsw i64 %99, 1 store i64 %100, ptr %24, align 8 br label %101 101: ; preds = %96, %89 %102 = load ptr, ptr %12, align 8 %103 = getelementptr inbounds i64, ptr %102, i32 1 store ptr %103, ptr %12, align 8 %104 = load ptr, ptr %13, align 8 %105 = getelementptr inbounds i64, ptr %104, i32 1 store ptr %105, ptr %13, align 8 br label %106 106: ; preds = %101 %107 = load i32, ptr %21, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %21, align 4 br label %79, !llvm.loop !6 109: ; preds = %79 br label %146 110: ; preds = %60 %111 = load i8, ptr %26, align 1 %112 = sext i8 %111 to i32 %113 = icmp eq i32 %112, 73 br i1 %113, label %114, label %127 114: ; preds = %110 %115 = load i32, ptr %20, align 4 %116 = load ptr, ptr %13, align 8 %117 = sext i32 %115 to i64 %118 = getelementptr inbounds i64, ptr %116, i64 %117 store ptr %118, ptr %13, align 8 %119 = load i32, ptr %20, align 4 %120 = load i32, ptr %17, align 4 %121 = add nsw i32 %120, %119 store i32 %121, ptr %17, align 4 %122 = load ptr, ptr %23, align 8 %123 = call ptr @store_previous_m(i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %122) store ptr %123, ptr %23, align 8 %124 = load ptr, ptr %23, align 8 %125 = load i32, ptr %20, align 4 %126 = call ptr @add_cigar(ptr noundef %124, ptr noundef %18, ptr noundef %22, i32 noundef %125, i8 noundef signext 73) store ptr %126, ptr %23, align 8 br label %145 127: ; preds = %110 %128 = load i8, ptr %26, align 1 %129 = sext i8 %128 to i32 %130 = icmp eq i32 %129, 68 br i1 %130, label %131, label %144 131: ; preds = %127 %132 = load i32, ptr %20, align 4 %133 = load ptr, ptr %12, align 8 %134 = sext i32 %132 to i64 %135 = getelementptr inbounds i64, ptr %133, i64 %134 store ptr %135, ptr %12, align 8 %136 = load i32, ptr %20, align 4 %137 = load i32, ptr %17, align 4 %138 = add nsw i32 %137, %136 store i32 %138, ptr %17, align 4 %139 = load ptr, ptr %23, align 8 %140 = call ptr @store_previous_m(i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %139) store ptr %140, ptr %23, align 8 %141 = load ptr, ptr %23, align 8 %142 = load i32, ptr %20, align 4 %143 = call ptr @add_cigar(ptr noundef %141, ptr noundef %18, ptr noundef %22, i32 noundef %142, i8 noundef signext 68) store ptr %143, ptr %23, align 8 br label %144 144: ; preds = %131, %127 br label %145 145: ; preds = %144, %114 br label %146 146: ; preds = %145, %109 br label %147 147: ; preds = %146 %148 = load i32, ptr %19, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %19, align 4 br label %55, !llvm.loop !8 150: ; preds = %55 %151 = load ptr, ptr %23, align 8 %152 = call ptr @store_previous_m(i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %151) store ptr %152, ptr %23, align 8 %153 = load i32, ptr %14, align 4 %154 = load i32, ptr %11, align 4 %155 = sub nsw i32 %153, %154 %156 = sub nsw i32 %155, 1 store i32 %156, ptr %20, align 4 %157 = load i32, ptr %20, align 4 %158 = icmp sgt i32 %157, 0 br i1 %158, label %159, label %163 159: ; preds = %150 %160 = load ptr, ptr %23, align 8 %161 = load i32, ptr %20, align 4 %162 = call ptr @add_cigar(ptr noundef %160, ptr noundef %18, ptr noundef %22, i32 noundef %161, i8 noundef signext 83) store ptr %162, ptr %23, align 8 br label %163 163: ; preds = %159, %150 %164 = load i32, ptr %18, align 4 %165 = load ptr, ptr %16, align 8 store i32 %164, ptr %165, align 4 %166 = load ptr, ptr %15, align 8 %167 = load ptr, ptr %166, align 8 %168 = call i32 @free(ptr noundef %167) %169 = load ptr, ptr %23, align 8 %170 = load ptr, ptr %15, align 8 store ptr %169, ptr %170, align 8 %171 = load i32, ptr %17, align 4 ret i32 %171 } declare i64 @malloc(i32 noundef) #1 declare i64 @to_cigar_int(i32 noundef, i8 noundef signext) #1 declare signext i8 @cigar_int_to_op(i64 noundef) #1 declare i32 @cigar_int_to_len(i64 noundef) #1 declare ptr @store_previous_m(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @add_cigar(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpksy4him6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mark_mismatch(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 { %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca i64, align 8 %25 = alloca i64, align 8 %26 = alloca i8, align 1 store i32 %0, ptr %9, align 4 store i32 %1, ptr %10, align 4 store i32 %2, ptr %11, align 4 store ptr %3, ptr %12, align 8 store ptr %4, ptr %13, align 8 store i32 %5, ptr %14, align 4 store ptr %6, ptr %15, align 8 store ptr %7, ptr %16, align 8 store i32 0, ptr %17, align 4 store i32 0, ptr %18, align 4 %27 = load ptr, ptr %16, align 8 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, 2 store i32 %29, ptr %22, align 4 %30 = load i32, ptr %22, align 4 %31 = sext i32 %30 to i64 %32 = mul i64 %31, 8 %33 = trunc i64 %32 to i32 %34 = call i64 @malloc(i32 noundef %33) %35 = inttoptr i64 %34 to ptr store ptr %35, ptr %23, align 8 store i64 0, ptr %24, align 8 store i64 0, ptr %25, align 8 %36 = load i32, ptr %9, align 4 %37 = load ptr, ptr %12, align 8 %38 = sext i32 %36 to i64 %39 = getelementptr inbounds i64, ptr %37, i64 %38 store ptr %39, ptr %12, align 8 %40 = load i32, ptr %10, align 4 %41 = load ptr, ptr %13, align 8 %42 = sext i32 %40 to i64 %43 = getelementptr inbounds i64, ptr %41, i64 %42 store ptr %43, ptr %13, align 8 %44 = load i32, ptr %10, align 4 %45 = icmp sgt i32 %44, 0 br i1 %45, label %46, label %54 46: ; preds = %8 %47 = load i32, ptr %10, align 4 %48 = call i64 @to_cigar_int(i32 noundef %47, i8 noundef signext 83) %49 = load ptr, ptr %23, align 8 %50 = load i32, ptr %18, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %18, align 4 %52 = sext i32 %50 to i64 %53 = getelementptr inbounds i64, ptr %49, i64 %52 store i64 %48, ptr %53, align 8 br label %54 54: ; preds = %46, %8 store i32 0, ptr %19, align 4 %55 = load i32, ptr %19, align 4 %56 = load ptr, ptr %16, align 8 %57 = load i32, ptr %56, align 4 %58 = icmp slt i32 %55, %57 br i1 %58, label %.lr.ph2, label %155 .lr.ph2: ; preds = %54 br label %59 59: ; preds = %.lr.ph2, %148 %60 = load ptr, ptr %15, align 8 %61 = load ptr, ptr %60, align 8 %62 = load i32, ptr %19, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i64, ptr %61, i64 %63 %65 = load i64, ptr %64, align 8 %66 = call signext i8 @cigar_int_to_op(i64 noundef %65) store i8 %66, ptr %26, align 1 %67 = load ptr, ptr %15, align 8 %68 = load ptr, ptr %67, align 8 %69 = load i32, ptr %19, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i64, ptr %68, i64 %70 %72 = load i64, ptr %71, align 8 %73 = call i32 @cigar_int_to_len(i64 noundef %72) store i32 %73, ptr %20, align 4 %74 = load i8, ptr %26, align 1 %75 = sext i8 %74 to i32 %76 = icmp eq i32 %75, 77 br i1 %76, label %77, label %111 77: ; preds = %59 store i32 0, ptr %21, align 4 %78 = load i32, ptr %21, align 4 %79 = load i32, ptr %20, align 4 %80 = icmp slt i32 %78, %79 br i1 %80, label %.lr.ph, label %110 .lr.ph: ; preds = %77 br label %81 81: ; preds = %.lr.ph, %104 %82 = load ptr, ptr %12, align 8 %83 = load i64, ptr %82, align 8 %84 = load ptr, ptr %13, align 8 %85 = load i64, ptr %84, align 8 %86 = icmp ne i64 %83, %85 br i1 %86, label %87, label %94 87: ; preds = %81 %88 = load i32, ptr %17, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %17, align 4 %90 = load ptr, ptr %23, align 8 %91 = call ptr @store_previous_m(i32 noundef 2, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %90) store ptr %91, ptr %23, align 8 %92 = load i64, ptr %25, align 8 %93 = add nsw i64 %92, 1 store i64 %93, ptr %25, align 8 br label %99 94: ; preds = %81 %95 = load ptr, ptr %23, align 8 %96 = call ptr @store_previous_m(i32 noundef 1, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %95) store ptr %96, ptr %23, align 8 %97 = load i64, ptr %24, align 8 %98 = add nsw i64 %97, 1 store i64 %98, ptr %24, align 8 br label %99 99: ; preds = %94, %87 %100 = load ptr, ptr %12, align 8 %101 = getelementptr inbounds i64, ptr %100, i32 1 store ptr %101, ptr %12, align 8 %102 = load ptr, ptr %13, align 8 %103 = getelementptr inbounds i64, ptr %102, i32 1 store ptr %103, ptr %13, align 8 br label %104 104: ; preds = %99 %105 = load i32, ptr %21, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %21, align 4 %107 = load i32, ptr %21, align 4 %108 = load i32, ptr %20, align 4 %109 = icmp slt i32 %107, %108 br i1 %109, label %81, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %104 br label %110 110: ; preds = %._crit_edge, %77 br label %147 111: ; preds = %59 %112 = load i8, ptr %26, align 1 %113 = sext i8 %112 to i32 %114 = icmp eq i32 %113, 73 br i1 %114, label %115, label %128 115: ; preds = %111 %116 = load i32, ptr %20, align 4 %117 = load ptr, ptr %13, align 8 %118 = sext i32 %116 to i64 %119 = getelementptr inbounds i64, ptr %117, i64 %118 store ptr %119, ptr %13, align 8 %120 = load i32, ptr %20, align 4 %121 = load i32, ptr %17, align 4 %122 = add nsw i32 %121, %120 store i32 %122, ptr %17, align 4 %123 = load ptr, ptr %23, align 8 %124 = call ptr @store_previous_m(i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %123) store ptr %124, ptr %23, align 8 %125 = load ptr, ptr %23, align 8 %126 = load i32, ptr %20, align 4 %127 = call ptr @add_cigar(ptr noundef %125, ptr noundef %18, ptr noundef %22, i32 noundef %126, i8 noundef signext 73) store ptr %127, ptr %23, align 8 br label %146 128: ; preds = %111 %129 = load i8, ptr %26, align 1 %130 = sext i8 %129 to i32 %131 = icmp eq i32 %130, 68 br i1 %131, label %132, label %145 132: ; preds = %128 %133 = load i32, ptr %20, align 4 %134 = load ptr, ptr %12, align 8 %135 = sext i32 %133 to i64 %136 = getelementptr inbounds i64, ptr %134, i64 %135 store ptr %136, ptr %12, align 8 %137 = load i32, ptr %20, align 4 %138 = load i32, ptr %17, align 4 %139 = add nsw i32 %138, %137 store i32 %139, ptr %17, align 4 %140 = load ptr, ptr %23, align 8 %141 = call ptr @store_previous_m(i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %140) store ptr %141, ptr %23, align 8 %142 = load ptr, ptr %23, align 8 %143 = load i32, ptr %20, align 4 %144 = call ptr @add_cigar(ptr noundef %142, ptr noundef %18, ptr noundef %22, i32 noundef %143, i8 noundef signext 68) store ptr %144, ptr %23, align 8 br label %145 145: ; preds = %132, %128 br label %146 146: ; preds = %145, %115 br label %147 147: ; preds = %146, %110 br label %148 148: ; preds = %147 %149 = load i32, ptr %19, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %19, align 4 %151 = load i32, ptr %19, align 4 %152 = load ptr, ptr %16, align 8 %153 = load i32, ptr %152, align 4 %154 = icmp slt i32 %151, %153 br i1 %154, label %59, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %148 br label %155 155: ; preds = %._crit_edge3, %54 %156 = load ptr, ptr %23, align 8 %157 = call ptr @store_previous_m(i32 noundef 0, ptr noundef %24, ptr noundef %25, ptr noundef %18, ptr noundef %22, ptr noundef %156) store ptr %157, ptr %23, align 8 %158 = load i32, ptr %14, align 4 %159 = load i32, ptr %11, align 4 %160 = sub nsw i32 %158, %159 %161 = sub nsw i32 %160, 1 store i32 %161, ptr %20, align 4 %162 = load i32, ptr %20, align 4 %163 = icmp sgt i32 %162, 0 br i1 %163, label %164, label %168 164: ; preds = %155 %165 = load ptr, ptr %23, align 8 %166 = load i32, ptr %20, align 4 %167 = call ptr @add_cigar(ptr noundef %165, ptr noundef %18, ptr noundef %22, i32 noundef %166, i8 noundef signext 83) store ptr %167, ptr %23, align 8 br label %168 168: ; preds = %164, %155 %169 = load i32, ptr %18, align 4 %170 = load ptr, ptr %16, align 8 store i32 %169, ptr %170, align 4 %171 = load ptr, ptr %15, align 8 %172 = load ptr, ptr %171, align 8 %173 = call i32 @free(ptr noundef %172) %174 = load ptr, ptr %23, align 8 %175 = load ptr, ptr %15, align 8 store ptr %174, ptr %175, align 8 %176 = load i32, ptr %17, align 4 ret i32 %176 } declare i64 @malloc(i32 noundef) #1 declare i64 @to_cigar_int(i32 noundef, i8 noundef signext) #1 declare signext i8 @cigar_int_to_op(i64 noundef) #1 declare i32 @cigar_int_to_len(i64 noundef) #1 declare ptr @store_previous_m(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @add_cigar(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i8 noundef signext) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmprwsqx3ll.c' source_filename = "/tmp/tmprwsqx3ll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FAILED - %10s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"P\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%-10s ......OK \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_ls_compare(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i64, ptr %6, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %8, align 8 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str.1) br label %20 17: ; preds = %4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18) br label %20 20: ; preds = %17, %12 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprwsqx3ll.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"FAILED - %10s\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"P\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"%-10s ......OK \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_ls_compare(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load i64, ptr %6, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @printf(ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %8, align 8 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str.1) br label %20 17: ; preds = %4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18) br label %20 20: ; preds = %17, %12 ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7_qt1wsc.c' source_filename = "/tmp/tmp7_qt1wsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psw_read_ac() #0 { %1 = call i32 @psw_read_bit(i32 noundef 6) ret i32 %1 } declare i32 @psw_read_bit(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/tmp7_qt1wsc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @psw_read_ac() #0 { %1 = call i32 @psw_read_bit(i32 noundef 6) ret i32 %1 } declare i32 @psw_read_bit(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"}