llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpadh7r3bu.c' source_filename = "/tmp/tmpadh7r3bu.c" target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [5 x i8] c"AA 2\00", align 1 @.str = private unnamed_addr constant [9 x i8] c"%s %n %d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%s %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 [5 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.array, i64 5, i1 false) %7 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %3, ptr noundef %5) %10 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10, i32 noundef %11, i32 noundef %12) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpadh7r3bu.c" target datalayout = "e-m:e-p270: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.array = private unnamed_addr constant [5 x i8] c"AA 2\00", align 1 @.str = private unnamed_addr constant [9 x i8] c"%s %n %d\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"%s %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 [5 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [1000 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.array, i64 5, i1 false) %7 = getelementptr inbounds [5 x i8], ptr %2, i64 0, i64 0 %8 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %9 = call i32 @sscanf(ptr noundef %7, ptr noundef @.str, ptr noundef %8, ptr noundef %3, ptr noundef %5) %10 = getelementptr inbounds [1000 x i8], ptr %6, i64 0, i64 0 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %5, align 4 %13 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10, i32 noundef %11, i32 noundef %12) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpvquxnf0v.c' source_filename = "/tmp/tmpvquxnf0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_MUTEX_RECURSIVE = dso_local global i32 0, align 4 @PTHREAD_MUTEX_ROBUST = dso_local global i32 0, align 4 @PTHREAD_PROCESS_SHARED = 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/tmpvquxnf0v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_MUTEX_RECURSIVE = dso_local global i32 0, align 4 @PTHREAD_MUTEX_ROBUST = dso_local global i32 0, align 4 @PTHREAD_PROCESS_SHARED = 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/tmp59_5nrte.c' source_filename = "/tmp/tmp59_5nrte.c" target datalayout = "e-m:e-p270: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/tmp59_5nrte.c" target datalayout = "e-m:e-p270: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/tmp7g_39_x0.c' source_filename = "/tmp/tmp7g_39_x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BYE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bye(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 @send(i32 noundef %3, ptr noundef @.str, i32 noundef 3, i32 noundef 0) %5 = load i32, ptr %2, align 4 %6 = call i32 @close(i32 noundef %5) %7 = call i32 (...) @quit() ret i32 0 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @quit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7g_39_x0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"BYE\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bye(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 @send(i32 noundef %3, ptr noundef @.str, i32 noundef 3, i32 noundef 0) %5 = load i32, ptr %2, align 4 %6 = call i32 @close(i32 noundef %5) %7 = call i32 (...) @quit() ret i32 0 } declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @quit(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3xben6v_.c' source_filename = "/tmp/tmp3xben6v_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"hello Github\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3xben6v_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"hello Github\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkvh2k3m2.c' source_filename = "/tmp/tmpkvh2k3m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [4096 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %12, align 4 %14 = sdiv i32 %13, 8 store i32 %14, ptr %10, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store ptr %18, ptr %11, align 8 %19 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 4096) %21 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %8, align 4 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load i32, ptr %8, align 4 %26 = mul nsw i32 %25, 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, %26 store i32 %29, ptr %27, align 4 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %32 = load i32, ptr %8, align 4 %33 = call i32 @AribToString(ptr noundef %30, ptr noundef %31, i32 noundef %32) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @AribToString(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/tmpkvh2k3m2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getStr(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca [4096 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 %12 = load ptr, ptr %7, align 8 %13 = load i32, ptr %12, align 4 %14 = sdiv i32 %13, 8 store i32 %14, ptr %10, align 4 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %10, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 store ptr %18, ptr %11, align 8 %19 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %20 = call i32 @memset(ptr noundef %19, i32 noundef 0, i32 noundef 4096) %21 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %22 = load ptr, ptr %11, align 8 %23 = load i32, ptr %8, align 4 %24 = call i32 @memcpy(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load i32, ptr %8, align 4 %26 = mul nsw i32 %25, 8 %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %27, align 4 %29 = add nsw i32 %28, %26 store i32 %29, ptr %27, align 4 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %32 = load i32, ptr %8, align 4 %33 = call i32 @AribToString(ptr noundef %30, ptr noundef %31, i32 noundef %32) ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @AribToString(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/tmpkt52a1xu.c' source_filename = "/tmp/tmpkt52a1xu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @collatzLen(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i64 %0, ptr %2, align 8 store i32 1, ptr %3, align 4 br label %4 4: ; preds = %7, %1 %5 = load i64, ptr %2, align 8 %6 = icmp ugt i64 %5, 1 br i1 %6, label %7, label %12 7: ; preds = %4 %8 = load i64, ptr %2, align 8 %9 = call i64 @nextCollatz(i64 noundef %8) store i64 %9, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = add i32 %10, 1 store i32 %11, ptr %3, align 4 br label %4, !llvm.loop !6 12: ; preds = %4 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i64 @nextCollatz(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkt52a1xu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @collatzLen(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i32, align 4 store i64 %0, ptr %2, align 8 store i32 1, ptr %3, align 4 %4 = load i64, ptr %2, align 8 %5 = icmp ugt i64 %4, 1 br i1 %5, label %.lr.ph, label %13 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load i64, ptr %2, align 8 %8 = call i64 @nextCollatz(i64 noundef %7) store i64 %8, ptr %2, align 8 %9 = load i32, ptr %3, align 4 %10 = add i32 %9, 1 store i32 %10, ptr %3, align 4 %11 = load i64, ptr %2, align 8 %12 = icmp ugt i64 %11, 1 br i1 %12, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %13 13: ; preds = %._crit_edge, %1 %14 = load i32, ptr %3, align 4 ret i32 %14 } declare i64 @nextCollatz(i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2nvovkct.c' source_filename = "/tmp/tmp2nvovkct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [5 x [10 x i8]], align 16 %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 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %29, %2 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %32 11: ; preds = %8 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %13 %15 = getelementptr inbounds [10 x i8], ptr %14, i64 0, i64 0 %16 = load i32, ptr @stdin, align 4 %17 = call i32 @fgets(ptr noundef %15, i32 noundef 10, i32 noundef %16) %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %19 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %22 %24 = getelementptr inbounds [10 x i8], ptr %23, i64 0, i64 0 %25 = call i32 @strlen(ptr noundef %24) %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [10 x i8], ptr %20, i64 0, i64 %27 store i8 0, ptr %28, align 1 br label %29 29: ; preds = %11 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 br label %8, !llvm.loop !6 32: ; preds = %8 store i32 0, ptr %7, align 4 br label %33 33: ; preds = %42, %32 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 5 br i1 %35, label %36, label %45 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %38 %40 = getelementptr inbounds [10 x i8], ptr %39, i64 0, i64 0 %41 = call i32 @puts(ptr noundef %40) br label %42 42: ; preds = %36 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %33, !llvm.loop !8 45: ; preds = %33 %46 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 0 %47 = call i32 @mytoupper(ptr noundef %46, i32 noundef 5) store i32 0, ptr %7, align 4 br label %48 48: ; preds = %57, %45 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %49, 5 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %53 %55 = getelementptr inbounds [10 x i8], ptr %54, i64 0, i64 0 %56 = call i32 @puts(ptr noundef %55) br label %57 57: ; preds = %51 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %48, !llvm.loop !9 60: ; preds = %48 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @mytoupper(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2nvovkct.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [5 x [10 x i8]], align 16 %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 store i32 0, ptr %7, align 4 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %28 %11 = load i32, ptr %7, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %12 %14 = getelementptr inbounds [10 x i8], ptr %13, i64 0, i64 0 %15 = load i32, ptr @stdin, align 4 %16 = call i32 @fgets(ptr noundef %14, i32 noundef 10, i32 noundef %15) %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %18 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %21 %23 = getelementptr inbounds [10 x i8], ptr %22, i64 0, i64 0 %24 = call i32 @strlen(ptr noundef %23) %25 = sub nsw i32 %24, 1 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [10 x i8], ptr %19, i64 0, i64 %26 store i8 0, ptr %27, align 1 br label %28 28: ; preds = %10 %29 = load i32, ptr %7, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %7, align 4 %31 = load i32, ptr %7, align 4 %32 = icmp slt i32 %31, 5 br i1 %32, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 5 br i1 %35, label %.lr.ph2, label %47 .lr.ph2: ; preds = %33 br label %36 36: ; preds = %.lr.ph2, %42 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %38 %40 = getelementptr inbounds [10 x i8], ptr %39, i64 0, i64 0 %41 = call i32 @puts(ptr noundef %40) br label %42 42: ; preds = %36 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %7, align 4 %46 = icmp slt i32 %45, 5 br i1 %46, label %36, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %47 47: ; preds = %._crit_edge3, %33 %48 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 0 %49 = call i32 @mytoupper(ptr noundef %48, i32 noundef 5) store i32 0, ptr %7, align 4 %50 = load i32, ptr %7, align 4 %51 = icmp slt i32 %50, 5 br i1 %51, label %.lr.ph5, label %63 .lr.ph5: ; preds = %47 br label %52 52: ; preds = %.lr.ph5, %58 %53 = load i32, ptr %7, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [5 x [10 x i8]], ptr %6, i64 0, i64 %54 %56 = getelementptr inbounds [10 x i8], ptr %55, i64 0, i64 0 %57 = call i32 @puts(ptr noundef %56) br label %58 58: ; preds = %52 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp slt i32 %61, 5 br i1 %62, label %52, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %58 br label %63 63: ; preds = %._crit_edge6, %47 ret i32 0 } declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @mytoupper(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpgtkn9f_l.c' source_filename = "/tmp/tmpgtkn9f_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgtkn9f_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplvtbxu0t.c' source_filename = "/tmp/tmplvtbxu0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.str = private unnamed_addr constant [38 x i8] c"Hello world - this is a string-hello!\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [38 x i8], align 16 %3 = alloca [1 x i8], align 1 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str, i64 38, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %3, i8 0, i64 1, i1 false) %5 = getelementptr inbounds [38 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0 %7 = call ptr @strtok(ptr noundef %5, ptr noundef %6) store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %11, %0 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %16 11: ; preds = %8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0 %15 = call ptr @strtok(ptr noundef null, ptr noundef %14) store ptr %15, ptr %4, align 8 br label %8, !llvm.loop !6 16: ; preds = %8 %17 = load i32, ptr %1, align 4 ret i32 %17 } ; 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare ptr @strtok(ptr noundef, ptr noundef) #3 declare i32 @printf(ptr noundef, ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmplvtbxu0t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.str = private unnamed_addr constant [38 x i8] c"Hello world - this is a string-hello!\00", align 16 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [38 x i8], align 16 %3 = alloca [1 x i8], align 1 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.str, i64 38, i1 false) call void @llvm.memset.p0.i64(ptr align 1 %3, i8 0, i64 1, i1 false) %5 = getelementptr inbounds [38 x i8], ptr %2, i64 0, i64 0 %6 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0 %7 = call ptr @strtok(ptr noundef %5, ptr noundef %6) store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %10 %11 = load ptr, ptr %4, align 8 %12 = call i32 @printf(ptr noundef @.str, ptr noundef %11) %13 = getelementptr inbounds [1 x i8], ptr %3, i64 0, i64 0 %14 = call ptr @strtok(ptr noundef null, ptr noundef %13) store ptr %14, ptr %4, align 8 %15 = load ptr, ptr %4, align 8 %16 = icmp ne ptr %15, null br i1 %16, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %17 17: ; preds = %._crit_edge, %0 %18 = load i32, ptr %1, align 4 ret i32 %18 } ; 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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare ptr @strtok(ptr noundef, ptr noundef) #3 declare i32 @printf(ptr noundef, ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpbctjzzd3.c' source_filename = "/tmp/tmpbctjzzd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ---> %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %10, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 256 br i1 %5, label %6, label %13 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %8) br label %10 10: ; preds = %6 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 br label %3, !llvm.loop !6 13: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbctjzzd3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 ---> %c\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 256 br i1 %4, label %.lr.ph, label %14 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %9 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %7) br label %9 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = add nsw i32 %10, 1 store i32 %11, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %12, 256 br i1 %13, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %14 14: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmppk5e84p1.c' source_filename = "/tmp/tmppk5e84p1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @PR_SET_PDEATHSIG = dso_local global i32 0, align 4 @SIGHUP = dso_local global i32 0, align 4 @SIGUSR1 = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @STDOUT_FILENO = 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/tmppk5e84p1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @F_GETFL = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @PR_SET_PDEATHSIG = dso_local global i32 0, align 4 @SIGHUP = dso_local global i32 0, align 4 @SIGUSR1 = dso_local global i32 0, align 4 @SIG_IGN = dso_local global i32 0, align 4 @STDOUT_FILENO = 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/tmppbyq45as.c' source_filename = "/tmp/tmppbyq45as.c" target datalayout = "e-m:e-p270: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/tmppbyq45as.c" target datalayout = "e-m:e-p270: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/tmp3ya5c_c2.c' source_filename = "/tmp/tmp3ya5c_c2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @synth_1to1_mono2stereo(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 i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @synth_1to1(ptr noundef %9, i32 noundef 0, ptr noundef %10, ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %14, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -128 store ptr %18, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %19 19: ; preds = %30, %3 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 32 br i1 %21, label %22, label %33 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds i16, ptr %23, i64 0 %25 = load i16, ptr %24, align 2 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i16, ptr %26, i64 1 store i16 %25, ptr %27, align 2 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds i8, ptr %28, i64 4 store ptr %29, ptr %5, align 8 br label %30 30: ; preds = %22 %31 = load i32, ptr %7, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %7, align 4 br label %19, !llvm.loop !6 33: ; preds = %19 %34 = load i32, ptr %8, align 4 ret i32 %34 } declare i32 @synth_1to1(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3ya5c_c2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @synth_1to1_mono2stereo(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 i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = call i32 @synth_1to1(ptr noundef %9, i32 noundef 0, ptr noundef %10, ptr noundef %11) store i32 %12, ptr %8, align 4 %13 = load ptr, ptr %5, align 8 %14 = load ptr, ptr %6, align 8 %15 = load i32, ptr %14, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %13, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -128 store ptr %18, ptr %5, align 8 store i32 0, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 32 br i1 %20, label %.lr.ph, label %34 .lr.ph: ; preds = %3 br label %21 21: ; preds = %.lr.ph, %29 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds i16, ptr %22, i64 0 %24 = load i16, ptr %23, align 2 %25 = load ptr, ptr %5, align 8 %26 = getelementptr inbounds i16, ptr %25, i64 1 store i16 %24, ptr %26, align 2 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i64 4 store ptr %28, ptr %5, align 8 br label %29 29: ; preds = %21 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 32 br i1 %33, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %3 %35 = load i32, ptr %8, align 4 ret i32 %35 } declare i32 @synth_1to1(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvuo921mi.c' source_filename = "/tmp/tmpvuo921mi.c" target datalayout = "e-m:e-p270: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/tmpvuo921mi.c" target datalayout = "e-m:e-p270: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/tmpjqt1kn3w.c' source_filename = "/tmp/tmpjqt1kn3w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getMachineUniqueLicence(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 br label %6 6: ; preds = %34, %1 %7 = load i32, ptr %3, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %37 9: ; preds = %6 %10 = load ptr, ptr %2, align 8 %11 = load i32, ptr %3, align 4 %12 = sub nsw i32 %11, 1 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %10, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i32 @isalpha(i8 noundef signext %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %34, label %18 18: ; preds = %9 %19 = load ptr, ptr %2, align 8 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %19, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = srem i32 %25, 25 %27 = add nsw i32 65, %26 %28 = trunc i32 %27 to i8 %29 = load ptr, ptr %2, align 8 %30 = load i32, ptr %3, align 4 %31 = sub nsw i32 %30, 1 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %29, i64 %32 store i8 %28, ptr %33, align 1 br label %34 34: ; preds = %18, %9 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %3, align 4 br label %6, !llvm.loop !6 37: ; preds = %6 ret i32 1 } declare i32 @strlen(ptr noundef) #1 declare i32 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjqt1kn3w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getMachineUniqueLicence(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %.lr.ph, label %38 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %33 %9 = load ptr, ptr %2, align 8 %10 = load i32, ptr %3, align 4 %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %9, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i32 @isalpha(i8 noundef signext %14) %16 = icmp ne i32 %15, 0 br i1 %16, label %33, label %17 17: ; preds = %8 %18 = load ptr, ptr %2, align 8 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %19, 1 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %18, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = srem i32 %24, 25 %26 = add nsw i32 65, %25 %27 = trunc i32 %26 to i8 %28 = load ptr, ptr %2, align 8 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %28, i64 %31 store i8 %27, ptr %32, align 1 br label %33 33: ; preds = %17, %8 %34 = load i32, ptr %3, align 4 %35 = add nsw i32 %34, -1 store i32 %35, ptr %3, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp ne i32 %36, 0 br i1 %37, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %38 38: ; preds = %._crit_edge, %1 ret i32 1 } declare i32 @strlen(ptr noundef) #1 declare i32 @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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvusatnob.c' source_filename = "/tmp/tmpvusatnob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle_collide(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %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 i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 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 i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i32 128, ptr %26, align 4 store i32 1, ptr %28, align 4 store i32 0, ptr %29, align 4 %30 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %30, align 8 %31 = load ptr, ptr %14, align 8 store double 0.000000e+00, ptr %31, align 8 br label %32 32: ; preds = %187, %7 %33 = load i32, ptr %28, align 4 %34 = icmp sgt i32 %33, 0 br i1 %34, label %35, label %188 35: ; preds = %32 store double 0.000000e+00, ptr %20, align 8 store double 0.000000e+00, ptr %21, align 8 store i32 0, ptr %28, align 4 store i32 0, ptr %27, align 4 br label %36 36: ; preds = %76, %35 %37 = load i32, ptr %27, align 4 %38 = icmp slt i32 %37, 128 br i1 %38, label %39, label %79 39: ; preds = %36 %40 = load double, ptr %8, align 8 %41 = load double, ptr %10, align 8 %42 = load i32, ptr %27, align 4 %43 = sitofp i32 %42 to double %44 = fmul double %43, 0x400921FB5A7ED197 %45 = fmul double %44, 2.000000e+00 %46 = fdiv double %45, 1.280000e+02 %47 = fptosi double %46 to i32 %48 = call double @sin(i32 noundef %47) %49 = call double @llvm.fmuladd.f64(double %41, double %48, double %40) store double %49, ptr %15, align 8 %50 = load double, ptr %9, align 8 %51 = load double, ptr %10, align 8 %52 = load i32, ptr %27, align 4 %53 = sitofp i32 %52 to double %54 = fmul double %53, 0x400921FB5A7ED197 %55 = fmul double %54, 2.000000e+00 %56 = fdiv double %55, 1.280000e+02 %57 = fptosi double %56 to i32 %58 = call double @cos(i32 noundef %57) %59 = call double @llvm.fmuladd.f64(double %51, double %58, double %50) store double %59, ptr %16, align 8 %60 = load double, ptr %15, align 8 %61 = load double, ptr %16, align 8 %62 = load ptr, ptr %11, align 8 %63 = load i32, ptr %12, align 4 %64 = call i32 @point_in_polygon(double noundef %60, double noundef %61, ptr noundef %62, i32 noundef %63) %65 = icmp eq i32 %64, 1 br i1 %65, label %66, label %75 66: ; preds = %39 %67 = load double, ptr %15, align 8 %68 = load double, ptr %20, align 8 %69 = fadd double %68, %67 store double %69, ptr %20, align 8 %70 = load double, ptr %16, align 8 %71 = load double, ptr %21, align 8 %72 = fadd double %71, %70 store double %72, ptr %21, align 8 %73 = load i32, ptr %28, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %28, align 4 br label %75 75: ; preds = %66, %39 br label %76 76: ; preds = %75 %77 = load i32, ptr %27, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %27, align 4 br label %36, !llvm.loop !6 79: ; preds = %36 %80 = load i32, ptr %28, align 4 %81 = icmp sgt i32 %80, 0 br i1 %81, label %82, label %187 82: ; preds = %79 %83 = load i32, ptr %28, align 4 %84 = sitofp i32 %83 to double %85 = load double, ptr %20, align 8 %86 = fdiv double %85, %84 store double %86, ptr %20, align 8 %87 = load i32, ptr %28, align 4 %88 = sitofp i32 %87 to double %89 = load double, ptr %21, align 8 %90 = fdiv double %89, %88 store double %90, ptr %21, align 8 %91 = load double, ptr %8, align 8 %92 = load double, ptr %20, align 8 %93 = fsub double %91, %92 store double %93, ptr %24, align 8 %94 = load double, ptr %9, align 8 %95 = load double, ptr %21, align 8 %96 = fsub double %94, %95 store double %96, ptr %25, align 8 %97 = load double, ptr %24, align 8 %98 = load double, ptr %24, align 8 %99 = load double, ptr %25, align 8 %100 = load double, ptr %25, align 8 %101 = fmul double %99, %100 %102 = call double @llvm.fmuladd.f64(double %97, double %98, double %101) %103 = call double @sqrt(double noundef %102) #4 store double %103, ptr %19, align 8 %104 = load double, ptr %19, align 8 %105 = fcmp ogt double %104, 0.000000e+00 br i1 %105, label %106, label %185 106: ; preds = %82 %107 = load double, ptr %24, align 8 %108 = load double, ptr %10, align 8 %109 = fmul double %107, %108 %110 = load double, ptr %19, align 8 %111 = fdiv double %109, %110 store double %111, ptr %17, align 8 %112 = load double, ptr %25, align 8 %113 = load double, ptr %10, align 8 %114 = fmul double %112, %113 %115 = load double, ptr %19, align 8 %116 = fdiv double %114, %115 store double %116, ptr %18, align 8 %117 = load double, ptr %8, align 8 %118 = load double, ptr %17, align 8 %119 = fsub double %117, %118 store double %119, ptr %22, align 8 %120 = load double, ptr %9, align 8 %121 = load double, ptr %18, align 8 %122 = fsub double %120, %121 store double %122, ptr %23, align 8 store i32 0, ptr %27, align 4 br label %123 123: ; preds = %175, %106 %124 = load i32, ptr %27, align 4 %125 = load double, ptr %10, align 8 %126 = fptosi double %125 to i32 %127 = icmp slt i32 %124, %126 br i1 %127, label %128, label %178 128: ; preds = %123 %129 = load double, ptr %8, align 8 %130 = load double, ptr %17, align 8 %131 = load i32, ptr %27, align 4 %132 = sitofp i32 %131 to double %133 = fmul double %130, %132 %134 = load double, ptr %10, align 8 %135 = fdiv double %133, %134 %136 = fsub double %129, %135 store double %136, ptr %15, align 8 %137 = load double, ptr %9, align 8 %138 = load double, ptr %18, align 8 %139 = load i32, ptr %27, align 4 %140 = sitofp i32 %139 to double %141 = fmul double %138, %140 %142 = load double, ptr %10, align 8 %143 = fdiv double %141, %142 %144 = fsub double %137, %143 store double %144, ptr %16, align 8 %145 = load double, ptr %15, align 8 %146 = load double, ptr %16, align 8 %147 = load ptr, ptr %11, align 8 %148 = load i32, ptr %12, align 4 %149 = call i32 @point_in_polygon(double noundef %145, double noundef %146, ptr noundef %147, i32 noundef %148) %150 = icmp eq i32 %149, 1 br i1 %150, label %151, label %174 151: ; preds = %128 %152 = load double, ptr %15, align 8 %153 = load double, ptr %22, align 8 %154 = fsub double %152, %153 store double %154, ptr %17, align 8 %155 = load double, ptr %16, align 8 %156 = load double, ptr %23, align 8 %157 = fsub double %155, %156 store double %157, ptr %18, align 8 %158 = load double, ptr %17, align 8 %159 = load double, ptr %8, align 8 %160 = fadd double %159, %158 store double %160, ptr %8, align 8 %161 = load double, ptr %18, align 8 %162 = load double, ptr %9, align 8 %163 = fadd double %162, %161 store double %163, ptr %9, align 8 %164 = load ptr, ptr %13, align 8 %165 = load double, ptr %164, align 8 %166 = load double, ptr %17, align 8 %167 = fadd double %165, %166 %168 = load ptr, ptr %13, align 8 store double %167, ptr %168, align 8 %169 = load ptr, ptr %14, align 8 %170 = load double, ptr %169, align 8 %171 = load double, ptr %18, align 8 %172 = fadd double %170, %171 %173 = load ptr, ptr %14, align 8 store double %172, ptr %173, align 8 br label %178 174: ; preds = %128 br label %175 175: ; preds = %174 %176 = load i32, ptr %27, align 4 %177 = add nsw i32 %176, 1 store i32 %177, ptr %27, align 4 br label %123, !llvm.loop !8 178: ; preds = %151, %123 %179 = load i32, ptr %27, align 4 %180 = load double, ptr %10, align 8 %181 = fptosi double %180 to i32 %182 = icmp eq i32 %179, %181 br i1 %182, label %183, label %184 183: ; preds = %178 store i32 0, ptr %28, align 4 br label %184 184: ; preds = %183, %178 store i32 1, ptr %29, align 4 br label %186 185: ; preds = %82 store i32 0, ptr %28, align 4 br label %186 186: ; preds = %185, %184 br label %187 187: ; preds = %186, %79 br label %32, !llvm.loop !9 188: ; preds = %32 %189 = load i32, ptr %29, align 4 ret i32 %189 } declare double @sin(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @cos(i32 noundef) #1 declare i32 @point_in_polygon(double noundef, double noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvusatnob.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @circle_collide(double noundef %0, double noundef %1, double noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6) #0 { %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca ptr, align 8 %15 = alloca double, align 8 %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 i32, align 4 %27 = alloca i32, align 4 %28 = alloca i32, align 4 %29 = alloca i32, align 4 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 i32 %4, ptr %12, align 4 store ptr %5, ptr %13, align 8 store ptr %6, ptr %14, align 8 store i32 128, ptr %26, align 4 store i32 1, ptr %28, align 4 store i32 0, ptr %29, align 4 %30 = load ptr, ptr %13, align 8 store double 0.000000e+00, ptr %30, align 8 %31 = load ptr, ptr %14, align 8 store double 0.000000e+00, ptr %31, align 8 %32 = load i32, ptr %28, align 4 %33 = icmp sgt i32 %32, 0 br i1 %33, label %.lr.ph4, label %193 .lr.ph4: ; preds = %7 br label %34 34: ; preds = %.lr.ph4, %190 store double 0.000000e+00, ptr %20, align 8 store double 0.000000e+00, ptr %21, align 8 store i32 0, ptr %28, align 4 store i32 0, ptr %27, align 4 %35 = load i32, ptr %27, align 4 %36 = icmp slt i32 %35, 128 br i1 %36, label %.lr.ph, label %79 .lr.ph: ; preds = %34 br label %37 37: ; preds = %.lr.ph, %74 %38 = load double, ptr %8, align 8 %39 = load double, ptr %10, align 8 %40 = load i32, ptr %27, align 4 %41 = sitofp i32 %40 to double %42 = fmul double %41, 0x400921FB5A7ED197 %43 = fmul double %42, 2.000000e+00 %44 = fdiv double %43, 1.280000e+02 %45 = fptosi double %44 to i32 %46 = call double @sin(i32 noundef %45) %47 = call double @llvm.fmuladd.f64(double %39, double %46, double %38) store double %47, ptr %15, align 8 %48 = load double, ptr %9, align 8 %49 = load double, ptr %10, align 8 %50 = load i32, ptr %27, align 4 %51 = sitofp i32 %50 to double %52 = fmul double %51, 0x400921FB5A7ED197 %53 = fmul double %52, 2.000000e+00 %54 = fdiv double %53, 1.280000e+02 %55 = fptosi double %54 to i32 %56 = call double @cos(i32 noundef %55) %57 = call double @llvm.fmuladd.f64(double %49, double %56, double %48) store double %57, ptr %16, align 8 %58 = load double, ptr %15, align 8 %59 = load double, ptr %16, align 8 %60 = load ptr, ptr %11, align 8 %61 = load i32, ptr %12, align 4 %62 = call i32 @point_in_polygon(double noundef %58, double noundef %59, ptr noundef %60, i32 noundef %61) %63 = icmp eq i32 %62, 1 br i1 %63, label %64, label %73 64: ; preds = %37 %65 = load double, ptr %15, align 8 %66 = load double, ptr %20, align 8 %67 = fadd double %66, %65 store double %67, ptr %20, align 8 %68 = load double, ptr %16, align 8 %69 = load double, ptr %21, align 8 %70 = fadd double %69, %68 store double %70, ptr %21, align 8 %71 = load i32, ptr %28, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %28, align 4 br label %73 73: ; preds = %64, %37 br label %74 74: ; preds = %73 %75 = load i32, ptr %27, align 4 %76 = add nsw i32 %75, 1 store i32 %76, ptr %27, align 4 %77 = load i32, ptr %27, align 4 %78 = icmp slt i32 %77, 128 br i1 %78, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %74 br label %79 79: ; preds = %._crit_edge, %34 %80 = load i32, ptr %28, align 4 %81 = icmp sgt i32 %80, 0 br i1 %81, label %82, label %190 82: ; preds = %79 %83 = load i32, ptr %28, align 4 %84 = sitofp i32 %83 to double %85 = load double, ptr %20, align 8 %86 = fdiv double %85, %84 store double %86, ptr %20, align 8 %87 = load i32, ptr %28, align 4 %88 = sitofp i32 %87 to double %89 = load double, ptr %21, align 8 %90 = fdiv double %89, %88 store double %90, ptr %21, align 8 %91 = load double, ptr %8, align 8 %92 = load double, ptr %20, align 8 %93 = fsub double %91, %92 store double %93, ptr %24, align 8 %94 = load double, ptr %9, align 8 %95 = load double, ptr %21, align 8 %96 = fsub double %94, %95 store double %96, ptr %25, align 8 %97 = load double, ptr %24, align 8 %98 = load double, ptr %24, align 8 %99 = load double, ptr %25, align 8 %100 = load double, ptr %25, align 8 %101 = fmul double %99, %100 %102 = call double @llvm.fmuladd.f64(double %97, double %98, double %101) %103 = call double @sqrt(double noundef %102) #4 store double %103, ptr %19, align 8 %104 = load double, ptr %19, align 8 %105 = fcmp ogt double %104, 0.000000e+00 br i1 %105, label %106, label %188 106: ; preds = %82 %107 = load double, ptr %24, align 8 %108 = load double, ptr %10, align 8 %109 = fmul double %107, %108 %110 = load double, ptr %19, align 8 %111 = fdiv double %109, %110 store double %111, ptr %17, align 8 %112 = load double, ptr %25, align 8 %113 = load double, ptr %10, align 8 %114 = fmul double %112, %113 %115 = load double, ptr %19, align 8 %116 = fdiv double %114, %115 store double %116, ptr %18, align 8 %117 = load double, ptr %8, align 8 %118 = load double, ptr %17, align 8 %119 = fsub double %117, %118 store double %119, ptr %22, align 8 %120 = load double, ptr %9, align 8 %121 = load double, ptr %18, align 8 %122 = fsub double %120, %121 store double %122, ptr %23, align 8 store i32 0, ptr %27, align 4 %123 = load i32, ptr %27, align 4 %124 = load double, ptr %10, align 8 %125 = fptosi double %124 to i32 %126 = icmp slt i32 %123, %125 br i1 %126, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %106 br label %127 127: ; preds = %.lr.ph2, %174 %128 = load double, ptr %8, align 8 %129 = load double, ptr %17, align 8 %130 = load i32, ptr %27, align 4 %131 = sitofp i32 %130 to double %132 = fmul double %129, %131 %133 = load double, ptr %10, align 8 %134 = fdiv double %132, %133 %135 = fsub double %128, %134 store double %135, ptr %15, align 8 %136 = load double, ptr %9, align 8 %137 = load double, ptr %18, align 8 %138 = load i32, ptr %27, align 4 %139 = sitofp i32 %138 to double %140 = fmul double %137, %139 %141 = load double, ptr %10, align 8 %142 = fdiv double %140, %141 %143 = fsub double %136, %142 store double %143, ptr %16, align 8 %144 = load double, ptr %15, align 8 %145 = load double, ptr %16, align 8 %146 = load ptr, ptr %11, align 8 %147 = load i32, ptr %12, align 4 %148 = call i32 @point_in_polygon(double noundef %144, double noundef %145, ptr noundef %146, i32 noundef %147) %149 = icmp eq i32 %148, 1 br i1 %149, label %150, label %173 150: ; preds = %127 %151 = load double, ptr %15, align 8 %152 = load double, ptr %22, align 8 %153 = fsub double %151, %152 store double %153, ptr %17, align 8 %154 = load double, ptr %16, align 8 %155 = load double, ptr %23, align 8 %156 = fsub double %154, %155 store double %156, ptr %18, align 8 %157 = load double, ptr %17, align 8 %158 = load double, ptr %8, align 8 %159 = fadd double %158, %157 store double %159, ptr %8, align 8 %160 = load double, ptr %18, align 8 %161 = load double, ptr %9, align 8 %162 = fadd double %161, %160 store double %162, ptr %9, align 8 %163 = load ptr, ptr %13, align 8 %164 = load double, ptr %163, align 8 %165 = load double, ptr %17, align 8 %166 = fadd double %164, %165 %167 = load ptr, ptr %13, align 8 store double %166, ptr %167, align 8 %168 = load ptr, ptr %14, align 8 %169 = load double, ptr %168, align 8 %170 = load double, ptr %18, align 8 %171 = fadd double %169, %170 %172 = load ptr, ptr %14, align 8 store double %171, ptr %172, align 8 br label %181 173: ; preds = %127 br label %174 174: ; preds = %173 %175 = load i32, ptr %27, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %27, align 4 %177 = load i32, ptr %27, align 4 %178 = load double, ptr %10, align 8 %179 = fptosi double %178 to i32 %180 = icmp slt i32 %177, %179 br i1 %180, label %127, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %174 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %106 br label %181 181: ; preds = %.loopexit, %150 %182 = load i32, ptr %27, align 4 %183 = load double, ptr %10, align 8 %184 = fptosi double %183 to i32 %185 = icmp eq i32 %182, %184 br i1 %185, label %186, label %187 186: ; preds = %181 store i32 0, ptr %28, align 4 br label %187 187: ; preds = %186, %181 store i32 1, ptr %29, align 4 br label %189 188: ; preds = %82 store i32 0, ptr %28, align 4 br label %189 189: ; preds = %188, %187 br label %190 190: ; preds = %189, %79 %191 = load i32, ptr %28, align 4 %192 = icmp sgt i32 %191, 0 br i1 %192, label %34, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %190 br label %193 193: ; preds = %._crit_edge5, %7 %194 = load i32, ptr %29, align 4 ret i32 %194 } declare double @sin(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @cos(i32 noundef) #1 declare i32 @point_in_polygon(double noundef, double noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: nounwind declare double @sqrt(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp1cch1n92.c' source_filename = "/tmp/tmp1cch1n92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @clampf(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %6, align 4 %8 = load float, ptr %4, align 4 %9 = call i32 @fmax(float noundef %7, float noundef %8) %10 = load float, ptr %5, align 4 %11 = call float @fmin(i32 noundef %9, float noundef %10) ret float %11 } declare float @fmin(i32 noundef, float noundef) #1 declare i32 @fmax(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1cch1n92.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local float @clampf(float noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 store float %0, ptr %4, align 4 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %7 = load float, ptr %6, align 4 %8 = load float, ptr %4, align 4 %9 = call i32 @fmax(float noundef %7, float noundef %8) %10 = load float, ptr %5, align 4 %11 = call float @fmin(i32 noundef %9, float noundef %10) ret float %11 } declare float @fmin(i32 noundef, float noundef) #1 declare i32 @fmax(float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeymyctqe.c' source_filename = "/tmp/tmpeymyctqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%08x %08x]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print2i(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr %2, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i32, ptr %4, i64 0 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 1 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeymyctqe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"[%08x %08x]\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print2i(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 store ptr %2, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = getelementptr inbounds i32, ptr %4, i64 0 %6 = load i32, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds i32, ptr %7, i64 1 %9 = load i32, ptr %8, align 4 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %9) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk6p34fh5.c' source_filename = "/tmp/tmpk6p34fh5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CTF{wow__much_data__such_return}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) ret i32 0 } 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/tmpk6p34fh5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CTF{wow__much_data__such_return}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @puts(ptr noundef @.str) ret i32 0 } 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/tmp5sg1cjv7.c' source_filename = "/tmp/tmp5sg1cjv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_recvbytes(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 -1, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @recv(i32 noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5sg1cjv7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @x_recvbytes(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 store i32 -1, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = load ptr, ptr %5, align 8 %10 = load i32, ptr %6, align 4 %11 = call i32 @recv(i32 noundef %8, ptr noundef %9, i32 noundef %10, i32 noundef 0) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprq34vo7x.c' source_filename = "/tmp/tmprq34vo7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HariMain() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @_io_hlt() br label %1 } declare i32 @_io_hlt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprq34vo7x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @HariMain() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 (...) @_io_hlt() br label %1 } declare i32 @_io_hlt(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb1nb_25i.c' source_filename = "/tmp/tmpb1nb_25i.c" target datalayout = "e-m:e-p270: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/tmpb1nb_25i.c" target datalayout = "e-m:e-p270: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/tmpo_tzolnt.c' source_filename = "/tmp/tmpo_tzolnt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global ptr null, align 8 @stdout = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"[%s] fail to open file '%s'. Abort!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @err_xopen_core(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %3 %13 = load ptr, ptr %7, align 8 %14 = call i64 @strstr(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = load ptr, ptr @stdin, align 8 br label %20 18: ; preds = %12 %19 = load ptr, ptr @stdout, align 8 br label %20 20: ; preds = %18, %16 %21 = phi ptr [ %17, %16 ], [ %19, %18 ] store ptr %21, ptr %4, align 8 br label %35 22: ; preds = %3 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = call ptr @fopen(ptr noundef %23, ptr noundef %24) store ptr %25, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %33 27: ; preds = %22 %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %29, ptr noundef %30) %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %22 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %33, %20 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmpo_tzolnt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"-\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global ptr null, align 8 @stdout = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [37 x i8] c"[%s] fail to open file '%s'. Abort!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @err_xopen_core(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr null, ptr %8, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str) %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %22 12: ; preds = %3 %13 = load ptr, ptr %7, align 8 %14 = call i64 @strstr(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %12 %17 = load ptr, ptr @stdin, align 8 br label %20 18: ; preds = %12 %19 = load ptr, ptr @stdout, align 8 br label %20 20: ; preds = %18, %16 %21 = phi ptr [ %17, %16 ], [ %19, %18 ] store ptr %21, ptr %4, align 8 br label %35 22: ; preds = %3 %23 = load ptr, ptr %6, align 8 %24 = load ptr, ptr %7, align 8 %25 = call ptr @fopen(ptr noundef %23, ptr noundef %24) store ptr %25, ptr %8, align 8 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %33 27: ; preds = %22 %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %5, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i32 @fprintf(i32 noundef %28, ptr noundef @.str.2, ptr noundef %29, ptr noundef %30) %32 = call i32 (...) @abort() #3 unreachable 33: ; preds = %22 %34 = load ptr, ptr %8, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %33, %20 %36 = load ptr, ptr %4, align 8 ret ptr %36 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @strstr(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #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/tmp22xt8ilw.c' source_filename = "/tmp/tmp22xt8ilw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [90 x i8] c"\0A Usage : nct5104dpin [ --get|--set ] [--pin ] --val < 0|1 > --dir <direction_for_gpio> \0A\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c"\0A --pin : Takes decimal value for pin \0A\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"\0A --val : Takes value to be written for pin [0|1]\0A\00", align 1 @.str.3 = private unnamed_addr constant [66 x i8] c"\0A --dir : Direction of GPIO ( 0 => OUT ; 1 => IN) \0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"\0A Examples:\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"\0A * Get a pin value: nct5104dpin --pin 7 \0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"\0A * Get a pin value: nct5104dpin --get --pin 14 \0A\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"\0A * Set a pin value: nct5104dpin --set --pin 14 --val 1 \0A\00", align 1 @.str.9 = private unnamed_addr constant [64 x i8] c"\0A * Set a pin direction: nct5104dpin --set --pin 14 --dir out \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp22xt8ilw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [90 x i8] c"\0A Usage : nct5104dpin [ --get|--set ] [--pin ] --val < 0|1 > --dir <direction_for_gpio> \0A\00", align 1 @.str.1 = private unnamed_addr constant [54 x i8] c"\0A --pin : Takes decimal value for pin \0A\00", align 1 @.str.2 = private unnamed_addr constant [65 x i8] c"\0A --val : Takes value to be written for pin [0|1]\0A\00", align 1 @.str.3 = private unnamed_addr constant [66 x i8] c"\0A --dir : Direction of GPIO ( 0 => OUT ; 1 => IN) \0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"\0A Examples:\0A\00", align 1 @.str.6 = private unnamed_addr constant [43 x i8] c"\0A * Get a pin value: nct5104dpin --pin 7 \0A\00", align 1 @.str.7 = private unnamed_addr constant [50 x i8] c"\0A * Get a pin value: nct5104dpin --get --pin 14 \0A\00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"\0A * Set a pin value: nct5104dpin --set --pin 14 --val 1 \0A\00", align 1 @.str.9 = private unnamed_addr constant [64 x i8] c"\0A * Set a pin direction: nct5104dpin --set --pin 14 --dir out \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_usage() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 @printf(ptr noundef @.str.1) %3 = call i32 @printf(ptr noundef @.str.2) %4 = call i32 @printf(ptr noundef @.str.3) %5 = call i32 @printf(ptr noundef @.str.4) %6 = call i32 @printf(ptr noundef @.str.5) %7 = call i32 @printf(ptr noundef @.str.6) %8 = call i32 @printf(ptr noundef @.str.7) %9 = call i32 @printf(ptr noundef @.str.8) %10 = call i32 @printf(ptr noundef @.str.9) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4p9sa68f.c' source_filename = "/tmp/tmp4p9sa68f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"*All byte values accepted in hex.*\0AEnter '.' to stop.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%04X : %02X > \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"End of memory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dpu_modify(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca [256 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %10 10: ; preds = %74, %60, %37, %32, %2 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %4, align 4 %14 = zext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = zext i8 %16 to i32 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %17) %19 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %20 = load i32, ptr @stdin, align 4 %21 = call i32 @fgets(ptr noundef %19, i32 noundef 256, i32 noundef %20) %22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 2 store i8 0, ptr %22, align 2 %23 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %24 = load i8, ptr %23, align 16 %25 = zext i8 %24 to i32 %26 = icmp eq i32 %25, 46 br i1 %26, label %27, label %28 27: ; preds = %10 br label %75 28: ; preds = %10 %29 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %30 = call i64 @strcmp(ptr noundef %29, ptr noundef @.str.2) %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %33 32: ; preds = %28 br label %10 33: ; preds = %28 %34 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.3) %36 = icmp eq i64 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %33 br label %10 38: ; preds = %33 store i32 0, ptr %8, align 4 br label %39 39: ; preds = %53, %38 %40 = load i32, ptr %8, align 4 %41 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %42 = call i32 @strlen(ptr noundef %41) %43 = icmp ult i32 %40, %42 br i1 %43, label %44, label %56 44: ; preds = %39 %45 = load i32, ptr %8, align 4 %46 = zext i32 %45 to i64 %47 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %46 %48 = load i8, ptr %47, align 1 %49 = call zeroext i8 @tolower(i8 noundef zeroext %48) %50 = load i32, ptr %8, align 4 %51 = zext i32 %50 to i64 %52 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %51 store i8 %49, ptr %52, align 1 br label %53 53: ; preds = %44 %54 = load i32, ptr %8, align 4 %55 = add i32 %54, 1 store i32 %55, ptr %8, align 4 br label %39, !llvm.loop !6 56: ; preds = %39 %57 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %58 = call i64 @sscanf(ptr noundef %57, ptr noundef @.str.4, ptr noundef %7) %59 = icmp eq i64 %58, 0 br i1 %59, label %60, label %61 60: ; preds = %56 br label %10 61: ; preds = %56 %62 = load i32, ptr %7, align 4 %63 = trunc i32 %62 to i8 %64 = load ptr, ptr %3, align 8 %65 = load i32, ptr %4, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds i8, ptr %64, i64 %66 store i8 %63, ptr %67, align 1 %68 = load i32, ptr %4, align 4 %69 = add i32 %68, 1 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp eq i32 %70, 16384 br i1 %71, label %72, label %74 72: ; preds = %61 %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %75 74: ; preds = %61 br label %10 75: ; preds = %72, %27 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare zeroext i8 @tolower(i8 noundef zeroext) #1 declare i64 @sscanf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4p9sa68f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [56 x i8] c"*All byte values accepted in hex.*\0AEnter '.' to stop.\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"%04X : %02X > \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%x\00", align 1 @.str.5 = private unnamed_addr constant [16 x i8] c"End of memory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @dpu_modify(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [256 x i8], align 16 %6 = alloca [256 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = zext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = zext i8 %15 to i32 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %16) %18 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %19 = load i32, ptr @stdin, align 4 %20 = call i32 @fgets(ptr noundef %18, i32 noundef 256, i32 noundef %19) %21 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 2 store i8 0, ptr %21, align 2 %22 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %23 = load i8, ptr %22, align 16 %24 = zext i8 %23 to i32 %25 = icmp eq i32 %24, 46 br i1 %25, label %26, label %.lr.ph2 .lr.ph2: ; preds = %2 br label %27 ._crit_edge3: ; preds = %.backedge br label %26 26: ; preds = %._crit_edge3, %2 br label %89 27: ; preds = %.lr.ph2, %.backedge %28 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str.2) %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %45 31: ; preds = %27 br label %.backedge .backedge: ; preds = %31, %49, %74, %88 %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %4, align 4 %35 = zext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = zext i8 %37 to i32 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %32, i32 noundef %38) %40 = load i32, ptr @stdin, align 4 %41 = call i32 @fgets(ptr noundef %18, i32 noundef 256, i32 noundef %40) store i8 0, ptr %21, align 2 %42 = load i8, ptr %22, align 16 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 46 br i1 %44, label %._crit_edge3, label %27 45: ; preds = %27 %46 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %47 = call i64 @strcmp(ptr noundef %46, ptr noundef @.str.3) %48 = icmp eq i64 %47, 0 br i1 %48, label %49, label %50 49: ; preds = %45 br label %.backedge 50: ; preds = %45 store i32 0, ptr %8, align 4 %51 = load i32, ptr %8, align 4 %52 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %53 = call i32 @strlen(ptr noundef %52) %54 = icmp ult i32 %51, %53 br i1 %54, label %.lr.ph, label %70 .lr.ph: ; preds = %50 br label %55 55: ; preds = %.lr.ph, %64 %56 = load i32, ptr %8, align 4 %57 = zext i32 %56 to i64 %58 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %57 %59 = load i8, ptr %58, align 1 %60 = call zeroext i8 @tolower(i8 noundef zeroext %59) %61 = load i32, ptr %8, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 %62 store i8 %60, ptr %63, align 1 br label %64 64: ; preds = %55 %65 = load i32, ptr %8, align 4 %66 = add i32 %65, 1 store i32 %66, ptr %8, align 4 %67 = load i32, ptr %8, align 4 %68 = call i32 @strlen(ptr noundef %52) %69 = icmp ult i32 %67, %68 br i1 %69, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %50 %71 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %72 = call i64 @sscanf(ptr noundef %71, ptr noundef @.str.4, ptr noundef %7) %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %75 74: ; preds = %70 br label %.backedge 75: ; preds = %70 %76 = load i32, ptr %7, align 4 %77 = trunc i32 %76 to i8 %78 = load ptr, ptr %3, align 8 %79 = load i32, ptr %4, align 4 %80 = zext i32 %79 to i64 %81 = getelementptr inbounds i8, ptr %78, i64 %80 store i8 %77, ptr %81, align 1 %82 = load i32, ptr %4, align 4 %83 = add i32 %82, 1 store i32 %83, ptr %4, align 4 %84 = load i32, ptr %4, align 4 %85 = icmp eq i32 %84, 16384 br i1 %85, label %86, label %88 86: ; preds = %75 %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %89 88: ; preds = %75 br label %.backedge 89: ; preds = %86, %26 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare zeroext i8 @tolower(i8 noundef zeroext) #1 declare i64 @sscanf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcjds7njq.c' source_filename = "/tmp/tmpcjds7njq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" authenticated\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"deauthenticated\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"user.notice root: DUMP\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"DHCPACK\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @process(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [19 x i8], align 16 %4 = alloca [10 x i8], align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str) %7 = icmp ne ptr %6, null br i1 %7, label %8, label %16 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %11 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @parse(ptr noundef %9, ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %14 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @connect(ptr noundef %13, ptr noundef %14) br label %46 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str.1) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %23 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %24 = call i32 @parse(ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %26 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %27 = call i32 @disconnect(ptr noundef %25, ptr noundef %26) br label %45 28: ; preds = %16 %29 = load ptr, ptr %2, align 8 %30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 (...) @dump() br label %44 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.3) %37 = icmp ne ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %2, align 8 %40 = call i32 @parseHosts(ptr noundef %39) br label %43 41: ; preds = %34 %42 = call i32 (...) @checkHosts() br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %43, %32 br label %45 45: ; preds = %44, %20 br label %46 46: ; preds = %45, %8 ret void } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @parse(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @connect(ptr noundef, ptr noundef) #1 declare i32 @disconnect(ptr noundef, ptr noundef) #1 declare i32 @dump(...) #1 declare i32 @parseHosts(ptr noundef) #1 declare i32 @checkHosts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcjds7njq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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" authenticated\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"deauthenticated\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"user.notice root: DUMP\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"DHCPACK\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @process(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [19 x i8], align 16 %4 = alloca [10 x i8], align 1 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @strstr(ptr noundef %5, ptr noundef @.str) %7 = icmp ne ptr %6, null br i1 %7, label %8, label %16 8: ; preds = %1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %11 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %12 = call i32 @parse(ptr noundef %9, ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %14 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %15 = call i32 @connect(ptr noundef %13, ptr noundef %14) br label %46 16: ; preds = %1 %17 = load ptr, ptr %2, align 8 %18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str.1) %19 = icmp ne ptr %18, null br i1 %19, label %20, label %28 20: ; preds = %16 %21 = load ptr, ptr %2, align 8 %22 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %23 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %24 = call i32 @parse(ptr noundef %21, ptr noundef %22, ptr noundef %23) %25 = getelementptr inbounds [19 x i8], ptr %3, i64 0, i64 0 %26 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0 %27 = call i32 @disconnect(ptr noundef %25, ptr noundef %26) br label %45 28: ; preds = %16 %29 = load ptr, ptr %2, align 8 %30 = call ptr @strstr(ptr noundef %29, ptr noundef @.str.2) %31 = icmp ne ptr %30, null br i1 %31, label %32, label %34 32: ; preds = %28 %33 = call i32 (...) @dump() br label %44 34: ; preds = %28 %35 = load ptr, ptr %2, align 8 %36 = call ptr @strstr(ptr noundef %35, ptr noundef @.str.3) %37 = icmp ne ptr %36, null br i1 %37, label %38, label %41 38: ; preds = %34 %39 = load ptr, ptr %2, align 8 %40 = call i32 @parseHosts(ptr noundef %39) br label %43 41: ; preds = %34 %42 = call i32 (...) @checkHosts() br label %43 43: ; preds = %41, %38 br label %44 44: ; preds = %43, %32 br label %45 45: ; preds = %44, %20 br label %46 46: ; preds = %45, %8 ret void } declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @parse(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @connect(ptr noundef, ptr noundef) #1 declare i32 @disconnect(ptr noundef, ptr noundef) #1 declare i32 @dump(...) #1 declare i32 @parseHosts(ptr noundef) #1 declare i32 @checkHosts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgllkz0ki.c' source_filename = "/tmp/tmpgllkz0ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c" %&=#+/\\\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%%%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @urlEncode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %4, align 8 br label %8 8: ; preds = %32, %1 %9 = load ptr, ptr %4, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %33 12: ; preds = %8 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %26 17: ; preds = %12 %18 = load ptr, ptr %3, align 8 %19 = load ptr, ptr %4, align 8 %20 = load i8, ptr %19, align 1 %21 = call i32 @sprintf(ptr noundef %18, ptr noundef @.str.1, i8 noundef signext %20) %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 3 store ptr %23, ptr %3, align 8 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %4, align 8 br label %32 26: ; preds = %12 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 %29 = load i8, ptr %27, align 1 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 store i8 %29, ptr %30, align 1 br label %32 32: ; preds = %26, %17 br label %8, !llvm.loop !6 33: ; preds = %8 %34 = load ptr, ptr %3, align 8 store i8 0, ptr %34, align 1 %35 = load ptr, ptr %2, align 8 %36 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36) ret void } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgllkz0ki.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c" %&=#+/\\\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%%%02X\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @urlEncode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [256 x i8], align 16 store ptr %0, ptr %2, align 8 %6 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 store ptr %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %35 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %31 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %16, label %25 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = call i32 @sprintf(ptr noundef %17, ptr noundef @.str.1, i8 noundef signext %19) %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i64 3 store ptr %22, ptr %3, align 8 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %4, align 8 br label %31 25: ; preds = %11 %26 = load ptr, ptr %4, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %4, align 8 %28 = load i8, ptr %26, align 1 %29 = load ptr, ptr %3, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %3, align 8 store i8 %28, ptr %29, align 1 br label %31 31: ; preds = %25, %16 %32 = load ptr, ptr %4, align 8 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %35 35: ; preds = %._crit_edge, %1 %36 = load ptr, ptr %3, align 8 store i8 0, ptr %36, align 1 %37 = load ptr, ptr %2, align 8 %38 = getelementptr inbounds [256 x i8], ptr %5, i64 0, i64 0 %39 = call i32 @strcpy(ptr noundef %37, ptr noundef %38) ret void } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef signext) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz0kz2o1_.c' source_filename = "/tmp/tmpz0kz2o1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"malloc()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utils_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ugt i64 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load i64, ptr %2, align 8 %9 = call ptr @malloc(i64 noundef %8) #4 store ptr %9, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) %13 = call i32 (...) @abort() #5 unreachable 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 ret ptr %15 } declare i32 @assert(i32 noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz0kz2o1_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"malloc()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @utils_malloc(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 store i64 %0, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp ugt i64 %4, 0 %6 = zext i1 %5 to i32 %7 = call i32 @assert(i32 noundef %6) %8 = load i64, ptr %2, align 8 %9 = call ptr @malloc(i64 noundef %8) #4 store ptr %9, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) %13 = call i32 (...) @abort() #5 unreachable 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 ret ptr %15 } declare i32 @assert(i32 noundef) #1 ; Function Attrs: allocsize(0) declare ptr @malloc(i64 noundef) #2 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { allocsize(0) } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpumfwmsyc.c' source_filename = "/tmp/tmpumfwmsyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @json_after() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpumfwmsyc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @json_after() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf0iyt6ds.c' source_filename = "/tmp/tmpf0iyt6ds.c" target datalayout = "e-m:e-p270: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/tmpf0iyt6ds.c" target datalayout = "e-m:e-p270: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/tmpachz1j4s.c' source_filename = "/tmp/tmpachz1j4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpachz1j4s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CLOCK_MONOTONIC = 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/tmpwo9nmqkz.c' source_filename = "/tmp/tmpwo9nmqkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AInforme as dimens\C3\B5es da matriz A(m x n):\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\09m = \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"\09n = \00", align 1 @.str.4 = private unnamed_addr constant [70 x i8] c"\0AInforme agora os elementos (n\C3\BAmeros reais) da matriz A(%u x %u):\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"\09A(%u,%u) = \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.7 = private unnamed_addr constant [46 x i8] c"\0AA matriz A(%u x %u) tem valores repetidos?\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"\09SIM\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"\09N\C3\83O\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7) %17 = load i32, ptr %6, align 4 %18 = zext i32 %17 to i64 %19 = load i32, ptr %7, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %9, align 8 %22 = mul nuw i64 %18, %20 %23 = alloca float, i64 %22, align 16 store i64 %18, ptr %10, align 8 store i64 %20, ptr %11, align 8 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24, i32 noundef %25) store i32 0, ptr %2, align 4 br label %27 27: ; preds = %54, %0 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp ult i32 %28, %29 br i1 %30, label %31, label %57 31: ; preds = %27 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %50, %31 %33 = load i32, ptr %3, align 4 %34 = load i32, ptr %7, align 4 %35 = icmp ult i32 %33, %34 br i1 %35, label %36, label %53 36: ; preds = %32 %37 = load i32, ptr %2, align 4 %38 = add i32 %37, 1 %39 = load i32, ptr %3, align 4 %40 = add i32 %39, 1 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %38, i32 noundef %40) %42 = load i32, ptr %2, align 4 %43 = zext i32 %42 to i64 %44 = mul nsw i64 %43, %20 %45 = getelementptr inbounds float, ptr %23, i64 %44 %46 = load i32, ptr %3, align 4 %47 = zext i32 %46 to i64 %48 = getelementptr inbounds float, ptr %45, i64 %47 %49 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %48) br label %50 50: ; preds = %36 %51 = load i32, ptr %3, align 4 %52 = add i32 %51, 1 store i32 %52, ptr %3, align 4 br label %32, !llvm.loop !6 53: ; preds = %32 br label %54 54: ; preds = %53 %55 = load i32, ptr %2, align 4 %56 = add i32 %55, 1 store i32 %56, ptr %2, align 4 br label %27, !llvm.loop !8 57: ; preds = %27 %58 = load i32, ptr %6, align 4 %59 = load i32, ptr %7, align 4 %60 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %58, i32 noundef %59) store i32 0, ptr %8, align 4 store i32 0, ptr %2, align 4 br label %61 61: ; preds = %134, %57 %62 = load i32, ptr %2, align 4 %63 = load i32, ptr %6, align 4 %64 = icmp ult i32 %62, %63 br i1 %64, label %65, label %137 65: ; preds = %61 store i32 0, ptr %3, align 4 br label %66 66: ; preds = %126, %65 %67 = load i32, ptr %3, align 4 %68 = load i32, ptr %7, align 4 %69 = icmp ult i32 %67, %68 br i1 %69, label %70, label %129 70: ; preds = %66 %71 = load i32, ptr %2, align 4 store i32 %71, ptr %4, align 4 br label %72 72: ; preds = %118, %70 %73 = load i32, ptr %4, align 4 %74 = load i32, ptr %6, align 4 %75 = icmp ult i32 %73, %74 br i1 %75, label %76, label %121 76: ; preds = %72 %77 = load i32, ptr %4, align 4 %78 = load i32, ptr %2, align 4 %79 = icmp eq i32 %77, %78 br i1 %79, label %80, label %83 80: ; preds = %76 %81 = load i32, ptr %3, align 4 %82 = add i32 %81, 1 br label %84 83: ; preds = %76 br label %84 84: ; preds = %83, %80 %85 = phi i32 [ %82, %80 ], [ 0, %83 ] store i32 %85, ptr %5, align 4 br label %86 86: ; preds = %110, %84 %87 = load i32, ptr %5, align 4 %88 = load i32, ptr %7, align 4 %89 = icmp ult i32 %87, %88 br i1 %89, label %90, label %113 90: ; preds = %86 %91 = load i32, ptr %2, align 4 %92 = zext i32 %91 to i64 %93 = mul nsw i64 %92, %20 %94 = getelementptr inbounds float, ptr %23, i64 %93 %95 = load i32, ptr %3, align 4 %96 = zext i32 %95 to i64 %97 = getelementptr inbounds float, ptr %94, i64 %96 %98 = load float, ptr %97, align 4 %99 = load i32, ptr %4, align 4 %100 = zext i32 %99 to i64 %101 = mul nsw i64 %100, %20 %102 = getelementptr inbounds float, ptr %23, i64 %101 %103 = load i32, ptr %5, align 4 %104 = zext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %102, i64 %104 %106 = load float, ptr %105, align 4 %107 = fcmp oeq float %98, %106 br i1 %107, label %108, label %109 108: ; preds = %90 store i32 1, ptr %8, align 4 br label %113 109: ; preds = %90 br label %110 110: ; preds = %109 %111 = load i32, ptr %5, align 4 %112 = add i32 %111, 1 store i32 %112, ptr %5, align 4 br label %86, !llvm.loop !9 113: ; preds = %108, %86 %114 = load i32, ptr %8, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %117 116: ; preds = %113 br label %121 117: ; preds = %113 br label %118 118: ; preds = %117 %119 = load i32, ptr %4, align 4 %120 = add i32 %119, 1 store i32 %120, ptr %4, align 4 br label %72, !llvm.loop !10 121: ; preds = %116, %72 %122 = load i32, ptr %8, align 4 %123 = icmp ne i32 %122, 0 br i1 %123, label %124, label %125 124: ; preds = %121 br label %129 125: ; preds = %121 br label %126 126: ; preds = %125 %127 = load i32, ptr %3, align 4 %128 = add i32 %127, 1 store i32 %128, ptr %3, align 4 br label %66, !llvm.loop !11 129: ; preds = %124, %66 %130 = load i32, ptr %8, align 4 %131 = icmp ne i32 %130, 0 br i1 %131, label %132, label %133 132: ; preds = %129 br label %137 133: ; preds = %129 br label %134 134: ; preds = %133 %135 = load i32, ptr %2, align 4 %136 = add i32 %135, 1 store i32 %136, ptr %2, align 4 br label %61, !llvm.loop !12 137: ; preds = %132, %61 %138 = load i32, ptr %8, align 4 %139 = icmp ne i32 %138, 0 br i1 %139, label %140, label %142 140: ; preds = %137 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %144 142: ; preds = %137 %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %144 144: ; preds = %142, %140 store i32 0, ptr %1, align 4 %145 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %145) %146 = load i32, ptr %1, align 4 ret i32 %146 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwo9nmqkz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [45 x i8] c"\0AInforme as dimens\C3\B5es da matriz A(m x n):\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"\09m = \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"\09n = \00", align 1 @.str.4 = private unnamed_addr constant [70 x i8] c"\0AInforme agora os elementos (n\C3\BAmeros reais) da matriz A(%u x %u):\0A\0A\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"\09A(%u,%u) = \00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.7 = private unnamed_addr constant [46 x i8] c"\0AA matriz A(%u x %u) tem valores repetidos?\0A\0A\00", align 1 @.str.8 = private unnamed_addr constant [7 x i8] c"\09SIM\0A\0A\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"\09N\C3\83O\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 store i32 0, ptr %1, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %14 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %6) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %16 = call i32 (ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %7) %17 = load i32, ptr %6, align 4 %18 = zext i32 %17 to i64 %19 = load i32, ptr %7, align 4 %20 = zext i32 %19 to i64 %21 = call ptr @llvm.stacksave() store ptr %21, ptr %9, align 8 %22 = mul nuw i64 %18, %20 %23 = alloca float, i64 %22, align 16 store i64 %18, ptr %10, align 8 store i64 %20, ptr %11, align 8 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %7, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %24, i32 noundef %25) store i32 0, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp ult i32 %27, %28 br i1 %29, label %.lr.ph5, label %61 .lr.ph5: ; preds = %0 br label %30 30: ; preds = %.lr.ph5, %55 store i32 0, ptr %3, align 4 %31 = load i32, ptr %3, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp ult i32 %31, %32 br i1 %33, label %.lr.ph, label %54 .lr.ph: ; preds = %30 br label %34 34: ; preds = %.lr.ph, %48 %35 = load i32, ptr %2, align 4 %36 = add i32 %35, 1 %37 = load i32, ptr %3, align 4 %38 = add i32 %37, 1 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %36, i32 noundef %38) %40 = load i32, ptr %2, align 4 %41 = zext i32 %40 to i64 %42 = mul nsw i64 %41, %20 %43 = getelementptr inbounds float, ptr %23, i64 %42 %44 = load i32, ptr %3, align 4 %45 = zext i32 %44 to i64 %46 = getelementptr inbounds float, ptr %43, i64 %45 %47 = call i32 (ptr, ...) @scanf(ptr noundef @.str.6, ptr noundef %46) br label %48 48: ; preds = %34 %49 = load i32, ptr %3, align 4 %50 = add i32 %49, 1 store i32 %50, ptr %3, align 4 %51 = load i32, ptr %3, align 4 %52 = load i32, ptr %7, align 4 %53 = icmp ult i32 %51, %52 br i1 %53, label %34, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %30 br label %55 55: ; preds = %54 %56 = load i32, ptr %2, align 4 %57 = add i32 %56, 1 store i32 %57, ptr %2, align 4 %58 = load i32, ptr %2, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp ult i32 %58, %59 br i1 %60, label %30, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %55 br label %61 61: ; preds = %._crit_edge6, %0 %62 = load i32, ptr %6, align 4 %63 = load i32, ptr %7, align 4 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %62, i32 noundef %63) store i32 0, ptr %8, align 4 store i32 0, ptr %2, align 4 %65 = load i32, ptr %2, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp ult i32 %65, %66 br i1 %67, label %.lr.ph14, label %.loopexit3 .lr.ph14: ; preds = %61 br label %68 68: ; preds = %.lr.ph14, %143 store i32 0, ptr %3, align 4 %69 = load i32, ptr %3, align 4 %70 = load i32, ptr %7, align 4 %71 = icmp ult i32 %69, %70 br i1 %71, label %.lr.ph12, label %.loopexit2 .lr.ph12: ; preds = %68 br label %72 72: ; preds = %.lr.ph12, %132 %73 = load i32, ptr %2, align 4 store i32 %73, ptr %4, align 4 %74 = load i32, ptr %4, align 4 %75 = load i32, ptr %6, align 4 %76 = icmp ult i32 %74, %75 br i1 %76, label %.lr.ph10, label %.loopexit1 .lr.ph10: ; preds = %72 br label %77 77: ; preds = %.lr.ph10, %121 %78 = load i32, ptr %4, align 4 %79 = load i32, ptr %2, align 4 %80 = icmp eq i32 %78, %79 br i1 %80, label %81, label %84 81: ; preds = %77 %82 = load i32, ptr %3, align 4 %83 = add i32 %82, 1 br label %85 84: ; preds = %77 br label %85 85: ; preds = %84, %81 %86 = phi i32 [ %83, %81 ], [ 0, %84 ] store i32 %86, ptr %5, align 4 %87 = load i32, ptr %5, align 4 %88 = load i32, ptr %7, align 4 %89 = icmp ult i32 %87, %88 br i1 %89, label %.lr.ph8, label %.loopexit .lr.ph8: ; preds = %85 br label %90 90: ; preds = %.lr.ph8, %110 %91 = load i32, ptr %2, align 4 %92 = zext i32 %91 to i64 %93 = mul nsw i64 %92, %20 %94 = getelementptr inbounds float, ptr %23, i64 %93 %95 = load i32, ptr %3, align 4 %96 = zext i32 %95 to i64 %97 = getelementptr inbounds float, ptr %94, i64 %96 %98 = load float, ptr %97, align 4 %99 = load i32, ptr %4, align 4 %100 = zext i32 %99 to i64 %101 = mul nsw i64 %100, %20 %102 = getelementptr inbounds float, ptr %23, i64 %101 %103 = load i32, ptr %5, align 4 %104 = zext i32 %103 to i64 %105 = getelementptr inbounds float, ptr %102, i64 %104 %106 = load float, ptr %105, align 4 %107 = fcmp oeq float %98, %106 br i1 %107, label %108, label %109 108: ; preds = %90 store i32 1, ptr %8, align 4 br label %116 109: ; preds = %90 br label %110 110: ; preds = %109 %111 = load i32, ptr %5, align 4 %112 = add i32 %111, 1 store i32 %112, ptr %5, align 4 %113 = load i32, ptr %5, align 4 %114 = load i32, ptr %7, align 4 %115 = icmp ult i32 %113, %114 br i1 %115, label %90, label %..loopexit_crit_edge, !llvm.loop !9 ..loopexit_crit_edge: ; preds = %110 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %85 br label %116 116: ; preds = %.loopexit, %108 %117 = load i32, ptr %8, align 4 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %120 119: ; preds = %116 br label %127 120: ; preds = %116 br label %121 121: ; preds = %120 %122 = load i32, ptr %4, align 4 %123 = add i32 %122, 1 store i32 %123, ptr %4, align 4 %124 = load i32, ptr %4, align 4 %125 = load i32, ptr %6, align 4 %126 = icmp ult i32 %124, %125 br i1 %126, label %77, label %..loopexit1_crit_edge, !llvm.loop !10 ..loopexit1_crit_edge: ; preds = %121 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %72 br label %127 127: ; preds = %.loopexit1, %119 %128 = load i32, ptr %8, align 4 %129 = icmp ne i32 %128, 0 br i1 %129, label %130, label %131 130: ; preds = %127 br label %138 131: ; preds = %127 br label %132 132: ; preds = %131 %133 = load i32, ptr %3, align 4 %134 = add i32 %133, 1 store i32 %134, ptr %3, align 4 %135 = load i32, ptr %3, align 4 %136 = load i32, ptr %7, align 4 %137 = icmp ult i32 %135, %136 br i1 %137, label %72, label %..loopexit2_crit_edge, !llvm.loop !11 ..loopexit2_crit_edge: ; preds = %132 br label %.loopexit2 .loopexit2: ; preds = %..loopexit2_crit_edge, %68 br label %138 138: ; preds = %.loopexit2, %130 %139 = load i32, ptr %8, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %142 141: ; preds = %138 br label %149 142: ; preds = %138 br label %143 143: ; preds = %142 %144 = load i32, ptr %2, align 4 %145 = add i32 %144, 1 store i32 %145, ptr %2, align 4 %146 = load i32, ptr %2, align 4 %147 = load i32, ptr %6, align 4 %148 = icmp ult i32 %146, %147 br i1 %148, label %68, label %..loopexit3_crit_edge, !llvm.loop !12 ..loopexit3_crit_edge: ; preds = %143 br label %.loopexit3 .loopexit3: ; preds = %..loopexit3_crit_edge, %61 br label %149 149: ; preds = %.loopexit3, %141 %150 = load i32, ptr %8, align 4 %151 = icmp ne i32 %150, 0 br i1 %151, label %152, label %154 152: ; preds = %149 %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %156 154: ; preds = %149 %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %156 156: ; preds = %154, %152 store i32 0, ptr %1, align 4 %157 = load ptr, ptr %9, align 8 call void @llvm.stackrestore(ptr %157) %158 = load i32, ptr %1, align 4 ret i32 %158 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpuzupi7sr.c' source_filename = "/tmp/tmpuzupi7sr.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [7 x i8] c"FLOPPY\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Couldn't stat root device.\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"Root device is (%d, %d)\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Swap device is (%d, %d)\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"Illegal root device (major = %d)\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Bad root device --- major #\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"Illegal swap device (major = %d)\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [22 x i8] c"Unable to open 'boot'\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"Unable to read header of 'boot'\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"Non-Minix header of 'boot'\00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Illegal data segment in 'boot'\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"Illegal bss in 'boot'\00", align 1 @.str.13 = private unnamed_addr constant [31 x i8] c"Illegal symbol table in 'boot'\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"Boot sector %d bytes.\0A\00", align 1 @.str.15 = private unnamed_addr constant [37 x i8] c"Boot block must be exactly 512 bytes\00", align 1 @.str.16 = private unnamed_addr constant [41 x i8] c"Boot block hasn't got boot flag (0xAA55)\00", align 1 @.str.17 = private unnamed_addr constant [18 x i8] c"Write call failed\00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c"Unable to open 'setup'\00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c"Unable to read header of 'setup'\00", align 1 @.str.20 = private unnamed_addr constant [28 x i8] c"Non-Minix header of 'setup'\00", align 1 @.str.21 = private unnamed_addr constant [32 x i8] c"Illegal data segment in 'setup'\00", align 1 @.str.22 = private unnamed_addr constant [23 x i8] c"Illegal bss in 'setup'\00", align 1 @.str.23 = private unnamed_addr constant [32 x i8] c"Illegal symbol table in 'setup'\00", align 1 @.str.24 = private unnamed_addr constant [61 x i8] c"Setup exceeds SETUP_SECTS sectors - rewrite build/boot/setup\00", align 1 @.str.25 = private unnamed_addr constant [20 x i8] c"Setup is %d bytes.\0A\00", align 1 @.str.26 = private unnamed_addr constant [24 x i8] c"Unable to open 'system'\00", align 1 @.str.27 = private unnamed_addr constant [34 x i8] c"Unable to read header of 'system'\00", align 1 @.str.28 = private unnamed_addr constant [27 x i8] c"Non-GCC header of 'system'\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"System is %d bytes.\0A\00", align 1 @.str.30 = private unnamed_addr constant [18 x i8] c"System is too big\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1024 x i8], align 16 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %20, label %17 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 6 br i1 %19, label %20, label %22 20: ; preds = %17, %2 %21 = call i32 (...) @usage() br label %22 22: ; preds = %20, %17 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %23, 4 br i1 %24, label %25, label %52 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 4 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %50 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 4 %34 = load ptr, ptr %33, align 8 %35 = call i64 @stat(ptr noundef %34, ptr noundef %14) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %31 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 4 %40 = load ptr, ptr %39, align 8 %41 = call i32 @perror(ptr noundef %40) %42 = call i32 @die(ptr noundef @.str.1) br label %43 43: ; preds = %37, %31 %44 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call signext i8 @MAJOR(i32 noundef %45) store i8 %46, ptr %10, align 1 %47 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = call signext i8 @MINOR(i32 noundef %48) store i8 %49, ptr %11, align 1 br label %51 50: ; preds = %25 store i8 0, ptr %10, align 1 store i8 0, ptr %11, align 1 br label %51 51: ; preds = %50, %43 br label %53 52: ; preds = %22 store i8 3, ptr %10, align 1 store i8 6, ptr %11, align 1 br label %53 53: ; preds = %52, %51 %54 = load i32, ptr %4, align 4 %55 = icmp eq i32 %54, 6 br i1 %55, label %56, label %83 56: ; preds = %53 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 5 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.2) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %81 62: ; preds = %56 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 5 %65 = load ptr, ptr %64, align 8 %66 = call i64 @stat(ptr noundef %65, ptr noundef %14) %67 = icmp ne i64 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %62 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 5 %71 = load ptr, ptr %70, align 8 %72 = call i32 @perror(ptr noundef %71) %73 = call i32 @die(ptr noundef @.str.1) br label %74 74: ; preds = %68, %62 %75 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call signext i8 @MAJOR(i32 noundef %76) store i8 %77, ptr %12, align 1 %78 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = call signext i8 @MINOR(i32 noundef %79) store i8 %80, ptr %13, align 1 br label %82 81: ; preds = %56 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 br label %82 82: ; preds = %81, %74 br label %84 83: ; preds = %53 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 br label %84 84: ; preds = %83, %82 %85 = load i32, ptr @stderr, align 4 %86 = load i8, ptr %10, align 1 %87 = sext i8 %86 to i32 %88 = load i8, ptr %11, align 1 %89 = sext i8 %88 to i32 %90 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %85, ptr noundef @.str.3, i32 noundef %87, i32 noundef %89) %91 = load i32, ptr @stderr, align 4 %92 = load i8, ptr %12, align 1 %93 = sext i8 %92 to i32 %94 = load i8, ptr %13, align 1 %95 = sext i8 %94 to i32 %96 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %91, ptr noundef @.str.4, i32 noundef %93, i32 noundef %95) %97 = load i8, ptr %10, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 2 br i1 %99, label %100, label %114 100: ; preds = %84 %101 = load i8, ptr %10, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 3 br i1 %103, label %104, label %114 104: ; preds = %100 %105 = load i8, ptr %10, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %114 108: ; preds = %104 %109 = load i32, ptr @stderr, align 4 %110 = load i8, ptr %10, align 1 %111 = sext i8 %110 to i32 %112 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %109, ptr noundef @.str.5, i32 noundef %111) %113 = call i32 @die(ptr noundef @.str.6) br label %114 114: ; preds = %108, %104, %100, %84 %115 = load i8, ptr %12, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %128 118: ; preds = %114 %119 = load i8, ptr %12, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 3 br i1 %121, label %122, label %128 122: ; preds = %118 %123 = load i32, ptr @stderr, align 4 %124 = load i8, ptr %12, align 1 %125 = sext i8 %124 to i32 %126 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %123, ptr noundef @.str.7, i32 noundef %125) %127 = call i32 @die(ptr noundef @.str.6) br label %128 128: ; preds = %122, %118, %114 store i32 0, ptr %6, align 4 br label %129 129: ; preds = %137, %128 %130 = load i32, ptr %6, align 4 %131 = sext i32 %130 to i64 %132 = icmp ult i64 %131, 1024 br i1 %132, label %133, label %140 133: ; preds = %129 %134 = load i32, ptr %6, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %135 store i8 0, ptr %136, align 1 br label %137 137: ; preds = %133 %138 = load i32, ptr %6, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %6, align 4 br label %129, !llvm.loop !6 140: ; preds = %129 %141 = load ptr, ptr %5, align 8 %142 = getelementptr inbounds ptr, ptr %141, i64 1 %143 = load ptr, ptr %142, align 8 %144 = load i32, ptr @O_RDONLY, align 4 %145 = call i32 @open(ptr noundef %143, i32 noundef %144, i32 noundef 0) store i32 %145, ptr %8, align 4 %146 = icmp slt i32 %145, 0 br i1 %146, label %147, label %149 147: ; preds = %140 %148 = call i32 @die(ptr noundef @.str.8) br label %149 149: ; preds = %147, %140 %150 = load i32, ptr %8, align 4 %151 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %152 = call i32 @read(i32 noundef %150, ptr noundef %151, i32 noundef 32) %153 = icmp ne i32 %152, 32 br i1 %153, label %154, label %156 154: ; preds = %149 %155 = call i32 @die(ptr noundef @.str.9) br label %156 156: ; preds = %154, %149 %157 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %158 = getelementptr inbounds i64, ptr %157, i64 0 %159 = load i64, ptr %158, align 16 %160 = icmp ne i64 %159, 68158209 br i1 %160, label %161, label %163 161: ; preds = %156 %162 = call i32 @die(ptr noundef @.str.10) br label %163 163: ; preds = %161, %156 %164 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %165 = getelementptr inbounds i64, ptr %164, i64 1 %166 = load i64, ptr %165, align 8 %167 = icmp ne i64 %166, 32 br i1 %167, label %168, label %170 168: ; preds = %163 %169 = call i32 @die(ptr noundef @.str.10) br label %170 170: ; preds = %168, %163 %171 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %172 = getelementptr inbounds i64, ptr %171, i64 3 %173 = load i64, ptr %172, align 8 %174 = icmp ne i64 %173, 0 br i1 %174, label %175, label %177 175: ; preds = %170 %176 = call i32 @die(ptr noundef @.str.11) br label %177 177: ; preds = %175, %170 %178 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %179 = getelementptr inbounds i64, ptr %178, i64 4 %180 = load i64, ptr %179, align 16 %181 = icmp ne i64 %180, 0 br i1 %181, label %182, label %184 182: ; preds = %177 %183 = call i32 @die(ptr noundef @.str.12) br label %184 184: ; preds = %182, %177 %185 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %186 = getelementptr inbounds i64, ptr %185, i64 5 %187 = load i64, ptr %186, align 8 %188 = icmp ne i64 %187, 0 br i1 %188, label %189, label %191 189: ; preds = %184 %190 = call i32 @die(ptr noundef @.str.10) br label %191 191: ; preds = %189, %184 %192 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %193 = getelementptr inbounds i64, ptr %192, i64 7 %194 = load i64, ptr %193, align 8 %195 = icmp ne i64 %194, 0 br i1 %195, label %196, label %198 196: ; preds = %191 %197 = call i32 @die(ptr noundef @.str.13) br label %198 198: ; preds = %196, %191 %199 = load i32, ptr %8, align 4 %200 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %201 = call i32 @read(i32 noundef %199, ptr noundef %200, i32 noundef 1024) store i32 %201, ptr %6, align 4 %202 = load i32, ptr @stderr, align 4 %203 = load i32, ptr %6, align 4 %204 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %202, ptr noundef @.str.14, i32 noundef %203) %205 = load i32, ptr %6, align 4 %206 = icmp ne i32 %205, 512 br i1 %206, label %207, label %209 207: ; preds = %198 %208 = call i32 @die(ptr noundef @.str.15) br label %209 209: ; preds = %207, %198 %210 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %211 = getelementptr inbounds i8, ptr %210, i64 510 %212 = load i16, ptr %211, align 2 %213 = zext i16 %212 to i32 %214 = icmp ne i32 %213, 43605 br i1 %214, label %215, label %217 215: ; preds = %209 %216 = call i32 @die(ptr noundef @.str.16) br label %217 217: ; preds = %215, %209 %218 = load i8, ptr %13, align 1 %219 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 506 store i8 %218, ptr %219, align 2 %220 = load i8, ptr %12, align 1 %221 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 507 store i8 %220, ptr %221, align 1 %222 = load i8, ptr %11, align 1 %223 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 508 store i8 %222, ptr %223, align 4 %224 = load i8, ptr %10, align 1 %225 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 509 store i8 %224, ptr %225, align 1 %226 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %227 = call i32 @write(i32 noundef 1, ptr noundef %226, i32 noundef 512) store i32 %227, ptr %6, align 4 %228 = load i32, ptr %6, align 4 %229 = icmp ne i32 %228, 512 br i1 %229, label %230, label %232 230: ; preds = %217 %231 = call i32 @die(ptr noundef @.str.17) br label %232 232: ; preds = %230, %217 %233 = load i32, ptr %8, align 4 %234 = call i32 @close(i32 noundef %233) %235 = load ptr, ptr %5, align 8 %236 = getelementptr inbounds ptr, ptr %235, i64 2 %237 = load ptr, ptr %236, align 8 %238 = load i32, ptr @O_RDONLY, align 4 %239 = call i32 @open(ptr noundef %237, i32 noundef %238, i32 noundef 0) store i32 %239, ptr %8, align 4 %240 = icmp slt i32 %239, 0 br i1 %240, label %241, label %243 241: ; preds = %232 %242 = call i32 @die(ptr noundef @.str.18) br label %243 243: ; preds = %241, %232 %244 = load i32, ptr %8, align 4 %245 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %246 = call i32 @read(i32 noundef %244, ptr noundef %245, i32 noundef 32) %247 = icmp ne i32 %246, 32 br i1 %247, label %248, label %250 248: ; preds = %243 %249 = call i32 @die(ptr noundef @.str.19) br label %250 250: ; preds = %248, %243 %251 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %252 = getelementptr inbounds i64, ptr %251, i64 0 %253 = load i64, ptr %252, align 16 %254 = icmp ne i64 %253, 68158209 br i1 %254, label %255, label %257 255: ; preds = %250 %256 = call i32 @die(ptr noundef @.str.20) br label %257 257: ; preds = %255, %250 %258 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %259 = getelementptr inbounds i64, ptr %258, i64 1 %260 = load i64, ptr %259, align 8 %261 = icmp ne i64 %260, 32 br i1 %261, label %262, label %264 262: ; preds = %257 %263 = call i32 @die(ptr noundef @.str.20) br label %264 264: ; preds = %262, %257 %265 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %266 = getelementptr inbounds i64, ptr %265, i64 3 %267 = load i64, ptr %266, align 8 %268 = icmp ne i64 %267, 0 br i1 %268, label %269, label %271 269: ; preds = %264 %270 = call i32 @die(ptr noundef @.str.21) br label %271 271: ; preds = %269, %264 %272 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %273 = getelementptr inbounds i64, ptr %272, i64 4 %274 = load i64, ptr %273, align 16 %275 = icmp ne i64 %274, 0 br i1 %275, label %276, label %278 276: ; preds = %271 %277 = call i32 @die(ptr noundef @.str.22) br label %278 278: ; preds = %276, %271 %279 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %280 = getelementptr inbounds i64, ptr %279, i64 5 %281 = load i64, ptr %280, align 8 %282 = icmp ne i64 %281, 0 br i1 %282, label %283, label %285 283: ; preds = %278 %284 = call i32 @die(ptr noundef @.str.20) br label %285 285: ; preds = %283, %278 %286 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %287 = getelementptr inbounds i64, ptr %286, i64 7 %288 = load i64, ptr %287, align 8 %289 = icmp ne i64 %288, 0 br i1 %289, label %290, label %292 290: ; preds = %285 %291 = call i32 @die(ptr noundef @.str.23) br label %292 292: ; preds = %290, %285 store i32 0, ptr %6, align 4 br label %293 293: ; preds = %307, %292 %294 = load i32, ptr %8, align 4 %295 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %296 = call i32 @read(i32 noundef %294, ptr noundef %295, i32 noundef 1024) store i32 %296, ptr %7, align 4 %297 = icmp sgt i32 %296, 0 br i1 %297, label %298, label %311 298: ; preds = %293 %299 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %300 = load i32, ptr %7, align 4 %301 = call i32 @write(i32 noundef 1, ptr noundef %299, i32 noundef %300) %302 = load i32, ptr %7, align 4 %303 = icmp ne i32 %301, %302 br i1 %303, label %304, label %306 304: ; preds = %298 %305 = call i32 @die(ptr noundef @.str.17) br label %306 306: ; preds = %304, %298 br label %307 307: ; preds = %306 %308 = load i32, ptr %7, align 4 %309 = load i32, ptr %6, align 4 %310 = add nsw i32 %309, %308 store i32 %310, ptr %6, align 4 br label %293, !llvm.loop !8 311: ; preds = %293 %312 = load i32, ptr %8, align 4 %313 = call i32 @close(i32 noundef %312) %314 = load i32, ptr %6, align 4 %315 = icmp sgt i32 %314, 2048 br i1 %315, label %316, label %318 316: ; preds = %311 %317 = call i32 @die(ptr noundef @.str.24) br label %318 318: ; preds = %316, %311 %319 = load i32, ptr @stderr, align 4 %320 = load i32, ptr %6, align 4 %321 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %319, ptr noundef @.str.25, i32 noundef %320) store i32 0, ptr %7, align 4 br label %322 322: ; preds = %330, %318 %323 = load i32, ptr %7, align 4 %324 = sext i32 %323 to i64 %325 = icmp ult i64 %324, 1024 br i1 %325, label %326, label %333 326: ; preds = %322 %327 = load i32, ptr %7, align 4 %328 = sext i32 %327 to i64 %329 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %328 store i8 0, ptr %329, align 1 br label %330 330: ; preds = %326 %331 = load i32, ptr %7, align 4 %332 = add nsw i32 %331, 1 store i32 %332, ptr %7, align 4 br label %322, !llvm.loop !9 333: ; preds = %322 br label %334 334: ; preds = %352, %333 %335 = load i32, ptr %6, align 4 %336 = icmp slt i32 %335, 2048 br i1 %336, label %337, label %356 337: ; preds = %334 %338 = load i32, ptr %6, align 4 %339 = sub nsw i32 2048, %338 store i32 %339, ptr %7, align 4 %340 = load i32, ptr %7, align 4 %341 = sext i32 %340 to i64 %342 = icmp ugt i64 %341, 1024 br i1 %342, label %343, label %344 343: ; preds = %337 store i32 1024, ptr %7, align 4 br label %344 344: ; preds = %343, %337 %345 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %346 = load i32, ptr %7, align 4 %347 = call i32 @write(i32 noundef 1, ptr noundef %345, i32 noundef %346) %348 = load i32, ptr %7, align 4 %349 = icmp ne i32 %347, %348 br i1 %349, label %350, label %352 350: ; preds = %344 %351 = call i32 @die(ptr noundef @.str.17) br label %352 352: ; preds = %350, %344 %353 = load i32, ptr %7, align 4 %354 = load i32, ptr %6, align 4 %355 = add nsw i32 %354, %353 store i32 %355, ptr %6, align 4 br label %334, !llvm.loop !10 356: ; preds = %334 %357 = load ptr, ptr %5, align 8 %358 = getelementptr inbounds ptr, ptr %357, i64 3 %359 = load ptr, ptr %358, align 8 %360 = load i32, ptr @O_RDONLY, align 4 %361 = call i32 @open(ptr noundef %359, i32 noundef %360, i32 noundef 0) store i32 %361, ptr %8, align 4 %362 = icmp slt i32 %361, 0 br i1 %362, label %363, label %365 363: ; preds = %356 %364 = call i32 @die(ptr noundef @.str.26) br label %365 365: ; preds = %363, %356 %366 = load i32, ptr %8, align 4 %367 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %368 = call i32 @read(i32 noundef %366, ptr noundef %367, i32 noundef 1024) %369 = icmp ne i32 %368, 1024 br i1 %369, label %370, label %372 370: ; preds = %365 %371 = call i32 @die(ptr noundef @.str.27) br label %372 372: ; preds = %370, %365 %373 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %374 = getelementptr inbounds i64, ptr %373, i64 5 %375 = load i64, ptr %374, align 8 %376 = icmp ne i64 %375, 0 br i1 %376, label %377, label %379 377: ; preds = %372 %378 = call i32 @die(ptr noundef @.str.28) br label %379 379: ; preds = %377, %372 store i32 0, ptr %6, align 4 br label %380 380: ; preds = %394, %379 %381 = load i32, ptr %8, align 4 %382 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %383 = call i32 @read(i32 noundef %381, ptr noundef %382, i32 noundef 1024) store i32 %383, ptr %7, align 4 %384 = icmp sgt i32 %383, 0 br i1 %384, label %385, label %398 385: ; preds = %380 %386 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %387 = load i32, ptr %7, align 4 %388 = call i32 @write(i32 noundef 1, ptr noundef %386, i32 noundef %387) %389 = load i32, ptr %7, align 4 %390 = icmp ne i32 %388, %389 br i1 %390, label %391, label %393 391: ; preds = %385 %392 = call i32 @die(ptr noundef @.str.17) br label %393 393: ; preds = %391, %385 br label %394 394: ; preds = %393 %395 = load i32, ptr %7, align 4 %396 = load i32, ptr %6, align 4 %397 = add nsw i32 %396, %395 store i32 %397, ptr %6, align 4 br label %380, !llvm.loop !11 398: ; preds = %380 %399 = load i32, ptr %8, align 4 %400 = call i32 @close(i32 noundef %399) %401 = load i32, ptr @stderr, align 4 %402 = load i32, ptr %6, align 4 %403 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %401, ptr noundef @.str.29, i32 noundef %402) %404 = load i32, ptr %6, align 4 %405 = icmp sgt i32 %404, 196608 br i1 %405, label %406, label %408 406: ; preds = %398 %407 = call i32 @die(ptr noundef @.str.30) br label %408 408: ; preds = %406, %398 ret i32 0 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @die(ptr noundef) #1 declare signext i8 @MAJOR(i32 noundef) #1 declare signext i8 @MINOR(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpuzupi7sr.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [7 x i8] c"FLOPPY\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c"Couldn't stat root device.\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"NONE\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [25 x i8] c"Root device is (%d, %d)\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Swap device is (%d, %d)\0A\00", align 1 @.str.5 = private unnamed_addr constant [34 x i8] c"Illegal root device (major = %d)\0A\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"Bad root device --- major #\00", align 1 @.str.7 = private unnamed_addr constant [34 x i8] c"Illegal swap device (major = %d)\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [22 x i8] c"Unable to open 'boot'\00", align 1 @.str.9 = private unnamed_addr constant [32 x i8] c"Unable to read header of 'boot'\00", align 1 @.str.10 = private unnamed_addr constant [27 x i8] c"Non-Minix header of 'boot'\00", align 1 @.str.11 = private unnamed_addr constant [31 x i8] c"Illegal data segment in 'boot'\00", align 1 @.str.12 = private unnamed_addr constant [22 x i8] c"Illegal bss in 'boot'\00", align 1 @.str.13 = private unnamed_addr constant [31 x i8] c"Illegal symbol table in 'boot'\00", align 1 @.str.14 = private unnamed_addr constant [23 x i8] c"Boot sector %d bytes.\0A\00", align 1 @.str.15 = private unnamed_addr constant [37 x i8] c"Boot block must be exactly 512 bytes\00", align 1 @.str.16 = private unnamed_addr constant [41 x i8] c"Boot block hasn't got boot flag (0xAA55)\00", align 1 @.str.17 = private unnamed_addr constant [18 x i8] c"Write call failed\00", align 1 @.str.18 = private unnamed_addr constant [23 x i8] c"Unable to open 'setup'\00", align 1 @.str.19 = private unnamed_addr constant [33 x i8] c"Unable to read header of 'setup'\00", align 1 @.str.20 = private unnamed_addr constant [28 x i8] c"Non-Minix header of 'setup'\00", align 1 @.str.21 = private unnamed_addr constant [32 x i8] c"Illegal data segment in 'setup'\00", align 1 @.str.22 = private unnamed_addr constant [23 x i8] c"Illegal bss in 'setup'\00", align 1 @.str.23 = private unnamed_addr constant [32 x i8] c"Illegal symbol table in 'setup'\00", align 1 @.str.24 = private unnamed_addr constant [61 x i8] c"Setup exceeds SETUP_SECTS sectors - rewrite build/boot/setup\00", align 1 @.str.25 = private unnamed_addr constant [20 x i8] c"Setup is %d bytes.\0A\00", align 1 @.str.26 = private unnamed_addr constant [24 x i8] c"Unable to open 'system'\00", align 1 @.str.27 = private unnamed_addr constant [34 x i8] c"Unable to read header of 'system'\00", align 1 @.str.28 = private unnamed_addr constant [27 x i8] c"Non-GCC header of 'system'\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"System is %d bytes.\0A\00", align 1 @.str.30 = private unnamed_addr constant [18 x i8] c"System is too big\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1024 x i8], align 16 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i8, align 1 %13 = alloca i8, align 1 %14 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 4 br i1 %16, label %20, label %17 17: ; preds = %2 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 6 br i1 %19, label %20, label %22 20: ; preds = %17, %2 %21 = call i32 (...) @usage() br label %22 22: ; preds = %20, %17 %23 = load i32, ptr %4, align 4 %24 = icmp sgt i32 %23, 4 br i1 %24, label %25, label %52 25: ; preds = %22 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 4 %28 = load ptr, ptr %27, align 8 %29 = call i64 @strcmp(ptr noundef %28, ptr noundef @.str) %30 = icmp ne i64 %29, 0 br i1 %30, label %31, label %50 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 4 %34 = load ptr, ptr %33, align 8 %35 = call i64 @stat(ptr noundef %34, ptr noundef %14) %36 = icmp ne i64 %35, 0 br i1 %36, label %37, label %43 37: ; preds = %31 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 4 %40 = load ptr, ptr %39, align 8 %41 = call i32 @perror(ptr noundef %40) %42 = call i32 @die(ptr noundef @.str.1) br label %43 43: ; preds = %37, %31 %44 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = call signext i8 @MAJOR(i32 noundef %45) store i8 %46, ptr %10, align 1 %47 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %48 = load i32, ptr %47, align 4 %49 = call signext i8 @MINOR(i32 noundef %48) store i8 %49, ptr %11, align 1 br label %51 50: ; preds = %25 store i8 0, ptr %10, align 1 store i8 0, ptr %11, align 1 br label %51 51: ; preds = %50, %43 br label %53 52: ; preds = %22 store i8 3, ptr %10, align 1 store i8 6, ptr %11, align 1 br label %53 53: ; preds = %52, %51 %54 = load i32, ptr %4, align 4 %55 = icmp eq i32 %54, 6 br i1 %55, label %56, label %83 56: ; preds = %53 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i64 5 %59 = load ptr, ptr %58, align 8 %60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.2) %61 = icmp ne i64 %60, 0 br i1 %61, label %62, label %81 62: ; preds = %56 %63 = load ptr, ptr %5, align 8 %64 = getelementptr inbounds ptr, ptr %63, i64 5 %65 = load ptr, ptr %64, align 8 %66 = call i64 @stat(ptr noundef %65, ptr noundef %14) %67 = icmp ne i64 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %62 %69 = load ptr, ptr %5, align 8 %70 = getelementptr inbounds ptr, ptr %69, i64 5 %71 = load ptr, ptr %70, align 8 %72 = call i32 @perror(ptr noundef %71) %73 = call i32 @die(ptr noundef @.str.1) br label %74 74: ; preds = %68, %62 %75 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %76 = load i32, ptr %75, align 4 %77 = call signext i8 @MAJOR(i32 noundef %76) store i8 %77, ptr %12, align 1 %78 = getelementptr inbounds %struct.stat, ptr %14, i32 0, i32 0 %79 = load i32, ptr %78, align 4 %80 = call signext i8 @MINOR(i32 noundef %79) store i8 %80, ptr %13, align 1 br label %82 81: ; preds = %56 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 br label %82 82: ; preds = %81, %74 br label %84 83: ; preds = %53 store i8 0, ptr %12, align 1 store i8 0, ptr %13, align 1 br label %84 84: ; preds = %83, %82 %85 = load i32, ptr @stderr, align 4 %86 = load i8, ptr %10, align 1 %87 = sext i8 %86 to i32 %88 = load i8, ptr %11, align 1 %89 = sext i8 %88 to i32 %90 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %85, ptr noundef @.str.3, i32 noundef %87, i32 noundef %89) %91 = load i32, ptr @stderr, align 4 %92 = load i8, ptr %12, align 1 %93 = sext i8 %92 to i32 %94 = load i8, ptr %13, align 1 %95 = sext i8 %94 to i32 %96 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %91, ptr noundef @.str.4, i32 noundef %93, i32 noundef %95) %97 = load i8, ptr %10, align 1 %98 = sext i8 %97 to i32 %99 = icmp ne i32 %98, 2 br i1 %99, label %100, label %114 100: ; preds = %84 %101 = load i8, ptr %10, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 3 br i1 %103, label %104, label %114 104: ; preds = %100 %105 = load i8, ptr %10, align 1 %106 = sext i8 %105 to i32 %107 = icmp ne i32 %106, 0 br i1 %107, label %108, label %114 108: ; preds = %104 %109 = load i32, ptr @stderr, align 4 %110 = load i8, ptr %10, align 1 %111 = sext i8 %110 to i32 %112 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %109, ptr noundef @.str.5, i32 noundef %111) %113 = call i32 @die(ptr noundef @.str.6) br label %114 114: ; preds = %108, %104, %100, %84 %115 = load i8, ptr %12, align 1 %116 = sext i8 %115 to i32 %117 = icmp ne i32 %116, 0 br i1 %117, label %118, label %128 118: ; preds = %114 %119 = load i8, ptr %12, align 1 %120 = sext i8 %119 to i32 %121 = icmp ne i32 %120, 3 br i1 %121, label %122, label %128 122: ; preds = %118 %123 = load i32, ptr @stderr, align 4 %124 = load i8, ptr %12, align 1 %125 = sext i8 %124 to i32 %126 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %123, ptr noundef @.str.7, i32 noundef %125) %127 = call i32 @die(ptr noundef @.str.6) br label %128 128: ; preds = %122, %118, %114 store i32 0, ptr %6, align 4 %129 = load i32, ptr %6, align 4 %130 = sext i32 %129 to i64 %131 = icmp ult i64 %130, 1024 br i1 %131, label %.lr.ph, label %142 .lr.ph: ; preds = %128 br label %132 132: ; preds = %.lr.ph, %136 %133 = load i32, ptr %6, align 4 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %134 store i8 0, ptr %135, align 1 br label %136 136: ; preds = %132 %137 = load i32, ptr %6, align 4 %138 = add nsw i32 %137, 1 store i32 %138, ptr %6, align 4 %139 = load i32, ptr %6, align 4 %140 = sext i32 %139 to i64 %141 = icmp ult i64 %140, 1024 br i1 %141, label %132, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %136 br label %142 142: ; preds = %._crit_edge, %128 %143 = load ptr, ptr %5, align 8 %144 = getelementptr inbounds ptr, ptr %143, i64 1 %145 = load ptr, ptr %144, align 8 %146 = load i32, ptr @O_RDONLY, align 4 %147 = call i32 @open(ptr noundef %145, i32 noundef %146, i32 noundef 0) store i32 %147, ptr %8, align 4 %148 = icmp slt i32 %147, 0 br i1 %148, label %149, label %151 149: ; preds = %142 %150 = call i32 @die(ptr noundef @.str.8) br label %151 151: ; preds = %149, %142 %152 = load i32, ptr %8, align 4 %153 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %154 = call i32 @read(i32 noundef %152, ptr noundef %153, i32 noundef 32) %155 = icmp ne i32 %154, 32 br i1 %155, label %156, label %158 156: ; preds = %151 %157 = call i32 @die(ptr noundef @.str.9) br label %158 158: ; preds = %156, %151 %159 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %160 = getelementptr inbounds i64, ptr %159, i64 0 %161 = load i64, ptr %160, align 16 %162 = icmp ne i64 %161, 68158209 br i1 %162, label %163, label %165 163: ; preds = %158 %164 = call i32 @die(ptr noundef @.str.10) br label %165 165: ; preds = %163, %158 %166 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %167 = getelementptr inbounds i64, ptr %166, i64 1 %168 = load i64, ptr %167, align 8 %169 = icmp ne i64 %168, 32 br i1 %169, label %170, label %172 170: ; preds = %165 %171 = call i32 @die(ptr noundef @.str.10) br label %172 172: ; preds = %170, %165 %173 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %174 = getelementptr inbounds i64, ptr %173, i64 3 %175 = load i64, ptr %174, align 8 %176 = icmp ne i64 %175, 0 br i1 %176, label %177, label %179 177: ; preds = %172 %178 = call i32 @die(ptr noundef @.str.11) br label %179 179: ; preds = %177, %172 %180 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %181 = getelementptr inbounds i64, ptr %180, i64 4 %182 = load i64, ptr %181, align 16 %183 = icmp ne i64 %182, 0 br i1 %183, label %184, label %186 184: ; preds = %179 %185 = call i32 @die(ptr noundef @.str.12) br label %186 186: ; preds = %184, %179 %187 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %188 = getelementptr inbounds i64, ptr %187, i64 5 %189 = load i64, ptr %188, align 8 %190 = icmp ne i64 %189, 0 br i1 %190, label %191, label %193 191: ; preds = %186 %192 = call i32 @die(ptr noundef @.str.10) br label %193 193: ; preds = %191, %186 %194 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %195 = getelementptr inbounds i64, ptr %194, i64 7 %196 = load i64, ptr %195, align 8 %197 = icmp ne i64 %196, 0 br i1 %197, label %198, label %200 198: ; preds = %193 %199 = call i32 @die(ptr noundef @.str.13) br label %200 200: ; preds = %198, %193 %201 = load i32, ptr %8, align 4 %202 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %203 = call i32 @read(i32 noundef %201, ptr noundef %202, i32 noundef 1024) store i32 %203, ptr %6, align 4 %204 = load i32, ptr @stderr, align 4 %205 = load i32, ptr %6, align 4 %206 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %204, ptr noundef @.str.14, i32 noundef %205) %207 = load i32, ptr %6, align 4 %208 = icmp ne i32 %207, 512 br i1 %208, label %209, label %211 209: ; preds = %200 %210 = call i32 @die(ptr noundef @.str.15) br label %211 211: ; preds = %209, %200 %212 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %213 = getelementptr inbounds i8, ptr %212, i64 510 %214 = load i16, ptr %213, align 2 %215 = zext i16 %214 to i32 %216 = icmp ne i32 %215, 43605 br i1 %216, label %217, label %219 217: ; preds = %211 %218 = call i32 @die(ptr noundef @.str.16) br label %219 219: ; preds = %217, %211 %220 = load i8, ptr %13, align 1 %221 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 506 store i8 %220, ptr %221, align 2 %222 = load i8, ptr %12, align 1 %223 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 507 store i8 %222, ptr %223, align 1 %224 = load i8, ptr %11, align 1 %225 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 508 store i8 %224, ptr %225, align 4 %226 = load i8, ptr %10, align 1 %227 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 509 store i8 %226, ptr %227, align 1 %228 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %229 = call i32 @write(i32 noundef 1, ptr noundef %228, i32 noundef 512) store i32 %229, ptr %6, align 4 %230 = load i32, ptr %6, align 4 %231 = icmp ne i32 %230, 512 br i1 %231, label %232, label %234 232: ; preds = %219 %233 = call i32 @die(ptr noundef @.str.17) br label %234 234: ; preds = %232, %219 %235 = load i32, ptr %8, align 4 %236 = call i32 @close(i32 noundef %235) %237 = load ptr, ptr %5, align 8 %238 = getelementptr inbounds ptr, ptr %237, i64 2 %239 = load ptr, ptr %238, align 8 %240 = load i32, ptr @O_RDONLY, align 4 %241 = call i32 @open(ptr noundef %239, i32 noundef %240, i32 noundef 0) store i32 %241, ptr %8, align 4 %242 = icmp slt i32 %241, 0 br i1 %242, label %243, label %245 243: ; preds = %234 %244 = call i32 @die(ptr noundef @.str.18) br label %245 245: ; preds = %243, %234 %246 = load i32, ptr %8, align 4 %247 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %248 = call i32 @read(i32 noundef %246, ptr noundef %247, i32 noundef 32) %249 = icmp ne i32 %248, 32 br i1 %249, label %250, label %252 250: ; preds = %245 %251 = call i32 @die(ptr noundef @.str.19) br label %252 252: ; preds = %250, %245 %253 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %254 = getelementptr inbounds i64, ptr %253, i64 0 %255 = load i64, ptr %254, align 16 %256 = icmp ne i64 %255, 68158209 br i1 %256, label %257, label %259 257: ; preds = %252 %258 = call i32 @die(ptr noundef @.str.20) br label %259 259: ; preds = %257, %252 %260 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %261 = getelementptr inbounds i64, ptr %260, i64 1 %262 = load i64, ptr %261, align 8 %263 = icmp ne i64 %262, 32 br i1 %263, label %264, label %266 264: ; preds = %259 %265 = call i32 @die(ptr noundef @.str.20) br label %266 266: ; preds = %264, %259 %267 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %268 = getelementptr inbounds i64, ptr %267, i64 3 %269 = load i64, ptr %268, align 8 %270 = icmp ne i64 %269, 0 br i1 %270, label %271, label %273 271: ; preds = %266 %272 = call i32 @die(ptr noundef @.str.21) br label %273 273: ; preds = %271, %266 %274 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %275 = getelementptr inbounds i64, ptr %274, i64 4 %276 = load i64, ptr %275, align 16 %277 = icmp ne i64 %276, 0 br i1 %277, label %278, label %280 278: ; preds = %273 %279 = call i32 @die(ptr noundef @.str.22) br label %280 280: ; preds = %278, %273 %281 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %282 = getelementptr inbounds i64, ptr %281, i64 5 %283 = load i64, ptr %282, align 8 %284 = icmp ne i64 %283, 0 br i1 %284, label %285, label %287 285: ; preds = %280 %286 = call i32 @die(ptr noundef @.str.20) br label %287 287: ; preds = %285, %280 %288 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %289 = getelementptr inbounds i64, ptr %288, i64 7 %290 = load i64, ptr %289, align 8 %291 = icmp ne i64 %290, 0 br i1 %291, label %292, label %294 292: ; preds = %287 %293 = call i32 @die(ptr noundef @.str.23) br label %294 294: ; preds = %292, %287 store i32 0, ptr %6, align 4 %295 = load i32, ptr %8, align 4 %296 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %297 = call i32 @read(i32 noundef %295, ptr noundef %296, i32 noundef 1024) store i32 %297, ptr %7, align 4 %298 = icmp sgt i32 %297, 0 br i1 %298, label %.lr.ph2, label %315 .lr.ph2: ; preds = %294 br label %299 299: ; preds = %.lr.ph2, %308 %300 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %301 = load i32, ptr %7, align 4 %302 = call i32 @write(i32 noundef 1, ptr noundef %300, i32 noundef %301) %303 = load i32, ptr %7, align 4 %304 = icmp ne i32 %302, %303 br i1 %304, label %305, label %307 305: ; preds = %299 %306 = call i32 @die(ptr noundef @.str.17) br label %307 307: ; preds = %305, %299 br label %308 308: ; preds = %307 %309 = load i32, ptr %7, align 4 %310 = load i32, ptr %6, align 4 %311 = add nsw i32 %310, %309 store i32 %311, ptr %6, align 4 %312 = load i32, ptr %8, align 4 %313 = call i32 @read(i32 noundef %312, ptr noundef %296, i32 noundef 1024) store i32 %313, ptr %7, align 4 %314 = icmp sgt i32 %313, 0 br i1 %314, label %299, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %308 br label %315 315: ; preds = %._crit_edge3, %294 %316 = load i32, ptr %8, align 4 %317 = call i32 @close(i32 noundef %316) %318 = load i32, ptr %6, align 4 %319 = icmp sgt i32 %318, 2048 br i1 %319, label %320, label %322 320: ; preds = %315 %321 = call i32 @die(ptr noundef @.str.24) br label %322 322: ; preds = %320, %315 %323 = load i32, ptr @stderr, align 4 %324 = load i32, ptr %6, align 4 %325 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %323, ptr noundef @.str.25, i32 noundef %324) store i32 0, ptr %7, align 4 %326 = load i32, ptr %7, align 4 %327 = sext i32 %326 to i64 %328 = icmp ult i64 %327, 1024 br i1 %328, label %.lr.ph5, label %339 .lr.ph5: ; preds = %322 br label %329 329: ; preds = %.lr.ph5, %333 %330 = load i32, ptr %7, align 4 %331 = sext i32 %330 to i64 %332 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 %331 store i8 0, ptr %332, align 1 br label %333 333: ; preds = %329 %334 = load i32, ptr %7, align 4 %335 = add nsw i32 %334, 1 store i32 %335, ptr %7, align 4 %336 = load i32, ptr %7, align 4 %337 = sext i32 %336 to i64 %338 = icmp ult i64 %337, 1024 br i1 %338, label %329, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %333 br label %339 339: ; preds = %._crit_edge6, %322 %340 = load i32, ptr %6, align 4 %341 = icmp slt i32 %340, 2048 br i1 %341, label %.lr.ph8, label %363 .lr.ph8: ; preds = %339 br label %342 342: ; preds = %.lr.ph8, %357 %343 = load i32, ptr %6, align 4 %344 = sub nsw i32 2048, %343 store i32 %344, ptr %7, align 4 %345 = load i32, ptr %7, align 4 %346 = sext i32 %345 to i64 %347 = icmp ugt i64 %346, 1024 br i1 %347, label %348, label %349 348: ; preds = %342 store i32 1024, ptr %7, align 4 br label %349 349: ; preds = %348, %342 %350 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %351 = load i32, ptr %7, align 4 %352 = call i32 @write(i32 noundef 1, ptr noundef %350, i32 noundef %351) %353 = load i32, ptr %7, align 4 %354 = icmp ne i32 %352, %353 br i1 %354, label %355, label %357 355: ; preds = %349 %356 = call i32 @die(ptr noundef @.str.17) br label %357 357: ; preds = %355, %349 %358 = load i32, ptr %7, align 4 %359 = load i32, ptr %6, align 4 %360 = add nsw i32 %359, %358 store i32 %360, ptr %6, align 4 %361 = load i32, ptr %6, align 4 %362 = icmp slt i32 %361, 2048 br i1 %362, label %342, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %357 br label %363 363: ; preds = %._crit_edge9, %339 %364 = load ptr, ptr %5, align 8 %365 = getelementptr inbounds ptr, ptr %364, i64 3 %366 = load ptr, ptr %365, align 8 %367 = load i32, ptr @O_RDONLY, align 4 %368 = call i32 @open(ptr noundef %366, i32 noundef %367, i32 noundef 0) store i32 %368, ptr %8, align 4 %369 = icmp slt i32 %368, 0 br i1 %369, label %370, label %372 370: ; preds = %363 %371 = call i32 @die(ptr noundef @.str.26) br label %372 372: ; preds = %370, %363 %373 = load i32, ptr %8, align 4 %374 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %375 = call i32 @read(i32 noundef %373, ptr noundef %374, i32 noundef 1024) %376 = icmp ne i32 %375, 1024 br i1 %376, label %377, label %379 377: ; preds = %372 %378 = call i32 @die(ptr noundef @.str.27) br label %379 379: ; preds = %377, %372 %380 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %381 = getelementptr inbounds i64, ptr %380, i64 5 %382 = load i64, ptr %381, align 8 %383 = icmp ne i64 %382, 0 br i1 %383, label %384, label %386 384: ; preds = %379 %385 = call i32 @die(ptr noundef @.str.28) br label %386 386: ; preds = %384, %379 store i32 0, ptr %6, align 4 %387 = load i32, ptr %8, align 4 %388 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %389 = call i32 @read(i32 noundef %387, ptr noundef %388, i32 noundef 1024) store i32 %389, ptr %7, align 4 %390 = icmp sgt i32 %389, 0 br i1 %390, label %.lr.ph11, label %407 .lr.ph11: ; preds = %386 br label %391 391: ; preds = %.lr.ph11, %400 %392 = getelementptr inbounds [1024 x i8], ptr %9, i64 0, i64 0 %393 = load i32, ptr %7, align 4 %394 = call i32 @write(i32 noundef 1, ptr noundef %392, i32 noundef %393) %395 = load i32, ptr %7, align 4 %396 = icmp ne i32 %394, %395 br i1 %396, label %397, label %399 397: ; preds = %391 %398 = call i32 @die(ptr noundef @.str.17) br label %399 399: ; preds = %397, %391 br label %400 400: ; preds = %399 %401 = load i32, ptr %7, align 4 %402 = load i32, ptr %6, align 4 %403 = add nsw i32 %402, %401 store i32 %403, ptr %6, align 4 %404 = load i32, ptr %8, align 4 %405 = call i32 @read(i32 noundef %404, ptr noundef %388, i32 noundef 1024) store i32 %405, ptr %7, align 4 %406 = icmp sgt i32 %405, 0 br i1 %406, label %391, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %400 br label %407 407: ; preds = %._crit_edge12, %386 %408 = load i32, ptr %8, align 4 %409 = call i32 @close(i32 noundef %408) %410 = load i32, ptr @stderr, align 4 %411 = load i32, ptr %6, align 4 %412 = call i32 (i32, ptr, i32, ...) @fprintf(i32 noundef %410, ptr noundef @.str.29, i32 noundef %411) %413 = load i32, ptr %6, align 4 %414 = icmp sgt i32 %413, 196608 br i1 %414, label %415, label %417 415: ; preds = %407 %416 = call i32 @die(ptr noundef @.str.30) br label %417 417: ; preds = %415, %407 ret i32 0 } declare i32 @usage(...) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @die(ptr noundef) #1 declare signext i8 @MAJOR(i32 noundef) #1 declare signext i8 @MINOR(i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmprsbnt8fm.c' source_filename = "/tmp/tmprsbnt8fm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Usage: %s file1 file2 len\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Error stroul %s : %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Error malloc %lu : %s\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"Error opening %s : %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Error reading from %s : %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"Error reading %lu bytes from %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [53 x i8] c"Error byte %lu in %s(%#x) and %s(%#x) did not match\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 4 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %193 21: ; preds = %2 store i32 0, ptr @errno, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 3 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strtoul(ptr noundef %24, ptr noundef null, i32 noundef 10) store i64 %25, ptr %8, align 8 %26 = load i32, ptr @errno, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %21 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 3 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr @errno, align 4 %34 = call ptr @strerror(i32 noundef %33) %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1, ptr noundef %32, ptr noundef %34) %36 = load i32, ptr @errno, align 4 store i32 %36, ptr %3, align 4 br label %193 37: ; preds = %21 %38 = load i64, ptr %8, align 8 %39 = call ptr @malloc(i64 noundef %38) store ptr %39, ptr %11, align 8 %40 = load ptr, ptr %11, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %49 42: ; preds = %37 %43 = load i32, ptr @stderr, align 4 %44 = load i64, ptr %8, align 8 %45 = load i32, ptr @errno, align 4 %46 = call ptr @strerror(i32 noundef %45) %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, i64 noundef %44, ptr noundef %46) %48 = load i32, ptr @errno, align 4 store i32 %48, ptr %3, align 4 br label %193 49: ; preds = %37 %50 = load i64, ptr %8, align 8 %51 = call ptr @malloc(i64 noundef %50) store ptr %51, ptr %12, align 8 %52 = load ptr, ptr %12, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %61 54: ; preds = %49 %55 = load i32, ptr @stderr, align 4 %56 = load i64, ptr %8, align 8 %57 = load i32, ptr @errno, align 4 %58 = call ptr @strerror(i32 noundef %57) %59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.2, i64 noundef %56, ptr noundef %58) %60 = load i32, ptr @errno, align 4 store i32 %60, ptr %3, align 4 br label %193 61: ; preds = %49 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr @O_RDONLY, align 4 %66 = call i32 @open(ptr noundef %64, i32 noundef %65) store i32 %66, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %78 69: ; preds = %61 %70 = load i32, ptr @stderr, align 4 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 1 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr @errno, align 4 %75 = call ptr @strerror(i32 noundef %74) %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.3, ptr noundef %73, ptr noundef %75) %77 = load i32, ptr @errno, align 4 store i32 %77, ptr %3, align 4 br label %193 78: ; preds = %61 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 2 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr @O_RDONLY, align 4 %83 = call i32 @open(ptr noundef %81, i32 noundef %82) store i32 %83, ptr %7, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp slt i32 %84, 0 br i1 %85, label %86, label %95 86: ; preds = %78 %87 = load i32, ptr @stderr, align 4 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 2 %90 = load ptr, ptr %89, align 8 %91 = load i32, ptr @errno, align 4 %92 = call ptr @strerror(i32 noundef %91) %93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.3, ptr noundef %90, ptr noundef %92) %94 = load i32, ptr @errno, align 4 store i32 %94, ptr %3, align 4 br label %193 95: ; preds = %78 %96 = load i32, ptr %6, align 4 %97 = load ptr, ptr %11, align 8 %98 = load i64, ptr %8, align 8 %99 = call i64 @read(i32 noundef %96, ptr noundef %97, i64 noundef %98) store i64 %99, ptr %10, align 8 %100 = load i64, ptr %10, align 8 %101 = icmp ult i64 %100, 0 br i1 %101, label %102, label %111 102: ; preds = %95 %103 = load i32, ptr @stderr, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds ptr, ptr %104, i64 1 %106 = load ptr, ptr %105, align 8 %107 = load i32, ptr @errno, align 4 %108 = call ptr @strerror(i32 noundef %107) %109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str.4, ptr noundef %106, ptr noundef %108) %110 = load i32, ptr @errno, align 4 store i32 %110, ptr %3, align 4 br label %193 111: ; preds = %95 %112 = load i64, ptr %8, align 8 %113 = load i64, ptr %10, align 8 %114 = icmp ne i64 %112, %113 br i1 %114, label %115, label %122 115: ; preds = %111 %116 = load i32, ptr @stderr, align 4 %117 = load i64, ptr %8, align 8 %118 = load ptr, ptr %5, align 8 %119 = getelementptr inbounds ptr, ptr %118, i64 1 %120 = load ptr, ptr %119, align 8 %121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.5, i64 noundef %117, ptr noundef %120) store i32 1, ptr %3, align 4 br label %193 122: ; preds = %111 br label %123 123: ; preds = %122 %124 = load i32, ptr %7, align 4 %125 = load ptr, ptr %12, align 8 %126 = load i64, ptr %8, align 8 %127 = call i64 @read(i32 noundef %124, ptr noundef %125, i64 noundef %126) store i64 %127, ptr %10, align 8 %128 = load i64, ptr %10, align 8 %129 = icmp ult i64 %128, 0 br i1 %129, label %130, label %139 130: ; preds = %123 %131 = load i32, ptr @stderr, align 4 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds ptr, ptr %132, i64 2 %134 = load ptr, ptr %133, align 8 %135 = load i32, ptr @errno, align 4 %136 = call ptr @strerror(i32 noundef %135) %137 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %131, ptr noundef @.str.4, ptr noundef %134, ptr noundef %136) %138 = load i32, ptr @errno, align 4 store i32 %138, ptr %3, align 4 br label %193 139: ; preds = %123 %140 = load i64, ptr %8, align 8 %141 = load i64, ptr %10, align 8 %142 = icmp ne i64 %140, %141 br i1 %142, label %143, label %150 143: ; preds = %139 %144 = load i32, ptr @stderr, align 4 %145 = load i64, ptr %8, align 8 %146 = load ptr, ptr %5, align 8 %147 = getelementptr inbounds ptr, ptr %146, i64 2 %148 = load ptr, ptr %147, align 8 %149 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %144, ptr noundef @.str.5, i64 noundef %145, ptr noundef %148) store i32 1, ptr %3, align 4 br label %193 150: ; preds = %139 br label %151 151: ; preds = %150 store i64 0, ptr %9, align 8 br label %152 152: ; preds = %189, %151 %153 = load i64, ptr %9, align 8 %154 = load i64, ptr %8, align 8 %155 = icmp ult i64 %153, %154 br i1 %155, label %156, label %192 156: ; preds = %152 %157 = load ptr, ptr %11, align 8 %158 = load i64, ptr %9, align 8 %159 = getelementptr inbounds i8, ptr %157, i64 %158 %160 = load i8, ptr %159, align 1 %161 = sext i8 %160 to i32 %162 = load ptr, ptr %12, align 8 %163 = load i64, ptr %9, align 8 %164 = getelementptr inbounds i8, ptr %162, i64 %163 %165 = load i8, ptr %164, align 1 %166 = sext i8 %165 to i32 %167 = icmp ne i32 %161, %166 br i1 %167, label %168, label %188 168: ; preds = %156 %169 = load i32, ptr @stderr, align 4 %170 = load i64, ptr %9, align 8 %171 = load ptr, ptr %5, align 8 %172 = getelementptr inbounds ptr, ptr %171, i64 1 %173 = load ptr, ptr %172, align 8 %174 = load ptr, ptr %11, align 8 %175 = load i64, ptr %9, align 8 %176 = getelementptr inbounds i8, ptr %174, i64 %175 %177 = load i8, ptr %176, align 1 %178 = sext i8 %177 to i32 %179 = load ptr, ptr %5, align 8 %180 = getelementptr inbounds ptr, ptr %179, i64 2 %181 = load ptr, ptr %180, align 8 %182 = load ptr, ptr %12, align 8 %183 = load i64, ptr %9, align 8 %184 = getelementptr inbounds i8, ptr %182, i64 %183 %185 = load i8, ptr %184, align 1 %186 = sext i8 %185 to i32 %187 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %169, ptr noundef @.str.6, i64 noundef %170, ptr noundef %173, i32 noundef %178, ptr noundef %181, i32 noundef %186) store i32 5, ptr %3, align 4 br label %193 188: ; preds = %156 br label %189 189: ; preds = %188 %190 = load i64, ptr %9, align 8 %191 = add i64 %190, 1 store i64 %191, ptr %9, align 8 br label %152, !llvm.loop !6 192: ; preds = %152 store i32 0, ptr %3, align 4 br label %193 193: ; preds = %192, %168, %143, %130, %115, %102, %86, %69, %54, %42, %28, %15 %194 = load i32, ptr %3, align 4 ret i32 %194 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprsbnt8fm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Usage: %s file1 file2 len\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [22 x i8] c"Error stroul %s : %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Error malloc %lu : %s\0A\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [23 x i8] c"Error opening %s : %s\0A\00", align 1 @.str.4 = private unnamed_addr constant [28 x i8] c"Error reading from %s : %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [33 x i8] c"Error reading %lu bytes from %s\0A\00", align 1 @.str.6 = private unnamed_addr constant [53 x i8] c"Error byte %lu in %s(%#x) and %s(%#x) did not match\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i64, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 4 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str, ptr noundef %19) store i32 1, ptr %3, align 4 br label %195 21: ; preds = %2 store i32 0, ptr @errno, align 4 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 3 %24 = load ptr, ptr %23, align 8 %25 = call i64 @strtoul(ptr noundef %24, ptr noundef null, i32 noundef 10) store i64 %25, ptr %8, align 8 %26 = load i32, ptr @errno, align 4 %27 = icmp ne i32 %26, 0 br i1 %27, label %28, label %37 28: ; preds = %21 %29 = load i32, ptr @stderr, align 4 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 3 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr @errno, align 4 %34 = call ptr @strerror(i32 noundef %33) %35 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef @.str.1, ptr noundef %32, ptr noundef %34) %36 = load i32, ptr @errno, align 4 store i32 %36, ptr %3, align 4 br label %195 37: ; preds = %21 %38 = load i64, ptr %8, align 8 %39 = call ptr @malloc(i64 noundef %38) store ptr %39, ptr %11, align 8 %40 = load ptr, ptr %11, align 8 %41 = icmp eq ptr %40, null br i1 %41, label %42, label %49 42: ; preds = %37 %43 = load i32, ptr @stderr, align 4 %44 = load i64, ptr %8, align 8 %45 = load i32, ptr @errno, align 4 %46 = call ptr @strerror(i32 noundef %45) %47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %43, ptr noundef @.str.2, i64 noundef %44, ptr noundef %46) %48 = load i32, ptr @errno, align 4 store i32 %48, ptr %3, align 4 br label %195 49: ; preds = %37 %50 = load i64, ptr %8, align 8 %51 = call ptr @malloc(i64 noundef %50) store ptr %51, ptr %12, align 8 %52 = load ptr, ptr %12, align 8 %53 = icmp eq ptr %52, null br i1 %53, label %54, label %61 54: ; preds = %49 %55 = load i32, ptr @stderr, align 4 %56 = load i64, ptr %8, align 8 %57 = load i32, ptr @errno, align 4 %58 = call ptr @strerror(i32 noundef %57) %59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.2, i64 noundef %56, ptr noundef %58) %60 = load i32, ptr @errno, align 4 store i32 %60, ptr %3, align 4 br label %195 61: ; preds = %49 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 %65 = load i32, ptr @O_RDONLY, align 4 %66 = call i32 @open(ptr noundef %64, i32 noundef %65) store i32 %66, ptr %6, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %67, 0 br i1 %68, label %69, label %78 69: ; preds = %61 %70 = load i32, ptr @stderr, align 4 %71 = load ptr, ptr %5, align 8 %72 = getelementptr inbounds ptr, ptr %71, i64 1 %73 = load ptr, ptr %72, align 8 %74 = load i32, ptr @errno, align 4 %75 = call ptr @strerror(i32 noundef %74) %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %70, ptr noundef @.str.3, ptr noundef %73, ptr noundef %75) %77 = load i32, ptr @errno, align 4 store i32 %77, ptr %3, align 4 br label %195 78: ; preds = %61 %79 = load ptr, ptr %5, align 8 %80 = getelementptr inbounds ptr, ptr %79, i64 2 %81 = load ptr, ptr %80, align 8 %82 = load i32, ptr @O_RDONLY, align 4 %83 = call i32 @open(ptr noundef %81, i32 noundef %82) store i32 %83, ptr %7, align 4 %84 = load i32, ptr %7, align 4 %85 = icmp slt i32 %84, 0 br i1 %85, label %86, label %95 86: ; preds = %78 %87 = load i32, ptr @stderr, align 4 %88 = load ptr, ptr %5, align 8 %89 = getelementptr inbounds ptr, ptr %88, i64 2 %90 = load ptr, ptr %89, align 8 %91 = load i32, ptr @errno, align 4 %92 = call ptr @strerror(i32 noundef %91) %93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.3, ptr noundef %90, ptr noundef %92) %94 = load i32, ptr @errno, align 4 store i32 %94, ptr %3, align 4 br label %195 95: ; preds = %78 %96 = load i32, ptr %6, align 4 %97 = load ptr, ptr %11, align 8 %98 = load i64, ptr %8, align 8 %99 = call i64 @read(i32 noundef %96, ptr noundef %97, i64 noundef %98) store i64 %99, ptr %10, align 8 %100 = load i64, ptr %10, align 8 %101 = icmp ult i64 %100, 0 br i1 %101, label %102, label %111 102: ; preds = %95 %103 = load i32, ptr @stderr, align 4 %104 = load ptr, ptr %5, align 8 %105 = getelementptr inbounds ptr, ptr %104, i64 1 %106 = load ptr, ptr %105, align 8 %107 = load i32, ptr @errno, align 4 %108 = call ptr @strerror(i32 noundef %107) %109 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %103, ptr noundef @.str.4, ptr noundef %106, ptr noundef %108) %110 = load i32, ptr @errno, align 4 store i32 %110, ptr %3, align 4 br label %195 111: ; preds = %95 %112 = load i64, ptr %8, align 8 %113 = load i64, ptr %10, align 8 %114 = icmp ne i64 %112, %113 br i1 %114, label %115, label %122 115: ; preds = %111 %116 = load i32, ptr @stderr, align 4 %117 = load i64, ptr %8, align 8 %118 = load ptr, ptr %5, align 8 %119 = getelementptr inbounds ptr, ptr %118, i64 1 %120 = load ptr, ptr %119, align 8 %121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %116, ptr noundef @.str.5, i64 noundef %117, ptr noundef %120) store i32 1, ptr %3, align 4 br label %195 122: ; preds = %111 br label %123 123: ; preds = %122 %124 = load i32, ptr %7, align 4 %125 = load ptr, ptr %12, align 8 %126 = load i64, ptr %8, align 8 %127 = call i64 @read(i32 noundef %124, ptr noundef %125, i64 noundef %126) store i64 %127, ptr %10, align 8 %128 = load i64, ptr %10, align 8 %129 = icmp ult i64 %128, 0 br i1 %129, label %130, label %139 130: ; preds = %123 %131 = load i32, ptr @stderr, align 4 %132 = load ptr, ptr %5, align 8 %133 = getelementptr inbounds ptr, ptr %132, i64 2 %134 = load ptr, ptr %133, align 8 %135 = load i32, ptr @errno, align 4 %136 = call ptr @strerror(i32 noundef %135) %137 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %131, ptr noundef @.str.4, ptr noundef %134, ptr noundef %136) %138 = load i32, ptr @errno, align 4 store i32 %138, ptr %3, align 4 br label %195 139: ; preds = %123 %140 = load i64, ptr %8, align 8 %141 = load i64, ptr %10, align 8 %142 = icmp ne i64 %140, %141 br i1 %142, label %143, label %150 143: ; preds = %139 %144 = load i32, ptr @stderr, align 4 %145 = load i64, ptr %8, align 8 %146 = load ptr, ptr %5, align 8 %147 = getelementptr inbounds ptr, ptr %146, i64 2 %148 = load ptr, ptr %147, align 8 %149 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %144, ptr noundef @.str.5, i64 noundef %145, ptr noundef %148) store i32 1, ptr %3, align 4 br label %195 150: ; preds = %139 br label %151 151: ; preds = %150 store i64 0, ptr %9, align 8 %152 = load i64, ptr %9, align 8 %153 = load i64, ptr %8, align 8 %154 = icmp ult i64 %152, %153 br i1 %154, label %.lr.ph, label %194 .lr.ph: ; preds = %151 br label %155 155: ; preds = %.lr.ph, %188 %156 = load ptr, ptr %11, align 8 %157 = load i64, ptr %9, align 8 %158 = getelementptr inbounds i8, ptr %156, i64 %157 %159 = load i8, ptr %158, align 1 %160 = sext i8 %159 to i32 %161 = load ptr, ptr %12, align 8 %162 = load i64, ptr %9, align 8 %163 = getelementptr inbounds i8, ptr %161, i64 %162 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = icmp ne i32 %160, %165 br i1 %166, label %167, label %187 167: ; preds = %155 %168 = load i32, ptr @stderr, align 4 %169 = load i64, ptr %9, align 8 %170 = load ptr, ptr %5, align 8 %171 = getelementptr inbounds ptr, ptr %170, i64 1 %172 = load ptr, ptr %171, align 8 %173 = load ptr, ptr %11, align 8 %174 = load i64, ptr %9, align 8 %175 = getelementptr inbounds i8, ptr %173, i64 %174 %176 = load i8, ptr %175, align 1 %177 = sext i8 %176 to i32 %178 = load ptr, ptr %5, align 8 %179 = getelementptr inbounds ptr, ptr %178, i64 2 %180 = load ptr, ptr %179, align 8 %181 = load ptr, ptr %12, align 8 %182 = load i64, ptr %9, align 8 %183 = getelementptr inbounds i8, ptr %181, i64 %182 %184 = load i8, ptr %183, align 1 %185 = sext i8 %184 to i32 %186 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %168, ptr noundef @.str.6, i64 noundef %169, ptr noundef %172, i32 noundef %177, ptr noundef %180, i32 noundef %185) store i32 5, ptr %3, align 4 br label %195 187: ; preds = %155 br label %188 188: ; preds = %187 %189 = load i64, ptr %9, align 8 %190 = add i64 %189, 1 store i64 %190, ptr %9, align 8 %191 = load i64, ptr %9, align 8 %192 = load i64, ptr %8, align 8 %193 = icmp ult i64 %191, %192 br i1 %193, label %155, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %188 br label %194 194: ; preds = %._crit_edge, %151 store i32 0, ptr %3, align 4 br label %195 195: ; preds = %194, %167, %143, %130, %115, %102, %86, %69, %54, %42, %28, %15 %196 = load i32, ptr %3, align 4 ret i32 %196 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @strerror(i32 noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i64 @read(i32 noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp3ca5d1n.c' source_filename = "/tmp/tmpp3ca5d1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter two numbers: \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"\0Ausing bitwise addition,\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"\0A%d + %d = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @bitwiseaddition(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @bitwiseaddition(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/tmpp3ca5d1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Enter two numbers: \00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"\0Ausing bitwise addition,\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"\0A%d + %d = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %3, align 4 %9 = call i32 @bitwiseaddition(i32 noundef %7, i32 noundef %8) store i32 %9, ptr %4, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = load i32, ptr %4, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %11, i32 noundef %12, i32 noundef %13) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @bitwiseaddition(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/tmp1h_s9idx.c' source_filename = "/tmp/tmp1h_s9idx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninivar_strcoll() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcoll(ptr noundef %3, ptr noundef %4) ret void } declare i32 @strcoll(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/tmp1h_s9idx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninivar_strcoll() #0 { %1 = alloca ptr, align 8 %2 = alloca ptr, align 8 %3 = load ptr, ptr %1, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strcoll(ptr noundef %3, ptr noundef %4) ret void } declare i32 @strcoll(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/tmp8tred4ik.c' source_filename = "/tmp/tmp8tred4ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"%s: Not a valid PERM[%d] = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"%s at line %d in file %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"check_perm\00", align 1 @.str.3 = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dribbroc/HONEI/refs/heads/master/honei/math/SuperLU_4.1/SRC/sp_preorder.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_perm(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = call i64 @calloc(i32 noundef %10, i32 noundef 4) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %8, align 8 store i32 0, ptr %7, align 4 br label %13 13: ; preds = %59, %3 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %5, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %17, label %62 17: ; preds = %13 %18 = load ptr, ptr %8, align 8 %19 = load ptr, ptr %6, align 8 %20 = load i32, ptr %7, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load i32, ptr %22, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %18, i64 %24 %26 = load i32, ptr %25, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %36, label %28 28: ; preds = %17 %29 = load ptr, ptr %6, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load i32, ptr %5, align 4 %35 = icmp sge i32 %33, %34 br i1 %35, label %36, label %49 36: ; preds = %28, %17 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %7, align 4 %39 = load ptr, ptr %6, 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 = call i32 @printf(ptr noundef @.str, ptr noundef %37, i32 noundef %38, i32 noundef %43) %45 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %46 = call i32 @sprintf(ptr noundef %45, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 200, ptr noundef @.str.3) %47 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %48 = call i32 @superlu_abort_and_exit(ptr noundef %47) br label %58 49: ; preds = %28 %50 = load ptr, ptr %8, align 8 %51 = load ptr, ptr %6, align 8 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 %55 = load i32, ptr %54, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %50, i64 %56 store i32 1, ptr %57, align 4 br label %58 58: ; preds = %49, %36 br label %59 59: ; preds = %58 %60 = load i32, ptr %7, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %7, align 4 br label %13, !llvm.loop !6 62: ; preds = %13 %63 = load ptr, ptr %8, align 8 %64 = call i32 @superlu_free(ptr noundef %63) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @superlu_abort_and_exit(ptr noundef) #1 declare i32 @superlu_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8tred4ik.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"%s: Not a valid PERM[%d] = %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"%s at line %d in file %s\0A\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c"check_perm\00", align 1 @.str.3 = private unnamed_addr constant [164 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/dribbroc/HONEI/refs/heads/master/honei/math/SuperLU_4.1/SRC/sp_preorder.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @check_perm(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %10 = load i32, ptr %5, align 4 %11 = call i64 @calloc(i32 noundef %10, i32 noundef 4) %12 = inttoptr i64 %11 to ptr store ptr %12, ptr %8, align 8 store i32 0, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %.lr.ph, label %64 .lr.ph: ; preds = %3 br label %16 16: ; preds = %.lr.ph, %58 %17 = load ptr, ptr %8, align 8 %18 = load ptr, ptr %6, align 8 %19 = load i32, ptr %7, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %18, i64 %20 %22 = load i32, ptr %21, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %17, i64 %23 %25 = load i32, ptr %24, align 4 %26 = icmp eq i32 %25, 1 br i1 %26, label %35, label %27 27: ; preds = %16 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp sge i32 %32, %33 br i1 %34, label %35, label %48 35: ; preds = %27, %16 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 %42 = load i32, ptr %41, align 4 %43 = call i32 @printf(ptr noundef @.str, ptr noundef %36, i32 noundef %37, i32 noundef %42) %44 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @sprintf(ptr noundef %44, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 200, ptr noundef @.str.3) %46 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %47 = call i32 @superlu_abort_and_exit(ptr noundef %46) br label %57 48: ; preds = %27 %49 = load ptr, ptr %8, align 8 %50 = load ptr, ptr %6, align 8 %51 = load i32, ptr %7, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %49, i64 %55 store i32 1, ptr %56, align 4 br label %57 57: ; preds = %48, %35 br label %58 58: ; preds = %57 %59 = load i32, ptr %7, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %7, align 4 %61 = load i32, ptr %7, align 4 %62 = load i32, ptr %5, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %3 %65 = load ptr, ptr %8, align 8 %66 = call i32 @superlu_free(ptr noundef %65) ret i32 0 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @superlu_abort_and_exit(ptr noundef) #1 declare i32 @superlu_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplhoxarxw.c' source_filename = "/tmp/tmplhoxarxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [373 x i8] c"setparams:\0A *********************************************************************\0A * You must specify NPROCS and CLASS to build this benchmark *\0A * For example, to build a class A benchmark for 4 processors, type *\0A * make {benchmark-name} NPROCS=4 CLASS=A *\0A *********************************************************************\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @get_info(i32 noundef %13, ptr noundef %14, ptr noundef %8, ptr noundef %6, ptr noundef %9, ptr noundef %11) %16 = load i8, ptr %9, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 85 br i1 %18, label %19, label %24 19: ; preds = %2 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = load i8, ptr %9, align 1 %23 = call i32 @check_info(i32 noundef %20, i32 noundef %21, i8 noundef signext %22) br label %24 24: ; preds = %19, %2 %25 = load i32, ptr %8, align 4 %26 = call i32 @read_info(i32 noundef %25, ptr noundef %7, ptr noundef %10, ptr noundef %12) %27 = load i8, ptr %9, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 85 br i1 %29, label %30, label %36 30: ; preds = %24 %31 = load i8, ptr %10, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 88 br i1 %33, label %34, label %35 34: ; preds = %30 br label %35 35: ; preds = %34, %30 br label %44 36: ; preds = %24 %37 = call i32 @printf(ptr noundef @.str) %38 = load i8, ptr %10, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 88 br i1 %40, label %41, label %42 41: ; preds = %36 br label %42 42: ; preds = %41, %36 %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %35 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %58, label %48 48: ; preds = %44 %49 = load i8, ptr %9, align 1 %50 = sext i8 %49 to i32 %51 = load i8, ptr %10, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %50, %52 br i1 %53, label %58, label %54 54: ; preds = %48 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %12, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %64 58: ; preds = %54, %48, %44 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %6, align 4 %61 = load i8, ptr %9, align 1 %62 = load i32, ptr %11, align 4 %63 = call i32 @write_info(i32 noundef %59, i32 noundef %60, i8 noundef signext %61, i32 noundef %62) br label %65 64: ; preds = %54 br label %65 65: ; preds = %64, %58 ret i32 0 } declare i32 @get_info(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @check_info(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @read_info(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @write_info(i32 noundef, i32 noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmplhoxarxw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [373 x i8] c"setparams:\0A *********************************************************************\0A * You must specify NPROCS and CLASS to build this benchmark *\0A * For example, to build a class A benchmark for 4 processors, type *\0A * make {benchmark-name} NPROCS=4 CLASS=A *\0A *********************************************************************\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 -1, ptr %11, align 4 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @get_info(i32 noundef %13, ptr noundef %14, ptr noundef %8, ptr noundef %6, ptr noundef %9, ptr noundef %11) %16 = load i8, ptr %9, align 1 %17 = sext i8 %16 to i32 %18 = icmp ne i32 %17, 85 br i1 %18, label %19, label %24 19: ; preds = %2 %20 = load i32, ptr %8, align 4 %21 = load i32, ptr %6, align 4 %22 = load i8, ptr %9, align 1 %23 = call i32 @check_info(i32 noundef %20, i32 noundef %21, i8 noundef signext %22) br label %24 24: ; preds = %19, %2 %25 = load i32, ptr %8, align 4 %26 = call i32 @read_info(i32 noundef %25, ptr noundef %7, ptr noundef %10, ptr noundef %12) %27 = load i8, ptr %9, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 85 br i1 %29, label %30, label %36 30: ; preds = %24 %31 = load i8, ptr %10, align 1 %32 = sext i8 %31 to i32 %33 = icmp ne i32 %32, 88 br i1 %33, label %34, label %35 34: ; preds = %30 br label %35 35: ; preds = %34, %30 br label %44 36: ; preds = %24 %37 = call i32 @printf(ptr noundef @.str) %38 = load i8, ptr %10, align 1 %39 = sext i8 %38 to i32 %40 = icmp ne i32 %39, 88 br i1 %40, label %41, label %42 41: ; preds = %36 br label %42 42: ; preds = %41, %36 %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %35 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %58, label %48 48: ; preds = %44 %49 = load i8, ptr %9, align 1 %50 = sext i8 %49 to i32 %51 = load i8, ptr %10, align 1 %52 = sext i8 %51 to i32 %53 = icmp ne i32 %50, %52 br i1 %53, label %58, label %54 54: ; preds = %48 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %12, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %58, label %64 58: ; preds = %54, %48, %44 %59 = load i32, ptr %8, align 4 %60 = load i32, ptr %6, align 4 %61 = load i8, ptr %9, align 1 %62 = load i32, ptr %11, align 4 %63 = call i32 @write_info(i32 noundef %59, i32 noundef %60, i8 noundef signext %61, i32 noundef %62) br label %65 64: ; preds = %54 br label %65 65: ; preds = %64, %58 ret i32 0 } declare i32 @get_info(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @check_info(i32 noundef, i32 noundef, i8 noundef signext) #1 declare i32 @read_info(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @write_info(i32 noundef, i32 noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpgo05bsag.c' source_filename = "/tmp/tmpgo05bsag.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"%s already exists. Delete it.\0A\00", align 1 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [22 x i8] c"%s: can't lstat (%s)\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%s: can't stat (%s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 br label %8 8: ; preds = %79, %2 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %82 12: ; preds = %8 %13 = load ptr, ptr %5, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds ptr, ptr %13, i64 %15 %17 = load ptr, ptr %16, align 8 %18 = call i64 @lstat(ptr noundef %17, ptr noundef %7) %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %29 20: ; preds = %12 %21 = load i32, ptr @stderr, align 4 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %26) %28 = call i32 @exit(i32 noundef 1) #3 unreachable 29: ; preds = %12 %30 = load i64, ptr @errno, align 8 %31 = load i64, ptr @ENOENT, align 8 %32 = icmp ne i64 %30, %31 br i1 %32, label %33, label %44 33: ; preds = %29 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = load i64, ptr @errno, align 8 %41 = call ptr @strerror(i64 noundef %40) %42 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.1, ptr noundef %39, ptr noundef %41) %43 = call i32 @exit(i32 noundef 1) #3 unreachable 44: ; preds = %29 br label %45 45: ; preds = %44 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds ptr, ptr %46, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = call i64 @stat(ptr noundef %50, ptr noundef %7) %52 = icmp eq i64 %51, 0 br i1 %52, label %53, label %62 53: ; preds = %45 %54 = load i32, ptr @stderr, align 4 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %6, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str, ptr noundef %59) %61 = call i32 @exit(i32 noundef 1) #3 unreachable 62: ; preds = %45 %63 = load i64, ptr @errno, align 8 %64 = load i64, ptr @ENOENT, align 8 %65 = icmp ne i64 %63, %64 br i1 %65, label %66, label %77 66: ; preds = %62 %67 = load i32, ptr @stderr, align 4 %68 = load ptr, ptr %5, align 8 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds ptr, ptr %68, i64 %70 %72 = load ptr, ptr %71, align 8 %73 = load i64, ptr @errno, align 8 %74 = call ptr @strerror(i64 noundef %73) %75 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %67, ptr noundef @.str.2, ptr noundef %72, ptr noundef %74) %76 = call i32 @exit(i32 noundef 1) #3 unreachable 77: ; preds = %62 br label %78 78: ; preds = %77 br label %79 79: ; preds = %78 %80 = load i32, ptr %6, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %6, align 4 br label %8, !llvm.loop !6 82: ; preds = %8 %83 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strerror(i64 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgo05bsag.c" target datalayout = "e-m:e-p270: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 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"%s already exists. Delete it.\0A\00", align 1 @errno = dso_local global i64 0, align 8 @ENOENT = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [22 x i8] c"%s: can't lstat (%s)\0A\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"%s: can't stat (%s)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.stat, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 1, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %84 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %78 %12 = load ptr, ptr %5, align 8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds ptr, ptr %12, i64 %14 %16 = load ptr, ptr %15, align 8 %17 = call i64 @lstat(ptr noundef %16, ptr noundef %7) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %28 19: ; preds = %11 %20 = load i32, ptr @stderr, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %20, ptr noundef @.str, ptr noundef %25) %27 = call i32 @exit(i32 noundef 1) #3 unreachable 28: ; preds = %11 %29 = load i64, ptr @errno, align 8 %30 = load i64, ptr @ENOENT, align 8 %31 = icmp ne i64 %29, %30 br i1 %31, label %32, label %43 32: ; preds = %28 %33 = load i32, ptr @stderr, align 4 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 %38 = load ptr, ptr %37, align 8 %39 = load i64, ptr @errno, align 8 %40 = call ptr @strerror(i64 noundef %39) %41 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %33, ptr noundef @.str.1, ptr noundef %38, ptr noundef %40) %42 = call i32 @exit(i32 noundef 1) #3 unreachable 43: ; preds = %28 br label %44 44: ; preds = %43 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %6, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds ptr, ptr %45, i64 %47 %49 = load ptr, ptr %48, align 8 %50 = call i64 @stat(ptr noundef %49, ptr noundef %7) %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %61 52: ; preds = %44 %53 = load i32, ptr @stderr, align 4 %54 = load ptr, ptr %5, align 8 %55 = load i32, ptr %6, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds ptr, ptr %54, i64 %56 %58 = load ptr, ptr %57, align 8 %59 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %53, ptr noundef @.str, ptr noundef %58) %60 = call i32 @exit(i32 noundef 1) #3 unreachable 61: ; preds = %44 %62 = load i64, ptr @errno, align 8 %63 = load i64, ptr @ENOENT, align 8 %64 = icmp ne i64 %62, %63 br i1 %64, label %65, label %76 65: ; preds = %61 %66 = load i32, ptr @stderr, align 4 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %6, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = load i64, ptr @errno, align 8 %73 = call ptr @strerror(i64 noundef %72) %74 = call i32 (i32, ptr, ptr, ...) @fprintf(i32 noundef %66, ptr noundef @.str.2, ptr noundef %71, ptr noundef %73) %75 = call i32 @exit(i32 noundef 1) #3 unreachable 76: ; preds = %61 br label %77 77: ; preds = %76 br label %78 78: ; preds = %77 %79 = load i32, ptr %6, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %6, align 4 %81 = load i32, ptr %6, align 4 %82 = load i32, ptr %4, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %78 br label %84 84: ; preds = %._crit_edge, %2 %85 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i64 @lstat(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @strerror(i64 noundef) #1 declare i64 @stat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmplpi3f52w.c' source_filename = "/tmp/tmplpi3f52w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } @.str = private unnamed_addr constant [46 x i8] c"unexpected error: sem_timedwait 6-1: sem_init\00", align 1 @errno = dso_local global i64 0, align 8 @EINVAL = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"TEST PASSED\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"TEST FAILED\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 %struct.timespec, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @sem_init(ptr noundef %2, i32 noundef 0, i32 noundef 0) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %25 9: ; preds = %0 %10 = call i32 @time(ptr noundef null) %11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i32 %10, ptr %11, align 4 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 -3, ptr %12, align 4 %13 = call i32 @sem_timedwait(ptr noundef %2, ptr noundef %3) store i32 %13, ptr %4, align 4 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @EINVAL, align 8 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %23 17: ; preds = %9 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = call i32 @puts(ptr noundef @.str.1) %22 = call i32 @sem_destroy(ptr noundef %2) store i32 0, ptr %1, align 4 br label %25 23: ; preds = %17, %9 %24 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %25 25: ; preds = %23, %20, %7 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @sem_timedwait(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @sem_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplpi3f52w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32, i32 } @.str = private unnamed_addr constant [46 x i8] c"unexpected error: sem_timedwait 6-1: sem_init\00", align 1 @errno = dso_local global i64 0, align 8 @EINVAL = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"TEST PASSED\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"TEST FAILED\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 %struct.timespec, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = call i32 @sem_init(ptr noundef %2, i32 noundef 0, i32 noundef 0) %6 = icmp eq i32 %5, -1 br i1 %6, label %7, label %9 7: ; preds = %0 %8 = call i32 @perror(ptr noundef @.str) store i32 2, ptr %1, align 4 br label %25 9: ; preds = %0 %10 = call i32 @time(ptr noundef null) %11 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1 store i32 %10, ptr %11, align 4 %12 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0 store i32 -3, ptr %12, align 4 %13 = call i32 @sem_timedwait(ptr noundef %2, ptr noundef %3) store i32 %13, ptr %4, align 4 %14 = load i64, ptr @errno, align 8 %15 = load i64, ptr @EINVAL, align 8 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %23 17: ; preds = %9 %18 = load i32, ptr %4, align 4 %19 = icmp eq i32 %18, -1 br i1 %19, label %20, label %23 20: ; preds = %17 %21 = call i32 @puts(ptr noundef @.str.1) %22 = call i32 @sem_destroy(ptr noundef %2) store i32 0, ptr %1, align 4 br label %25 23: ; preds = %17, %9 %24 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %25 25: ; preds = %23, %20, %7 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @sem_init(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @sem_timedwait(ptr noundef, ptr noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @sem_destroy(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1y4ropb6.c' source_filename = "/tmp/tmp1y4ropb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"In parent process(A) before fork \0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"A : pid %d pgid %d ppid %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"a is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"b is %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"In child process(B)\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"B : pid %d pgid %d ppid %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"exiting child process\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"back in parent process\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (...) @getpid() %11 = call i32 @getpgid(i32 noundef 0) %12 = call i32 (...) @getppid() %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12) store i32 5, ptr %7, align 4 store i32 10, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = load i32, ptr %8, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16) %18 = call i32 @vfork() #4 store i32 %18, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %22 = call i32 (...) @getpid() %23 = call i32 @getpgid(i32 noundef 0) %24 = call i32 (...) @getppid() %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 10, ptr %7, align 4 store i32 5, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %31 = call i32 @exit(i32 noundef 0) #5 unreachable 32: ; preds = %2 %33 = call i32 @wait(ptr noundef null) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %35 = load i32, ptr %7, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) %37 = load i32, ptr %8, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37) br label %39 39: ; preds = %32 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @getpgid(i32 noundef) #1 declare i32 @getppid(...) #1 ; Function Attrs: returns_twice declare i32 @vfork() #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1y4ropb6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"In parent process(A) before fork \0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"A : pid %d pgid %d ppid %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"a is %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"b is %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"In child process(B)\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"B : pid %d pgid %d ppid %d\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"exiting child process\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"back in parent process\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 (...) @getpid() %11 = call i32 @getpgid(i32 noundef 0) %12 = call i32 (...) @getppid() %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10, i32 noundef %11, i32 noundef %12) store i32 5, ptr %7, align 4 store i32 10, ptr %8, align 4 %14 = load i32, ptr %7, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = load i32, ptr %8, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %16) %18 = call i32 @vfork() #4 store i32 %18, ptr %6, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %22 = call i32 (...) @getpid() %23 = call i32 @getpgid(i32 noundef 0) %24 = call i32 (...) @getppid() %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %22, i32 noundef %23, i32 noundef %24) store i32 10, ptr %7, align 4 store i32 5, ptr %8, align 4 %26 = load i32, ptr %7, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %26) %28 = load i32, ptr %8, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %28) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %31 = call i32 @exit(i32 noundef 0) #5 unreachable 32: ; preds = %2 %33 = call i32 @wait(ptr noundef null) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %35 = load i32, ptr %7, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) %37 = load i32, ptr %8, align 4 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %37) br label %39 39: ; preds = %32 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @getpgid(i32 noundef) #1 declare i32 @getppid(...) #1 ; Function Attrs: returns_twice declare i32 @vfork() #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @wait(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { returns_twice "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { returns_twice } attributes #5 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5j4rskhe.c' source_filename = "/tmp/tmp5j4rskhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ftp_close() called!\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"ftp_close: not yet implemented\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ftp_close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5j4rskhe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ftp_close() called!\0A\00", align 1 @.str.1 = private unnamed_addr constant [32 x i8] c"ftp_close: not yet implemented\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ftp_close(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @printf(ptr noundef @.str) %4 = call i32 @printf(ptr noundef @.str.1) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqh2w2gzx.c' source_filename = "/tmp/tmpqh2w2gzx.c" target datalayout = "e-m:e-p270: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 [50 x i8] c"Error while getting an item from a hashtable: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hashtable_get_item_f(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @hashtable_get_item(ptr noundef %10, ptr noundef %11, i64 noundef %12, ptr noundef %13) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %27 17: ; preds = %4 %18 = load i32, ptr %9, align 4 %19 = icmp ne i32 %18, 3 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr @stderr, align 4 %22 = load i32, ptr %9, align 4 %23 = call ptr @hashtable_strerror(i32 noundef %22) %24 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %23) %25 = load i32, ptr @EXIT_FAILURE, align 4 %26 = call i32 @exit(i32 noundef %25) #3 unreachable 27: ; preds = %17, %4 ret void } declare i32 @hashtable_get_item(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @hashtable_strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqh2w2gzx.c" target datalayout = "e-m:e-p270: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 [50 x i8] c"Error while getting an item from a hashtable: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @hashtable_get_item_f(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %10 = load ptr, ptr %5, align 8 %11 = load ptr, ptr %6, align 8 %12 = load i64, ptr %7, align 8 %13 = load ptr, ptr %8, align 8 %14 = call i32 @hashtable_get_item(ptr noundef %10, ptr noundef %11, i64 noundef %12, ptr noundef %13) store i32 %14, ptr %9, align 4 %15 = load i32, ptr %9, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %27 17: ; preds = %4 %18 = load i32, ptr %9, align 4 %19 = icmp ne i32 %18, 3 br i1 %19, label %20, label %27 20: ; preds = %17 %21 = load i32, ptr @stderr, align 4 %22 = load i32, ptr %9, align 4 %23 = call ptr @hashtable_strerror(i32 noundef %22) %24 = call i32 @fprintf(i32 noundef %21, ptr noundef @.str, ptr noundef %23) %25 = load i32, ptr @EXIT_FAILURE, align 4 %26 = call i32 @exit(i32 noundef %25) #3 unreachable 27: ; preds = %17, %4 ret void } declare i32 @hashtable_get_item(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @hashtable_strerror(i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6e6drnxt.c' source_filename = "/tmp/tmp6e6drnxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %7, align 8 %11 = load i64, ptr %7, align 8 store i64 %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ugt i64 %12, 0 br i1 %13, label %14, label %29 14: ; preds = %3 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp uge i64 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 store i64 %20, ptr %7, align 8 br label %21 21: ; preds = %18, %14 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %7, align 8 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store i8 0, ptr %28, align 1 br label %29 29: ; preds = %21, %3 %30 = load i64, ptr %8, align 8 ret i64 %30 } declare i64 @strlen(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6e6drnxt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlcpy(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %9 = load ptr, ptr %5, align 8 %10 = call i64 @strlen(ptr noundef %9) store i64 %10, ptr %7, align 8 %11 = load i64, ptr %7, align 8 store i64 %11, ptr %8, align 8 %12 = load i64, ptr %6, align 8 %13 = icmp ugt i64 %12, 0 br i1 %13, label %14, label %29 14: ; preds = %3 %15 = load i64, ptr %7, align 8 %16 = load i64, ptr %6, align 8 %17 = icmp uge i64 %15, %16 br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i64, ptr %6, align 8 %20 = sub i64 %19, 1 store i64 %20, ptr %7, align 8 br label %21 21: ; preds = %18, %14 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %7, align 8 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i64 noundef %24) %26 = load ptr, ptr %4, align 8 %27 = load i64, ptr %7, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 store i8 0, ptr %28, align 1 br label %29 29: ; preds = %21, %3 %30 = load i64, ptr %8, align 8 ret i64 %30 } declare i64 @strlen(ptr noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4uhxt3ah.c' source_filename = "/tmp/tmp4uhxt3ah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readInteger(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @read_socket(i32 noundef %5, ptr noundef %4, i32 noundef 4) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @ntohl(i32 noundef %7) ret i32 %8 } declare i32 @read_socket(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ntohl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4uhxt3ah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @readInteger(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @read_socket(i32 noundef %5, ptr noundef %4, i32 noundef 4) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @ntohl(i32 noundef %7) ret i32 %8 } declare i32 @read_socket(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ntohl(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp54jdfii_.c' source_filename = "/tmp/tmp54jdfii_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alphex_stoui(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i32 @alphex_ctoui(i8 noundef signext %5) store i32 %6, ptr %3, align 4 br label %7 7: ; preds = %12, %1 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %2, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = shl i32 %13, 6 store i32 %14, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i8, ptr %15, align 1 %17 = call i32 @alphex_ctoui(i8 noundef signext %16) %18 = load i32, ptr %3, align 4 %19 = add i32 %18, %17 store i32 %19, ptr %3, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = load i32, ptr %3, align 4 ret i32 %21 } declare i32 @alphex_ctoui(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp54jdfii_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @alphex_stoui(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = call i32 @alphex_ctoui(i8 noundef signext %5) store i32 %6, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i32 1 store ptr %8, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = icmp ne i8 %9, 0 br i1 %10, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load i32, ptr %3, align 4 %13 = shl i32 %12, 6 store i32 %13, ptr %3, align 4 %14 = load ptr, ptr %2, align 8 %15 = load i8, ptr %14, align 1 %16 = call i32 @alphex_ctoui(i8 noundef signext %15) %17 = load i32, ptr %3, align 4 %18 = add i32 %17, %16 store i32 %18, ptr %3, align 4 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %2, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %3, align 4 ret i32 %24 } declare i32 @alphex_ctoui(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpd5e31s1b.c' source_filename = "/tmp/tmpd5e31s1b.c" target datalayout = "e-m:e-p270: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/tmpd5e31s1b.c" target datalayout = "e-m:e-p270: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/tmp4qji55wg.c' source_filename = "/tmp/tmp4qji55wg.c" target datalayout = "e-m:e-p270: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/tmp4qji55wg.c" target datalayout = "e-m:e-p270: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/tmp4ecdncd0.c' source_filename = "/tmp/tmp4ecdncd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fail(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 111) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4ecdncd0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fail(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = call i32 @exit(i32 noundef 111) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_d32uok1.c' source_filename = "/tmp/tmp_d32uok1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"u\00", align 1 @optind = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [19 x i8] c"%Y-%m-%d_%02k-%02M\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"gmtime\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"localtime\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [25 x i8] c"invalid strftime format\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 br label %12 12: ; preds = %20, %2 %13 = load i32, ptr %4, align 4 %14 = load ptr, ptr %5, align 8 %15 = call i32 @getopt(i32 noundef %13, ptr noundef %14, ptr noundef @.str) store i32 %15, ptr %10, align 4 %16 = icmp ne i32 %15, -1 br i1 %16, label %17, label %21 17: ; preds = %12 %18 = load i32, ptr %10, align 4 switch i32 %18, label %20 [ i32 117, label %19 ] 19: ; preds = %17 store i32 1, ptr %11, align 4 br label %20 20: ; preds = %17, %19 br label %12, !llvm.loop !6 21: ; preds = %12 %22 = load i64, ptr @optind, align 8 %23 = load i32, ptr %4, align 4 %24 = sext i32 %23 to i64 %25 = sub nsw i64 %24, %22 %26 = trunc i64 %25 to i32 store i32 %26, ptr %4, align 4 %27 = load i64, ptr @optind, align 8 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 %27 store ptr %29, ptr %5, align 8 store ptr @.str.1, ptr %7, align 8 %30 = load i32, ptr %4, align 4 %31 = icmp sge i32 %30, 2 br i1 %31, label %32, label %36 32: ; preds = %21 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i64 1 %35 = load ptr, ptr %34, align 8 store ptr %35, ptr %7, align 8 br label %36 36: ; preds = %32, %21 %37 = call i32 @time(ptr noundef null) store i32 %37, ptr %9, align 4 %38 = load i32, ptr %11, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %42 40: ; preds = %36 %41 = call ptr @gmtime(ptr noundef %9) store ptr %41, ptr %8, align 8 br label %44 42: ; preds = %36 %43 = call ptr @localtime(ptr noundef %9) store ptr %43, ptr %8, align 8 br label %44 44: ; preds = %42, %40 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %53, label %47 47: ; preds = %44 %48 = load i32, ptr %11, align 4 %49 = icmp ne i32 %48, 0 %50 = zext i1 %49 to i64 %51 = select i1 %49, ptr @.str.2, ptr @.str.3 %52 = call i32 @perror(ptr noundef %51) store i32 1, ptr %3, align 4 br label %65 53: ; preds = %44 %54 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %55 = load ptr, ptr %7, align 8 %56 = load ptr, ptr %8, align 8 %57 = call i64 @strftime(ptr noundef %54, i32 noundef 256, ptr noundef %55, ptr noundef %56) %58 = icmp eq i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %53 %60 = load i32, ptr @stderr, align 4 %61 = call i32 @fprintf(i32 noundef %60, ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %65 62: ; preds = %53 %63 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %64 = call i32 @printf(ptr noundef @.str.5, ptr noundef %63) store i32 0, ptr %3, align 4 br label %65 65: ; preds = %62, %59, %47 %66 = load i32, ptr %3, align 4 ret i32 %66 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @gmtime(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_d32uok1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"u\00", align 1 @optind = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [19 x i8] c"%Y-%m-%d_%02k-%02M\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"gmtime\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"localtime\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [25 x i8] c"invalid strftime format\0A\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [256 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %11, align 4 %12 = load i32, ptr %4, align 4 %13 = load ptr, ptr %5, align 8 %14 = call i32 @getopt(i32 noundef %12, ptr noundef %13, ptr noundef @.str) store i32 %14, ptr %10, align 4 %15 = icmp ne i32 %14, -1 br i1 %15, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %16 16: ; preds = %.lr.ph, %19 %17 = load i32, ptr %10, align 4 switch i32 %17, label %19 [ i32 117, label %18 ] 18: ; preds = %16 store i32 1, ptr %11, align 4 br label %19 19: ; preds = %18, %16 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) store i32 %22, ptr %10, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i64, ptr @optind, align 8 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = sub nsw i64 %27, %25 %29 = trunc i64 %28 to i32 store i32 %29, ptr %4, align 4 %30 = load i64, ptr @optind, align 8 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 %30 store ptr %32, ptr %5, align 8 store ptr @.str.1, ptr %7, align 8 %33 = load i32, ptr %4, align 4 %34 = icmp sge i32 %33, 2 br i1 %34, label %35, label %39 35: ; preds = %24 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 store ptr %38, ptr %7, align 8 br label %39 39: ; preds = %35, %24 %40 = call i32 @time(ptr noundef null) store i32 %40, ptr %9, align 4 %41 = load i32, ptr %11, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %45 43: ; preds = %39 %44 = call ptr @gmtime(ptr noundef %9) store ptr %44, ptr %8, align 8 br label %47 45: ; preds = %39 %46 = call ptr @localtime(ptr noundef %9) store ptr %46, ptr %8, align 8 br label %47 47: ; preds = %45, %43 %48 = load ptr, ptr %8, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %56, label %50 50: ; preds = %47 %51 = load i32, ptr %11, align 4 %52 = icmp ne i32 %51, 0 %53 = zext i1 %52 to i64 %54 = select i1 %52, ptr @.str.2, ptr @.str.3 %55 = call i32 @perror(ptr noundef %54) store i32 1, ptr %3, align 4 br label %68 56: ; preds = %47 %57 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %58 = load ptr, ptr %7, align 8 %59 = load ptr, ptr %8, align 8 %60 = call i64 @strftime(ptr noundef %57, i32 noundef 256, ptr noundef %58, ptr noundef %59) %61 = icmp eq i64 %60, 0 br i1 %61, label %62, label %65 62: ; preds = %56 %63 = load i32, ptr @stderr, align 4 %64 = call i32 @fprintf(i32 noundef %63, ptr noundef @.str.4) store i32 1, ptr %3, align 4 br label %68 65: ; preds = %56 %66 = getelementptr inbounds [256 x i8], ptr %6, i64 0, i64 0 %67 = call i32 @printf(ptr noundef @.str.5, ptr noundef %66) store i32 0, ptr %3, align 4 br label %68 68: ; preds = %65, %62, %50 %69 = load i32, ptr %3, align 4 ret i32 %69 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @gmtime(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp7r4s29pf.c' source_filename = "/tmp/tmp7r4s29pf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @evalExprSubstr.finalExpr = internal global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @evalExprSubstr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = add nsw i64 %7, 32 %9 = call i32 @utilStrRealloc(ptr noundef @evalExprSubstr.finalExpr, i32 noundef 0, i64 noundef %8) %10 = load ptr, ptr @evalExprSubstr.finalExpr, align 8 store ptr %10, ptr %5, align 8 br label %11 11: ; preds = %23, %2 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 37 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ false, %11 ], [ %20, %16 ] br i1 %22, label %23, label %29 23: ; preds = %21 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load i8, ptr %24, align 1 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 store i8 %26, ptr %27, align 1 br label %11, !llvm.loop !6 29: ; preds = %21 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 %32 = load i8, ptr %30, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 37 br i1 %34, label %35, label %53 35: ; preds = %29 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %4, align 4 %38 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str, i32 noundef %37) %39 = load ptr, ptr %5, align 8 %40 = sext i32 %38 to i64 %41 = getelementptr inbounds i8, ptr %39, i64 %40 store ptr %41, ptr %5, align 8 br label %42 42: ; preds = %46, %35 %43 = load ptr, ptr %3, align 8 %44 = load i8, ptr %43, align 1 %45 = icmp ne i8 %44, 0 br i1 %45, label %46, label %52 46: ; preds = %42 %47 = load ptr, ptr %3, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %3, align 8 %49 = load i8, ptr %47, align 1 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %5, align 8 store i8 %49, ptr %50, align 1 br label %42, !llvm.loop !8 52: ; preds = %42 br label %53 53: ; preds = %52, %29 %54 = load ptr, ptr %5, align 8 store i8 0, ptr %54, align 1 %55 = load ptr, ptr @evalExprSubstr.finalExpr, align 8 %56 = call i32 @consoleEvalExpr(ptr noundef %55) ret void } declare i32 @utilStrRealloc(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @consoleEvalExpr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp7r4s29pf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @evalExprSubstr.finalExpr = internal global ptr null, align 8 @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @evalExprSubstr(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i64 @strlen(ptr noundef %6) %8 = add nsw i64 %7, 32 %9 = call i32 @utilStrRealloc(ptr noundef @evalExprSubstr.finalExpr, i32 noundef 0, i64 noundef %8) %10 = load ptr, ptr @evalExprSubstr.finalExpr, align 8 store ptr %10, ptr %5, align 8 br label %11 11: ; preds = %23, %2 %12 = load ptr, ptr %3, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %21 16: ; preds = %11 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 37 br label %21 21: ; preds = %16, %11 %22 = phi i1 [ false, %11 ], [ %20, %16 ] br i1 %22, label %23, label %29 23: ; preds = %21 %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %3, align 8 %26 = load i8, ptr %24, align 1 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 store i8 %26, ptr %27, align 1 br label %11, !llvm.loop !6 29: ; preds = %21 %30 = load ptr, ptr %3, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 1 store ptr %31, ptr %3, align 8 %32 = load i8, ptr %30, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 37 br i1 %34, label %35, label %55 35: ; preds = %29 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %4, align 4 %38 = call i32 @sprintf(ptr noundef %36, ptr noundef @.str, i32 noundef %37) %39 = load ptr, ptr %5, align 8 %40 = sext i32 %38 to i64 %41 = getelementptr inbounds i8, ptr %39, i64 %40 store ptr %41, ptr %5, align 8 %42 = load ptr, ptr %3, align 8 %43 = load i8, ptr %42, align 1 %44 = icmp ne i8 %43, 0 br i1 %44, label %.lr.ph, label %54 .lr.ph: ; preds = %35 br label %45 45: ; preds = %.lr.ph, %45 %46 = load ptr, ptr %3, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %3, align 8 %48 = load i8, ptr %46, align 1 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %5, align 8 store i8 %48, ptr %49, align 1 %51 = load ptr, ptr %3, align 8 %52 = load i8, ptr %51, align 1 %53 = icmp ne i8 %52, 0 br i1 %53, label %45, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %45 br label %54 54: ; preds = %._crit_edge, %35 br label %55 55: ; preds = %54, %29 %56 = load ptr, ptr %5, align 8 store i8 0, ptr %56, align 1 %57 = load ptr, ptr @evalExprSubstr.finalExpr, align 8 %58 = call i32 @consoleEvalExpr(ptr noundef %57) ret void } declare i32 @utilStrRealloc(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @consoleEvalExpr(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpeks0g_zq.c' source_filename = "/tmp/tmpeks0g_zq.c" target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 } @.str = private unnamed_addr constant [54 x i8] c"\09Failed Phase 2: This call did something unexpected.\0A\00", align 1 @RLIM_INFINITY = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BasicGetSetlimit() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.rlimit, align 4 %4 = alloca %struct.rlimit, align 4 %5 = alloca %struct.rlimit, align 4 store i32 0, ptr %2, align 4 %6 = call i32 (...) @testbreak() %7 = call i32 @getrlimit_test(ptr noundef %3) %8 = call i32 @expect_zng(i32 noundef 0, i32 noundef %7) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %14 14: ; preds = %11, %0 %15 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr @RLIM_INFINITY, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %14 %20 = load i32, ptr @INT_MAX, align 4 %21 = sdiv i32 %20, 2 %22 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 store i32 %21, ptr %22, align 4 br label %28 23: ; preds = %14 %24 = getelementptr inbounds %struct.rlimit, ptr %3, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = sdiv i32 %25, 2 %27 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 store i32 %26, ptr %27, align 4 br label %28 28: ; preds = %23, %19 %29 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr @RLIM_INFINITY, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load i32, ptr @INT_MAX, align 4 %35 = sdiv i32 %34, 2 %36 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 store i32 %35, ptr %36, align 4 br label %42 37: ; preds = %28 %38 = getelementptr inbounds %struct.rlimit, ptr %3, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = sdiv i32 %39, 2 %41 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 store i32 %40, ptr %41, align 4 br label %42 42: ; preds = %37, %33 %43 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %46 = load i32, ptr %45, align 4 %47 = icmp sgt i32 %44, %46 br i1 %47, label %48, label %52 48: ; preds = %42 %49 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %50 = load i32, ptr %49, align 4 %51 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %48, %42 %53 = call i32 @setrlimit_test(ptr noundef %4) %54 = call i32 @expect_zng(i32 noundef 0, i32 noundef %53) store i32 %54, ptr %1, align 4 %55 = load i32, ptr %1, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = call i32 @printf(ptr noundef @.str) %59 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %60 60: ; preds = %57, %52 %61 = call i32 @getrlimit_test(ptr noundef %5) %62 = call i32 @expect_zng(i32 noundef 0, i32 noundef %61) store i32 %62, ptr %1, align 4 %63 = load i32, ptr %1, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %60 %66 = call i32 @printf(ptr noundef @.str) %67 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %68 68: ; preds = %65, %60 %69 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 %70 = load i32, ptr %69, align 4 %71 = getelementptr inbounds %struct.rlimit, ptr %5, i32 0, i32 0 %72 = load i32, ptr %71, align 4 %73 = call i32 @expect_val(i32 noundef %70, i32 noundef %72) store i32 %73, ptr %1, align 4 %74 = load i32, ptr %1, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %68 %77 = call i32 @printf(ptr noundef @.str) %78 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %79 79: ; preds = %76, %68 %80 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %81 = load i32, ptr %80, align 4 %82 = getelementptr inbounds %struct.rlimit, ptr %5, i32 0, i32 1 %83 = load i32, ptr %82, align 4 %84 = call i32 @expect_val(i32 noundef %81, i32 noundef %83) store i32 %84, ptr %1, align 4 %85 = load i32, ptr %1, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %79 %88 = call i32 @printf(ptr noundef @.str) %89 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %90 90: ; preds = %87, %79 %91 = call i32 (...) @testbreak() %92 = load i32, ptr %2, align 4 ret i32 %92 } declare i32 @testbreak(...) #1 declare i32 @expect_zng(i32 noundef, i32 noundef) #1 declare i32 @getrlimit_test(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @setrlimit_test(ptr noundef) #1 declare i32 @expect_val(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/tmpeks0g_zq.c" target datalayout = "e-m:e-p270: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.rlimit = type { i32, i32 } @.str = private unnamed_addr constant [54 x i8] c"\09Failed Phase 2: This call did something unexpected.\0A\00", align 1 @RLIM_INFINITY = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @BasicGetSetlimit() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.rlimit, align 4 %4 = alloca %struct.rlimit, align 4 %5 = alloca %struct.rlimit, align 4 store i32 0, ptr %2, align 4 %6 = call i32 (...) @testbreak() %7 = call i32 @getrlimit_test(ptr noundef %3) %8 = call i32 @expect_zng(i32 noundef 0, i32 noundef %7) store i32 %8, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %0 %12 = call i32 @printf(ptr noundef @.str) %13 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %14 14: ; preds = %11, %0 %15 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 %16 = load i32, ptr %15, align 4 %17 = load i32, ptr @RLIM_INFINITY, align 4 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %23 19: ; preds = %14 %20 = load i32, ptr @INT_MAX, align 4 %21 = sdiv i32 %20, 2 %22 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 store i32 %21, ptr %22, align 4 br label %28 23: ; preds = %14 %24 = getelementptr inbounds %struct.rlimit, ptr %3, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = sdiv i32 %25, 2 %27 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 store i32 %26, ptr %27, align 4 br label %28 28: ; preds = %23, %19 %29 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %30 = load i32, ptr %29, align 4 %31 = load i32, ptr @RLIM_INFINITY, align 4 %32 = icmp eq i32 %30, %31 br i1 %32, label %33, label %37 33: ; preds = %28 %34 = load i32, ptr @INT_MAX, align 4 %35 = sdiv i32 %34, 2 %36 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 store i32 %35, ptr %36, align 4 br label %42 37: ; preds = %28 %38 = getelementptr inbounds %struct.rlimit, ptr %3, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = sdiv i32 %39, 2 %41 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 store i32 %40, ptr %41, align 4 br label %42 42: ; preds = %37, %33 %43 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 %44 = load i32, ptr %43, align 4 %45 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %46 = load i32, ptr %45, align 4 %47 = icmp sgt i32 %44, %46 br i1 %47, label %48, label %52 48: ; preds = %42 %49 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %50 = load i32, ptr %49, align 4 %51 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 store i32 %50, ptr %51, align 4 br label %52 52: ; preds = %48, %42 %53 = call i32 @setrlimit_test(ptr noundef %4) %54 = call i32 @expect_zng(i32 noundef 0, i32 noundef %53) store i32 %54, ptr %1, align 4 %55 = load i32, ptr %1, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = call i32 @printf(ptr noundef @.str) %59 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %60 60: ; preds = %57, %52 %61 = call i32 @getrlimit_test(ptr noundef %5) %62 = call i32 @expect_zng(i32 noundef 0, i32 noundef %61) store i32 %62, ptr %1, align 4 %63 = load i32, ptr %1, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %68 65: ; preds = %60 %66 = call i32 @printf(ptr noundef @.str) %67 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %68 68: ; preds = %65, %60 %69 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 0 %70 = load i32, ptr %69, align 4 %71 = getelementptr inbounds %struct.rlimit, ptr %5, i32 0, i32 0 %72 = load i32, ptr %71, align 4 %73 = call i32 @expect_val(i32 noundef %70, i32 noundef %72) store i32 %73, ptr %1, align 4 %74 = load i32, ptr %1, align 4 %75 = icmp ne i32 %74, 0 br i1 %75, label %76, label %79 76: ; preds = %68 %77 = call i32 @printf(ptr noundef @.str) %78 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %79 79: ; preds = %76, %68 %80 = getelementptr inbounds %struct.rlimit, ptr %4, i32 0, i32 1 %81 = load i32, ptr %80, align 4 %82 = getelementptr inbounds %struct.rlimit, ptr %5, i32 0, i32 1 %83 = load i32, ptr %82, align 4 %84 = call i32 @expect_val(i32 noundef %81, i32 noundef %83) store i32 %84, ptr %1, align 4 %85 = load i32, ptr %1, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %87, label %90 87: ; preds = %79 %88 = call i32 @printf(ptr noundef @.str) %89 = call i32 @fflush(ptr noundef null) store i32 -1, ptr %2, align 4 br label %90 90: ; preds = %87, %79 %91 = call i32 (...) @testbreak() %92 = load i32, ptr %2, align 4 ret i32 %92 } declare i32 @testbreak(...) #1 declare i32 @expect_zng(i32 noundef, i32 noundef) #1 declare i32 @getrlimit_test(ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @setrlimit_test(ptr noundef) #1 declare i32 @expect_val(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/tmpo3g9kz7p.c' source_filename = "/tmp/tmpo3g9kz7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"4\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"\22%s\22 \22%s\22 \22%s\22 [%zu] %.9f [%zu] %.18lf\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 float, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store float 0.000000e+00, ptr %6, align 4 store double 0.000000e+00, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 4 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr @EINVAL, align 4 store i32 %14, ptr @errno, align 4 %15 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %121 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 3 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %6) %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load i32, ptr @EINVAL, align 4 store i32 %23, ptr @errno, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 3 %26 = load ptr, ptr %25, align 8 %27 = call i32 @perror(ptr noundef %26) store i32 2, ptr %3, align 4 br label %121 28: ; preds = %16 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %7) %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %40 34: ; preds = %28 %35 = load i32, ptr @EINVAL, align 4 store i32 %35, ptr @errno, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 3 %38 = load ptr, ptr %37, align 8 %39 = call i32 @perror(ptr noundef %38) store i32 3, ptr %3, align 4 br label %121 40: ; preds = %28 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %43, ptr noundef @.str.3, ptr noundef %8) %45 = icmp ne i32 %44, 1 br i1 %45, label %46, label %52 46: ; preds = %40 %47 = load i32, ptr @EINVAL, align 4 store i32 %47, ptr @errno, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = call i32 @perror(ptr noundef %50) store i32 4, ptr %3, align 4 br label %121 52: ; preds = %40 %53 = load float, ptr %6, align 4 %54 = fpext float %53 to double %55 = fdiv double %54, 6.000000e+01 %56 = fptrunc double %55 to float store float %56, ptr %6, align 4 %57 = load i32, ptr %8, align 4 %58 = uitofp i32 %57 to float %59 = load float, ptr %6, align 4 %60 = fadd float %59, %58 store float %60, ptr %6, align 4 %61 = load double, ptr %7, align 8 %62 = fdiv double %61, 6.000000e+01 store double %62, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = uitofp i32 %63 to double %65 = load double, ptr %7, align 8 %66 = fadd double %65, %64 store double %66, ptr %7, align 8 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 1 %69 = load ptr, ptr %68, align 8 %70 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %69, ptr noundef @.str.4, ptr noundef %9) %71 = icmp ne i32 %70, 1 br i1 %71, label %72, label %78 72: ; preds = %52 %73 = load i32, ptr @EINVAL, align 4 store i32 %73, ptr @errno, align 4 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 1 %76 = load ptr, ptr %75, align 8 %77 = call i32 @perror(ptr noundef %76) store i32 5, ptr %3, align 4 br label %121 78: ; preds = %52 %79 = load i32, ptr %9, align 4 %80 = icmp slt i32 %79, 0 br i1 %80, label %81, label %86 81: ; preds = %78 %82 = load i32, ptr %9, align 4 %83 = sub nsw i32 0, %82 store i32 %83, ptr %9, align 4 %84 = load i32, ptr %10, align 4 %85 = sub nsw i32 0, %84 store i32 %85, ptr %10, align 4 br label %86 86: ; preds = %81, %78 %87 = load float, ptr %6, align 4 %88 = fpext float %87 to double %89 = fdiv double %88, 6.000000e+01 %90 = fptrunc double %89 to float store float %90, ptr %6, align 4 %91 = load i32, ptr %9, align 4 %92 = sitofp i32 %91 to float %93 = load float, ptr %6, align 4 %94 = fadd float %93, %92 store float %94, ptr %6, align 4 %95 = load i32, ptr %10, align 4 %96 = sitofp i32 %95 to float %97 = load float, ptr %6, align 4 %98 = fmul float %97, %96 store float %98, ptr %6, align 4 %99 = load double, ptr %7, align 8 %100 = fdiv double %99, 6.000000e+01 store double %100, ptr %7, align 8 %101 = load i32, ptr %9, align 4 %102 = sitofp i32 %101 to double %103 = load double, ptr %7, align 8 %104 = fadd double %103, %102 store double %104, ptr %7, align 8 %105 = load i32, ptr %10, align 4 %106 = sitofp i32 %105 to double %107 = load double, ptr %7, align 8 %108 = fmul double %107, %106 store double %108, ptr %7, align 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds ptr, ptr %109, i64 1 %111 = load ptr, ptr %110, align 8 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds ptr, ptr %112, i64 2 %114 = load ptr, ptr %113, align 8 %115 = load ptr, ptr %5, align 8 %116 = getelementptr inbounds ptr, ptr %115, i64 3 %117 = load ptr, ptr %116, align 8 %118 = load float, ptr %6, align 4 %119 = load double, ptr %7, align 8 %120 = call i32 @printf(ptr noundef @.str.5, ptr noundef %111, ptr noundef %114, ptr noundef %117, i32 noundef 4, float noundef %118, i32 noundef 8, double noundef %119) store i32 0, ptr %3, align 4 br label %121 121: ; preds = %86, %72, %46, %34, %22, %13 %122 = load i32, ptr %3, align 4 ret i32 %122 } declare i32 @perror(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, float 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo3g9kz7p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"4\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"%lf\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.5 = private unnamed_addr constant [40 x i8] c"\22%s\22 \22%s\22 \22%s\22 [%zu] %.9f [%zu] %.18lf\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 float, align 4 %7 = alloca double, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store float 0.000000e+00, ptr %6, align 4 store double 0.000000e+00, ptr %7, align 8 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %10, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 4 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = load i32, ptr @EINVAL, align 4 store i32 %14, ptr @errno, align 4 %15 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %121 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 3 %19 = load ptr, ptr %18, align 8 %20 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %19, ptr noundef @.str.1, ptr noundef %6) %21 = icmp ne i32 %20, 1 br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load i32, ptr @EINVAL, align 4 store i32 %23, ptr @errno, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 3 %26 = load ptr, ptr %25, align 8 %27 = call i32 @perror(ptr noundef %26) store i32 2, ptr %3, align 4 br label %121 28: ; preds = %16 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 3 %31 = load ptr, ptr %30, align 8 %32 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %7) %33 = icmp ne i32 %32, 1 br i1 %33, label %34, label %40 34: ; preds = %28 %35 = load i32, ptr @EINVAL, align 4 store i32 %35, ptr @errno, align 4 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 3 %38 = load ptr, ptr %37, align 8 %39 = call i32 @perror(ptr noundef %38) store i32 3, ptr %3, align 4 br label %121 40: ; preds = %28 %41 = load ptr, ptr %5, align 8 %42 = getelementptr inbounds ptr, ptr %41, i64 2 %43 = load ptr, ptr %42, align 8 %44 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %43, ptr noundef @.str.3, ptr noundef %8) %45 = icmp ne i32 %44, 1 br i1 %45, label %46, label %52 46: ; preds = %40 %47 = load i32, ptr @EINVAL, align 4 store i32 %47, ptr @errno, align 4 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 2 %50 = load ptr, ptr %49, align 8 %51 = call i32 @perror(ptr noundef %50) store i32 4, ptr %3, align 4 br label %121 52: ; preds = %40 %53 = load float, ptr %6, align 4 %54 = fpext float %53 to double %55 = fdiv double %54, 6.000000e+01 %56 = fptrunc double %55 to float store float %56, ptr %6, align 4 %57 = load i32, ptr %8, align 4 %58 = uitofp i32 %57 to float %59 = load float, ptr %6, align 4 %60 = fadd float %59, %58 store float %60, ptr %6, align 4 %61 = load double, ptr %7, align 8 %62 = fdiv double %61, 6.000000e+01 store double %62, ptr %7, align 8 %63 = load i32, ptr %8, align 4 %64 = uitofp i32 %63 to double %65 = load double, ptr %7, align 8 %66 = fadd double %65, %64 store double %66, ptr %7, align 8 %67 = load ptr, ptr %5, align 8 %68 = getelementptr inbounds ptr, ptr %67, i64 1 %69 = load ptr, ptr %68, align 8 %70 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %69, ptr noundef @.str.4, ptr noundef %9) %71 = icmp ne i32 %70, 1 br i1 %71, label %72, label %78 72: ; preds = %52 %73 = load i32, ptr @EINVAL, align 4 store i32 %73, ptr @errno, align 4 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 1 %76 = load ptr, ptr %75, align 8 %77 = call i32 @perror(ptr noundef %76) store i32 5, ptr %3, align 4 br label %121 78: ; preds = %52 %79 = load i32, ptr %9, align 4 %80 = icmp slt i32 %79, 0 br i1 %80, label %81, label %86 81: ; preds = %78 %82 = load i32, ptr %9, align 4 %83 = sub nsw i32 0, %82 store i32 %83, ptr %9, align 4 %84 = load i32, ptr %10, align 4 %85 = sub nsw i32 0, %84 store i32 %85, ptr %10, align 4 br label %86 86: ; preds = %81, %78 %87 = load float, ptr %6, align 4 %88 = fpext float %87 to double %89 = fdiv double %88, 6.000000e+01 %90 = fptrunc double %89 to float store float %90, ptr %6, align 4 %91 = load i32, ptr %9, align 4 %92 = sitofp i32 %91 to float %93 = load float, ptr %6, align 4 %94 = fadd float %93, %92 store float %94, ptr %6, align 4 %95 = load i32, ptr %10, align 4 %96 = sitofp i32 %95 to float %97 = load float, ptr %6, align 4 %98 = fmul float %97, %96 store float %98, ptr %6, align 4 %99 = load double, ptr %7, align 8 %100 = fdiv double %99, 6.000000e+01 store double %100, ptr %7, align 8 %101 = load i32, ptr %9, align 4 %102 = sitofp i32 %101 to double %103 = load double, ptr %7, align 8 %104 = fadd double %103, %102 store double %104, ptr %7, align 8 %105 = load i32, ptr %10, align 4 %106 = sitofp i32 %105 to double %107 = load double, ptr %7, align 8 %108 = fmul double %107, %106 store double %108, ptr %7, align 8 %109 = load ptr, ptr %5, align 8 %110 = getelementptr inbounds ptr, ptr %109, i64 1 %111 = load ptr, ptr %110, align 8 %112 = load ptr, ptr %5, align 8 %113 = getelementptr inbounds ptr, ptr %112, i64 2 %114 = load ptr, ptr %113, align 8 %115 = load ptr, ptr %5, align 8 %116 = getelementptr inbounds ptr, ptr %115, i64 3 %117 = load ptr, ptr %116, align 8 %118 = load float, ptr %6, align 4 %119 = load double, ptr %7, align 8 %120 = call i32 @printf(ptr noundef @.str.5, ptr noundef %111, ptr noundef %114, ptr noundef %117, i32 noundef 4, float noundef %118, i32 noundef 8, double noundef %119) store i32 0, ptr %3, align 4 br label %121 121: ; preds = %86, %72, %46, %34, %22, %13 %122 = load i32, ptr %3, align 4 ret i32 %122 } declare i32 @perror(ptr noundef) #1 declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, float 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"}
; ModuleID = '/tmp/tmpfqew07xz.c' source_filename = "/tmp/tmpfqew07xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ssum\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 br label %11 11: ; preds = %41, %0 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 6 br i1 %13, label %14, label %44 14: ; preds = %11 %15 = load i32, ptr %6, align 4 %16 = call i32 @pow(i32 noundef 10, i32 noundef %15) store i32 %16, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = sub nsw i32 %17, 1 %19 = call i32 @pow(i32 noundef 10, i32 noundef %18) %20 = sdiv i32 1000000, %19 store i32 %20, ptr %4, align 4 store i32 0, ptr %7, align 4 br label %21 21: ; preds = %37, %14 %22 = load i32, ptr %7, align 4 %23 = icmp slt i32 %22, 3 br i1 %23, label %24, label %40 24: ; preds = %21 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 %27 = load i32, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27) %29 = load i32, ptr %4, align 4 %30 = load i32, ptr %5, align 4 %31 = call double @benchmark(i32 noundef %29, i32 noundef %30) store double %31, ptr %2, align 8 %32 = load i32, ptr %4, align 4 %33 = load double, ptr %2, align 8 %34 = call i32 @print_results(i32 noundef %32, double noundef %33) %35 = load i32, ptr %3, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %24 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %21, !llvm.loop !6 40: ; preds = %21 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 br label %11, !llvm.loop !8 44: ; preds = %11 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %3, align 4 %47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46) %48 = load i32, ptr %1, align 4 ret i32 %48 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfqew07xz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"# c::%s:len=%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"ssum\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 %8 = call i32 @time(ptr noundef null) %9 = call i32 @srand(i32 noundef %8) %10 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 store i32 1, ptr %6, align 4 %11 = load i32, ptr %6, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %.lr.ph2, label %46 .lr.ph2: ; preds = %0 br label %13 13: ; preds = %.lr.ph2, %41 %14 = load i32, ptr %6, align 4 %15 = call i32 @pow(i32 noundef 10, i32 noundef %14) store i32 %15, ptr %5, align 4 %16 = load i32, ptr %6, align 4 %17 = sub nsw i32 %16, 1 %18 = call i32 @pow(i32 noundef 10, i32 noundef %17) %19 = sdiv i32 1000000, %18 store i32 %19, ptr %4, align 4 store i32 0, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %.lr.ph, label %40 .lr.ph: ; preds = %13 br label %22 22: ; preds = %.lr.ph, %35 %23 = load i32, ptr %3, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %3, align 4 %25 = load i32, ptr %5, align 4 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = call double @benchmark(i32 noundef %27, i32 noundef %28) store double %29, ptr %2, align 8 %30 = load i32, ptr %4, align 4 %31 = load double, ptr %2, align 8 %32 = call i32 @print_results(i32 noundef %30, double noundef %31) %33 = load i32, ptr %3, align 4 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %22 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp slt i32 %38, 3 br i1 %39, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %40 40: ; preds = %._crit_edge, %13 br label %41 41: ; preds = %40 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %6, align 4 %45 = icmp sle i32 %44, 6 br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %0 %47 = load i32, ptr %3, align 4 %48 = load i32, ptr %3, align 4 %49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48) %50 = load i32, ptr %1, align 4 ret i32 %50 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @pow(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(i32 noundef, i32 noundef) #1 declare i32 @print_results(i32 noundef, double noundef) #1 declare i32 @print_summary(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpmojperu7.c' source_filename = "/tmp/tmpmojperu7.c" target datalayout = "e-m:e-p270: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 ; 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 [8 x [16 x [32 x float]]], align 16 %6 = alloca [1 x float], align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %7 7: ; preds = %36, %0 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %8, 8 br i1 %9, label %10, label %39 10: ; preds = %7 store i32 0, ptr %3, align 4 br label %11 11: ; preds = %32, %10 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 16 br i1 %13, label %14, label %35 14: ; preds = %11 store i32 0, ptr %4, align 4 br label %15 15: ; preds = %28, %14 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %16, 32 br i1 %17, label %18, label %31 18: ; preds = %15 %19 = load i32, ptr %2, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [8 x [16 x [32 x float]]], ptr %5, i64 0, i64 %20 %22 = load i32, ptr %3, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [16 x [32 x float]], ptr %21, i64 0, i64 %23 %25 = load i32, ptr %4, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [32 x float], ptr %24, i64 0, i64 %26 store float 1.000000e+00, ptr %27, align 4 br label %28 28: ; preds = %18 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 br label %15, !llvm.loop !6 31: ; preds = %15 br label %32 32: ; preds = %31 %33 = load i32, ptr %3, align 4 %34 = add nsw i32 %33, 1 store i32 %34, ptr %3, align 4 br label %11, !llvm.loop !8 35: ; preds = %11 br label %36 36: ; preds = %35 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 br label %7, !llvm.loop !9 39: ; preds = %7 %40 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0 store float 0.000000e+00, ptr %40, align 4 store i32 0, ptr %2, align 4 br label %41 41: ; preds = %75, %39 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %42, 8 br i1 %43, label %44, label %78 44: ; preds = %41 store i32 0, ptr %3, align 4 br label %45 45: ; preds = %71, %44 %46 = load i32, ptr %3, align 4 %47 = icmp slt i32 %46, 16 br i1 %47, label %48, label %74 48: ; preds = %45 store i32 0, ptr %4, align 4 br label %49 49: ; preds = %67, %48 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 32 br i1 %51, label %52, label %70 52: ; preds = %49 %53 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0 %54 = load float, ptr %53, align 4 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [8 x [16 x [32 x float]]], ptr %5, i64 0, i64 %56 %58 = load i32, ptr %3, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [16 x [32 x float]], ptr %57, i64 0, i64 %59 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [32 x float], ptr %60, i64 0, i64 %62 %64 = load float, ptr %63, align 4 %65 = fadd float %54, %64 %66 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0 store float %65, ptr %66, align 4 br label %67 67: ; preds = %52 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %4, align 4 br label %49, !llvm.loop !10 70: ; preds = %49 br label %71 71: ; preds = %70 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 br label %45, !llvm.loop !11 74: ; preds = %45 br label %75 75: ; preds = %74 %76 = load i32, ptr %2, align 4 %77 = add nsw i32 %76, 1 store i32 %77, ptr %2, align 4 br label %41, !llvm.loop !12 78: ; preds = %41 %79 = load i32, ptr @stdout, align 4 %80 = call i32 @fflush(i32 noundef %79) ret i32 0 } declare i32 @fflush(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} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmojperu7.c" target datalayout = "e-m:e-p270: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 ; 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 [8 x [16 x [32 x float]]], align 16 %6 = alloca [1 x float], align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp slt i32 %7, 8 br i1 %8, label %.lr.ph5, label %42 .lr.ph5: ; preds = %0 br label %9 9: ; preds = %.lr.ph5, %37 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 16 br i1 %11, label %.lr.ph2, label %36 .lr.ph2: ; preds = %9 br label %12 12: ; preds = %.lr.ph2, %31 store i32 0, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %13, 32 br i1 %14, label %.lr.ph, label %30 .lr.ph: ; preds = %12 br label %15 15: ; preds = %.lr.ph, %25 %16 = load i32, ptr %2, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [8 x [16 x [32 x float]]], ptr %5, i64 0, i64 %17 %19 = load i32, ptr %3, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [16 x [32 x float]], ptr %18, i64 0, i64 %20 %22 = load i32, ptr %4, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [32 x float], ptr %21, i64 0, i64 %23 store float 1.000000e+00, ptr %24, align 4 br label %25 25: ; preds = %15 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 32 br i1 %29, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %12 br label %31 31: ; preds = %30 %32 = load i32, ptr %3, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %3, align 4 %34 = load i32, ptr %3, align 4 %35 = icmp slt i32 %34, 16 br i1 %35, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %31 br label %36 36: ; preds = %._crit_edge3, %9 br label %37 37: ; preds = %36 %38 = load i32, ptr %2, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %2, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp slt i32 %40, 8 br i1 %41, label %9, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %37 br label %42 42: ; preds = %._crit_edge6, %0 %43 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0 store float 0.000000e+00, ptr %43, align 4 store i32 0, ptr %2, align 4 %44 = load i32, ptr %2, align 4 %45 = icmp slt i32 %44, 8 br i1 %45, label %.lr.ph14, label %84 .lr.ph14: ; preds = %42 br label %46 46: ; preds = %.lr.ph14, %79 store i32 0, ptr %3, align 4 %47 = load i32, ptr %3, align 4 %48 = icmp slt i32 %47, 16 br i1 %48, label %.lr.ph11, label %78 .lr.ph11: ; preds = %46 br label %49 49: ; preds = %.lr.ph11, %73 store i32 0, ptr %4, align 4 %50 = load i32, ptr %4, align 4 %51 = icmp slt i32 %50, 32 br i1 %51, label %.lr.ph8, label %72 .lr.ph8: ; preds = %49 br label %52 52: ; preds = %.lr.ph8, %67 %53 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0 %54 = load float, ptr %53, align 4 %55 = load i32, ptr %2, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [8 x [16 x [32 x float]]], ptr %5, i64 0, i64 %56 %58 = load i32, ptr %3, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [16 x [32 x float]], ptr %57, i64 0, i64 %59 %61 = load i32, ptr %4, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [32 x float], ptr %60, i64 0, i64 %62 %64 = load float, ptr %63, align 4 %65 = fadd float %54, %64 %66 = getelementptr inbounds [1 x float], ptr %6, i64 0, i64 0 store float %65, ptr %66, align 4 br label %67 67: ; preds = %52 %68 = load i32, ptr %4, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %4, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %70, 32 br i1 %71, label %52, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %67 br label %72 72: ; preds = %._crit_edge9, %49 br label %73 73: ; preds = %72 %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 = icmp slt i32 %76, 16 br i1 %77, label %49, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %73 br label %78 78: ; preds = %._crit_edge12, %46 br label %79 79: ; preds = %78 %80 = load i32, ptr %2, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %2, align 4 %82 = load i32, ptr %2, align 4 %83 = icmp slt i32 %82, 8 br i1 %83, label %46, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %79 br label %84 84: ; preds = %._crit_edge15, %42 %85 = load i32, ptr @stdout, align 4 %86 = call i32 @fflush(i32 noundef %85) ret i32 0 } declare i32 @fflush(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} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpnb_qjumn.c' source_filename = "/tmp/tmpnb_qjumn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkElim(ptr noundef %0, i32 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 i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [9 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 %18 = load i32, ptr %7, align 4 %19 = sdiv i32 %18, 3 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %8, align 4 %21 = sdiv i32 %20, 3 store i32 %21, ptr %12, align 4 store i32 0, ptr %10, align 4 br label %22 22: ; preds = %176, %4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %23, 9 br i1 %24, label %25, label %179 25: ; preds = %22 %26 = load ptr, ptr %9, align 8 %27 = load i32, ptr %10, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %25 br label %176 33: ; preds = %25 store i32 1, ptr %14, align 4 %34 = load i32, ptr %11, align 4 %35 = mul nsw i32 %34, 3 store i32 %35, ptr %15, align 4 br label %36 36: ; preds = %87, %33 %37 = load i32, ptr %15, align 4 %38 = load i32, ptr %11, align 4 %39 = mul nsw i32 %38, 3 %40 = add nsw i32 %39, 3 %41 = icmp slt i32 %37, %40 br i1 %41, label %42, label %90 42: ; preds = %36 %43 = load i32, ptr %12, align 4 %44 = mul nsw i32 %43, 3 store i32 %44, ptr %16, align 4 br label %45 45: ; preds = %83, %42 %46 = load i32, ptr %16, align 4 %47 = load i32, ptr %12, align 4 %48 = mul nsw i32 %47, 3 %49 = add nsw i32 %48, 3 %50 = icmp slt i32 %46, %49 br i1 %50, label %51, label %86 51: ; preds = %45 %52 = load i32, ptr %7, align 4 %53 = load i32, ptr %15, align 4 %54 = icmp eq i32 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %51 %56 = load i32, ptr %8, align 4 %57 = load i32, ptr %16, align 4 %58 = icmp eq i32 %56, %57 br i1 %58, label %82, label %59 59: ; preds = %55, %51 %60 = load ptr, ptr %6, align 8 %61 = load i32, ptr %15, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [9 x i32], ptr %60, i64 %62 %64 = load i32, ptr %16, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds [9 x i32], ptr %63, i64 0, i64 %65 %67 = load i32, ptr %66, align 4 %68 = icmp eq i32 %67, 0 br i1 %68, label %69, label %82 69: ; preds = %59 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %15, align 4 %72 = load i32, ptr %16, align 4 %73 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0 %74 = call i32 @checkspot(ptr noundef %70, i32 noundef %71, i32 noundef %72, ptr noundef %73) %75 = load i32, ptr %10, align 4 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %76 %78 = load i32, ptr %77, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %81 80: ; preds = %69 store i32 0, ptr %14, align 4 store i32 9, ptr %16, align 4 store i32 9, ptr %15, align 4 br label %81 81: ; preds = %80, %69 br label %82 82: ; preds = %81, %59, %55 br label %83 83: ; preds = %82 %84 = load i32, ptr %16, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %16, align 4 br label %45, !llvm.loop !6 86: ; preds = %45 br label %87 87: ; preds = %86 %88 = load i32, ptr %15, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %15, align 4 br label %36, !llvm.loop !8 90: ; preds = %36 %91 = load i32, ptr %14, align 4 %92 = icmp ne i32 %91, 0 br i1 %92, label %93, label %95 93: ; preds = %90 %94 = load i32, ptr %10, align 4 store i32 %94, ptr %5, align 4 br label %180 95: ; preds = %90 store i32 1, ptr %14, align 4 store i32 0, ptr %15, align 4 br label %96 96: ; preds = %127, %95 %97 = load i32, ptr %15, align 4 %98 = icmp slt i32 %97, 9 br i1 %98, label %99, label %130 99: ; preds = %96 %100 = load i32, ptr %15, align 4 %101 = load i32, ptr %7, align 4 %102 = icmp eq i32 %100, %101 br i1 %102, label %113, label %103 103: ; preds = %99 %104 = load ptr, ptr %6, align 8 %105 = load i32, ptr %15, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds [9 x i32], ptr %104, i64 %106 %108 = load i32, ptr %8, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [9 x i32], ptr %107, i64 0, i64 %109 %111 = load i32, ptr %110, align 4 %112 = icmp ne i32 %111, 0 br i1 %112, label %113, label %114 113: ; preds = %103, %99 br label %127 114: ; preds = %103 %115 = load ptr, ptr %6, align 8 %116 = load i32, ptr %15, align 4 %117 = load i32, ptr %8, align 4 %118 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0 %119 = call i32 @checkspot(ptr noundef %115, i32 noundef %116, i32 noundef %117, ptr noundef %118) %120 = load i32, ptr %10, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %121 %123 = load i32, ptr %122, align 4 %124 = icmp ne i32 %123, 0 br i1 %124, label %125, label %126 125: ; preds = %114 store i32 0, ptr %14, align 4 store i32 9, ptr %16, align 4 store i32 9, ptr %15, align 4 br label %126 126: ; preds = %125, %114 br label %127 127: ; preds = %126, %113 %128 = load i32, ptr %15, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %15, align 4 br label %96, !llvm.loop !9 130: ; preds = %96 %131 = load i32, ptr %14, align 4 %132 = icmp ne i32 %131, 0 br i1 %132, label %133, label %135 133: ; preds = %130 %134 = load i32, ptr %10, align 4 store i32 %134, ptr %5, align 4 br label %180 135: ; preds = %130 store i32 1, ptr %14, align 4 store i32 0, ptr %16, align 4 br label %136 136: ; preds = %167, %135 %137 = load i32, ptr %16, align 4 %138 = icmp slt i32 %137, 9 br i1 %138, label %139, label %170 139: ; preds = %136 %140 = load i32, ptr %16, align 4 %141 = load i32, ptr %8, align 4 %142 = icmp eq i32 %140, %141 br i1 %142, label %153, label %143 143: ; preds = %139 %144 = load ptr, ptr %6, align 8 %145 = load i32, ptr %7, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds [9 x i32], ptr %144, i64 %146 %148 = load i32, ptr %16, align 4 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds [9 x i32], ptr %147, i64 0, i64 %149 %151 = load i32, ptr %150, align 4 %152 = icmp ne i32 %151, 0 br i1 %152, label %153, label %154 153: ; preds = %143, %139 br label %167 154: ; preds = %143 %155 = load ptr, ptr %6, align 8 %156 = load i32, ptr %7, align 4 %157 = load i32, ptr %16, align 4 %158 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0 %159 = call i32 @checkspot(ptr noundef %155, i32 noundef %156, i32 noundef %157, ptr noundef %158) %160 = load i32, ptr %10, align 4 %161 = sext i32 %160 to i64 %162 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %161 %163 = load i32, ptr %162, align 4 %164 = icmp ne i32 %163, 0 br i1 %164, label %165, label %166 165: ; preds = %154 store i32 0, ptr %14, align 4 store i32 9, ptr %16, align 4 store i32 9, ptr %15, align 4 br label %166 166: ; preds = %165, %154 br label %167 167: ; preds = %166, %153 %168 = load i32, ptr %16, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %16, align 4 br label %136, !llvm.loop !10 170: ; preds = %136 %171 = load i32, ptr %14, align 4 %172 = icmp ne i32 %171, 0 br i1 %172, label %173, label %175 173: ; preds = %170 %174 = load i32, ptr %10, align 4 store i32 %174, ptr %5, align 4 br label %180 175: ; preds = %170 br label %176 176: ; preds = %175, %32 %177 = load i32, ptr %10, align 4 %178 = add nsw i32 %177, 1 store i32 %178, ptr %10, align 4 br label %22, !llvm.loop !11 179: ; preds = %22 store i32 -1, ptr %5, align 4 br label %180 180: ; preds = %179, %173, %133, %93 %181 = load i32, ptr %5, align 4 ret i32 %181 } declare i32 @checkspot(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnb_qjumn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @checkElim(ptr noundef %0, i32 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 i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca [9 x i32], align 16 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 %18 = load i32, ptr %7, align 4 %19 = sdiv i32 %18, 3 store i32 %19, ptr %11, align 4 %20 = load i32, ptr %8, align 4 %21 = sdiv i32 %20, 3 store i32 %21, ptr %12, align 4 store i32 0, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = icmp slt i32 %22, 9 br i1 %23, label %.lr.ph11, label %190 .lr.ph11: ; preds = %4 br label %24 24: ; preds = %.lr.ph11, %185 %25 = load ptr, ptr %9, align 8 %26 = load i32, ptr %10, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %25, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %32, label %31 31: ; preds = %24 br label %185 32: ; preds = %24 store i32 1, ptr %14, align 4 %33 = load i32, ptr %11, align 4 %34 = mul nsw i32 %33, 3 store i32 %34, ptr %15, align 4 %35 = load i32, ptr %15, align 4 %36 = load i32, ptr %11, align 4 %37 = mul nsw i32 %36, 3 %38 = add nsw i32 %37, 3 %39 = icmp slt i32 %35, %38 br i1 %39, label %.lr.ph2, label %97 .lr.ph2: ; preds = %32 br label %40 40: ; preds = %.lr.ph2, %89 %41 = load i32, ptr %12, align 4 %42 = mul nsw i32 %41, 3 store i32 %42, ptr %16, align 4 %43 = load i32, ptr %16, align 4 %44 = load i32, ptr %12, align 4 %45 = mul nsw i32 %44, 3 %46 = add nsw i32 %45, 3 %47 = icmp slt i32 %43, %46 br i1 %47, label %.lr.ph, label %88 .lr.ph: ; preds = %40 br label %48 48: ; preds = %.lr.ph, %80 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %15, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %56 52: ; preds = %48 %53 = load i32, ptr %8, align 4 %54 = load i32, ptr %16, align 4 %55 = icmp eq i32 %53, %54 br i1 %55, label %79, label %56 56: ; preds = %52, %48 %57 = load ptr, ptr %6, align 8 %58 = load i32, ptr %15, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds [9 x i32], ptr %57, i64 %59 %61 = load i32, ptr %16, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds [9 x i32], ptr %60, i64 0, i64 %62 %64 = load i32, ptr %63, align 4 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %79 66: ; preds = %56 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %15, align 4 %69 = load i32, ptr %16, align 4 %70 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0 %71 = call i32 @checkspot(ptr noundef %67, i32 noundef %68, i32 noundef %69, ptr noundef %70) %72 = load i32, ptr %10, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 %76 = icmp ne i32 %75, 0 br i1 %76, label %77, label %78 77: ; preds = %66 store i32 0, ptr %14, align 4 store i32 9, ptr %16, align 4 store i32 9, ptr %15, align 4 br label %78 78: ; preds = %77, %66 br label %79 79: ; preds = %78, %56, %52 br label %80 80: ; preds = %79 %81 = load i32, ptr %16, align 4 %82 = add nsw i32 %81, 1 store i32 %82, ptr %16, align 4 %83 = load i32, ptr %16, align 4 %84 = load i32, ptr %12, align 4 %85 = mul nsw i32 %84, 3 %86 = add nsw i32 %85, 3 %87 = icmp slt i32 %83, %86 br i1 %87, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %80 br label %88 88: ; preds = %._crit_edge, %40 br label %89 89: ; preds = %88 %90 = load i32, ptr %15, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %15, align 4 %92 = load i32, ptr %15, align 4 %93 = load i32, ptr %11, align 4 %94 = mul nsw i32 %93, 3 %95 = add nsw i32 %94, 3 %96 = icmp slt i32 %92, %95 br i1 %96, label %40, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %89 br label %97 97: ; preds = %._crit_edge3, %32 %98 = load i32, ptr %14, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %102 100: ; preds = %97 %101 = load i32, ptr %10, align 4 store i32 %101, ptr %5, align 4 br label %191 102: ; preds = %97 store i32 1, ptr %14, align 4 store i32 0, ptr %15, align 4 %103 = load i32, ptr %15, align 4 %104 = icmp slt i32 %103, 9 br i1 %104, label %.lr.ph5, label %138 .lr.ph5: ; preds = %102 br label %105 105: ; preds = %.lr.ph5, %133 %106 = load i32, ptr %15, align 4 %107 = load i32, ptr %7, align 4 %108 = icmp eq i32 %106, %107 br i1 %108, label %119, label %109 109: ; preds = %105 %110 = load ptr, ptr %6, align 8 %111 = load i32, ptr %15, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds [9 x i32], ptr %110, i64 %112 %114 = load i32, ptr %8, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds [9 x i32], ptr %113, i64 0, i64 %115 %117 = load i32, ptr %116, align 4 %118 = icmp ne i32 %117, 0 br i1 %118, label %119, label %120 119: ; preds = %109, %105 br label %133 120: ; preds = %109 %121 = load ptr, ptr %6, align 8 %122 = load i32, ptr %15, align 4 %123 = load i32, ptr %8, align 4 %124 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0 %125 = call i32 @checkspot(ptr noundef %121, i32 noundef %122, i32 noundef %123, ptr noundef %124) %126 = load i32, ptr %10, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %127 %129 = load i32, ptr %128, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %131, label %132 131: ; preds = %120 store i32 0, ptr %14, align 4 store i32 9, ptr %16, align 4 store i32 9, ptr %15, align 4 br label %132 132: ; preds = %131, %120 br label %133 133: ; preds = %132, %119 %134 = load i32, ptr %15, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %15, align 4 %136 = load i32, ptr %15, align 4 %137 = icmp slt i32 %136, 9 br i1 %137, label %105, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %133 br label %138 138: ; preds = %._crit_edge6, %102 %139 = load i32, ptr %14, align 4 %140 = icmp ne i32 %139, 0 br i1 %140, label %141, label %143 141: ; preds = %138 %142 = load i32, ptr %10, align 4 store i32 %142, ptr %5, align 4 br label %191 143: ; preds = %138 store i32 1, ptr %14, align 4 store i32 0, ptr %16, align 4 %144 = load i32, ptr %16, align 4 %145 = icmp slt i32 %144, 9 br i1 %145, label %.lr.ph8, label %179 .lr.ph8: ; preds = %143 br label %146 146: ; preds = %.lr.ph8, %174 %147 = load i32, ptr %16, align 4 %148 = load i32, ptr %8, align 4 %149 = icmp eq i32 %147, %148 br i1 %149, label %160, label %150 150: ; preds = %146 %151 = load ptr, ptr %6, align 8 %152 = load i32, ptr %7, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds [9 x i32], ptr %151, i64 %153 %155 = load i32, ptr %16, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds [9 x i32], ptr %154, i64 0, i64 %156 %158 = load i32, ptr %157, align 4 %159 = icmp ne i32 %158, 0 br i1 %159, label %160, label %161 160: ; preds = %150, %146 br label %174 161: ; preds = %150 %162 = load ptr, ptr %6, align 8 %163 = load i32, ptr %7, align 4 %164 = load i32, ptr %16, align 4 %165 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 0 %166 = call i32 @checkspot(ptr noundef %162, i32 noundef %163, i32 noundef %164, ptr noundef %165) %167 = load i32, ptr %10, align 4 %168 = sext i32 %167 to i64 %169 = getelementptr inbounds [9 x i32], ptr %13, i64 0, i64 %168 %170 = load i32, ptr %169, align 4 %171 = icmp ne i32 %170, 0 br i1 %171, label %172, label %173 172: ; preds = %161 store i32 0, ptr %14, align 4 store i32 9, ptr %16, align 4 store i32 9, ptr %15, align 4 br label %173 173: ; preds = %172, %161 br label %174 174: ; preds = %173, %160 %175 = load i32, ptr %16, align 4 %176 = add nsw i32 %175, 1 store i32 %176, ptr %16, align 4 %177 = load i32, ptr %16, align 4 %178 = icmp slt i32 %177, 9 br i1 %178, label %146, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %174 br label %179 179: ; preds = %._crit_edge9, %143 %180 = load i32, ptr %14, align 4 %181 = icmp ne i32 %180, 0 br i1 %181, label %182, label %184 182: ; preds = %179 %183 = load i32, ptr %10, align 4 store i32 %183, ptr %5, align 4 br label %191 184: ; preds = %179 br label %185 185: ; preds = %184, %31 %186 = load i32, ptr %10, align 4 %187 = add nsw i32 %186, 1 store i32 %187, ptr %10, align 4 %188 = load i32, ptr %10, align 4 %189 = icmp slt i32 %188, 9 br i1 %189, label %24, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %185 br label %190 190: ; preds = %._crit_edge12, %4 store i32 -1, ptr %5, align 4 br label %191 191: ; preds = %190, %182, %141, %100 %192 = load i32, ptr %5, align 4 ret i32 %192 } declare i32 @checkspot(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpw2s_ri_8.c' source_filename = "/tmp/tmpw2s_ri_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @about.statement = internal global [378 x i8] c"\0A Elaborato IPC (@UNIVR 2015/2016) Copyright (C) 2016 Mario Alessandro Barbara\0A This program comes with ABSOLUTELY NO WARRANTY.\0A This is free software, and you are welcome to redistribute it\0A under certain conditions.\0A For details see the 'LICENSE' file that should have been distributed\0A along with this proram, if not, see <http://www.gnu.org/licenses/>.\0A\0A\0A\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @about() #0 { %1 = call i32 @debugf(ptr noundef @about.statement) ret void } declare i32 @debugf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw2s_ri_8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @about.statement = internal global [378 x i8] c"\0A Elaborato IPC (@UNIVR 2015/2016) Copyright (C) 2016 Mario Alessandro Barbara\0A This program comes with ABSOLUTELY NO WARRANTY.\0A This is free software, and you are welcome to redistribute it\0A under certain conditions.\0A For details see the 'LICENSE' file that should have been distributed\0A along with this proram, if not, see <http://www.gnu.org/licenses/>.\0A\0A\0A\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @about() #0 { %1 = call i32 @debugf(ptr noundef @about.statement) ret void } declare i32 @debugf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqw35pkmg.c' source_filename = "/tmp/tmpqw35pkmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2textxz(float noundef %0, float noundef %1, float noundef %2, ptr noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load float, ptr %5, align 4 %10 = load float, ptr %6, align 4 %11 = load float, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @_s2_priv_textab(float noundef %9, float noundef %10, float noundef %11, i32 noundef 0, i32 noundef 2, i32 noundef 1, i32 noundef 1, ptr noundef %12) ret void } declare i32 @_s2_priv_textab(float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqw35pkmg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @s2textxz(float noundef %0, float noundef %1, float noundef %2, ptr noundef %3) #0 { %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca ptr, align 8 store float %0, ptr %5, align 4 store float %1, ptr %6, align 4 store float %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load float, ptr %5, align 4 %10 = load float, ptr %6, align 4 %11 = load float, ptr %7, align 4 %12 = load ptr, ptr %8, align 8 %13 = call i32 @_s2_priv_textab(float noundef %9, float noundef %10, float noundef %11, i32 noundef 0, i32 noundef 2, i32 noundef 1, i32 noundef 1, ptr noundef %12) ret void } declare i32 @_s2_priv_textab(float noundef, float noundef, float noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqtofwf2i.c' source_filename = "/tmp/tmpqtofwf2i.c" target datalayout = "e-m:e-p270: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/tmpqtofwf2i.c" target datalayout = "e-m:e-p270: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/tmph6ymf9vk.c' source_filename = "/tmp/tmph6ymf9vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [101 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %7 7: ; preds = %12, %2 %8 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %9 = call i64 @scanf(ptr noundef @.str, ptr noundef %8) %10 = load i64, ptr @EOF, align 8 %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %17 12: ; preds = %7 %13 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %14 = call i32 @password(ptr noundef %13) %15 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) br label %7, !llvm.loop !6 17: ; preds = %7 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @password(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph6ymf9vk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @EOF = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [101 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %8 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %9 = load i64, ptr @EOF, align 8 %10 = icmp ne i64 %8, %9 br i1 %10, label %.lr.ph, label %19 .lr.ph: ; preds = %2 br label %11 11: ; preds = %.lr.ph, %11 %12 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %13 = call i32 @password(ptr noundef %12) %14 = getelementptr inbounds [101 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @printf(ptr noundef @.str.1, ptr noundef %14) %16 = call i64 @scanf(ptr noundef @.str, ptr noundef %7) %17 = load i64, ptr @EOF, align 8 %18 = icmp ne i64 %16, %17 br i1 %18, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %19 19: ; preds = %._crit_edge, %2 ret i32 0 } declare i64 @scanf(ptr noundef, ptr noundef) #1 declare i32 @password(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpc_m7jgrx.c' source_filename = "/tmp/tmpc_m7jgrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"hash_func: key was null\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @hash_func(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %1 %12 = call i32 @puts(ptr noundef @.str) store i64 0, ptr %2, align 8 br label %37 13: ; preds = %1 %14 = load ptr, ptr %7, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %4, align 4 store i64 0, ptr %6, align 8 br label %16 16: ; preds = %32, %13 %17 = load i64, ptr %6, align 8 %18 = load i32, ptr %4, align 4 %19 = zext i32 %18 to i64 %20 = icmp ult i64 %17, %19 br i1 %20, label %21, label %35 21: ; preds = %16 %22 = load i64, ptr %5, align 8 %23 = shl i64 %22, 5 %24 = load i64, ptr %5, align 8 %25 = add i64 %23, %24 %26 = load ptr, ptr %7, align 8 %27 = load i64, ptr %6, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i64 %31 = add i64 %25, %30 store i64 %31, ptr %5, align 8 br label %32 32: ; preds = %21 %33 = load i64, ptr %6, align 8 %34 = add i64 %33, 1 store i64 %34, ptr %6, align 8 br label %16, !llvm.loop !6 35: ; preds = %16 %36 = load i64, ptr %5, align 8 store i64 %36, ptr %2, align 8 br label %37 37: ; preds = %35, %11 %38 = load i64, ptr %2, align 8 ret i64 %38 } declare i32 @puts(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc_m7jgrx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [24 x i8] c"hash_func: key was null\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @hash_func(ptr noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 store ptr null, ptr %7, align 8 %8 = load ptr, ptr %3, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %13, label %11 11: ; preds = %1 %12 = call i32 @puts(ptr noundef @.str) store i64 0, ptr %2, align 8 br label %40 13: ; preds = %1 %14 = load ptr, ptr %7, align 8 %15 = call i32 @strlen(ptr noundef %14) store i32 %15, ptr %4, align 4 store i64 0, ptr %6, align 8 %16 = load i64, ptr %6, align 8 %17 = load i32, ptr %4, align 4 %18 = zext i32 %17 to i64 %19 = icmp ult i64 %16, %18 br i1 %19, label %.lr.ph, label %38 .lr.ph: ; preds = %13 br label %20 20: ; preds = %.lr.ph, %31 %21 = load i64, ptr %5, align 8 %22 = shl i64 %21, 5 %23 = load i64, ptr %5, align 8 %24 = add i64 %22, %23 %25 = load ptr, ptr %7, align 8 %26 = load i64, ptr %6, align 8 %27 = getelementptr inbounds i8, ptr %25, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i64 %30 = add i64 %24, %29 store i64 %30, ptr %5, align 8 br label %31 31: ; preds = %20 %32 = load i64, ptr %6, align 8 %33 = add i64 %32, 1 store i64 %33, ptr %6, align 8 %34 = load i64, ptr %6, align 8 %35 = load i32, ptr %4, align 4 %36 = zext i32 %35 to i64 %37 = icmp ult i64 %34, %36 br i1 %37, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %31 br label %38 38: ; preds = %._crit_edge, %13 %39 = load i64, ptr %5, align 8 store i64 %39, ptr %2, align 8 br label %40 40: ; preds = %38, %11 %41 = load i64, ptr %2, align 8 ret i64 %41 } declare i32 @puts(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbc0jpqjz.c' source_filename = "/tmp/tmpbc0jpqjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NewTemporaryVariable.tmpvarnum = internal global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"_tmp_\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"Out of memory!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%04d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NewTemporaryVariable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %8 8: ; preds = %7, %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 16 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %3, align 8 store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %19, label %15 15: ; preds = %8 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %8 br label %20 20: ; preds = %24, %19 %21 = load ptr, ptr %2, align 8 %22 = load i8, ptr %21, align 1 %23 = icmp ne i8 %22, 0 br i1 %23, label %24, label %30 24: ; preds = %20 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds i8, ptr %25, i32 1 store ptr %26, ptr %2, align 8 %27 = load i8, ptr %25, align 1 %28 = load ptr, ptr %4, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %4, align 8 store i8 %27, ptr %28, align 1 br label %20, !llvm.loop !6 30: ; preds = %20 %31 = load ptr, ptr %4, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %4, align 8 store i8 95, ptr %31, align 1 %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr @NewTemporaryVariable.tmpvarnum, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr @NewTemporaryVariable.tmpvarnum, align 4 %36 = call i32 @sprintf(ptr noundef %33, ptr noundef @.str.2, i32 noundef %34) %37 = load ptr, ptr %3, align 8 ret ptr %37 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbc0jpqjz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @NewTemporaryVariable.tmpvarnum = internal global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"_tmp_\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [16 x i8] c"Out of memory!\0A\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"%04d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @NewTemporaryVariable(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = icmp ne ptr %5, null br i1 %6, label %8, label %7 7: ; preds = %1 store ptr @.str, ptr %2, align 8 br label %8 8: ; preds = %7, %1 %9 = load ptr, ptr %2, align 8 %10 = call i64 @strlen(ptr noundef %9) %11 = add nsw i64 %10, 16 %12 = call ptr @malloc(i64 noundef %11) store ptr %12, ptr %3, align 8 store ptr %12, ptr %4, align 8 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %19, label %15 15: ; preds = %8 %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fprintf(i32 noundef %16, ptr noundef @.str.1) %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %8 %20 = load ptr, ptr %2, align 8 %21 = load i8, ptr %20, align 1 %22 = icmp ne i8 %21, 0 br i1 %22, label %.lr.ph, label %32 .lr.ph: ; preds = %19 br label %23 23: ; preds = %.lr.ph, %23 %24 = load ptr, ptr %2, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %2, align 8 %26 = load i8, ptr %24, align 1 %27 = load ptr, ptr %4, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %4, align 8 store i8 %26, ptr %27, align 1 %29 = load ptr, ptr %2, align 8 %30 = load i8, ptr %29, align 1 %31 = icmp ne i8 %30, 0 br i1 %31, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %32 32: ; preds = %._crit_edge, %19 %33 = load ptr, ptr %4, align 8 %34 = getelementptr inbounds i8, ptr %33, i32 1 store ptr %34, ptr %4, align 8 store i8 95, ptr %33, align 1 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr @NewTemporaryVariable.tmpvarnum, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr @NewTemporaryVariable.tmpvarnum, align 4 %38 = call i32 @sprintf(ptr noundef %35, ptr noundef @.str.2, i32 noundef %36) %39 = load ptr, ptr %3, align 8 ret ptr %39 } declare ptr @malloc(i64 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpj27q11y7.c' source_filename = "/tmp/tmpj27q11y7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%79[^\0A]\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [80 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %7, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %9, align 8 br label %21 21: ; preds = %26, %2 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %24 = call i32 @fscanf(ptr noundef %22, ptr noundef @.str.2, ptr noundef %23) %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %32 26: ; preds = %21 %27 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %28 = call i32 @shift_cipher(ptr noundef %27) %29 = load ptr, ptr %9, align 8 %30 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %31 = call i32 @fprintf(ptr noundef %29, ptr noundef @.str.3, ptr noundef %30) br label %21, !llvm.loop !6 32: ; preds = %21 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @shift_cipher(ptr noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj27q11y7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%79[^\0A]\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [80 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i64 1 %13 = load ptr, ptr %12, align 8 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 2 %16 = load ptr, ptr %15, align 8 store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %6, align 8 %18 = call ptr @fopen(ptr noundef %17, ptr noundef @.str) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %7, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %9, align 8 %21 = load ptr, ptr %8, align 8 %22 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %23 = call i32 @fscanf(ptr noundef %21, ptr noundef @.str.2, ptr noundef %22) %24 = icmp eq i32 %23, 1 br i1 %24, label %.lr.ph, label %34 .lr.ph: ; preds = %2 br label %25 25: ; preds = %.lr.ph, %25 %26 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %27 = call i32 @shift_cipher(ptr noundef %26) %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds [80 x i8], ptr %10, i64 0, i64 0 %30 = call i32 @fprintf(ptr noundef %28, ptr noundef @.str.3, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @fscanf(ptr noundef %31, ptr noundef @.str.2, ptr noundef %22) %33 = icmp eq i32 %32, 1 br i1 %33, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %34 34: ; preds = %._crit_edge, %2 ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @shift_cipher(ptr noundef) #1 declare i32 @fprintf(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpcm9l12bz.c' source_filename = "/tmp/tmpcm9l12bz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @_Z5swsind(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sin(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcm9l12bz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @_Z5swsind(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @sin(double noundef %3) #2 ret double %4 } ; Function Attrs: nounwind declare double @sin(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpag4z4dp_.c' source_filename = "/tmp/tmpag4z4dp_.c" target datalayout = "e-m:e-p270: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/tmpag4z4dp_.c" target datalayout = "e-m:e-p270: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/tmpqr_kv_2j.c' source_filename = "/tmp/tmpqr_kv_2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpfrpowsi(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %7, align 8 %12 = load i32, ptr %11, align 4 %13 = sext i32 %12 to i64 store i64 %13, ptr %9, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %10, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = load i64, ptr %9, align 8 %19 = load i32, ptr %10, align 4 %20 = call i32 @mpfr_pow_si(i32 noundef %16, i32 noundef %17, i64 noundef %18, i32 noundef %19) ret void } declare i32 @mpfr_pow_si(i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqr_kv_2j.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mpfrpowsi(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load ptr, ptr %7, align 8 %12 = load i32, ptr %11, align 4 %13 = sext i32 %12 to i64 store i64 %13, ptr %9, align 8 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr %14, align 4 store i32 %15, ptr %10, align 4 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %6, align 4 %18 = load i64, ptr %9, align 8 %19 = load i32, ptr %10, align 4 %20 = call i32 @mpfr_pow_si(i32 noundef %16, i32 noundef %17, i64 noundef %18, i32 noundef %19) ret void } declare i32 @mpfr_pow_si(i32 noundef, i32 noundef, i64 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf6c_sn3_.c' source_filename = "/tmp/tmpf6c_sn3_.c" target datalayout = "e-m:e-p270: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/tmpf6c_sn3_.c" target datalayout = "e-m:e-p270: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/tmp1ud_bxa9.c' source_filename = "/tmp/tmp1ud_bxa9.c" target datalayout = "e-m:e-p270: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/tmp1ud_bxa9.c" target datalayout = "e-m:e-p270: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/tmpokfa2paf.c' source_filename = "/tmp/tmpokfa2paf.c" target datalayout = "e-m:e-p270: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/tmpokfa2paf.c" target datalayout = "e-m:e-p270: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/tmppmt7l5hv.c' source_filename = "/tmp/tmppmt7l5hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mediaEstremi(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = srem i32 %8, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 %12, 2 br label %18 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = sdiv i32 %15, 2 %17 = add nsw i32 %16, 1 br label %18 18: ; preds = %14, %11 %19 = phi i32 [ %13, %11 ], [ %17, %14 ] store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call ptr @malloc(i32 noundef %23) store ptr %24, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %52, %18 %26 = load i32, ptr %7, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %55 29: ; preds = %25 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i32, ptr %30, i64 %32 %34 = load i32, ptr %33, align 4 %35 = load ptr, ptr %3, align 8 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %7, align 4 %38 = sub nsw i32 %36, %37 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %35, i64 %40 %42 = load i32, ptr %41, align 4 %43 = add nsw i32 %34, %42 %44 = sitofp i32 %43 to float %45 = fpext float %44 to double %46 = fdiv double %45, 2.000000e+00 %47 = fptrunc double %46 to float %48 = load ptr, ptr %6, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds float, ptr %48, i64 %50 store float %47, ptr %51, align 4 br label %52 52: ; preds = %29 %53 = load i32, ptr %7, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %25, !llvm.loop !6 55: ; preds = %25 %56 = load ptr, ptr %6, align 8 ret ptr %56 } declare ptr @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppmt7l5hv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mediaEstremi(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = srem i32 %8, 2 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr %4, align 4 %13 = sdiv i32 %12, 2 br label %18 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = sdiv i32 %15, 2 %17 = add nsw i32 %16, 1 br label %18 18: ; preds = %14, %11 %19 = phi i32 [ %13, %11 ], [ %17, %14 ] store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = mul i64 4, %21 %23 = trunc i64 %22 to i32 %24 = call ptr @malloc(i32 noundef %23) store ptr %24, ptr %6, align 8 store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %.lr.ph, label %57 .lr.ph: ; preds = %18 br label %28 28: ; preds = %.lr.ph, %51 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i32, ptr %29, i64 %31 %33 = load i32, ptr %32, align 4 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %4, align 4 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %35, %36 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %34, i64 %39 %41 = load i32, ptr %40, align 4 %42 = add nsw i32 %33, %41 %43 = sitofp i32 %42 to float %44 = fpext float %43 to double %45 = fdiv double %44, 2.000000e+00 %46 = fptrunc double %45 to float %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds float, ptr %47, i64 %49 store float %46, ptr %50, align 4 br label %51 51: ; preds = %28 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %28, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %51 br label %57 57: ; preds = %._crit_edge, %18 %58 = load ptr, ptr %6, align 8 ret ptr %58 } declare ptr @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"}
; ModuleID = '/tmp/tmp92rrbj1f.c' source_filename = "/tmp/tmp92rrbj1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"This is a simple program that converts\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Celsius to Fahrenheit in decimal format\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Celsius: %6.2f Fahrenheit: %3.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 store float 0x3FE1C71C80000000, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float store float %9, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %12 12: ; preds = %17, %0 %13 = load float, ptr %2, align 4 %14 = load i32, ptr %5, align 4 %15 = sitofp i32 %14 to float %16 = fcmp ole float %13, %15 br i1 %16, label %17, label %31 17: ; preds = %12 %18 = load float, ptr %7, align 4 %19 = load float, ptr %2, align 4 %20 = fsub float %19, 3.200000e+01 %21 = fmul float %18, %20 store float %21, ptr %3, align 4 %22 = load float, ptr %3, align 4 %23 = fpext float %22 to double %24 = load float, ptr %2, align 4 %25 = fpext float %24 to double %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %23, double noundef %25) %27 = load float, ptr %2, align 4 %28 = load i32, ptr %6, align 4 %29 = sitofp i32 %28 to float %30 = fadd float %27, %29 store float %30, ptr %2, align 4 br label %12, !llvm.loop !6 31: ; preds = %12 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92rrbj1f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [40 x i8] c"This is a simple program that converts\0A\00", align 1 @.str.1 = private unnamed_addr constant [41 x i8] c"Celsius to Fahrenheit in decimal format\0A\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"Celsius: %6.2f Fahrenheit: %3.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %4, align 4 store i32 300, ptr %5, align 4 store i32 20, ptr %6, align 4 store float 0x3FE1C71C80000000, ptr %7, align 4 %8 = load i32, ptr %4, align 4 %9 = sitofp i32 %8 to float store float %9, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %12 = load float, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = sitofp i32 %13 to float %15 = fcmp ole float %12, %14 br i1 %15, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %16 16: ; preds = %.lr.ph, %16 %17 = load float, ptr %7, align 4 %18 = load float, ptr %2, align 4 %19 = fsub float %18, 3.200000e+01 %20 = fmul float %17, %19 store float %20, ptr %3, align 4 %21 = load float, ptr %3, align 4 %22 = fpext float %21 to double %23 = load float, ptr %2, align 4 %24 = fpext float %23 to double %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %22, double noundef %24) %26 = load float, ptr %2, align 4 %27 = load i32, ptr %6, align 4 %28 = sitofp i32 %27 to float %29 = fadd float %26, %28 store float %29, ptr %2, align 4 %30 = load float, ptr %2, align 4 %31 = load i32, ptr %5, align 4 %32 = sitofp i32 %31 to float %33 = fcmp ole float %30, %32 br i1 %33, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %34 34: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6gxodv7d.c' source_filename = "/tmp/tmp6gxodv7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createAndExpression(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @createExpression(i32 noundef 4, ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @createExpression(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/tmp6gxodv7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createAndExpression(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call ptr @createExpression(i32 noundef 4, ptr noundef %5, ptr noundef %6) ret ptr %7 } declare ptr @createExpression(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/tmp8h2j7iai.c' source_filename = "/tmp/tmp8h2j7iai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %7, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %7, label %13 7: ; preds = %3 %8 = load ptr, ptr %2, align 8 %9 = load i8, ptr %8, align 1 %10 = call i32 @LCDCharacter(i8 noundef signext %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 br label %3, !llvm.loop !6 13: ; preds = %3 ret void } declare i32 @LCDCharacter(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8h2j7iai.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LCDString(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = icmp ne i8 %4, 0 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %6 6: ; preds = %.lr.ph, %6 %7 = load ptr, ptr %2, align 8 %8 = load i8, ptr %7, align 1 %9 = call i32 @LCDCharacter(i8 noundef signext %8) %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %15 15: ; preds = %._crit_edge, %1 ret void } declare i32 @LCDCharacter(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp6iszus_f.c' source_filename = "/tmp/tmp6iszus_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Enter rows: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Enter columns: \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \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() #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 [100 x [100 x i32]], align 16 %7 = alloca [100 x [100 x i32]], align 16 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) store i32 0, ptr %2, align 4 br label %12 12: ; preds = %33, %0 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %36 16: ; preds = %12 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %29, %16 %18 = load i32, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %32 21: ; preds = %17 %22 = load i32, ptr %2, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 %23 %25 = load i32, ptr %3, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds [100 x i32], ptr %24, i64 0, i64 %26 %28 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %27) br label %29 29: ; preds = %21 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 br label %17, !llvm.loop !6 32: ; preds = %17 br label %33 33: ; preds = %32 %34 = load i32, ptr %2, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %2, align 4 br label %12, !llvm.loop !8 36: ; preds = %12 store i32 0, ptr %2, align 4 br label %37 37: ; preds = %64, %36 %38 = load i32, ptr %2, align 4 %39 = load i32, ptr %5, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %67 41: ; preds = %37 store i32 0, ptr %3, align 4 br label %42 42: ; preds = %60, %41 %43 = load i32, ptr %3, align 4 %44 = load i32, ptr %4, align 4 %45 = icmp slt i32 %43, %44 br i1 %45, label %46, label %63 46: ; preds = %42 %47 = load i32, ptr %2, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 %48 %50 = load i32, ptr %3, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds [100 x i32], ptr %49, i64 0, i64 %51 %53 = load i32, ptr %52, align 4 %54 = load i32, ptr %3, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [100 x [100 x i32]], ptr %7, i64 0, i64 %55 %57 = load i32, ptr %2, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds [100 x i32], ptr %56, i64 0, i64 %58 store i32 %53, ptr %59, align 4 br label %60 60: ; preds = %46 %61 = load i32, ptr %3, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %3, align 4 br label %42, !llvm.loop !9 63: ; preds = %42 br label %64 64: ; preds = %63 %65 = load i32, ptr %2, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %2, align 4 br label %37, !llvm.loop !10 67: ; preds = %37 store i32 0, ptr %2, align 4 br label %68 68: ; preds = %91, %67 %69 = load i32, ptr %2, align 4 %70 = load i32, ptr %4, align 4 %71 = icmp slt i32 %69, %70 br i1 %71, label %72, label %94 72: ; preds = %68 store i32 0, ptr %3, align 4 br label %73 73: ; preds = %86, %72 %74 = load i32, ptr %3, align 4 %75 = load i32, ptr %5, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %77, label %89 77: ; preds = %73 %78 = load i32, ptr %2, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [100 x [100 x i32]], ptr %7, i64 0, i64 %79 %81 = load i32, ptr %3, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [100 x i32], ptr %80, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %84) br label %86 86: ; preds = %77 %87 = load i32, ptr %3, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %3, align 4 br label %73, !llvm.loop !11 89: ; preds = %73 %90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %91 91: ; preds = %89 %92 = load i32, ptr %2, align 4 %93 = add nsw i32 %92, 1 store i32 %93, ptr %2, align 4 br label %68, !llvm.loop !12 94: ; preds = %68 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6iszus_f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Enter rows: \0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"Enter columns: \0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%d \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() #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 [100 x [100 x i32]], align 16 %7 = alloca [100 x [100 x i32]], align 16 store i32 0, ptr %1, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %11 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4) store i32 0, ptr %2, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %40 .lr.ph2: ; preds = %0 br label %15 15: ; preds = %.lr.ph2, %34 store i32 0, ptr %3, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %33 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %27 %20 = load i32, ptr %2, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 %21 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [100 x i32], ptr %22, i64 0, i64 %24 %26 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %25) br label %27 27: ; preds = %19 %28 = load i32, ptr %3, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %3, align 4 %30 = load i32, ptr %3, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %15 br label %34 34: ; preds = %33 %35 = load i32, ptr %2, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %2, align 4 %37 = load i32, ptr %2, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %40 40: ; preds = %._crit_edge3, %0 store i32 0, ptr %2, align 4 %41 = load i32, ptr %2, align 4 %42 = load i32, ptr %5, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph8, label %75 .lr.ph8: ; preds = %40 br label %44 44: ; preds = %.lr.ph8, %69 store i32 0, ptr %3, align 4 %45 = load i32, ptr %3, align 4 %46 = load i32, ptr %4, align 4 %47 = icmp slt i32 %45, %46 br i1 %47, label %.lr.ph5, label %68 .lr.ph5: ; preds = %44 br label %48 48: ; preds = %.lr.ph5, %62 %49 = load i32, ptr %2, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [100 x [100 x i32]], ptr %6, i64 0, i64 %50 %52 = load i32, ptr %3, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [100 x i32], ptr %51, i64 0, i64 %53 %55 = load i32, ptr %54, align 4 %56 = load i32, ptr %3, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [100 x [100 x i32]], ptr %7, i64 0, i64 %57 %59 = load i32, ptr %2, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [100 x i32], ptr %58, i64 0, i64 %60 store i32 %55, ptr %61, align 4 br label %62 62: ; preds = %48 %63 = load i32, ptr %3, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %3, align 4 %65 = load i32, ptr %3, align 4 %66 = load i32, ptr %4, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %48, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %62 br label %68 68: ; preds = %._crit_edge6, %44 br label %69 69: ; preds = %68 %70 = load i32, ptr %2, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %2, align 4 %72 = load i32, ptr %2, align 4 %73 = load i32, ptr %5, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %44, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %69 br label %75 75: ; preds = %._crit_edge9, %40 store i32 0, ptr %2, align 4 %76 = load i32, ptr %2, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %.lr.ph14, label %106 .lr.ph14: ; preds = %75 br label %79 79: ; preds = %.lr.ph14, %100 store i32 0, ptr %3, align 4 %80 = load i32, ptr %3, align 4 %81 = load i32, ptr %5, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %.lr.ph11, label %98 .lr.ph11: ; preds = %79 br label %83 83: ; preds = %.lr.ph11, %92 %84 = load i32, ptr %2, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [100 x [100 x i32]], ptr %7, i64 0, i64 %85 %87 = load i32, ptr %3, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [100 x i32], ptr %86, i64 0, i64 %88 %90 = load i32, ptr %89, align 4 %91 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %90) br label %92 92: ; preds = %83 %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 = load i32, ptr %5, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %83, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %92 br label %98 98: ; preds = %._crit_edge12, %79 %99 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %100 100: ; preds = %98 %101 = load i32, ptr %2, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %2, align 4 %103 = load i32, ptr %2, align 4 %104 = load i32, ptr %4, align 4 %105 = icmp slt i32 %103, %104 br i1 %105, label %79, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %100 br label %106 106: ; preds = %._crit_edge15, %75 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpihsa6ney.c' source_filename = "/tmp/tmpihsa6ney.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %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 %37 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) %30 = trunc i64 %29 to i8 store i8 %30, ptr %9, align 1 %31 = load i8, ptr %9, align 1 %32 = load i32, ptr %8, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %33 store i8 %31, ptr %34, align 1 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 br label %19, !llvm.loop !6 37: ; preds = %19 %38 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %39 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39) %41 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %42 = load i8, ptr %41, align 1 %43 = zext i8 %42 to i32 %44 = icmp eq i32 %43, 204 br i1 %44, label %45, label %47 45: ; preds = %37 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 47: ; preds = %37 br label %48 48: ; preds = %47, %45 store i32 0, ptr %10, align 4 br label %49 49: ; preds = %52, %48 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %52, label %61 52: ; preds = %49 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 br label %49, !llvm.loop !8 61: ; preds = %49 %62 = load i32, ptr %3, align 4 ret i32 %62 } 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/tmpihsa6ney.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%u\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 i8], align 1 %7 = alloca [1 x i8], align 1 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %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 %38 .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) %29 = trunc i64 %28 to i8 store i8 %29, ptr %9, align 1 %30 = load i8, ptr %9, align 1 %31 = load i32, ptr %8, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 %32 store i8 %30, ptr %33, align 1 %34 = load i32, ptr %8, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 1 br i1 %37, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %38 38: ; preds = %._crit_edge, %18 %39 = getelementptr inbounds [1 x i8], ptr %6, i64 0, i64 0 %40 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40) %42 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 0 %43 = load i8, ptr %42, align 1 %44 = zext i8 %43 to i32 %45 = icmp eq i32 %44, 204 br i1 %45, label %46, label %48 46: ; preds = %38 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %49 48: ; preds = %38 br label %49 49: ; preds = %48, %46 store i32 0, ptr %10, align 4 %50 = load i32, ptr %10, align 4 %51 = icmp slt i32 %50, 1 br i1 %51, label %.lr.ph2, label %63 .lr.ph2: ; preds = %49 br label %52 52: ; preds = %.lr.ph2, %52 %53 = load i32, ptr %10, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds [1 x i8], ptr %7, i64 0, i64 %54 %56 = load i8, ptr %55, align 1 %57 = zext i8 %56 to i32 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %57) %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 1 br i1 %62, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %63 63: ; preds = %._crit_edge3, %49 %64 = load i32, ptr %3, align 4 ret i32 %64 } 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/tmpdgrymsuf.c' source_filename = "/tmp/tmpdgrymsuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pickadditive(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1000 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %61 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = call i32 @pickzero(ptr noundef %16, i32 noundef %17) store i32 %18, ptr %10, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %15 %21 = load i32, ptr %10, align 4 store i32 %21, ptr %4, align 4 br label %61 22: ; preds = %15 store i32 0, ptr %8, align 4 br label %23 23: ; preds = %35, %22 %24 = load i32, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %38 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %8, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = load i32, ptr %31, align 4 %33 = load i32, ptr %11, align 4 %34 = add nsw i32 %33, %32 store i32 %34, ptr %11, align 4 br label %35 35: ; preds = %27 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 br label %23, !llvm.loop !6 38: ; preds = %23 store i32 0, ptr %8, align 4 br label %39 39: ; preds = %54, %38 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %57 43: ; preds = %39 %44 = load i32, ptr %11, align 4 %45 = load ptr, ptr %5, align 8 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i32, ptr %45, i64 %47 %49 = load i32, ptr %48, align 4 %50 = sub nsw i32 %44, %49 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %52 store i32 %50, ptr %53, align 4 br label %54 54: ; preds = %43 %55 = load i32, ptr %8, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %8, align 4 br label %39, !llvm.loop !8 57: ; preds = %39 %58 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0 %59 = load i32, ptr %6, align 4 %60 = call i32 @pickweight(ptr noundef %58, i32 noundef %59) store i32 %60, ptr %4, align 4 br label %61 61: ; preds = %57, %20, %14 %62 = load i32, ptr %4, align 4 ret i32 %62 } declare i32 @pickzero(ptr noundef, i32 noundef) #1 declare i32 @pickweight(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdgrymsuf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pickadditive(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [1000 x i32], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp eq i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %3 store i32 0, ptr %4, align 4 br label %65 15: ; preds = %3 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %6, align 4 %18 = call i32 @pickzero(ptr noundef %16, i32 noundef %17) store i32 %18, ptr %10, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %20, label %22 20: ; preds = %15 %21 = load i32, ptr %10, align 4 store i32 %21, ptr %4, align 4 br label %65 22: ; preds = %15 store i32 0, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %40 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %34 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 %31 = load i32, ptr %30, align 4 %32 = load i32, ptr %11, align 4 %33 = add nsw i32 %32, %31 store i32 %33, ptr %11, align 4 br label %34 34: ; preds = %26 %35 = load i32, ptr %8, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %8, align 4 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %26, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %22 store i32 0, ptr %8, align 4 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %6, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %61 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %55 %45 = load i32, ptr %11, align 4 %46 = load ptr, ptr %5, align 8 %47 = load i32, ptr %8, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %46, i64 %48 %50 = load i32, ptr %49, align 4 %51 = sub nsw i32 %45, %50 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 %53 store i32 %51, ptr %54, align 4 br label %55 55: ; preds = %44 %56 = load i32, ptr %8, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr %6, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %55 br label %61 61: ; preds = %._crit_edge3, %40 %62 = getelementptr inbounds [1000 x i32], ptr %9, i64 0, i64 0 %63 = load i32, ptr %6, align 4 %64 = call i32 @pickweight(ptr noundef %62, i32 noundef %63) store i32 %64, ptr %4, align 4 br label %65 65: ; preds = %61, %20, %14 %66 = load i32, ptr %4, align 4 ret i32 %66 } declare i32 @pickzero(ptr noundef, i32 noundef) #1 declare i32 @pickweight(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp3dlnxxv9.c' source_filename = "/tmp/tmp3dlnxxv9.c" target datalayout = "e-m:e-p270: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/tmp3dlnxxv9.c" target datalayout = "e-m:e-p270: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/tmp6un3_afc.c' source_filename = "/tmp/tmp6un3_afc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @__aeabi_memmove4_impl(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @memmove(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret void } declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6un3_afc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define weak dso_local void @__aeabi_memmove4_impl(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @memmove(ptr noundef %7, ptr noundef %8, i64 noundef %9) ret void } declare i32 @memmove(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmjym5ih4.c' source_filename = "/tmp/tmpmjym5ih4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_input(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @get_file_handle(ptr noundef %5, ptr noundef %3) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @parse_grid(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = load i64, ptr %3, align 8 %11 = call i32 @munmap(ptr noundef %9, i64 noundef %10) ret void } declare ptr @get_file_handle(ptr noundef, ptr noundef) #1 declare i32 @parse_grid(ptr noundef) #1 declare i32 @munmap(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/tmpmjym5ih4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parse_input(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call ptr @get_file_handle(ptr noundef %5, ptr noundef %3) store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, align 8 %8 = call i32 @parse_grid(ptr noundef %7) %9 = load ptr, ptr %4, align 8 %10 = load i64, ptr %3, align 8 %11 = call i32 @munmap(ptr noundef %9, i64 noundef %10) ret void } declare ptr @get_file_handle(ptr noundef, ptr noundef) #1 declare i32 @parse_grid(ptr noundef) #1 declare i32 @munmap(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/tmphbgzbkfo.c' source_filename = "/tmp/tmphbgzbkfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"prefetch abort!\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prefetch_abort() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = load ptr, ptr %1, align 8 %4 = ptrtoint ptr %3 to i64 %5 = sub nsw i64 %4, 4 store i64 %5, ptr %2, align 8 %6 = call i32 @uart0_write(ptr noundef @.str) %7 = load i64, ptr %2, align 8 %8 = call i32 @uart0_write_hex(i64 noundef %7) %9 = call i32 @panic_blink(i32 noundef 2) ret void } declare i32 @uart0_write(ptr noundef) #1 declare i32 @uart0_write_hex(i64 noundef) #1 declare i32 @panic_blink(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/tmphbgzbkfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"prefetch abort!\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @prefetch_abort() #0 { %1 = alloca ptr, align 8 %2 = alloca i64, align 8 %3 = load ptr, ptr %1, align 8 %4 = ptrtoint ptr %3 to i64 %5 = sub nsw i64 %4, 4 store i64 %5, ptr %2, align 8 %6 = call i32 @uart0_write(ptr noundef @.str) %7 = load i64, ptr %2, align 8 %8 = call i32 @uart0_write_hex(i64 noundef %7) %9 = call i32 @panic_blink(i32 noundef 2) ret void } declare i32 @uart0_write(ptr noundef) #1 declare i32 @uart0_write_hex(i64 noundef) #1 declare i32 @panic_blink(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/tmpaurc_pos.c' source_filename = "/tmp/tmpaurc_pos.c" target datalayout = "e-m:e-p270: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/tmpaurc_pos.c" target datalayout = "e-m:e-p270: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/tmpgmr2c060.c' source_filename = "/tmp/tmpgmr2c060.c" target datalayout = "e-m:e-p270: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/tmpgmr2c060.c" target datalayout = "e-m:e-p270: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/tmp344qgzw4.c' source_filename = "/tmp/tmp344qgzw4.c" target datalayout = "e-m:e-p270: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/tmp344qgzw4.c" target datalayout = "e-m:e-p270: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/tmpz5h7f9j0.c' source_filename = "/tmp/tmpz5h7f9j0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @optind = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @builtin_read(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_getopt_reset(i32 noundef %7, ptr noundef %8) br label %10 10: ; preds = %20, %2 %11 = load i32, ptr %4, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @getopt(i32 noundef %11, ptr noundef %12, ptr noundef @.str) store i32 %13, ptr %6, align 4 %14 = icmp ne i32 %13, -1 br i1 %14, label %15, label %21 15: ; preds = %10 %16 = load i32, ptr %6, align 4 switch i32 %16, label %18 [ i32 114, label %17 ] 17: ; preds = %15 br label %20 18: ; preds = %15 %19 = call i32 (...) @_read_usage() store i32 %19, ptr %3, align 4 br label %30 20: ; preds = %17 br label %10, !llvm.loop !6 21: ; preds = %10 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr @optind, align 4 %24 = sub nsw i32 %22, %23 %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr @optind, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds ptr, ptr %25, i64 %27 %29 = call i32 @_read_do(i32 noundef %24, ptr noundef %28) store i32 %29, ptr %3, align 4 br label %30 30: ; preds = %21, %18 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @_getopt_reset(i32 noundef, ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @_read_usage(...) #1 declare i32 @_read_do(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz5h7f9j0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @optind = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @builtin_read(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = call i32 @_getopt_reset(i32 noundef %7, ptr noundef %8) %10 = load i32, ptr %4, align 4 %11 = load ptr, ptr %5, align 8 %12 = call i32 @getopt(i32 noundef %10, ptr noundef %11, ptr noundef @.str) store i32 %12, ptr %6, align 4 %13 = icmp ne i32 %12, -1 br i1 %13, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %14 14: ; preds = %.lr.ph, %19 %15 = load i32, ptr %6, align 4 switch i32 %15, label %17 [ i32 114, label %16 ] 16: ; preds = %14 br label %19 17: ; preds = %14 %18 = call i32 (...) @_read_usage() store i32 %18, ptr %3, align 4 br label %33 19: ; preds = %16 %20 = load i32, ptr %4, align 4 %21 = load ptr, ptr %5, align 8 %22 = call i32 @getopt(i32 noundef %20, ptr noundef %21, ptr noundef @.str) store i32 %22, ptr %6, align 4 %23 = icmp ne i32 %22, -1 br i1 %23, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %24 24: ; preds = %._crit_edge, %2 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr @optind, align 4 %27 = sub nsw i32 %25, %26 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr @optind, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = call i32 @_read_do(i32 noundef %27, ptr noundef %31) store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %24, %17 %34 = load i32, ptr %3, align 4 ret i32 %34 } declare i32 @_getopt_reset(i32 noundef, ptr noundef) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @_read_usage(...) #1 declare i32 @_read_do(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpftngnd28.c' source_filename = "/tmp/tmpftngnd28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numerate_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strtol(ptr noundef %4, ptr noundef %3, i32 noundef 0) ret i32 %5 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpftngnd28.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numerate_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strtol(ptr noundef %4, ptr noundef %3, i32 noundef 0) ret i32 %5 } 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"}
; ModuleID = '/tmp/tmp2qfwd3l7.c' source_filename = "/tmp/tmp2qfwd3l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comment(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call signext i8 @getc(ptr noundef %5) store i8 %6, ptr %4, align 1 br label %7 7: ; preds = %25, %1 %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 93 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = call i32 @feof(ptr noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br label %16 16: ; preds = %11, %7 %17 = phi i1 [ false, %7 ], [ %15, %11 ] br i1 %17, label %18, label %28 18: ; preds = %16 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 91 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 %24 = call i32 @comment(ptr noundef %23) br label %25 25: ; preds = %22, %18 %26 = load ptr, ptr %3, align 8 %27 = call signext i8 @getc(ptr noundef %26) store i8 %27, ptr %4, align 1 br label %7, !llvm.loop !6 28: ; preds = %16 %29 = load ptr, ptr %3, align 8 %30 = call i32 @feof(ptr noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %28 store i32 0, ptr %2, align 4 br label %34 33: ; preds = %28 store i32 1, ptr %2, align 4 br label %34 34: ; preds = %33, %32 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare signext i8 @getc(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2qfwd3l7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @comment(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = call signext i8 @getc(ptr noundef %5) store i8 %6, ptr %4, align 1 br label %7 7: ; preds = %25, %1 %8 = load i8, ptr %4, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 93 br i1 %10, label %11, label %16 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = call i32 @feof(ptr noundef %12) %14 = icmp ne i32 %13, 0 %15 = xor i1 %14, true br label %16 16: ; preds = %11, %7 %17 = phi i1 [ false, %7 ], [ %15, %11 ] br i1 %17, label %18, label %28 18: ; preds = %16 %19 = load i8, ptr %4, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 91 br i1 %21, label %22, label %25 22: ; preds = %18 %23 = load ptr, ptr %3, align 8 %24 = call i32 @comment(ptr noundef %23) br label %25 25: ; preds = %22, %18 %26 = load ptr, ptr %3, align 8 %27 = call signext i8 @getc(ptr noundef %26) store i8 %27, ptr %4, align 1 br label %7, !llvm.loop !6 28: ; preds = %16 %29 = load ptr, ptr %3, align 8 %30 = call i32 @feof(ptr noundef %29) %31 = icmp ne i32 %30, 0 br i1 %31, label %33, label %32 32: ; preds = %28 store i32 0, ptr %2, align 4 br label %34 33: ; preds = %28 store i32 1, ptr %2, align 4 br label %34 34: ; preds = %33, %32 %35 = load i32, ptr %2, align 4 ret i32 %35 } declare signext i8 @getc(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpiudjcab0.c' source_filename = "/tmp/tmpiudjcab0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @updateStars.updateCounter = internal global i32 0, align 4 @updateStars.starBrightness = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starColor = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starCount = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starLED = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starLength = internal global [50 x i32] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @updateStars(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr @updateStars.updateCounter, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %117 9: ; preds = %2 store i32 1, ptr @updateStars.updateCounter, align 4 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %113, %9 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 50 br i1 %12, label %13, label %116 13: ; preds = %10 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %15 %17 = load i32, ptr %16, align 4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %70 19: ; preds = %13 %20 = load ptr, ptr %3, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %20, i64 %25 store i32 0, ptr %26, align 4 br label %27 27: ; preds = %33, %19 %28 = call i32 (...) @rand() %29 = srem i32 %28, 256 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %31 store i32 %29, ptr %32, align 4 br label %33 33: ; preds = %27 %34 = load ptr, ptr %3, align 8 %35 = load i32, ptr %5, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %36 %38 = load i32, ptr %37, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %34, i64 %39 %41 = load i32, ptr %40, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %27, label %43, !llvm.loop !6 43: ; preds = %33 %44 = call i32 (...) @rand() %45 = srem i32 %44, 3600 %46 = add nsw i32 %45, 400 %47 = mul nsw i32 %46, 60 %48 = sdiv i32 %47, 256 %49 = load i32, ptr %5, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds [50 x i32], ptr @updateStars.starLength, i64 0, i64 %50 store i32 %48, ptr %51, align 4 %52 = call i32 (...) @rand() %53 = srem i32 %52, 205 %54 = add nsw i32 %53, 50 %55 = load i32, ptr %5, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [50 x i32], ptr @updateStars.starBrightness, i64 0, i64 %56 store i32 %54, ptr %57, align 4 %58 = call i32 (...) @rand() %59 = srem i32 %58, 256 %60 = load i32, ptr %5, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [50 x i32], ptr @updateStars.starColor, i64 0, i64 %61 store i32 %59, ptr %62, align 4 %63 = load i32, ptr %5, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [50 x i32], ptr @updateStars.starLength, i64 0, i64 %64 %66 = load i32, ptr %65, align 4 %67 = load i32, ptr %5, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %68 store i32 %66, ptr %69, align 4 br label %70 70: ; preds = %43, %13 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %5, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds [50 x i32], ptr @updateStars.starBrightness, i64 0, i64 %73 %75 = load i32, ptr %74, align 4 %76 = mul nsw i32 %71, %75 %77 = load i32, ptr %5, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %78 %80 = load i32, ptr %79, align 4 %81 = mul nsw i32 256, %80 %82 = load i32, ptr %5, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [50 x i32], ptr @updateStars.starLength, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = sdiv i32 %81, %85 %87 = add nsw i32 %86, 128 %88 = call i32 @cos8(i32 noundef %87) %89 = mul nsw i32 %76, %88 %90 = sdiv i32 %89, 255 %91 = sdiv i32 %90, 255 store i32 %91, ptr %6, align 4 %92 = load i32, ptr %5, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [50 x i32], ptr @updateStars.starColor, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = mul nsw i32 85, %95 %97 = sdiv i32 %96, 255 %98 = add nsw i32 80, %97 %99 = load i32, ptr %6, align 4 %100 = call i32 @tempColor(i32 noundef %98, i32 noundef %99) %101 = load ptr, ptr %3, align 8 %102 = load i32, ptr %5, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %103 %105 = load i32, ptr %104, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i32, ptr %101, i64 %106 store i32 %100, ptr %107, align 4 %108 = load i32, ptr %5, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %109 %111 = load i32, ptr %110, align 4 %112 = add nsw i32 %111, -1 store i32 %112, ptr %110, align 4 br label %113 113: ; preds = %70 %114 = load i32, ptr %5, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %5, align 4 br label %10, !llvm.loop !8 116: ; preds = %10 br label %117 117: ; preds = %116, %2 %118 = load i32, ptr @updateStars.updateCounter, align 4 %119 = add nsw i32 %118, -1 store i32 %119, ptr @updateStars.updateCounter, align 4 ret void } declare i32 @rand(...) #1 declare i32 @cos8(i32 noundef) #1 declare i32 @tempColor(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiudjcab0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @updateStars.updateCounter = internal global i32 0, align 4 @updateStars.starBrightness = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starColor = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starCount = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starLED = internal global [50 x i32] zeroinitializer, align 16 @updateStars.starLength = internal global [50 x i32] zeroinitializer, align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @updateStars(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load i32, ptr @updateStars.updateCounter, align 4 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %118 9: ; preds = %2 store i32 1, ptr @updateStars.updateCounter, align 4 store i32 0, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 50 br i1 %11, label %.lr.ph, label %117 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %112 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %14 %16 = load i32, ptr %15, align 4 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %69 18: ; preds = %12 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i32, ptr %19, i64 %24 store i32 0, ptr %25, align 4 br label %26 26: ; preds = %32, %18 %27 = call i32 (...) @rand() %28 = srem i32 %27, 256 %29 = load i32, ptr %5, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %30 store i32 %28, ptr %31, align 4 br label %32 32: ; preds = %26 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %35 %37 = load i32, ptr %36, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %33, i64 %38 %40 = load i32, ptr %39, align 4 %41 = icmp ne i32 %40, 0 br i1 %41, label %26, label %42, !llvm.loop !6 42: ; preds = %32 %43 = call i32 (...) @rand() %44 = srem i32 %43, 3600 %45 = add nsw i32 %44, 400 %46 = mul nsw i32 %45, 60 %47 = sdiv i32 %46, 256 %48 = load i32, ptr %5, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [50 x i32], ptr @updateStars.starLength, i64 0, i64 %49 store i32 %47, ptr %50, align 4 %51 = call i32 (...) @rand() %52 = srem i32 %51, 205 %53 = add nsw i32 %52, 50 %54 = load i32, ptr %5, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [50 x i32], ptr @updateStars.starBrightness, i64 0, i64 %55 store i32 %53, ptr %56, align 4 %57 = call i32 (...) @rand() %58 = srem i32 %57, 256 %59 = load i32, ptr %5, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds [50 x i32], ptr @updateStars.starColor, i64 0, i64 %60 store i32 %58, ptr %61, align 4 %62 = load i32, ptr %5, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds [50 x i32], ptr @updateStars.starLength, i64 0, i64 %63 %65 = load i32, ptr %64, align 4 %66 = load i32, ptr %5, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %67 store i32 %65, ptr %68, align 4 br label %69 69: ; preds = %42, %12 %70 = load i32, ptr %4, align 4 %71 = load i32, ptr %5, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [50 x i32], ptr @updateStars.starBrightness, i64 0, i64 %72 %74 = load i32, ptr %73, align 4 %75 = mul nsw i32 %70, %74 %76 = load i32, ptr %5, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = mul nsw i32 256, %79 %81 = load i32, ptr %5, align 4 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds [50 x i32], ptr @updateStars.starLength, i64 0, i64 %82 %84 = load i32, ptr %83, align 4 %85 = sdiv i32 %80, %84 %86 = add nsw i32 %85, 128 %87 = call i32 @cos8(i32 noundef %86) %88 = mul nsw i32 %75, %87 %89 = sdiv i32 %88, 255 %90 = sdiv i32 %89, 255 store i32 %90, ptr %6, align 4 %91 = load i32, ptr %5, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds [50 x i32], ptr @updateStars.starColor, i64 0, i64 %92 %94 = load i32, ptr %93, align 4 %95 = mul nsw i32 85, %94 %96 = sdiv i32 %95, 255 %97 = add nsw i32 80, %96 %98 = load i32, ptr %6, align 4 %99 = call i32 @tempColor(i32 noundef %97, i32 noundef %98) %100 = load ptr, ptr %3, align 8 %101 = load i32, ptr %5, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds [50 x i32], ptr @updateStars.starLED, i64 0, i64 %102 %104 = load i32, ptr %103, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i32, ptr %100, i64 %105 store i32 %99, ptr %106, align 4 %107 = load i32, ptr %5, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [50 x i32], ptr @updateStars.starCount, i64 0, i64 %108 %110 = load i32, ptr %109, align 4 %111 = add nsw i32 %110, -1 store i32 %111, ptr %109, align 4 br label %112 112: ; preds = %69 %113 = load i32, ptr %5, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %5, align 4 %115 = load i32, ptr %5, align 4 %116 = icmp slt i32 %115, 50 br i1 %116, label %12, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %112 br label %117 117: ; preds = %._crit_edge, %9 br label %118 118: ; preds = %117, %2 %119 = load i32, ptr @updateStars.updateCounter, align 4 %120 = add nsw i32 %119, -1 store i32 %120, ptr @updateStars.updateCounter, align 4 ret void } declare i32 @rand(...) #1 declare i32 @cos8(i32 noundef) #1 declare i32 @tempColor(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpahc_dauc.c' source_filename = "/tmp/tmpahc_dauc.c" target datalayout = "e-m:e-p270: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/tmpahc_dauc.c" target datalayout = "e-m:e-p270: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/tmpjuo5fj4l.c' source_filename = "/tmp/tmpjuo5fj4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i32, ptr %3, i64 1 %5 = load ptr, ptr %4, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) 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/tmpjuo5fj4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds i32, ptr %3, i64 1 %5 = load ptr, ptr %4, align 8 %6 = call i32 @printf(ptr noundef @.str, ptr noundef %5) 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/tmpn3jyhnxd.c' source_filename = "/tmp/tmpn3jyhnxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [97 x i8] c"Usage: %s [OPTIONS]\0AGenerate a pseudorandom password. Uses /dev/urandom as pseudorandom source.\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [1662 x i8] c"OPTIONS:\0A -L enable lower case characters in output\0A -U enable upper case characters in output\0A -D enable digit characters in output\0A -P enable punctuation characters in output\0A -N enable no characters. dummy option to override default behavior when\0A no other character set options will be specified in the case that it is\0A desired for the output to be composed of characters specified in the\0A include list only using the -e option\0A\0A -f fast character set mode, used to control which characters\0A will be included in the password produced, use a numerical option\0A from the table below (see: Fast character set mode options). Fast \0A character set mode options will be override by any of the above character\0A mode switches when used together simultaneously\0A\0A -l password length in characters\0A -c password count to be generated\0A -p optional prefix to be prepended to password produced\0A -n no prefix substitution -- when this option is specified\0A the total length will be equal to prefix length, plus length specified\0A via the -l option\0A -h display this help and exit\0A -e excludes any characters in the string given as argument\0A -i specifies additional characters to include in character set\0A\0A -d dump symbol table\0A -C enable colorful text output\0A\0AWithout specifying any options, default parameters will be used\0ADefault parameters are fast character mode 3 and a length of 6, equivalent to\0A%s -f3 -l6. Default behavior can be overridden by specifying the desired options\0A\00", align 1 @.str.2 = private unnamed_addr constant [446 x i8] c"-f Fast character set mode options: \0A 1 only lowercase alphabetic characters will be used, equivalent to -L\0A 2 lowercase and uppercase alphabetic characters, equivalent to -LU\0A 3 lowercase/uppercase and numeric characters, equivalent to -LUD\0A 4 alphanumeric plus special characters. Unless an exclude list\0A is specified, the result will be the use of all printable non-whitespace\0A ASCII characters. equivalent -LUDP\0A\00", align 1 @.str.3 = private unnamed_addr constant [594 x i8] c"Examples:\0A %s -f1 -l42\09Produce a password of length 42 using only\0A\09\09\09lowercase alphabetic characters\0A\09\09\09e.g. crtgjazxwckmkyswgfqplojohplmfsdjamgljacwfh\0A\0A %s -l8 -pfoo-\09Produce password of length 8, with prefix \22foo-\22.\0A\09\09\09e.g. foo-lOdk.\0A\0A %s -l8 -pfoo- -n\09Produces password of length 8 with prefix \22foo-\22.\0A\09\09\09No prefix substitution\0A\09\09\09e.g. foo-n2M2zKP4\0A\0A %s -f3 -i'!@#$'\09Produces default length (6) character password using\0A\09\09\09alphanumeric characters plus !@#$ as special chars\0A\09\09\09e.g. 4idFiV\0A\0A %s -l8 -N -i01\09Produces 8 character password consisting of 1 and 0 only\0A\09\09\09e.g. 10101100\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_info(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fputc(i8 noundef signext 10, i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fputc(i8 noundef signext 10, i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = load i32, ptr @stdout, align 4 %13 = call i32 @fputc(i8 noundef signext 10, i32 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = load ptr, ptr %2, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fputc(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn3jyhnxd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [97 x i8] c"Usage: %s [OPTIONS]\0AGenerate a pseudorandom password. Uses /dev/urandom as pseudorandom source.\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [1662 x i8] c"OPTIONS:\0A -L enable lower case characters in output\0A -U enable upper case characters in output\0A -D enable digit characters in output\0A -P enable punctuation characters in output\0A -N enable no characters. dummy option to override default behavior when\0A no other character set options will be specified in the case that it is\0A desired for the output to be composed of characters specified in the\0A include list only using the -e option\0A\0A -f fast character set mode, used to control which characters\0A will be included in the password produced, use a numerical option\0A from the table below (see: Fast character set mode options). Fast \0A character set mode options will be override by any of the above character\0A mode switches when used together simultaneously\0A\0A -l password length in characters\0A -c password count to be generated\0A -p optional prefix to be prepended to password produced\0A -n no prefix substitution -- when this option is specified\0A the total length will be equal to prefix length, plus length specified\0A via the -l option\0A -h display this help and exit\0A -e excludes any characters in the string given as argument\0A -i specifies additional characters to include in character set\0A\0A -d dump symbol table\0A -C enable colorful text output\0A\0AWithout specifying any options, default parameters will be used\0ADefault parameters are fast character mode 3 and a length of 6, equivalent to\0A%s -f3 -l6. Default behavior can be overridden by specifying the desired options\0A\00", align 1 @.str.2 = private unnamed_addr constant [446 x i8] c"-f Fast character set mode options: \0A 1 only lowercase alphabetic characters will be used, equivalent to -L\0A 2 lowercase and uppercase alphabetic characters, equivalent to -LU\0A 3 lowercase/uppercase and numeric characters, equivalent to -LUD\0A 4 alphanumeric plus special characters. Unless an exclude list\0A is specified, the result will be the use of all printable non-whitespace\0A ASCII characters. equivalent -LUDP\0A\00", align 1 @.str.3 = private unnamed_addr constant [594 x i8] c"Examples:\0A %s -f1 -l42\09Produce a password of length 42 using only\0A\09\09\09lowercase alphabetic characters\0A\09\09\09e.g. crtgjazxwckmkyswgfqplojohplmfsdjamgljacwfh\0A\0A %s -l8 -pfoo-\09Produce password of length 8, with prefix \22foo-\22.\0A\09\09\09e.g. foo-lOdk.\0A\0A %s -l8 -pfoo- -n\09Produces password of length 8 with prefix \22foo-\22.\0A\09\09\09No prefix substitution\0A\09\09\09e.g. foo-n2M2zKP4\0A\0A %s -f3 -i'!@#$'\09Produces default length (6) character password using\0A\09\09\09alphanumeric characters plus !@#$ as special chars\0A\09\09\09e.g. 4idFiV\0A\0A %s -l8 -N -i01\09Produces 8 character password consisting of 1 and 0 only\0A\09\09\09e.g. 10101100\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @show_info(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 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = load i32, ptr @stdout, align 4 %6 = call i32 @fputc(i8 noundef signext 10, i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %7) %9 = load i32, ptr @stdout, align 4 %10 = call i32 @fputc(i8 noundef signext 10, i32 noundef %9) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = load i32, ptr @stdout, align 4 %13 = call i32 @fputc(i8 noundef signext 10, i32 noundef %12) %14 = load ptr, ptr %2, align 8 %15 = load ptr, ptr %2, align 8 %16 = load ptr, ptr %2, align 8 %17 = load ptr, ptr %2, align 8 %18 = load ptr, ptr %2, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) ret void } declare i32 @printf(ptr noundef, ...) #1 declare i32 @fputc(i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1bv9fjeq.c' source_filename = "/tmp/tmp1bv9fjeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @time(ptr noundef null) %3 = trunc i64 %2 to i32 %4 = call i32 @srand(i32 noundef %3) br label %5 5: ; preds = %0, %5 %6 = call i32 (...) @rand() %7 = srem i32 %6, 100 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %5 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1bv9fjeq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i64 @time(ptr noundef null) %3 = trunc i64 %2 to i32 %4 = call i32 @srand(i32 noundef %3) br label %5 5: ; preds = %5, %0 %6 = call i32 (...) @rand() %7 = srem i32 %6, 100 %8 = call i32 @printf(ptr noundef @.str, i32 noundef %7) br label %5 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2yiea5_q.c' source_filename = "/tmp/tmp2yiea5_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" @.str = private unnamed_addr constant [15 x i8] c"/dev/userspace\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"error opening device file\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"No data\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [5 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str.1) br label %16 16: ; preds = %14, %2 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %37, %16 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 1000 br i1 %19, label %20, label %40 20: ; preds = %17 %21 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %22 = call i32 @memset(ptr noundef %21, i32 noundef 0, i32 noundef 4) %23 = load i32, ptr %6, align 4 %24 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %25 = call i32 @read(i32 noundef %23, ptr noundef %24, i32 noundef 4) store i32 %25, ptr %8, align 4 %26 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 4 store i8 0, ptr %26, align 1 %27 = load i32, ptr %8, align 4 %28 = icmp sgt i32 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %20 %30 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %31 = load i32, ptr %8, align 4 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %30, i32 noundef %31) br label %35 33: ; preds = %20 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %35 35: ; preds = %33, %29 %36 = call i32 @sleep(i32 noundef 1) br label %37 37: ; preds = %35 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 br label %17, !llvm.loop !6 40: ; preds = %17 %41 = load i32, ptr %6, align 4 %42 = call i32 @close(i32 noundef %41) %43 = load i32, ptr %3, align 4 ret i32 %43 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2yiea5_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" @.str = private unnamed_addr constant [15 x i8] c"/dev/userspace\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"error opening device file\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"No data\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [5 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr @O_RDONLY, align 4 %11 = call i32 @open(ptr noundef @.str, i32 noundef %10) store i32 %11, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %2 %15 = call i32 @perror(ptr noundef @.str.1) br label %16 16: ; preds = %14, %2 store i32 0, ptr %7, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 1000 br i1 %18, label %.lr.ph, label %41 .lr.ph: ; preds = %16 br label %19 19: ; preds = %.lr.ph, %36 %20 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %21 = call i32 @memset(ptr noundef %20, i32 noundef 0, i32 noundef 4) %22 = load i32, ptr %6, align 4 %23 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %24 = call i32 @read(i32 noundef %22, ptr noundef %23, i32 noundef 4) store i32 %24, ptr %8, align 4 %25 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 4 store i8 0, ptr %25, align 1 %26 = load i32, ptr %8, align 4 %27 = icmp sgt i32 %26, 0 br i1 %27, label %28, label %32 28: ; preds = %19 %29 = getelementptr inbounds [5 x i8], ptr %9, i64 0, i64 0 %30 = load i32, ptr %8, align 4 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %29, i32 noundef %30) br label %34 32: ; preds = %19 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %34 34: ; preds = %32, %28 %35 = call i32 @sleep(i32 noundef 1) br label %36 36: ; preds = %34 %37 = load i32, ptr %7, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp slt i32 %39, 1000 br i1 %40, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %16 %42 = load i32, ptr %6, align 4 %43 = call i32 @close(i32 noundef %42) %44 = load i32, ptr %3, align 4 ret i32 %44 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbe67xxbq.c' source_filename = "/tmp/tmpbe67xxbq.c" target datalayout = "e-m:e-p270: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, i32, i32, i32, i32, i32 } @rpi_sys_time.data = internal global [256 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [30 x i8] c"%04d-%02d-%02d %02d:%02d:%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rpi_sys_time() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.tm, align 4 %3 = call i32 @time(ptr noundef null) store i32 %3, ptr %1, align 4 %4 = call ptr @localtime(ptr noundef %1) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %4, i64 24, i1 false) %5 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = add nsw i32 %6, 1900 %8 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = add nsw i32 %9, 1 %11 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 2 %12 = load i32, ptr %11, align 4 %13 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 3 %14 = load i32, ptr %13, align 4 %15 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 4 %16 = load i32, ptr %15, align 4 %17 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 5 %18 = load i32, ptr %17, align 4 %19 = call i32 @sprintf(ptr noundef @rpi_sys_time.data, ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16, i32 noundef %18) ret ptr @rpi_sys_time.data } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbe67xxbq.c" target datalayout = "e-m:e-p270: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, i32, i32, i32, i32, i32 } @rpi_sys_time.data = internal global [256 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [30 x i8] c"%04d-%02d-%02d %02d:%02d:%02d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @rpi_sys_time() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.tm, align 4 %3 = call i32 @time(ptr noundef null) store i32 %3, ptr %1, align 4 %4 = call ptr @localtime(ptr noundef %1) call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 %4, i64 24, i1 false) %5 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 0 %6 = load i32, ptr %5, align 4 %7 = add nsw i32 %6, 1900 %8 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 1 %9 = load i32, ptr %8, align 4 %10 = add nsw i32 %9, 1 %11 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 2 %12 = load i32, ptr %11, align 4 %13 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 3 %14 = load i32, ptr %13, align 4 %15 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 4 %16 = load i32, ptr %15, align 4 %17 = getelementptr inbounds %struct.tm, ptr %2, i32 0, i32 5 %18 = load i32, ptr %17, align 4 %19 = call i32 @sprintf(ptr noundef @rpi_sys_time.data, ptr noundef @.str, i32 noundef %7, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16, i32 noundef %18) ret ptr @rpi_sys_time.data } declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsoxwyw50.c' source_filename = "/tmp/tmpsoxwyw50.c" target datalayout = "e-m:e-p270: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.user_regs_struct = type { i32 } @.str = private unnamed_addr constant [18 x i8] c"debugger started\0A\00", align 1 @PTRACE_GETREGS = dso_local global i32 0, align 4 @PTRACE_PEEKTEXT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [47 x i8] c"icounter = %u. RIP = 0x%08x. instr = 0x%08x\0A\00", align 1 @PTRACE_SINGLESTEP = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"ptrace\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"the child executed %u instructions\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_debugger(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.user_regs_struct, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %7 = call i32 (ptr, ...) @procmsg(ptr noundef @.str) %8 = call i32 @wait(ptr noundef %3) br label %9 9: ; preds = %35, %1 %10 = load i32, ptr %3, align 4 %11 = call i64 @WIFSTOPPED(i32 noundef %10) %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %37 13: ; preds = %9 %14 = load i32, ptr %4, align 4 %15 = add i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = load i32, ptr @PTRACE_GETREGS, align 4 %17 = load i32, ptr %2, align 4 %18 = call i32 @ptrace(i32 noundef %16, i32 noundef %17, i32 noundef 0, ptr noundef %5) %19 = load i32, ptr @PTRACE_PEEKTEXT, align 4 %20 = load i32, ptr %2, align 4 %21 = getelementptr inbounds %struct.user_regs_struct, ptr %5, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = call i32 @ptrace(i32 noundef %19, i32 noundef %20, i32 noundef %22, ptr noundef null) store i32 %23, ptr %6, align 4 %24 = load i32, ptr %4, align 4 %25 = getelementptr inbounds %struct.user_regs_struct, ptr %5, i32 0, i32 0 %26 = load i32, ptr %25, align 4 %27 = load i32, ptr %6, align 4 %28 = call i32 (ptr, ...) @procmsg(ptr noundef @.str.1, i32 noundef %24, i32 noundef %26, i32 noundef %27) %29 = load i32, ptr @PTRACE_SINGLESTEP, align 4 %30 = load i32, ptr %2, align 4 %31 = call i32 @ptrace(i32 noundef %29, i32 noundef %30, i32 noundef 0, ptr noundef null) %32 = icmp ult i32 %31, 0 br i1 %32, label %33, label %35 33: ; preds = %13 %34 = call i32 @perror(ptr noundef @.str.2) br label %40 35: ; preds = %13 %36 = call i32 @wait(ptr noundef %3) br label %9, !llvm.loop !6 37: ; preds = %9 %38 = load i32, ptr %4, align 4 %39 = call i32 (ptr, ...) @procmsg(ptr noundef @.str.3, i32 noundef %38) br label %40 40: ; preds = %37, %33 ret void } declare i32 @procmsg(ptr noundef, ...) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsoxwyw50.c" target datalayout = "e-m:e-p270: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.user_regs_struct = type { i32 } @.str = private unnamed_addr constant [18 x i8] c"debugger started\0A\00", align 1 @PTRACE_GETREGS = dso_local global i32 0, align 4 @PTRACE_PEEKTEXT = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [47 x i8] c"icounter = %u. RIP = 0x%08x. instr = 0x%08x\0A\00", align 1 @PTRACE_SINGLESTEP = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [7 x i8] c"ptrace\00", align 1 @.str.3 = private unnamed_addr constant [36 x i8] c"the child executed %u instructions\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @run_debugger(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.user_regs_struct, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 %7 = call i32 (ptr, ...) @procmsg(ptr noundef @.str) %8 = call i32 @wait(ptr noundef %3) %9 = load i32, ptr %3, align 4 %10 = call i64 @WIFSTOPPED(i32 noundef %9) %11 = icmp ne i64 %10, 0 br i1 %11, label %.lr.ph, label %39 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %34 %13 = load i32, ptr %4, align 4 %14 = add i32 %13, 1 store i32 %14, ptr %4, align 4 %15 = load i32, ptr @PTRACE_GETREGS, align 4 %16 = load i32, ptr %2, align 4 %17 = call i32 @ptrace(i32 noundef %15, i32 noundef %16, i32 noundef 0, ptr noundef %5) %18 = load i32, ptr @PTRACE_PEEKTEXT, align 4 %19 = load i32, ptr %2, align 4 %20 = getelementptr inbounds %struct.user_regs_struct, ptr %5, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = call i32 @ptrace(i32 noundef %18, i32 noundef %19, i32 noundef %21, ptr noundef null) store i32 %22, ptr %6, align 4 %23 = load i32, ptr %4, align 4 %24 = getelementptr inbounds %struct.user_regs_struct, ptr %5, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = load i32, ptr %6, align 4 %27 = call i32 (ptr, ...) @procmsg(ptr noundef @.str.1, i32 noundef %23, i32 noundef %25, i32 noundef %26) %28 = load i32, ptr @PTRACE_SINGLESTEP, align 4 %29 = load i32, ptr %2, align 4 %30 = call i32 @ptrace(i32 noundef %28, i32 noundef %29, i32 noundef 0, ptr noundef null) %31 = icmp ult i32 %30, 0 br i1 %31, label %32, label %34 32: ; preds = %12 %33 = call i32 @perror(ptr noundef @.str.2) br label %42 34: ; preds = %12 %35 = call i32 @wait(ptr noundef %3) %36 = load i32, ptr %3, align 4 %37 = call i64 @WIFSTOPPED(i32 noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %39 39: ; preds = %._crit_edge, %1 %40 = load i32, ptr %4, align 4 %41 = call i32 (ptr, ...) @procmsg(ptr noundef @.str.3, i32 noundef %40) br label %42 42: ; preds = %39, %32 ret void } declare i32 @procmsg(ptr noundef, ...) #1 declare i32 @wait(ptr noundef) #1 declare i64 @WIFSTOPPED(i32 noundef) #1 declare i32 @ptrace(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsixd0yx5.c' source_filename = "/tmp/tmpsixd0yx5.c" target datalayout = "e-m:e-p270: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/tmpsixd0yx5.c" target datalayout = "e-m:e-p270: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/tmpuasn4g46.c' source_filename = "/tmp/tmpuasn4g46.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Problem Creating file\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"File %s Created\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_txt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @O_RDWR, align 4 %6 = load i32, ptr @O_CREAT, align 4 %7 = or i32 %5, %6 %8 = call i32 @open(ptr noundef %4, i32 noundef %7, i32 noundef 384) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) %13 = call i32 @exit(i32 noundef -1) #3 unreachable 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %14 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpuasn4g46.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Problem Creating file\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"File %s Created\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @open_txt(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr @O_RDWR, align 4 %6 = load i32, ptr @O_CREAT, align 4 %7 = or i32 %5, %6 %8 = call i32 @open(ptr noundef %4, i32 noundef %7, i32 noundef 384) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %1 %12 = call i32 @perror(ptr noundef @.str) %13 = call i32 @exit(i32 noundef -1) #3 unreachable 14: ; preds = %1 %15 = load ptr, ptr %2, align 8 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) br label %17 17: ; preds = %14 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 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" } 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/tmpn1390scp.c' source_filename = "/tmp/tmpn1390scp.c" target datalayout = "e-m:e-p270: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 [65 x i8] c"# Warning: zero diagonal element T[%d,%d] with non-zero counts.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_tram_estimate_transition_matrix(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %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 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %21 = load ptr, ptr %11, align 8 store ptr %21, ptr %20, align 8 store i32 0, ptr %13, align 4 br label %22 22: ; preds = %141, %6 %23 = load i32, ptr %13, align 4 %24 = load i32, ptr %10, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %144 26: ; preds = %22 %27 = load ptr, ptr %20, align 8 %28 = load i32, ptr %13, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds double, ptr %27, i64 %29 store double 0.000000e+00, ptr %30, align 8 store i32 0, ptr %14, align 4 br label %31 31: ; preds = %137, %26 %32 = load i32, ptr %14, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %35, label %140 35: ; preds = %31 %36 = load i32, ptr %13, align 4 %37 = load i32, ptr %10, align 4 %38 = mul nsw i32 %36, %37 %39 = load i32, ptr %14, align 4 %40 = add nsw i32 %38, %39 store i32 %40, ptr %15, align 4 %41 = load i32, ptr %14, align 4 %42 = load i32, ptr %10, align 4 %43 = mul nsw i32 %41, %42 %44 = load i32, ptr %13, align 4 %45 = add nsw i32 %43, %44 store i32 %45, ptr %16, align 4 %46 = load ptr, ptr %12, align 8 %47 = load i32, ptr %15, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds double, ptr %46, i64 %48 store double 0.000000e+00, ptr %49, align 8 %50 = load ptr, ptr %9, align 8 %51 = load i32, ptr %15, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i32, ptr %50, i64 %52 %54 = load i32, ptr %53, align 4 %55 = load ptr, ptr %9, align 8 %56 = load i32, ptr %16, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i32, ptr %55, i64 %57 %59 = load i32, ptr %58, align 4 %60 = add nsw i32 %54, %59 store i32 %60, ptr %17, align 4 %61 = load i32, ptr %17, align 4 %62 = icmp eq i32 0, %61 br i1 %62, label %63, label %64 63: ; preds = %35 br label %137 64: ; preds = %35 %65 = load i32, ptr %13, align 4 %66 = load i32, ptr %14, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %85 68: ; preds = %64 %69 = load i32, ptr %17, align 4 %70 = sitofp i32 %69 to double %71 = fmul double 5.000000e-01, %70 %72 = load ptr, ptr %7, align 8 %73 = load i32, ptr %13, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = fneg double %76 %78 = call i32 @exp(double noundef %77) %79 = sitofp i32 %78 to double %80 = fmul double %71, %79 %81 = load ptr, ptr %12, align 8 %82 = load i32, ptr %15, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds double, ptr %81, i64 %83 store double %80, ptr %84, align 8 br label %125 85: ; preds = %64 %86 = load ptr, ptr %7, align 8 %87 = load i32, ptr %14, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds double, ptr %86, i64 %88 %90 = load double, ptr %89, align 8 %91 = load ptr, ptr %8, align 8 %92 = load i32, ptr %13, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %91, i64 %93 %95 = load double, ptr %94, align 8 %96 = fsub double %90, %95 %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %13, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds double, ptr %97, i64 %99 %101 = load double, ptr %100, align 8 %102 = load ptr, ptr %8, align 8 %103 = load i32, ptr %14, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %102, i64 %104 %106 = load double, ptr %105, align 8 %107 = fsub double %101, %106 %108 = call double @_logsumexp_pair(double noundef %96, double noundef %107) store double %108, ptr %18, align 8 %109 = load i32, ptr %17, align 4 %110 = load ptr, ptr %8, align 8 %111 = load i32, ptr %14, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %110, i64 %112 %114 = load double, ptr %113, align 8 %115 = load double, ptr %18, align 8 %116 = fadd double %114, %115 %117 = fneg double %116 %118 = call i32 @exp(double noundef %117) %119 = mul nsw i32 %109, %118 %120 = sitofp i32 %119 to double %121 = load ptr, ptr %12, align 8 %122 = load i32, ptr %15, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 store double %120, ptr %124, align 8 br label %125 125: ; preds = %85, %68 %126 = load ptr, ptr %12, align 8 %127 = load i32, ptr %15, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds double, ptr %126, i64 %128 %130 = load double, ptr %129, align 8 %131 = load ptr, ptr %20, align 8 %132 = load i32, ptr %13, align 4 %133 = sext i32 %132 to i64 %134 = getelementptr inbounds double, ptr %131, i64 %133 %135 = load double, ptr %134, align 8 %136 = fadd double %135, %130 store double %136, ptr %134, align 8 br label %137 137: ; preds = %125, %63 %138 = load i32, ptr %14, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %14, align 4 br label %31, !llvm.loop !6 140: ; preds = %31 br label %141 141: ; preds = %140 %142 = load i32, ptr %13, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %13, align 4 br label %22, !llvm.loop !8 144: ; preds = %22 store double 0.000000e+00, ptr %19, align 8 store i32 0, ptr %13, align 4 br label %145 145: ; preds = %164, %144 %146 = load i32, ptr %13, align 4 %147 = load i32, ptr %10, align 4 %148 = icmp slt i32 %146, %147 br i1 %148, label %149, label %167 149: ; preds = %145 %150 = load ptr, ptr %20, align 8 %151 = load i32, ptr %13, align 4 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %150, i64 %152 %154 = load double, ptr %153, align 8 %155 = load double, ptr %19, align 8 %156 = fcmp ogt double %154, %155 br i1 %156, label %157, label %163 157: ; preds = %149 %158 = load ptr, ptr %20, align 8 %159 = load i32, ptr %13, align 4 %160 = sext i32 %159 to i64 %161 = getelementptr inbounds double, ptr %158, i64 %160 %162 = load double, ptr %161, align 8 store double %162, ptr %19, align 8 br label %163 163: ; preds = %157, %149 br label %164 164: ; preds = %163 %165 = load i32, ptr %13, align 4 %166 = add nsw i32 %165, 1 store i32 %166, ptr %13, align 4 br label %145, !llvm.loop !9 167: ; preds = %145 %168 = load double, ptr %19, align 8 %169 = fcmp oeq double %168, 0.000000e+00 br i1 %169, label %170, label %171 170: ; preds = %167 store double 1.000000e+00, ptr %19, align 8 br label %171 171: ; preds = %170, %167 store i32 0, ptr %13, align 4 br label %172 172: ; preds = %265, %171 %173 = load i32, ptr %13, align 4 %174 = load i32, ptr %10, align 4 %175 = icmp slt i32 %173, %174 br i1 %175, label %176, label %268 176: ; preds = %172 store i32 0, ptr %14, align 4 br label %177 177: ; preds = %261, %176 %178 = load i32, ptr %14, align 4 %179 = load i32, ptr %10, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %181, label %264 181: ; preds = %177 %182 = load i32, ptr %13, align 4 %183 = load i32, ptr %14, align 4 %184 = icmp eq i32 %182, %183 br i1 %184, label %185, label %240 185: ; preds = %181 %186 = load ptr, ptr %12, align 8 %187 = load i32, ptr %13, align 4 %188 = load i32, ptr %10, align 4 %189 = mul nsw i32 %187, %188 %190 = load i32, ptr %13, align 4 %191 = add nsw i32 %189, %190 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds double, ptr %186, i64 %192 %194 = load double, ptr %193, align 8 %195 = load double, ptr %19, align 8 %196 = fadd double %194, %195 %197 = load ptr, ptr %20, align 8 %198 = load i32, ptr %13, align 4 %199 = sext i32 %198 to i64 %200 = getelementptr inbounds double, ptr %197, i64 %199 %201 = load double, ptr %200, align 8 %202 = fsub double %196, %201 %203 = load double, ptr %19, align 8 %204 = fdiv double %202, %203 %205 = load ptr, ptr %12, align 8 %206 = load i32, ptr %13, align 4 %207 = load i32, ptr %10, align 4 %208 = mul nsw i32 %206, %207 %209 = load i32, ptr %13, align 4 %210 = add nsw i32 %208, %209 %211 = sext i32 %210 to i64 %212 = getelementptr inbounds double, ptr %205, i64 %211 store double %204, ptr %212, align 8 %213 = load ptr, ptr %12, align 8 %214 = load i32, ptr %13, align 4 %215 = load i32, ptr %10, align 4 %216 = mul nsw i32 %214, %215 %217 = load i32, ptr %13, align 4 %218 = add nsw i32 %216, %217 %219 = sext i32 %218 to i64 %220 = getelementptr inbounds double, ptr %213, i64 %219 %221 = load double, ptr %220, align 8 %222 = fcmp oeq double 0.000000e+00, %221 br i1 %222, label %223, label %239 223: ; preds = %185 %224 = load ptr, ptr %9, align 8 %225 = load i32, ptr %13, align 4 %226 = load i32, ptr %10, align 4 %227 = mul nsw i32 %225, %226 %228 = load i32, ptr %13, align 4 %229 = add nsw i32 %227, %228 %230 = sext i32 %229 to i64 %231 = getelementptr inbounds i32, ptr %224, i64 %230 %232 = load i32, ptr %231, align 4 %233 = icmp slt i32 0, %232 br i1 %233, label %234, label %239 234: ; preds = %223 %235 = load i32, ptr @stderr, align 4 %236 = load i32, ptr %13, align 4 %237 = load i32, ptr %13, align 4 %238 = call i32 @fprintf(i32 noundef %235, ptr noundef @.str, i32 noundef %236, i32 noundef %237) br label %239 239: ; preds = %234, %223, %185 br label %260 240: ; preds = %181 %241 = load ptr, ptr %12, align 8 %242 = load i32, ptr %13, align 4 %243 = load i32, ptr %10, align 4 %244 = mul nsw i32 %242, %243 %245 = load i32, ptr %14, align 4 %246 = add nsw i32 %244, %245 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds double, ptr %241, i64 %247 %249 = load double, ptr %248, align 8 %250 = load double, ptr %19, align 8 %251 = fdiv double %249, %250 %252 = load ptr, ptr %12, align 8 %253 = load i32, ptr %13, align 4 %254 = load i32, ptr %10, align 4 %255 = mul nsw i32 %253, %254 %256 = load i32, ptr %14, align 4 %257 = add nsw i32 %255, %256 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds double, ptr %252, i64 %258 store double %251, ptr %259, align 8 br label %260 260: ; preds = %240, %239 br label %261 261: ; preds = %260 %262 = load i32, ptr %14, align 4 %263 = add nsw i32 %262, 1 store i32 %263, ptr %14, align 4 br label %177, !llvm.loop !10 264: ; preds = %177 br label %265 265: ; preds = %264 %266 = load i32, ptr %13, align 4 %267 = add nsw i32 %266, 1 store i32 %267, ptr %13, align 4 br label %172, !llvm.loop !11 268: ; preds = %172 ret void } declare i32 @exp(double noundef) #1 declare double @_logsumexp_pair(double noundef, double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpn1390scp.c" target datalayout = "e-m:e-p270: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 [65 x i8] c"# Warning: zero diagonal element T[%d,%d] with non-zero counts.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @_tram_estimate_transition_matrix(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %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 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store ptr %1, ptr %8, align 8 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %21 = load ptr, ptr %11, align 8 store ptr %21, ptr %20, align 8 store i32 0, ptr %13, align 4 %22 = load i32, ptr %13, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph2, label %148 .lr.ph2: ; preds = %6 br label %25 25: ; preds = %.lr.ph2, %142 %26 = load ptr, ptr %20, align 8 %27 = load i32, ptr %13, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds double, ptr %26, i64 %28 store double 0.000000e+00, ptr %29, align 8 store i32 0, ptr %14, align 4 %30 = load i32, ptr %14, align 4 %31 = load i32, ptr %10, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %.lr.ph, label %141 .lr.ph: ; preds = %25 br label %33 33: ; preds = %.lr.ph, %135 %34 = load i32, ptr %13, align 4 %35 = load i32, ptr %10, align 4 %36 = mul nsw i32 %34, %35 %37 = load i32, ptr %14, align 4 %38 = add nsw i32 %36, %37 store i32 %38, ptr %15, align 4 %39 = load i32, ptr %14, align 4 %40 = load i32, ptr %10, align 4 %41 = mul nsw i32 %39, %40 %42 = load i32, ptr %13, align 4 %43 = add nsw i32 %41, %42 store i32 %43, ptr %16, align 4 %44 = load ptr, ptr %12, align 8 %45 = load i32, ptr %15, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds double, ptr %44, i64 %46 store double 0.000000e+00, ptr %47, align 8 %48 = load ptr, ptr %9, align 8 %49 = load i32, ptr %15, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %9, align 8 %54 = load i32, ptr %16, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load i32, ptr %56, align 4 %58 = add nsw i32 %52, %57 store i32 %58, ptr %17, align 4 %59 = load i32, ptr %17, align 4 %60 = icmp eq i32 0, %59 br i1 %60, label %61, label %62 61: ; preds = %33 br label %135 62: ; preds = %33 %63 = load i32, ptr %13, align 4 %64 = load i32, ptr %14, align 4 %65 = icmp eq i32 %63, %64 br i1 %65, label %66, label %83 66: ; preds = %62 %67 = load i32, ptr %17, align 4 %68 = sitofp i32 %67 to double %69 = fmul double 5.000000e-01, %68 %70 = load ptr, ptr %7, align 8 %71 = load i32, ptr %13, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds double, ptr %70, i64 %72 %74 = load double, ptr %73, align 8 %75 = fneg double %74 %76 = call i32 @exp(double noundef %75) %77 = sitofp i32 %76 to double %78 = fmul double %69, %77 %79 = load ptr, ptr %12, align 8 %80 = load i32, ptr %15, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %79, i64 %81 store double %78, ptr %82, align 8 br label %123 83: ; preds = %62 %84 = load ptr, ptr %7, align 8 %85 = load i32, ptr %14, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds double, ptr %84, i64 %86 %88 = load double, ptr %87, align 8 %89 = load ptr, ptr %8, align 8 %90 = load i32, ptr %13, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %89, i64 %91 %93 = load double, ptr %92, align 8 %94 = fsub double %88, %93 %95 = load ptr, ptr %7, align 8 %96 = load i32, ptr %13, align 4 %97 = sext i32 %96 to i64 %98 = getelementptr inbounds double, ptr %95, i64 %97 %99 = load double, ptr %98, align 8 %100 = load ptr, ptr %8, align 8 %101 = load i32, ptr %14, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds double, ptr %100, i64 %102 %104 = load double, ptr %103, align 8 %105 = fsub double %99, %104 %106 = call double @_logsumexp_pair(double noundef %94, double noundef %105) store double %106, ptr %18, align 8 %107 = load i32, ptr %17, align 4 %108 = load ptr, ptr %8, align 8 %109 = load i32, ptr %14, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 %113 = load double, ptr %18, align 8 %114 = fadd double %112, %113 %115 = fneg double %114 %116 = call i32 @exp(double noundef %115) %117 = mul nsw i32 %107, %116 %118 = sitofp i32 %117 to double %119 = load ptr, ptr %12, align 8 %120 = load i32, ptr %15, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 store double %118, ptr %122, align 8 br label %123 123: ; preds = %83, %66 %124 = load ptr, ptr %12, align 8 %125 = load i32, ptr %15, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 %128 = load double, ptr %127, align 8 %129 = load ptr, ptr %20, align 8 %130 = load i32, ptr %13, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds double, ptr %129, i64 %131 %133 = load double, ptr %132, align 8 %134 = fadd double %133, %128 store double %134, ptr %132, align 8 br label %135 135: ; preds = %123, %61 %136 = load i32, ptr %14, align 4 %137 = add nsw i32 %136, 1 store i32 %137, ptr %14, align 4 %138 = load i32, ptr %14, align 4 %139 = load i32, ptr %10, align 4 %140 = icmp slt i32 %138, %139 br i1 %140, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %135 br label %141 141: ; preds = %._crit_edge, %25 br label %142 142: ; preds = %141 %143 = load i32, ptr %13, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %13, align 4 %145 = load i32, ptr %13, align 4 %146 = load i32, ptr %10, align 4 %147 = icmp slt i32 %145, %146 br i1 %147, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %142 br label %148 148: ; preds = %._crit_edge3, %6 store double 0.000000e+00, ptr %19, align 8 store i32 0, ptr %13, align 4 %149 = load i32, ptr %13, align 4 %150 = load i32, ptr %10, align 4 %151 = icmp slt i32 %149, %150 br i1 %151, label %.lr.ph5, label %173 .lr.ph5: ; preds = %148 br label %152 152: ; preds = %.lr.ph5, %167 %153 = load ptr, ptr %20, align 8 %154 = load i32, ptr %13, align 4 %155 = sext i32 %154 to i64 %156 = getelementptr inbounds double, ptr %153, i64 %155 %157 = load double, ptr %156, align 8 %158 = load double, ptr %19, align 8 %159 = fcmp ogt double %157, %158 br i1 %159, label %160, label %166 160: ; preds = %152 %161 = load ptr, ptr %20, align 8 %162 = load i32, ptr %13, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds double, ptr %161, i64 %163 %165 = load double, ptr %164, align 8 store double %165, ptr %19, align 8 br label %166 166: ; preds = %160, %152 br label %167 167: ; preds = %166 %168 = load i32, ptr %13, align 4 %169 = add nsw i32 %168, 1 store i32 %169, ptr %13, align 4 %170 = load i32, ptr %13, align 4 %171 = load i32, ptr %10, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %152, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %167 br label %173 173: ; preds = %._crit_edge6, %148 %174 = load double, ptr %19, align 8 %175 = fcmp oeq double %174, 0.000000e+00 br i1 %175, label %176, label %177 176: ; preds = %173 store double 1.000000e+00, ptr %19, align 8 br label %177 177: ; preds = %176, %173 store i32 0, ptr %13, align 4 %178 = load i32, ptr %13, align 4 %179 = load i32, ptr %10, align 4 %180 = icmp slt i32 %178, %179 br i1 %180, label %.lr.ph11, label %278 .lr.ph11: ; preds = %177 br label %181 181: ; preds = %.lr.ph11, %272 store i32 0, ptr %14, align 4 %182 = load i32, ptr %14, align 4 %183 = load i32, ptr %10, align 4 %184 = icmp slt i32 %182, %183 br i1 %184, label %.lr.ph8, label %271 .lr.ph8: ; preds = %181 br label %185 185: ; preds = %.lr.ph8, %265 %186 = load i32, ptr %13, align 4 %187 = load i32, ptr %14, align 4 %188 = icmp eq i32 %186, %187 br i1 %188, label %189, label %244 189: ; preds = %185 %190 = load ptr, ptr %12, align 8 %191 = load i32, ptr %13, align 4 %192 = load i32, ptr %10, align 4 %193 = mul nsw i32 %191, %192 %194 = load i32, ptr %13, align 4 %195 = add nsw i32 %193, %194 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds double, ptr %190, i64 %196 %198 = load double, ptr %197, align 8 %199 = load double, ptr %19, align 8 %200 = fadd double %198, %199 %201 = load ptr, ptr %20, align 8 %202 = load i32, ptr %13, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds double, ptr %201, i64 %203 %205 = load double, ptr %204, align 8 %206 = fsub double %200, %205 %207 = load double, ptr %19, align 8 %208 = fdiv double %206, %207 %209 = load ptr, ptr %12, align 8 %210 = load i32, ptr %13, align 4 %211 = load i32, ptr %10, align 4 %212 = mul nsw i32 %210, %211 %213 = load i32, ptr %13, align 4 %214 = add nsw i32 %212, %213 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %209, i64 %215 store double %208, ptr %216, align 8 %217 = load ptr, ptr %12, align 8 %218 = load i32, ptr %13, align 4 %219 = load i32, ptr %10, align 4 %220 = mul nsw i32 %218, %219 %221 = load i32, ptr %13, align 4 %222 = add nsw i32 %220, %221 %223 = sext i32 %222 to i64 %224 = getelementptr inbounds double, ptr %217, i64 %223 %225 = load double, ptr %224, align 8 %226 = fcmp oeq double 0.000000e+00, %225 br i1 %226, label %227, label %243 227: ; preds = %189 %228 = load ptr, ptr %9, align 8 %229 = load i32, ptr %13, align 4 %230 = load i32, ptr %10, align 4 %231 = mul nsw i32 %229, %230 %232 = load i32, ptr %13, align 4 %233 = add nsw i32 %231, %232 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds i32, ptr %228, i64 %234 %236 = load i32, ptr %235, align 4 %237 = icmp slt i32 0, %236 br i1 %237, label %238, label %243 238: ; preds = %227 %239 = load i32, ptr @stderr, align 4 %240 = load i32, ptr %13, align 4 %241 = load i32, ptr %13, align 4 %242 = call i32 @fprintf(i32 noundef %239, ptr noundef @.str, i32 noundef %240, i32 noundef %241) br label %243 243: ; preds = %238, %227, %189 br label %264 244: ; preds = %185 %245 = load ptr, ptr %12, align 8 %246 = load i32, ptr %13, align 4 %247 = load i32, ptr %10, align 4 %248 = mul nsw i32 %246, %247 %249 = load i32, ptr %14, align 4 %250 = add nsw i32 %248, %249 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds double, ptr %245, i64 %251 %253 = load double, ptr %252, align 8 %254 = load double, ptr %19, align 8 %255 = fdiv double %253, %254 %256 = load ptr, ptr %12, align 8 %257 = load i32, ptr %13, align 4 %258 = load i32, ptr %10, align 4 %259 = mul nsw i32 %257, %258 %260 = load i32, ptr %14, align 4 %261 = add nsw i32 %259, %260 %262 = sext i32 %261 to i64 %263 = getelementptr inbounds double, ptr %256, i64 %262 store double %255, ptr %263, align 8 br label %264 264: ; preds = %244, %243 br label %265 265: ; preds = %264 %266 = load i32, ptr %14, align 4 %267 = add nsw i32 %266, 1 store i32 %267, ptr %14, align 4 %268 = load i32, ptr %14, align 4 %269 = load i32, ptr %10, align 4 %270 = icmp slt i32 %268, %269 br i1 %270, label %185, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %265 br label %271 271: ; preds = %._crit_edge9, %181 br label %272 272: ; preds = %271 %273 = load i32, ptr %13, align 4 %274 = add nsw i32 %273, 1 store i32 %274, ptr %13, align 4 %275 = load i32, ptr %13, align 4 %276 = load i32, ptr %10, align 4 %277 = icmp slt i32 %275, %276 br i1 %277, label %181, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %272 br label %278 278: ; preds = %._crit_edge12, %177 ret void } declare i32 @exp(double noundef) #1 declare double @_logsumexp_pair(double noundef, double noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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/tmpgpdo9vex.c' source_filename = "/tmp/tmpgpdo9vex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"### executing cons: %p --> val = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @dc_get_curr_cons() %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dc_get_curr_cons(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgpdo9vex.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"### executing cons: %p --> val = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 (...) @dc_get_curr_cons() %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @dc_get_curr_cons(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6jdik9sb.c' source_filename = "/tmp/tmp6jdik9sb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"</ul>\0A<!--#exec cmd=\22trailer\22 -->\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %5, %0 %3 = call i64 (...) @process_line() %4 = icmp ne i64 %3, 0 br i1 %4, label %5, label %6 5: ; preds = %2 br label %2, !llvm.loop !6 6: ; preds = %2 %7 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i64 @process_line(...) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6jdik9sb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [35 x i8] c"</ul>\0A<!--#exec cmd=\22trailer\22 -->\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %2, %0 %3 = call i64 (...) @process_line() %4 = icmp ne i64 %3, 0 br i1 %4, label %2, label %5, !llvm.loop !6 5: ; preds = %2 %6 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i64 @process_line(...) #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"}