llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmppgi65_x7.c' source_filename = "/tmp/tmppgi65_x7.c" target datalayout = "e-m:e-p270: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/tmppgi65_x7.c" target datalayout = "e-m:e-p270: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/tmpeay2lh72.c' source_filename = "/tmp/tmpeay2lh72.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpeay2lh72.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7fhtfejd.c' source_filename = "/tmp/tmp7fhtfejd.c" target datalayout = "e-m:e-p270: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 } @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [76 x i8] c"Generate initrd address and size file used by the .ins LPAR load mechanism\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Usage: %s [address] [initrd] [output file]\0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"Example: %s 0x02000000 initrd.img initrd.addrsize\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Error getting initrd stats \00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [28 x i8] c"writing initrd.addr (zero) \00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"writing initrd.addr (addr) \00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"writing initrd.addr (size) \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call ptr @basename(ptr noundef %19) store ptr %20, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %21 = load i32, ptr @S_IRUSR, align 4 %22 = load i32, ptr @S_IWUSR, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @S_IRGRP, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @S_IROTH, align 4 %27 = or i32 %25, %26 store i32 %27, ptr %16, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 4 br i1 %29, label %30, label %36 30: ; preds = %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = load ptr, ptr %6, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32) %34 = load ptr, ptr %6, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34) store i32 1, ptr %3, align 4 br label %92 36: ; preds = %2 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 3 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %8, align 8 %47 = call i32 @stat(ptr noundef %46, ptr noundef %10) store i32 %47, ptr %15, align 4 %48 = load i32, ptr %15, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %36 %51 = call i32 @perror(ptr noundef @.str.3) store i32 2, ptr %3, align 4 br label %92 52: ; preds = %36 %53 = load ptr, ptr %7, align 8 %54 = call i32 @strtoul(ptr noundef %53, ptr noundef null, i32 noundef 0) %55 = call i32 @htonl(i32 noundef %54) store i32 %55, ptr %11, align 4 %56 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %57 = load i32, ptr %56, align 4 %58 = call i32 @htonl(i32 noundef %57) store i32 %58, ptr %12, align 4 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr @O_CREAT, align 4 %61 = load i32, ptr @O_RDWR, align 4 %62 = or i32 %60, %61 %63 = load i32, ptr %16, align 4 %64 = call i32 @open(ptr noundef %59, i32 noundef %62, i32 noundef %63) store i32 %64, ptr %14, align 4 %65 = load i32, ptr %14, align 4 %66 = call i32 @write(i32 noundef %65, ptr noundef %13, i32 noundef 4) %67 = icmp eq i32 %66, -1 br i1 %67, label %68, label %70 68: ; preds = %52 %69 = call i32 @perror(ptr noundef @.str.4) store i32 3, ptr %3, align 4 br label %92 70: ; preds = %52 %71 = load i32, ptr %14, align 4 %72 = call i32 @write(i32 noundef %71, ptr noundef %11, i32 noundef 4) %73 = icmp eq i32 %72, -1 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = call i32 @perror(ptr noundef @.str.5) store i32 4, ptr %3, align 4 br label %92 76: ; preds = %70 %77 = load i32, ptr %14, align 4 %78 = call i32 @write(i32 noundef %77, ptr noundef %13, i32 noundef 4) %79 = icmp eq i32 %78, -1 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = call i32 @perror(ptr noundef @.str.4) store i32 5, ptr %3, align 4 br label %92 82: ; preds = %76 %83 = load i32, ptr %14, align 4 %84 = call i32 @write(i32 noundef %83, ptr noundef %12, i32 noundef 4) %85 = icmp eq i32 %84, -1 br i1 %85, label %86, label %88 86: ; preds = %82 %87 = call i32 @perror(ptr noundef @.str.6) store i32 6, ptr %3, align 4 br label %92 88: ; preds = %82 %89 = load i32, ptr %14, align 4 %90 = call i32 @close(i32 noundef %89) %91 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %91, ptr %3, align 4 br label %92 92: ; preds = %88, %86, %80, %74, %68, %50, %30 %93 = load i32, ptr %3, align 4 ret i32 %93 } declare ptr @basename(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7fhtfejd.c" target datalayout = "e-m:e-p270: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 } @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @S_IRGRP = dso_local global i32 0, align 4 @S_IROTH = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [76 x i8] c"Generate initrd address and size file used by the .ins LPAR load mechanism\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Usage: %s [address] [initrd] [output file]\0A\00", align 1 @.str.2 = private unnamed_addr constant [51 x i8] c"Example: %s 0x02000000 initrd.img initrd.addrsize\0A\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Error getting initrd stats \00", align 1 @O_CREAT = dso_local global i32 0, align 4 @O_RDWR = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [28 x i8] c"writing initrd.addr (zero) \00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"writing initrd.addr (addr) \00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c"writing initrd.addr (size) \00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.stat, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 0 %19 = load ptr, ptr %18, align 8 %20 = call ptr @basename(ptr noundef %19) store ptr %20, ptr %6, align 8 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 store ptr null, ptr %9, align 8 store i32 0, ptr %11, align 4 store i32 0, ptr %12, align 4 store i32 0, ptr %13, align 4 %21 = load i32, ptr @S_IRUSR, align 4 %22 = load i32, ptr @S_IWUSR, align 4 %23 = or i32 %21, %22 %24 = load i32, ptr @S_IRGRP, align 4 %25 = or i32 %23, %24 %26 = load i32, ptr @S_IROTH, align 4 %27 = or i32 %25, %26 store i32 %27, ptr %16, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 4 br i1 %29, label %30, label %36 30: ; preds = %2 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str) %32 = load ptr, ptr %6, align 8 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32) %34 = load ptr, ptr %6, align 8 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %34) store i32 1, ptr %3, align 4 br label %92 36: ; preds = %2 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 1 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %7, align 8 %40 = load ptr, ptr %5, align 8 %41 = getelementptr inbounds ptr, ptr %40, i64 2 %42 = load ptr, ptr %41, align 8 store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %5, align 8 %44 = getelementptr inbounds ptr, ptr %43, i64 3 %45 = load ptr, ptr %44, align 8 store ptr %45, ptr %9, align 8 %46 = load ptr, ptr %8, align 8 %47 = call i32 @stat(ptr noundef %46, ptr noundef %10) store i32 %47, ptr %15, align 4 %48 = load i32, ptr %15, align 4 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %36 %51 = call i32 @perror(ptr noundef @.str.3) store i32 2, ptr %3, align 4 br label %92 52: ; preds = %36 %53 = load ptr, ptr %7, align 8 %54 = call i32 @strtoul(ptr noundef %53, ptr noundef null, i32 noundef 0) %55 = call i32 @htonl(i32 noundef %54) store i32 %55, ptr %11, align 4 %56 = getelementptr inbounds %struct.stat, ptr %10, i32 0, i32 0 %57 = load i32, ptr %56, align 4 %58 = call i32 @htonl(i32 noundef %57) store i32 %58, ptr %12, align 4 %59 = load ptr, ptr %9, align 8 %60 = load i32, ptr @O_CREAT, align 4 %61 = load i32, ptr @O_RDWR, align 4 %62 = or i32 %60, %61 %63 = load i32, ptr %16, align 4 %64 = call i32 @open(ptr noundef %59, i32 noundef %62, i32 noundef %63) store i32 %64, ptr %14, align 4 %65 = load i32, ptr %14, align 4 %66 = call i32 @write(i32 noundef %65, ptr noundef %13, i32 noundef 4) %67 = icmp eq i32 %66, -1 br i1 %67, label %68, label %70 68: ; preds = %52 %69 = call i32 @perror(ptr noundef @.str.4) store i32 3, ptr %3, align 4 br label %92 70: ; preds = %52 %71 = load i32, ptr %14, align 4 %72 = call i32 @write(i32 noundef %71, ptr noundef %11, i32 noundef 4) %73 = icmp eq i32 %72, -1 br i1 %73, label %74, label %76 74: ; preds = %70 %75 = call i32 @perror(ptr noundef @.str.5) store i32 4, ptr %3, align 4 br label %92 76: ; preds = %70 %77 = load i32, ptr %14, align 4 %78 = call i32 @write(i32 noundef %77, ptr noundef %13, i32 noundef 4) %79 = icmp eq i32 %78, -1 br i1 %79, label %80, label %82 80: ; preds = %76 %81 = call i32 @perror(ptr noundef @.str.4) store i32 5, ptr %3, align 4 br label %92 82: ; preds = %76 %83 = load i32, ptr %14, align 4 %84 = call i32 @write(i32 noundef %83, ptr noundef %12, i32 noundef 4) %85 = icmp eq i32 %84, -1 br i1 %85, label %86, label %88 86: ; preds = %82 %87 = call i32 @perror(ptr noundef @.str.6) store i32 6, ptr %3, align 4 br label %92 88: ; preds = %82 %89 = load i32, ptr %14, align 4 %90 = call i32 @close(i32 noundef %89) %91 = load i32, ptr @EXIT_SUCCESS, align 4 store i32 %91, ptr %3, align 4 br label %92 92: ; preds = %88, %86, %80, %74, %68, %50, %30 %93 = load i32, ptr %3, align 4 ret i32 %93 } declare ptr @basename(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 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"}
; ModuleID = '/tmp/tmpzctylusn.c' source_filename = "/tmp/tmpzctylusn.c" target datalayout = "e-m:e-p270: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/tmpzctylusn.c" target datalayout = "e-m:e-p270: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/tmppqy_1zo6.c' source_filename = "/tmp/tmppqy_1zo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"13214\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Initialisation(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 @InitialisationAvecService(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @InitialisationAvecService(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/tmppqy_1zo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"13214\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Initialisation(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 @InitialisationAvecService(ptr noundef %3, ptr noundef @.str) ret i32 %4 } declare i32 @InitialisationAvecService(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/tmpmyg3t7k8.c' source_filename = "/tmp/tmpmyg3t7k8.c" target datalayout = "e-m:e-p270: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/tmpmyg3t7k8.c" target datalayout = "e-m:e-p270: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/tmp5q0ter9a.c' source_filename = "/tmp/tmp5q0ter9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"starting...\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"finished...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @do_setjmp() %3 = call i32 (...) @do_longjmp() %4 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @do_setjmp(...) #1 declare i32 @do_longjmp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5q0ter9a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"starting...\0A\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"finished...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @do_setjmp() %3 = call i32 (...) @do_longjmp() %4 = call i32 @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @do_setjmp(...) #1 declare i32 @do_longjmp(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmper67krh0.c' source_filename = "/tmp/tmper67krh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".pc\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"input file (%s) has no '.pc' extension, skip, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn2cn(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = call ptr @rindex(ptr noundef %9, i8 noundef signext 47) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %13, %3 %17 = load ptr, ptr %6, align 8 %18 = call ptr @rindex(ptr noundef %17, i8 noundef signext 92) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %6, align 8 br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %6, align 8 %26 = call ptr @rindex(ptr noundef %25, i8 noundef signext 58) store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 store ptr %31, ptr %6, align 8 br label %32 32: ; preds = %29, %24 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = call i32 @strncpy(ptr noundef %33, ptr noundef %34, i32 noundef %35) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %7, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %5, align 8 %43 = call ptr @rindex(ptr noundef %42, i8 noundef signext 46) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %52 46: ; preds = %32 %47 = load ptr, ptr %8, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str) %49 = icmp eq i64 0, %48 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load ptr, ptr %8, align 8 store i8 0, ptr %51, align 1 store i32 0, ptr %4, align 4 br label %55 52: ; preds = %46, %32 %53 = load ptr, ptr %6, align 8 %54 = call i32 @printf(ptr noundef @.str.1, ptr noundef %53) store i32 1, ptr %4, align 4 br label %55 55: ; preds = %52, %50 %56 = load i32, ptr %4, align 4 ret i32 %56 } declare ptr @rindex(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmper67krh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".pc\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"input file (%s) has no '.pc' extension, skip, \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fn2cn(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %9 = load ptr, ptr %6, align 8 %10 = call ptr @rindex(ptr noundef %9, i8 noundef signext 47) store ptr %10, ptr %8, align 8 %11 = load ptr, ptr %8, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load ptr, ptr %8, align 8 %15 = getelementptr inbounds i8, ptr %14, i64 1 store ptr %15, ptr %6, align 8 br label %16 16: ; preds = %13, %3 %17 = load ptr, ptr %6, align 8 %18 = call ptr @rindex(ptr noundef %17, i8 noundef signext 92) store ptr %18, ptr %8, align 8 %19 = load ptr, ptr %8, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %8, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %6, align 8 br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %6, align 8 %26 = call ptr @rindex(ptr noundef %25, i8 noundef signext 58) store ptr %26, ptr %8, align 8 %27 = load ptr, ptr %8, align 8 %28 = icmp ne ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds i8, ptr %30, i64 1 store ptr %31, ptr %6, align 8 br label %32 32: ; preds = %29, %24 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = call i32 @strncpy(ptr noundef %33, ptr noundef %34, i32 noundef %35) %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %7, align 4 %39 = sub nsw i32 %38, 1 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %37, i64 %40 store i8 0, ptr %41, align 1 %42 = load ptr, ptr %5, align 8 %43 = call ptr @rindex(ptr noundef %42, i8 noundef signext 46) store ptr %43, ptr %8, align 8 %44 = load ptr, ptr %8, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %46, label %52 46: ; preds = %32 %47 = load ptr, ptr %8, align 8 %48 = call i64 @strcmp(ptr noundef %47, ptr noundef @.str) %49 = icmp eq i64 0, %48 br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load ptr, ptr %8, align 8 store i8 0, ptr %51, align 1 store i32 0, ptr %4, align 4 br label %55 52: ; preds = %46, %32 %53 = load ptr, ptr %6, align 8 %54 = call i32 @printf(ptr noundef @.str.1, ptr noundef %53) store i32 1, ptr %4, align 4 br label %55 55: ; preds = %52, %50 %56 = load i32, ptr %4, align 4 ret i32 %56 } declare ptr @rindex(ptr noundef, i8 noundef signext) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr 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"}
; ModuleID = '/tmp/tmpzonbmj4l.c' source_filename = "/tmp/tmpzonbmj4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memclr(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 %6, i1 false) ret ptr %5 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzonbmj4l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memclr(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store i64 %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i64, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 1 %5, i8 0, i64 %6, i1 false) ret ptr %5 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpg1pcv__8.c' source_filename = "/tmp/tmpg1pcv__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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg1pcv__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" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyovvbzgc.c' source_filename = "/tmp/tmpyovvbzgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @draw_pixel(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i8 %2, ptr %9, align 1 store i8 %3, ptr %10, align 1 store i8 %4, ptr %11, align 1 store i32 %5, ptr %12, align 4 %14 = load i32, ptr %7, align 4 %15 = mul nsw i32 720, %14 %16 = add nsw i32 %15, 720 %17 = load i32, ptr %8, align 4 %18 = mul nsw i32 %17, 3 %19 = sub nsw i32 %16, %18 %20 = sub nsw i32 %19, 3 store i32 %20, ptr %13, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %12, align 4 %23 = load i8, ptr %9, align 1 %24 = load i8, ptr %10, align 1 %25 = load i8, ptr %11, align 1 %26 = call i32 @draw_color(i32 noundef %21, i32 noundef %22, i8 noundef signext %23, i8 noundef signext %24, i8 noundef signext %25) ret void } declare i32 @draw_color(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyovvbzgc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @draw_pixel(i32 noundef %0, i32 noundef %1, i8 noundef signext %2, i8 noundef signext %3, i8 noundef signext %4, i32 noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i8, align 1 %10 = alloca i8, align 1 %11 = alloca i8, align 1 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store i32 %0, ptr %7, align 4 store i32 %1, ptr %8, align 4 store i8 %2, ptr %9, align 1 store i8 %3, ptr %10, align 1 store i8 %4, ptr %11, align 1 store i32 %5, ptr %12, align 4 %14 = load i32, ptr %7, align 4 %15 = mul nsw i32 720, %14 %16 = add nsw i32 %15, 720 %17 = load i32, ptr %8, align 4 %18 = mul nsw i32 %17, 3 %19 = sub nsw i32 %16, %18 %20 = sub nsw i32 %19, 3 store i32 %20, ptr %13, align 4 %21 = load i32, ptr %13, align 4 %22 = load i32, ptr %12, align 4 %23 = load i8, ptr %9, align 1 %24 = load i8, ptr %10, align 1 %25 = load i8, ptr %11, align 1 %26 = call i32 @draw_color(i32 noundef %21, i32 noundef %22, i8 noundef signext %23, i8 noundef signext %24, i8 noundef signext %25) ret void } declare i32 @draw_color(i32 noundef, i32 noundef, i8 noundef signext, i8 noundef signext, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp45xno5bl.c' source_filename = "/tmp/tmp45xno5bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @givensRotation_float(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store ptr %0, ptr %4, align 8 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %9 = load float, ptr %6, align 4 %10 = fpext float %9 to double %11 = fcmp oeq double %10, 0.000000e+00 br i1 %11, label %12, label %17 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 store float 1.000000e+00, ptr %14, align 4 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds float, ptr %15, i64 1 store float 0.000000e+00, ptr %16, align 4 br label %62 17: ; preds = %3 %18 = load float, ptr %6, align 4 %19 = call i64 @fabsf(float noundef %18) %20 = load float, ptr %5, align 4 %21 = call i64 @fabsf(float noundef %20) %22 = icmp sgt i64 %19, %21 br i1 %22, label %23, label %42 23: ; preds = %17 %24 = load float, ptr %5, align 4 %25 = fneg float %24 %26 = load float, ptr %6, align 4 %27 = fdiv float %25, %26 store float %27, ptr %7, align 4 %28 = load float, ptr %7, align 4 %29 = load float, ptr %7, align 4 %30 = call float @llvm.fmuladd.f32(float %28, float %29, float 1.000000e+00) %31 = fptosi float %30 to i32 %32 = call float @sqrtf(i32 noundef %31) store float %32, ptr %8, align 4 %33 = load float, ptr %8, align 4 %34 = fdiv float 1.000000e+00, %33 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds float, ptr %35, i64 1 store float %34, ptr %36, align 4 %37 = load float, ptr %7, align 4 %38 = load float, ptr %8, align 4 %39 = fdiv float %37, %38 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds float, ptr %40, i64 0 store float %39, ptr %41, align 4 br label %61 42: ; preds = %17 %43 = load float, ptr %6, align 4 %44 = fneg float %43 %45 = load float, ptr %5, align 4 %46 = fdiv float %44, %45 store float %46, ptr %7, align 4 %47 = load float, ptr %7, align 4 %48 = load float, ptr %7, align 4 %49 = call float @llvm.fmuladd.f32(float %47, float %48, float 1.000000e+00) %50 = fptosi float %49 to i32 %51 = call float @sqrtf(i32 noundef %50) store float %51, ptr %8, align 4 %52 = load float, ptr %8, align 4 %53 = fdiv float 1.000000e+00, %52 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds float, ptr %54, i64 0 store float %53, ptr %55, align 4 %56 = load float, ptr %7, align 4 %57 = load float, ptr %8, align 4 %58 = fdiv float %56, %57 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds float, ptr %59, i64 1 store float %58, ptr %60, align 4 br label %61 61: ; preds = %42, %23 br label %62 62: ; preds = %61, %12 ret void } declare i64 @fabsf(float noundef) #1 declare float @sqrtf(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp45xno5bl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @givensRotation_float(ptr noundef %0, float noundef %1, float noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 store ptr %0, ptr %4, align 8 store float %1, ptr %5, align 4 store float %2, ptr %6, align 4 %9 = load float, ptr %6, align 4 %10 = fpext float %9 to double %11 = fcmp oeq double %10, 0.000000e+00 br i1 %11, label %12, label %17 12: ; preds = %3 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds float, ptr %13, i64 0 store float 1.000000e+00, ptr %14, align 4 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds float, ptr %15, i64 1 store float 0.000000e+00, ptr %16, align 4 br label %62 17: ; preds = %3 %18 = load float, ptr %6, align 4 %19 = call i64 @fabsf(float noundef %18) %20 = load float, ptr %5, align 4 %21 = call i64 @fabsf(float noundef %20) %22 = icmp sgt i64 %19, %21 br i1 %22, label %23, label %42 23: ; preds = %17 %24 = load float, ptr %5, align 4 %25 = fneg float %24 %26 = load float, ptr %6, align 4 %27 = fdiv float %25, %26 store float %27, ptr %7, align 4 %28 = load float, ptr %7, align 4 %29 = load float, ptr %7, align 4 %30 = call float @llvm.fmuladd.f32(float %28, float %29, float 1.000000e+00) %31 = fptosi float %30 to i32 %32 = call float @sqrtf(i32 noundef %31) store float %32, ptr %8, align 4 %33 = load float, ptr %8, align 4 %34 = fdiv float 1.000000e+00, %33 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds float, ptr %35, i64 1 store float %34, ptr %36, align 4 %37 = load float, ptr %7, align 4 %38 = load float, ptr %8, align 4 %39 = fdiv float %37, %38 %40 = load ptr, ptr %4, align 8 %41 = getelementptr inbounds float, ptr %40, i64 0 store float %39, ptr %41, align 4 br label %61 42: ; preds = %17 %43 = load float, ptr %6, align 4 %44 = fneg float %43 %45 = load float, ptr %5, align 4 %46 = fdiv float %44, %45 store float %46, ptr %7, align 4 %47 = load float, ptr %7, align 4 %48 = load float, ptr %7, align 4 %49 = call float @llvm.fmuladd.f32(float %47, float %48, float 1.000000e+00) %50 = fptosi float %49 to i32 %51 = call float @sqrtf(i32 noundef %50) store float %51, ptr %8, align 4 %52 = load float, ptr %8, align 4 %53 = fdiv float 1.000000e+00, %52 %54 = load ptr, ptr %4, align 8 %55 = getelementptr inbounds float, ptr %54, i64 0 store float %53, ptr %55, align 4 %56 = load float, ptr %7, align 4 %57 = load float, ptr %8, align 4 %58 = fdiv float %56, %57 %59 = load ptr, ptr %4, align 8 %60 = getelementptr inbounds float, ptr %59, i64 1 store float %58, ptr %60, align 4 br label %61 61: ; preds = %42, %23 br label %62 62: ; preds = %61, %12 ret void } declare i64 @fabsf(float noundef) #1 declare float @sqrtf(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpev5hxq9q.c' source_filename = "/tmp/tmpev5hxq9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Value of K is %i\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"The first expression is true.\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"The second expression is true.\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Neither expression is true.\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 store i32 20, ptr %6, align 4 store i32 25, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sgt i32 %9, %10 %12 = zext i1 %11 to i64 %13 = select i1 %11, i32 10, i32 5 store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = sub nsw i32 %16, %17 %19 = icmp slt i32 5, %18 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 22: ; preds = %2 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 28: ; preds = %22 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %20 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/tmpev5hxq9q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Value of K is %i\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"The first expression is true.\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"The second expression is true.\00", align 1 @.str.3 = private unnamed_addr constant [28 x i8] c"Neither expression is true.\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 store i32 20, ptr %6, align 4 store i32 25, ptr %7, align 4 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sgt i32 %9, %10 %12 = zext i1 %11 to i64 %13 = select i1 %11, i32 10, i32 5 store i32 %13, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = sub nsw i32 %16, %17 %19 = icmp slt i32 5, %18 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %31 22: ; preds = %2 %23 = load i32, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %30 28: ; preds = %22 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %20 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/tmpby1qqmy5.c' source_filename = "/tmp/tmpby1qqmy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_column_count(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i32 -1, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @sqlite3_column_count(ptr noundef %8) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @sqlite3_column_count(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpby1qqmy5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_column_count(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %7 6: ; preds = %1 store i32 -1, ptr %2, align 4 br label %10 7: ; preds = %1 %8 = load ptr, ptr %3, align 8 %9 = call i32 @sqlite3_column_count(ptr noundef %8) store i32 %9, ptr %2, align 4 br label %10 10: ; preds = %7, %6 %11 = load i32, ptr %2, align 4 ret i32 %11 } declare i32 @sqlite3_column_count(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj_of2p4x.c' source_filename = "/tmp/tmpj_of2p4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"MkDir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wBasMkDir() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @wPopString() store ptr %2, ptr %1, align 8 %3 = call i32 @wNotYet(ptr noundef @.str) %4 = load ptr, ptr %1, align 8 %5 = call i32 @wFree(ptr noundef %4) ret void } declare ptr @wPopString(...) #1 declare i32 @wNotYet(ptr noundef) #1 declare i32 @wFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj_of2p4x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"MkDir\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @wBasMkDir() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @wPopString() store ptr %2, ptr %1, align 8 %3 = call i32 @wNotYet(ptr noundef @.str) %4 = load ptr, ptr %1, align 8 %5 = call i32 @wFree(ptr noundef %4) ret void } declare ptr @wPopString(...) #1 declare i32 @wNotYet(ptr noundef) #1 declare i32 @wFree(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmize61cp.c' source_filename = "/tmp/tmpmize61cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"test_fail\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"this test will fail due to a false assert\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Assertion failed: i == 0\0A\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_fail() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) br label %6 6: ; preds = %2 store i32 1, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6 %9 = load i32, ptr %1, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %20, label %11 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.2) br label %13 13: ; preds = %11 %14 = load i32, ptr @stdout, align 4 %15 = call i32 @fclose(i32 noundef %14) %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fclose(i32 noundef %16) %18 = call i32 @_exit(i32 noundef 1) #3 unreachable 19: ; No predecessors! br label %20 20: ; preds = %19, %8 br label %21 21: ; preds = %20 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fclose(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/tmpmize61cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"test_fail\0A\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [43 x i8] c"this test will fail due to a false assert\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Assertion failed: i == 0\0A\00", align 1 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_fail() #0 { %1 = alloca i32, align 4 br label %2 2: ; preds = %0 %3 = call i32 @printf(ptr noundef @.str) %4 = load i32, ptr @stdout, align 4 %5 = call i32 @fflush(i32 noundef %4) br label %6 6: ; preds = %2 store i32 1, ptr %1, align 4 %7 = call i32 @printf(ptr noundef @.str.1) br label %8 8: ; preds = %6 %9 = load i32, ptr %1, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %20, label %11 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.2) br label %13 13: ; preds = %11 %14 = load i32, ptr @stdout, align 4 %15 = call i32 @fclose(i32 noundef %14) %16 = load i32, ptr @stderr, align 4 %17 = call i32 @fclose(i32 noundef %16) %18 = call i32 @_exit(i32 noundef 1) #3 unreachable 19: ; No predecessors! br label %20 20: ; preds = %19, %8 br label %21 21: ; preds = %20 ret void } declare i32 @printf(ptr noundef) #1 declare i32 @fflush(i32 noundef) #1 declare i32 @fclose(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/tmppjpjark6.c' source_filename = "/tmp/tmppjpjark6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mempcpy13() #0 { %1 = alloca [4 x i8], align 1 call void @llvm.memset.p0.i64(ptr align 1 %1, i8 0, i64 4, i1 false) %2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @mempcpy(ptr noundef %2, i32 noundef 0, i32 noundef 0) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @mempcpy(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppjpjark6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mempcpy13() #0 { %1 = alloca [4 x i8], align 1 call void @llvm.memset.p0.i64(ptr align 1 %1, i8 0, i64 4, i1 false) %2 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @mempcpy(ptr noundef %2, i32 noundef 0, i32 noundef 0) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @mempcpy(ptr noundef, i32 noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmfvliqdm.c' source_filename = "/tmp/tmpmfvliqdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 38, ptr %3, align 4 store i32 1, ptr %2, align 4 br label %4 4: ; preds = %17, %0 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %8, label %20 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = srem i32 %9, %10 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %14) br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16 %18 = load i32, ptr %2, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %2, align 4 br label %4, !llvm.loop !6 20: ; preds = %4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmfvliqdm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c" %d\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 38, ptr %3, align 4 store i32 1, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp sle i32 %4, %5 br i1 %6, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %16 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = srem i32 %8, %9 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %15 12: ; preds = %7 %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %13) br label %15 15: ; preds = %12, %7 br label %16 16: ; preds = %15 %17 = load i32, ptr %2, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %2, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp sle i32 %19, %20 br i1 %21, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgq__dkv_.c' source_filename = "/tmp/tmpgq__dkv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"result_mbm\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mbm_test_cleanup() #0 { %1 = call i32 @remove(ptr noundef @.str) ret void } declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgq__dkv_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"result_mbm\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mbm_test_cleanup() #0 { %1 = call i32 @remove(ptr noundef @.str) ret void } declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp5_hq91di.c' source_filename = "/tmp/tmp5_hq91di.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_map(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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 4, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 br label %15 15: ; preds = %19, %3 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %5, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %33 19: ; preds = %15 %20 = load ptr, ptr %6, align 8 %21 = load ptr, ptr %4, align 8 %22 = load i32, ptr %8, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i32, ptr %21, i64 %23 %25 = load i32, ptr %24, align 4 %26 = call i32 %20(i32 noundef %25) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %8, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i32, ptr %27, i64 %29 store i32 %26, ptr %30, align 4 %31 = load i32, ptr %8, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %8, align 4 br label %15, !llvm.loop !6 33: ; preds = %15 %34 = load ptr, ptr %7, align 8 ret ptr %34 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5_hq91di.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_map(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 ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %9 = load i32, ptr %5, align 4 %10 = sext i32 %9 to i64 %11 = mul i64 4, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %7, align 8 store i32 0, ptr %8, align 4 %15 = load i32, ptr %8, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %35 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %18 %19 = load ptr, ptr %6, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %8, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i32, ptr %20, i64 %22 %24 = load i32, ptr %23, align 4 %25 = call i32 %19(i32 noundef %24) %26 = load ptr, ptr %7, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %26, i64 %28 store i32 %25, ptr %29, align 4 %30 = load i32, ptr %8, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %5, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %35 35: ; preds = %._crit_edge, %3 %36 = load ptr, ptr %7, align 8 ret ptr %36 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp88nbxwrn.c' source_filename = "/tmp/tmp88nbxwrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @padcon_get_quaddobl_hessian_step(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 2, ptr %4, align 4 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 888, ptr noundef %4, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmp88nbxwrn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @padcon_get_quaddobl_hessian_step(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 2, ptr %4, align 4 %6 = load ptr, ptr %5, align 8 %7 = load ptr, ptr %2, align 8 %8 = call i32 @_ada_use_c2phc4c(i32 noundef 888, ptr noundef %4, ptr noundef %6, ptr noundef %7, i32 noundef 0) store i32 %8, ptr %3, align 4 %9 = load i32, ptr %3, align 4 ret i32 %9 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmp9i504co0.c' source_filename = "/tmp/tmp9i504co0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"exp2\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 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 br label %7 7: ; preds = %18, %0 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %21 10: ; preds = %7 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %12 = call double (...) @benchmark() store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call i32 @print_results(double noundef %13) %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %18 18: ; preds = %10 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9i504co0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"# c::cephes::%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"exp2\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 store i32 0, ptr %1, align 4 %4 = call i32 @time(ptr noundef null) %5 = call i32 @srand(i32 noundef %4) %6 = call i32 (...) @print_version() store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %7, 3 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %17 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) %11 = call double (...) @benchmark() store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call i32 @print_results(double noundef %12) %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %17 17: ; preds = %9 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 3 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %0 %23 = call i32 @print_summary(i32 noundef 3, i32 noundef 3) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @print_version(...) #1 declare i32 @printf(ptr noundef, ...) #1 declare double @benchmark(...) #1 declare i32 @print_results(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"}
; ModuleID = '/tmp/tmpmwqgx_y0.c' source_filename = "/tmp/tmpmwqgx_y0.c" target datalayout = "e-m:e-p270: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/tmpmwqgx_y0.c" target datalayout = "e-m:e-p270: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/tmptueg3dmt.c' source_filename = "/tmp/tmptueg3dmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Internal Error: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @echo() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @calloc(i32 noundef 1, i32 noundef 1) store ptr %6, ptr %2, align 8 br label %7 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = load i32, ptr @stderr, align 4 %12 = load i64, ptr @errno, align 8 %13 = call ptr @strerror(i64 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %7 br label %18 18: ; preds = %17 br label %19 19: ; preds = %85, %18 %20 = load i32, ptr %1, align 4 %21 = icmp ne i32 %20, 0 %22 = xor i1 %21, true br i1 %22, label %23, label %86 23: ; preds = %19 %24 = load ptr, ptr %2, align 8 %25 = call i64 @read(i32 noundef 0, ptr noundef %24, i32 noundef 1) store i64 %25, ptr %3, align 8 br label %26 26: ; preds = %23 %27 = load i64, ptr @errno, align 8 %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %36 29: ; preds = %26 %30 = load i32, ptr @stderr, align 4 %31 = load i64, ptr @errno, align 8 %32 = call ptr @strerror(i64 noundef %31) %33 = call i32 @fprintf(i32 noundef %30, ptr noundef @.str, ptr noundef %32) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %26 br label %37 37: ; preds = %36 %38 = load ptr, ptr %2, align 8 %39 = load i64, ptr %3, align 8 %40 = call i64 @sanitize_crlf(ptr noundef %38, i64 noundef %39) store i64 %40, ptr %3, align 8 %41 = load i64, ptr %3, align 8 %42 = icmp sgt i64 %41, 0 br i1 %42, label %43, label %85 43: ; preds = %37 store i32 0, ptr %4, align 4 br label %44 44: ; preds = %81, %43 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = load i64, ptr %3, align 8 %48 = icmp slt i64 %46, %47 br i1 %48, label %49, label %84 49: ; preds = %44 %50 = load ptr, ptr %2, align 8 %51 = load i32, ptr %4, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp ne i32 %55, 4 br i1 %56, label %57, label %79 57: ; preds = %49 %58 = load ptr, ptr %2, align 8 %59 = load i32, ptr %4, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = call i64 @write(i32 noundef 1, ptr noundef %61, i32 noundef 1) store i64 %62, ptr %5, align 8 %63 = load i64, ptr %5, align 8 %64 = icmp sle i64 %63, 0 br i1 %64, label %65, label %78 65: ; preds = %57 br label %66 66: ; preds = %65 %67 = load i64, ptr @errno, align 8 %68 = icmp ne i64 %67, 0 br i1 %68, label %69, label %76 69: ; preds = %66 %70 = load i32, ptr @stderr, align 4 %71 = load i64, ptr @errno, align 8 %72 = call ptr @strerror(i64 noundef %71) %73 = call i32 @fprintf(i32 noundef %70, ptr noundef @.str, ptr noundef %72) %74 = load i32, ptr @EXIT_FAILURE, align 4 %75 = call i32 @exit(i32 noundef %74) #3 unreachable 76: ; preds = %66 br label %77 77: ; preds = %76 br label %78 78: ; preds = %77, %57 br label %80 79: ; preds = %49 store i32 1, ptr %1, align 4 br label %80 80: ; preds = %79, %78 br label %81 81: ; preds = %80 %82 = load i32, ptr %4, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %4, align 4 br label %44, !llvm.loop !6 84: ; preds = %44 br label %85 85: ; preds = %84, %37 br label %19, !llvm.loop !8 86: ; preds = %19 ret void } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @sanitize_crlf(ptr noundef, i64 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptueg3dmt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @errno = dso_local global i64 0, align 8 @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Internal Error: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @echo() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i32, align 4 %5 = alloca i64, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @calloc(i32 noundef 1, i32 noundef 1) store ptr %6, ptr %2, align 8 br label %7 7: ; preds = %0 %8 = load i64, ptr @errno, align 8 %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %17 10: ; preds = %7 %11 = load i32, ptr @stderr, align 4 %12 = load i64, ptr @errno, align 8 %13 = call ptr @strerror(i64 noundef %12) %14 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %13) %15 = load i32, ptr @EXIT_FAILURE, align 4 %16 = call i32 @exit(i32 noundef %15) #3 unreachable 17: ; preds = %7 br label %18 18: ; preds = %17 %19 = load i32, ptr %1, align 4 %20 = icmp ne i32 %19, 0 %21 = xor i1 %20, true br i1 %21, label %.lr.ph2, label %91 .lr.ph2: ; preds = %18 br label %22 22: ; preds = %.lr.ph2, %87 %23 = load ptr, ptr %2, align 8 %24 = call i64 @read(i32 noundef 0, ptr noundef %23, i32 noundef 1) store i64 %24, ptr %3, align 8 br label %25 25: ; preds = %22 %26 = load i64, ptr @errno, align 8 %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %35 28: ; preds = %25 %29 = load i32, ptr @stderr, align 4 %30 = load i64, ptr @errno, align 8 %31 = call ptr @strerror(i64 noundef %30) %32 = call i32 @fprintf(i32 noundef %29, ptr noundef @.str, ptr noundef %31) %33 = load i32, ptr @EXIT_FAILURE, align 4 %34 = call i32 @exit(i32 noundef %33) #3 unreachable 35: ; preds = %25 br label %36 36: ; preds = %35 %37 = load ptr, ptr %2, align 8 %38 = load i64, ptr %3, align 8 %39 = call i64 @sanitize_crlf(ptr noundef %37, i64 noundef %38) store i64 %39, ptr %3, align 8 %40 = load i64, ptr %3, align 8 %41 = icmp sgt i64 %40, 0 br i1 %41, label %42, label %87 42: ; preds = %36 store i32 0, ptr %4, align 4 %43 = load i32, ptr %4, align 4 %44 = sext i32 %43 to i64 %45 = load i64, ptr %3, align 8 %46 = icmp slt i64 %44, %45 br i1 %46, label %.lr.ph, label %86 .lr.ph: ; preds = %42 br label %47 47: ; preds = %.lr.ph, %79 %48 = load ptr, ptr %2, align 8 %49 = load i32, ptr %4, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i8, ptr %48, i64 %50 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp ne i32 %53, 4 br i1 %54, label %55, label %77 55: ; preds = %47 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %4, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %56, i64 %58 %60 = call i64 @write(i32 noundef 1, ptr noundef %59, i32 noundef 1) store i64 %60, ptr %5, align 8 %61 = load i64, ptr %5, align 8 %62 = icmp sle i64 %61, 0 br i1 %62, label %63, label %76 63: ; preds = %55 br label %64 64: ; preds = %63 %65 = load i64, ptr @errno, align 8 %66 = icmp ne i64 %65, 0 br i1 %66, label %67, label %74 67: ; preds = %64 %68 = load i32, ptr @stderr, align 4 %69 = load i64, ptr @errno, align 8 %70 = call ptr @strerror(i64 noundef %69) %71 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str, ptr noundef %70) %72 = load i32, ptr @EXIT_FAILURE, align 4 %73 = call i32 @exit(i32 noundef %72) #3 unreachable 74: ; preds = %64 br label %75 75: ; preds = %74 br label %76 76: ; preds = %75, %55 br label %78 77: ; preds = %47 store i32 1, ptr %1, align 4 br label %78 78: ; preds = %77, %76 br label %79 79: ; preds = %78 %80 = load i32, ptr %4, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %4, align 4 %82 = load i32, ptr %4, align 4 %83 = sext i32 %82 to i64 %84 = load i64, ptr %3, align 8 %85 = icmp slt i64 %83, %84 br i1 %85, label %47, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %79 br label %86 86: ; preds = %._crit_edge, %42 br label %87 87: ; preds = %86, %36 %88 = load i32, ptr %1, align 4 %89 = icmp ne i32 %88, 0 %90 = xor i1 %89, true br i1 %90, label %22, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %87 br label %91 91: ; preds = %._crit_edge3, %18 ret void } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare ptr @strerror(i64 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i64 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @sanitize_crlf(ptr noundef, i64 noundef) #1 declare i64 @write(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr8z0anvv.c' source_filename = "/tmp/tmpr8z0anvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c";/?:@&=+$,{}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_reserved(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr8z0anvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c";/?:@&=+$,{}\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @is_reserved(i8 noundef signext %0) #0 { %2 = alloca i32, align 4 %3 = alloca i8, align 1 store i8 %0, ptr %3, align 1 %4 = load i8, ptr %3, align 1 %5 = call i64 @strchr(ptr noundef @.str, i8 noundef signext %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %8 7: ; preds = %1 store i32 1, ptr %2, align 4 br label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %7 %10 = load i32, ptr %2, align 4 ret i32 %10 } declare i64 @strchr(ptr noundef, i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmbhpe3a5.c' source_filename = "/tmp/tmpmbhpe3a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_max_ps(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_max_ps(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_max_ps(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/tmpmbhpe3a5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_mm_max_ps(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @_mm_max_ps(i32 noundef %5, i32 noundef %6) ret i32 %7 } declare i32 @_mm_max_ps(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/tmpxexldiye.c' source_filename = "/tmp/tmpxexldiye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"JOIN %s\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @irc_join(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sck_sendf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @sck_sendf(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/tmpxexldiye.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"JOIN %s\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @irc_join(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = load ptr, ptr %4, align 8 %7 = call i32 @sck_sendf(i32 noundef %5, ptr noundef @.str, ptr noundef %6) ret i32 %7 } declare i32 @sck_sendf(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/tmpmjv0suhd.c' source_filename = "/tmp/tmpmjv0suhd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"new thread: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thr_fun(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printids(ptr noundef @.str) ret ptr null } declare i32 @printids(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmjv0suhd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"new thread: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thr_fun(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @printids(ptr noundef @.str) ret ptr null } declare i32 @printids(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps4xqcs1q.c' source_filename = "/tmp/tmps4xqcs1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreateMat(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %4, align 8 store i32 0, ptr %3, align 4 br label %10 10: ; preds = %24, %1 %11 = load i32, ptr %3, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %27 14: ; preds = %10 %15 = load i32, ptr %2, align 4 %16 = sext i32 %15 to i64 %17 = mul i64 %16, 4 %18 = trunc i64 %17 to i32 %19 = call ptr @malloc(i32 noundef %18) %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 store ptr %19, ptr %23, align 8 br label %24 24: ; preds = %14 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %3, align 4 br label %10, !llvm.loop !6 27: ; preds = %10 %28 = load ptr, ptr %4, align 8 ret ptr %28 } 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/tmps4xqcs1q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CreateMat(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = sext i32 %5 to i64 %7 = mul i64 %6, 8 %8 = trunc i64 %7 to i32 %9 = call ptr @malloc(i32 noundef %8) store ptr %9, ptr %4, align 8 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %23 %14 = load i32, ptr %2, align 4 %15 = sext i32 %14 to i64 %16 = mul i64 %15, 4 %17 = trunc i64 %16 to i32 %18 = call ptr @malloc(i32 noundef %17) %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %3, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 store ptr %18, ptr %22, align 8 br label %23 23: ; preds = %13 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %1 %30 = load ptr, ptr %4, align 8 ret ptr %30 } 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/tmp6f9r31i5.c' source_filename = "/tmp/tmp6f9r31i5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 br label %10 10: ; preds = %67, %3 %11 = load i32, ptr %7, align 4 %12 = icmp sle i32 %11, 6 br i1 %12, label %13, label %70 13: ; preds = %10 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %14, 1 %16 = srem i32 %15, 2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %66 18: ; preds = %13 store i32 1, ptr %9, align 4 br label %19 19: ; preds = %42, %18 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %23, label %45 23: ; preds = %19 %24 = call i32 @hash(i32 noundef 1) %25 = load i32, ptr %7, align 4 %26 = call i32 @hash(i32 noundef %25) %27 = load i32, ptr %7, align 4 %28 = sub nsw i32 %27, 1 %29 = sdiv i32 %28, 2 %30 = call i32 @hash(i32 noundef %29) %31 = load i32, ptr %9, align 4 %32 = call i32 @hash(i32 noundef %31) %33 = call i32 @hash(i32 noundef 2) %34 = load i32, ptr %7, align 4 %35 = call i32 @hash(i32 noundef %34) %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 1 %38 = sdiv i32 %37, 2 %39 = call i32 @hash(i32 noundef %38) %40 = load i32, ptr %9, align 4 %41 = call i32 @hash(i32 noundef %40) br label %42 42: ; preds = %23 %43 = load i32, ptr %9, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %9, align 4 br label %19, !llvm.loop !6 45: ; preds = %19 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %9, align 4 br label %48 48: ; preds = %62, %45 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %52, label %65 52: ; preds = %48 %53 = call i32 @hash(i32 noundef 1) %54 = load i32, ptr %7, align 4 %55 = call i32 @hash(i32 noundef %54) %56 = load i32, ptr %7, align 4 %57 = sub nsw i32 %56, 1 %58 = sdiv i32 %57, 2 %59 = call i32 @hash(i32 noundef %58) %60 = load i32, ptr %9, align 4 %61 = call i32 @hash(i32 noundef %60) br label %62 62: ; preds = %52 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %9, align 4 br label %48, !llvm.loop !8 65: ; preds = %48 br label %66 66: ; preds = %65, %13 br label %67 67: ; preds = %66 %68 = load i32, ptr %7, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %7, align 4 br label %10, !llvm.loop !9 70: ; preds = %10 store i32 7, ptr %7, align 4 br label %71 71: ; preds = %100, %70 %72 = load i32, ptr %7, align 4 %73 = load i32, ptr %4, align 4 %74 = icmp sle i32 %72, %73 br i1 %74, label %75, label %103 75: ; preds = %71 %76 = load i32, ptr %7, align 4 %77 = add nsw i32 %76, 1 %78 = srem i32 %77, 2 %79 = icmp eq i32 %78, 0 br i1 %79, label %80, label %99 80: ; preds = %75 store i32 1, ptr %9, align 4 br label %81 81: ; preds = %95, %80 %82 = load i32, ptr %9, align 4 %83 = load i32, ptr %6, align 4 %84 = icmp sle i32 %82, %83 br i1 %84, label %85, label %98 85: ; preds = %81 %86 = call i32 @hash(i32 noundef 1) %87 = load i32, ptr %7, align 4 %88 = call i32 @hash(i32 noundef %87) %89 = load i32, ptr %7, align 4 %90 = sub nsw i32 %89, 1 %91 = sdiv i32 %90, 2 %92 = call i32 @hash(i32 noundef %91) %93 = load i32, ptr %9, align 4 %94 = call i32 @hash(i32 noundef %93) br label %95 95: ; preds = %85 %96 = load i32, ptr %9, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %9, align 4 br label %81, !llvm.loop !10 98: ; preds = %81 br label %99 99: ; preds = %98, %75 br label %100 100: ; preds = %99 %101 = load i32, ptr %7, align 4 %102 = add nsw i32 %101, 1 store i32 %102, ptr %7, align 4 br label %71, !llvm.loop !11 103: ; preds = %71 ret void } declare i32 @hash(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/tmp6f9r31i5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 store i32 1, ptr %7, align 4 %10 = load i32, ptr %7, align 4 %11 = icmp sle i32 %10, 6 br i1 %11, label %.lr.ph5, label %75 .lr.ph5: ; preds = %3 br label %12 12: ; preds = %.lr.ph5, %70 %13 = load i32, ptr %7, align 4 %14 = add nsw i32 %13, 1 %15 = srem i32 %14, 2 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %69 17: ; preds = %12 store i32 1, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load i32, ptr %7, align 4 %20 = icmp sle i32 %18, %19 br i1 %20, label %.lr.ph, label %46 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %40 %22 = call i32 @hash(i32 noundef 1) %23 = load i32, ptr %7, align 4 %24 = call i32 @hash(i32 noundef %23) %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 %27 = sdiv i32 %26, 2 %28 = call i32 @hash(i32 noundef %27) %29 = load i32, ptr %9, align 4 %30 = call i32 @hash(i32 noundef %29) %31 = call i32 @hash(i32 noundef 2) %32 = load i32, ptr %7, align 4 %33 = call i32 @hash(i32 noundef %32) %34 = load i32, ptr %7, align 4 %35 = sub nsw i32 %34, 1 %36 = sdiv i32 %35, 2 %37 = call i32 @hash(i32 noundef %36) %38 = load i32, ptr %9, align 4 %39 = call i32 @hash(i32 noundef %38) br label %40 40: ; preds = %21 %41 = load i32, ptr %9, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %9, align 4 %43 = load i32, ptr %9, align 4 %44 = load i32, ptr %7, align 4 %45 = icmp sle i32 %43, %44 br i1 %45, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %46 46: ; preds = %._crit_edge, %17 %47 = load i32, ptr %7, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %9, align 4 %49 = load i32, ptr %9, align 4 %50 = load i32, ptr %6, align 4 %51 = icmp sle i32 %49, %50 br i1 %51, label %.lr.ph2, label %68 .lr.ph2: ; preds = %46 br label %52 52: ; preds = %.lr.ph2, %62 %53 = call i32 @hash(i32 noundef 1) %54 = load i32, ptr %7, align 4 %55 = call i32 @hash(i32 noundef %54) %56 = load i32, ptr %7, align 4 %57 = sub nsw i32 %56, 1 %58 = sdiv i32 %57, 2 %59 = call i32 @hash(i32 noundef %58) %60 = load i32, ptr %9, align 4 %61 = call i32 @hash(i32 noundef %60) br label %62 62: ; preds = %52 %63 = load i32, ptr %9, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %9, align 4 %65 = load i32, ptr %9, align 4 %66 = load i32, ptr %6, align 4 %67 = icmp sle i32 %65, %66 br i1 %67, label %52, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %46 br label %69 69: ; preds = %68, %12 br label %70 70: ; preds = %69 %71 = load i32, ptr %7, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %7, align 4 %73 = load i32, ptr %7, align 4 %74 = icmp sle i32 %73, 6 br i1 %74, label %12, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %70 br label %75 75: ; preds = %._crit_edge6, %3 store i32 7, ptr %7, align 4 %76 = load i32, ptr %7, align 4 %77 = load i32, ptr %4, align 4 %78 = icmp sle i32 %76, %77 br i1 %78, label %.lr.ph11, label %112 .lr.ph11: ; preds = %75 br label %79 79: ; preds = %.lr.ph11, %106 %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 %82 = srem i32 %81, 2 %83 = icmp eq i32 %82, 0 br i1 %83, label %84, label %105 84: ; preds = %79 store i32 1, ptr %9, align 4 %85 = load i32, ptr %9, align 4 %86 = load i32, ptr %6, align 4 %87 = icmp sle i32 %85, %86 br i1 %87, label %.lr.ph8, label %104 .lr.ph8: ; preds = %84 br label %88 88: ; preds = %.lr.ph8, %98 %89 = call i32 @hash(i32 noundef 1) %90 = load i32, ptr %7, align 4 %91 = call i32 @hash(i32 noundef %90) %92 = load i32, ptr %7, align 4 %93 = sub nsw i32 %92, 1 %94 = sdiv i32 %93, 2 %95 = call i32 @hash(i32 noundef %94) %96 = load i32, ptr %9, align 4 %97 = call i32 @hash(i32 noundef %96) br label %98 98: ; preds = %88 %99 = load i32, ptr %9, align 4 %100 = add nsw i32 %99, 1 store i32 %100, ptr %9, align 4 %101 = load i32, ptr %9, align 4 %102 = load i32, ptr %6, align 4 %103 = icmp sle i32 %101, %102 br i1 %103, label %88, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %98 br label %104 104: ; preds = %._crit_edge9, %84 br label %105 105: ; preds = %104, %79 br label %106 106: ; preds = %105 %107 = load i32, ptr %7, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %7, align 4 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %4, align 4 %111 = icmp sle i32 %109, %110 br i1 %111, label %79, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %106 br label %112 112: ; preds = %._crit_edge12, %75 ret void } declare i32 @hash(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/tmppzxm5cxz.c' source_filename = "/tmp/tmppzxm5cxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef null) ret i32 0 } declare i32 @fprintf(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/tmppzxm5cxz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdout = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = load i32, ptr @stdout, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str, ptr noundef null) ret i32 0 } declare i32 @fprintf(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/tmp6l7sxuqi.c' source_filename = "/tmp/tmp6l7sxuqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = call double (...) @tic() store double %7, ptr %2, align 8 store i32 0, ptr %6, align 4 br label %8 8: ; preds = %25, %0 %9 = load i32, ptr %6, align 4 %10 = icmp slt i32 %9, 1000000 br i1 %10, label %11, label %28 11: ; preds = %8 %12 = call double (...) @rand_double() %13 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %12, double -5.000000e+02) store double %13, ptr %3, align 8 %14 = call double (...) @rand_double() %15 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %14, double -5.000000e+02) store double %15, ptr %4, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = call double @pdiff(double noundef %16, double noundef %17) store double %18, ptr %5, align 8 %19 = load double, ptr %5, align 8 %20 = load double, ptr %5, align 8 %21 = fcmp une double %19, %20 br i1 %21, label %22, label %24 22: ; preds = %11 %23 = call i32 @printf(ptr noundef @.str) br label %28 24: ; preds = %11 br label %25 25: ; preds = %24 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 br label %8, !llvm.loop !6 28: ; preds = %22, %8 %29 = call double (...) @tic() %30 = load double, ptr %2, align 8 %31 = fsub double %29, %30 store double %31, ptr %1, align 8 %32 = load double, ptr %5, align 8 %33 = load double, ptr %5, align 8 %34 = fcmp une double %32, %33 br i1 %34, label %35, label %37 35: ; preds = %28 %36 = call i32 @printf(ptr noundef @.str) br label %37 37: ; preds = %35, %28 %38 = load double, ptr %1, align 8 ret double %38 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @pdiff(double noundef, double noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6l7sxuqi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = call double (...) @tic() store double %7, ptr %2, align 8 store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %24 %11 = call double (...) @rand_double() %12 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %11, double -5.000000e+02) store double %12, ptr %3, align 8 %13 = call double (...) @rand_double() %14 = call double @llvm.fmuladd.f64(double 1.000000e+03, double %13, double -5.000000e+02) store double %14, ptr %4, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %4, align 8 %17 = call double @pdiff(double noundef %15, double noundef %16) store double %17, ptr %5, align 8 %18 = load double, ptr %5, align 8 %19 = load double, ptr %5, align 8 %20 = fcmp une double %18, %19 br i1 %20, label %21, label %23 21: ; preds = %10 %22 = call i32 @printf(ptr noundef @.str) br label %29 23: ; preds = %10 br label %24 24: ; preds = %23 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %6, align 4 %28 = icmp slt i32 %27, 1000000 br i1 %28, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %24 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %29 29: ; preds = %.loopexit, %21 %30 = call double (...) @tic() %31 = load double, ptr %2, align 8 %32 = fsub double %30, %31 store double %32, ptr %1, align 8 %33 = load double, ptr %5, align 8 %34 = load double, ptr %5, align 8 %35 = fcmp une double %33, %34 br i1 %35, label %36, label %38 36: ; preds = %29 %37 = call i32 @printf(ptr noundef @.str) br label %38 38: ; preds = %36, %29 %39 = load double, ptr %1, align 8 ret double %39 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare double @pdiff(double noundef, double noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpodbvfppa.c' source_filename = "/tmp/tmpodbvfppa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 (...) @line_editor() ret void } declare i32 @line_editor(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpodbvfppa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @main() #0 { %1 = call i32 (...) @line_editor() ret void } declare i32 @line_editor(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0ngko6dr.c' source_filename = "/tmp/tmp0ngko6dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DWRITE_ASCFILE_C_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %8, align 8 %15 = load double, ptr %14, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %10, align 8 %19 = call i32 @dwrite_ascfile(ptr noundef %11, double noundef %13, double noundef %15, i32 noundef %17, ptr noundef %18) ret void } declare i32 @dwrite_ascfile(ptr noundef, double noundef, double 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/tmp0ngko6dr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DWRITE_ASCFILE_C_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load ptr, ptr %6, align 8 %12 = load ptr, ptr %7, align 8 %13 = load double, ptr %12, align 8 %14 = load ptr, ptr %8, align 8 %15 = load double, ptr %14, align 8 %16 = load ptr, ptr %9, align 8 %17 = load i32, ptr %16, align 4 %18 = load ptr, ptr %10, align 8 %19 = call i32 @dwrite_ascfile(ptr noundef %11, double noundef %13, double noundef %15, i32 noundef %17, ptr noundef %18) ret void } declare i32 @dwrite_ascfile(ptr noundef, double noundef, double 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/tmpple68q_w.c' source_filename = "/tmp/tmpple68q_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randInt(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 store i32 %9, ptr %5, align 4 %10 = call i32 (...) @rand() %11 = load i32, ptr %5, align 4 %12 = srem i32 %10, %11 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %12, %13 ret i32 %14 } 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/tmpple68q_w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @randInt(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = sub nsw i32 %6, %7 %9 = add nsw i32 %8, 1 store i32 %9, ptr %5, align 4 %10 = call i32 (...) @rand() %11 = load i32, ptr %5, align 4 %12 = srem i32 %10, %11 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %12, %13 ret i32 %14 } 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/tmpu7wdz6el.c' source_filename = "/tmp/tmpu7wdz6el.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @puts(ptr noundef @.str) %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @puts(ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @calc(i32 noundef %17) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @myprint(i32 noundef %19) %21 = load i32, ptr %7, align 4 ret i32 %21 } declare i32 @puts(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @calc(i32 noundef) #1 declare i32 @myprint(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/tmpu7wdz6el.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"hello world\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 @puts(ptr noundef @.str) %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @puts(ptr noundef %11) %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) store i32 %16, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = call i32 @calc(i32 noundef %17) store i32 %18, ptr %7, align 4 %19 = load i32, ptr %7, align 4 %20 = call i32 @myprint(i32 noundef %19) %21 = load i32, ptr %7, align 4 ret i32 %21 } declare i32 @puts(ptr noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @calc(i32 noundef) #1 declare i32 @myprint(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/tmpfpzo8ybc.c' source_filename = "/tmp/tmpfpzo8ybc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bad arguments in sphbes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sphbes(i32 noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 store i32 %0, ptr %7, align 4 store float %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %6 %22 = load float, ptr %8, align 4 %23 = fpext float %22 to double %24 = fcmp ole double %23, 0.000000e+00 br i1 %24, label %25, label %26 25: ; preds = %21, %6 call void @nrerror(ptr noundef @.str) br label %26 26: ; preds = %25, %21 %27 = load i32, ptr %7, align 4 %28 = sitofp i32 %27 to double %29 = fadd double %28, 5.000000e-01 %30 = fptrunc double %29 to float store float %30, ptr %14, align 4 %31 = load float, ptr %8, align 4 %32 = load float, ptr %14, align 4 call void @bessjy(float noundef %31, float noundef %32, ptr noundef %15, ptr noundef %17, ptr noundef %16, ptr noundef %18) %33 = load float, ptr %8, align 4 %34 = call double @sqrt(float noundef %33) %35 = fdiv double 0x3FF40D9315F1D9CD, %34 %36 = fptrunc double %35 to float store float %36, ptr %13, align 4 %37 = load float, ptr %13, align 4 %38 = load float, ptr %15, align 4 %39 = fmul float %37, %38 %40 = load ptr, ptr %9, align 8 store float %39, ptr %40, align 4 %41 = load float, ptr %13, align 4 %42 = load float, ptr %17, align 4 %43 = fmul float %41, %42 %44 = load ptr, ptr %10, align 8 store float %43, ptr %44, align 4 %45 = load float, ptr %13, align 4 %46 = load float, ptr %16, align 4 %47 = fmul float %45, %46 %48 = fpext float %47 to double %49 = load ptr, ptr %9, align 8 %50 = load float, ptr %49, align 4 %51 = fpext float %50 to double %52 = load float, ptr %8, align 4 %53 = fpext float %52 to double %54 = fmul double 2.000000e+00, %53 %55 = fdiv double %51, %54 %56 = fsub double %48, %55 %57 = fptrunc double %56 to float %58 = load ptr, ptr %11, align 8 store float %57, ptr %58, align 4 %59 = load float, ptr %13, align 4 %60 = load float, ptr %18, align 4 %61 = fmul float %59, %60 %62 = fpext float %61 to double %63 = load ptr, ptr %10, align 8 %64 = load float, ptr %63, align 4 %65 = fpext float %64 to double %66 = load float, ptr %8, align 4 %67 = fpext float %66 to double %68 = fmul double 2.000000e+00, %67 %69 = fdiv double %65, %68 %70 = fsub double %62, %69 %71 = fptrunc double %70 to float %72 = load ptr, ptr %12, align 8 store float %71, ptr %72, align 4 ret void } declare void @nrerror(ptr noundef) #1 declare void @bessjy(float noundef, float noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @sqrt(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/tmpfpzo8ybc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"bad arguments in sphbes\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sphbes(i32 noundef %0, float noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca i32, align 4 %8 = alloca float, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca float, align 4 %14 = alloca float, align 4 %15 = alloca float, align 4 %16 = alloca float, align 4 %17 = alloca float, align 4 %18 = alloca float, align 4 store i32 %0, ptr %7, align 4 store float %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store ptr %3, ptr %10, align 8 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %19 = load i32, ptr %7, align 4 %20 = icmp slt i32 %19, 0 br i1 %20, label %25, label %21 21: ; preds = %6 %22 = load float, ptr %8, align 4 %23 = fpext float %22 to double %24 = fcmp ole double %23, 0.000000e+00 br i1 %24, label %25, label %26 25: ; preds = %21, %6 call void @nrerror(ptr noundef @.str) br label %26 26: ; preds = %25, %21 %27 = load i32, ptr %7, align 4 %28 = sitofp i32 %27 to double %29 = fadd double %28, 5.000000e-01 %30 = fptrunc double %29 to float store float %30, ptr %14, align 4 %31 = load float, ptr %8, align 4 %32 = load float, ptr %14, align 4 call void @bessjy(float noundef %31, float noundef %32, ptr noundef %15, ptr noundef %17, ptr noundef %16, ptr noundef %18) %33 = load float, ptr %8, align 4 %34 = call double @sqrt(float noundef %33) %35 = fdiv double 0x3FF40D9315F1D9CD, %34 %36 = fptrunc double %35 to float store float %36, ptr %13, align 4 %37 = load float, ptr %13, align 4 %38 = load float, ptr %15, align 4 %39 = fmul float %37, %38 %40 = load ptr, ptr %9, align 8 store float %39, ptr %40, align 4 %41 = load float, ptr %13, align 4 %42 = load float, ptr %17, align 4 %43 = fmul float %41, %42 %44 = load ptr, ptr %10, align 8 store float %43, ptr %44, align 4 %45 = load float, ptr %13, align 4 %46 = load float, ptr %16, align 4 %47 = fmul float %45, %46 %48 = fpext float %47 to double %49 = load ptr, ptr %9, align 8 %50 = load float, ptr %49, align 4 %51 = fpext float %50 to double %52 = load float, ptr %8, align 4 %53 = fpext float %52 to double %54 = fmul double 2.000000e+00, %53 %55 = fdiv double %51, %54 %56 = fsub double %48, %55 %57 = fptrunc double %56 to float %58 = load ptr, ptr %11, align 8 store float %57, ptr %58, align 4 %59 = load float, ptr %13, align 4 %60 = load float, ptr %18, align 4 %61 = fmul float %59, %60 %62 = fpext float %61 to double %63 = load ptr, ptr %10, align 8 %64 = load float, ptr %63, align 4 %65 = fpext float %64 to double %66 = load float, ptr %8, align 4 %67 = fpext float %66 to double %68 = fmul double 2.000000e+00, %67 %69 = fdiv double %65, %68 %70 = fsub double %62, %69 %71 = fptrunc double %70 to float %72 = load ptr, ptr %12, align 8 store float %71, ptr %72, align 4 ret void } declare void @nrerror(ptr noundef) #1 declare void @bessjy(float noundef, float noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare double @sqrt(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/tmps40xd56w.c' source_filename = "/tmp/tmps40xd56w.c" target datalayout = "e-m:e-p270: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/tmps40xd56w.c" target datalayout = "e-m:e-p270: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/tmplp69cbxf.c' source_filename = "/tmp/tmplp69cbxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CPowerOff() #0 { %1 = call i32 @WriteToSMBus(i32 noundef 16, i32 noundef 2, i32 noundef 1, i32 noundef 128) br label %2 2: ; preds = %0, %2 br label %2 } declare i32 @WriteToSMBus(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplp69cbxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @I2CPowerOff() #0 { %1 = call i32 @WriteToSMBus(i32 noundef 16, i32 noundef 2, i32 noundef 1, i32 noundef 128) br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @WriteToSMBus(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl2hfqsbn.c' source_filename = "/tmp/tmpl2hfqsbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CopiaIndici(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call float @LetturaElemento(ptr noundef %8, i32 noundef %9, i32 noundef %10) store float %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = load float, ptr %7, align 4 %16 = call i32 @ScrivereElemento(ptr noundef %12, i32 noundef %13, i32 noundef %14, float noundef %15) %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = call float @LetturaElemento(ptr noundef %19, i32 noundef %20, i32 noundef %21) store float %22, ptr %7, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = load float, ptr %7, align 4 %27 = call i32 @ScrivereElemento(ptr noundef %23, i32 noundef %24, i32 noundef %25, float noundef %26) ret void } declare float @LetturaElemento(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ScrivereElemento(ptr noundef, i32 noundef, i32 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/tmpl2hfqsbn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CopiaIndici(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca float, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store float 0.000000e+00, ptr %7, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %6, align 4 %11 = call float @LetturaElemento(ptr noundef %8, i32 noundef %9, i32 noundef %10) store float %11, ptr %7, align 4 %12 = load ptr, ptr %4, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %6, align 4 %15 = load float, ptr %7, align 4 %16 = call i32 @ScrivereElemento(ptr noundef %12, i32 noundef %13, i32 noundef %14, float noundef %15) %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load ptr, ptr %3, align 8 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %6, align 4 %22 = call float @LetturaElemento(ptr noundef %19, i32 noundef %20, i32 noundef %21) store float %22, ptr %7, align 4 %23 = load ptr, ptr %4, align 8 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = load float, ptr %7, align 4 %27 = call i32 @ScrivereElemento(ptr noundef %23, i32 noundef %24, i32 noundef %25, float noundef %26) ret void } declare float @LetturaElemento(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ScrivereElemento(ptr noundef, i32 noundef, i32 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/tmpq9bfl8h1.c' source_filename = "/tmp/tmpq9bfl8h1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_MODELVIEW = dso_local global i32 0, align 4 @GL_PROJECTION = 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/tmpq9bfl8h1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_MODELVIEW = dso_local global i32 0, align 4 @GL_PROJECTION = 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/tmp1o5p3894.c' source_filename = "/tmp/tmp1o5p3894.c" target datalayout = "e-m:e-p270: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/tmp1o5p3894.c" target datalayout = "e-m:e-p270: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/tmpsh0u7ddj.c' source_filename = "/tmp/tmpsh0u7ddj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ok(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @pass(ptr noundef %8) br label %13 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @fail(ptr noundef %11) br label %13 13: ; preds = %10, %7 ret void } declare i32 @pass(ptr noundef) #1 declare i32 @fail(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsh0u7ddj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ok(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = call i32 @pass(ptr noundef %8) br label %13 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = call i32 @fail(ptr noundef %11) br label %13 13: ; preds = %10, %7 ret void } declare i32 @pass(ptr noundef) #1 declare i32 @fail(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpw219qz3b.c' source_filename = "/tmp/tmpw219qz3b.c" target datalayout = "e-m:e-p270: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/tmpw219qz3b.c" target datalayout = "e-m:e-p270: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/tmpevfv_ywm.c' source_filename = "/tmp/tmpevfv_ywm.c" target datalayout = "e-m:e-p270: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/tmpevfv_ywm.c" target datalayout = "e-m:e-p270: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/tmpe8sdd773.c' source_filename = "/tmp/tmpe8sdd773.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"usage: %s filenamefmt count\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" %s filenamefmt start count\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.1, 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/tmpe8sdd773.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"usage: %s filenamefmt count\0A\00", align 1 @.str.1 = private unnamed_addr constant [35 x i8] c" %s filenamefmt start count\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @printf(ptr noundef @.str.1, 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/tmp4sy8audo.c' source_filename = "/tmp/tmp4sy8audo.c" target datalayout = "e-m:e-p270: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 [298 x i8] c"This is cache simulator that support L1, L2 cache with stream buffer and victim buffer. There are lots of options to set and some of options are quite important. So, If you don't set option properly, It may not work as your intention. Therefore I recommand you to write options on \22.config\22 file.\0A\00", align 1 @.str.1 = private unnamed_addr constant [114 x i8] c"(This options below are only support L1 cache. So, to use L2 cache, you SHOULD write options on \22.config\22 file.)\0A\00", align 1 @.str.2 = private unnamed_addr constant [73 x i8] c"usage:\09%s -l <block size> -k <associate> -n <num of set> -f <file path>\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\09%s -h\09\09: show help\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"\09%s -f <file path>\09: file path\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"\09%s -l <block size>\09: block size (byte)\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"\09%s -k <associate>\09: associate (number)\0A\00", align 1 @.str.7 = private unnamed_addr constant [43 x i8] c"\09%s -n <num of set>\09: num of set (number)\0A\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c"\09%s -s <stream buf>\09: stream buf (number)\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c"\09%s -v <victim buf>\09: victim buf (number)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2, ptr noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %2, align 8 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3, ptr noundef %11) %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4, ptr noundef %14) %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.5, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %2, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.6, ptr noundef %20) %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %2, align 8 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.7, ptr noundef %23) %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %2, align 8 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.8, ptr noundef %26) %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %2, align 8 %30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.9, ptr noundef %29) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4sy8audo.c" target datalayout = "e-m:e-p270: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 [298 x i8] c"This is cache simulator that support L1, L2 cache with stream buffer and victim buffer. There are lots of options to set and some of options are quite important. So, If you don't set option properly, It may not work as your intention. Therefore I recommand you to write options on \22.config\22 file.\0A\00", align 1 @.str.1 = private unnamed_addr constant [114 x i8] c"(This options below are only support L1 cache. So, to use L2 cache, you SHOULD write options on \22.config\22 file.)\0A\00", align 1 @.str.2 = private unnamed_addr constant [73 x i8] c"usage:\09%s -l <block size> -k <associate> -n <num of set> -f <file path>\0A\00", align 1 @.str.3 = private unnamed_addr constant [21 x i8] c"\09%s -h\09\09: show help\0A\00", align 1 @.str.4 = private unnamed_addr constant [32 x i8] c"\09%s -f <file path>\09: file path\0A\00", align 1 @.str.5 = private unnamed_addr constant [41 x i8] c"\09%s -l <block size>\09: block size (byte)\0A\00", align 1 @.str.6 = private unnamed_addr constant [41 x i8] c"\09%s -k <associate>\09: associate (number)\0A\00", align 1 @.str.7 = private unnamed_addr constant [43 x i8] c"\09%s -n <num of set>\09: num of set (number)\0A\00", align 1 @.str.8 = private unnamed_addr constant [43 x i8] c"\09%s -s <stream buf>\09: stream buf (number)\0A\00", align 1 @.str.9 = private unnamed_addr constant [43 x i8] c"\09%s -v <victim buf>\09: victim buf (number)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str) %5 = load i32, ptr @stderr, align 4 %6 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %5, ptr noundef @.str.1) %7 = load i32, ptr @stderr, align 4 %8 = load ptr, ptr %2, align 8 %9 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str.2, ptr noundef %8) %10 = load i32, ptr @stderr, align 4 %11 = load ptr, ptr %2, align 8 %12 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef @.str.3, ptr noundef %11) %13 = load i32, ptr @stderr, align 4 %14 = load ptr, ptr %2, align 8 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %13, ptr noundef @.str.4, ptr noundef %14) %16 = load i32, ptr @stderr, align 4 %17 = load ptr, ptr %2, align 8 %18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.5, ptr noundef %17) %19 = load i32, ptr @stderr, align 4 %20 = load ptr, ptr %2, align 8 %21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.6, ptr noundef %20) %22 = load i32, ptr @stderr, align 4 %23 = load ptr, ptr %2, align 8 %24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.7, ptr noundef %23) %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %2, align 8 %27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.8, ptr noundef %26) %28 = load i32, ptr @stderr, align 4 %29 = load ptr, ptr %2, align 8 %30 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.9, ptr noundef %29) ret void } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdf28p3pj.c' source_filename = "/tmp/tmpdf28p3pj.c" target datalayout = "e-m:e-p270: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/tmpdf28p3pj.c" target datalayout = "e-m:e-p270: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/tmp83wiaizp.c' source_filename = "/tmp/tmp83wiaizp.c" target datalayout = "e-m:e-p270: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/tmp83wiaizp.c" target datalayout = "e-m:e-p270: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/tmphqlqrqdi.c' source_filename = "/tmp/tmphqlqrqdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @COM_StripExtension(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 br label %5 5: ; preds = %17, %2 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 46 br label %15 15: ; preds = %10, %5 %16 = phi i1 [ false, %5 ], [ %14, %10 ] br i1 %16, label %17, label %23 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load i8, ptr %18, align 1 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 store i8 %20, ptr %21, align 1 br label %5, !llvm.loop !6 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 store i8 0, ptr %24, align 1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphqlqrqdi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @COM_StripExtension(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 br label %5 5: ; preds = %17, %2 %6 = load ptr, ptr %3, align 8 %7 = load i8, ptr %6, align 1 %8 = sext i8 %7 to i32 %9 = icmp ne i32 %8, 0 br i1 %9, label %10, label %15 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = icmp ne i32 %13, 46 br label %15 15: ; preds = %10, %5 %16 = phi i1 [ false, %5 ], [ %14, %10 ] br i1 %16, label %17, label %23 17: ; preds = %15 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 %20 = load i8, ptr %18, align 1 %21 = load ptr, ptr %4, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %4, align 8 store i8 %20, ptr %21, align 1 br label %5, !llvm.loop !6 23: ; preds = %15 %24 = load ptr, ptr %4, align 8 store i8 0, ptr %24, align 1 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2fdzm_70.c' source_filename = "/tmp/tmp2fdzm_70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter an integer: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d is even\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d is odd\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %5 5: ; preds = %22, %0 %6 = load i32, ptr %2, align 4 %7 = icmp slt i32 %6, 2 br i1 %7, label %8, label %25 8: ; preds = %5 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = load i32, ptr %3, align 4 %12 = call i32 @isEven(i32 noundef %11) store i32 %12, ptr %4, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %8 %16 = load i32, ptr %3, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16) br label %21 18: ; preds = %8 %19 = load i32, ptr %3, align 4 %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19) br label %21 21: ; preds = %18, %15 br label %22 22: ; preds = %21 %23 = load i32, ptr %2, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %2, align 4 br label %5, !llvm.loop !6 25: ; preds = %5 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @isEven(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/tmp2fdzm_70.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Enter an integer: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"%d is even\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"%d is odd\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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 2 br i1 %6, label %.lr.ph, label %26 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %21 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = call i32 @isEven(i32 noundef %10) store i32 %11, ptr %4, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp ne i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %7 %15 = load i32, ptr %3, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15) br label %20 17: ; preds = %7 %18 = load i32, ptr %3, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %18) br label %20 20: ; preds = %17, %14 br label %21 21: ; preds = %20 %22 = load i32, ptr %2, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %2, align 4 %24 = load i32, ptr %2, align 4 %25 = icmp slt i32 %24, 2 br i1 %25, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %26 26: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @isEven(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/tmpzcfh584_.c' source_filename = "/tmp/tmpzcfh584_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"\0AThe initial string is: %s:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0AConverting to integers...\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\0AThe converted array contains the following:\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"a[%d]: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\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 [10 x i8], align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %11, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %7, label %14 7: ; preds = %4 %8 = load i32, ptr %2, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %9 store i8 0, ptr %10, align 1 br label %11 11: ; preds = %7 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %4, !llvm.loop !6 14: ; preds = %4 %15 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 store i8 97, ptr %15, align 1 %16 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 1 store i8 48, ptr %16, align 1 %17 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 2 store i8 120, ptr %17, align 1 %18 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 3 store i8 53, ptr %18, align 1 %19 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 4 store i8 48, ptr %19, align 1 %20 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 5 store i8 88, ptr %20, align 1 %21 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 6 store i8 70, ptr %21, align 1 %22 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 7 store i8 48, ptr %22, align 1 %23 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 8 store i8 66, ptr %23, align 1 %24 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %24) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %27 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %28 = call i32 @htoi(ptr noundef %27) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 br label %30 30: ; preds = %41, %14 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %33, label %44 33: ; preds = %30 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i32 noundef %39) br label %41 41: ; preds = %33 %42 = load i32, ptr %2, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %2, align 4 br label %30, !llvm.loop !8 44: ; preds = %30 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @htoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpzcfh584_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [30 x i8] c"\0AThe initial string is: %s:\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"\0AConverting to integers...\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [46 x i8] c"\0AThe converted array contains the following:\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"a[%d]: %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"\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 [10 x i8], align 1 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %6 6: ; preds = %.lr.ph, %10 %7 = load i32, ptr %2, align 4 %8 = sext i32 %7 to i64 %9 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %8 store i8 0, ptr %9, align 1 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 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %13, 10 br i1 %14, label %6, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 %16 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 store i8 97, ptr %16, align 1 %17 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 1 store i8 48, ptr %17, align 1 %18 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 2 store i8 120, ptr %18, align 1 %19 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 3 store i8 53, ptr %19, align 1 %20 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 4 store i8 48, ptr %20, align 1 %21 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 5 store i8 88, ptr %21, align 1 %22 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 6 store i8 70, ptr %22, align 1 %23 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 7 store i8 48, ptr %23, align 1 %24 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 8 store i8 66, ptr %24, align 1 %25 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %25) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %28 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %29 = call i32 @htoi(ptr noundef %28) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %2, align 4 %31 = load i32, ptr %2, align 4 %32 = icmp slt i32 %31, 10 br i1 %32, label %.lr.ph2, label %46 .lr.ph2: ; preds = %15 br label %33 33: ; preds = %.lr.ph2, %41 %34 = load i32, ptr %2, align 4 %35 = load i32, ptr %2, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %36 %38 = load i8, ptr %37, align 1 %39 = sext i8 %38 to i32 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %34, i32 noundef %39) br label %41 41: ; preds = %33 %42 = load i32, ptr %2, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %2, align 4 %44 = load i32, ptr %2, align 4 %45 = icmp slt i32 %44, 10 br i1 %45, label %33, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %41 br label %46 46: ; preds = %._crit_edge3, %15 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @htoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpjdd93vmv.c' source_filename = "/tmp/tmpjdd93vmv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Adding '%s' to filesystem image.\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"Cannot open file '%s' for read!\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [39 x i8] c"File '%s' too big for the filesystem!\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"Cannot add all contents of file '%s' to filesystem!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.2, ptr noundef %18) store i32 0, ptr %3, align 4 br label %60 20: ; preds = %2 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr @SEEK_END, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef 0, i32 noundef %22) %24 = load ptr, ptr %6, align 8 %25 = call i32 @ftell(ptr noundef %24) %26 = load ptr, ptr %5, align 8 store i32 %25, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr @SEEK_SET, align 4 %29 = call i32 @fseek(ptr noundef %27, i32 noundef 0, i32 noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp sgt i32 %31, 268435455 br i1 %32, label %33, label %37 33: ; preds = %20 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %4, align 8 %36 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.3, ptr noundef %35) store i32 0, ptr %3, align 4 br label %60 37: ; preds = %20 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %38, align 4 %40 = call i32 @new_blob(i32 noundef %39) store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = call ptr @sector_to_memory(i32 noundef %41) store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %6, align 8 %47 = call i32 @fread(ptr noundef %43, i32 noundef 1, i32 noundef %45, ptr noundef %46) store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %56 50: ; preds = %37 %51 = load i32, ptr @stderr, align 4 %52 = load ptr, ptr %4, align 8 %53 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.4, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = call i32 @fclose(ptr noundef %54) store i32 0, ptr %3, align 4 br label %60 56: ; preds = %37 %57 = load ptr, ptr %6, align 8 %58 = call i32 @fclose(ptr noundef %57) %59 = load i32, ptr %7, align 4 store i32 %59, ptr %3, align 4 br label %60 60: ; preds = %56, %50, %33, %16 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @new_blob(i32 noundef) #1 declare ptr @sector_to_memory(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjdd93vmv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [34 x i8] c"Adding '%s' to filesystem image.\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [33 x i8] c"Cannot open file '%s' for read!\0A\00", align 1 @SEEK_END = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [39 x i8] c"File '%s' too big for the filesystem!\0A\00", align 1 @.str.4 = private unnamed_addr constant [53 x i8] c"Cannot add all contents of file '%s' to filesystem!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add_file(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @printf(ptr noundef @.str, ptr noundef %10) %12 = load ptr, ptr %4, align 8 %13 = call ptr @fopen(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %20, label %16 16: ; preds = %2 %17 = load i32, ptr @stderr, align 4 %18 = load ptr, ptr %4, align 8 %19 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.2, ptr noundef %18) store i32 0, ptr %3, align 4 br label %60 20: ; preds = %2 %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr @SEEK_END, align 4 %23 = call i32 @fseek(ptr noundef %21, i32 noundef 0, i32 noundef %22) %24 = load ptr, ptr %6, align 8 %25 = call i32 @ftell(ptr noundef %24) %26 = load ptr, ptr %5, align 8 store i32 %25, ptr %26, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr @SEEK_SET, align 4 %29 = call i32 @fseek(ptr noundef %27, i32 noundef 0, i32 noundef %28) %30 = load ptr, ptr %5, align 8 %31 = load i32, ptr %30, align 4 %32 = icmp sgt i32 %31, 268435455 br i1 %32, label %33, label %37 33: ; preds = %20 %34 = load i32, ptr @stderr, align 4 %35 = load ptr, ptr %4, align 8 %36 = call i32 @fprintf(i32 noundef %34, ptr noundef @.str.3, ptr noundef %35) store i32 0, ptr %3, align 4 br label %60 37: ; preds = %20 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %38, align 4 %40 = call i32 @new_blob(i32 noundef %39) store i32 %40, ptr %7, align 4 %41 = load i32, ptr %7, align 4 %42 = call ptr @sector_to_memory(i32 noundef %41) store ptr %42, ptr %8, align 8 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %6, align 8 %47 = call i32 @fread(ptr noundef %43, i32 noundef 1, i32 noundef %45, ptr noundef %46) store i32 %47, ptr %9, align 4 %48 = load i32, ptr %9, align 4 %49 = icmp slt i32 %48, 0 br i1 %49, label %50, label %56 50: ; preds = %37 %51 = load i32, ptr @stderr, align 4 %52 = load ptr, ptr %4, align 8 %53 = call i32 @fprintf(i32 noundef %51, ptr noundef @.str.4, ptr noundef %52) %54 = load ptr, ptr %6, align 8 %55 = call i32 @fclose(ptr noundef %54) store i32 0, ptr %3, align 4 br label %60 56: ; preds = %37 %57 = load ptr, ptr %6, align 8 %58 = call i32 @fclose(ptr noundef %57) %59 = load i32, ptr %7, align 4 store i32 %59, ptr %3, align 4 br label %60 60: ; preds = %56, %50, %33, %16 %61 = load i32, ptr %3, align 4 ret i32 %61 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @new_blob(i32 noundef) #1 declare ptr @sector_to_memory(i32 noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprakak_xx.c' source_filename = "/tmp/tmprakak_xx.c" target datalayout = "e-m:e-p270: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 { i64, i64, i64, i64, i64, i64, i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tm_equals(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) #0 { %3 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %4 = load i64, ptr %3, align 8 %5 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = icmp eq i64 %4, %6 br i1 %7, label %8, label %52 8: ; preds = %2 %9 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1 %10 = load i64, ptr %9, align 8 %11 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1 %12 = load i64, ptr %11, align 8 %13 = icmp eq i64 %10, %12 br i1 %13, label %14, label %52 14: ; preds = %8 %15 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 2 %16 = load i64, ptr %15, align 8 %17 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 2 %18 = load i64, ptr %17, align 8 %19 = icmp eq i64 %16, %18 br i1 %19, label %20, label %52 20: ; preds = %14 %21 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 3 %22 = load i64, ptr %21, align 8 %23 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 3 %24 = load i64, ptr %23, align 8 %25 = icmp eq i64 %22, %24 br i1 %25, label %26, label %52 26: ; preds = %20 %27 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 4 %28 = load i64, ptr %27, align 8 %29 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 4 %30 = load i64, ptr %29, align 8 %31 = icmp eq i64 %28, %30 br i1 %31, label %32, label %52 32: ; preds = %26 %33 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 5 %34 = load i64, ptr %33, align 8 %35 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 5 %36 = load i64, ptr %35, align 8 %37 = icmp eq i64 %34, %36 br i1 %37, label %38, label %52 38: ; preds = %32 %39 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 6 %40 = load i64, ptr %39, align 8 %41 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 6 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %40, %42 br i1 %43, label %44, label %52 44: ; preds = %38 %45 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 7 %46 = load i32, ptr %45, align 8 %47 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 7 %48 = load i32, ptr %47, align 8 %49 = call i32 @strcmp(i32 noundef %46, i32 noundef %48) %50 = icmp ne i32 %49, 0 %51 = xor i1 %50, true br label %52 52: ; preds = %44, %38, %32, %26, %20, %14, %8, %2 %53 = phi i1 [ false, %38 ], [ false, %32 ], [ false, %26 ], [ false, %20 ], [ false, %14 ], [ false, %8 ], [ false, %2 ], [ %51, %44 ] %54 = zext i1 %53 to i32 ret i32 %54 } declare i32 @strcmp(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/tmprakak_xx.c" target datalayout = "e-m:e-p270: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 { i64, i64, i64, i64, i64, i64, i64, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tm_equals(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) #0 { %3 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %4 = load i64, ptr %3, align 8 %5 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %6 = load i64, ptr %5, align 8 %7 = icmp eq i64 %4, %6 br i1 %7, label %8, label %52 8: ; preds = %2 %9 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1 %10 = load i64, ptr %9, align 8 %11 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1 %12 = load i64, ptr %11, align 8 %13 = icmp eq i64 %10, %12 br i1 %13, label %14, label %52 14: ; preds = %8 %15 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 2 %16 = load i64, ptr %15, align 8 %17 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 2 %18 = load i64, ptr %17, align 8 %19 = icmp eq i64 %16, %18 br i1 %19, label %20, label %52 20: ; preds = %14 %21 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 3 %22 = load i64, ptr %21, align 8 %23 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 3 %24 = load i64, ptr %23, align 8 %25 = icmp eq i64 %22, %24 br i1 %25, label %26, label %52 26: ; preds = %20 %27 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 4 %28 = load i64, ptr %27, align 8 %29 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 4 %30 = load i64, ptr %29, align 8 %31 = icmp eq i64 %28, %30 br i1 %31, label %32, label %52 32: ; preds = %26 %33 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 5 %34 = load i64, ptr %33, align 8 %35 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 5 %36 = load i64, ptr %35, align 8 %37 = icmp eq i64 %34, %36 br i1 %37, label %38, label %52 38: ; preds = %32 %39 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 6 %40 = load i64, ptr %39, align 8 %41 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 6 %42 = load i64, ptr %41, align 8 %43 = icmp eq i64 %40, %42 br i1 %43, label %44, label %52 44: ; preds = %38 %45 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 7 %46 = load i32, ptr %45, align 8 %47 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 7 %48 = load i32, ptr %47, align 8 %49 = call i32 @strcmp(i32 noundef %46, i32 noundef %48) %50 = icmp ne i32 %49, 0 %51 = xor i1 %50, true br label %52 52: ; preds = %44, %38, %32, %26, %20, %14, %8, %2 %53 = phi i1 [ false, %38 ], [ false, %32 ], [ false, %26 ], [ false, %20 ], [ false, %14 ], [ false, %8 ], [ false, %2 ], [ %51, %44 ] %54 = zext i1 %53 to i32 ret i32 %54 } declare i32 @strcmp(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/tmp7q7ig0zb.c' source_filename = "/tmp/tmp7q7ig0zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0ASerial port initialization program \0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @app_main() #0 { %1 = alloca i8, align 1 %2 = call i32 (...) @serialInit() %3 = call i32 @puts(ptr noundef @.str) br label %4 4: ; preds = %0, %4 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %1, align 1 %6 = load i8, ptr %1, align 1 %7 = sext i8 %6 to i32 %8 = add nsw i32 %7, 1 %9 = trunc i32 %8 to i8 %10 = call i32 @putchar(i8 noundef signext %9) br label %4 } declare i32 @serialInit(...) #1 declare i32 @puts(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7q7ig0zb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0D\0ASerial port initialization program \0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @app_main() #0 { %1 = alloca i8, align 1 %2 = call i32 (...) @serialInit() %3 = call i32 @puts(ptr noundef @.str) br label %4 4: ; preds = %4, %0 %5 = call signext i8 (...) @getchar() store i8 %5, ptr %1, align 1 %6 = load i8, ptr %1, align 1 %7 = sext i8 %6 to i32 %8 = add nsw i32 %7, 1 %9 = trunc i32 %8 to i8 %10 = call i32 @putchar(i8 noundef signext %9) br label %4 } declare i32 @serialInit(...) #1 declare i32 @puts(ptr noundef) #1 declare signext i8 @getchar(...) #1 declare i32 @putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgtgwx1j1.c' source_filename = "/tmp/tmpgtgwx1j1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"NB: %ld\0ANT: %ld\0ANL: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 br label %6 6: ; preds = %28, %0 %7 = call i32 (...) @getchar() store i32 %7, ptr %5, align 4 %8 = load i32, ptr @EOF, align 4 %9 = icmp ne i32 %7, %8 br i1 %9, label %10, label %29 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 32 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load i64, ptr %2, align 8 %15 = add nsw i64 %14, 1 store i64 %15, ptr %2, align 8 br label %16 16: ; preds = %13, %10 %17 = load i32, ptr %5, align 4 %18 = icmp eq i32 %17, 9 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load i64, ptr %3, align 8 %21 = add nsw i64 %20, 1 store i64 %21, ptr %3, align 8 br label %22 22: ; preds = %19, %16 %23 = load i32, ptr %5, align 4 %24 = icmp eq i32 %23, 10 br i1 %24, label %25, label %28 25: ; preds = %22 %26 = load i64, ptr %4, align 8 %27 = add nsw i64 %26, 1 store i64 %27, ptr %4, align 8 br label %28 28: ; preds = %25, %22 br label %6, !llvm.loop !6 29: ; preds = %6 %30 = load i64, ptr %2, align 8 %31 = load i64, ptr %3, align 8 %32 = load i64, ptr %4, align 8 %33 = call i32 @printf(ptr noundef @.str, i64 noundef %30, i64 noundef %31, i64 noundef %32) %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgtgwx1j1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"NB: %ld\0ANT: %ld\0ANL: %ld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 %6 = call i32 (...) @getchar() store i32 %6, ptr %5, align 4 %7 = load i32, ptr @EOF, align 4 %8 = icmp ne i32 %6, %7 br i1 %8, label %.lr.ph, label %31 .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %27 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 32 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load i64, ptr %2, align 8 %14 = add nsw i64 %13, 1 store i64 %14, ptr %2, align 8 br label %15 15: ; preds = %12, %9 %16 = load i32, ptr %5, align 4 %17 = icmp eq i32 %16, 9 br i1 %17, label %18, label %21 18: ; preds = %15 %19 = load i64, ptr %3, align 8 %20 = add nsw i64 %19, 1 store i64 %20, ptr %3, align 8 br label %21 21: ; preds = %18, %15 %22 = load i32, ptr %5, align 4 %23 = icmp eq i32 %22, 10 br i1 %23, label %24, label %27 24: ; preds = %21 %25 = load i64, ptr %4, align 8 %26 = add nsw i64 %25, 1 store i64 %26, ptr %4, align 8 br label %27 27: ; preds = %24, %21 %28 = call i32 (...) @getchar() store i32 %28, ptr %5, align 4 %29 = load i32, ptr @EOF, align 4 %30 = icmp ne i32 %28, %29 br i1 %30, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %31 31: ; preds = %._crit_edge, %0 %32 = load i64, ptr %2, align 8 %33 = load i64, ptr %3, align 8 %34 = load i64, ptr %4, align 8 %35 = call i32 @printf(ptr noundef @.str, i64 noundef %32, i64 noundef %33, i64 noundef %34) %36 = load i32, ptr %1, align 4 ret i32 %36 } declare i32 @getchar(...) #1 declare i32 @printf(ptr noundef, i64 noundef, i64 noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgwka64kb.c' source_filename = "/tmp/tmpgwka64kb.c" target datalayout = "e-m:e-p270: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/tmpgwka64kb.c" target datalayout = "e-m:e-p270: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/tmpv2bcjirw.c' source_filename = "/tmp/tmpv2bcjirw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"all\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ofl_queue_print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %9 [ i32 -1, label %6 ] 6: ; preds = %2 %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str) br label %13 9: ; preds = %2 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11) br label %13 13: ; preds = %9, %6 ret void } declare i32 @fprintf(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/tmpv2bcjirw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"all\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%u\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ofl_queue_print(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 switch i32 %5, label %9 [ i32 -1, label %6 ] 6: ; preds = %2 %7 = load ptr, ptr %3, align 8 %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef @.str) br label %13 9: ; preds = %2 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef %11) br label %13 13: ; preds = %9, %6 ret void } declare i32 @fprintf(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/tmpjyf_qx93.c' source_filename = "/tmp/tmpjyf_qx93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_invokevirtual(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 @makeCODEinvokevirtual(ptr noundef %3, ptr noundef null) %5 = call i32 @appendCODE(i32 noundef %4) ret void } declare i32 @appendCODE(i32 noundef) #1 declare i32 @makeCODEinvokevirtual(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/tmpjyf_qx93.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @code_invokevirtual(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 @makeCODEinvokevirtual(ptr noundef %3, ptr noundef null) %5 = call i32 @appendCODE(i32 noundef %4) ret void } declare i32 @appendCODE(i32 noundef) #1 declare i32 @makeCODEinvokevirtual(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/tmpnwazze0v.c' source_filename = "/tmp/tmpnwazze0v.c" target datalayout = "e-m:e-p270: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/tmpnwazze0v.c" target datalayout = "e-m:e-p270: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/tmpcvg77mo6.c' source_filename = "/tmp/tmpcvg77mo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test1() %3 = call i32 (...) @test2() %4 = call i32 (...) @test3() %5 = call i32 (...) @test4() %6 = call i32 (...) @test5() %7 = call i32 (...) @test6() %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 declare i32 @test4(...) #1 declare i32 @test5(...) #1 declare i32 @test6(...) #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/tmpcvg77mo6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @test1() %3 = call i32 (...) @test2() %4 = call i32 (...) @test3() %5 = call i32 (...) @test4() %6 = call i32 (...) @test5() %7 = call i32 (...) @test6() %8 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @test1(...) #1 declare i32 @test2(...) #1 declare i32 @test3(...) #1 declare i32 @test4(...) #1 declare i32 @test5(...) #1 declare i32 @test6(...) #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/tmph1qyh23r.c' source_filename = "/tmp/tmph1qyh23r.c" target datalayout = "e-m:e-p270: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 [56 x i8] c"Usage: %s /sysfs/path/to/device | /path/to/device/node\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(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/tmph1qyh23r.c" target datalayout = "e-m:e-p270: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 [56 x i8] c"Usage: %s /sysfs/path/to/device | /path/to/device/node\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) ret void } declare i32 @fprintf(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/tmpront7gmy.c' source_filename = "/tmp/tmpront7gmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen_malloc_Good() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca ptr, align 8 %3 = call i64 @malloc(i32 noundef 6) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 store i8 104, ptr %6, align 1 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 1 store i8 101, ptr %8, align 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 store i8 108, ptr %10, align 1 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 3 store i8 108, ptr %12, align 1 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 4 store i8 111, ptr %14, align 1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 5 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %2, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %18 store i32 0, ptr %19, align 4 ret void } declare i64 @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpront7gmy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen_malloc_Good() #0 { %1 = alloca [10 x i32], align 16 %2 = alloca ptr, align 8 %3 = call i64 @malloc(i32 noundef 6) %4 = inttoptr i64 %3 to ptr store ptr %4, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = getelementptr inbounds i8, ptr %5, i64 0 store i8 104, ptr %6, align 1 %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds i8, ptr %7, i64 1 store i8 101, ptr %8, align 1 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 2 store i8 108, ptr %10, align 1 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i64 3 store i8 108, ptr %12, align 1 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds i8, ptr %13, i64 4 store i8 111, ptr %14, align 1 %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds i8, ptr %15, i64 5 store i8 0, ptr %16, align 1 %17 = load ptr, ptr %2, align 8 %18 = call i64 @strlen(ptr noundef %17) %19 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %18 store i32 0, ptr %19, align 4 ret void } declare i64 @malloc(i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp0c_o7l0p.c' source_filename = "/tmp/tmp0c_o7l0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bioh4x/NeatFreq/refs/heads/master/lib/genometools-1.4.1/src/core/ma.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gt_free_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @gt_free_mem(ptr noundef %7, ptr noundef @.str, i32 noundef 243) br label %9 9: ; preds = %6, %5 ret void } declare i32 @gt_free_mem(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/tmp0c_o7l0p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bioh4x/NeatFreq/refs/heads/master/lib/genometools-1.4.1/src/core/ma.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @gt_free_func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @gt_free_mem(ptr noundef %7, ptr noundef @.str, i32 noundef 243) br label %9 9: ; preds = %6, %5 ret void } declare i32 @gt_free_mem(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/tmpyv3bf8m0.c' source_filename = "/tmp/tmpyv3bf8m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @dll_write(i32 noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @dll_write(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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyv3bf8m0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__wrap_write(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i64, ptr %6, align 8 %10 = call i32 @dll_write(i32 noundef %7, ptr noundef %8, i64 noundef %9) ret i32 %10 } declare i32 @dll_write(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"}
; ModuleID = '/tmp/tmpq8hhyxip.c' source_filename = "/tmp/tmpq8hhyxip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmc_um_setbit(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %5, align 8 %8 = udiv i64 %7, 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 %8 store ptr %10, ptr %4, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %3 %14 = load i64, ptr %5, align 8 %15 = urem i64 %14, 8 %16 = trunc i64 %15 to i32 %17 = shl i32 1, %16 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = or i32 %20, %17 %22 = trunc i32 %21 to i8 store i8 %22, ptr %18, align 1 br label %34 23: ; preds = %3 %24 = load i64, ptr %5, align 8 %25 = urem i64 %24, 8 %26 = trunc i64 %25 to i32 %27 = shl i32 1, %26 %28 = xor i32 %27, -1 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = and i32 %31, %28 %33 = trunc i32 %32 to i8 store i8 %33, ptr %29, align 1 br label %34 34: ; preds = %23, %13 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq8hhyxip.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lmc_um_setbit(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %7 = load i64, ptr %5, align 8 %8 = udiv i64 %7, 8 %9 = load ptr, ptr %4, align 8 %10 = getelementptr inbounds i8, ptr %9, i64 %8 store ptr %10, ptr %4, align 8 %11 = load i64, ptr %6, align 8 %12 = icmp ne i64 %11, 0 br i1 %12, label %13, label %23 13: ; preds = %3 %14 = load i64, ptr %5, align 8 %15 = urem i64 %14, 8 %16 = trunc i64 %15 to i32 %17 = shl i32 1, %16 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = or i32 %20, %17 %22 = trunc i32 %21 to i8 store i8 %22, ptr %18, align 1 br label %34 23: ; preds = %3 %24 = load i64, ptr %5, align 8 %25 = urem i64 %24, 8 %26 = trunc i64 %25 to i32 %27 = shl i32 1, %26 %28 = xor i32 %27, -1 %29 = load ptr, ptr %4, align 8 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = and i32 %31, %28 %33 = trunc i32 %32 to i8 store i8 %33, ptr %29, align 1 br label %34 34: ; preds = %23, %13 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprpn81g56.c' source_filename = "/tmp/tmprpn81g56.c" target datalayout = "e-m:e-p270: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/tmprpn81g56.c" target datalayout = "e-m:e-p270: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/tmpk5rz629d.c' source_filename = "/tmp/tmpk5rz629d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Please enter the side of the square: N = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\0AEnter the case [1,2,3,4]: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" *\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c" +\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = call i32 @printf(ptr noundef @.str.3) %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %0 %15 = load i32, ptr %3, align 4 %16 = icmp sgt i32 %15, 4 br i1 %16, label %17, label %18 17: ; preds = %14, %0 store i32 1, ptr %3, align 4 br label %18 18: ; preds = %17, %14 %19 = load i32, ptr %3, align 4 switch i32 %19, label %122 [ i32 1, label %20 i32 2, label %39 i32 3, label %77 i32 4, label %96 ] 20: ; preds = %18 br label %21 21: ; preds = %34, %20 %22 = load i32, ptr %4, align 4 %23 = load i32, ptr %2, align 4 %24 = icmp sle i32 %22, %23 br i1 %24, label %25, label %38 25: ; preds = %21 store i32 1, ptr %5, align 4 br label %26 26: ; preds = %30, %25 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %2, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %30, label %34 30: ; preds = %26 %31 = call i32 @printf(ptr noundef @.str.4) %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %26, !llvm.loop !6 34: ; preds = %26 %35 = call i32 @printf(ptr noundef @.str.5) %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %4, align 4 br label %21, !llvm.loop !8 38: ; preds = %21 br label %123 39: ; preds = %18 br label %40 40: ; preds = %72, %39 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp sle i32 %41, %42 br i1 %43, label %44, label %76 44: ; preds = %40 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %45 45: ; preds = %69, %44 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %2, align 4 %48 = icmp sle i32 %46, %47 br i1 %48, label %49, label %72 49: ; preds = %45 %50 = load i32, ptr %5, align 4 %51 = load i32, ptr %2, align 4 %52 = srem i32 %50, %51 store i32 %52, ptr %6, align 4 %53 = load i32, ptr %6, align 4 %54 = icmp eq i32 %53, 0 br i1 %54, label %65, label %55 55: ; preds = %49 %56 = load i32, ptr %6, align 4 %57 = icmp eq i32 %56, 1 br i1 %57, label %65, label %58 58: ; preds = %55 %59 = load i32, ptr %4, align 4 %60 = icmp eq i32 %59, 1 br i1 %60, label %65, label %61 61: ; preds = %58 %62 = load i32, ptr %4, align 4 %63 = load i32, ptr %2, align 4 %64 = icmp eq i32 %62, %63 br i1 %64, label %65, label %67 65: ; preds = %61, %58, %55, %49 %66 = call i32 @printf(ptr noundef @.str.4) br label %69 67: ; preds = %61 %68 = call i32 @printf(ptr noundef @.str.6) br label %69 69: ; preds = %67, %65 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 br label %45, !llvm.loop !9 72: ; preds = %45 %73 = call i32 @printf(ptr noundef @.str.5) %74 = load i32, ptr %4, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %4, align 4 br label %40, !llvm.loop !10 76: ; preds = %40 br label %123 77: ; preds = %18 br label %78 78: ; preds = %91, %77 %79 = load i32, ptr %4, align 4 %80 = load i32, ptr %2, align 4 %81 = icmp sle i32 %79, %80 br i1 %81, label %82, label %95 82: ; preds = %78 store i32 1, ptr %5, align 4 br label %83 83: ; preds = %87, %82 %84 = load i32, ptr %5, align 4 %85 = load i32, ptr %4, align 4 %86 = icmp sle i32 %84, %85 br i1 %86, label %87, label %91 87: ; preds = %83 %88 = call i32 @printf(ptr noundef @.str.4) %89 = load i32, ptr %5, align 4 %90 = add nsw i32 %89, 1 store i32 %90, ptr %5, align 4 br label %83, !llvm.loop !11 91: ; preds = %83 %92 = call i32 @printf(ptr noundef @.str.5) %93 = load i32, ptr %4, align 4 %94 = add nsw i32 %93, 1 store i32 %94, ptr %4, align 4 br label %78, !llvm.loop !12 95: ; preds = %78 br label %123 96: ; preds = %18 br label %97 97: ; preds = %117, %96 %98 = load i32, ptr %4, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp sle i32 %98, %99 br i1 %100, label %101, label %121 101: ; preds = %97 store i32 1, ptr %5, align 4 br label %102 102: ; preds = %114, %101 %103 = load i32, ptr %5, align 4 %104 = load i32, ptr %2, align 4 %105 = icmp sle i32 %103, %104 br i1 %105, label %106, label %117 106: ; preds = %102 %107 = load i32, ptr %5, align 4 %108 = load i32, ptr %4, align 4 %109 = icmp sle i32 %107, %108 br i1 %109, label %110, label %112 110: ; preds = %106 %111 = call i32 @printf(ptr noundef @.str.4) br label %114 112: ; preds = %106 %113 = call i32 @printf(ptr noundef @.str.7) br label %114 114: ; preds = %112, %110 %115 = load i32, ptr %5, align 4 %116 = add nsw i32 %115, 1 store i32 %116, ptr %5, align 4 br label %102, !llvm.loop !13 117: ; preds = %102 %118 = call i32 @printf(ptr noundef @.str.5) %119 = load i32, ptr %4, align 4 %120 = add nsw i32 %119, 1 store i32 %120, ptr %4, align 4 br label %97, !llvm.loop !14 121: ; preds = %97 br label %123 122: ; preds = %18 store i32 1, ptr %1, align 4 br label %124 123: ; preds = %121, %95, %76, %38 store i32 0, ptr %1, align 4 br label %124 124: ; preds = %123, %122 %125 = load i32, ptr %1, align 4 ret i32 %125 } 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} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk5rz629d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Please enter the side of the square: N = \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [28 x i8] c"\0AEnter the case [1,2,3,4]: \00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c" *\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.7 = private unnamed_addr constant [3 x i8] c" +\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %9 = call i32 @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = call i32 @printf(ptr noundef @.str.3) %12 = load i32, ptr %3, align 4 %13 = icmp sle i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %0 %15 = load i32, ptr %3, align 4 %16 = icmp sgt i32 %15, 4 br i1 %16, label %17, label %18 17: ; preds = %14, %0 store i32 1, ptr %3, align 4 br label %18 18: ; preds = %17, %14 %19 = load i32, ptr %3, align 4 switch i32 %19, label %138 [ i32 1, label %20 i32 2, label %43 i32 3, label %85 i32 4, label %108 ] 20: ; preds = %18 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %2, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %.lr.ph20, label %42 .lr.ph20: ; preds = %20 br label %24 24: ; preds = %.lr.ph20, %35 store i32 1, ptr %5, align 4 %25 = load i32, ptr %5, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp sle i32 %25, %26 br i1 %27, label %.lr.ph17, label %35 .lr.ph17: ; preds = %24 br label %28 28: ; preds = %.lr.ph17, %28 %29 = call i32 @printf(ptr noundef @.str.4) %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp sle i32 %32, %33 br i1 %34, label %28, label %._crit_edge18, !llvm.loop !6 ._crit_edge18: ; preds = %28 br label %35 35: ; preds = %._crit_edge18, %24 %36 = call i32 @printf(ptr noundef @.str.5) %37 = load i32, ptr %4, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %4, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %2, align 4 %41 = icmp sle i32 %39, %40 br i1 %41, label %24, label %._crit_edge21, !llvm.loop !8 ._crit_edge21: ; preds = %35 br label %42 42: ; preds = %._crit_edge21, %20 br label %139 43: ; preds = %18 %44 = load i32, ptr %4, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp sle i32 %44, %45 br i1 %46, label %.lr.ph14, label %84 .lr.ph14: ; preds = %43 br label %47 47: ; preds = %.lr.ph14, %77 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %48 = load i32, ptr %5, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %.lr.ph11, label %77 .lr.ph11: ; preds = %47 br label %51 51: ; preds = %.lr.ph11, %71 %52 = load i32, ptr %5, align 4 %53 = load i32, ptr %2, align 4 %54 = srem i32 %52, %53 store i32 %54, ptr %6, align 4 %55 = load i32, ptr %6, align 4 %56 = icmp eq i32 %55, 0 br i1 %56, label %67, label %57 57: ; preds = %51 %58 = load i32, ptr %6, align 4 %59 = icmp eq i32 %58, 1 br i1 %59, label %67, label %60 60: ; preds = %57 %61 = load i32, ptr %4, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %67, label %63 63: ; preds = %60 %64 = load i32, ptr %4, align 4 %65 = load i32, ptr %2, align 4 %66 = icmp eq i32 %64, %65 br i1 %66, label %67, label %69 67: ; preds = %63, %60, %57, %51 %68 = call i32 @printf(ptr noundef @.str.4) br label %71 69: ; preds = %63 %70 = call i32 @printf(ptr noundef @.str.6) br label %71 71: ; preds = %69, %67 %72 = load i32, ptr %5, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %5, align 4 %74 = load i32, ptr %5, align 4 %75 = load i32, ptr %2, align 4 %76 = icmp sle i32 %74, %75 br i1 %76, label %51, label %._crit_edge12, !llvm.loop !9 ._crit_edge12: ; preds = %71 br label %77 77: ; preds = %._crit_edge12, %47 %78 = call i32 @printf(ptr noundef @.str.5) %79 = load i32, ptr %4, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %4, align 4 %81 = load i32, ptr %4, align 4 %82 = load i32, ptr %2, align 4 %83 = icmp sle i32 %81, %82 br i1 %83, label %47, label %._crit_edge15, !llvm.loop !10 ._crit_edge15: ; preds = %77 br label %84 84: ; preds = %._crit_edge15, %43 br label %139 85: ; preds = %18 %86 = load i32, ptr %4, align 4 %87 = load i32, ptr %2, align 4 %88 = icmp sle i32 %86, %87 br i1 %88, label %.lr.ph8, label %107 .lr.ph8: ; preds = %85 br label %89 89: ; preds = %.lr.ph8, %100 store i32 1, ptr %5, align 4 %90 = load i32, ptr %5, align 4 %91 = load i32, ptr %4, align 4 %92 = icmp sle i32 %90, %91 br i1 %92, label %.lr.ph5, label %100 .lr.ph5: ; preds = %89 br label %93 93: ; preds = %.lr.ph5, %93 %94 = call i32 @printf(ptr noundef @.str.4) %95 = load i32, ptr %5, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %5, align 4 %97 = load i32, ptr %5, align 4 %98 = load i32, ptr %4, align 4 %99 = icmp sle i32 %97, %98 br i1 %99, label %93, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %93 br label %100 100: ; preds = %._crit_edge6, %89 %101 = call i32 @printf(ptr noundef @.str.5) %102 = load i32, ptr %4, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %4, align 4 %104 = load i32, ptr %4, align 4 %105 = load i32, ptr %2, align 4 %106 = icmp sle i32 %104, %105 br i1 %106, label %89, label %._crit_edge9, !llvm.loop !12 ._crit_edge9: ; preds = %100 br label %107 107: ; preds = %._crit_edge9, %85 br label %139 108: ; preds = %18 %109 = load i32, ptr %4, align 4 %110 = load i32, ptr %2, align 4 %111 = icmp sle i32 %109, %110 br i1 %111, label %.lr.ph2, label %137 .lr.ph2: ; preds = %108 br label %112 112: ; preds = %.lr.ph2, %130 store i32 1, ptr %5, align 4 %113 = load i32, ptr %5, align 4 %114 = load i32, ptr %2, align 4 %115 = icmp sle i32 %113, %114 br i1 %115, label %.lr.ph, label %130 .lr.ph: ; preds = %112 br label %116 116: ; preds = %.lr.ph, %124 %117 = load i32, ptr %5, align 4 %118 = load i32, ptr %4, align 4 %119 = icmp sle i32 %117, %118 br i1 %119, label %120, label %122 120: ; preds = %116 %121 = call i32 @printf(ptr noundef @.str.4) br label %124 122: ; preds = %116 %123 = call i32 @printf(ptr noundef @.str.7) br label %124 124: ; preds = %122, %120 %125 = load i32, ptr %5, align 4 %126 = add nsw i32 %125, 1 store i32 %126, ptr %5, align 4 %127 = load i32, ptr %5, align 4 %128 = load i32, ptr %2, align 4 %129 = icmp sle i32 %127, %128 br i1 %129, label %116, label %._crit_edge, !llvm.loop !13 ._crit_edge: ; preds = %124 br label %130 130: ; preds = %._crit_edge, %112 %131 = call i32 @printf(ptr noundef @.str.5) %132 = load i32, ptr %4, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %4, align 4 %134 = load i32, ptr %4, align 4 %135 = load i32, ptr %2, align 4 %136 = icmp sle i32 %134, %135 br i1 %136, label %112, label %._crit_edge3, !llvm.loop !14 ._crit_edge3: ; preds = %130 br label %137 137: ; preds = %._crit_edge3, %108 br label %139 138: ; preds = %18 store i32 1, ptr %1, align 4 br label %140 139: ; preds = %137, %107, %84, %42 store i32 0, ptr %1, align 4 br label %140 140: ; preds = %139, %138 %141 = load i32, ptr %1, align 4 ret i32 %141 } 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} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmp559j77ap.c' source_filename = "/tmp/tmp559j77ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = 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 i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [15 x ptr], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [15 x i32], align 16 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 %13, align 4 store i32 2, ptr %6, align 4 br label %16 16: ; preds = %54, %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %57 20: ; preds = %16 %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 @atoi(ptr noundef %25) %27 = load i32, ptr %6, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %28 store i32 %26, ptr %29, align 4 %30 = load i32, ptr %6, align 4 %31 = icmp eq i32 %30, 2 br i1 %31, label %32, label %37 32: ; preds = %20 %33 = load i32, ptr %6, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %34 %36 = load i32, ptr %35, align 4 store i32 %36, ptr %13, align 4 br label %53 37: ; preds = %20 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %39 %41 = load i32, ptr %40, align 4 %42 = load i32, ptr %13, align 4 %43 = icmp sgt i32 %41, %42 br i1 %43, label %44, label %49 44: ; preds = %37 %45 = load i32, ptr %6, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %46 %48 = load i32, ptr %47, align 4 br label %51 49: ; preds = %37 %50 = load i32, ptr %13, align 4 br label %51 51: ; preds = %49, %44 %52 = phi i32 [ %48, %44 ], [ %50, %49 ] store i32 %52, ptr %13, align 4 br label %53 53: ; preds = %51, %32 br label %54 54: ; preds = %53 %55 = load i32, ptr %6, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %6, align 4 br label %16, !llvm.loop !6 57: ; preds = %16 %58 = call ptr @malloc(i32 noundef 1048576) store ptr %58, ptr %7, align 8 %59 = call ptr @malloc(i32 noundef 1048576) store ptr %59, ptr %8, align 8 %60 = load ptr, ptr %5, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %61, align 8 %63 = call ptr @fopen(ptr noundef %62, ptr noundef @.str) store ptr %63, ptr %9, align 8 %64 = load ptr, ptr %9, align 8 %65 = load ptr, ptr %8, align 8 %66 = call i32 @setbuffer(ptr noundef %64, ptr noundef %65, i32 noundef 1048576) br label %67 67: ; preds = %144, %57 %68 = load ptr, ptr %7, align 8 %69 = load ptr, ptr %9, align 8 %70 = call ptr @fgets(ptr noundef %68, i32 noundef 1048576, ptr noundef %69) %71 = icmp ne ptr %70, null br i1 %71, label %72, label %147 72: ; preds = %67 store i32 1, ptr %12, align 4 %73 = load ptr, ptr %7, align 8 %74 = getelementptr inbounds [15 x ptr], ptr %10, i64 0, i64 0 store ptr %73, ptr %74, align 16 store i32 0, ptr %11, align 4 br label %75 75: ; preds = %112, %72 %76 = load ptr, ptr %7, align 8 %77 = load i32, ptr %11, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i8, ptr %79, align 1 %81 = sext i8 %80 to i32 %82 = icmp ne i32 %81, 0 br i1 %82, label %83, label %87 83: ; preds = %75 %84 = load i32, ptr %12, align 4 %85 = load i32, ptr %13, align 4 %86 = icmp sle i32 %84, %85 br label %87 87: ; preds = %83, %75 %88 = phi i1 [ false, %75 ], [ %86, %83 ] br i1 %88, label %89, label %115 89: ; preds = %87 %90 = load ptr, ptr %7, align 8 %91 = load i32, ptr %11, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %90, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp eq i32 %95, 124 br i1 %96, label %97, label %112 97: ; preds = %89 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %11, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i8, ptr %98, i64 %100 store i8 0, ptr %101, align 1 %102 = load ptr, ptr %7, align 8 %103 = load i32, ptr %11, align 4 %104 = add nsw i32 %103, 1 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %102, i64 %105 %107 = load i32, ptr %12, align 4 %108 = sext i32 %107 to i64 %109 = getelementptr inbounds [15 x ptr], ptr %10, i64 0, i64 %108 store ptr %106, ptr %109, align 8 %110 = load i32, ptr %12, align 4 %111 = add nsw i32 %110, 1 store i32 %111, ptr %12, align 4 br label %112 112: ; preds = %97, %89 %113 = load i32, ptr %11, align 4 %114 = add nsw i32 %113, 1 store i32 %114, ptr %11, align 4 br label %75, !llvm.loop !8 115: ; preds = %87 store i32 2, ptr %6, align 4 br label %116 116: ; preds = %141, %115 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %4, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %120, label %144 120: ; preds = %116 %121 = load i32, ptr %6, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 store i32 %124, ptr %14, align 4 %125 = load i32, ptr %14, align 4 %126 = load i32, ptr %12, align 4 %127 = icmp sge i32 %125, %126 br i1 %127, label %128, label %131 128: ; preds = %120 %129 = load i32, ptr @stdout, align 4 %130 = call i32 @putc(i8 noundef signext 124, i32 noundef %129) br label %141 131: ; preds = %120 %132 = load i32, ptr %14, align 4 %133 = sub nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [15 x ptr], ptr %10, i64 0, i64 %134 %136 = load ptr, ptr %135, align 8 %137 = load i32, ptr @stdout, align 4 %138 = call i32 @fputs(ptr noundef %136, i32 noundef %137) %139 = load i32, ptr @stdout, align 4 %140 = call i32 @putc(i8 noundef signext 124, i32 noundef %139) br label %141 141: ; preds = %131, %128 %142 = load i32, ptr %6, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %6, align 4 br label %116, !llvm.loop !9 144: ; preds = %116 %145 = load i32, ptr @stdout, align 4 %146 = call i32 @putc(i8 noundef signext 10, i32 noundef %145) br label %67, !llvm.loop !10 147: ; preds = %67 %148 = load ptr, ptr %9, align 8 %149 = call i32 @fclose(ptr noundef %148) %150 = load ptr, ptr %8, align 8 %151 = call i32 @free(ptr noundef %150) %152 = load ptr, ptr %7, align 8 %153 = call i32 @free(ptr noundef %152) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @setbuffer(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp559j77ap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @stdout = 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 i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca [15 x ptr], align 16 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca [15 x i32], align 16 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 %13, align 4 store i32 2, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph, label %59 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %53 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @atoi(ptr noundef %24) %26 = load i32, ptr %6, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %27 store i32 %25, ptr %28, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp eq i32 %29, 2 br i1 %30, label %31, label %36 31: ; preds = %19 %32 = load i32, ptr %6, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %33 %35 = load i32, ptr %34, align 4 store i32 %35, ptr %13, align 4 br label %52 36: ; preds = %19 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load i32, ptr %13, align 4 %42 = icmp sgt i32 %40, %41 br i1 %42, label %43, label %48 43: ; preds = %36 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %45 %47 = load i32, ptr %46, align 4 br label %50 48: ; preds = %36 %49 = load i32, ptr %13, align 4 br label %50 50: ; preds = %48, %43 %51 = phi i32 [ %47, %43 ], [ %49, %48 ] store i32 %51, ptr %13, align 4 br label %52 52: ; preds = %50, %31 br label %53 53: ; preds = %52 %54 = load i32, ptr %6, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %6, align 4 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %4, align 4 %58 = icmp slt i32 %56, %57 br i1 %58, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %59 59: ; preds = %._crit_edge, %2 %60 = call ptr @malloc(i32 noundef 1048576) store ptr %60, ptr %7, align 8 %61 = call ptr @malloc(i32 noundef 1048576) store ptr %61, ptr %8, align 8 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 %65 = call ptr @fopen(ptr noundef %64, ptr noundef @.str) store ptr %65, ptr %9, align 8 %66 = load ptr, ptr %9, align 8 %67 = load ptr, ptr %8, align 8 %68 = call i32 @setbuffer(ptr noundef %66, ptr noundef %67, i32 noundef 1048576) %69 = load ptr, ptr %7, align 8 %70 = load ptr, ptr %9, align 8 %71 = call ptr @fgets(ptr noundef %69, i32 noundef 1048576, ptr noundef %70) %72 = icmp ne ptr %71, null br i1 %72, label %.lr.ph5, label %154 .lr.ph5: ; preds = %59 br label %73 73: ; preds = %.lr.ph5, %147 store i32 1, ptr %12, align 4 %74 = load ptr, ptr %7, align 8 %75 = getelementptr inbounds [15 x ptr], ptr %10, i64 0, i64 0 store ptr %74, ptr %75, align 16 store i32 0, ptr %11, align 4 br label %76 76: ; preds = %113, %73 %77 = load ptr, ptr %7, align 8 %78 = load i32, ptr %11, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i8, ptr %77, i64 %79 %81 = load i8, ptr %80, align 1 %82 = sext i8 %81 to i32 %83 = icmp ne i32 %82, 0 br i1 %83, label %84, label %88 84: ; preds = %76 %85 = load i32, ptr %12, align 4 %86 = load i32, ptr %13, align 4 %87 = icmp sle i32 %85, %86 br label %88 88: ; preds = %84, %76 %89 = phi i1 [ false, %76 ], [ %87, %84 ] br i1 %89, label %90, label %116 90: ; preds = %88 %91 = load ptr, ptr %7, align 8 %92 = load i32, ptr %11, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %91, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp eq i32 %96, 124 br i1 %97, label %98, label %113 98: ; preds = %90 %99 = load ptr, ptr %7, align 8 %100 = load i32, ptr %11, align 4 %101 = sext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %99, i64 %101 store i8 0, ptr %102, align 1 %103 = load ptr, ptr %7, align 8 %104 = load i32, ptr %11, align 4 %105 = add nsw i32 %104, 1 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %103, i64 %106 %108 = load i32, ptr %12, align 4 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds [15 x ptr], ptr %10, i64 0, i64 %109 store ptr %107, ptr %110, align 8 %111 = load i32, ptr %12, align 4 %112 = add nsw i32 %111, 1 store i32 %112, ptr %12, align 4 br label %113 113: ; preds = %98, %90 %114 = load i32, ptr %11, align 4 %115 = add nsw i32 %114, 1 store i32 %115, ptr %11, align 4 br label %76, !llvm.loop !8 116: ; preds = %88 store i32 2, ptr %6, align 4 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %4, align 4 %119 = icmp slt i32 %117, %118 br i1 %119, label %.lr.ph2, label %147 .lr.ph2: ; preds = %116 br label %120 120: ; preds = %.lr.ph2, %141 %121 = load i32, ptr %6, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds [15 x i32], ptr %15, i64 0, i64 %122 %124 = load i32, ptr %123, align 4 store i32 %124, ptr %14, align 4 %125 = load i32, ptr %14, align 4 %126 = load i32, ptr %12, align 4 %127 = icmp sge i32 %125, %126 br i1 %127, label %128, label %131 128: ; preds = %120 %129 = load i32, ptr @stdout, align 4 %130 = call i32 @putc(i8 noundef signext 124, i32 noundef %129) br label %141 131: ; preds = %120 %132 = load i32, ptr %14, align 4 %133 = sub nsw i32 %132, 1 %134 = sext i32 %133 to i64 %135 = getelementptr inbounds [15 x ptr], ptr %10, i64 0, i64 %134 %136 = load ptr, ptr %135, align 8 %137 = load i32, ptr @stdout, align 4 %138 = call i32 @fputs(ptr noundef %136, i32 noundef %137) %139 = load i32, ptr @stdout, align 4 %140 = call i32 @putc(i8 noundef signext 124, i32 noundef %139) br label %141 141: ; preds = %131, %128 %142 = load i32, ptr %6, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %6, align 4 %144 = load i32, ptr %6, align 4 %145 = load i32, ptr %4, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %120, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %141 br label %147 147: ; preds = %._crit_edge3, %116 %148 = load i32, ptr @stdout, align 4 %149 = call i32 @putc(i8 noundef signext 10, i32 noundef %148) %150 = load ptr, ptr %7, align 8 %151 = load ptr, ptr %9, align 8 %152 = call ptr @fgets(ptr noundef %150, i32 noundef 1048576, ptr noundef %151) %153 = icmp ne ptr %152, null br i1 %153, label %73, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %147 br label %154 154: ; preds = %._crit_edge6, %59 %155 = load ptr, ptr %9, align 8 %156 = call i32 @fclose(ptr noundef %155) %157 = load ptr, ptr %8, align 8 %158 = call i32 @free(ptr noundef %157) %159 = load ptr, ptr %7, align 8 %160 = call i32 @free(ptr noundef %159) ret i32 0 } declare i32 @atoi(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @setbuffer(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @putc(i8 noundef signext, i32 noundef) #1 declare i32 @fputs(ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmpw24v7epq.c' source_filename = "/tmp/tmpw24v7epq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntDisable(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 458752 %7 = ashr i32 %6, 16 %8 = xor i32 %7, -1 %9 = sext i32 %8 to i64 %10 = load i32, ptr %3, align 4 %11 = add i32 %10, -32720 %12 = zext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i64, ptr %13, align 8 %15 = and i64 %14, %9 store volatile i64 %15, ptr %13, align 8 %16 = load i32, ptr %4, align 4 %17 = and i32 %16, 65535 %18 = xor i32 %17, -1 %19 = sext i32 %18 to i64 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 64 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load volatile i64, ptr %23, align 8 %25 = and i64 %24, %19 store volatile i64 %25, ptr %23, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw24v7epq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DESIntDisable(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = and i32 %5, 458752 %7 = ashr i32 %6, 16 %8 = xor i32 %7, -1 %9 = sext i32 %8 to i64 %10 = load i32, ptr %3, align 4 %11 = add i32 %10, -32720 %12 = zext i32 %11 to i64 %13 = inttoptr i64 %12 to ptr %14 = load volatile i64, ptr %13, align 8 %15 = and i64 %14, %9 store volatile i64 %15, ptr %13, align 8 %16 = load i32, ptr %4, align 4 %17 = and i32 %16, 65535 %18 = xor i32 %17, -1 %19 = sext i32 %18 to i64 %20 = load i32, ptr %3, align 4 %21 = add nsw i32 %20, 64 %22 = sext i32 %21 to i64 %23 = inttoptr i64 %22 to ptr %24 = load volatile i64, ptr %23, align 8 %25 = and i64 %24, %19 store volatile i64 %25, ptr %23, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpib7ec1da.c' source_filename = "/tmp/tmpib7ec1da.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [500 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %6, align 4 br label %8 8: ; preds = %17, %0 %9 = load i32, ptr %6, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %20 12: ; preds = %8 %13 = load i32, ptr %6, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %6, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %6, align 4 br label %8, !llvm.loop !6 20: ; preds = %8 %21 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 0 %22 = load i32, ptr %3, align 4 %23 = call i32 @minmax(ptr noundef %21, i32 noundef %22, ptr noundef %4, ptr noundef %5) %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %24, %25 %27 = call i32 @printf(ptr noundef @.str, i32 noundef %26) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpib7ec1da.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [500 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 0, ptr %1, align 4 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %6, align 4 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %3, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %16 %12 = load i32, ptr %6, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 %13 %15 = call i32 @scanf(ptr noundef @.str, ptr noundef %14) br label %16 16: ; preds = %11 %17 = load i32, ptr %6, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %6, align 4 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = getelementptr inbounds [500 x i32], ptr %2, i64 0, i64 0 %24 = load i32, ptr %3, align 4 %25 = call i32 @minmax(ptr noundef %23, i32 noundef %24, ptr noundef %4, ptr noundef %5) %26 = load i32, ptr %4, align 4 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %26, %27 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0eo7pe3d.c' source_filename = "/tmp/tmp0eo7pe3d.c" target datalayout = "e-m:e-p270: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/tmp0eo7pe3d.c" target datalayout = "e-m:e-p270: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/tmp13u6pve_.c' source_filename = "/tmp/tmp13u6pve_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_usb_fdd(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @is_sd_device(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @is_sg_device(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10, %1 store i32 -1, ptr %2, align 4 br label %32 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %18 store i32 0, ptr %2, align 4 br label %32 22: ; preds = %18, %15 %23 = load ptr, ptr %3, align 8 %24 = call i32 @get_id_lun(ptr noundef %23) store i32 %24, ptr %4, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 -1, ptr %2, align 4 br label %32 27: ; preds = %22 %28 = load i32, ptr %4, align 4 %29 = ashr i32 %28, 24 %30 = and i32 %29, 255 %31 = call i32 @is_usb_fdd_for_host(i32 noundef %30) store i32 %31, ptr %2, align 4 br label %32 32: ; preds = %27, %26, %21, %14 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i32 @is_sd_device(ptr noundef) #1 declare i32 @is_sg_device(ptr noundef) #1 declare i32 @get_id_lun(ptr noundef) #1 declare i32 @is_usb_fdd_for_host(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/tmp13u6pve_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_usb_fdd(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %7 = load ptr, ptr %3, align 8 %8 = call i32 @is_sd_device(ptr noundef %7) store i32 %8, ptr %5, align 4 %9 = icmp slt i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %1 %11 = load ptr, ptr %3, align 8 %12 = call i32 @is_sg_device(ptr noundef %11) store i32 %12, ptr %6, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %10, %1 store i32 -1, ptr %2, align 4 br label %32 15: ; preds = %10 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %18 store i32 0, ptr %2, align 4 br label %32 22: ; preds = %18, %15 %23 = load ptr, ptr %3, align 8 %24 = call i32 @get_id_lun(ptr noundef %23) store i32 %24, ptr %4, align 4 %25 = icmp eq i32 %24, -1 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 -1, ptr %2, align 4 br label %32 27: ; preds = %22 %28 = load i32, ptr %4, align 4 %29 = ashr i32 %28, 24 %30 = and i32 %29, 255 %31 = call i32 @is_usb_fdd_for_host(i32 noundef %30) store i32 %31, ptr %2, align 4 br label %32 32: ; preds = %27, %26, %21, %14 %33 = load i32, ptr %2, align 4 ret i32 %33 } declare i32 @is_sd_device(ptr noundef) #1 declare i32 @is_sg_device(ptr noundef) #1 declare i32 @get_id_lun(ptr noundef) #1 declare i32 @is_usb_fdd_for_host(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/tmpf5purtdk.c' source_filename = "/tmp/tmpf5purtdk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"{\22hkey\22:\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c",\22hval\22:\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"},\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hash_val(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %11, align 8 %13 = load ptr, ptr %11, align 8 %14 = call i32 @fputs(ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = load ptr, ptr %11, align 8 %18 = call i32 @fwrite_repr(ptr noundef %15, i32 noundef %16, ptr noundef %17) %19 = load ptr, ptr %11, align 8 %20 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %19) %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %10, align 4 %23 = load ptr, ptr %11, align 8 %24 = call i32 @fwrite_repr(ptr noundef %21, i32 noundef %22, ptr noundef %23) %25 = load ptr, ptr %11, align 8 %26 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %25) ret i32 0 } declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fwrite_repr(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf5purtdk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"{\22hkey\22:\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c",\22hval\22:\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"},\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @hash_val(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store i32 %4, ptr %10, align 4 %12 = load ptr, ptr %6, align 8 store ptr %12, ptr %11, align 8 %13 = load ptr, ptr %11, align 8 %14 = call i32 @fputs(ptr noundef @.str, ptr noundef %13) %15 = load ptr, ptr %7, align 8 %16 = load i32, ptr %8, align 4 %17 = load ptr, ptr %11, align 8 %18 = call i32 @fwrite_repr(ptr noundef %15, i32 noundef %16, ptr noundef %17) %19 = load ptr, ptr %11, align 8 %20 = call i32 @fputs(ptr noundef @.str.1, ptr noundef %19) %21 = load ptr, ptr %9, align 8 %22 = load i32, ptr %10, align 4 %23 = load ptr, ptr %11, align 8 %24 = call i32 @fwrite_repr(ptr noundef %21, i32 noundef %22, ptr noundef %23) %25 = load ptr, ptr %11, align 8 %26 = call i32 @fputs(ptr noundef @.str.2, ptr noundef %25) ret i32 0 } declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fwrite_repr(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcmlf7qwj.c' source_filename = "/tmp/tmpcmlf7qwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_q_hex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %7 = load i64, ptr %2, align 8 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %2, align 8 store i64 %8, ptr %5, align 8 %9 = call i32 @output_char(i64 noundef 48) %10 = call i32 @output_char(i64 noundef 120) store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %11 11: ; preds = %25, %1 %12 = load i64, ptr %3, align 8 %13 = and i64 %12, 15 store i64 %13, ptr %4, align 8 %14 = load i64, ptr %3, align 8 %15 = sdiv i64 %14, 16 store i64 %15, ptr %3, align 8 %16 = load i64, ptr %5, align 8 %17 = mul nsw i64 %16, 16 store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %4, align 8 %20 = add nsw i64 %18, %19 store i64 %20, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = add nsw i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = icmp slt i64 %23, 15 br i1 %24, label %25, label %26 25: ; preds = %11 br label %11 26: ; preds = %11 store i64 0, ptr %6, align 8 br label %27 27: ; preds = %47, %26 %28 = load i64, ptr %5, align 8 %29 = and i64 %28, 15 store i64 %29, ptr %4, align 8 %30 = load i64, ptr %5, align 8 %31 = sdiv i64 %30, 16 store i64 %31, ptr %5, align 8 %32 = load i64, ptr %4, align 8 %33 = icmp slt i64 %32, 10 br i1 %33, label %34, label %37 34: ; preds = %27 %35 = load i64, ptr %4, align 8 %36 = add nsw i64 %35, 48 store i64 %36, ptr %4, align 8 br label %40 37: ; preds = %27 %38 = load i64, ptr %4, align 8 %39 = add nsw i64 %38, 55 store i64 %39, ptr %4, align 8 br label %40 40: ; preds = %37, %34 %41 = load i64, ptr %4, align 8 %42 = call i32 @output_char(i64 noundef %41) %43 = load i64, ptr %6, align 8 %44 = add nsw i64 %43, 1 store i64 %44, ptr %6, align 8 %45 = load i64, ptr %6, align 8 %46 = icmp slt i64 %45, 15 br i1 %46, label %47, label %48 47: ; preds = %40 br label %27 48: ; preds = %40 ret void } declare i32 @output_char(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/tmpcmlf7qwj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @output_q_hex(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %7 = load i64, ptr %2, align 8 store i64 %7, ptr %3, align 8 %8 = load i64, ptr %2, align 8 store i64 %8, ptr %5, align 8 %9 = call i32 @output_char(i64 noundef 48) %10 = call i32 @output_char(i64 noundef 120) store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 br label %11 11: ; preds = %11, %1 %12 = load i64, ptr %3, align 8 %13 = and i64 %12, 15 store i64 %13, ptr %4, align 8 %14 = load i64, ptr %3, align 8 %15 = sdiv i64 %14, 16 store i64 %15, ptr %3, align 8 %16 = load i64, ptr %5, align 8 %17 = mul nsw i64 %16, 16 store i64 %17, ptr %5, align 8 %18 = load i64, ptr %5, align 8 %19 = load i64, ptr %4, align 8 %20 = add nsw i64 %18, %19 store i64 %20, ptr %5, align 8 %21 = load i64, ptr %6, align 8 %22 = add nsw i64 %21, 1 store i64 %22, ptr %6, align 8 %23 = load i64, ptr %6, align 8 %24 = icmp slt i64 %23, 15 br i1 %24, label %11, label %25 25: ; preds = %11 store i64 0, ptr %6, align 8 br label %26 26: ; preds = %39, %25 %27 = load i64, ptr %5, align 8 %28 = and i64 %27, 15 store i64 %28, ptr %4, align 8 %29 = load i64, ptr %5, align 8 %30 = sdiv i64 %29, 16 store i64 %30, ptr %5, align 8 %31 = load i64, ptr %4, align 8 %32 = icmp slt i64 %31, 10 br i1 %32, label %33, label %36 33: ; preds = %26 %34 = load i64, ptr %4, align 8 %35 = add nsw i64 %34, 48 store i64 %35, ptr %4, align 8 br label %39 36: ; preds = %26 %37 = load i64, ptr %4, align 8 %38 = add nsw i64 %37, 55 store i64 %38, ptr %4, align 8 br label %39 39: ; preds = %36, %33 %40 = load i64, ptr %4, align 8 %41 = call i32 @output_char(i64 noundef %40) %42 = load i64, ptr %6, align 8 %43 = add nsw i64 %42, 1 store i64 %43, ptr %6, align 8 %44 = load i64, ptr %6, align 8 %45 = icmp slt i64 %44, 15 br i1 %45, label %26, label %46 46: ; preds = %39 ret void } declare i32 @output_char(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/tmpetmh_8ey.c' source_filename = "/tmp/tmpetmh_8ey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str0_double(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %61 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 0 %14 = load i8, ptr %13, align 1 store i8 %14, ptr %6, align 1 %15 = load i8, ptr %6, align 1 %16 = call i64 @isdigit(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %31, label %18 18: ; preds = %11 %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 45 br i1 %21, label %31, label %22 22: ; preds = %18 %23 = load i8, ptr %6, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 46 br i1 %25, label %31, label %26 26: ; preds = %22 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 43 br i1 %29, label %31, label %30 30: ; preds = %26 store i8 0, ptr %6, align 1 br label %31 31: ; preds = %30, %26, %22, %18, %11 %32 = load i8, ptr %6, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 45 br i1 %34, label %35, label %48 35: ; preds = %31 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %6, align 1 %39 = load i8, ptr %6, align 1 %40 = call i64 @isdigit(i8 noundef signext %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %47, label %42 42: ; preds = %35 %43 = load i8, ptr %6, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 46 br i1 %45, label %47, label %46 46: ; preds = %42 store i8 0, ptr %6, align 1 br label %47 47: ; preds = %46, %42, %35 br label %48 48: ; preds = %47, %31 %49 = load i8, ptr %6, align 1 %50 = icmp ne i8 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = load ptr, ptr %4, align 8 %53 = call double @strtod(ptr noundef %52, ptr noundef %7) %54 = load ptr, ptr %5, align 8 store double %53, ptr %54, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = zext i1 %58 to i32 store i32 %59, ptr %3, align 4 br label %61 60: ; preds = %48 store i32 0, ptr %3, align 4 br label %61 61: ; preds = %60, %51, %10 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i64 @isdigit(i8 noundef signext) #1 declare double @strtod(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/tmpetmh_8ey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str0_double(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %11 10: ; preds = %2 store i32 0, ptr %3, align 4 br label %61 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 0 %14 = load i8, ptr %13, align 1 store i8 %14, ptr %6, align 1 %15 = load i8, ptr %6, align 1 %16 = call i64 @isdigit(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %31, label %18 18: ; preds = %11 %19 = load i8, ptr %6, align 1 %20 = sext i8 %19 to i32 %21 = icmp eq i32 %20, 45 br i1 %21, label %31, label %22 22: ; preds = %18 %23 = load i8, ptr %6, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 46 br i1 %25, label %31, label %26 26: ; preds = %22 %27 = load i8, ptr %6, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 43 br i1 %29, label %31, label %30 30: ; preds = %26 store i8 0, ptr %6, align 1 br label %31 31: ; preds = %30, %26, %22, %18, %11 %32 = load i8, ptr %6, align 1 %33 = sext i8 %32 to i32 %34 = icmp eq i32 %33, 45 br i1 %34, label %35, label %48 35: ; preds = %31 %36 = load ptr, ptr %4, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 1 %38 = load i8, ptr %37, align 1 store i8 %38, ptr %6, align 1 %39 = load i8, ptr %6, align 1 %40 = call i64 @isdigit(i8 noundef signext %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %47, label %42 42: ; preds = %35 %43 = load i8, ptr %6, align 1 %44 = sext i8 %43 to i32 %45 = icmp eq i32 %44, 46 br i1 %45, label %47, label %46 46: ; preds = %42 store i8 0, ptr %6, align 1 br label %47 47: ; preds = %46, %42, %35 br label %48 48: ; preds = %47, %31 %49 = load i8, ptr %6, align 1 %50 = icmp ne i8 %49, 0 br i1 %50, label %51, label %60 51: ; preds = %48 %52 = load ptr, ptr %4, align 8 %53 = call double @strtod(ptr noundef %52, ptr noundef %7) %54 = load ptr, ptr %5, align 8 store double %53, ptr %54, align 8 %55 = load ptr, ptr %7, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 0 %59 = zext i1 %58 to i32 store i32 %59, ptr %3, align 4 br label %61 60: ; preds = %48 store i32 0, ptr %3, align 4 br label %61 61: ; preds = %60, %51, %10 %62 = load i32, ptr %3, align 4 ret i32 %62 } declare i64 @isdigit(i8 noundef signext) #1 declare double @strtod(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/tmp4lvt3vke.c' source_filename = "/tmp/tmp4lvt3vke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASCII//TRANSLIT\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"WCHAR_T\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"%d characters not converted\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"iconv\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"%zu characters not converted\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"%zu characters not filled\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fatwstochar(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %20 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @wcslen(ptr noundef %17) %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %16, %4 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 4 store i64 %23, ptr %10, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 1 store i64 %26, ptr %11, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %20 %30 = load i64, ptr %11, align 8 %31 = call ptr @malloc(i64 noundef %30) store ptr %31, ptr %5, align 8 br label %32 32: ; preds = %29, %20 %33 = load ptr, ptr %5, align 8 store ptr %33, ptr %9, align 8 %34 = call i32 @iconv_open(ptr noundef @.str, ptr noundef @.str.1) store i32 %34, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = call i32 @iconv(i32 noundef %35, ptr noundef %6, ptr noundef %10, ptr noundef %9, ptr noundef %11) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %51 39: ; preds = %32 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = call i32 @printf(ptr noundef @.str.2, i64 noundef %41) %43 = load ptr, ptr %8, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %39 %46 = load i32, ptr %13, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, %46 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %45, %39 br label %66 51: ; preds = %32 %52 = load i32, ptr %13, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = call i32 @perror(ptr noundef @.str.3) %56 = load ptr, ptr %8, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %64 58: ; preds = %54 %59 = load i32, ptr @errno, align 4 %60 = mul nsw i32 1000, %59 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %61, align 4 %63 = add nsw i32 %62, %60 store i32 %63, ptr %61, align 4 br label %64 64: ; preds = %58, %54 br label %65 65: ; preds = %64, %51 br label %66 66: ; preds = %65, %50 %67 = load i32, ptr %12, align 4 %68 = call i32 @iconv_close(i32 noundef %67) %69 = load i64, ptr %10, align 8 %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load i64, ptr %10, align 8 %73 = call i32 @printf(ptr noundef @.str.4, i64 noundef %72) br label %74 74: ; preds = %71, %66 %75 = load i64, ptr %11, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load i64, ptr %11, align 8 %79 = call i32 @printf(ptr noundef @.str.5, i64 noundef %78) br label %80 80: ; preds = %77, %74 %81 = load ptr, ptr %5, align 8 ret ptr %81 } declare i32 @wcslen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @iconv_open(ptr noundef, ptr noundef) #1 declare i32 @iconv(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @iconv_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4lvt3vke.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ASCII//TRANSLIT\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"WCHAR_T\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"%d characters not converted\0A\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"iconv\00", align 1 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [30 x i8] c"%zu characters not converted\0A\00", align 1 @.str.5 = private unnamed_addr constant [27 x i8] c"%zu characters not filled\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @fatwstochar(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %14 = load i32, ptr %7, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %20 16: ; preds = %4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @wcslen(ptr noundef %17) %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %16, %4 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = mul i64 %22, 4 store i64 %23, ptr %10, align 8 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 1 store i64 %26, ptr %11, align 8 %27 = load ptr, ptr %5, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %32 29: ; preds = %20 %30 = load i64, ptr %11, align 8 %31 = call ptr @malloc(i64 noundef %30) store ptr %31, ptr %5, align 8 br label %32 32: ; preds = %29, %20 %33 = load ptr, ptr %5, align 8 store ptr %33, ptr %9, align 8 %34 = call i32 @iconv_open(ptr noundef @.str, ptr noundef @.str.1) store i32 %34, ptr %12, align 4 %35 = load i32, ptr %12, align 4 %36 = call i32 @iconv(i32 noundef %35, ptr noundef %6, ptr noundef %10, ptr noundef %9, ptr noundef %11) store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %51 39: ; preds = %32 %40 = load i32, ptr %13, align 4 %41 = sext i32 %40 to i64 %42 = call i32 @printf(ptr noundef @.str.2, i64 noundef %41) %43 = load ptr, ptr %8, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %50 45: ; preds = %39 %46 = load i32, ptr %13, align 4 %47 = load ptr, ptr %8, align 8 %48 = load i32, ptr %47, align 4 %49 = add nsw i32 %48, %46 store i32 %49, ptr %47, align 4 br label %50 50: ; preds = %45, %39 br label %66 51: ; preds = %32 %52 = load i32, ptr %13, align 4 %53 = icmp eq i32 %52, -1 br i1 %53, label %54, label %65 54: ; preds = %51 %55 = call i32 @perror(ptr noundef @.str.3) %56 = load ptr, ptr %8, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %64 58: ; preds = %54 %59 = load i32, ptr @errno, align 4 %60 = mul nsw i32 1000, %59 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr %61, align 4 %63 = add nsw i32 %62, %60 store i32 %63, ptr %61, align 4 br label %64 64: ; preds = %58, %54 br label %65 65: ; preds = %64, %51 br label %66 66: ; preds = %65, %50 %67 = load i32, ptr %12, align 4 %68 = call i32 @iconv_close(i32 noundef %67) %69 = load i64, ptr %10, align 8 %70 = icmp ne i64 %69, 0 br i1 %70, label %71, label %74 71: ; preds = %66 %72 = load i64, ptr %10, align 8 %73 = call i32 @printf(ptr noundef @.str.4, i64 noundef %72) br label %74 74: ; preds = %71, %66 %75 = load i64, ptr %11, align 8 %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %80 77: ; preds = %74 %78 = load i64, ptr %11, align 8 %79 = call i32 @printf(ptr noundef @.str.5, i64 noundef %78) br label %80 80: ; preds = %77, %74 %81 = load ptr, ptr %5, align 8 ret ptr %81 } declare i32 @wcslen(ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @iconv_open(ptr noundef, ptr noundef) #1 declare i32 @iconv(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @iconv_close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplelvpamb.c' source_filename = "/tmp/tmplelvpamb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%d;%d;%dm\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\1B[\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ansi_background(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = icmp sge i32 %4, 8 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 48, i32 noundef 5, i8 noundef zeroext %7) br label %14 9: ; preds = %1 %10 = load i8, ptr %2, align 1 %11 = zext i8 %10 to i32 %12 = add nsw i32 40, %11 %13 = call i32 @ansi_format(i32 noundef %12) br label %14 14: ; preds = %9, %6 ret void } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) #1 declare i32 @ansi_format(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/tmplelvpamb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s%d;%d;%dm\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"\1B[\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ansi_background(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = zext i8 %3 to i32 %5 = icmp sge i32 %4, 8 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = load i8, ptr %2, align 1 %8 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 48, i32 noundef 5, i8 noundef zeroext %7) br label %14 9: ; preds = %1 %10 = load i8, ptr %2, align 1 %11 = zext i8 %10 to i32 %12 = add nsw i32 40, %11 %13 = call i32 @ansi_format(i32 noundef %12) br label %14 14: ; preds = %9, %6 ret void } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i8 noundef zeroext) #1 declare i32 @ansi_format(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/tmpoe7wixvn.c' source_filename = "/tmp/tmpoe7wixvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Dabort exception!!!\0A\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HaltDabort() #0 { %1 = call i32 @BSP_UART_SendCongestionString(i32 noundef 0, ptr noundef @.str) br label %2 2: ; preds = %0, %2 br label %2 } declare i32 @BSP_UART_SendCongestionString(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/tmpoe7wixvn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Dabort exception!!!\0A\00\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @HaltDabort() #0 { %1 = call i32 @BSP_UART_SendCongestionString(i32 noundef 0, ptr noundef @.str) br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @BSP_UART_SendCongestionString(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/tmplmfypf5e.c' source_filename = "/tmp/tmplmfypf5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"recv a sig=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(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 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmplmfypf5e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"recv a sig=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @handler(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 @printf(ptr noundef @.str, i32 noundef %3) ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprewfhl49.c' source_filename = "/tmp/tmprewfhl49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Self-check failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Self-check passed\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Speed: %.1f MiB/s\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [8 x i32], align 16 %7 = alloca [16 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @self_check() %12 = icmp ne i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %37 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 32, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 64, i1 false) store i32 3000000, ptr %8, align 4 %17 = call double (...) @clock() store double %17, ptr %9, align 8 store i32 0, ptr %10, align 4 br label %18 18: ; preds = %25, %15 %19 = load i32, ptr %10, align 4 %20 = icmp slt i32 %19, 3000000 br i1 %20, label %21, label %28 21: ; preds = %18 %22 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0 %23 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 0 %24 = call i32 @sha512_compress(ptr noundef %22, ptr noundef %23) br label %25 25: ; preds = %21 %26 = load i32, ptr %10, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %10, align 4 br label %18, !llvm.loop !6 28: ; preds = %18 %29 = call double (...) @clock() %30 = load double, ptr %9, align 8 %31 = fsub double %29, %30 %32 = fdiv double 1.920000e+08, %31 %33 = load double, ptr @CLOCKS_PER_SEC, align 8 %34 = fmul double %32, %33 %35 = fdiv double %34, 0x4130000000000000 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %35) store i32 0, ptr %3, align 4 br label %37 37: ; preds = %28, %13 %38 = load i32, ptr %3, align 4 ret i32 %38 } declare i32 @self_check(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare double @clock(...) #1 declare i32 @sha512_compress(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 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprewfhl49.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [19 x i8] c"Self-check failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"Self-check passed\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"Speed: %.1f MiB/s\0A\00", align 1 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [8 x i32], align 16 %7 = alloca [16 x i32], align 16 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = call i32 (...) @self_check() %12 = icmp ne i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 1, ptr %3, align 4 br label %38 15: ; preds = %2 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 32, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 64, i1 false) store i32 3000000, ptr %8, align 4 %17 = call double (...) @clock() store double %17, ptr %9, align 8 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = icmp slt i32 %18, 3000000 br i1 %19, label %.lr.ph, label %29 .lr.ph: ; preds = %15 br label %20 20: ; preds = %.lr.ph, %24 %21 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 0 %22 = getelementptr inbounds [16 x i32], ptr %7, i64 0, i64 0 %23 = call i32 @sha512_compress(ptr noundef %21, ptr noundef %22) br label %24 24: ; preds = %20 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %10, align 4 %27 = load i32, ptr %10, align 4 %28 = icmp slt i32 %27, 3000000 br i1 %28, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %15 %30 = call double (...) @clock() %31 = load double, ptr %9, align 8 %32 = fsub double %30, %31 %33 = fdiv double 1.920000e+08, %32 %34 = load double, ptr @CLOCKS_PER_SEC, align 8 %35 = fmul double %33, %34 %36 = fdiv double %35, 0x4130000000000000 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %36) store i32 0, ptr %3, align 4 br label %38 38: ; preds = %29, %13 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i32 @self_check(...) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare double @clock(...) #1 declare i32 @sha512_compress(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 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkjab_pw1.c' source_filename = "/tmp/tmpkjab_pw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i32 } ; 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.sockaddr, 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 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 store i32 42, ptr %6, align 4 store i32 4, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = call i64 @accept(i32 noundef %11, ptr noundef %7, ptr noundef %8) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 1, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @accept(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/tmpkjab_pw1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr = type { i32 } ; 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.sockaddr, 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 = load i32, ptr %4, align 4 %10 = load ptr, ptr %5, align 8 store i32 42, ptr %6, align 4 store i32 4, ptr %8, align 4 %11 = load i32, ptr %6, align 4 %12 = call i64 @accept(i32 noundef %11, ptr noundef %7, ptr noundef %8) %13 = icmp slt i64 %12, 0 br i1 %13, label %14, label %15 14: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 1, ptr %3, align 4 br label %16 16: ; preds = %15, %14 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i64 @accept(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/tmpwa6iz6nt.c' source_filename = "/tmp/tmpwa6iz6nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_NPROCESSORS_ONLN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"_SC_NPROCESSORS_ONLN: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @_SC_NPROCESSORS_ONLN, align 4 %4 = call i32 @sysconf(i32 noundef %3) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @sysconf(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwa6iz6nt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @_SC_NPROCESSORS_ONLN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"_SC_NPROCESSORS_ONLN: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr @_SC_NPROCESSORS_ONLN, align 4 %4 = call i32 @sysconf(i32 noundef %3) store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = call i32 @printf(ptr noundef @.str, i32 noundef %5) ret i32 0 } declare i32 @sysconf(i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz2erxuc5.c' source_filename = "/tmp/tmpz2erxuc5.c" target datalayout = "e-m:e-p270: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/tmpz2erxuc5.c" target datalayout = "e-m:e-p270: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/tmp6yc06agl.c' source_filename = "/tmp/tmp6yc06agl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @metil_mpi_recv(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = call i32 @assert(i32 noundef 0) %11 = load i32, ptr %5, align 4 ret i32 %11 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6yc06agl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @metil_mpi_recv(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = call i32 @assert(i32 noundef 0) %11 = load i32, ptr %5, align 4 ret i32 %11 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiob3r95a.c' source_filename = "/tmp/tmpiob3r95a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Enter initial approximation for x and y:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"x: %f;\09 dx: %f;\0Ay: %f;\09 dy: %f\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"x: %f;\09 dx: %f;\0Ay: %f;\09 dy: %f;\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) br label %13 13: ; preds = %86, %0 %14 = load float, ptr %2, align 4 %15 = fpext float %14 to double %16 = load float, ptr %8, align 4 %17 = fpext float %16 to double %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = load float, ptr %9, align 4 %21 = fpext float %20 to double %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15, double noundef %17, double noundef %19, double noundef %21) %23 = load float, ptr %2, align 4 %24 = load float, ptr %3, align 4 %25 = call float @f1(float noundef %23, float noundef %24) store float %25, ptr %6, align 4 %26 = load float, ptr %2, align 4 %27 = load float, ptr %3, align 4 %28 = call float @f2(float noundef %26, float noundef %27) store float %28, ptr %7, align 4 %29 = load float, ptr %2, align 4 %30 = load float, ptr %3, align 4 %31 = call float @jacobian(float noundef %29, float noundef %30) store float %31, ptr %10, align 4 %32 = load float, ptr %7, align 4 %33 = load float, ptr %2, align 4 %34 = load float, ptr %3, align 4 %35 = call float @df1y(float noundef %33, float noundef %34) %36 = load float, ptr %6, align 4 %37 = load float, ptr %2, align 4 %38 = load float, ptr %3, align 4 %39 = call float @df2y(float noundef %37, float noundef %38) %40 = fmul float %36, %39 %41 = fneg float %40 %42 = call float @llvm.fmuladd.f32(float %32, float %35, float %41) %43 = load float, ptr %10, align 4 %44 = fdiv float %42, %43 store float %44, ptr %8, align 4 %45 = load float, ptr %6, align 4 %46 = load float, ptr %2, align 4 %47 = load float, ptr %3, align 4 %48 = call float @df2x(float noundef %46, float noundef %47) %49 = load float, ptr %7, align 4 %50 = load float, ptr %2, align 4 %51 = load float, ptr %3, align 4 %52 = call float @df1x(float noundef %50, float noundef %51) %53 = fmul float %49, %52 %54 = fneg float %53 %55 = call float @llvm.fmuladd.f32(float %45, float %48, float %54) %56 = load float, ptr %10, align 4 %57 = fdiv float %55, %56 store float %57, ptr %9, align 4 %58 = load float, ptr %2, align 4 %59 = load float, ptr %8, align 4 %60 = fadd float %58, %59 store float %60, ptr %2, align 4 %61 = load float, ptr %3, align 4 %62 = load float, ptr %9, align 4 %63 = fadd float %61, %62 store float %63, ptr %3, align 4 %64 = load float, ptr %2, align 4 %65 = fpext float %64 to double %66 = load float, ptr %8, align 4 %67 = fpext float %66 to double %68 = load float, ptr %3, align 4 %69 = fpext float %68 to double %70 = load float, ptr %9, align 4 %71 = fpext float %70 to double %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %65, double noundef %67, double noundef %69, double noundef %71) %73 = load float, ptr %8, align 4 %74 = call float @fabs(float noundef %73) %75 = load float, ptr %9, align 4 %76 = call float @fabs(float noundef %75) %77 = fcmp ogt float %74, %76 br i1 %77, label %78, label %81 78: ; preds = %13 %79 = load float, ptr %8, align 4 %80 = call float @fabs(float noundef %79) br label %84 81: ; preds = %13 %82 = load float, ptr %9, align 4 %83 = call float @fabs(float noundef %82) br label %84 84: ; preds = %81, %78 %85 = phi float [ %80, %78 ], [ %83, %81 ] store float %85, ptr %5, align 4 br label %86 86: ; preds = %84 %87 = load float, ptr %5, align 4 %88 = fpext float %87 to double %89 = fcmp ogt double %88, 5.000000e-06 br i1 %89, label %13, label %90, !llvm.loop !6 90: ; preds = %86 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare float @f1(float noundef, float noundef) #1 declare float @f2(float noundef, float noundef) #1 declare float @jacobian(float noundef, float noundef) #1 declare float @df1y(float noundef, float noundef) #1 declare float @df2y(float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @df2x(float noundef, float noundef) #1 declare float @df1x(float noundef, float noundef) #1 declare float @fabs(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiob3r95a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [42 x i8] c"Enter initial approximation for x and y:\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"%f %f\00", align 1 @.str.2 = private unnamed_addr constant [33 x i8] c"x: %f;\09 dx: %f;\0Ay: %f;\09 dy: %f\0A\0A\00", align 1 @.str.3 = private unnamed_addr constant [34 x i8] c"x: %f;\09 dx: %f;\0Ay: %f;\09 dy: %f;\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca float, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 %6 = alloca float, align 4 %7 = alloca float, align 4 %8 = alloca float, align 4 %9 = alloca float, align 4 %10 = alloca float, align 4 store i32 0, ptr %1, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str) %12 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) br label %13 13: ; preds = %86, %0 %14 = load float, ptr %2, align 4 %15 = fpext float %14 to double %16 = load float, ptr %8, align 4 %17 = fpext float %16 to double %18 = load float, ptr %3, align 4 %19 = fpext float %18 to double %20 = load float, ptr %9, align 4 %21 = fpext float %20 to double %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %15, double noundef %17, double noundef %19, double noundef %21) %23 = load float, ptr %2, align 4 %24 = load float, ptr %3, align 4 %25 = call float @f1(float noundef %23, float noundef %24) store float %25, ptr %6, align 4 %26 = load float, ptr %2, align 4 %27 = load float, ptr %3, align 4 %28 = call float @f2(float noundef %26, float noundef %27) store float %28, ptr %7, align 4 %29 = load float, ptr %2, align 4 %30 = load float, ptr %3, align 4 %31 = call float @jacobian(float noundef %29, float noundef %30) store float %31, ptr %10, align 4 %32 = load float, ptr %7, align 4 %33 = load float, ptr %2, align 4 %34 = load float, ptr %3, align 4 %35 = call float @df1y(float noundef %33, float noundef %34) %36 = load float, ptr %6, align 4 %37 = load float, ptr %2, align 4 %38 = load float, ptr %3, align 4 %39 = call float @df2y(float noundef %37, float noundef %38) %40 = fmul float %36, %39 %41 = fneg float %40 %42 = call float @llvm.fmuladd.f32(float %32, float %35, float %41) %43 = load float, ptr %10, align 4 %44 = fdiv float %42, %43 store float %44, ptr %8, align 4 %45 = load float, ptr %6, align 4 %46 = load float, ptr %2, align 4 %47 = load float, ptr %3, align 4 %48 = call float @df2x(float noundef %46, float noundef %47) %49 = load float, ptr %7, align 4 %50 = load float, ptr %2, align 4 %51 = load float, ptr %3, align 4 %52 = call float @df1x(float noundef %50, float noundef %51) %53 = fmul float %49, %52 %54 = fneg float %53 %55 = call float @llvm.fmuladd.f32(float %45, float %48, float %54) %56 = load float, ptr %10, align 4 %57 = fdiv float %55, %56 store float %57, ptr %9, align 4 %58 = load float, ptr %2, align 4 %59 = load float, ptr %8, align 4 %60 = fadd float %58, %59 store float %60, ptr %2, align 4 %61 = load float, ptr %3, align 4 %62 = load float, ptr %9, align 4 %63 = fadd float %61, %62 store float %63, ptr %3, align 4 %64 = load float, ptr %2, align 4 %65 = fpext float %64 to double %66 = load float, ptr %8, align 4 %67 = fpext float %66 to double %68 = load float, ptr %3, align 4 %69 = fpext float %68 to double %70 = load float, ptr %9, align 4 %71 = fpext float %70 to double %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %65, double noundef %67, double noundef %69, double noundef %71) %73 = load float, ptr %8, align 4 %74 = call float @fabs(float noundef %73) %75 = load float, ptr %9, align 4 %76 = call float @fabs(float noundef %75) %77 = fcmp ogt float %74, %76 br i1 %77, label %78, label %81 78: ; preds = %13 %79 = load float, ptr %8, align 4 %80 = call float @fabs(float noundef %79) br label %84 81: ; preds = %13 %82 = load float, ptr %9, align 4 %83 = call float @fabs(float noundef %82) br label %84 84: ; preds = %81, %78 %85 = phi float [ %80, %78 ], [ %83, %81 ] store float %85, ptr %5, align 4 br label %86 86: ; preds = %84 %87 = load float, ptr %5, align 4 %88 = fpext float %87 to double %89 = fcmp ogt double %88, 5.000000e-06 br i1 %89, label %13, label %90, !llvm.loop !6 90: ; preds = %86 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare float @f1(float noundef, float noundef) #1 declare float @f2(float noundef, float noundef) #1 declare float @jacobian(float noundef, float noundef) #1 declare float @df1y(float noundef, float noundef) #1 declare float @df2y(float noundef, float noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.fmuladd.f32(float, float, float) #2 declare float @df2x(float noundef, float noundef) #1 declare float @df1x(float noundef, float noundef) #1 declare float @fabs(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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsng4jhv0.c' source_filename = "/tmp/tmpsng4jhv0.c" target datalayout = "e-m:e-p270: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/tmpsng4jhv0.c" target datalayout = "e-m:e-p270: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/tmp9tgk04_l.c' source_filename = "/tmp/tmp9tgk04_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"non const passed to const_true\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @const_ltrue(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @is_const(ptr noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = call i32 @internal_error(ptr noundef %11, i32 noundef 0, ptr noundef @.str) br label %13 13: ; preds = %10, %3 %14 = load ptr, ptr %6, align 8 %15 = call i32 @is_zero(ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 ret i32 %18 } declare i32 @is_const(ptr noundef) #1 declare i32 @internal_error(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @is_zero(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9tgk04_l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"non const passed to const_true\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @const_ltrue(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i32 @is_const(ptr noundef %7) %9 = icmp ne i32 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 %12 = call i32 @internal_error(ptr noundef %11, i32 noundef 0, ptr noundef @.str) br label %13 13: ; preds = %10, %3 %14 = load ptr, ptr %6, align 8 %15 = call i32 @is_zero(ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true %18 = zext i1 %17 to i32 ret i32 %18 } declare i32 @is_const(ptr noundef) #1 declare i32 @internal_error(ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @is_zero(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqk3xraog.c' source_filename = "/tmp/tmpqk3xraog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lc\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%%%c%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 br label %9 9: ; preds = %258, %1 %10 = load i32, ptr %3, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp ult i32 %10, %11 br i1 %12, label %13, label %261 13: ; preds = %9 %14 = load ptr, ptr %2, align 8 %15 = load i32, ptr %3, align 4 %16 = zext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp eq i32 %19, 37 br i1 %20, label %21, label %251 21: ; preds = %13 store i8 0, ptr %5, align 1 store i8 0, ptr %6, align 1 %22 = load ptr, ptr %2, align 8 %23 = load i32, ptr %3, align 4 %24 = add i32 %23, 1 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp sge i32 %28, 97 br i1 %29, label %30, label %55 30: ; preds = %21 %31 = load ptr, ptr %2, align 8 %32 = load i32, ptr %3, align 4 %33 = add i32 %32, 1 %34 = zext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp sle i32 %37, 102 br i1 %38, label %39, label %55 39: ; preds = %30 %40 = load ptr, ptr %2, align 8 %41 = load i32, ptr %3, align 4 %42 = add i32 %41, 1 %43 = zext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 87 %48 = trunc i32 %47 to i8 store i8 %48, ptr %5, align 1 %49 = load i8, ptr %5, align 1 %50 = zext i8 %49 to i32 %51 = shl i32 %50, 4 %52 = trunc i32 %51 to i8 store i8 %52, ptr %5, align 1 %53 = load i8, ptr %6, align 1 %54 = add i8 %53, 1 store i8 %54, ptr %6, align 1 br label %125 55: ; preds = %30, %21 %56 = load ptr, ptr %2, align 8 %57 = load i32, ptr %3, align 4 %58 = add i32 %57, 1 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %56, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp sge i32 %62, 65 br i1 %63, label %64, label %89 64: ; preds = %55 %65 = load ptr, ptr %2, align 8 %66 = load i32, ptr %3, align 4 %67 = add i32 %66, 1 %68 = zext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %65, i64 %68 %70 = load i8, ptr %69, align 1 %71 = sext i8 %70 to i32 %72 = icmp sle i32 %71, 70 br i1 %72, label %73, label %89 73: ; preds = %64 %74 = load ptr, ptr %2, align 8 %75 = load i32, ptr %3, align 4 %76 = add i32 %75, 1 %77 = zext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %74, i64 %77 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = sub nsw i32 %80, 55 %82 = trunc i32 %81 to i8 store i8 %82, ptr %5, align 1 %83 = load i8, ptr %5, align 1 %84 = zext i8 %83 to i32 %85 = shl i32 %84, 4 %86 = trunc i32 %85 to i8 store i8 %86, ptr %5, align 1 %87 = load i8, ptr %6, align 1 %88 = add i8 %87, 1 store i8 %88, ptr %6, align 1 br label %124 89: ; preds = %64, %55 %90 = load ptr, ptr %2, align 8 %91 = load i32, ptr %3, align 4 %92 = add i32 %91, 1 %93 = zext i32 %92 to i64 %94 = getelementptr inbounds i8, ptr %90, i64 %93 %95 = load i8, ptr %94, align 1 %96 = sext i8 %95 to i32 %97 = icmp sge i32 %96, 48 br i1 %97, label %98, label %123 98: ; preds = %89 %99 = load ptr, ptr %2, align 8 %100 = load i32, ptr %3, align 4 %101 = add i32 %100, 1 %102 = zext i32 %101 to i64 %103 = getelementptr inbounds i8, ptr %99, i64 %102 %104 = load i8, ptr %103, align 1 %105 = sext i8 %104 to i32 %106 = icmp sle i32 %105, 57 br i1 %106, label %107, label %123 107: ; preds = %98 %108 = load ptr, ptr %2, align 8 %109 = load i32, ptr %3, align 4 %110 = add i32 %109, 1 %111 = zext i32 %110 to i64 %112 = getelementptr inbounds i8, ptr %108, i64 %111 %113 = load i8, ptr %112, align 1 %114 = sext i8 %113 to i32 %115 = sub nsw i32 %114, 48 %116 = trunc i32 %115 to i8 store i8 %116, ptr %5, align 1 %117 = load i8, ptr %5, align 1 %118 = zext i8 %117 to i32 %119 = shl i32 %118, 4 %120 = trunc i32 %119 to i8 store i8 %120, ptr %5, align 1 %121 = load i8, ptr %6, align 1 %122 = add i8 %121, 1 store i8 %122, ptr %6, align 1 br label %123 123: ; preds = %107, %98, %89 br label %124 124: ; preds = %123, %73 br label %125 125: ; preds = %124, %39 %126 = load ptr, ptr %2, align 8 %127 = load i32, ptr %3, align 4 %128 = add i32 %127, 2 %129 = zext i32 %128 to i64 %130 = getelementptr inbounds i8, ptr %126, i64 %129 %131 = load i8, ptr %130, align 1 %132 = sext i8 %131 to i32 %133 = icmp sge i32 %132, 97 br i1 %133, label %134, label %158 134: ; preds = %125 %135 = load ptr, ptr %2, align 8 %136 = load i32, ptr %3, align 4 %137 = add i32 %136, 2 %138 = zext i32 %137 to i64 %139 = getelementptr inbounds i8, ptr %135, i64 %138 %140 = load i8, ptr %139, align 1 %141 = sext i8 %140 to i32 %142 = icmp sle i32 %141, 102 br i1 %142, label %143, label %158 143: ; preds = %134 %144 = load ptr, ptr %2, align 8 %145 = load i32, ptr %3, align 4 %146 = add i32 %145, 2 %147 = zext i32 %146 to i64 %148 = getelementptr inbounds i8, ptr %144, i64 %147 %149 = load i8, ptr %148, align 1 %150 = sext i8 %149 to i32 %151 = sub nsw i32 %150, 87 %152 = load i8, ptr %5, align 1 %153 = zext i8 %152 to i32 %154 = add nsw i32 %153, %151 %155 = trunc i32 %154 to i8 store i8 %155, ptr %5, align 1 %156 = load i8, ptr %6, align 1 %157 = add i8 %156, 1 store i8 %157, ptr %6, align 1 br label %226 158: ; preds = %134, %125 %159 = load ptr, ptr %2, align 8 %160 = load i32, ptr %3, align 4 %161 = add i32 %160, 2 %162 = zext i32 %161 to i64 %163 = getelementptr inbounds i8, ptr %159, i64 %162 %164 = load i8, ptr %163, align 1 %165 = sext i8 %164 to i32 %166 = icmp sge i32 %165, 65 br i1 %166, label %167, label %191 167: ; preds = %158 %168 = load ptr, ptr %2, align 8 %169 = load i32, ptr %3, align 4 %170 = add i32 %169, 2 %171 = zext i32 %170 to i64 %172 = getelementptr inbounds i8, ptr %168, i64 %171 %173 = load i8, ptr %172, align 1 %174 = sext i8 %173 to i32 %175 = icmp sle i32 %174, 70 br i1 %175, label %176, label %191 176: ; preds = %167 %177 = load ptr, ptr %2, align 8 %178 = load i32, ptr %3, align 4 %179 = add i32 %178, 2 %180 = zext i32 %179 to i64 %181 = getelementptr inbounds i8, ptr %177, i64 %180 %182 = load i8, ptr %181, align 1 %183 = sext i8 %182 to i32 %184 = sub nsw i32 %183, 55 %185 = load i8, ptr %5, align 1 %186 = zext i8 %185 to i32 %187 = add nsw i32 %186, %184 %188 = trunc i32 %187 to i8 store i8 %188, ptr %5, align 1 %189 = load i8, ptr %6, align 1 %190 = add i8 %189, 1 store i8 %190, ptr %6, align 1 br label %225 191: ; preds = %167, %158 %192 = load ptr, ptr %2, align 8 %193 = load i32, ptr %3, align 4 %194 = add i32 %193, 2 %195 = zext i32 %194 to i64 %196 = getelementptr inbounds i8, ptr %192, i64 %195 %197 = load i8, ptr %196, align 1 %198 = sext i8 %197 to i32 %199 = icmp sge i32 %198, 48 br i1 %199, label %200, label %224 200: ; preds = %191 %201 = load ptr, ptr %2, align 8 %202 = load i32, ptr %3, align 4 %203 = add i32 %202, 2 %204 = zext i32 %203 to i64 %205 = getelementptr inbounds i8, ptr %201, i64 %204 %206 = load i8, ptr %205, align 1 %207 = sext i8 %206 to i32 %208 = icmp sle i32 %207, 57 br i1 %208, label %209, label %224 209: ; preds = %200 %210 = load ptr, ptr %2, align 8 %211 = load i32, ptr %3, align 4 %212 = add i32 %211, 2 %213 = zext i32 %212 to i64 %214 = getelementptr inbounds i8, ptr %210, i64 %213 %215 = load i8, ptr %214, align 1 %216 = sext i8 %215 to i32 %217 = sub nsw i32 %216, 48 %218 = load i8, ptr %5, align 1 %219 = zext i8 %218 to i32 %220 = add nsw i32 %219, %217 %221 = trunc i32 %220 to i8 store i8 %221, ptr %5, align 1 %222 = load i8, ptr %6, align 1 %223 = add i8 %222, 1 store i8 %223, ptr %6, align 1 br label %224 224: ; preds = %209, %200, %191 br label %225 225: ; preds = %224, %176 br label %226 226: ; preds = %225, %143 %227 = load i8, ptr %6, align 1 %228 = zext i8 %227 to i32 %229 = icmp eq i32 %228, 2 br i1 %229, label %230, label %233 230: ; preds = %226 %231 = load i8, ptr %5, align 1 %232 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %231) br label %248 233: ; preds = %226 %234 = load ptr, ptr %2, align 8 %235 = load i32, ptr %3, align 4 %236 = add i32 %235, 1 %237 = zext i32 %236 to i64 %238 = getelementptr inbounds i8, ptr %234, i64 %237 %239 = load i8, ptr %238, align 1 %240 = load ptr, ptr %2, align 8 %241 = load i32, ptr %3, align 4 %242 = add i32 %241, 2 %243 = zext i32 %242 to i64 %244 = getelementptr inbounds i8, ptr %240, i64 %243 %245 = load i8, ptr %244, align 1 %246 = sext i8 %245 to i32 %247 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %239, i32 noundef %246) br label %248 248: ; preds = %233, %230 %249 = load i32, ptr %3, align 4 %250 = add i32 %249, 2 store i32 %250, ptr %3, align 4 br label %258 251: ; preds = %13 %252 = load ptr, ptr %2, align 8 %253 = load i32, ptr %3, align 4 %254 = zext i32 %253 to i64 %255 = getelementptr inbounds i8, ptr %252, i64 %254 %256 = load i8, ptr %255, align 1 %257 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.2, i8 noundef signext %256) br label %258 258: ; preds = %251, %248 %259 = load i32, ptr %3, align 4 %260 = add i32 %259, 1 store i32 %260, ptr %3, align 4 br label %9, !llvm.loop !6 261: ; preds = %9 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqk3xraog.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lc\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"%%%c%c\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @decode(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %7 = load ptr, ptr %2, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %4, align 4 %9 = load i32, ptr %3, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ult i32 %9, %10 br i1 %11, label %.lr.ph, label %263 .lr.ph: ; preds = %1 br label %12 12: ; preds = %.lr.ph, %257 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %3, align 4 %15 = zext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp eq i32 %18, 37 br i1 %19, label %20, label %250 20: ; preds = %12 store i8 0, ptr %5, align 1 store i8 0, ptr %6, align 1 %21 = load ptr, ptr %2, align 8 %22 = load i32, ptr %3, align 4 %23 = add i32 %22, 1 %24 = zext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %21, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp sge i32 %27, 97 br i1 %28, label %29, label %54 29: ; preds = %20 %30 = load ptr, ptr %2, align 8 %31 = load i32, ptr %3, align 4 %32 = add i32 %31, 1 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = icmp sle i32 %36, 102 br i1 %37, label %38, label %54 38: ; preds = %29 %39 = load ptr, ptr %2, align 8 %40 = load i32, ptr %3, align 4 %41 = add i32 %40, 1 %42 = zext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %39, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 87 %47 = trunc i32 %46 to i8 store i8 %47, ptr %5, align 1 %48 = load i8, ptr %5, align 1 %49 = zext i8 %48 to i32 %50 = shl i32 %49, 4 %51 = trunc i32 %50 to i8 store i8 %51, ptr %5, align 1 %52 = load i8, ptr %6, align 1 %53 = add i8 %52, 1 store i8 %53, ptr %6, align 1 br label %124 54: ; preds = %29, %20 %55 = load ptr, ptr %2, align 8 %56 = load i32, ptr %3, align 4 %57 = add i32 %56, 1 %58 = zext i32 %57 to i64 %59 = getelementptr inbounds i8, ptr %55, i64 %58 %60 = load i8, ptr %59, align 1 %61 = sext i8 %60 to i32 %62 = icmp sge i32 %61, 65 br i1 %62, label %63, label %88 63: ; preds = %54 %64 = load ptr, ptr %2, align 8 %65 = load i32, ptr %3, align 4 %66 = add i32 %65, 1 %67 = zext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %64, i64 %67 %69 = load i8, ptr %68, align 1 %70 = sext i8 %69 to i32 %71 = icmp sle i32 %70, 70 br i1 %71, label %72, label %88 72: ; preds = %63 %73 = load ptr, ptr %2, align 8 %74 = load i32, ptr %3, align 4 %75 = add i32 %74, 1 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %73, i64 %76 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = sub nsw i32 %79, 55 %81 = trunc i32 %80 to i8 store i8 %81, ptr %5, align 1 %82 = load i8, ptr %5, align 1 %83 = zext i8 %82 to i32 %84 = shl i32 %83, 4 %85 = trunc i32 %84 to i8 store i8 %85, ptr %5, align 1 %86 = load i8, ptr %6, align 1 %87 = add i8 %86, 1 store i8 %87, ptr %6, align 1 br label %123 88: ; preds = %63, %54 %89 = load ptr, ptr %2, align 8 %90 = load i32, ptr %3, align 4 %91 = add i32 %90, 1 %92 = zext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %89, i64 %92 %94 = load i8, ptr %93, align 1 %95 = sext i8 %94 to i32 %96 = icmp sge i32 %95, 48 br i1 %96, label %97, label %122 97: ; preds = %88 %98 = load ptr, ptr %2, align 8 %99 = load i32, ptr %3, align 4 %100 = add i32 %99, 1 %101 = zext i32 %100 to i64 %102 = getelementptr inbounds i8, ptr %98, i64 %101 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp sle i32 %104, 57 br i1 %105, label %106, label %122 106: ; preds = %97 %107 = load ptr, ptr %2, align 8 %108 = load i32, ptr %3, align 4 %109 = add i32 %108, 1 %110 = zext i32 %109 to i64 %111 = getelementptr inbounds i8, ptr %107, i64 %110 %112 = load i8, ptr %111, align 1 %113 = sext i8 %112 to i32 %114 = sub nsw i32 %113, 48 %115 = trunc i32 %114 to i8 store i8 %115, ptr %5, align 1 %116 = load i8, ptr %5, align 1 %117 = zext i8 %116 to i32 %118 = shl i32 %117, 4 %119 = trunc i32 %118 to i8 store i8 %119, ptr %5, align 1 %120 = load i8, ptr %6, align 1 %121 = add i8 %120, 1 store i8 %121, ptr %6, align 1 br label %122 122: ; preds = %106, %97, %88 br label %123 123: ; preds = %122, %72 br label %124 124: ; preds = %123, %38 %125 = load ptr, ptr %2, align 8 %126 = load i32, ptr %3, align 4 %127 = add i32 %126, 2 %128 = zext i32 %127 to i64 %129 = getelementptr inbounds i8, ptr %125, i64 %128 %130 = load i8, ptr %129, align 1 %131 = sext i8 %130 to i32 %132 = icmp sge i32 %131, 97 br i1 %132, label %133, label %157 133: ; preds = %124 %134 = load ptr, ptr %2, align 8 %135 = load i32, ptr %3, align 4 %136 = add i32 %135, 2 %137 = zext i32 %136 to i64 %138 = getelementptr inbounds i8, ptr %134, i64 %137 %139 = load i8, ptr %138, align 1 %140 = sext i8 %139 to i32 %141 = icmp sle i32 %140, 102 br i1 %141, label %142, label %157 142: ; preds = %133 %143 = load ptr, ptr %2, align 8 %144 = load i32, ptr %3, align 4 %145 = add i32 %144, 2 %146 = zext i32 %145 to i64 %147 = getelementptr inbounds i8, ptr %143, i64 %146 %148 = load i8, ptr %147, align 1 %149 = sext i8 %148 to i32 %150 = sub nsw i32 %149, 87 %151 = load i8, ptr %5, align 1 %152 = zext i8 %151 to i32 %153 = add nsw i32 %152, %150 %154 = trunc i32 %153 to i8 store i8 %154, ptr %5, align 1 %155 = load i8, ptr %6, align 1 %156 = add i8 %155, 1 store i8 %156, ptr %6, align 1 br label %225 157: ; preds = %133, %124 %158 = load ptr, ptr %2, align 8 %159 = load i32, ptr %3, align 4 %160 = add i32 %159, 2 %161 = zext i32 %160 to i64 %162 = getelementptr inbounds i8, ptr %158, i64 %161 %163 = load i8, ptr %162, align 1 %164 = sext i8 %163 to i32 %165 = icmp sge i32 %164, 65 br i1 %165, label %166, label %190 166: ; preds = %157 %167 = load ptr, ptr %2, align 8 %168 = load i32, ptr %3, align 4 %169 = add i32 %168, 2 %170 = zext i32 %169 to i64 %171 = getelementptr inbounds i8, ptr %167, i64 %170 %172 = load i8, ptr %171, align 1 %173 = sext i8 %172 to i32 %174 = icmp sle i32 %173, 70 br i1 %174, label %175, label %190 175: ; preds = %166 %176 = load ptr, ptr %2, align 8 %177 = load i32, ptr %3, align 4 %178 = add i32 %177, 2 %179 = zext i32 %178 to i64 %180 = getelementptr inbounds i8, ptr %176, i64 %179 %181 = load i8, ptr %180, align 1 %182 = sext i8 %181 to i32 %183 = sub nsw i32 %182, 55 %184 = load i8, ptr %5, align 1 %185 = zext i8 %184 to i32 %186 = add nsw i32 %185, %183 %187 = trunc i32 %186 to i8 store i8 %187, ptr %5, align 1 %188 = load i8, ptr %6, align 1 %189 = add i8 %188, 1 store i8 %189, ptr %6, align 1 br label %224 190: ; preds = %166, %157 %191 = load ptr, ptr %2, align 8 %192 = load i32, ptr %3, align 4 %193 = add i32 %192, 2 %194 = zext i32 %193 to i64 %195 = getelementptr inbounds i8, ptr %191, i64 %194 %196 = load i8, ptr %195, align 1 %197 = sext i8 %196 to i32 %198 = icmp sge i32 %197, 48 br i1 %198, label %199, label %223 199: ; preds = %190 %200 = load ptr, ptr %2, align 8 %201 = load i32, ptr %3, align 4 %202 = add i32 %201, 2 %203 = zext i32 %202 to i64 %204 = getelementptr inbounds i8, ptr %200, i64 %203 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = icmp sle i32 %206, 57 br i1 %207, label %208, label %223 208: ; preds = %199 %209 = load ptr, ptr %2, align 8 %210 = load i32, ptr %3, align 4 %211 = add i32 %210, 2 %212 = zext i32 %211 to i64 %213 = getelementptr inbounds i8, ptr %209, i64 %212 %214 = load i8, ptr %213, align 1 %215 = sext i8 %214 to i32 %216 = sub nsw i32 %215, 48 %217 = load i8, ptr %5, align 1 %218 = zext i8 %217 to i32 %219 = add nsw i32 %218, %216 %220 = trunc i32 %219 to i8 store i8 %220, ptr %5, align 1 %221 = load i8, ptr %6, align 1 %222 = add i8 %221, 1 store i8 %222, ptr %6, align 1 br label %223 223: ; preds = %208, %199, %190 br label %224 224: ; preds = %223, %175 br label %225 225: ; preds = %224, %142 %226 = load i8, ptr %6, align 1 %227 = zext i8 %226 to i32 %228 = icmp eq i32 %227, 2 br i1 %228, label %229, label %232 229: ; preds = %225 %230 = load i8, ptr %5, align 1 %231 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str, i8 noundef signext %230) br label %247 232: ; preds = %225 %233 = load ptr, ptr %2, align 8 %234 = load i32, ptr %3, align 4 %235 = add i32 %234, 1 %236 = zext i32 %235 to i64 %237 = getelementptr inbounds i8, ptr %233, i64 %236 %238 = load i8, ptr %237, align 1 %239 = load ptr, ptr %2, align 8 %240 = load i32, ptr %3, align 4 %241 = add i32 %240, 2 %242 = zext i32 %241 to i64 %243 = getelementptr inbounds i8, ptr %239, i64 %242 %244 = load i8, ptr %243, align 1 %245 = sext i8 %244 to i32 %246 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.1, i8 noundef signext %238, i32 noundef %245) br label %247 247: ; preds = %232, %229 %248 = load i32, ptr %3, align 4 %249 = add i32 %248, 2 store i32 %249, ptr %3, align 4 br label %257 250: ; preds = %12 %251 = load ptr, ptr %2, align 8 %252 = load i32, ptr %3, align 4 %253 = zext i32 %252 to i64 %254 = getelementptr inbounds i8, ptr %251, i64 %253 %255 = load i8, ptr %254, align 1 %256 = call i32 (ptr, i8, ...) @printf(ptr noundef @.str.2, i8 noundef signext %255) br label %257 257: ; preds = %250, %247 %258 = load i32, ptr %3, align 4 %259 = add i32 %258, 1 store i32 %259, ptr %3, align 4 %260 = load i32, ptr %3, align 4 %261 = load i32, ptr %4, align 4 %262 = icmp ult i32 %260, %261 br i1 %262, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %257 br label %263 263: ; preds = %._crit_edge, %1 ret void } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr noundef, i8 noundef signext, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpdmx4nv6x.c' source_filename = "/tmp/tmpdmx4nv6x.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"%s/%s(): Fatal error at line %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/timhriley/appaserver/refs/heads/master/library/grace.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grace_error_exit(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6, i32 noundef %7) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdmx4nv6x.c" target datalayout = "e-m:e-p270: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 [33 x i8] c"%s/%s(): Fatal error at line %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [145 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/timhriley/appaserver/refs/heads/master/library/grace.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @grace_error_exit(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr @stderr, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, ptr noundef @.str.1, ptr noundef %6, i32 noundef %7) %9 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptkdt6r1i.c' source_filename = "/tmp/tmptkdt6r1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_device_destroy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @serial_device_disconnect(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) ret void } declare i32 @serial_device_disconnect(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptkdt6r1i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @serial_device_destroy(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @serial_device_disconnect(ptr noundef %5, ptr noundef %6) %8 = load ptr, ptr %3, align 8 %9 = call i32 @free(ptr noundef %8) ret void } declare i32 @serial_device_disconnect(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmr6zax1n.c' source_filename = "/tmp/tmpmr6zax1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XFontStruct_min_char_or_byte2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmr6zax1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_XFontStruct_min_char_or_byte2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 ret i32 %5 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuky2n9rp.c' source_filename = "/tmp/tmpuky2n9rp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitstatic() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %4 4: ; preds = %28, %0 %5 = load i32, ptr %1, align 4 %6 = icmp slt i32 %5, 4 br i1 %6, label %7, label %31 7: ; preds = %4 store i32 0, ptr %2, align 4 br label %8 8: ; preds = %24, %7 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 8 br i1 %10, label %11, label %27 11: ; preds = %8 store i32 0, ptr %3, align 4 br label %12 12: ; preds = %20, %11 %13 = load i32, ptr %3, align 4 %14 = icmp slt i32 %13, 8 br i1 %14, label %15, label %23 15: ; preds = %12 %16 = load i32, ptr %1, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %3, align 4 %19 = call i32 @dump_bit_static(i32 noundef %16, i32 noundef %17, i32 noundef %18) br label %20 20: ; preds = %15 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %3, align 4 br label %12, !llvm.loop !6 23: ; preds = %12 br label %24 24: ; preds = %23 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 br label %8, !llvm.loop !8 27: ; preds = %8 br label %28 28: ; preds = %27 %29 = load i32, ptr %1, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %1, align 4 br label %4, !llvm.loop !9 31: ; preds = %4 ret void } declare i32 @dump_bit_static(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuky2n9rp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bitstatic() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = load i32, ptr %1, align 4 %5 = icmp slt i32 %4, 4 br i1 %5, label %.lr.ph5, label %34 .lr.ph5: ; preds = %0 br label %6 6: ; preds = %.lr.ph5, %29 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.ph2, label %28 .lr.ph2: ; preds = %6 br label %9 9: ; preds = %.lr.ph2, %23 store i32 0, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 8 br i1 %11, label %.lr.ph, label %22 .lr.ph: ; preds = %9 br label %12 12: ; preds = %.lr.ph, %17 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = call i32 @dump_bit_static(i32 noundef %13, i32 noundef %14, i32 noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 8 br i1 %21, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %22 22: ; preds = %._crit_edge, %9 br label %23 23: ; preds = %22 %24 = load i32, ptr %2, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %2, align 4 %26 = load i32, ptr %2, align 4 %27 = icmp slt i32 %26, 8 br i1 %27, label %9, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %23 br label %28 28: ; preds = %._crit_edge3, %6 br label %29 29: ; preds = %28 %30 = load i32, ptr %1, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %1, align 4 %32 = load i32, ptr %1, align 4 %33 = icmp slt i32 %32, 4 br i1 %33, label %6, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %29 br label %34 34: ; preds = %._crit_edge6, %0 ret void } declare i32 @dump_bit_static(i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpmbobv1iq.c' source_filename = "/tmp/tmpmbobv1iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = call i32 @atoi(ptr noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmbobv1iq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = getelementptr inbounds ptr, ptr %5, i64 1 %7 = load ptr, ptr %6, align 8 %8 = call i32 @atoi(ptr noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpy1kpqu8v.c' source_filename = "/tmp/tmpy1kpqu8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %4, align 8 store i8 45, ptr %8, align 1 br label %10 10: ; preds = %7, %2 %11 = load i64, ptr %3, align 8 %12 = call i32 @uabs(i64 noundef %11) %13 = load ptr, ptr %4, align 8 %14 = call i32 @utoa(i32 noundef %12, ptr noundef %13) ret void } declare i32 @utoa(i32 noundef, ptr noundef) #1 declare i32 @uabs(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/tmpy1kpqu8v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @itoa(i64 noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 %4 = alloca ptr, align 8 store i64 %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load i64, ptr %3, align 8 %6 = icmp slt i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr %4, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %4, align 8 store i8 45, ptr %8, align 1 br label %10 10: ; preds = %7, %2 %11 = load i64, ptr %3, align 8 %12 = call i32 @uabs(i64 noundef %11) %13 = load ptr, ptr %4, align 8 %14 = call i32 @utoa(i32 noundef %12, ptr noundef %13) ret void } declare i32 @utoa(i32 noundef, ptr noundef) #1 declare i32 @uabs(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/tmpsltcy51u.c' source_filename = "/tmp/tmpsltcy51u.c" target datalayout = "e-m:e-p270: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/tmpsltcy51u.c" target datalayout = "e-m:e-p270: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/tmp1angb0uq.c' source_filename = "/tmp/tmp1angb0uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; 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 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) br label %11 11: ; preds = %15, %0 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %30 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %7, align 4 %18 = load i32, ptr %4, align 4 %19 = sdiv i32 %17, %18 %20 = load i32, ptr %3, align 4 %21 = mul nsw i32 2, %20 %22 = sdiv i32 %21, 100 %23 = mul nsw i32 %19, %22 %24 = sub nsw i32 %16, %23 store i32 %24, ptr %5, align 4 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %11, !llvm.loop !6 30: ; preds = %11 %31 = load i32, ptr %6, align 4 %32 = call i32 @printf(ptr noundef @.str, i32 noundef %31) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1angb0uq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; 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 store i32 0, ptr %1, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %6, align 4 store i32 0, ptr %7, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %4) %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %32 .lr.ph: ; preds = %0 br label %14 14: ; preds = %.lr.ph, %14 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %4, align 4 %18 = sdiv i32 %16, %17 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 2, %19 %21 = sdiv i32 %20, 100 %22 = mul nsw i32 %18, %21 %23 = sub nsw i32 %15, %22 store i32 %23, ptr %5, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %24, %25 store i32 %26, ptr %6, align 4 %27 = load i32, ptr %7, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = load i32, ptr %2, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %32 32: ; preds = %._crit_edge, %0 %33 = load i32, ptr %6, align 4 %34 = call i32 @printf(ptr noundef @.str, i32 noundef %33) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpylu_kdj6.c' source_filename = "/tmp/tmpylu_kdj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @drm_unblock(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %9 = call i32 @DRM_DEBUG(ptr noundef @.str) ret i32 0 } declare i32 @DRM_DEBUG(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpylu_kdj6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @drm_unblock(ptr noundef %0, ptr noundef %1, i32 noundef %2, i64 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i64 %3, ptr %8, align 8 %9 = call i32 @DRM_DEBUG(ptr noundef @.str) ret i32 0 } declare i32 @DRM_DEBUG(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpio48zg0z.c' source_filename = "/tmp/tmpio48zg0z.c" target datalayout = "e-m:e-p270: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/tmpio48zg0z.c" target datalayout = "e-m:e-p270: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/tmpec__dgfy.c' source_filename = "/tmp/tmpec__dgfy.c" target datalayout = "e-m:e-p270: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/tmpec__dgfy.c" target datalayout = "e-m:e-p270: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"}