llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmphew4dbuk.c' source_filename = "/tmp/tmphew4dbuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphew4dbuk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libc_read(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load ptr, ptr %5, align 8 %9 = load i32, ptr %6, align 4 %10 = call i32 @read(i32 noundef %7, ptr noundef %8, i32 noundef %9) ret i32 %10 } declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmfl0m550.c' source_filename = "/tmp/tmpmfl0m550.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/home//haozhe26/ECS150/Test/foo\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"not open\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"buf is %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fsort() #0 { %1 = alloca [2 x i32], align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [512 x i8], align 16 %5 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %6 = call i32 @pipe(ptr noundef %5) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %0 %11 = call i32 @open(ptr noundef @.str, i32 noundef 0) store i32 %11, ptr %2, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @perror(ptr noundef @.str.1) br label %15 15: ; preds = %13, %10 br label %16 16: ; preds = %37, %15 %17 = load i32, ptr %2, align 4 %18 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %19 = call i32 @read(i32 noundef %17, ptr noundef %18, i32 noundef 512) store i32 %19, ptr %3, align 4 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %38 21: ; preds = %16 %22 = load i32, ptr %3, align 4 %23 = icmp eq i32 %22, -1 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 @exit(i32 noundef -1) #3 unreachable 26: ; preds = %21 %27 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %28 = call i32 @printf(ptr noundef @.str.2, ptr noundef %27) %29 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %30 = load i32, ptr %29, align 4 %31 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %32 = load i32, ptr %3, align 4 %33 = call i32 @write(i32 noundef %30, ptr noundef %31, i32 noundef %32) %34 = icmp eq i32 %33, -1 br i1 %34, label %35, label %37 35: ; preds = %26 %36 = call i32 @exit(i32 noundef -1) #3 unreachable 37: ; preds = %26 br label %16, !llvm.loop !6 38: ; preds = %16 %39 = load i32, ptr %2, align 4 %40 = call i32 @close(i32 noundef %39) %41 = icmp eq i32 %40, -1 br i1 %41, label %47, label %42 42: ; preds = %38 %43 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %44 = load i32, ptr %43, align 4 %45 = call i32 @close(i32 noundef %44) %46 = icmp eq i32 %45, -1 br i1 %46, label %47, label %49 47: ; preds = %42, %38 %48 = call i32 @exit(i32 noundef -1) #3 unreachable 49: ; preds = %42 br label %50 50: ; preds = %68, %49 %51 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %52 = load i32, ptr %51, align 4 %53 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %54 = call i32 @read(i32 noundef %52, ptr noundef %53, i32 noundef 512) store i32 %54, ptr %3, align 4 %55 = icmp ne i32 %54, 0 br i1 %55, label %56, label %69 56: ; preds = %50 %57 = load i32, ptr %3, align 4 %58 = icmp eq i32 %57, -1 br i1 %58, label %59, label %61 59: ; preds = %56 %60 = call i32 @exit(i32 noundef -1) #3 unreachable 61: ; preds = %56 %62 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %63 = load i32, ptr %3, align 4 %64 = call i32 @write(i32 noundef 1, ptr noundef %62, i32 noundef %63) %65 = icmp eq i32 %64, -1 br i1 %65, label %66, label %68 66: ; preds = %61 %67 = call i32 @exit(i32 noundef -1) #3 unreachable 68: ; preds = %61 br label %50, !llvm.loop !8 69: ; preds = %50 %70 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %71 = load i32, ptr %70, align 4 %72 = call i32 @close(i32 noundef %71) %73 = icmp eq i32 %72, -1 br i1 %73, label %74, label %76 74: ; preds = %69 %75 = call i32 @exit(i32 noundef -1) #3 unreachable 76: ; preds = %69 ret void } declare i32 @pipe(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr 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" } 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/tmpmfl0m550.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"/home//haozhe26/ECS150/Test/foo\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"not open\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"buf is %s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fsort() #0 { %1 = alloca [2 x i32], align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [512 x i8], align 16 %5 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %6 = call i32 @pipe(ptr noundef %5) %7 = icmp eq i32 %6, -1 br i1 %7, label %8, label %10 8: ; preds = %0 %9 = call i32 @exit(i32 noundef -1) #3 unreachable 10: ; preds = %0 %11 = call i32 @open(ptr noundef @.str, i32 noundef 0) store i32 %11, ptr %2, align 4 %12 = icmp eq i32 %11, -1 br i1 %12, label %13, label %15 13: ; preds = %10 %14 = call i32 @perror(ptr noundef @.str.1) br label %15 15: ; preds = %13, %10 %16 = load i32, ptr %2, align 4 %17 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %18 = call i32 @read(i32 noundef %16, ptr noundef %17, i32 noundef 512) store i32 %18, ptr %3, align 4 %19 = icmp ne i32 %18, 0 br i1 %19, label %.lr.ph, label %40 .lr.ph: ; preds = %15 br label %24 20: ; preds = %29 %21 = load i32, ptr %2, align 4 %22 = call i32 @read(i32 noundef %21, ptr noundef %17, i32 noundef 512) store i32 %22, ptr %3, align 4 %23 = icmp ne i32 %22, 0 br i1 %23, label %24, label %._crit_edge, !llvm.loop !6 24: ; preds = %.lr.ph, %20 %25 = load i32, ptr %3, align 4 %26 = icmp eq i32 %25, -1 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = call i32 @exit(i32 noundef -1) #3 unreachable 29: ; preds = %24 %30 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %31 = call i32 @printf(ptr noundef @.str.2, ptr noundef %30) %32 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %33 = load i32, ptr %32, align 4 %34 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %35 = load i32, ptr %3, align 4 %36 = call i32 @write(i32 noundef %33, ptr noundef %34, i32 noundef %35) %37 = icmp eq i32 %36, -1 br i1 %37, label %38, label %20 38: ; preds = %29 %39 = call i32 @exit(i32 noundef -1) #3 unreachable ._crit_edge: ; preds = %20 br label %40 40: ; preds = %._crit_edge, %15 %41 = load i32, ptr %2, align 4 %42 = call i32 @close(i32 noundef %41) %43 = icmp eq i32 %42, -1 br i1 %43, label %49, label %44 44: ; preds = %40 %45 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 1 %46 = load i32, ptr %45, align 4 %47 = call i32 @close(i32 noundef %46) %48 = icmp eq i32 %47, -1 br i1 %48, label %49, label %51 49: ; preds = %44, %40 %50 = call i32 @exit(i32 noundef -1) #3 unreachable 51: ; preds = %44 %52 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %53 = load i32, ptr %52, align 4 %54 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %55 = call i32 @read(i32 noundef %53, ptr noundef %54, i32 noundef 512) store i32 %55, ptr %3, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %.lr.ph2, label %73 .lr.ph2: ; preds = %51 br label %61 57: ; preds = %66 %58 = load i32, ptr %52, align 4 %59 = call i32 @read(i32 noundef %58, ptr noundef %54, i32 noundef 512) store i32 %59, ptr %3, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %61, label %._crit_edge3, !llvm.loop !8 61: ; preds = %.lr.ph2, %57 %62 = load i32, ptr %3, align 4 %63 = icmp eq i32 %62, -1 br i1 %63, label %64, label %66 64: ; preds = %61 %65 = call i32 @exit(i32 noundef -1) #3 unreachable 66: ; preds = %61 %67 = getelementptr inbounds [512 x i8], ptr %4, i64 0, i64 0 %68 = load i32, ptr %3, align 4 %69 = call i32 @write(i32 noundef 1, ptr noundef %67, i32 noundef %68) %70 = icmp eq i32 %69, -1 br i1 %70, label %71, label %57 71: ; preds = %66 %72 = call i32 @exit(i32 noundef -1) #3 unreachable ._crit_edge3: ; preds = %57 br label %73 73: ; preds = %._crit_edge3, %51 %74 = getelementptr inbounds [2 x i32], ptr %1, i64 0, i64 0 %75 = load i32, ptr %74, align 4 %76 = call i32 @close(i32 noundef %75) %77 = icmp eq i32 %76, -1 br i1 %77, label %78, label %80 78: ; preds = %73 %79 = call i32 @exit(i32 noundef -1) #3 unreachable 80: ; preds = %73 ret void } declare i32 @pipe(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ptr 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" } 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/tmpn4767w3l.c' source_filename = "/tmp/tmpn4767w3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rwtest.txt\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"rwtest2.txt\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"fatfs_stdio\0APress Enter to continue...\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Write a message:\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"Writing message to %s...\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0Aftell = %ld.\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"Done.\0AReading message from %s...\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [24 x i8] c"Done.\0ARenaming file...\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"Done.\0ARemoving file...\0A\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [80 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 (...) @wait_enter() %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %14 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %16) %18 = load ptr, ptr %2, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.6) store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %4, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %0 %23 = load ptr, ptr %2, align 8 %24 = call i32 @perror(ptr noundef %23) store i32 1, ptr %1, align 4 br label %136 25: ; preds = %0 %26 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %27 = load ptr, ptr %4, align 8 %28 = call i32 @fputs(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = load ptr, ptr %2, align 8 %33 = call i32 @perror(ptr noundef %32) store i32 1, ptr %1, align 4 br label %136 34: ; preds = %25 br label %35 35: ; preds = %34 %36 = load ptr, ptr %4, align 8 %37 = call i32 @fflush(ptr noundef %36) store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %2, align 8 %42 = call i32 @perror(ptr noundef %41) store i32 1, ptr %1, align 4 br label %136 43: ; preds = %35 %44 = load ptr, ptr %4, align 8 %45 = call i32 @ftell(ptr noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45) %47 = load ptr, ptr %4, align 8 %48 = call i32 @fclose(ptr noundef %47) store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %43 %52 = load ptr, ptr %2, align 8 %53 = call i32 @perror(ptr noundef %52) store i32 1, ptr %1, align 4 br label %136 54: ; preds = %43 %55 = load ptr, ptr %2, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %55) %57 = load ptr, ptr %2, align 8 %58 = call ptr @fopen(ptr noundef %57, ptr noundef @.str.9) store ptr %58, ptr %5, align 8 %59 = load ptr, ptr %4, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load ptr, ptr %2, align 8 %63 = call i32 @perror(ptr noundef %62) store i32 1, ptr %1, align 4 br label %136 64: ; preds = %54 br label %65 65: ; preds = %102, %64 %66 = load ptr, ptr %5, align 8 %67 = call i32 @feof(ptr noundef %66) %68 = icmp ne i32 %67, 0 %69 = xor i1 %68, true br i1 %69, label %70, label %103 70: ; preds = %65 %71 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %72 = load ptr, ptr %5, align 8 %73 = call i64 @fread(ptr noundef %71, i32 noundef 1, i32 noundef 80, ptr noundef %72) store i64 %73, ptr %8, align 8 %74 = load ptr, ptr %5, align 8 %75 = call i64 @ferror(ptr noundef %74) %76 = icmp ne i64 %75, 0 br i1 %76, label %77, label %82 77: ; preds = %70 %78 = load ptr, ptr %2, align 8 %79 = call i32 @perror(ptr noundef %78) %80 = load ptr, ptr %5, align 8 %81 = call i32 @fclose(ptr noundef %80) store i32 1, ptr %1, align 4 br label %136 82: ; preds = %70 %83 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 store ptr %83, ptr %9, align 8 br label %84 84: ; preds = %101, %82 %85 = load i64, ptr %8, align 8 %86 = icmp ugt i64 %85, 0 br i1 %86, label %87, label %102 87: ; preds = %84 %88 = load ptr, ptr %9, align 8 %89 = load i64, ptr %8, align 8 %90 = load i32, ptr @stdout, align 4 %91 = call i64 @fwrite(ptr noundef %88, i32 noundef 1, i64 noundef %89, i32 noundef %90) store i64 %91, ptr %10, align 8 %92 = load i64, ptr %10, align 8 %93 = icmp ugt i64 %92, 0 br i1 %93, label %94, label %101 94: ; preds = %87 %95 = load i64, ptr %10, align 8 %96 = load i64, ptr %8, align 8 %97 = sub i64 %96, %95 store i64 %97, ptr %8, align 8 %98 = load i64, ptr %10, align 8 %99 = load ptr, ptr %9, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 %98 store ptr %100, ptr %9, align 8 br label %101 101: ; preds = %94, %87 br label %84, !llvm.loop !6 102: ; preds = %84 br label %65, !llvm.loop !8 103: ; preds = %65 br label %104 104: ; preds = %103 %105 = load ptr, ptr %5, align 8 %106 = call i32 @ftell(ptr noundef %105) %107 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %106) %108 = load ptr, ptr %5, align 8 %109 = call i32 @fclose(ptr noundef %108) store i32 %109, ptr %7, align 4 %110 = load i32, ptr %7, align 4 %111 = icmp ne i32 %110, 0 br i1 %111, label %112, label %115 112: ; preds = %104 %113 = load ptr, ptr %2, align 8 %114 = call i32 @perror(ptr noundef %113) store i32 1, ptr %1, align 4 br label %136 115: ; preds = %104 %116 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %117 = load ptr, ptr %2, align 8 %118 = load ptr, ptr %3, align 8 %119 = call i32 @rename(ptr noundef %117, ptr noundef %118) store i32 %119, ptr %7, align 4 %120 = load i32, ptr %7, align 4 %121 = icmp ne i32 %120, 0 br i1 %121, label %122, label %125 122: ; preds = %115 %123 = load ptr, ptr %3, align 8 %124 = call i32 @perror(ptr noundef %123) store i32 1, ptr %1, align 4 br label %136 125: ; preds = %115 %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %127 = load ptr, ptr %3, align 8 %128 = call i32 @remove(ptr noundef %127) store i32 %128, ptr %7, align 4 %129 = load i32, ptr %7, align 4 %130 = icmp ne i32 %129, 0 br i1 %130, label %131, label %134 131: ; preds = %125 %132 = load ptr, ptr %3, align 8 %133 = call i32 @perror(ptr noundef %132) store i32 1, ptr %1, align 4 br label %136 134: ; preds = %125 %135 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) store i32 0, ptr %1, align 4 br label %136 136: ; preds = %134, %131, %122, %112, %77, %61, %51, %40, %31, %22 %137 = load i32, ptr %1, align 4 ret i32 %137 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @wait_enter(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn4767w3l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"rwtest.txt\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"rwtest2.txt\00", align 1 @.str.2 = private unnamed_addr constant [40 x i8] c"fatfs_stdio\0APress Enter to continue...\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"Write a message:\0A\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.5 = private unnamed_addr constant [26 x i8] c"Writing message to %s...\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.7 = private unnamed_addr constant [15 x i8] c"\0Aftell = %ld.\0A\00", align 1 @.str.8 = private unnamed_addr constant [34 x i8] c"Done.\0AReading message from %s...\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdout = dso_local global i32 0, align 4 @.str.10 = private unnamed_addr constant [24 x i8] c"Done.\0ARenaming file...\0A\00", align 1 @.str.11 = private unnamed_addr constant [24 x i8] c"Done.\0ARemoving file...\0A\00", align 1 @.str.12 = private unnamed_addr constant [7 x i8] c"Done.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [80 x i8], align 16 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 store i32 0, ptr %1, align 4 store ptr @.str, ptr %2, align 8 store ptr @.str.1, ptr %3, align 8 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %12 = call i32 (...) @wait_enter() %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %14 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %15 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %14) %16 = load ptr, ptr %2, align 8 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %16) %18 = load ptr, ptr %2, align 8 %19 = call ptr @fopen(ptr noundef %18, ptr noundef @.str.6) store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %4, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %25 22: ; preds = %0 %23 = load ptr, ptr %2, align 8 %24 = call i32 @perror(ptr noundef %23) store i32 1, ptr %1, align 4 br label %140 25: ; preds = %0 %26 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %27 = load ptr, ptr %4, align 8 %28 = call i32 @fputs(ptr noundef %26, ptr noundef %27) store i32 %28, ptr %7, align 4 %29 = load i32, ptr %7, align 4 %30 = icmp slt i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %25 %32 = load ptr, ptr %2, align 8 %33 = call i32 @perror(ptr noundef %32) store i32 1, ptr %1, align 4 br label %140 34: ; preds = %25 br label %35 35: ; preds = %34 %36 = load ptr, ptr %4, align 8 %37 = call i32 @fflush(ptr noundef %36) store i32 %37, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %43 40: ; preds = %35 %41 = load ptr, ptr %2, align 8 %42 = call i32 @perror(ptr noundef %41) store i32 1, ptr %1, align 4 br label %140 43: ; preds = %35 %44 = load ptr, ptr %4, align 8 %45 = call i32 @ftell(ptr noundef %44) %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %45) %47 = load ptr, ptr %4, align 8 %48 = call i32 @fclose(ptr noundef %47) store i32 %48, ptr %7, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp ne i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %43 %52 = load ptr, ptr %2, align 8 %53 = call i32 @perror(ptr noundef %52) store i32 1, ptr %1, align 4 br label %140 54: ; preds = %43 %55 = load ptr, ptr %2, align 8 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %55) %57 = load ptr, ptr %2, align 8 %58 = call ptr @fopen(ptr noundef %57, ptr noundef @.str.9) store ptr %58, ptr %5, align 8 %59 = load ptr, ptr %4, align 8 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %64 61: ; preds = %54 %62 = load ptr, ptr %2, align 8 %63 = call i32 @perror(ptr noundef %62) store i32 1, ptr %1, align 4 br label %140 64: ; preds = %54 %65 = load ptr, ptr %5, align 8 %66 = call i32 @feof(ptr noundef %65) %67 = icmp ne i32 %66, 0 %68 = xor i1 %67, true br i1 %68, label %.lr.ph2, label %107 .lr.ph2: ; preds = %64 br label %69 69: ; preds = %.lr.ph2, %102 %70 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 %71 = load ptr, ptr %5, align 8 %72 = call i64 @fread(ptr noundef %70, i32 noundef 1, i32 noundef 80, ptr noundef %71) store i64 %72, ptr %8, align 8 %73 = load ptr, ptr %5, align 8 %74 = call i64 @ferror(ptr noundef %73) %75 = icmp ne i64 %74, 0 br i1 %75, label %76, label %81 76: ; preds = %69 %77 = load ptr, ptr %2, align 8 %78 = call i32 @perror(ptr noundef %77) %79 = load ptr, ptr %5, align 8 %80 = call i32 @fclose(ptr noundef %79) store i32 1, ptr %1, align 4 br label %140 81: ; preds = %69 %82 = getelementptr inbounds [80 x i8], ptr %6, i64 0, i64 0 store ptr %82, ptr %9, align 8 %83 = load i64, ptr %8, align 8 %84 = icmp ugt i64 %83, 0 br i1 %84, label %.lr.ph, label %102 .lr.ph: ; preds = %81 br label %85 85: ; preds = %.lr.ph, %99 %86 = load ptr, ptr %9, align 8 %87 = load i64, ptr %8, align 8 %88 = load i32, ptr @stdout, align 4 %89 = call i64 @fwrite(ptr noundef %86, i32 noundef 1, i64 noundef %87, i32 noundef %88) store i64 %89, ptr %10, align 8 %90 = load i64, ptr %10, align 8 %91 = icmp ugt i64 %90, 0 br i1 %91, label %92, label %99 92: ; preds = %85 %93 = load i64, ptr %10, align 8 %94 = load i64, ptr %8, align 8 %95 = sub i64 %94, %93 store i64 %95, ptr %8, align 8 %96 = load i64, ptr %10, align 8 %97 = load ptr, ptr %9, align 8 %98 = getelementptr inbounds i8, ptr %97, i64 %96 store ptr %98, ptr %9, align 8 br label %99 99: ; preds = %92, %85 %100 = load i64, ptr %8, align 8 %101 = icmp ugt i64 %100, 0 br i1 %101, label %85, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %99 br label %102 102: ; preds = %._crit_edge, %81 %103 = load ptr, ptr %5, align 8 %104 = call i32 @feof(ptr noundef %103) %105 = icmp ne i32 %104, 0 %106 = xor i1 %105, true br i1 %106, label %69, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %102 br label %107 107: ; preds = %._crit_edge3, %64 br label %108 108: ; preds = %107 %109 = load ptr, ptr %5, align 8 %110 = call i32 @ftell(ptr noundef %109) %111 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %110) %112 = load ptr, ptr %5, align 8 %113 = call i32 @fclose(ptr noundef %112) store i32 %113, ptr %7, align 4 %114 = load i32, ptr %7, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %108 %117 = load ptr, ptr %2, align 8 %118 = call i32 @perror(ptr noundef %117) store i32 1, ptr %1, align 4 br label %140 119: ; preds = %108 %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %121 = load ptr, ptr %2, align 8 %122 = load ptr, ptr %3, align 8 %123 = call i32 @rename(ptr noundef %121, ptr noundef %122) store i32 %123, ptr %7, align 4 %124 = load i32, ptr %7, align 4 %125 = icmp ne i32 %124, 0 br i1 %125, label %126, label %129 126: ; preds = %119 %127 = load ptr, ptr %3, align 8 %128 = call i32 @perror(ptr noundef %127) store i32 1, ptr %1, align 4 br label %140 129: ; preds = %119 %130 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %131 = load ptr, ptr %3, align 8 %132 = call i32 @remove(ptr noundef %131) store i32 %132, ptr %7, align 4 %133 = load i32, ptr %7, align 4 %134 = icmp ne i32 %133, 0 br i1 %134, label %135, label %138 135: ; preds = %129 %136 = load ptr, ptr %3, align 8 %137 = call i32 @perror(ptr noundef %136) store i32 1, ptr %1, align 4 br label %140 138: ; preds = %129 %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) store i32 0, ptr %1, align 4 br label %140 140: ; preds = %138, %135, %126, %116, %76, %61, %51, %40, %31, %22 %141 = load i32, ptr %1, align 4 ret i32 %141 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @wait_enter(...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i64 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i64 @ferror(ptr noundef) #1 declare i64 @fwrite(ptr noundef, i32 noundef, i64 noundef, i32 noundef) #1 declare i32 @rename(ptr noundef, ptr noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp7riwbu43.c' source_filename = "/tmp/tmp7riwbu43.c" target datalayout = "e-m:e-p270: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/tmp7riwbu43.c" target datalayout = "e-m:e-p270: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/tmpk13sn42_.c' source_filename = "/tmp/tmpk13sn42_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 (...) @init_sysCx() %9 = call i32 (...) @testfn_RBTree() %10 = call i32 (...) @testfn_Associa() %11 = call i32 (...) @lose_sysCx() ret i32 0 } declare i32 @init_sysCx(...) #1 declare i32 @testfn_RBTree(...) #1 declare i32 @testfn_Associa(...) #1 declare i32 @lose_sysCx(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk13sn42_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 (...) @init_sysCx() %9 = call i32 (...) @testfn_RBTree() %10 = call i32 (...) @testfn_Associa() %11 = call i32 (...) @lose_sysCx() ret i32 0 } declare i32 @init_sysCx(...) #1 declare i32 @testfn_RBTree(...) #1 declare i32 @testfn_Associa(...) #1 declare i32 @lose_sysCx(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprexte65y.c' source_filename = "/tmp/tmprexte65y.c" target datalayout = "e-m:e-p270: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/tmprexte65y.c" target datalayout = "e-m:e-p270: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/tmpeferbn_i.c' source_filename = "/tmp/tmpeferbn_i.c" target datalayout = "e-m:e-p270: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/tmpeferbn_i.c" target datalayout = "e-m:e-p270: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/tmp5gbl9ttn.c' source_filename = "/tmp/tmp5gbl9ttn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subdir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %36 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = call i64 @strncmp(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %34, label %26 26: ; preds = %18 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %26, %18 store i32 1, ptr %3, align 4 br label %36 35: ; preds = %26, %12 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %34, %11 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5gbl9ttn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @subdir(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %5, align 8 %8 = call i32 @strlen(ptr noundef %7) store i32 %8, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = icmp sle i32 %9, 1 br i1 %10, label %11, label %12 11: ; preds = %2 store i32 1, ptr %3, align 4 br label %36 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %6, align 4 %16 = call i64 @strncmp(ptr noundef %13, ptr noundef %14, i32 noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %35 18: ; preds = %12 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp eq i32 %24, 47 br i1 %25, label %34, label %26 26: ; preds = %18 %27 = load ptr, ptr %4, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = sext i8 %31 to i32 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %26, %18 store i32 1, ptr %3, align 4 br label %36 35: ; preds = %26, %12 store i32 0, ptr %3, align 4 br label %36 36: ; preds = %35, %34, %11 %37 = load i32, ptr %3, align 4 ret i32 %37 } declare i32 @strlen(ptr noundef) #1 declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpr1yeu1bn.c' source_filename = "/tmp/tmpr1yeu1bn.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"imatrix: parameters n and m must be > 0\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"imatrix: out of memory\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"imatrix: error allocating memory for M[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @imatrix(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp slt i64 %8, 1 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i64, ptr %5, align 8 %12 = icmp slt i64 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10, %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str) store ptr null, ptr %3, align 8 br label %55 16: ; preds = %10 %17 = load i64, ptr %4, align 8 %18 = call i64 @calloc(i64 noundef %17, i32 noundef 8) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %16 %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.1) store ptr null, ptr %3, align 8 br label %55 24: ; preds = %16 store i32 0, ptr %7, align 4 br label %25 25: ; preds = %44, %24 %26 = load i32, ptr %7, align 4 %27 = sext i32 %26 to i64 %28 = load i64, ptr %4, align 8 %29 = icmp slt i64 %27, %28 br i1 %29, label %30, label %47 30: ; preds = %25 %31 = load i64, ptr %5, align 8 %32 = call i64 @ivector(i64 noundef %31) %33 = inttoptr i64 %32 to ptr %34 = load ptr, ptr %6, align 8 %35 = load i32, ptr %7, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds ptr, ptr %34, i64 %36 store ptr %33, ptr %37, align 8 %38 = icmp ne ptr %33, null br i1 %38, label %43, label %39 39: ; preds = %30 %40 = load i32, ptr @stderr, align 4 %41 = load i32, ptr %7, align 4 %42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %40, ptr noundef @.str.2, i32 noundef %41) store ptr null, ptr %3, align 8 br label %55 43: ; preds = %30 br label %44 44: ; preds = %43 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 br label %25, !llvm.loop !6 47: ; preds = %25 %48 = load ptr, ptr %6, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %53, label %50 50: ; preds = %47 %51 = load i32, ptr @stderr, align 4 %52 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.1) br label %53 53: ; preds = %50, %47 %54 = load ptr, ptr %6, align 8 store ptr %54, ptr %3, align 8 br label %55 55: ; preds = %53, %39, %21, %13 %56 = load ptr, ptr %3, align 8 ret ptr %56 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i64 @ivector(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/tmpr1yeu1bn.c" target datalayout = "e-m:e-p270: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 [41 x i8] c"imatrix: parameters n and m must be > 0\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"imatrix: out of memory\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"imatrix: error allocating memory for M[%d]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @imatrix(i64 noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i64 %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %8 = load i64, ptr %4, align 8 %9 = icmp slt i64 %8, 1 br i1 %9, label %13, label %10 10: ; preds = %2 %11 = load i64, ptr %5, align 8 %12 = icmp slt i64 %11, 1 br i1 %12, label %13, label %16 13: ; preds = %10, %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str) store ptr null, ptr %3, align 8 br label %58 16: ; preds = %10 %17 = load i64, ptr %4, align 8 %18 = call i64 @calloc(i64 noundef %17, i32 noundef 8) %19 = inttoptr i64 %18 to ptr store ptr %19, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %24, label %21 21: ; preds = %16 %22 = load i32, ptr @stderr, align 4 %23 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.1) store ptr null, ptr %3, align 8 br label %58 24: ; preds = %16 store i32 0, ptr %7, align 4 %25 = load i32, ptr %7, align 4 %26 = sext i32 %25 to i64 %27 = load i64, ptr %4, align 8 %28 = icmp slt i64 %26, %27 br i1 %28, label %.lr.ph, label %50 .lr.ph: ; preds = %24 br label %29 29: ; preds = %.lr.ph, %43 %30 = load i64, ptr %5, align 8 %31 = call i64 @ivector(i64 noundef %30) %32 = inttoptr i64 %31 to ptr %33 = load ptr, ptr %6, align 8 %34 = load i32, ptr %7, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds ptr, ptr %33, i64 %35 store ptr %32, ptr %36, align 8 %37 = icmp ne ptr %32, null br i1 %37, label %42, label %38 38: ; preds = %29 %39 = load i32, ptr @stderr, align 4 %40 = load i32, ptr %7, align 4 %41 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.2, i32 noundef %40) store ptr null, ptr %3, align 8 br label %58 42: ; preds = %29 br label %43 43: ; preds = %42 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = sext i32 %46 to i64 %48 = load i64, ptr %4, align 8 %49 = icmp slt i64 %47, %48 br i1 %49, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %50 50: ; preds = %._crit_edge, %24 %51 = load ptr, ptr %6, align 8 %52 = icmp ne ptr %51, null br i1 %52, label %56, label %53 53: ; preds = %50 %54 = load i32, ptr @stderr, align 4 %55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %54, ptr noundef @.str.1) br label %56 56: ; preds = %53, %50 %57 = load ptr, ptr %6, align 8 store ptr %57, ptr %3, align 8 br label %58 58: ; preds = %56, %38, %21, %13 %59 = load ptr, ptr %3, align 8 ret ptr %59 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @calloc(i64 noundef, i32 noundef) #1 declare i64 @ivector(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/tmpm51jr_2s.c' source_filename = "/tmp/tmpm51jr_2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_pdispatch_run\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pdispatch_run() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm51jr_2s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"NOT IMPLEMENTED:pa_pdispatch_run\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @pa_pdispatch_run() #0 { %1 = alloca i32, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = load i32, ptr %1, align 4 ret i32 %3 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp7y0_foy.c' source_filename = "/tmp/tmpp7y0_foy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GET /\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c" HTTP/1.0\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"download\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"total size downloaded: %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @download_file(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [200 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [4096 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) %17 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strcat(ptr noundef %17, ptr noundef %18) %20 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @strcat(ptr noundef %20, ptr noundef @.str.1) %22 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %23 = call i32 @strlen(ptr noundef %22) %24 = sext i32 %23 to i64 %25 = mul i64 1, %24 %26 = add i64 %25, 1 %27 = trunc i64 %26 to i32 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %31 = call i32 @strcat(ptr noundef %29, ptr noundef %30) %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = call i32 @send(i32 noundef %32, ptr noundef %33, i32 noundef %35, i32 noundef 0) %37 = icmp slt i32 %36, 1 br i1 %37, label %38, label %41 38: ; preds = %2 %39 = load ptr, ptr %7, align 8 %40 = call i32 @free(ptr noundef %39) store i32 1, ptr %3, align 4 br label %97 41: ; preds = %2 %42 = load ptr, ptr %7, align 8 %43 = call i32 @free(ptr noundef %42) %44 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %48, label %47 47: ; preds = %41 store i32 1, ptr %3, align 4 br label %97 48: ; preds = %41 store i32 1, ptr %11, align 4 store i32 1, ptr %12, align 4 store i32 1, ptr %13, align 4 store i64 0, ptr %14, align 8 br label %49 49: ; preds = %82, %48 %50 = load i32, ptr %13, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %55 = call i32 @recv(i32 noundef %53, ptr noundef %54, i32 noundef 4095, i32 noundef 0) store i32 %55, ptr %10, align 4 %56 = icmp sgt i32 %55, 0 br label %57 57: ; preds = %52, %49 %58 = phi i1 [ false, %49 ], [ %56, %52 ] br i1 %58, label %59, label %92 59: ; preds = %57 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 %61 store i8 0, ptr %62, align 1 %63 = load i32, ptr %11, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %72 65: ; preds = %59 %66 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %67 = call i64 @rem_headers(ptr noundef %66) %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = sub nsw i64 %69, %67 %71 = trunc i64 %70 to i32 store i32 %71, ptr %10, align 4 store i32 0, ptr %12, align 4 br label %72 72: ; preds = %65, %59 %73 = load i32, ptr %11, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %82, label %75 75: ; preds = %72 %76 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %77 = call ptr @strstr(ptr noundef %76, ptr noundef @.str.4) %78 = icmp ne ptr %77, null br i1 %78, label %79, label %82 79: ; preds = %75 store i32 0, ptr %13, align 4 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 %80, 8 store i32 %81, ptr %10, align 4 br label %82 82: ; preds = %79, %75, %72 %83 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %84 = load i32, ptr %10, align 4 %85 = load ptr, ptr %8, align 8 %86 = call i32 @fwrite(ptr noundef %83, i32 noundef 1, i32 noundef %84, ptr noundef %85) %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = load i64, ptr %14, align 8 %90 = add i64 %89, %88 store i64 %90, ptr %14, align 8 %91 = load i32, ptr %12, align 4 store i32 %91, ptr %11, align 4 br label %49, !llvm.loop !6 92: ; preds = %57 %93 = load ptr, ptr %8, align 8 %94 = call i32 @fclose(ptr noundef %93) %95 = load i64, ptr %14, align 8 %96 = call i32 @printf(ptr noundef @.str.5, i64 noundef %95) store i32 0, ptr %3, align 4 br label %97 97: ; preds = %92, %47, %38 %98 = load i32, ptr %3, align 4 ret i32 %98 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @rem_headers(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp7y0_foy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GET /\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c" HTTP/1.0\0A\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"download\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"\0D\0A\0D\0A\00", align 1 @.str.5 = private unnamed_addr constant [28 x i8] c"total size downloaded: %lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @download_file(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca [200 x i8], align 16 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [4096 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i64, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @strcpy(ptr noundef %15, ptr noundef @.str) %17 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strcat(ptr noundef %17, ptr noundef %18) %20 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %21 = call i32 @strcat(ptr noundef %20, ptr noundef @.str.1) %22 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %23 = call i32 @strlen(ptr noundef %22) %24 = sext i32 %23 to i64 %25 = mul i64 1, %24 %26 = add i64 %25, 1 %27 = trunc i64 %26 to i32 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %7, align 8 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds [200 x i8], ptr %6, i64 0, i64 0 %31 = call i32 @strcat(ptr noundef %29, ptr noundef %30) %32 = load i32, ptr %4, align 4 %33 = load ptr, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = call i32 @strlen(ptr noundef %34) %36 = call i32 @send(i32 noundef %32, ptr noundef %33, i32 noundef %35, i32 noundef 0) %37 = icmp slt i32 %36, 1 br i1 %37, label %38, label %41 38: ; preds = %2 %39 = load ptr, ptr %7, align 8 %40 = call i32 @free(ptr noundef %39) store i32 1, ptr %3, align 4 br label %97 41: ; preds = %2 %42 = load ptr, ptr %7, align 8 %43 = call i32 @free(ptr noundef %42) %44 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %44, ptr %8, align 8 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %48, label %47 47: ; preds = %41 store i32 1, ptr %3, align 4 br label %97 48: ; preds = %41 store i32 1, ptr %11, align 4 store i32 1, ptr %12, align 4 store i32 1, ptr %13, align 4 store i64 0, ptr %14, align 8 br label %49 49: ; preds = %82, %48 %50 = load i32, ptr %13, align 4 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %57 52: ; preds = %49 %53 = load i32, ptr %4, align 4 %54 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %55 = call i32 @recv(i32 noundef %53, ptr noundef %54, i32 noundef 4095, i32 noundef 0) store i32 %55, ptr %10, align 4 %56 = icmp sgt i32 %55, 0 br label %57 57: ; preds = %52, %49 %58 = phi i1 [ false, %49 ], [ %56, %52 ] br i1 %58, label %59, label %92 59: ; preds = %57 %60 = load i32, ptr %10, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 %61 store i8 0, ptr %62, align 1 %63 = load i32, ptr %11, align 4 %64 = icmp ne i32 %63, 0 br i1 %64, label %65, label %72 65: ; preds = %59 %66 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %67 = call i64 @rem_headers(ptr noundef %66) %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = sub nsw i64 %69, %67 %71 = trunc i64 %70 to i32 store i32 %71, ptr %10, align 4 store i32 0, ptr %12, align 4 br label %72 72: ; preds = %65, %59 %73 = load i32, ptr %11, align 4 %74 = icmp ne i32 %73, 0 br i1 %74, label %82, label %75 75: ; preds = %72 %76 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %77 = call ptr @strstr(ptr noundef %76, ptr noundef @.str.4) %78 = icmp ne ptr %77, null br i1 %78, label %79, label %82 79: ; preds = %75 store i32 0, ptr %13, align 4 %80 = load i32, ptr %10, align 4 %81 = sub nsw i32 %80, 8 store i32 %81, ptr %10, align 4 br label %82 82: ; preds = %79, %75, %72 %83 = getelementptr inbounds [4096 x i8], ptr %9, i64 0, i64 0 %84 = load i32, ptr %10, align 4 %85 = load ptr, ptr %8, align 8 %86 = call i32 @fwrite(ptr noundef %83, i32 noundef 1, i32 noundef %84, ptr noundef %85) %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = load i64, ptr %14, align 8 %90 = add i64 %89, %88 store i64 %90, ptr %14, align 8 %91 = load i32, ptr %12, align 4 store i32 %91, ptr %11, align 4 br label %49, !llvm.loop !6 92: ; preds = %57 %93 = load ptr, ptr %8, align 8 %94 = call i32 @fclose(ptr noundef %93) %95 = load i64, ptr %14, align 8 %96 = call i32 @printf(ptr noundef @.str.5, i64 noundef %95) store i32 0, ptr %3, align 4 br label %97 97: ; preds = %92, %47, %38 %98 = load i32, ptr %3, align 4 ret i32 %98 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @rem_headers(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @printf(ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0ih9obh6.c' source_filename = "/tmp/tmp0ih9obh6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 (...) @f() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 br label %6 5: ; preds = %0 br label %6 6: ; preds = %5, %4 ret i32 0 } declare i64 @f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp0ih9obh6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 i64 (...) @f() %3 = icmp ne i64 %2, 0 br i1 %3, label %4, label %5 4: ; preds = %0 br label %6 5: ; preds = %0 br label %6 6: ; preds = %5, %4 ret i32 0 } declare i64 @f(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprtpw7r7h.c' source_filename = "/tmp/tmprtpw7r7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_strjoin_frs2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %11, %2 store ptr null, ptr %3, align 8 br label %82 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 @ft_strlen(ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @ft_strlen(ptr noundef %18) %20 = add nsw i32 %17, %19 %21 = add nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = mul i64 8, %22 %24 = trunc i64 %23 to i32 %25 = call ptr @malloc(i32 noundef %24) store ptr %25, ptr %6, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %28, label %27 27: ; preds = %15 store ptr null, ptr %3, align 8 br label %82 28: ; preds = %15 br label %29 29: ; preds = %36, %28 %30 = load ptr, ptr %4, align 8 %31 = load i32, ptr %7, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = icmp ne i8 %34, 0 br i1 %35, label %36, label %48 36: ; preds = %29 %37 = load ptr, ptr %4, align 8 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = load ptr, ptr %6, align 8 %43 = load i32, ptr %7, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 store i8 %41, ptr %45, align 1 %46 = load i32, ptr %7, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %7, align 4 br label %29, !llvm.loop !6 48: ; preds = %29 %49 = load i32, ptr %7, align 4 store i32 %49, ptr %8, align 4 store i32 0, ptr %7, align 4 br label %50 50: ; preds = %57, %48 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %7, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = icmp ne i8 %55, 0 br i1 %56, label %57, label %71 57: ; preds = %50 %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %7, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i8, ptr %58, i64 %60 %62 = load i8, ptr %61, align 1 %63 = load ptr, ptr %6, align 8 %64 = load i32, ptr %8, align 4 %65 = load i32, ptr %7, align 4 %66 = add nsw i32 %64, %65 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %63, i64 %67 store i8 %62, ptr %68, align 1 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %7, align 4 br label %50, !llvm.loop !8 71: ; preds = %50 %72 = load ptr, ptr %6, align 8 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load i32, ptr %8, align 4 %76 = add nsw i32 %73, %75 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %72, i64 %77 store i8 0, ptr %78, align 1 %79 = load ptr, ptr %5, align 8 %80 = call i32 @free(ptr noundef %79) %81 = load ptr, ptr %6, align 8 store ptr %81, ptr %3, align 8 br label %82 82: ; preds = %71, %27, %14 %83 = load ptr, ptr %3, align 8 ret ptr %83 } declare ptr @malloc(i32 noundef) #1 declare i32 @ft_strlen(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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprtpw7r7h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_strjoin_frs2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %9 = load ptr, ptr %4, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load ptr, ptr %5, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %15, label %14 14: ; preds = %11, %2 store ptr null, ptr %3, align 8 br label %92 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i32 @ft_strlen(ptr noundef %16) %18 = load ptr, ptr %5, align 8 %19 = call i32 @ft_strlen(ptr noundef %18) %20 = add nsw i32 %17, %19 %21 = add nsw i32 %20, 1 %22 = sext i32 %21 to i64 %23 = mul i64 8, %22 %24 = trunc i64 %23 to i32 %25 = call ptr @malloc(i32 noundef %24) store ptr %25, ptr %6, align 8 %26 = icmp ne ptr %25, null br i1 %26, label %28, label %27 27: ; preds = %15 store ptr null, ptr %3, align 8 br label %92 28: ; preds = %15 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %7, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = icmp ne i8 %33, 0 br i1 %34, label %.lr.ph, label %53 .lr.ph: ; preds = %28 br label %35 35: ; preds = %.lr.ph, %35 %36 = load ptr, ptr %4, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load ptr, ptr %6, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 store i8 %40, ptr %44, align 1 %45 = load i32, ptr %7, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %7, align 4 %47 = load ptr, ptr %4, align 8 %48 = load i32, ptr %7, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds i8, ptr %47, i64 %49 %51 = load i8, ptr %50, align 1 %52 = icmp ne i8 %51, 0 br i1 %52, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %53 53: ; preds = %._crit_edge, %28 %54 = load i32, ptr %7, align 4 store i32 %54, ptr %8, align 4 store i32 0, ptr %7, align 4 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %7, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = icmp ne i8 %59, 0 br i1 %60, label %.lr.ph2, label %81 .lr.ph2: ; preds = %53 br label %61 61: ; preds = %.lr.ph2, %61 %62 = load ptr, ptr %5, align 8 %63 = load i32, ptr %7, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds i8, ptr %62, i64 %64 %66 = load i8, ptr %65, align 1 %67 = load ptr, ptr %6, align 8 %68 = load i32, ptr %8, align 4 %69 = load i32, ptr %7, align 4 %70 = add nsw i32 %68, %69 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %67, i64 %71 store i8 %66, ptr %72, align 1 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %7, align 4 %75 = load ptr, ptr %5, align 8 %76 = load i32, ptr %7, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i8, ptr %75, i64 %77 %79 = load i8, ptr %78, align 1 %80 = icmp ne i8 %79, 0 br i1 %80, label %61, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %81 81: ; preds = %._crit_edge3, %53 %82 = load ptr, ptr %6, align 8 %83 = load i32, ptr %7, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %7, align 4 %85 = load i32, ptr %8, align 4 %86 = add nsw i32 %83, %85 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %82, i64 %87 store i8 0, ptr %88, align 1 %89 = load ptr, ptr %5, align 8 %90 = call i32 @free(ptr noundef %89) %91 = load ptr, ptr %6, align 8 store ptr %91, ptr %3, align 8 br label %92 92: ; preds = %81, %27, %14 %93 = load ptr, ptr %3, align 8 ret ptr %93 } declare ptr @malloc(i32 noundef) #1 declare i32 @ft_strlen(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}
; ModuleID = '/tmp/tmp3zsjak7u.c' source_filename = "/tmp/tmp3zsjak7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"divisao impossivel\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%.1lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) store i32 1, ptr %5, align 4 br label %7 7: ; preds = %25, %0 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %28 11: ; preds = %7 %12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %24 17: ; preds = %11 %18 = load i32, ptr %2, align 4 %19 = sitofp i32 %18 to double %20 = load i32, ptr %3, align 4 %21 = sitofp i32 %20 to double %22 = fdiv double %19, %21 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %22) br label %24 24: ; preds = %17, %15 br label %25 25: ; preds = %24 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 br label %7, !llvm.loop !6 28: ; preds = %7 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3zsjak7u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"divisao impossivel\0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"%.1lf\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %4) store i32 1, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %24 %11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3) %12 = load i32, ptr %3, align 4 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %10 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %23 16: ; preds = %10 %17 = load i32, ptr %2, align 4 %18 = sitofp i32 %17 to double %19 = load i32, ptr %3, align 4 %20 = sitofp i32 %19 to double %21 = fdiv double %18, %20 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %21) br label %23 23: ; preds = %16, %14 br label %24 24: ; preds = %23 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp sle i32 %27, %28 br i1 %29, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpi85mw4_0.c' source_filename = "/tmp/tmpi85mw4_0.c" target datalayout = "e-m:e-p270: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 i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_num(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %10, %1 %6 = load ptr, ptr %2, align 8 %7 = call signext i8 @fgetc(ptr noundef %6) store i8 %7, ptr %4, align 1 %8 = call i64 @isspace(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %5 br label %5, !llvm.loop !6 11: ; preds = %5 %12 = load ptr, ptr %2, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i64 @ftell(ptr noundef %13) %15 = sub nsw i64 %14, 1 %16 = call i32 @fseek(ptr noundef %12, i64 noundef %15, i64 noundef 0) br label %17 17: ; preds = %31, %11 %18 = load i8, ptr @EOF, align 1 %19 = sext i8 %18 to i32 %20 = load ptr, ptr %2, align 8 %21 = call signext i8 @fgetc(ptr noundef %20) store i8 %21, ptr %4, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %19, %22 br i1 %23, label %24, label %29 24: ; preds = %17 %25 = load i8, ptr %4, align 1 %26 = call i64 @isspace(i8 noundef signext %25) %27 = icmp ne i64 %26, 0 %28 = xor i1 %27, true br label %29 29: ; preds = %24, %17 %30 = phi i1 [ false, %17 ], [ %28, %24 ] br i1 %30, label %31, label %39 31: ; preds = %29 %32 = load i32, ptr %3, align 4 %33 = mul nsw i32 %32, 10 store i32 %33, ptr %3, align 4 %34 = load i8, ptr %4, align 1 %35 = sext i8 %34 to i32 %36 = sub nsw i32 %35, 48 %37 = load i32, ptr %3, align 4 %38 = add nsw i32 %37, %36 store i32 %38, ptr %3, align 4 br label %17, !llvm.loop !8 39: ; preds = %29 %40 = load i32, ptr %3, align 4 ret i32 %40 } declare i64 @isspace(i8 noundef signext) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i64 noundef) #1 declare i64 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpi85mw4_0.c" target datalayout = "e-m:e-p270: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 i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_num(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i8, align 1 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %5, %1 %6 = load ptr, ptr %2, align 8 %7 = call signext i8 @fgetc(ptr noundef %6) store i8 %7, ptr %4, align 1 %8 = call i64 @isspace(i8 noundef signext %7) %9 = icmp ne i64 %8, 0 br i1 %9, label %5, label %10, !llvm.loop !6 10: ; preds = %5 %11 = load ptr, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i64 @ftell(ptr noundef %12) %14 = sub nsw i64 %13, 1 %15 = call i32 @fseek(ptr noundef %11, i64 noundef %14, i64 noundef 0) br label %16 16: ; preds = %30, %10 %17 = load i8, ptr @EOF, align 1 %18 = sext i8 %17 to i32 %19 = load ptr, ptr %2, align 8 %20 = call signext i8 @fgetc(ptr noundef %19) store i8 %20, ptr %4, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %18, %21 br i1 %22, label %23, label %28 23: ; preds = %16 %24 = load i8, ptr %4, align 1 %25 = call i64 @isspace(i8 noundef signext %24) %26 = icmp ne i64 %25, 0 %27 = xor i1 %26, true br label %28 28: ; preds = %23, %16 %29 = phi i1 [ false, %16 ], [ %27, %23 ] br i1 %29, label %30, label %38 30: ; preds = %28 %31 = load i32, ptr %3, align 4 %32 = mul nsw i32 %31, 10 store i32 %32, ptr %3, align 4 %33 = load i8, ptr %4, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %34, 48 %36 = load i32, ptr %3, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %3, align 4 br label %16, !llvm.loop !8 38: ; preds = %28 %39 = load i32, ptr %3, align 4 ret i32 %39 } declare i64 @isspace(i8 noundef signext) #1 declare signext i8 @fgetc(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i64 noundef) #1 declare i64 @ftell(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4gazzojf.c' source_filename = "/tmp/tmp4gazzojf.c" target datalayout = "e-m:e-p270: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/tmp4gazzojf.c" target datalayout = "e-m:e-p270: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/tmpoue2f26q.c' source_filename = "/tmp/tmpoue2f26q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @idfNormal(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call double @idfStandard(double noundef %9) %11 = call double @llvm.fmuladd.f64(double %8, double %10, double %7) ret double %11 } declare double @idfStandard(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoue2f26q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @idfNormal(double noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 store double %0, ptr %4, align 8 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %7 = load double, ptr %4, align 8 %8 = load double, ptr %5, align 8 %9 = load double, ptr %6, align 8 %10 = call double @idfStandard(double noundef %9) %11 = call double @llvm.fmuladd.f64(double %8, double %10, double %7) ret double %11 } declare double @idfStandard(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzn_72ynr.c' source_filename = "/tmp/tmpzn_72ynr.c" target datalayout = "e-m:e-p270: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/tmpzn_72ynr.c" target datalayout = "e-m:e-p270: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/tmpnazisz6z.c' source_filename = "/tmp/tmpnazisz6z.c" target datalayout = "e-m:e-p270: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/tmpnazisz6z.c" target datalayout = "e-m:e-p270: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/tmpvverbb1y.c' source_filename = "/tmp/tmpvverbb1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @philosopher(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %1, %3 %4 = load ptr, ptr %2, align 8 %5 = ptrtoint ptr %4 to i64 %6 = call i32 @think(i64 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = ptrtoint ptr %7 to i64 %9 = call i32 @take_forks(i64 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = ptrtoint ptr %10 to i64 %12 = call i32 @eat(i64 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = ptrtoint ptr %13 to i64 %15 = call i32 @put_forks(i64 noundef %14) br label %3 } declare i32 @think(i64 noundef) #1 declare i32 @take_forks(i64 noundef) #1 declare i32 @eat(i64 noundef) #1 declare i32 @put_forks(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/tmpvverbb1y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @philosopher(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %3, %1 %4 = load ptr, ptr %2, align 8 %5 = ptrtoint ptr %4 to i64 %6 = call i32 @think(i64 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = ptrtoint ptr %7 to i64 %9 = call i32 @take_forks(i64 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = ptrtoint ptr %10 to i64 %12 = call i32 @eat(i64 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = ptrtoint ptr %13 to i64 %15 = call i32 @put_forks(i64 noundef %14) br label %3 } declare i32 @think(i64 noundef) #1 declare i32 @take_forks(i64 noundef) #1 declare i32 @eat(i64 noundef) #1 declare i32 @put_forks(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/tmp4orlp_n9.c' source_filename = "/tmp/tmp4orlp_n9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%d;%d;%dm\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @color(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = add nsw i32 %8, 30 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 40 %12 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %7, i32 noundef %9, i32 noundef %11) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4orlp_n9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%c[%d;%d;%dm\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @color(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 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = add nsw i32 %8, 30 %10 = load i32, ptr %6, align 4 %11 = add nsw i32 %10, 40 %12 = call i32 @printf(ptr noundef @.str, i32 noundef 27, i32 noundef %7, i32 noundef %9, i32 noundef %11) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphcxb0p3a.c' source_filename = "/tmp/tmphcxb0p3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SO_KEEPALIVE = dso_local global i32 0, align 4 @SOL_TCP = dso_local global i32 0, align 4 @TCP_KEEPIDLE = dso_local global i32 0, align 4 @TCP_KEEPINTVL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_ka(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 31, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @SOL_SOCKET, align 4 %7 = load i32, ptr @SO_KEEPALIVE, align 4 %8 = call i32 @setsockopt(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %3, i32 noundef 4) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr @SOL_TCP, align 4 %11 = load i32, ptr @TCP_KEEPIDLE, align 4 %12 = call i32 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %4, i32 noundef 4) %13 = load i32, ptr %2, align 4 %14 = load i32, ptr @SOL_TCP, align 4 %15 = load i32, ptr @TCP_KEEPINTVL, align 4 %16 = call i32 @setsockopt(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %4, i32 noundef 4) ret void } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphcxb0p3a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SOL_SOCKET = dso_local global i32 0, align 4 @SO_KEEPALIVE = dso_local global i32 0, align 4 @SOL_TCP = dso_local global i32 0, align 4 @TCP_KEEPIDLE = dso_local global i32 0, align 4 @TCP_KEEPINTVL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_ka(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 1, ptr %3, align 4 store i32 31, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr @SOL_SOCKET, align 4 %7 = load i32, ptr @SO_KEEPALIVE, align 4 %8 = call i32 @setsockopt(i32 noundef %5, i32 noundef %6, i32 noundef %7, ptr noundef %3, i32 noundef 4) %9 = load i32, ptr %2, align 4 %10 = load i32, ptr @SOL_TCP, align 4 %11 = load i32, ptr @TCP_KEEPIDLE, align 4 %12 = call i32 @setsockopt(i32 noundef %9, i32 noundef %10, i32 noundef %11, ptr noundef %4, i32 noundef 4) %13 = load i32, ptr %2, align 4 %14 = load i32, ptr @SOL_TCP, align 4 %15 = load i32, ptr @TCP_KEEPINTVL, align 4 %16 = call i32 @setsockopt(i32 noundef %13, i32 noundef %14, i32 noundef %15, ptr noundef %4, i32 noundef 4) ret void } declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2tvl61iz.c' source_filename = "/tmp/tmp2tvl61iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substring(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = load i64, ptr %7, align 8 %11 = add i64 %9, %10 %12 = load ptr, ptr %5, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = icmp ugt i64 %11, %13 br i1 %14, label %15, label %16 15: ; preds = %3 store ptr null, ptr %4, align 8 br label %29 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = mul i64 1, %17 %19 = add i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call ptr @malloc(i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i64, ptr %7, align 8 %27 = call i32 @strncpy(ptr noundef %22, ptr noundef %25, i64 noundef %26) %28 = load ptr, ptr %8, align 8 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %16, %15 %30 = load ptr, ptr %4, align 8 ret ptr %30 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2tvl61iz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @substring(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load i64, ptr %6, align 8 %10 = load i64, ptr %7, align 8 %11 = add i64 %9, %10 %12 = load ptr, ptr %5, align 8 %13 = call i64 @strlen(ptr noundef %12) %14 = icmp ugt i64 %11, %13 br i1 %14, label %15, label %16 15: ; preds = %3 store ptr null, ptr %4, align 8 br label %29 16: ; preds = %3 %17 = load i64, ptr %7, align 8 %18 = mul i64 1, %17 %19 = add i64 %18, 1 %20 = trunc i64 %19 to i32 %21 = call ptr @malloc(i32 noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = load ptr, ptr %5, align 8 %24 = load i64, ptr %6, align 8 %25 = getelementptr inbounds i8, ptr %23, i64 %24 %26 = load i64, ptr %7, align 8 %27 = call i32 @strncpy(ptr noundef %22, ptr noundef %25, i64 noundef %26) %28 = load ptr, ptr %8, align 8 store ptr %28, ptr %4, align 8 br label %29 29: ; preds = %16, %15 %30 = load ptr, ptr %4, align 8 ret ptr %30 } declare i64 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3kcpstvv.c' source_filename = "/tmp/tmp3kcpstvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [190 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/0x7F800000/gcc/refs/heads/arm-hot-cold/ARMToolChain/source/gcc-5.2.0/gcc/testsuite/gcc.dg/pr61861.c\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"03:45:32\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Sat Jan 22 17:39:12 2022\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f() #0 { %1 = call i32 @foo(ptr noundef @.str) %2 = call i32 @foo(ptr noundef @.str) %3 = call i32 @foo(ptr noundef @.str.1) %4 = call i32 @foo(ptr noundef @.str.2) %5 = call i32 @foo(ptr noundef @.str.3) %6 = call i32 @bar(i32 noundef 1, i32 noundef 25) %7 = call i32 @bar(i32 noundef 0, i32 noundef 1) %8 = call i32 @foo(ptr noundef @.str) %9 = call i32 @foo(ptr noundef @.str.1) %10 = call i32 @foo(ptr noundef @.str.2) %11 = call i32 @bar(i32 noundef 1, i32 noundef 31) %12 = call i32 @foo(ptr noundef @.str.4) %13 = call i32 @foo(ptr noundef @.str.4) %14 = call i32 @foo(ptr noundef @.str.4) %15 = call i32 @bar(i32 noundef 1, i32 noundef 42) ret void } declare i32 @foo(ptr noundef) #1 declare i32 @bar(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/tmp3kcpstvv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [190 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/0x7F800000/gcc/refs/heads/arm-hot-cold/ARMToolChain/source/gcc-5.2.0/gcc/testsuite/gcc.dg/pr61861.c\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"03:45:32\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Mar 18 2022\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"Sat Jan 22 17:39:12 2022\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @f() #0 { %1 = call i32 @foo(ptr noundef @.str) %2 = call i32 @foo(ptr noundef @.str) %3 = call i32 @foo(ptr noundef @.str.1) %4 = call i32 @foo(ptr noundef @.str.2) %5 = call i32 @foo(ptr noundef @.str.3) %6 = call i32 @bar(i32 noundef 1, i32 noundef 25) %7 = call i32 @bar(i32 noundef 0, i32 noundef 1) %8 = call i32 @foo(ptr noundef @.str) %9 = call i32 @foo(ptr noundef @.str.1) %10 = call i32 @foo(ptr noundef @.str.2) %11 = call i32 @bar(i32 noundef 1, i32 noundef 31) %12 = call i32 @foo(ptr noundef @.str.4) %13 = call i32 @foo(ptr noundef @.str.4) %14 = call i32 @foo(ptr noundef @.str.4) %15 = call i32 @bar(i32 noundef 1, i32 noundef 42) ret void } declare i32 @foo(ptr noundef) #1 declare i32 @bar(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/tmpq27sttrb.c' source_filename = "/tmp/tmpq27sttrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @strtold(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 x86_fp80 @strtod(ptr noundef %5, ptr noundef %6) ret x86_fp80 %7 } declare x86_fp80 @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/tmpq27sttrb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local x86_fp80 @strtold(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 x86_fp80 @strtod(ptr noundef %5, ptr noundef %6) ret x86_fp80 %7 } declare x86_fp80 @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/tmpvkyneyhc.c' source_filename = "/tmp/tmpvkyneyhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_first(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 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %36, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %39 10: ; preds = %6 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %21 13: ; preds = %10 %14 = load i32, ptr %4, align 4 %15 = icmp sgt i32 %14, 1 br i1 %15, label %16, label %21 16: ; preds = %13 %17 = load i32, ptr %3, align 4 %18 = icmp sgt i32 %17, 1 br i1 %18, label %19, label %21 19: ; preds = %16 %20 = call i32 @my_putchar(i8 noundef signext 65) br label %21 21: ; preds = %19, %16, %13, %10 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %3, align 4 %24 = sub nsw i32 %23, 1 %25 = icmp eq i32 %22, %24 br i1 %25, label %26, label %34 26: ; preds = %21 %27 = load i32, ptr %4, align 4 %28 = icmp sgt i32 %27, 1 br i1 %28, label %29, label %34 29: ; preds = %26 %30 = load i32, ptr %3, align 4 %31 = icmp sgt i32 %30, 1 br i1 %31, label %32, label %34 32: ; preds = %29 %33 = call i32 @my_putchar(i8 noundef signext 67) br label %36 34: ; preds = %29, %26, %21 %35 = call i32 @my_putchar(i8 noundef signext 66) br label %36 36: ; preds = %34, %32 %37 = load i32, ptr %5, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %5, align 4 br label %6, !llvm.loop !6 39: ; preds = %6 %40 = call i32 @my_putchar(i8 noundef signext 10) ret void } declare i32 @my_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvkyneyhc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ft_first(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 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %35 %10 = load i32, ptr %5, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %20 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = icmp sgt i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %15 %19 = call i32 @my_putchar(i8 noundef signext 65) br label %20 20: ; preds = %18, %15, %12, %9 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = sub nsw i32 %22, 1 %24 = icmp eq i32 %21, %23 br i1 %24, label %25, label %33 25: ; preds = %20 %26 = load i32, ptr %4, align 4 %27 = icmp sgt i32 %26, 1 br i1 %27, label %28, label %33 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = icmp sgt i32 %29, 1 br i1 %30, label %31, label %33 31: ; preds = %28 %32 = call i32 @my_putchar(i8 noundef signext 67) br label %35 33: ; preds = %28, %25, %20 %34 = call i32 @my_putchar(i8 noundef signext 66) br label %35 35: ; preds = %33, %31 %36 = load i32, ptr %5, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %5, align 4 %38 = load i32, ptr %5, align 4 %39 = load i32, ptr %3, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %35 br label %41 41: ; preds = %._crit_edge, %2 %42 = call i32 @my_putchar(i8 noundef signext 10) ret void } declare i32 @my_putchar(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpiuw0m1v2.c' source_filename = "/tmp/tmpiuw0m1v2.c" target datalayout = "e-m:e-p270: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/tmpiuw0m1v2.c" target datalayout = "e-m:e-p270: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/tmp82_jftr8.c' source_filename = "/tmp/tmp82_jftr8.c" target datalayout = "e-m:e-p270: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/tmp82_jftr8.c" target datalayout = "e-m:e-p270: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/tmp0e6vvh77.c' source_filename = "/tmp/tmp0e6vvh77.c" target datalayout = "e-m:e-p270: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/tmp0e6vvh77.c" target datalayout = "e-m:e-p270: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/tmp59sanhs8.c' source_filename = "/tmp/tmp59sanhs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = 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/tmp59sanhs8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @BUFSIZ = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @stdout = 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/tmpf0lcjkdt.c' source_filename = "/tmp/tmpf0lcjkdt.c" target datalayout = "e-m:e-p270: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/tmpf0lcjkdt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_6oty8my.c' source_filename = "/tmp/tmp_6oty8my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fcitx_ucs4_char_len(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 128 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %24 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 2048 br i1 %9, label %10, label %11 10: ; preds = %7 store i32 2, ptr %2, align 4 br label %24 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 65536 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 3, ptr %2, align 4 br label %24 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 2097152 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 4, ptr %2, align 4 br label %24 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 134217728 br i1 %21, label %22, label %23 22: ; preds = %19 store i32 5, ptr %2, align 4 br label %24 23: ; preds = %19 store i32 6, ptr %2, align 4 br label %24 24: ; preds = %23, %22, %18, %14, %10, %6 %25 = load i32, ptr %2, align 4 ret i32 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_6oty8my.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fcitx_ucs4_char_len(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp slt i32 %4, 128 br i1 %5, label %6, label %7 6: ; preds = %1 store i32 1, ptr %2, align 4 br label %24 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 2048 br i1 %9, label %10, label %11 10: ; preds = %7 store i32 2, ptr %2, align 4 br label %24 11: ; preds = %7 %12 = load i32, ptr %3, align 4 %13 = icmp slt i32 %12, 65536 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 3, ptr %2, align 4 br label %24 15: ; preds = %11 %16 = load i32, ptr %3, align 4 %17 = icmp slt i32 %16, 2097152 br i1 %17, label %18, label %19 18: ; preds = %15 store i32 4, ptr %2, align 4 br label %24 19: ; preds = %15 %20 = load i32, ptr %3, align 4 %21 = icmp slt i32 %20, 134217728 br i1 %21, label %22, label %23 22: ; preds = %19 store i32 5, ptr %2, align 4 br label %24 23: ; preds = %19 store i32 6, ptr %2, align 4 br label %24 24: ; preds = %23, %22, %18, %14, %10, %6 %25 = load i32, ptr %2, align 4 ret i32 %25 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4twjztc5.c' source_filename = "/tmp/tmp4twjztc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %5 %14 = load i32, ptr %9, align 4 %15 = icmp eq i32 %14, 0 br label %16 16: ; preds = %13, %5 %17 = phi i1 [ false, %5 ], [ %15, %13 ] %18 = xor i1 %17, true %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %16 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 4 %29 = trunc i64 %28 to i32 %30 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef %29) br label %80 31: ; preds = %16 %32 = load i32, ptr %9, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %10, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = trunc i64 %39 to i32 %41 = call i32 @memcpy(ptr noundef %35, ptr noundef %36, i32 noundef %40) br label %79 42: ; preds = %31 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 0 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 0 %48 = load i32, ptr %47, align 4 %49 = icmp sle i32 %45, %48 br i1 %49, label %50, label %64 50: ; preds = %42 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds i32, ptr %51, i64 0 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %10, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 0 store i32 %53, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 1 %58 = load i32, ptr %7, align 4 %59 = sub nsw i32 %58, 1 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 1 call void @merge(ptr noundef %57, i32 noundef %59, ptr noundef %60, i32 noundef %61, ptr noundef %63) br label %78 64: ; preds = %42 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 0 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 0 store i32 %67, ptr %69, align 4 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %7, align 4 %72 = load ptr, ptr %8, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 1 %74 = load i32, ptr %9, align 4 %75 = sub nsw i32 %74, 1 %76 = load ptr, ptr %10, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 1 call void @merge(ptr noundef %70, i32 noundef %71, ptr noundef %73, i32 noundef %75, ptr noundef %77) br label %78 78: ; preds = %64, %50 br label %79 79: ; preds = %78, %34 br label %80 80: ; preds = %79, %23 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @memcpy(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/tmp4twjztc5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store i32 %3, ptr %9, align 4 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %7, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %5 %14 = load i32, ptr %9, align 4 %15 = icmp eq i32 %14, 0 br label %16 16: ; preds = %13, %5 %17 = phi i1 [ false, %5 ], [ %15, %13 ] %18 = xor i1 %17, true %19 = zext i1 %18 to i32 %20 = call i32 @assert(i32 noundef %19) %21 = load i32, ptr %7, align 4 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %31 23: ; preds = %16 %24 = load ptr, ptr %10, align 8 %25 = load ptr, ptr %8, align 8 %26 = load i32, ptr %9, align 4 %27 = sext i32 %26 to i64 %28 = mul i64 %27, 4 %29 = trunc i64 %28 to i32 %30 = call i32 @memcpy(ptr noundef %24, ptr noundef %25, i32 noundef %29) br label %80 31: ; preds = %16 %32 = load i32, ptr %9, align 4 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %10, align 8 %36 = load ptr, ptr %6, align 8 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = mul i64 %38, 4 %40 = trunc i64 %39 to i32 %41 = call i32 @memcpy(ptr noundef %35, ptr noundef %36, i32 noundef %40) br label %79 42: ; preds = %31 %43 = load ptr, ptr %6, align 8 %44 = getelementptr inbounds i32, ptr %43, i64 0 %45 = load i32, ptr %44, align 4 %46 = load ptr, ptr %8, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 0 %48 = load i32, ptr %47, align 4 %49 = icmp sle i32 %45, %48 br i1 %49, label %50, label %64 50: ; preds = %42 %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds i32, ptr %51, i64 0 %53 = load i32, ptr %52, align 4 %54 = load ptr, ptr %10, align 8 %55 = getelementptr inbounds i32, ptr %54, i64 0 store i32 %53, ptr %55, align 4 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds i32, ptr %56, i64 1 %58 = load i32, ptr %7, align 4 %59 = sub nsw i32 %58, 1 %60 = load ptr, ptr %8, align 8 %61 = load i32, ptr %9, align 4 %62 = load ptr, ptr %10, align 8 %63 = getelementptr inbounds i32, ptr %62, i64 1 call void @merge(ptr noundef %57, i32 noundef %59, ptr noundef %60, i32 noundef %61, ptr noundef %63) br label %78 64: ; preds = %42 %65 = load ptr, ptr %8, align 8 %66 = getelementptr inbounds i32, ptr %65, i64 0 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %10, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 0 store i32 %67, ptr %69, align 4 %70 = load ptr, ptr %6, align 8 %71 = load i32, ptr %7, align 4 %72 = load ptr, ptr %8, align 8 %73 = getelementptr inbounds i32, ptr %72, i64 1 %74 = load i32, ptr %9, align 4 %75 = sub nsw i32 %74, 1 %76 = load ptr, ptr %10, align 8 %77 = getelementptr inbounds i32, ptr %76, i64 1 call void @merge(ptr noundef %70, i32 noundef %71, ptr noundef %73, i32 noundef %75, ptr noundef %77) br label %78 78: ; preds = %64, %50 br label %79 79: ; preds = %78, %34 br label %80 80: ; preds = %79, %23 ret void } declare i32 @assert(i32 noundef) #1 declare i32 @memcpy(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/tmpz_bz8kmc.c' source_filename = "/tmp/tmpz_bz8kmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @air() ret i32 0 } declare i32 @air(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz_bz8kmc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @air() ret i32 0 } declare i32 @air(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpn_rlmokt.c' source_filename = "/tmp/tmpn_rlmokt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [107 x i8] c"This test program is intended for a little-endian architecture\0Awith an IEEE-standard 128-bit long double.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpn_rlmokt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [107 x i8] c"This test program is intended for a little-endian architecture\0Awith an IEEE-standard 128-bit long double.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuxjht_v6.c' source_filename = "/tmp/tmpuxjht_v6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) #0 { %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca i32, align 4 %44 = alloca i32, align 4 %45 = alloca double, align 8 %46 = alloca double, align 8 %47 = alloca double, align 8 %48 = alloca double, align 8 %49 = alloca double, align 8 %50 = alloca double, align 8 %51 = alloca double, align 8 %52 = alloca double, align 8 %53 = alloca double, align 8 %54 = alloca double, align 8 %55 = alloca double, align 8 %56 = alloca double, align 8 %57 = alloca double, align 8 %58 = alloca double, align 8 %59 = alloca double, align 8 %60 = alloca double, align 8 %61 = alloca double, align 8 %62 = alloca double, align 8 %63 = alloca double, align 8 %64 = alloca double, align 8 %65 = alloca double, align 8 store i32 %0, ptr %20, align 4 store i32 %1, ptr %21, align 4 store i32 %2, ptr %22, align 4 store ptr %3, ptr %23, align 8 store double %4, ptr %24, align 8 store double %5, ptr %25, align 8 store ptr %6, ptr %26, align 8 store ptr %7, ptr %27, align 8 store ptr %8, ptr %28, align 8 store ptr %9, ptr %29, align 8 store ptr %10, ptr %30, align 8 store ptr %11, ptr %31, align 8 store ptr %12, ptr %32, align 8 store ptr %13, ptr %33, align 8 store ptr %14, ptr %34, align 8 store ptr %15, ptr %35, align 8 store ptr %16, ptr %36, align 8 store ptr %17, ptr %37, align 8 store ptr %18, ptr %38, align 8 %66 = load i32, ptr %22, align 4 %67 = load i32, ptr %22, align 4 %68 = mul nsw i32 %66, %67 store i32 %68, ptr %44, align 4 %69 = load double, ptr %24, align 8 %70 = load double, ptr %24, align 8 %71 = fmul double %69, %70 store double %71, ptr %61, align 8 store i32 0, ptr %39, align 4 br label %72 72: ; preds = %358, %19 %73 = load i32, ptr %39, align 4 %74 = load i32, ptr %20, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %76, label %361 76: ; preds = %72 %77 = load ptr, ptr %23, align 8 %78 = load i32, ptr %39, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds i32, ptr %77, i64 %79 %81 = load i32, ptr %80, align 4 store i32 %81, ptr %43, align 4 store i32 0, ptr %40, align 4 br label %82 82: ; preds = %354, %76 %83 = load i32, ptr %40, align 4 %84 = load i32, ptr %21, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %357 86: ; preds = %82 %87 = load i32, ptr %39, align 4 %88 = load i32, ptr %21, align 4 %89 = mul nsw i32 %87, %88 %90 = load i32, ptr %40, align 4 %91 = add nsw i32 %89, %90 store i32 %91, ptr %41, align 4 %92 = load ptr, ptr %32, align 8 %93 = load i32, ptr %41, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds double, ptr %92, i64 %94 %96 = load double, ptr %95, align 8 %97 = fneg double %96 store double %97, ptr %45, align 8 %98 = load ptr, ptr %28, align 8 %99 = load i32, ptr %43, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds double, ptr %98, i64 %100 %102 = load double, ptr %101, align 8 %103 = fdiv double 1.000000e+00, %102 %104 = fsub double 1.000000e+00, %103 store double %104, ptr %65, align 8 %105 = load ptr, ptr %29, align 8 %106 = load i32, ptr %43, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %105, i64 %107 %109 = load double, ptr %108, align 8 %110 = load ptr, ptr %30, align 8 %111 = load i32, ptr %43, align 4 %112 = sext i32 %111 to i64 %113 = getelementptr inbounds double, ptr %110, i64 %112 %114 = load double, ptr %113, align 8 %115 = fadd double %109, %114 store double %115, ptr %62, align 8 %116 = load double, ptr %45, align 8 %117 = fcmp ogt double %116, 0.000000e+00 br i1 %117, label %118, label %240 118: ; preds = %86 %119 = load ptr, ptr %27, align 8 %120 = load i32, ptr %43, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %119, i64 %121 %123 = load double, ptr %122, align 8 %124 = load double, ptr %45, align 8 %125 = fmul double %123, %124 store double %125, ptr %46, align 8 %126 = load double, ptr %46, align 8 %127 = load ptr, ptr %28, align 8 %128 = load i32, ptr %43, align 4 %129 = sext i32 %128 to i64 %130 = getelementptr inbounds double, ptr %127, i64 %129 %131 = load double, ptr %130, align 8 %132 = fsub double %131, 2.000000e+00 %133 = call double @pow(double noundef %126, double noundef %132) #4 store double %133, ptr %49, align 8 %134 = load double, ptr %49, align 8 %135 = load double, ptr %46, align 8 %136 = fmul double %134, %135 store double %136, ptr %48, align 8 %137 = load double, ptr %48, align 8 %138 = load double, ptr %46, align 8 %139 = fmul double %137, %138 store double %139, ptr %47, align 8 %140 = load double, ptr %47, align 8 %141 = fadd double 1.000000e+00, %140 store double %141, ptr %50, align 8 %142 = load double, ptr %50, align 8 %143 = load double, ptr %65, align 8 %144 = fneg double %143 %145 = call double @pow(double noundef %142, double noundef %144) #4 store double %145, ptr %51, align 8 %146 = load ptr, ptr %27, align 8 %147 = load i32, ptr %43, align 4 %148 = sext i32 %147 to i64 %149 = getelementptr inbounds double, ptr %146, i64 %148 %150 = load double, ptr %149, align 8 %151 = load ptr, ptr %28, align 8 %152 = load i32, ptr %43, align 4 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %151, i64 %153 %155 = load double, ptr %154, align 8 %156 = fsub double 1.000000e+00, %155 %157 = fmul double %150, %156 %158 = load double, ptr %51, align 8 %159 = load double, ptr %50, align 8 %160 = fdiv double %158, %159 %161 = fmul double %157, %160 %162 = load double, ptr %48, align 8 %163 = fmul double %161, %162 store double %163, ptr %53, align 8 %164 = load double, ptr %48, align 8 %165 = load double, ptr %51, align 8 %166 = fneg double %164 %167 = call double @llvm.fmuladd.f64(double %166, double %165, double 1.000000e+00) store double %167, ptr %56, align 8 %168 = load double, ptr %56, align 8 %169 = load double, ptr %56, align 8 %170 = fmul double %168, %169 store double %170, ptr %57, align 8 %171 = load ptr, ptr %27, align 8 %172 = load i32, ptr %43, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %171, i64 %173 %175 = load double, ptr %174, align 8 %176 = fneg double %175 %177 = load ptr, ptr %28, align 8 %178 = load i32, ptr %43, align 4 %179 = sext i32 %178 to i64 %180 = getelementptr inbounds double, ptr %177, i64 %179 %181 = load double, ptr %180, align 8 %182 = fsub double %181, 1.000000e+00 %183 = fmul double %176, %182 %184 = load double, ptr %49, align 8 %185 = fmul double %183, %184 %186 = load double, ptr %51, align 8 %187 = load double, ptr %48, align 8 %188 = load double, ptr %53, align 8 %189 = fmul double %187, %188 %190 = fneg double %189 %191 = call double @llvm.fmuladd.f64(double %185, double %186, double %190) store double %191, ptr %58, align 8 %192 = load ptr, ptr %30, align 8 %193 = load i32, ptr %43, align 4 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %192, i64 %194 %196 = load double, ptr %195, align 8 %197 = load double, ptr %51, align 8 %198 = load ptr, ptr %29, align 8 %199 = load i32, ptr %43, align 4 %200 = sext i32 %199 to i64 %201 = getelementptr inbounds double, ptr %198, i64 %200 %202 = load double, ptr %201, align 8 %203 = call double @llvm.fmuladd.f64(double %196, double %197, double %202) store double %203, ptr %54, align 8 %204 = load ptr, ptr %30, align 8 %205 = load i32, ptr %43, align 4 %206 = sext i32 %205 to i64 %207 = getelementptr inbounds double, ptr %204, i64 %206 %208 = load double, ptr %207, align 8 %209 = load double, ptr %53, align 8 %210 = fmul double %208, %209 store double %210, ptr %55, align 8 %211 = load double, ptr %51, align 8 %212 = call double @sqrt(double noundef %211) #4 store double %212, ptr %52, align 8 %213 = load ptr, ptr %31, align 8 %214 = load i32, ptr %43, align 4 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds double, ptr %213, i64 %215 %217 = load double, ptr %216, align 8 %218 = load double, ptr %52, align 8 %219 = fmul double %217, %218 %220 = load double, ptr %57, align 8 %221 = fmul double %219, %220 store double %221, ptr %59, align 8 %222 = load ptr, ptr %31, align 8 %223 = load i32, ptr %43, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds double, ptr %222, i64 %224 %226 = load double, ptr %225, align 8 %227 = load double, ptr %52, align 8 %228 = fdiv double 5.000000e-01, %227 %229 = load double, ptr %53, align 8 %230 = fmul double %228, %229 %231 = load double, ptr %57, align 8 %232 = load double, ptr %52, align 8 %233 = fmul double 2.000000e+00, %232 %234 = load double, ptr %56, align 8 %235 = fmul double %233, %234 %236 = load double, ptr %58, align 8 %237 = fmul double %235, %236 %238 = call double @llvm.fmuladd.f64(double %230, double %231, double %237) %239 = fmul double %226, %238 store double %239, ptr %60, align 8 br label %247 240: ; preds = %86 %241 = load double, ptr %62, align 8 store double %241, ptr %54, align 8 store double 0.000000e+00, ptr %55, align 8 %242 = load ptr, ptr %31, align 8 %243 = load i32, ptr %43, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds double, ptr %242, i64 %244 %246 = load double, ptr %245, align 8 store double %246, ptr %59, align 8 store double 0.000000e+00, ptr %60, align 8 br label %247 247: ; preds = %240, %118 %248 = load double, ptr %24, align 8 %249 = load double, ptr %25, align 8 %250 = load ptr, ptr %32, align 8 %251 = load i32, ptr %41, align 4 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds double, ptr %250, i64 %252 %254 = load double, ptr %253, align 8 %255 = fmul double %249, %254 %256 = call double @exp(double noundef %255) %257 = fmul double %248, %256 store double %257, ptr %63, align 8 %258 = load double, ptr %25, align 8 %259 = load double, ptr %63, align 8 %260 = fmul double %258, %259 store double %260, ptr %64, align 8 %261 = load double, ptr %63, align 8 %262 = load double, ptr %54, align 8 %263 = fmul double %261, %262 %264 = load ptr, ptr %33, align 8 %265 = load i32, ptr %41, align 4 %266 = sext i32 %265 to i64 %267 = getelementptr inbounds double, ptr %264, i64 %266 store double %263, ptr %267, align 8 %268 = load double, ptr %63, align 8 %269 = fneg double %268 %270 = load double, ptr %55, align 8 %271 = load double, ptr %64, align 8 %272 = load double, ptr %54, align 8 %273 = fmul double %271, %272 %274 = call double @llvm.fmuladd.f64(double %269, double %270, double %273) %275 = load ptr, ptr %34, align 8 %276 = load i32, ptr %41, align 4 %277 = sext i32 %276 to i64 %278 = getelementptr inbounds double, ptr %275, i64 %277 store double %274, ptr %278, align 8 store i32 0, ptr %42, align 4 br label %279 279: ; preds = %350, %247 %280 = load i32, ptr %42, align 4 %281 = load i32, ptr %22, align 4 %282 = icmp slt i32 %280, %281 br i1 %282, label %283, label %353 283: ; preds = %279 %284 = load double, ptr %61, align 8 %285 = load double, ptr %59, align 8 %286 = fmul double %284, %285 %287 = load ptr, ptr %26, align 8 %288 = load i32, ptr %42, align 4 %289 = sext i32 %288 to i64 %290 = getelementptr inbounds double, ptr %287, i64 %289 %291 = load double, ptr %290, align 8 %292 = fmul double %286, %291 %293 = load ptr, ptr %35, align 8 %294 = load i32, ptr %41, align 4 %295 = load i32, ptr %22, align 4 %296 = mul nsw i32 %294, %295 %297 = load i32, ptr %42, align 4 %298 = add nsw i32 %296, %297 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds double, ptr %293, i64 %299 store double %292, ptr %300, align 8 %301 = load double, ptr %61, align 8 %302 = fneg double %301 %303 = load double, ptr %60, align 8 %304 = fmul double %302, %303 %305 = load ptr, ptr %26, align 8 %306 = load i32, ptr %42, align 4 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds double, ptr %305, i64 %307 %309 = load double, ptr %308, align 8 %310 = fmul double %304, %309 %311 = load ptr, ptr %36, align 8 %312 = load i32, ptr %41, align 4 %313 = load i32, ptr %22, align 4 %314 = mul nsw i32 %312, %313 %315 = load i32, ptr %42, align 4 %316 = add nsw i32 %314, %315 %317 = sext i32 %316 to i64 %318 = getelementptr inbounds double, ptr %311, i64 %317 store double %310, ptr %318, align 8 %319 = load double, ptr %24, align 8 %320 = load double, ptr %59, align 8 %321 = fmul double %319, %320 %322 = load ptr, ptr %37, align 8 %323 = load i32, ptr %41, align 4 %324 = load i32, ptr %44, align 4 %325 = mul nsw i32 %323, %324 %326 = load i32, ptr %42, align 4 %327 = load i32, ptr %22, align 4 %328 = mul nsw i32 %326, %327 %329 = add nsw i32 %325, %328 %330 = load i32, ptr %42, align 4 %331 = add nsw i32 %329, %330 %332 = sext i32 %331 to i64 %333 = getelementptr inbounds double, ptr %322, i64 %332 store double %321, ptr %333, align 8 %334 = load double, ptr %24, align 8 %335 = fneg double %334 %336 = load double, ptr %60, align 8 %337 = fmul double %335, %336 %338 = load ptr, ptr %38, align 8 %339 = load i32, ptr %41, align 4 %340 = load i32, ptr %44, align 4 %341 = mul nsw i32 %339, %340 %342 = load i32, ptr %42, align 4 %343 = load i32, ptr %22, align 4 %344 = mul nsw i32 %342, %343 %345 = add nsw i32 %341, %344 %346 = load i32, ptr %42, align 4 %347 = add nsw i32 %345, %346 %348 = sext i32 %347 to i64 %349 = getelementptr inbounds double, ptr %338, i64 %348 store double %337, ptr %349, align 8 br label %350 350: ; preds = %283 %351 = load i32, ptr %42, align 4 %352 = add nsw i32 %351, 1 store i32 %352, ptr %42, align 4 br label %279, !llvm.loop !6 353: ; preds = %279 br label %354 354: ; preds = %353 %355 = load i32, ptr %40, align 4 %356 = add nsw i32 %355, 1 store i32 %356, ptr %40, align 4 br label %82, !llvm.loop !8 357: ; preds = %82 br label %358 358: ; preds = %357 %359 = load i32, ptr %39, align 4 %360 = add nsw i32 %359, 1 store i32 %360, ptr %39, align 4 br label %72, !llvm.loop !9 361: ; preds = %72 ret void } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 declare double @exp(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuxjht_v6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conservativeHeadRichardsMualemVanGenuchtenHetEvaluateV2(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, double noundef %4, double noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18) #0 { %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 %23 = alloca ptr, align 8 %24 = alloca double, align 8 %25 = alloca double, align 8 %26 = alloca ptr, align 8 %27 = alloca ptr, align 8 %28 = alloca ptr, align 8 %29 = alloca ptr, align 8 %30 = alloca ptr, align 8 %31 = alloca ptr, align 8 %32 = alloca ptr, align 8 %33 = alloca ptr, align 8 %34 = alloca ptr, align 8 %35 = alloca ptr, align 8 %36 = alloca ptr, align 8 %37 = alloca ptr, align 8 %38 = alloca ptr, align 8 %39 = alloca i32, align 4 %40 = alloca i32, align 4 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca i32, align 4 %44 = alloca i32, align 4 %45 = alloca double, align 8 %46 = alloca double, align 8 %47 = alloca double, align 8 %48 = alloca double, align 8 %49 = alloca double, align 8 %50 = alloca double, align 8 %51 = alloca double, align 8 %52 = alloca double, align 8 %53 = alloca double, align 8 %54 = alloca double, align 8 %55 = alloca double, align 8 %56 = alloca double, align 8 %57 = alloca double, align 8 %58 = alloca double, align 8 %59 = alloca double, align 8 %60 = alloca double, align 8 %61 = alloca double, align 8 %62 = alloca double, align 8 %63 = alloca double, align 8 %64 = alloca double, align 8 %65 = alloca double, align 8 store i32 %0, ptr %20, align 4 store i32 %1, ptr %21, align 4 store i32 %2, ptr %22, align 4 store ptr %3, ptr %23, align 8 store double %4, ptr %24, align 8 store double %5, ptr %25, align 8 store ptr %6, ptr %26, align 8 store ptr %7, ptr %27, align 8 store ptr %8, ptr %28, align 8 store ptr %9, ptr %29, align 8 store ptr %10, ptr %30, align 8 store ptr %11, ptr %31, align 8 store ptr %12, ptr %32, align 8 store ptr %13, ptr %33, align 8 store ptr %14, ptr %34, align 8 store ptr %15, ptr %35, align 8 store ptr %16, ptr %36, align 8 store ptr %17, ptr %37, align 8 store ptr %18, ptr %38, align 8 %66 = load i32, ptr %22, align 4 %67 = load i32, ptr %22, align 4 %68 = mul nsw i32 %66, %67 store i32 %68, ptr %44, align 4 %69 = load double, ptr %24, align 8 %70 = load double, ptr %24, align 8 %71 = fmul double %69, %70 store double %71, ptr %61, align 8 store i32 0, ptr %39, align 4 %72 = load i32, ptr %39, align 4 %73 = load i32, ptr %20, align 4 %74 = icmp slt i32 %72, %73 br i1 %74, label %.lr.ph5, label %367 .lr.ph5: ; preds = %19 br label %75 75: ; preds = %.lr.ph5, %361 %76 = load ptr, ptr %23, align 8 %77 = load i32, ptr %39, align 4 %78 = sext i32 %77 to i64 %79 = getelementptr inbounds i32, ptr %76, i64 %78 %80 = load i32, ptr %79, align 4 store i32 %80, ptr %43, align 4 store i32 0, ptr %40, align 4 %81 = load i32, ptr %40, align 4 %82 = load i32, ptr %21, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %.lr.ph2, label %360 .lr.ph2: ; preds = %75 br label %84 84: ; preds = %.lr.ph2, %354 %85 = load i32, ptr %39, align 4 %86 = load i32, ptr %21, align 4 %87 = mul nsw i32 %85, %86 %88 = load i32, ptr %40, align 4 %89 = add nsw i32 %87, %88 store i32 %89, ptr %41, align 4 %90 = load ptr, ptr %32, align 8 %91 = load i32, ptr %41, align 4 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %90, i64 %92 %94 = load double, ptr %93, align 8 %95 = fneg double %94 store double %95, ptr %45, align 8 %96 = load ptr, ptr %28, align 8 %97 = load i32, ptr %43, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds double, ptr %96, i64 %98 %100 = load double, ptr %99, align 8 %101 = fdiv double 1.000000e+00, %100 %102 = fsub double 1.000000e+00, %101 store double %102, ptr %65, align 8 %103 = load ptr, ptr %29, align 8 %104 = load i32, ptr %43, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %103, i64 %105 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %30, align 8 %109 = load i32, ptr %43, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 %112 = load double, ptr %111, align 8 %113 = fadd double %107, %112 store double %113, ptr %62, align 8 %114 = load double, ptr %45, align 8 %115 = fcmp ogt double %114, 0.000000e+00 br i1 %115, label %116, label %238 116: ; preds = %84 %117 = load ptr, ptr %27, align 8 %118 = load i32, ptr %43, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds double, ptr %117, i64 %119 %121 = load double, ptr %120, align 8 %122 = load double, ptr %45, align 8 %123 = fmul double %121, %122 store double %123, ptr %46, align 8 %124 = load double, ptr %46, align 8 %125 = load ptr, ptr %28, align 8 %126 = load i32, ptr %43, align 4 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds double, ptr %125, i64 %127 %129 = load double, ptr %128, align 8 %130 = fsub double %129, 2.000000e+00 %131 = call double @pow(double noundef %124, double noundef %130) #4 store double %131, ptr %49, align 8 %132 = load double, ptr %49, align 8 %133 = load double, ptr %46, align 8 %134 = fmul double %132, %133 store double %134, ptr %48, align 8 %135 = load double, ptr %48, align 8 %136 = load double, ptr %46, align 8 %137 = fmul double %135, %136 store double %137, ptr %47, align 8 %138 = load double, ptr %47, align 8 %139 = fadd double 1.000000e+00, %138 store double %139, ptr %50, align 8 %140 = load double, ptr %50, align 8 %141 = load double, ptr %65, align 8 %142 = fneg double %141 %143 = call double @pow(double noundef %140, double noundef %142) #4 store double %143, ptr %51, align 8 %144 = load ptr, ptr %27, align 8 %145 = load i32, ptr %43, align 4 %146 = sext i32 %145 to i64 %147 = getelementptr inbounds double, ptr %144, i64 %146 %148 = load double, ptr %147, align 8 %149 = load ptr, ptr %28, align 8 %150 = load i32, ptr %43, align 4 %151 = sext i32 %150 to i64 %152 = getelementptr inbounds double, ptr %149, i64 %151 %153 = load double, ptr %152, align 8 %154 = fsub double 1.000000e+00, %153 %155 = fmul double %148, %154 %156 = load double, ptr %51, align 8 %157 = load double, ptr %50, align 8 %158 = fdiv double %156, %157 %159 = fmul double %155, %158 %160 = load double, ptr %48, align 8 %161 = fmul double %159, %160 store double %161, ptr %53, align 8 %162 = load double, ptr %48, align 8 %163 = load double, ptr %51, align 8 %164 = fneg double %162 %165 = call double @llvm.fmuladd.f64(double %164, double %163, double 1.000000e+00) store double %165, ptr %56, align 8 %166 = load double, ptr %56, align 8 %167 = load double, ptr %56, align 8 %168 = fmul double %166, %167 store double %168, ptr %57, align 8 %169 = load ptr, ptr %27, align 8 %170 = load i32, ptr %43, align 4 %171 = sext i32 %170 to i64 %172 = getelementptr inbounds double, ptr %169, i64 %171 %173 = load double, ptr %172, align 8 %174 = fneg double %173 %175 = load ptr, ptr %28, align 8 %176 = load i32, ptr %43, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds double, ptr %175, i64 %177 %179 = load double, ptr %178, align 8 %180 = fsub double %179, 1.000000e+00 %181 = fmul double %174, %180 %182 = load double, ptr %49, align 8 %183 = fmul double %181, %182 %184 = load double, ptr %51, align 8 %185 = load double, ptr %48, align 8 %186 = load double, ptr %53, align 8 %187 = fmul double %185, %186 %188 = fneg double %187 %189 = call double @llvm.fmuladd.f64(double %183, double %184, double %188) store double %189, ptr %58, align 8 %190 = load ptr, ptr %30, align 8 %191 = load i32, ptr %43, align 4 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds double, ptr %190, i64 %192 %194 = load double, ptr %193, align 8 %195 = load double, ptr %51, align 8 %196 = load ptr, ptr %29, align 8 %197 = load i32, ptr %43, align 4 %198 = sext i32 %197 to i64 %199 = getelementptr inbounds double, ptr %196, i64 %198 %200 = load double, ptr %199, align 8 %201 = call double @llvm.fmuladd.f64(double %194, double %195, double %200) store double %201, ptr %54, align 8 %202 = load ptr, ptr %30, align 8 %203 = load i32, ptr %43, align 4 %204 = sext i32 %203 to i64 %205 = getelementptr inbounds double, ptr %202, i64 %204 %206 = load double, ptr %205, align 8 %207 = load double, ptr %53, align 8 %208 = fmul double %206, %207 store double %208, ptr %55, align 8 %209 = load double, ptr %51, align 8 %210 = call double @sqrt(double noundef %209) #4 store double %210, ptr %52, align 8 %211 = load ptr, ptr %31, align 8 %212 = load i32, ptr %43, align 4 %213 = sext i32 %212 to i64 %214 = getelementptr inbounds double, ptr %211, i64 %213 %215 = load double, ptr %214, align 8 %216 = load double, ptr %52, align 8 %217 = fmul double %215, %216 %218 = load double, ptr %57, align 8 %219 = fmul double %217, %218 store double %219, ptr %59, align 8 %220 = load ptr, ptr %31, align 8 %221 = load i32, ptr %43, align 4 %222 = sext i32 %221 to i64 %223 = getelementptr inbounds double, ptr %220, i64 %222 %224 = load double, ptr %223, align 8 %225 = load double, ptr %52, align 8 %226 = fdiv double 5.000000e-01, %225 %227 = load double, ptr %53, align 8 %228 = fmul double %226, %227 %229 = load double, ptr %57, align 8 %230 = load double, ptr %52, align 8 %231 = fmul double 2.000000e+00, %230 %232 = load double, ptr %56, align 8 %233 = fmul double %231, %232 %234 = load double, ptr %58, align 8 %235 = fmul double %233, %234 %236 = call double @llvm.fmuladd.f64(double %228, double %229, double %235) %237 = fmul double %224, %236 store double %237, ptr %60, align 8 br label %245 238: ; preds = %84 %239 = load double, ptr %62, align 8 store double %239, ptr %54, align 8 store double 0.000000e+00, ptr %55, align 8 %240 = load ptr, ptr %31, align 8 %241 = load i32, ptr %43, align 4 %242 = sext i32 %241 to i64 %243 = getelementptr inbounds double, ptr %240, i64 %242 %244 = load double, ptr %243, align 8 store double %244, ptr %59, align 8 store double 0.000000e+00, ptr %60, align 8 br label %245 245: ; preds = %238, %116 %246 = load double, ptr %24, align 8 %247 = load double, ptr %25, align 8 %248 = load ptr, ptr %32, align 8 %249 = load i32, ptr %41, align 4 %250 = sext i32 %249 to i64 %251 = getelementptr inbounds double, ptr %248, i64 %250 %252 = load double, ptr %251, align 8 %253 = fmul double %247, %252 %254 = call double @exp(double noundef %253) %255 = fmul double %246, %254 store double %255, ptr %63, align 8 %256 = load double, ptr %25, align 8 %257 = load double, ptr %63, align 8 %258 = fmul double %256, %257 store double %258, ptr %64, align 8 %259 = load double, ptr %63, align 8 %260 = load double, ptr %54, align 8 %261 = fmul double %259, %260 %262 = load ptr, ptr %33, align 8 %263 = load i32, ptr %41, align 4 %264 = sext i32 %263 to i64 %265 = getelementptr inbounds double, ptr %262, i64 %264 store double %261, ptr %265, align 8 %266 = load double, ptr %63, align 8 %267 = fneg double %266 %268 = load double, ptr %55, align 8 %269 = load double, ptr %64, align 8 %270 = load double, ptr %54, align 8 %271 = fmul double %269, %270 %272 = call double @llvm.fmuladd.f64(double %267, double %268, double %271) %273 = load ptr, ptr %34, align 8 %274 = load i32, ptr %41, align 4 %275 = sext i32 %274 to i64 %276 = getelementptr inbounds double, ptr %273, i64 %275 store double %272, ptr %276, align 8 store i32 0, ptr %42, align 4 %277 = load i32, ptr %42, align 4 %278 = load i32, ptr %22, align 4 %279 = icmp slt i32 %277, %278 br i1 %279, label %.lr.ph, label %353 .lr.ph: ; preds = %245 br label %280 280: ; preds = %.lr.ph, %347 %281 = load double, ptr %61, align 8 %282 = load double, ptr %59, align 8 %283 = fmul double %281, %282 %284 = load ptr, ptr %26, align 8 %285 = load i32, ptr %42, align 4 %286 = sext i32 %285 to i64 %287 = getelementptr inbounds double, ptr %284, i64 %286 %288 = load double, ptr %287, align 8 %289 = fmul double %283, %288 %290 = load ptr, ptr %35, align 8 %291 = load i32, ptr %41, align 4 %292 = load i32, ptr %22, align 4 %293 = mul nsw i32 %291, %292 %294 = load i32, ptr %42, align 4 %295 = add nsw i32 %293, %294 %296 = sext i32 %295 to i64 %297 = getelementptr inbounds double, ptr %290, i64 %296 store double %289, ptr %297, align 8 %298 = load double, ptr %61, align 8 %299 = fneg double %298 %300 = load double, ptr %60, align 8 %301 = fmul double %299, %300 %302 = load ptr, ptr %26, align 8 %303 = load i32, ptr %42, align 4 %304 = sext i32 %303 to i64 %305 = getelementptr inbounds double, ptr %302, i64 %304 %306 = load double, ptr %305, align 8 %307 = fmul double %301, %306 %308 = load ptr, ptr %36, align 8 %309 = load i32, ptr %41, align 4 %310 = load i32, ptr %22, align 4 %311 = mul nsw i32 %309, %310 %312 = load i32, ptr %42, align 4 %313 = add nsw i32 %311, %312 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds double, ptr %308, i64 %314 store double %307, ptr %315, align 8 %316 = load double, ptr %24, align 8 %317 = load double, ptr %59, align 8 %318 = fmul double %316, %317 %319 = load ptr, ptr %37, align 8 %320 = load i32, ptr %41, align 4 %321 = load i32, ptr %44, align 4 %322 = mul nsw i32 %320, %321 %323 = load i32, ptr %42, align 4 %324 = load i32, ptr %22, align 4 %325 = mul nsw i32 %323, %324 %326 = add nsw i32 %322, %325 %327 = load i32, ptr %42, align 4 %328 = add nsw i32 %326, %327 %329 = sext i32 %328 to i64 %330 = getelementptr inbounds double, ptr %319, i64 %329 store double %318, ptr %330, align 8 %331 = load double, ptr %24, align 8 %332 = fneg double %331 %333 = load double, ptr %60, align 8 %334 = fmul double %332, %333 %335 = load ptr, ptr %38, align 8 %336 = load i32, ptr %41, align 4 %337 = load i32, ptr %44, align 4 %338 = mul nsw i32 %336, %337 %339 = load i32, ptr %42, align 4 %340 = load i32, ptr %22, align 4 %341 = mul nsw i32 %339, %340 %342 = add nsw i32 %338, %341 %343 = load i32, ptr %42, align 4 %344 = add nsw i32 %342, %343 %345 = sext i32 %344 to i64 %346 = getelementptr inbounds double, ptr %335, i64 %345 store double %334, ptr %346, align 8 br label %347 347: ; preds = %280 %348 = load i32, ptr %42, align 4 %349 = add nsw i32 %348, 1 store i32 %349, ptr %42, align 4 %350 = load i32, ptr %42, align 4 %351 = load i32, ptr %22, align 4 %352 = icmp slt i32 %350, %351 br i1 %352, label %280, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %347 br label %353 353: ; preds = %._crit_edge, %245 br label %354 354: ; preds = %353 %355 = load i32, ptr %40, align 4 %356 = add nsw i32 %355, 1 store i32 %356, ptr %40, align 4 %357 = load i32, ptr %40, align 4 %358 = load i32, ptr %21, align 4 %359 = icmp slt i32 %357, %358 br i1 %359, label %84, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %354 br label %360 360: ; preds = %._crit_edge3, %75 br label %361 361: ; preds = %360 %362 = load i32, ptr %39, align 4 %363 = add nsw i32 %362, 1 store i32 %363, ptr %39, align 4 %364 = load i32, ptr %39, align 4 %365 = load i32, ptr %20, align 4 %366 = icmp slt i32 %364, %365 br i1 %366, label %75, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %361 br label %367 367: ; preds = %._crit_edge6, %19 ret void } ; Function Attrs: nounwind declare double @pow(double noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @sqrt(double noundef) #1 declare double @exp(double noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8sy62wtd.c' source_filename = "/tmp/tmp8sy62wtd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longmult(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %10, align 4 %18 = add nsw i32 %16, %17 store i32 %18, ptr %15, align 4 %19 = load ptr, ptr %12, align 8 %20 = load i32, ptr %10, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %8, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = load ptr, ptr %12, align 8 %27 = load i32, ptr %10, align 4 %28 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef %27) %29 = load ptr, ptr %11, align 8 %30 = load i32, ptr %15, align 4 %31 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef %30) store i32 0, ptr %13, align 4 br label %32 32: ; preds = %63, %6 %33 = load i32, ptr %13, align 4 %34 = load i32, ptr %10, align 4 %35 = mul nsw i32 %34, 8 %36 = icmp slt i32 %33, %35 br i1 %36, label %37, label %66 37: ; preds = %32 %38 = load i32, ptr %10, align 4 %39 = load i32, ptr %13, align 4 %40 = sdiv i32 %39, 8 %41 = sub nsw i32 %38, %40 %42 = sub nsw i32 %41, 1 store i32 %42, ptr %14, align 4 %43 = load ptr, ptr %9, align 8 %44 = load i32, ptr %14, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %13, align 4 %49 = srem i32 %48, 8 %50 = shl i32 1, %49 %51 = and i32 %47, %50 %52 = icmp ne i32 %51, 0 br i1 %52, label %53, label %59 53: ; preds = %37 %54 = load ptr, ptr %11, align 8 %55 = load i32, ptr %15, align 4 %56 = load ptr, ptr %12, align 8 %57 = load i32, ptr %15, align 4 %58 = call i32 @longadd(ptr noundef %54, i32 noundef %55, ptr noundef %56, i32 noundef %57) br label %59 59: ; preds = %53, %37 %60 = load ptr, ptr %12, align 8 %61 = load i32, ptr %15, align 4 %62 = call i32 @longshl(ptr noundef %60, i32 noundef %61, i32 noundef 1) br label %63 63: ; preds = %59 %64 = load i32, ptr %13, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %13, align 4 br label %32, !llvm.loop !6 66: ; preds = %32 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @longadd(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @longshl(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8sy62wtd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @longmult(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store ptr %2, ptr %9, align 8 store i32 %3, ptr %10, align 4 store ptr %4, ptr %11, align 8 store ptr %5, ptr %12, align 8 %16 = load i32, ptr %8, align 4 %17 = load i32, ptr %10, align 4 %18 = add nsw i32 %16, %17 store i32 %18, ptr %15, align 4 %19 = load ptr, ptr %12, align 8 %20 = load i32, ptr %10, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i32, ptr %19, i64 %21 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %8, align 4 %25 = call i32 @memcpy(ptr noundef %22, ptr noundef %23, i32 noundef %24) %26 = load ptr, ptr %12, align 8 %27 = load i32, ptr %10, align 4 %28 = call i32 @memset(ptr noundef %26, i32 noundef 0, i32 noundef %27) %29 = load ptr, ptr %11, align 8 %30 = load i32, ptr %15, align 4 %31 = call i32 @memset(ptr noundef %29, i32 noundef 0, i32 noundef %30) store i32 0, ptr %13, align 4 %32 = load i32, ptr %13, align 4 %33 = load i32, ptr %10, align 4 %34 = mul nsw i32 %33, 8 %35 = icmp slt i32 %32, %34 br i1 %35, label %.lr.ph, label %69 .lr.ph: ; preds = %6 br label %36 36: ; preds = %.lr.ph, %62 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %13, align 4 %39 = sdiv i32 %38, 8 %40 = sub nsw i32 %37, %39 %41 = sub nsw i32 %40, 1 store i32 %41, ptr %14, align 4 %42 = load ptr, ptr %9, align 8 %43 = load i32, ptr %14, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = load i32, ptr %13, align 4 %48 = srem i32 %47, 8 %49 = shl i32 1, %48 %50 = and i32 %46, %49 %51 = icmp ne i32 %50, 0 br i1 %51, label %52, label %58 52: ; preds = %36 %53 = load ptr, ptr %11, align 8 %54 = load i32, ptr %15, align 4 %55 = load ptr, ptr %12, align 8 %56 = load i32, ptr %15, align 4 %57 = call i32 @longadd(ptr noundef %53, i32 noundef %54, ptr noundef %55, i32 noundef %56) br label %58 58: ; preds = %52, %36 %59 = load ptr, ptr %12, align 8 %60 = load i32, ptr %15, align 4 %61 = call i32 @longshl(ptr noundef %59, i32 noundef %60, i32 noundef 1) br label %62 62: ; preds = %58 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %13, align 4 %65 = load i32, ptr %13, align 4 %66 = load i32, ptr %10, align 4 %67 = mul nsw i32 %66, 8 %68 = icmp slt i32 %65, %67 br i1 %68, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %62 br label %69 69: ; preds = %._crit_edge, %6 ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @longadd(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @longshl(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvb5nmlyy.c' source_filename = "/tmp/tmpvb5nmlyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @jn(i32 noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 0, %15 store i32 %16, ptr %4, align 4 %17 = load double, ptr %5, align 8 %18 = fneg double %17 store double %18, ptr %5, align 8 br label %19 19: ; preds = %14, %2 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load double, ptr %5, align 8 %24 = call double @j0(double noundef %23) store double %24, ptr %3, align 8 br label %124 25: ; preds = %19 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load double, ptr %5, align 8 %30 = call double @j1(double noundef %29) store double %30, ptr %3, align 8 br label %124 31: ; preds = %25 %32 = load double, ptr %5, align 8 %33 = fcmp oeq double %32, 0.000000e+00 br i1 %33, label %34, label %35 34: ; preds = %31 store double 0.000000e+00, ptr %3, align 8 br label %124 35: ; preds = %31 %36 = load i32, ptr %4, align 4 %37 = sitofp i32 %36 to double %38 = load double, ptr %5, align 8 %39 = fcmp ogt double %37, %38 br i1 %39, label %40, label %41 40: ; preds = %35 br label %67 41: ; preds = %35 %42 = load double, ptr %5, align 8 %43 = call double @j0(double noundef %42) store double %43, ptr %7, align 8 %44 = load double, ptr %5, align 8 %45 = call double @j1(double noundef %44) store double %45, ptr %8, align 8 store i32 1, ptr %6, align 4 br label %46 46: ; preds = %62, %41 %47 = load i32, ptr %6, align 4 %48 = load i32, ptr %4, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %65 50: ; preds = %46 %51 = load double, ptr %8, align 8 store double %51, ptr %9, align 8 %52 = load i32, ptr %6, align 4 %53 = mul nsw i32 2, %52 %54 = sitofp i32 %53 to double %55 = load double, ptr %5, align 8 %56 = fdiv double %54, %55 %57 = load double, ptr %8, align 8 %58 = load double, ptr %7, align 8 %59 = fneg double %58 %60 = call double @llvm.fmuladd.f64(double %56, double %57, double %59) store double %60, ptr %8, align 8 %61 = load double, ptr %9, align 8 store double %61, ptr %7, align 8 br label %62 62: ; preds = %50 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 br label %46, !llvm.loop !6 65: ; preds = %46 %66 = load double, ptr %8, align 8 store double %66, ptr %3, align 8 br label %124 67: ; preds = %40 %68 = load double, ptr %5, align 8 %69 = load double, ptr %5, align 8 %70 = fmul double %68, %69 store double %70, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %71 = load i32, ptr %4, align 4 %72 = add nsw i32 %71, 16 store i32 %72, ptr %6, align 4 br label %73 73: ; preds = %85, %67 %74 = load i32, ptr %6, align 4 %75 = load i32, ptr %4, align 4 %76 = icmp sgt i32 %74, %75 br i1 %76, label %77, label %88 77: ; preds = %73 %78 = load double, ptr %10, align 8 %79 = load i32, ptr %6, align 4 %80 = mul nsw i32 2, %79 %81 = sitofp i32 %80 to double %82 = load double, ptr %11, align 8 %83 = fsub double %81, %82 %84 = fdiv double %78, %83 store double %84, ptr %11, align 8 br label %85 85: ; preds = %77 %86 = load i32, ptr %6, align 4 %87 = add nsw i32 %86, -1 store i32 %87, ptr %6, align 4 br label %73, !llvm.loop !8 88: ; preds = %73 %89 = load double, ptr %5, align 8 %90 = load i32, ptr %4, align 4 %91 = mul nsw i32 2, %90 %92 = sitofp i32 %91 to double %93 = load double, ptr %11, align 8 %94 = fsub double %92, %93 %95 = fdiv double %89, %94 store double %95, ptr %11, align 8 %96 = load double, ptr %11, align 8 store double %96, ptr %7, align 8 store double 1.000000e+00, ptr %8, align 8 %97 = load i32, ptr %4, align 4 %98 = sub nsw i32 %97, 1 store i32 %98, ptr %6, align 4 br label %99 99: ; preds = %114, %88 %100 = load i32, ptr %6, align 4 %101 = icmp sgt i32 %100, 0 br i1 %101, label %102, label %117 102: ; preds = %99 %103 = load double, ptr %8, align 8 store double %103, ptr %9, align 8 %104 = load i32, ptr %6, align 4 %105 = mul nsw i32 2, %104 %106 = sitofp i32 %105 to double %107 = load double, ptr %5, align 8 %108 = fdiv double %106, %107 %109 = load double, ptr %8, align 8 %110 = load double, ptr %7, align 8 %111 = fneg double %110 %112 = call double @llvm.fmuladd.f64(double %108, double %109, double %111) store double %112, ptr %8, align 8 %113 = load double, ptr %9, align 8 store double %113, ptr %7, align 8 br label %114 114: ; preds = %102 %115 = load i32, ptr %6, align 4 %116 = add nsw i32 %115, -1 store i32 %116, ptr %6, align 4 br label %99, !llvm.loop !9 117: ; preds = %99 %118 = load double, ptr %11, align 8 %119 = load double, ptr %5, align 8 %120 = call double @j0(double noundef %119) %121 = fmul double %118, %120 %122 = load double, ptr %8, align 8 %123 = fdiv double %121, %122 store double %123, ptr %3, align 8 br label %124 124: ; preds = %117, %65, %34, %28, %22 %125 = load double, ptr %3, align 8 ret double %125 } declare double @j0(double noundef) #1 declare double @j1(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvb5nmlyy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @jn(i32 noundef %0, double noundef %1) #0 { %3 = alloca double, align 8 %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca i32, align 4 %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %2 %15 = load i32, ptr %4, align 4 %16 = sub nsw i32 0, %15 store i32 %16, ptr %4, align 4 %17 = load double, ptr %5, align 8 %18 = fneg double %17 store double %18, ptr %5, align 8 br label %19 19: ; preds = %14, %2 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %19 %23 = load double, ptr %5, align 8 %24 = call double @j0(double noundef %23) store double %24, ptr %3, align 8 br label %129 25: ; preds = %19 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load double, ptr %5, align 8 %30 = call double @j1(double noundef %29) store double %30, ptr %3, align 8 br label %129 31: ; preds = %25 %32 = load double, ptr %5, align 8 %33 = fcmp oeq double %32, 0.000000e+00 br i1 %33, label %34, label %35 34: ; preds = %31 store double 0.000000e+00, ptr %3, align 8 br label %129 35: ; preds = %31 %36 = load i32, ptr %4, align 4 %37 = sitofp i32 %36 to double %38 = load double, ptr %5, align 8 %39 = fcmp ogt double %37, %38 br i1 %39, label %40, label %41 40: ; preds = %35 br label %69 41: ; preds = %35 %42 = load double, ptr %5, align 8 %43 = call double @j0(double noundef %42) store double %43, ptr %7, align 8 %44 = load double, ptr %5, align 8 %45 = call double @j1(double noundef %44) store double %45, ptr %8, align 8 store i32 1, ptr %6, align 4 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %.lr.ph, label %67 .lr.ph: ; preds = %41 br label %49 49: ; preds = %.lr.ph, %61 %50 = load double, ptr %8, align 8 store double %50, ptr %9, align 8 %51 = load i32, ptr %6, align 4 %52 = mul nsw i32 2, %51 %53 = sitofp i32 %52 to double %54 = load double, ptr %5, align 8 %55 = fdiv double %53, %54 %56 = load double, ptr %8, align 8 %57 = load double, ptr %7, align 8 %58 = fneg double %57 %59 = call double @llvm.fmuladd.f64(double %55, double %56, double %58) store double %59, ptr %8, align 8 %60 = load double, ptr %9, align 8 store double %60, ptr %7, align 8 br label %61 61: ; preds = %49 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 %64 = load i32, ptr %6, align 4 %65 = load i32, ptr %4, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %49, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %41 %68 = load double, ptr %8, align 8 store double %68, ptr %3, align 8 br label %129 69: ; preds = %40 %70 = load double, ptr %5, align 8 %71 = load double, ptr %5, align 8 %72 = fmul double %70, %71 store double %72, ptr %10, align 8 store double 0.000000e+00, ptr %11, align 8 %73 = load i32, ptr %4, align 4 %74 = add nsw i32 %73, 16 store i32 %74, ptr %6, align 4 %75 = load i32, ptr %6, align 4 %76 = load i32, ptr %4, align 4 %77 = icmp sgt i32 %75, %76 br i1 %77, label %.lr.ph2, label %92 .lr.ph2: ; preds = %69 br label %78 78: ; preds = %.lr.ph2, %86 %79 = load double, ptr %10, align 8 %80 = load i32, ptr %6, align 4 %81 = mul nsw i32 2, %80 %82 = sitofp i32 %81 to double %83 = load double, ptr %11, align 8 %84 = fsub double %82, %83 %85 = fdiv double %79, %84 store double %85, ptr %11, align 8 br label %86 86: ; preds = %78 %87 = load i32, ptr %6, align 4 %88 = add nsw i32 %87, -1 store i32 %88, ptr %6, align 4 %89 = load i32, ptr %6, align 4 %90 = load i32, ptr %4, align 4 %91 = icmp sgt i32 %89, %90 br i1 %91, label %78, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %92 92: ; preds = %._crit_edge3, %69 %93 = load double, ptr %5, align 8 %94 = load i32, ptr %4, align 4 %95 = mul nsw i32 2, %94 %96 = sitofp i32 %95 to double %97 = load double, ptr %11, align 8 %98 = fsub double %96, %97 %99 = fdiv double %93, %98 store double %99, ptr %11, align 8 %100 = load double, ptr %11, align 8 store double %100, ptr %7, align 8 store double 1.000000e+00, ptr %8, align 8 %101 = load i32, ptr %4, align 4 %102 = sub nsw i32 %101, 1 store i32 %102, ptr %6, align 4 %103 = load i32, ptr %6, align 4 %104 = icmp sgt i32 %103, 0 br i1 %104, label %.lr.ph5, label %122 .lr.ph5: ; preds = %92 br label %105 105: ; preds = %.lr.ph5, %117 %106 = load double, ptr %8, align 8 store double %106, ptr %9, align 8 %107 = load i32, ptr %6, align 4 %108 = mul nsw i32 2, %107 %109 = sitofp i32 %108 to double %110 = load double, ptr %5, align 8 %111 = fdiv double %109, %110 %112 = load double, ptr %8, align 8 %113 = load double, ptr %7, align 8 %114 = fneg double %113 %115 = call double @llvm.fmuladd.f64(double %111, double %112, double %114) store double %115, ptr %8, align 8 %116 = load double, ptr %9, align 8 store double %116, ptr %7, align 8 br label %117 117: ; preds = %105 %118 = load i32, ptr %6, align 4 %119 = add nsw i32 %118, -1 store i32 %119, ptr %6, align 4 %120 = load i32, ptr %6, align 4 %121 = icmp sgt i32 %120, 0 br i1 %121, label %105, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %117 br label %122 122: ; preds = %._crit_edge6, %92 %123 = load double, ptr %11, align 8 %124 = load double, ptr %5, align 8 %125 = call double @j0(double noundef %124) %126 = fmul double %123, %125 %127 = load double, ptr %8, align 8 %128 = fdiv double %126, %127 store double %128, ptr %3, align 8 br label %129 129: ; preds = %122, %67, %34, %28, %22 %130 = load double, ptr %3, align 8 ret double %130 } declare double @j0(double noundef) #1 declare double @j1(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpx0us2hrj.c' source_filename = "/tmp/tmpx0us2hrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @STDERR_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpx0us2hrj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EINTR = dso_local global i64 0, align 8 @STDERR_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i64 0, align 8 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpicdiyio9.c' source_filename = "/tmp/tmpicdiyio9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtolower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 br label %5 5: ; preds = %17, %1 %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 %20 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i8, ptr %11, align 1 %13 = sext i8 %12 to i32 %14 = call i64 @tolower(i32 noundef %13) %15 = trunc i64 %14 to i8 %16 = load ptr, ptr %3, align 8 store i8 %15, ptr %16, align 1 br label %17 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %5, !llvm.loop !6 20: ; preds = %5 %21 = load ptr, ptr %2, align 8 ret ptr %21 } declare i64 @tolower(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/tmpicdiyio9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtolower(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = sext i8 %6 to i32 %8 = icmp ne i32 %7, 0 br i1 %8, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = call i64 @tolower(i32 noundef %12) %14 = trunc i64 %13 to i8 %15 = load ptr, ptr %3, align 8 store i8 %14, ptr %15, align 1 br label %16 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = getelementptr inbounds i8, ptr %17, i32 1 store ptr %18, ptr %3, align 8 %19 = load ptr, ptr %3, align 8 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp ne i32 %21, 0 br i1 %22, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %23 23: ; preds = %._crit_edge, %1 %24 = load ptr, ptr %2, align 8 ret ptr %24 } declare i64 @tolower(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/tmpfbfaaofy.c' source_filename = "/tmp/tmpfbfaaofy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypre_Free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfbfaaofy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hypre_Free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load ptr, ptr %2, align 8 %7 = call i32 @free(ptr noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe1biy0cp.c' source_filename = "/tmp/tmpe1biy0cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe1biy0cp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @printf(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzcqnwtcj.c' source_filename = "/tmp/tmpzcqnwtcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = call ptr @malloc(i32 noundef 80) store ptr %15, ptr %6, align 8 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @read(i32 noundef %16, ptr noundef %17, i32 noundef 80) %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = call i32 @copy_something(ptr noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %6, align 8 %27 = call i32 @free(ptr noundef %26) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @copy_something(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzcqnwtcj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = 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 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 1 %12 = load ptr, ptr %11, align 8 %13 = load i32, ptr @O_RDONLY, align 4 %14 = call i32 @open(ptr noundef %12, i32 noundef %13) store i32 %14, ptr %9, align 4 %15 = call ptr @malloc(i32 noundef 80) store ptr %15, ptr %6, align 8 %16 = load i32, ptr %9, align 4 %17 = load ptr, ptr %6, align 8 %18 = call i32 @read(i32 noundef %16, ptr noundef %17, i32 noundef 80) %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 store i32 %22, ptr %8, align 4 %23 = load ptr, ptr %6, align 8 %24 = load i32, ptr %8, align 4 %25 = call i32 @copy_something(ptr noundef %23, i32 noundef %24) store i32 %25, ptr %7, align 4 %26 = load ptr, ptr %6, align 8 %27 = call i32 @free(ptr noundef %26) ret i32 0 } declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @copy_something(ptr noundef, i32 noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphv555_8s.c' source_filename = "/tmp/tmphv555_8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ready.\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kernel() #0 { %1 = call i32 @console_puts(ptr noundef @.str) br label %2 2: ; preds = %0, %2 br label %2 } declare i32 @console_puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphv555_8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ready.\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @kernel() #0 { %1 = call i32 @console_puts(ptr noundef @.str) br label %2 2: ; preds = %2, %0 br label %2 } declare i32 @console_puts(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8p5al4o9.c' source_filename = "/tmp/tmp8p5al4o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Nlst(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 @DoList(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @DoList(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/tmp8p5al4o9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-1\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Nlst(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 @DoList(ptr noundef %3, ptr noundef @.str) ret void } declare i32 @DoList(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/tmpfsh9ir2i.c' source_filename = "/tmp/tmpfsh9ir2i.c" target datalayout = "e-m:e-p270: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/tmpfsh9ir2i.c" target datalayout = "e-m:e-p270: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/tmptgytja40.c' source_filename = "/tmp/tmptgytja40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CLS\00", align 1 @.str.1 = private unnamed_addr constant [109 x i8] c"\0AConsole: Welcome to Guess-that-number game. I have picked a number in [1, 100]. Please make a guess.\0AUser: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Console: <Program terminates>\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"Console: Wrong. That is not a number.\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Console: Wrong. That number is above my number.\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c"Console: Wrong. That number is below my number.\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"User: \00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"Console: Correct! That is my number! <Program terminates>\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 %4 = call i32 @system(ptr noundef @.str) %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) %7 = call i32 (...) @rand() %8 = srem i32 %7, 100 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str.1) %11 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 10, i32 noundef %12) %14 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %17 store i8 0, ptr %18, align 1 br label %19 19: ; preds = %48, %0 %20 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %21 = call i32 @strtol(ptr noundef %20, ptr noundef null, i32 noundef 10) %22 = load i32, ptr %2, align 4 %23 = icmp ne i32 %21, %22 br i1 %23, label %24, label %58 24: ; preds = %19 %25 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.2) %27 = icmp eq i64 %26, 0 br i1 %27, label %28, label %30 28: ; preds = %24 %29 = call i32 @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %60 30: ; preds = %24 %31 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %32 = call i32 @strtol(ptr noundef %31, ptr noundef null, i32 noundef 10) %33 = sext i32 %32 to i64 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %30 %36 = call i32 @printf(ptr noundef @.str.4) br label %47 37: ; preds = %30 %38 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %39 = call i32 @strtol(ptr noundef %38, ptr noundef null, i32 noundef 10) %40 = load i32, ptr %2, align 4 %41 = icmp sgt i32 %39, %40 br i1 %41, label %42, label %44 42: ; preds = %37 %43 = call i32 @printf(ptr noundef @.str.5) br label %46 44: ; preds = %37 %45 = call i32 @printf(ptr noundef @.str.6) br label %46 46: ; preds = %44, %42 br label %47 47: ; preds = %46, %35 br label %48 48: ; preds = %47 %49 = call i32 @printf(ptr noundef @.str.7) %50 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %51 = load i32, ptr @stdin, align 4 %52 = call i32 @fgets(ptr noundef %50, i32 noundef 10, i32 noundef %51) %53 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %54 = call i32 @strlen(ptr noundef %53) %55 = sub nsw i32 %54, 1 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %56 store i8 0, ptr %57, align 1 br label %19, !llvm.loop !6 58: ; preds = %19 %59 = call i32 @printf(ptr noundef @.str.8) br label %60 60: ; preds = %58, %28 %61 = load i32, ptr %1, align 4 ret i32 %61 } declare i32 @system(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptgytja40.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"CLS\00", align 1 @.str.1 = private unnamed_addr constant [109 x i8] c"\0AConsole: Welcome to Guess-that-number game. I have picked a number in [1, 100]. Please make a guess.\0AUser: \00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [5 x i8] c"exit\00", align 1 @.str.3 = private unnamed_addr constant [30 x i8] c"Console: <Program terminates>\00", align 1 @.str.4 = private unnamed_addr constant [39 x i8] c"Console: Wrong. That is not a number.\0A\00", align 1 @.str.5 = private unnamed_addr constant [49 x i8] c"Console: Wrong. That number is above my number.\0A\00", align 1 @.str.6 = private unnamed_addr constant [49 x i8] c"Console: Wrong. That number is below my number.\0A\00", align 1 @.str.7 = private unnamed_addr constant [7 x i8] c"User: \00", align 1 @.str.8 = private unnamed_addr constant [58 x i8] c"Console: Correct! That is my number! <Program terminates>\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 %4 = call i32 @system(ptr noundef @.str) %5 = call i32 @time(ptr noundef null) %6 = call i32 @srand(i32 noundef %5) %7 = call i32 (...) @rand() %8 = srem i32 %7, 100 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 %10 = call i32 @printf(ptr noundef @.str.1) %11 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %12 = load i32, ptr @stdin, align 4 %13 = call i32 @fgets(ptr noundef %11, i32 noundef 10, i32 noundef %12) %14 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %17 store i8 0, ptr %18, align 1 %19 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @strtol(ptr noundef %19, ptr noundef null, i32 noundef 10) %21 = load i32, ptr %2, align 4 %22 = icmp ne i32 %20, %21 br i1 %22, label %.lr.ph, label %60 .lr.ph: ; preds = %0 br label %23 23: ; preds = %.lr.ph, %47 %24 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %24, ptr noundef @.str.2) %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %23 %28 = call i32 @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %62 29: ; preds = %23 %30 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %31 = call i32 @strtol(ptr noundef %30, ptr noundef null, i32 noundef 10) %32 = sext i32 %31 to i64 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %36 34: ; preds = %29 %35 = call i32 @printf(ptr noundef @.str.4) br label %46 36: ; preds = %29 %37 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %38 = call i32 @strtol(ptr noundef %37, ptr noundef null, i32 noundef 10) %39 = load i32, ptr %2, align 4 %40 = icmp sgt i32 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %36 %42 = call i32 @printf(ptr noundef @.str.5) br label %45 43: ; preds = %36 %44 = call i32 @printf(ptr noundef @.str.6) br label %45 45: ; preds = %43, %41 br label %46 46: ; preds = %45, %34 br label %47 47: ; preds = %46 %48 = call i32 @printf(ptr noundef @.str.7) %49 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %50 = load i32, ptr @stdin, align 4 %51 = call i32 @fgets(ptr noundef %49, i32 noundef 10, i32 noundef %50) %52 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0 %53 = call i32 @strlen(ptr noundef %52) %54 = sub nsw i32 %53, 1 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 %55 store i8 0, ptr %56, align 1 %57 = call i32 @strtol(ptr noundef %19, ptr noundef null, i32 noundef 10) %58 = load i32, ptr %2, align 4 %59 = icmp ne i32 %57, %58 br i1 %59, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %47 br label %60 60: ; preds = %._crit_edge, %0 %61 = call i32 @printf(ptr noundef @.str.8) br label %62 62: ; preds = %60, %27 %63 = load i32, ptr %1, align 4 ret i32 %63 } declare i32 @system(ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpsnvjnmz5.c' source_filename = "/tmp/tmpsnvjnmz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [110 x i8] c"%%TEST_FAILED%% time=0 testname=testRetournerEtatBouton (Test_gestioncommandes) message=error message sample\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testRetournerEtatBouton() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = load i32, ptr %1, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @RetournerEtatBouton(i32 noundef %4, ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @RetournerEtatBouton(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsnvjnmz5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [110 x i8] c"%%TEST_FAILED%% time=0 testname=testRetournerEtatBouton (Test_gestioncommandes) message=error message sample\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testRetournerEtatBouton() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = load i32, ptr %1, align 4 %5 = load ptr, ptr %2, align 8 %6 = call i32 @RetournerEtatBouton(i32 noundef %4, ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @RetournerEtatBouton(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpay456b2_.c' source_filename = "/tmp/tmpay456b2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Novo salario: %.2f\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Reajuste ganho: %.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Em percentual: %.0f %%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load double, ptr %2, align 8 %7 = call double @obterPercentualDeReajuste(double noundef %6) store double %7, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = load double, ptr %3, align 8 %10 = fmul double %8, %9 store double %10, ptr %4, align 8 %11 = load double, ptr %2, align 8 %12 = load double, ptr %4, align 8 %13 = fadd double %11, %12 %14 = call i32 @printf(ptr noundef @.str.1, double noundef %13) %15 = load double, ptr %4, align 8 %16 = call i32 @printf(ptr noundef @.str.2, double noundef %15) %17 = load double, ptr %3, align 8 %18 = fmul double %17, 1.000000e+02 %19 = call i32 @printf(ptr noundef @.str.3, double noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @obterPercentualDeReajuste(double noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpay456b2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%lf\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"Novo salario: %.2f\0A\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"Reajuste ganho: %.2f\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"Em percentual: %.0f %%\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 store i32 0, ptr %1, align 4 %5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %6 = load double, ptr %2, align 8 %7 = call double @obterPercentualDeReajuste(double noundef %6) store double %7, ptr %3, align 8 %8 = load double, ptr %2, align 8 %9 = load double, ptr %3, align 8 %10 = fmul double %8, %9 store double %10, ptr %4, align 8 %11 = load double, ptr %2, align 8 %12 = load double, ptr %4, align 8 %13 = fadd double %11, %12 %14 = call i32 @printf(ptr noundef @.str.1, double noundef %13) %15 = load double, ptr %4, align 8 %16 = call i32 @printf(ptr noundef @.str.2, double noundef %15) %17 = load double, ptr %3, align 8 %18 = fmul double %17, 1.000000e+02 %19 = call i32 @printf(ptr noundef @.str.3, double noundef %18) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare double @obterPercentualDeReajuste(double noundef) #1 declare i32 @printf(ptr noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpovsazqy7.c' source_filename = "/tmp/tmpovsazqy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exibe_lcd(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 switch i32 %4, label %12 [ i32 12, label %5 i32 10, label %8 i32 8, label %10 ] 5: ; preds = %1 %6 = call i32 @envia_byte_lcd(i32 noundef 0, i8 noundef signext 1) %7 = call i32 @delay_ms(i32 noundef 2) br label %15 8: ; preds = %1 %9 = call i32 @posicao_xy_lcd(i32 noundef 1, i32 noundef 2) br label %15 10: ; preds = %1 %11 = call i32 @envia_byte_lcd(i32 noundef 0, i8 noundef signext 10) br label %15 12: ; preds = %1 %13 = load i8, ptr %2, align 1 %14 = call i32 @envia_byte_lcd(i32 noundef 1, i8 noundef signext %13) br label %15 15: ; preds = %12, %10, %8, %5 ret void } declare i32 @envia_byte_lcd(i32 noundef, i8 noundef signext) #1 declare i32 @delay_ms(i32 noundef) #1 declare i32 @posicao_xy_lcd(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/tmpovsazqy7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @exibe_lcd(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 switch i32 %4, label %12 [ i32 12, label %5 i32 10, label %8 i32 8, label %10 ] 5: ; preds = %1 %6 = call i32 @envia_byte_lcd(i32 noundef 0, i8 noundef signext 1) %7 = call i32 @delay_ms(i32 noundef 2) br label %15 8: ; preds = %1 %9 = call i32 @posicao_xy_lcd(i32 noundef 1, i32 noundef 2) br label %15 10: ; preds = %1 %11 = call i32 @envia_byte_lcd(i32 noundef 0, i8 noundef signext 10) br label %15 12: ; preds = %1 %13 = load i8, ptr %2, align 1 %14 = call i32 @envia_byte_lcd(i32 noundef 1, i8 noundef signext %13) br label %15 15: ; preds = %12, %10, %8, %5 ret void } declare i32 @envia_byte_lcd(i32 noundef, i8 noundef signext) #1 declare i32 @delay_ms(i32 noundef) #1 declare i32 @posicao_xy_lcd(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/tmppp8krdwv.c' source_filename = "/tmp/tmppp8krdwv.c" target datalayout = "e-m:e-p270: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/tmppp8krdwv.c" target datalayout = "e-m:e-p270: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/tmpmh067glb.c' source_filename = "/tmp/tmpmh067glb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @std_out(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 1, ptr noundef %3, i32 noundef %5) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmh067glb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @std_out(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @strlen(ptr noundef %4) %6 = call i32 @write(i32 noundef 1, ptr noundef %3, i32 noundef %5) ret void } declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd_8snysd.c' source_filename = "/tmp/tmpd_8snysd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sge i32 %6, 0 %8 = zext i1 %7 to i32 %9 = call i32 @csolve_assert(i32 noundef %8) ret i32 0 } declare i32 @csolve_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/tmpd_8snysd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = icmp sge i32 %6, 0 %8 = zext i1 %7 to i32 %9 = call i32 @csolve_assert(i32 noundef %8) ret i32 0 } declare i32 @csolve_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/tmpv5z4w8d8.c' source_filename = "/tmp/tmpv5z4w8d8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel_early() #0 { %1 = call i32 (...) @terminal_initialize() ret void } declare i32 @terminal_initialize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpv5z4w8d8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @kernel_early() #0 { %1 = call i32 (...) @terminal_initialize() ret void } declare i32 @terminal_initialize(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf7mj643l.c' source_filename = "/tmp/tmpf7mj643l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_stristr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [2048 x i8], align 16 %6 = alloca [2048 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 2048, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 2048, i1 false) %7 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8) %10 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @strlwr(ptr noundef %13) %15 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @strlwr(ptr noundef %15) %17 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %18 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %19 = call ptr @strstr(ptr noundef %17, ptr noundef %18) ret ptr %19 } ; 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 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strlwr(ptr noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf7mj643l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @db_stristr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca [2048 x i8], align 16 %6 = alloca [2048 x i8], align 16 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 2048, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %6, i8 0, i64 2048, i1 false) %7 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %8 = load ptr, ptr %3, align 8 %9 = call i32 @strcpy(ptr noundef %7, ptr noundef %8) %10 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %11 = load ptr, ptr %4, align 8 %12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11) %13 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %14 = call i32 @strlwr(ptr noundef %13) %15 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @strlwr(ptr noundef %15) %17 = getelementptr inbounds [2048 x i8], ptr %5, i64 0, i64 0 %18 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %19 = call ptr @strstr(ptr noundef %17, ptr noundef %18) ret ptr %19 } ; 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 @strcpy(ptr noundef, ptr noundef) #2 declare i32 @strlwr(ptr noundef) #2 declare ptr @strstr(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp1701kew9.c' source_filename = "/tmp/tmp1701kew9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @populateRandomArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 100, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %20, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %23 11: ; preds = %7 %12 = call i32 (...) @rand() %13 = load i32, ptr %5, align 4 %14 = add nsw i32 %13, 1 %15 = srem i32 %12, %14 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %6, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i32, ptr %16, i64 %18 store i32 %15, ptr %19, align 4 br label %20 20: ; preds = %11 %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 br label %7, !llvm.loop !6 23: ; preds = %7 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1701kew9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @populateRandomArray(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 100, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %25 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %19 %11 = call i32 (...) @rand() %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 %14 = srem i32 %11, %13 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %6, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 store i32 %14, ptr %18, align 4 br label %19 19: ; preds = %10 %20 = load i32, ptr %6, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %6, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %25 25: ; preds = %._crit_edge, %2 ret void } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnorynlbf.c' source_filename = "/tmp/tmpnorynlbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%c | %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = 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 ptr null, 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 ptr null, ptr %10, align 8 store i32 1, ptr %11, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 1, %15 br i1 %16, label %17, label %22 17: ; preds = %2 %18 = call i32 @isatty(i32 noundef 0) %19 = icmp eq i32 1, %18 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %152 22: ; preds = %17, %2 %23 = load i32, ptr @stdin, align 4 %24 = call i64 @ferror(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 1, ptr %3, align 4 br label %152 27: ; preds = %22 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 1 br i1 %30, label %31, label %64 31: ; preds = %28 br label %32 32: ; preds = %62, %31 %33 = load ptr, ptr %5, align 8 %34 = getelementptr inbounds ptr, ptr %33, i32 1 store ptr %34, ptr %5, align 8 %35 = load ptr, ptr %33, align 8 %36 = icmp ne ptr %35, null br i1 %36, label %37, label %63 37: ; preds = %32 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 0 %40 = load ptr, ptr %39, align 8 store ptr %40, ptr %10, align 8 %41 = load ptr, ptr %10, align 8 %42 = getelementptr inbounds i8, ptr %41, i64 0 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 switch i32 %44, label %62 [ i32 45, label %45 ] 45: ; preds = %37 %46 = load ptr, ptr %10, align 8 %47 = getelementptr inbounds i8, ptr %46, i64 1 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 switch i32 %49, label %61 [ i32 104, label %50 i32 86, label %52 i32 102, label %54 ] 50: ; preds = %45 %51 = call i32 (...) @usage() store i32 0, ptr %3, align 4 br label %152 52: ; preds = %45 %53 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %152 54: ; preds = %45 %55 = load ptr, ptr %5, align 8 %56 = getelementptr inbounds ptr, ptr %55, i32 1 store ptr %56, ptr %5, align 8 %57 = load ptr, ptr %55, align 8 store ptr %57, ptr %10, align 8 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i32 1 store ptr %59, ptr %5, align 8 %60 = load ptr, ptr %58, align 8 store ptr %60, ptr %9, align 8 br label %61 61: ; preds = %45, %54 br label %62 62: ; preds = %37, %61 br label %32, !llvm.loop !6 63: ; preds = %32 br label %64 64: ; preds = %63, %28 %65 = load ptr, ptr %9, align 8 %66 = icmp eq ptr null, %65 br i1 %66, label %67, label %68 67: ; preds = %64 store ptr @.str.2, ptr %9, align 8 br label %68 68: ; preds = %67, %64 store i8 0, ptr %12, align 1 store i32 0, ptr %13, align 4 br label %69 69: ; preds = %92, %68 %70 = load ptr, ptr %9, align 8 %71 = load i32, ptr %13, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %13, align 4 %73 = sext i32 %71 to i64 %74 = getelementptr inbounds i8, ptr %70, i64 %73 %75 = load i8, ptr %74, align 1 store i8 %75, ptr %12, align 1 %76 = sext i8 %75 to i32 %77 = icmp ne i32 0, %76 br i1 %77, label %78, label %93 78: ; preds = %69 %79 = load i8, ptr %12, align 1 %80 = sext i8 %79 to i32 %81 = icmp eq i32 37, %80 br i1 %81, label %82, label %92 82: ; preds = %78 %83 = load ptr, ptr %9, align 8 %84 = load i32, ptr %13, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds i8, ptr %83, i64 %85 %87 = load i8, ptr %86, align 1 %88 = sext i8 %87 to i32 %89 = icmp eq i32 99, %88 br i1 %89, label %90, label %91 90: ; preds = %82 store i32 1, ptr %11, align 4 br label %93 91: ; preds = %82 store i32 0, ptr %11, align 4 br label %93 92: ; preds = %78 br label %69, !llvm.loop !8 93: ; preds = %91, %90, %69 %94 = call i32 @isatty(i32 noundef 0) %95 = icmp eq i32 1, %94 br i1 %95, label %96, label %98 96: ; preds = %93 %97 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %152 98: ; preds = %93 %99 = load i32, ptr @stdin, align 4 %100 = call i64 @ferror(i32 noundef %99) %101 = icmp ne i64 %100, 0 br i1 %101, label %102, label %103 102: ; preds = %98 store i32 1, ptr %3, align 4 br label %152 103: ; preds = %98 br label %104 104: ; preds = %146, %103 %105 = call ptr (...) @read_stdin() store ptr %105, ptr %8, align 8 %106 = load ptr, ptr %8, align 8 %107 = icmp eq ptr null, %106 br i1 %107, label %108, label %109 108: ; preds = %104 store i32 1, ptr %3, align 4 br label %152 109: ; preds = %104 %110 = load ptr, ptr %8, align 8 %111 = call ptr @chfreq(ptr noundef %110) store ptr %111, ptr %6, align 8 store i32 0, ptr %14, align 4 br label %112 112: ; preds = %142, %109 %113 = load ptr, ptr %6, align 8 %114 = load i32, ptr %14, align 4 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds ptr, ptr %113, i64 %115 %117 = load ptr, ptr %116, align 8 store ptr %117, ptr %7, align 8 %118 = icmp ne ptr %117, null br i1 %118, label %119, label %145 119: ; preds = %112 %120 = load i32, ptr %11, align 4 %121 = icmp eq i32 1, %120 br i1 %121, label %122, label %131 122: ; preds = %119 %123 = load ptr, ptr %9, align 8 %124 = load ptr, ptr %7, align 8 %125 = getelementptr inbounds i32, ptr %124, i64 0 %126 = load i32, ptr %125, align 4 %127 = load ptr, ptr %7, align 8 %128 = getelementptr inbounds i32, ptr %127, i64 1 %129 = load i32, ptr %128, align 4 %130 = call i32 (ptr, ...) @printf(ptr noundef %123, i32 noundef %126, i32 noundef %129) br label %140 131: ; preds = %119 %132 = load ptr, ptr %9, align 8 %133 = load ptr, ptr %7, align 8 %134 = getelementptr inbounds i32, ptr %133, i64 1 %135 = load i32, ptr %134, align 4 %136 = load ptr, ptr %7, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 0 %138 = load i32, ptr %137, align 4 %139 = call i32 (ptr, ...) @printf(ptr noundef %132, i32 noundef %135, i32 noundef %138) br label %140 140: ; preds = %131, %122 %141 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %142 142: ; preds = %140 %143 = load i32, ptr %14, align 4 %144 = add nsw i32 %143, 1 store i32 %144, ptr %14, align 4 br label %112, !llvm.loop !9 145: ; preds = %112 br label %146 146: ; preds = %145 %147 = load ptr, ptr %8, align 8 %148 = icmp ne ptr null, %147 br i1 %148, label %104, label %149, !llvm.loop !10 149: ; preds = %146 br label %150 150: ; preds = %149 br label %151 151: ; preds = %150 store i32 0, ptr %3, align 4 br label %152 152: ; preds = %151, %108, %102, %96, %52, %50, %26, %20 %153 = load i32, ptr %3, align 4 ret i32 %153 } declare i32 @isatty(i32 noundef) #1 declare i32 @usage(...) #1 declare i64 @ferror(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @read_stdin(...) #1 declare ptr @chfreq(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpnorynlbf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stdin = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"0.0.1\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"%c | %d\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i32, align 4 %14 = 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 ptr null, 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 ptr null, ptr %10, align 8 store i32 1, ptr %11, align 4 %15 = load i32, ptr %4, align 4 %16 = icmp eq i32 1, %15 br i1 %16, label %17, label %22 17: ; preds = %2 %18 = call i32 @isatty(i32 noundef 0) %19 = icmp eq i32 1, %18 br i1 %19, label %20, label %22 20: ; preds = %17 %21 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %167 22: ; preds = %17, %2 %23 = load i32, ptr @stdin, align 4 %24 = call i64 @ferror(i32 noundef %23) %25 = icmp ne i64 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %22 store i32 1, ptr %3, align 4 br label %167 27: ; preds = %22 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = icmp sgt i32 %29, 1 br i1 %30, label %31, label %67 31: ; preds = %28 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i32 1 store ptr %33, ptr %5, align 8 %34 = load ptr, ptr %32, align 8 %35 = icmp ne ptr %34, null br i1 %35, label %.lr.ph, label %66 .lr.ph: ; preds = %31 br label %36 36: ; preds = %.lr.ph, %61 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds ptr, ptr %37, i64 0 %39 = load ptr, ptr %38, align 8 store ptr %39, ptr %10, align 8 %40 = load ptr, ptr %10, align 8 %41 = getelementptr inbounds i8, ptr %40, i64 0 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 switch i32 %43, label %61 [ i32 45, label %44 ] 44: ; preds = %36 %45 = load ptr, ptr %10, align 8 %46 = getelementptr inbounds i8, ptr %45, i64 1 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 switch i32 %48, label %60 [ i32 104, label %49 i32 86, label %51 i32 102, label %53 ] 49: ; preds = %44 %50 = call i32 (...) @usage() store i32 0, ptr %3, align 4 br label %167 51: ; preds = %44 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %167 53: ; preds = %44 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds ptr, ptr %54, i32 1 store ptr %55, ptr %5, align 8 %56 = load ptr, ptr %54, align 8 store ptr %56, ptr %10, align 8 %57 = load ptr, ptr %5, align 8 %58 = getelementptr inbounds ptr, ptr %57, i32 1 store ptr %58, ptr %5, align 8 %59 = load ptr, ptr %57, align 8 store ptr %59, ptr %9, align 8 br label %60 60: ; preds = %53, %44 br label %61 61: ; preds = %60, %36 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i32 1 store ptr %63, ptr %5, align 8 %64 = load ptr, ptr %62, align 8 %65 = icmp ne ptr %64, null br i1 %65, label %36, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %66 66: ; preds = %._crit_edge, %31 br label %67 67: ; preds = %66, %28 %68 = load ptr, ptr %9, align 8 %69 = icmp eq ptr null, %68 br i1 %69, label %70, label %71 70: ; preds = %67 store ptr @.str.2, ptr %9, align 8 br label %71 71: ; preds = %70, %67 store i8 0, ptr %12, align 1 store i32 0, ptr %13, align 4 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %13, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %13, align 4 %75 = sext i32 %73 to i64 %76 = getelementptr inbounds i8, ptr %72, i64 %75 %77 = load i8, ptr %76, align 1 store i8 %77, ptr %12, align 1 %78 = sext i8 %77 to i32 %79 = icmp ne i32 0, %78 br i1 %79, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %71 br label %89 80: ; preds = %89 %81 = load ptr, ptr %9, align 8 %82 = load i32, ptr %13, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %13, align 4 %84 = sext i32 %82 to i64 %85 = getelementptr inbounds i8, ptr %81, i64 %84 %86 = load i8, ptr %85, align 1 store i8 %86, ptr %12, align 1 %87 = sext i8 %86 to i32 %88 = icmp ne i32 0, %87 br i1 %88, label %89, label %..loopexit_crit_edge, !llvm.loop !8 89: ; preds = %.lr.ph2, %80 %90 = load i8, ptr %12, align 1 %91 = sext i8 %90 to i32 %92 = icmp eq i32 37, %91 br i1 %92, label %93, label %80 93: ; preds = %89 %94 = load ptr, ptr %9, align 8 %95 = load i32, ptr %13, align 4 %96 = sext i32 %95 to i64 %97 = getelementptr inbounds i8, ptr %94, i64 %96 %98 = load i8, ptr %97, align 1 %99 = sext i8 %98 to i32 %100 = icmp eq i32 99, %99 br i1 %100, label %101, label %102 101: ; preds = %93 store i32 1, ptr %11, align 4 br label %103 102: ; preds = %93 store i32 0, ptr %11, align 4 br label %103 ..loopexit_crit_edge: ; preds = %80 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %71 br label %103 103: ; preds = %.loopexit, %102, %101 %104 = call i32 @isatty(i32 noundef 0) %105 = icmp eq i32 1, %104 br i1 %105, label %106, label %108 106: ; preds = %103 %107 = call i32 (...) @usage() store i32 1, ptr %3, align 4 br label %167 108: ; preds = %103 %109 = load i32, ptr @stdin, align 4 %110 = call i64 @ferror(i32 noundef %109) %111 = icmp ne i64 %110, 0 br i1 %111, label %112, label %113 112: ; preds = %108 store i32 1, ptr %3, align 4 br label %167 113: ; preds = %108 br label %114 114: ; preds = %161, %113 %115 = call ptr (...) @read_stdin() store ptr %115, ptr %8, align 8 %116 = load ptr, ptr %8, align 8 %117 = icmp eq ptr null, %116 br i1 %117, label %118, label %119 118: ; preds = %114 store i32 1, ptr %3, align 4 br label %167 119: ; preds = %114 %120 = load ptr, ptr %8, align 8 %121 = call ptr @chfreq(ptr noundef %120) store ptr %121, ptr %6, align 8 store i32 0, ptr %14, align 4 %122 = load ptr, ptr %6, align 8 %123 = load i32, ptr %14, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds ptr, ptr %122, i64 %124 %126 = load ptr, ptr %125, align 8 store ptr %126, ptr %7, align 8 %127 = icmp ne ptr %126, null br i1 %127, label %.lr.ph4, label %160 .lr.ph4: ; preds = %119 br label %128 128: ; preds = %.lr.ph4, %151 %129 = load i32, ptr %11, align 4 %130 = icmp eq i32 1, %129 br i1 %130, label %131, label %140 131: ; preds = %128 %132 = load ptr, ptr %9, align 8 %133 = load ptr, ptr %7, align 8 %134 = getelementptr inbounds i32, ptr %133, i64 0 %135 = load i32, ptr %134, align 4 %136 = load ptr, ptr %7, align 8 %137 = getelementptr inbounds i32, ptr %136, i64 1 %138 = load i32, ptr %137, align 4 %139 = call i32 (ptr, ...) @printf(ptr noundef %132, i32 noundef %135, i32 noundef %138) br label %149 140: ; preds = %128 %141 = load ptr, ptr %9, align 8 %142 = load ptr, ptr %7, align 8 %143 = getelementptr inbounds i32, ptr %142, i64 1 %144 = load i32, ptr %143, align 4 %145 = load ptr, ptr %7, align 8 %146 = getelementptr inbounds i32, ptr %145, i64 0 %147 = load i32, ptr %146, align 4 %148 = call i32 (ptr, ...) @printf(ptr noundef %141, i32 noundef %144, i32 noundef %147) br label %149 149: ; preds = %140, %131 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %151 151: ; preds = %149 %152 = load i32, ptr %14, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %14, align 4 %154 = load ptr, ptr %6, align 8 %155 = load i32, ptr %14, align 4 %156 = sext i32 %155 to i64 %157 = getelementptr inbounds ptr, ptr %154, i64 %156 %158 = load ptr, ptr %157, align 8 store ptr %158, ptr %7, align 8 %159 = icmp ne ptr %158, null br i1 %159, label %128, label %._crit_edge5, !llvm.loop !9 ._crit_edge5: ; preds = %151 br label %160 160: ; preds = %._crit_edge5, %119 br label %161 161: ; preds = %160 %162 = load ptr, ptr %8, align 8 %163 = icmp ne ptr null, %162 br i1 %163, label %114, label %164, !llvm.loop !10 164: ; preds = %161 br label %165 165: ; preds = %164 br label %166 166: ; preds = %165 store i32 0, ptr %3, align 4 br label %167 167: ; preds = %166, %118, %112, %106, %51, %49, %26, %20 %168 = load i32, ptr %3, align 4 ret i32 %168 } declare i32 @isatty(i32 noundef) #1 declare i32 @usage(...) #1 declare i64 @ferror(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @read_stdin(...) #1 declare ptr @chfreq(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp9rvteci2.c' source_filename = "/tmp/tmp9rvteci2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @gen_uuid.an = internal constant [63 x i8] c"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gen_uuid() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 10, ptr %2, align 4 store ptr null, ptr %1, align 8 %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = mul nsw i32 %13, %15 %17 = call i32 @srand(i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %5, align 4 store i32 0, ptr %4, align 4 br label %20 20: ; preds = %34, %0 %21 = load i32, ptr %4, align 4 %22 = load i32, ptr %5, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %37 24: ; preds = %20 %25 = call i32 (...) @rand() %26 = sext i32 %25 to i64 %27 = urem i64 %26, 62 %28 = getelementptr inbounds [63 x i8], ptr @gen_uuid.an, i64 0, i64 %27 %29 = load i8, ptr %28, align 1 %30 = load ptr, ptr %1, align 8 %31 = load i32, ptr %4, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 store i8 %29, ptr %33, align 1 br label %34 34: ; preds = %24 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %20, !llvm.loop !6 37: ; preds = %20 %38 = load ptr, ptr %1, align 8 %39 = load i32, ptr %2, align 4 %40 = sub nsw i32 %39, 1 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i8, ptr %38, i64 %41 store i8 0, ptr %42, align 1 %43 = load ptr, ptr %1, align 8 ret ptr %43 } declare ptr @malloc(i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9rvteci2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timeval = type { i32, i32 } @gen_uuid.an = internal constant [63 x i8] c"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\00", align 16 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @gen_uuid() #0 { %1 = alloca ptr, align 8 %2 = alloca i32, align 4 %3 = alloca %struct.timeval, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 10, ptr %2, align 4 store ptr null, ptr %1, align 8 %6 = load i32, ptr %2, align 4 %7 = sext i32 %6 to i64 %8 = mul i64 %7, 1 %9 = trunc i64 %8 to i32 %10 = call ptr @malloc(i32 noundef %9) store ptr %10, ptr %1, align 8 %11 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null) %12 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0 %13 = load i32, ptr %12, align 4 %14 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1 %15 = load i32, ptr %14, align 4 %16 = mul nsw i32 %13, %15 %17 = call i32 @srand(i32 noundef %16) %18 = load i32, ptr %2, align 4 %19 = sub nsw i32 %18, 1 store i32 %19, ptr %5, align 4 store i32 0, ptr %4, align 4 %20 = load i32, ptr %4, align 4 %21 = load i32, ptr %5, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %.lr.ph, label %39 .lr.ph: ; preds = %0 br label %23 23: ; preds = %.lr.ph, %33 %24 = call i32 (...) @rand() %25 = sext i32 %24 to i64 %26 = urem i64 %25, 62 %27 = getelementptr inbounds [63 x i8], ptr @gen_uuid.an, i64 0, i64 %26 %28 = load i8, ptr %27, align 1 %29 = load ptr, ptr %1, align 8 %30 = load i32, ptr %4, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 store i8 %28, ptr %32, align 1 br label %33 33: ; preds = %23 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 %36 = load i32, ptr %4, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %23, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %39 39: ; preds = %._crit_edge, %0 %40 = load ptr, ptr %1, align 8 %41 = load i32, ptr %2, align 4 %42 = sub nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %40, i64 %43 store i8 0, ptr %44, align 1 %45 = load ptr, ptr %1, align 8 ret ptr %45 } declare ptr @malloc(i32 noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @srand(i32 noundef) #1 declare i32 @rand(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpbtg6d48w.c' source_filename = "/tmp/tmpbtg6d48w.c" target datalayout = "e-m:e-p270: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/tmpbtg6d48w.c" target datalayout = "e-m:e-p270: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/tmpoa80nd6u.c' source_filename = "/tmp/tmpoa80nd6u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"%d tem %d divisores\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @divisore(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %3, align 4 br label %5 5: ; preds = %18, %1 %6 = load i32, ptr %3, align 4 %7 = load i32, ptr %2, align 4 %8 = icmp sle i32 %6, %7 br i1 %8, label %9, label %21 9: ; preds = %5 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = srem i32 %10, %11 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load i32, ptr %4, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %14, %9 br label %18 18: ; preds = %17 %19 = load i32, ptr %3, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %3, align 4 br label %5, !llvm.loop !6 21: ; preds = %5 %22 = load i32, ptr %2, align 4 %23 = load i32, ptr %4, align 4 %24 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %23) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoa80nd6u.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"%d tem %d divisores\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @divisore(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 1, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = icmp sle i32 %5, %6 br i1 %7, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %17 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, 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 %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 br label %16 16: ; preds = %13, %8 br label %17 17: ; preds = %16 %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 = load i32, ptr %2, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %4, align 4 %26 = call i32 @printf(ptr noundef @.str, i32 noundef %24, i32 noundef %25) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2nadwhay.c' source_filename = "/tmp/tmp2nadwhay.c" target datalayout = "e-m:e-p270: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/tmp2nadwhay.c" target datalayout = "e-m:e-p270: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/tmp646544xw.c' source_filename = "/tmp/tmp646544xw.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [36 x i8] c"ERROR: Failed to access directory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @count_files(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @opendir(ptr noundef %7) store ptr %8, ptr %3, align 8 store i32 0, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %32 11: ; preds = %1 br label %12 12: ; preds = %28, %11 %13 = load ptr, ptr %3, align 8 %14 = call ptr @readdir(ptr noundef %13) store ptr %14, ptr %5, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %29 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds %struct.dirent, ptr %17, i32 0, i32 0 %19 = load ptr, ptr %18, align 8 store ptr %19, ptr %6, align 8 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds i8, ptr %20, i64 0 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 46 br i1 %24, label %25, label %28 25: ; preds = %16 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %4, align 4 br label %28 28: ; preds = %25, %16 br label %12, !llvm.loop !6 29: ; preds = %12 %30 = load ptr, ptr %3, align 8 %31 = call i32 @closedir(ptr noundef %30) br label %35 32: ; preds = %1 %33 = call i32 @perror(ptr noundef @.str) %34 = call i32 @exit(i32 noundef 1) #3 unreachable 35: ; preds = %29 %36 = load i32, ptr %4, align 4 ret i32 %36 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp646544xw.c" target datalayout = "e-m:e-p270: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.dirent = type { ptr } @.str = private unnamed_addr constant [36 x i8] c"ERROR: Failed to access directory.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @count_files(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = call ptr @opendir(ptr noundef %7) store ptr %8, ptr %3, align 8 store i32 0, ptr %4, align 4 %9 = load ptr, ptr %3, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %11, label %34 11: ; preds = %1 %12 = load ptr, ptr %3, align 8 %13 = call ptr @readdir(ptr noundef %12) store ptr %13, ptr %5, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %.lr.ph, label %31 .lr.ph: ; preds = %11 br label %15 15: ; preds = %.lr.ph, %27 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds %struct.dirent, ptr %16, i32 0, i32 0 %18 = load ptr, ptr %17, align 8 store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds i8, ptr %19, i64 0 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 46 br i1 %23, label %24, label %27 24: ; preds = %15 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %4, align 4 br label %27 27: ; preds = %24, %15 %28 = load ptr, ptr %3, align 8 %29 = call ptr @readdir(ptr noundef %28) store ptr %29, ptr %5, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %31 31: ; preds = %._crit_edge, %11 %32 = load ptr, ptr %3, align 8 %33 = call i32 @closedir(ptr noundef %32) br label %37 34: ; preds = %1 %35 = call i32 @perror(ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %31 %38 = load i32, ptr %4, align 4 ret i32 %38 } declare ptr @opendir(ptr noundef) #1 declare ptr @readdir(ptr noundef) #1 declare i32 @closedir(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpkex4xg7d.c' source_filename = "/tmp/tmpkex4xg7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Foreign handler parameters must be typed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Error_NoTypeSpecifiedForForeignHandlerParameter(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @_Error(i64 noundef %3, ptr noundef @.str) ret void } declare i32 @_Error(i64 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/tmpkex4xg7d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [41 x i8] c"Foreign handler parameters must be typed\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Error_NoTypeSpecifiedForForeignHandlerParameter(i64 noundef %0) #0 { %2 = alloca i64, align 8 store i64 %0, ptr %2, align 8 %3 = load i64, ptr %2, align 8 %4 = call i32 @_Error(i64 noundef %3, ptr noundef @.str) ret void } declare i32 @_Error(i64 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/tmp07ja5erb.c' source_filename = "/tmp/tmp07ja5erb.c" target datalayout = "e-m:e-p270: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/tmp07ja5erb.c" target datalayout = "e-m:e-p270: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/tmpcabwl_fe.c' source_filename = "/tmp/tmpcabwl_fe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcabwl_fe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Hello world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa_dk9yty.c' source_filename = "/tmp/tmpa_dk9yty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_if_alien(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isupper(i8 noundef zeroext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %51 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store ptr %11, ptr %4, align 8 br label %12 12: ; preds = %18, %9 %13 = load ptr, ptr %4, align 8 %14 = load i8, ptr %13, align 1 %15 = call i64 @islower(i8 noundef zeroext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %21 17: ; preds = %12 br label %18 18: ; preds = %17 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds i8, ptr %19, i32 1 store ptr %20, ptr %4, align 8 br label %12, !llvm.loop !6 21: ; preds = %12 %22 = load ptr, ptr %4, align 8 %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds i8, ptr %23, i64 1 %25 = icmp ugt ptr %22, %24 br i1 %25, label %26, label %50 26: ; preds = %21 %27 = load ptr, ptr %4, align 8 %28 = load i8, ptr %27, align 1 %29 = zext i8 %28 to i32 %30 = icmp eq i32 %29, 32 br i1 %30, label %31, label %50 31: ; preds = %26 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %4, align 8 br label %34 34: ; preds = %40, %31 %35 = load ptr, ptr %4, align 8 %36 = load i8, ptr %35, align 1 %37 = call i64 @isdigit(i8 noundef zeroext %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %43 39: ; preds = %34 br label %40 40: ; preds = %39 %41 = load ptr, ptr %4, align 8 %42 = getelementptr inbounds i8, ptr %41, i32 1 store ptr %42, ptr %4, align 8 br label %34, !llvm.loop !8 43: ; preds = %34 %44 = load ptr, ptr %4, align 8 %45 = load i8, ptr %44, align 1 %46 = zext i8 %45 to i32 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %49 48: ; preds = %43 store i32 1, ptr %2, align 4 br label %52 49: ; preds = %43 br label %50 50: ; preds = %49, %26, %21 br label %51 51: ; preds = %50, %1 store i32 0, ptr %2, align 4 br label %52 52: ; preds = %51, %48 %53 = load i32, ptr %2, align 4 ret i32 %53 } declare i64 @isupper(i8 noundef zeroext) #1 declare i64 @islower(i8 noundef zeroext) #1 declare i64 @isdigit(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa_dk9yty.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @find_if_alien(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load i8, ptr %5, align 1 %7 = call i64 @isupper(i8 noundef zeroext %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %57 9: ; preds = %1 %10 = load ptr, ptr %3, align 8 %11 = getelementptr inbounds i8, ptr %10, i64 1 store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i8, ptr %12, align 1 %14 = call i64 @islower(i8 noundef zeroext %13) %15 = icmp ne i64 %14, 0 br i1 %15, label %.lr.ph, label %24 .lr.ph: ; preds = %9 br label %16 16: ; preds = %.lr.ph, %17 br label %17 17: ; preds = %16 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %4, align 8 %21 = load i8, ptr %20, align 1 %22 = call i64 @islower(i8 noundef zeroext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %24 24: ; preds = %._crit_edge, %9 %25 = load ptr, ptr %4, align 8 %26 = load ptr, ptr %3, align 8 %27 = getelementptr inbounds i8, ptr %26, i64 1 %28 = icmp ugt ptr %25, %27 br i1 %28, label %29, label %56 29: ; preds = %24 %30 = load ptr, ptr %4, align 8 %31 = load i8, ptr %30, align 1 %32 = zext i8 %31 to i32 %33 = icmp eq i32 %32, 32 br i1 %33, label %34, label %56 34: ; preds = %29 %35 = load ptr, ptr %4, align 8 %36 = getelementptr inbounds i8, ptr %35, i32 1 store ptr %36, ptr %4, align 8 %37 = load ptr, ptr %4, align 8 %38 = load i8, ptr %37, align 1 %39 = call i64 @isdigit(i8 noundef zeroext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %.lr.ph2, label %49 .lr.ph2: ; preds = %34 br label %41 41: ; preds = %.lr.ph2, %42 br label %42 42: ; preds = %41 %43 = load ptr, ptr %4, align 8 %44 = getelementptr inbounds i8, ptr %43, i32 1 store ptr %44, ptr %4, align 8 %45 = load ptr, ptr %4, align 8 %46 = load i8, ptr %45, align 1 %47 = call i64 @isdigit(i8 noundef zeroext %46) %48 = icmp ne i64 %47, 0 br i1 %48, label %41, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %42 br label %49 49: ; preds = %._crit_edge3, %34 %50 = load ptr, ptr %4, align 8 %51 = load i8, ptr %50, align 1 %52 = zext i8 %51 to i32 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %55 54: ; preds = %49 store i32 1, ptr %2, align 4 br label %58 55: ; preds = %49 br label %56 56: ; preds = %55, %29, %24 br label %57 57: ; preds = %56, %1 store i32 0, ptr %2, align 4 br label %58 58: ; preds = %57, %54 %59 = load i32, ptr %2, align 4 ret i32 %59 } declare i64 @isupper(i8 noundef zeroext) #1 declare i64 @islower(i8 noundef zeroext) #1 declare i64 @isdigit(i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjxkp_a05.c' source_filename = "/tmp/tmpjxkp_a05.c" target datalayout = "e-m:e-p270: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/tmpjxkp_a05.c" target datalayout = "e-m:e-p270: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/tmpmkfsbxxf.c' source_filename = "/tmp/tmpmkfsbxxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %13, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 300 br i1 %5, label %6, label %16 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = sub nsw i32 %8, 32 %10 = sitofp i32 %9 to double %11 = fmul double 0x3FE1C71C71C71C72, %10 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %7, double noundef %11) br label %13 13: ; preds = %6 %14 = load i32, ptr %2, align 4 %15 = add nsw i32 %14, 20 store i32 %15, ptr %2, align 4 br label %3, !llvm.loop !6 16: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmkfsbxxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%3d %6.1f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 300 br i1 %4, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %12 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 32 %9 = sitofp i32 %8 to double %10 = fmul double 0x3FE1C71C71C71C72, %9 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %6, double noundef %10) br label %12 12: ; preds = %5 %13 = load i32, ptr %2, align 4 %14 = add nsw i32 %13, 20 store i32 %14, ptr %2, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %15, 300 br i1 %16, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpnpb90w7t.c' source_filename = "/tmp/tmpnpb90w7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Digite 0 para sair\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Numero: \0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%d eh primo!\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 1, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %5 5: ; preds = %21, %0 %6 = load i32, ptr %3, align 4 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %24 8: ; preds = %5 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %10 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %11 = load i32, ptr %2, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %14 13: ; preds = %8 store i32 0, ptr %3, align 4 br label %24 14: ; preds = %8 %15 = load i32, ptr %2, align 4 %16 = icmp eq i32 %15, 2 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr %2, 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 = call i32 @primo(i32 noundef %22) br label %5, !llvm.loop !6 24: ; preds = %13, %5 %25 = load i32, ptr %1, align 4 ret i32 %25 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @primo(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/tmpnpb90w7t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [21 x i8] c"Digite 0 para sair\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"Numero: \0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"%d eh primo!\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 1, ptr %3, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = load i32, ptr %3, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %20 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %9 = call i32 @scanf(ptr noundef @.str.2, ptr noundef %2) %10 = load i32, ptr %2, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %13 12: ; preds = %7 store i32 0, ptr %3, align 4 br label %25 13: ; preds = %7 %14 = load i32, ptr %2, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %19 16: ; preds = %13 %17 = load i32, ptr %2, align 4 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %17) br label %19 19: ; preds = %16, %13 br label %20 20: ; preds = %19 %21 = load i32, ptr %2, align 4 %22 = call i32 @primo(i32 noundef %21) %23 = load i32, ptr %3, align 4 %24 = icmp ne i32 %23, 0 br i1 %24, label %7, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %20 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %0 br label %25 25: ; preds = %.loopexit, %12 %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @primo(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/tmp3qyv061_.c' source_filename = "/tmp/tmp3qyv061_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 @INT_MIN = 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/tmp3qyv061_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @INT_MAX = dso_local global i32 0, align 4 @INT_MIN = 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/tmpj42v3yg7.c' source_filename = "/tmp/tmpj42v3yg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = 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/tmpj42v3yg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_INET = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @LOG_ERR = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @SOL_SOCKET = dso_local global i32 0, align 4 @SO_REUSEADDR = 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/tmpgc4eq3tg.c' source_filename = "/tmp/tmpgc4eq3tg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_pico_setfext(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %8, i64 %12 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %2 store ptr @.str, ptr %5, align 8 br label %17 17: ; preds = %16, %2 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp slt i32 %19, 1 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 1, ptr %7, align 4 br label %22 22: ; preds = %21, %17 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %24, 1 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load ptr, ptr %4, align 8 store ptr %27, ptr %3, align 8 br label %66 28: ; preds = %22 br label %29 29: ; preds = %60, %28 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds i8, ptr %30, i32 -1 store ptr %31, ptr %6, align 8 %32 = load ptr, ptr %4, align 8 %33 = icmp ne ptr %30, %32 br i1 %33, label %34, label %61 34: ; preds = %29 %35 = load ptr, ptr %6, align 8 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp eq i32 %37, 47 br i1 %38, label %44, label %39 39: ; preds = %34 %40 = load ptr, ptr %6, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %42, 92 br i1 %43, label %44, label %46 44: ; preds = %39, %34 %45 = load ptr, ptr %4, align 8 store ptr %45, ptr %3, align 8 br label %66 46: ; preds = %39 %47 = load ptr, ptr %6, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 46 br i1 %50, label %51, label %60 51: ; preds = %46 %52 = load i32, ptr %7, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %57 54: ; preds = %51 %55 = load ptr, ptr %6, align 8 store i8 0, ptr %55, align 1 %56 = load ptr, ptr %4, align 8 store ptr %56, ptr %3, align 8 br label %66 57: ; preds = %51 %58 = load ptr, ptr %6, align 8 %59 = getelementptr inbounds i8, ptr %58, i32 1 store ptr %59, ptr %6, align 8 store i8 0, ptr %59, align 1 br label %61 60: ; preds = %46 br label %29, !llvm.loop !6 61: ; preds = %57, %29 %62 = load ptr, ptr %4, align 8 %63 = load ptr, ptr %5, align 8 %64 = call i32 @strcat(ptr noundef %62, ptr noundef %63) %65 = load ptr, ptr %4, align 8 store ptr %65, ptr %3, align 8 br label %66 66: ; preds = %61, %54, %44, %26 %67 = load ptr, ptr %3, align 8 ret ptr %67 } declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgc4eq3tg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @_pico_setfext(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = sub nsw i32 %10, 1 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %8, i64 %12 store ptr %13, ptr %6, align 8 %14 = load ptr, ptr %5, align 8 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %17 16: ; preds = %2 store ptr @.str, ptr %5, align 8 br label %17 17: ; preds = %16, %2 %18 = load ptr, ptr %5, align 8 %19 = call i32 @strlen(ptr noundef %18) %20 = icmp slt i32 %19, 1 br i1 %20, label %21, label %22 21: ; preds = %17 store i32 1, ptr %7, align 4 br label %22 22: ; preds = %21, %17 %23 = load ptr, ptr %4, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %24, 1 br i1 %25, label %26, label %28 26: ; preds = %22 %27 = load ptr, ptr %4, align 8 store ptr %27, ptr %3, align 8 br label %69 28: ; preds = %22 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 -1 store ptr %30, ptr %6, align 8 %31 = load ptr, ptr %4, align 8 %32 = icmp ne ptr %29, %31 br i1 %32, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %28 br label %38 33: ; preds = %50 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 -1 store ptr %35, ptr %6, align 8 %36 = load ptr, ptr %4, align 8 %37 = icmp ne ptr %34, %36 br i1 %37, label %38, label %..loopexit_crit_edge, !llvm.loop !6 38: ; preds = %.lr.ph, %33 %39 = load ptr, ptr %6, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 47 br i1 %42, label %48, label %43 43: ; preds = %38 %44 = load ptr, ptr %6, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp eq i32 %46, 92 br i1 %47, label %48, label %50 48: ; preds = %43, %38 %49 = load ptr, ptr %4, align 8 store ptr %49, ptr %3, align 8 br label %69 50: ; preds = %43 %51 = load ptr, ptr %6, align 8 %52 = load i8, ptr %51, align 1 %53 = sext i8 %52 to i32 %54 = icmp eq i32 %53, 46 br i1 %54, label %55, label %33 55: ; preds = %50 %56 = load i32, ptr %7, align 4 %57 = icmp ne i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = load ptr, ptr %6, align 8 store i8 0, ptr %59, align 1 %60 = load ptr, ptr %4, align 8 store ptr %60, ptr %3, align 8 br label %69 61: ; preds = %55 %62 = load ptr, ptr %6, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %6, align 8 store i8 0, ptr %63, align 1 br label %64 ..loopexit_crit_edge: ; preds = %33 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %28 br label %64 64: ; preds = %.loopexit, %61 %65 = load ptr, ptr %4, align 8 %66 = load ptr, ptr %5, align 8 %67 = call i32 @strcat(ptr noundef %65, ptr noundef %66) %68 = load ptr, ptr %4, align 8 store ptr %68, ptr %3, align 8 br label %69 69: ; preds = %64, %58, %48, %26 %70 = load ptr, ptr %3, align 8 ret ptr %70 } declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0_oe15tl.c' source_filename = "/tmp/tmp0_oe15tl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %7, %0 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 10 br i1 %5, label %6, label %10 6: ; preds = %3 br label %7 7: ; preds = %6 %8 = load i32, ptr %2, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %2, align 4 br label %3, !llvm.loop !6 10: ; preds = %3 %11 = load i32, ptr %2, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %11) ret i32 0 } 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/tmp0_oe15tl.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp slt i32 %3, 10 br i1 %4, label %.lr.ph, label %11 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %6 br label %6 6: ; preds = %5 %7 = load i32, ptr %2, align 4 %8 = add nsw i32 %7, 1 store i32 %8, ptr %2, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %9, 10 br i1 %10, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %6 br label %11 11: ; preds = %._crit_edge, %0 %12 = load i32, ptr %2, align 4 %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) ret i32 0 } 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/tmpf2zyzmi9.c' source_filename = "/tmp/tmpf2zyzmi9.c" target datalayout = "e-m:e-p270: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/tmpf2zyzmi9.c" target datalayout = "e-m:e-p270: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/tmpwwkfdgh8.c' source_filename = "/tmp/tmpwwkfdgh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"m = \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%*[^\0A]\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"n = \00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"sumOfRange(%d, %d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp ne i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 1, ptr %1, align 4 br label %20 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %1, align 4 br label %20 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 @sumOfRange(i32 noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %15, i32 noundef %18) store i32 0, ptr %1, align 4 br label %20 20: ; preds = %13, %12, %7 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sumOfRange(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/tmpwwkfdgh8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"m = \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d%*[^\0A]\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"n = \00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"sumOfRange(%d, %d) = %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str) %5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %6 = icmp ne i32 %5, 1 br i1 %6, label %7, label %8 7: ; preds = %0 store i32 1, ptr %1, align 4 br label %20 8: ; preds = %0 %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %11 = icmp ne i32 %10, 1 br i1 %11, label %12, label %13 12: ; preds = %8 store i32 1, ptr %1, align 4 br label %20 13: ; preds = %8 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %2, align 4 %17 = load i32, ptr %3, align 4 %18 = call i32 @sumOfRange(i32 noundef %16, i32 noundef %17) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %14, i32 noundef %15, i32 noundef %18) store i32 0, ptr %1, align 4 br label %20 20: ; preds = %13, %12, %7 %21 = load i32, ptr %1, align 4 ret i32 %21 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @sumOfRange(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/tmpyg8colc6.c' source_filename = "/tmp/tmpyg8colc6.c" target datalayout = "e-m:e-p270: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/tmpyg8colc6.c" target datalayout = "e-m:e-p270: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/tmp7xnss_1d.c' source_filename = "/tmp/tmp7xnss_1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmp7xnss_1d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @AF_UNSPEC = dso_local global i32 0, align 4 @SOCK_STREAM = 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/tmp830tb__9.c' source_filename = "/tmp/tmp830tb__9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = alloca i32, align 4 %2 = call i32 @asin(double noundef 5.000000e-01) %3 = call i32 @print(i32 noundef %2) %4 = call i32 (...) @rand() %5 = call i32 @print(i32 noundef %4) %6 = load i32, ptr %1, align 4 %7 = call i32 @printid(i32 noundef %6) %8 = call i32 @round(double noundef 3.140000e+00) store i32 %8, ptr %1, align 4 %9 = call i32 @print(i32 noundef %8) ret void } declare i32 @print(i32 noundef) #1 declare i32 @asin(double noundef) #1 declare i32 @rand(...) #1 declare i32 @printid(i32 noundef) #1 declare i32 @round(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp830tb__9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = alloca i32, align 4 %2 = call i32 @asin(double noundef 5.000000e-01) %3 = call i32 @print(i32 noundef %2) %4 = call i32 (...) @rand() %5 = call i32 @print(i32 noundef %4) %6 = load i32, ptr %1, align 4 %7 = call i32 @printid(i32 noundef %6) %8 = call i32 @round(double noundef 3.140000e+00) store i32 %8, ptr %1, align 4 %9 = call i32 @print(i32 noundef %8) ret void } declare i32 @print(i32 noundef) #1 declare i32 @asin(double noundef) #1 declare i32 @rand(...) #1 declare i32 @printid(i32 noundef) #1 declare i32 @round(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_w5h5bei.c' source_filename = "/tmp/tmp_w5h5bei.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_w5h5bei.c" target datalayout = "e-m:e-p270: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/tmpiq8vx2vn.c' source_filename = "/tmp/tmpiq8vx2vn.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiq8vx2vn.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmmb759_8.c' source_filename = "/tmp/tmpmmb759_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/tmpmmb759_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/tmpmn61pt5f.c' source_filename = "/tmp/tmpmn61pt5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.fname = private unnamed_addr constant [9 x i8] c"data.csv\00", align 1 @.str = private unnamed_addr constant [13 x i8] c"Practice 06\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"\09in=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [9 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [16 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.fname, i64 9, i1 false) store i32 0, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %40 14: ; preds = %0 br label %15 15: ; preds = %34, %14 %16 = load ptr, ptr %2, align 8 %17 = call i64 @feof(ptr noundef %16) %18 = icmp eq i64 %17, 0 br i1 %18, label %19, label %37 19: ; preds = %15 %20 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %21 = load ptr, ptr %2, align 8 %22 = call i32 @fgets(ptr noundef %20, i32 noundef 16, ptr noundef %21) %23 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %24 = call i32 @atoi(ptr noundef %23) store i32 %24, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %25 25: ; preds = %31, %19 %26 = load i32, ptr %5, align 4 %27 = load i32, ptr %4, align 4 %28 = icmp slt i32 %26, %27 br i1 %28, label %29, label %34 29: ; preds = %25 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %31 31: ; preds = %29 %32 = load i32, ptr %5, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %5, align 4 br label %25, !llvm.loop !6 34: ; preds = %25 %35 = load i32, ptr %4, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %35) br label %15, !llvm.loop !8 37: ; preds = %15 %38 = load ptr, ptr %2, align 8 %39 = call i32 @fclose(ptr noundef %38) store i32 0, ptr %1, align 4 br label %40 40: ; preds = %37, %12 %41 = load i32, ptr %1, align 4 ret i32 %41 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i64 @feof(ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmn61pt5f.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.main.fname = private unnamed_addr constant [9 x i8] c"data.csv\00", align 1 @.str = private unnamed_addr constant [13 x i8] c"Practice 06\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"\09in=%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [9 x i8], align 1 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [16 x i8], align 16 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %3, ptr align 1 @__const.main.fname, i64 9, i1 false) store i32 0, ptr %4, align 4 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) %8 = getelementptr inbounds [9 x i8], ptr %3, i64 0, i64 0 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str.1) store ptr %9, ptr %2, align 8 %10 = load ptr, ptr %2, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 -1, ptr %1, align 4 br label %44 14: ; preds = %0 %15 = load ptr, ptr %2, align 8 %16 = call i64 @feof(ptr noundef %15) %17 = icmp eq i64 %16, 0 br i1 %17, label %.lr.ph2, label %41 .lr.ph2: ; preds = %14 br label %18 18: ; preds = %.lr.ph2, %35 %19 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %20 = load ptr, ptr %2, align 8 %21 = call i32 @fgets(ptr noundef %19, i32 noundef 16, ptr noundef %20) %22 = getelementptr inbounds [16 x i8], ptr %6, i64 0, i64 0 %23 = call i32 @atoi(ptr noundef %22) store i32 %23, ptr %4, align 4 store i32 0, ptr %5, align 4 %24 = load i32, ptr %5, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %.lr.ph, label %35 .lr.ph: ; preds = %18 br label %27 27: ; preds = %.lr.ph, %29 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %29 29: ; preds = %27 %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 %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %27, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %18 %36 = load i32, ptr %4, align 4 %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %36) %38 = load ptr, ptr %2, align 8 %39 = call i64 @feof(ptr noundef %38) %40 = icmp eq i64 %39, 0 br i1 %40, label %18, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %35 br label %41 41: ; preds = %._crit_edge3, %14 %42 = load ptr, ptr %2, align 8 %43 = call i32 @fclose(ptr noundef %42) store i32 0, ptr %1, align 4 br label %44 44: ; preds = %41, %12 %45 = load i32, ptr %1, align 4 ret i32 %45 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i64 @feof(ptr noundef) #2 declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @atoi(ptr noundef) #2 declare i32 @fclose(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpb8gvf63i.c' source_filename = "/tmp/tmpb8gvf63i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [71 x i8] c"usage: %s [-46CDEFqVv] [-c count] [-i interval] [-M transport_method]\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"omping\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c"%14s[-m mcast_addr] [-O op_mode] [-p port] [-R rcvbuf] [-r rate_limit]\0A\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"%14s[-S sndbuf] [-T timeout] [-t ttl] [-w wait_time] remote_addr...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cliprint_usage() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3) %3 = call i32 @printf(ptr noundef @.str.4, ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb8gvf63i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [71 x i8] c"usage: %s [-46CDEFqVv] [-c count] [-i interval] [-M transport_method]\0A\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"omping\00", align 1 @.str.2 = private unnamed_addr constant [72 x i8] c"%14s[-m mcast_addr] [-O op_mode] [-p port] [-R rcvbuf] [-r rate_limit]\0A\00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.4 = private unnamed_addr constant [69 x i8] c"%14s[-S sndbuf] [-T timeout] [-t ttl] [-w wait_time] remote_addr...\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cliprint_usage() #0 { %1 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1) %2 = call i32 @printf(ptr noundef @.str.2, ptr noundef @.str.3) %3 = call i32 @printf(ptr noundef @.str.4, ptr noundef @.str.3) ret void } declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb3yuy1xb.c' source_filename = "/tmp/tmpb3yuy1xb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"ider\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Script: [%d] ider\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Failed: ider\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_id(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [30 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %16, label %7 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fork_script(ptr noundef %8, ptr noundef @.str) %10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %11, align 4 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %15 = call i32 @do_log(ptr noundef %14) br label %18 16: ; preds = %1 %17 = call i32 @do_log(ptr noundef @.str.2) br label %18 18: ; preds = %16, %7 ret void } declare i32 @fork_script(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @do_log(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb3yuy1xb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"ider\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"Script: [%d] ider\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"Failed: ider\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_id(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [30 x i8], align 16 store ptr %0, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i32, ptr %4, align 4 %6 = icmp ne i32 %5, 0 br i1 %6, label %16, label %7 7: ; preds = %1 %8 = load ptr, ptr %2, align 8 %9 = call i32 @fork_script(ptr noundef %8, ptr noundef @.str) %10 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %11 = load ptr, ptr %2, align 8 %12 = load i32, ptr %11, align 4 %13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str.1, i32 noundef %12) %14 = getelementptr inbounds [30 x i8], ptr %3, i64 0, i64 0 %15 = call i32 @do_log(ptr noundef %14) br label %18 16: ; preds = %1 %17 = call i32 @do_log(ptr noundef @.str.2) br label %18 18: ; preds = %16, %7 ret void } declare i32 @fork_script(ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @do_log(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz70n85k3.c' source_filename = "/tmp/tmpz70n85k3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @__const.main.n_index = private unnamed_addr constant [3 x i32] [i32 -1, i32 0, i32 1], align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca [3 x i32], align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store i32 0, ptr %1, align 4 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %24 = load i32, ptr %2, align 4 %25 = zext i32 %24 to i64 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 %28 = zext i32 %27 to i64 %29 = call ptr @llvm.stacksave() store ptr %29, ptr %4, align 8 %30 = mul nuw i64 %25, %28 %31 = alloca i8, i64 %30, align 16 store i64 %25, ptr %5, align 8 store i64 %28, ptr %6, align 8 store i32 0, ptr %7, align 4 br label %32 32: ; preds = %42, %0 %33 = load i32, ptr %7, align 4 %34 = load i32, ptr %2, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %45 36: ; preds = %32 %37 = load i32, ptr %7, align 4 %38 = sext i32 %37 to i64 %39 = mul nsw i64 %38, %28 %40 = getelementptr inbounds i8, ptr %31, i64 %39 %41 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %40) br label %42 42: ; preds = %36 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %32, !llvm.loop !6 45: ; preds = %32 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.n_index, i64 12, i1 false) store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %46 46: ; preds = %229, %45 %47 = load i32, ptr %11, align 4 %48 = load i32, ptr %2, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %232 50: ; preds = %46 store i32 0, ptr %12, align 4 br label %51 51: ; preds = %225, %50 %52 = load i32, ptr %12, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %55, label %228 55: ; preds = %51 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = mul nsw i64 %57, %28 %59 = getelementptr inbounds i8, ptr %31, i64 %58 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 46 br i1 %65, label %66, label %148 66: ; preds = %55 %67 = load i32, ptr %10, align 4 %68 = icmp slt i32 %67, 9 br i1 %68, label %69, label %147 69: ; preds = %66 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 br label %70 70: ; preds = %137, %69 %71 = load i32, ptr %14, align 4 %72 = icmp slt i32 %71, 3 br i1 %72, label %73, label %140 73: ; preds = %70 store i32 0, ptr %15, align 4 br label %74 74: ; preds = %133, %73 %75 = load i32, ptr %15, align 4 %76 = icmp slt i32 %75, 3 br i1 %76, label %77, label %136 77: ; preds = %74 %78 = load i32, ptr %14, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %79 %81 = load i32, ptr %80, align 4 %82 = icmp ne i32 %81, 0 br i1 %82, label %90, label %83 83: ; preds = %77 %84 = load i32, ptr %15, align 4 %85 = sext i32 %84 to i64 %86 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %85 %87 = load i32, ptr %86, align 4 %88 = icmp ne i32 %87, 0 br i1 %88, label %90, label %89 89: ; preds = %83 br label %133 90: ; preds = %83, %77 %91 = load i32, ptr %11, align 4 %92 = load i32, ptr %14, align 4 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %93 %95 = load i32, ptr %94, align 4 %96 = add nsw i32 %91, %95 store i32 %96, ptr %16, align 4 %97 = load i32, ptr %16, align 4 %98 = icmp slt i32 %97, 0 br i1 %98, label %103, label %99 99: ; preds = %90 %100 = load i32, ptr %16, align 4 %101 = load i32, ptr %2, align 4 %102 = icmp sge i32 %100, %101 br i1 %102, label %103, label %104 103: ; preds = %99, %90 br label %133 104: ; preds = %99 %105 = load i32, ptr %12, align 4 %106 = load i32, ptr %15, align 4 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %107 %109 = load i32, ptr %108, align 4 %110 = add nsw i32 %105, %109 store i32 %110, ptr %17, align 4 %111 = load i32, ptr %17, align 4 %112 = icmp slt i32 %111, 0 br i1 %112, label %117, label %113 113: ; preds = %104 %114 = load i32, ptr %17, align 4 %115 = load i32, ptr %3, align 4 %116 = icmp sge i32 %114, %115 br i1 %116, label %117, label %118 117: ; preds = %113, %104 br label %133 118: ; preds = %113 %119 = load i32, ptr %16, align 4 %120 = sext i32 %119 to i64 %121 = mul nsw i64 %120, %28 %122 = getelementptr inbounds i8, ptr %31, i64 %121 %123 = load i32, ptr %17, align 4 %124 = sext i32 %123 to i64 %125 = getelementptr inbounds i8, ptr %122, i64 %124 %126 = load i8, ptr %125, align 1 %127 = sext i8 %126 to i32 %128 = icmp eq i32 %127, 111 br i1 %128, label %129, label %132 129: ; preds = %118 %130 = load i32, ptr %13, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %13, align 4 br label %132 132: ; preds = %129, %118 br label %133 133: ; preds = %132, %117, %103, %89 %134 = load i32, ptr %15, align 4 %135 = add nsw i32 %134, 1 store i32 %135, ptr %15, align 4 br label %74, !llvm.loop !8 136: ; preds = %74 br label %137 137: ; preds = %136 %138 = load i32, ptr %14, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %14, align 4 br label %70, !llvm.loop !9 140: ; preds = %70 %141 = load i32, ptr %13, align 4 %142 = load i32, ptr %10, align 4 %143 = icmp sgt i32 %141, %142 br i1 %143, label %144, label %146 144: ; preds = %140 %145 = load i32, ptr %13, align 4 store i32 %145, ptr %10, align 4 br label %146 146: ; preds = %144, %140 br label %147 147: ; preds = %146, %66 br label %224 148: ; preds = %55 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 br label %149 149: ; preds = %216, %148 %150 = load i32, ptr %19, align 4 %151 = icmp slt i32 %150, 3 br i1 %151, label %152, label %219 152: ; preds = %149 store i32 0, ptr %20, align 4 br label %153 153: ; preds = %212, %152 %154 = load i32, ptr %20, align 4 %155 = icmp slt i32 %154, 3 br i1 %155, label %156, label %215 156: ; preds = %153 %157 = load i32, ptr %19, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %158 %160 = load i32, ptr %159, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %169, label %162 162: ; preds = %156 %163 = load i32, ptr %20, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %164 %166 = load i32, ptr %165, align 4 %167 = icmp ne i32 %166, 0 br i1 %167, label %169, label %168 168: ; preds = %162 br label %212 169: ; preds = %162, %156 %170 = load i32, ptr %11, align 4 %171 = load i32, ptr %19, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %172 %174 = load i32, ptr %173, align 4 %175 = add nsw i32 %170, %174 store i32 %175, ptr %21, align 4 %176 = load i32, ptr %21, align 4 %177 = icmp slt i32 %176, 0 br i1 %177, label %182, label %178 178: ; preds = %169 %179 = load i32, ptr %21, align 4 %180 = load i32, ptr %2, align 4 %181 = icmp sge i32 %179, %180 br i1 %181, label %182, label %183 182: ; preds = %178, %169 br label %212 183: ; preds = %178 %184 = load i32, ptr %12, align 4 %185 = load i32, ptr %20, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %186 %188 = load i32, ptr %187, align 4 %189 = add nsw i32 %184, %188 store i32 %189, ptr %22, align 4 %190 = load i32, ptr %22, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %196, label %192 192: ; preds = %183 %193 = load i32, ptr %22, align 4 %194 = load i32, ptr %3, align 4 %195 = icmp sge i32 %193, %194 br i1 %195, label %196, label %197 196: ; preds = %192, %183 br label %212 197: ; preds = %192 %198 = load i32, ptr %21, align 4 %199 = sext i32 %198 to i64 %200 = mul nsw i64 %199, %28 %201 = getelementptr inbounds i8, ptr %31, i64 %200 %202 = load i32, ptr %22, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds i8, ptr %201, i64 %203 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = icmp eq i32 %206, 111 br i1 %207, label %208, label %211 208: ; preds = %197 %209 = load i32, ptr %18, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %18, align 4 br label %211 211: ; preds = %208, %197 br label %212 212: ; preds = %211, %196, %182, %168 %213 = load i32, ptr %20, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %20, align 4 br label %153, !llvm.loop !10 215: ; preds = %153 br label %216 216: ; preds = %215 %217 = load i32, ptr %19, align 4 %218 = add nsw i32 %217, 1 store i32 %218, ptr %19, align 4 br label %149, !llvm.loop !11 219: ; preds = %149 %220 = load i32, ptr %18, align 4 %221 = sext i32 %220 to i64 %222 = load i64, ptr %9, align 8 %223 = add nsw i64 %222, %221 store i64 %223, ptr %9, align 8 br label %224 224: ; preds = %219, %147 br label %225 225: ; preds = %224 %226 = load i32, ptr %12, align 4 %227 = add nsw i32 %226, 1 store i32 %227, ptr %12, align 4 br label %51, !llvm.loop !12 228: ; preds = %51 br label %229 229: ; preds = %228 %230 = load i32, ptr %11, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %11, align 4 br label %46, !llvm.loop !13 232: ; preds = %46 %233 = load i64, ptr %9, align 8 %234 = ashr i64 %233, 1 %235 = load i32, ptr %10, align 4 %236 = sext i32 %235 to i64 %237 = add nsw i64 %234, %236 %238 = call i32 @printf(ptr noundef @.str.2, i64 noundef %237) store i32 0, ptr %1, align 4 %239 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %239) %240 = load i32, ptr %1, align 4 ret i32 %240 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz70n85k3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @__const.main.n_index = private unnamed_addr constant [3 x i32] [i32 -1, i32 0, i32 1], align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 %8 = alloca [3 x i32], align 4 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 %20 = alloca i32, align 4 %21 = alloca i32, align 4 %22 = alloca i32, align 4 store i32 0, ptr %1, align 4 %23 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3) %24 = load i32, ptr %2, align 4 %25 = zext i32 %24 to i64 %26 = load i32, ptr %3, align 4 %27 = add nsw i32 %26, 1 %28 = zext i32 %27 to i64 %29 = call ptr @llvm.stacksave() store ptr %29, ptr %4, align 8 %30 = mul nuw i64 %25, %28 %31 = alloca i8, i64 %30, align 16 store i64 %25, ptr %5, align 8 store i64 %28, ptr %6, align 8 store i32 0, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = load i32, ptr %2, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %47 .lr.ph: ; preds = %0 br label %35 35: ; preds = %.lr.ph, %41 %36 = load i32, ptr %7, align 4 %37 = sext i32 %36 to i64 %38 = mul nsw i64 %37, %28 %39 = getelementptr inbounds i8, ptr %31, i64 %38 %40 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %39) br label %41 41: ; preds = %35 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %7, align 4 %44 = load i32, ptr %7, align 4 %45 = load i32, ptr %2, align 4 %46 = icmp slt i32 %44, %45 br i1 %46, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %41 br label %47 47: ; preds = %._crit_edge, %0 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %8, ptr align 4 @__const.main.n_index, i64 12, i1 false) store i64 0, ptr %9, align 8 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %48 = load i32, ptr %11, align 4 %49 = load i32, ptr %2, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %.lr.ph17, label %242 .lr.ph17: ; preds = %47 br label %51 51: ; preds = %.lr.ph17, %236 store i32 0, ptr %12, align 4 %52 = load i32, ptr %12, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph14, label %235 .lr.ph14: ; preds = %51 br label %55 55: ; preds = %.lr.ph14, %229 %56 = load i32, ptr %11, align 4 %57 = sext i32 %56 to i64 %58 = mul nsw i64 %57, %28 %59 = getelementptr inbounds i8, ptr %31, i64 %58 %60 = load i32, ptr %12, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp eq i32 %64, 46 br i1 %65, label %66, label %150 66: ; preds = %55 %67 = load i32, ptr %10, align 4 %68 = icmp slt i32 %67, 9 br i1 %68, label %69, label %149 69: ; preds = %66 store i32 0, ptr %13, align 4 store i32 0, ptr %14, align 4 %70 = load i32, ptr %14, align 4 %71 = icmp slt i32 %70, 3 br i1 %71, label %.lr.ph11, label %142 .lr.ph11: ; preds = %69 br label %72 72: ; preds = %.lr.ph11, %137 store i32 0, ptr %15, align 4 %73 = load i32, ptr %15, align 4 %74 = icmp slt i32 %73, 3 br i1 %74, label %.lr.ph8, label %136 .lr.ph8: ; preds = %72 br label %75 75: ; preds = %.lr.ph8, %131 %76 = load i32, ptr %14, align 4 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %77 %79 = load i32, ptr %78, align 4 %80 = icmp ne i32 %79, 0 br i1 %80, label %88, label %81 81: ; preds = %75 %82 = load i32, ptr %15, align 4 %83 = sext i32 %82 to i64 %84 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %83 %85 = load i32, ptr %84, align 4 %86 = icmp ne i32 %85, 0 br i1 %86, label %88, label %87 87: ; preds = %81 br label %131 88: ; preds = %81, %75 %89 = load i32, ptr %11, align 4 %90 = load i32, ptr %14, align 4 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %91 %93 = load i32, ptr %92, align 4 %94 = add nsw i32 %89, %93 store i32 %94, ptr %16, align 4 %95 = load i32, ptr %16, align 4 %96 = icmp slt i32 %95, 0 br i1 %96, label %101, label %97 97: ; preds = %88 %98 = load i32, ptr %16, align 4 %99 = load i32, ptr %2, align 4 %100 = icmp sge i32 %98, %99 br i1 %100, label %101, label %102 101: ; preds = %97, %88 br label %131 102: ; preds = %97 %103 = load i32, ptr %12, align 4 %104 = load i32, ptr %15, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %105 %107 = load i32, ptr %106, align 4 %108 = add nsw i32 %103, %107 store i32 %108, ptr %17, align 4 %109 = load i32, ptr %17, align 4 %110 = icmp slt i32 %109, 0 br i1 %110, label %115, label %111 111: ; preds = %102 %112 = load i32, ptr %17, align 4 %113 = load i32, ptr %3, align 4 %114 = icmp sge i32 %112, %113 br i1 %114, label %115, label %116 115: ; preds = %111, %102 br label %131 116: ; preds = %111 %117 = load i32, ptr %16, align 4 %118 = sext i32 %117 to i64 %119 = mul nsw i64 %118, %28 %120 = getelementptr inbounds i8, ptr %31, i64 %119 %121 = load i32, ptr %17, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds i8, ptr %120, i64 %122 %124 = load i8, ptr %123, align 1 %125 = sext i8 %124 to i32 %126 = icmp eq i32 %125, 111 br i1 %126, label %127, label %130 127: ; preds = %116 %128 = load i32, ptr %13, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %13, align 4 br label %130 130: ; preds = %127, %116 br label %131 131: ; preds = %130, %115, %101, %87 %132 = load i32, ptr %15, align 4 %133 = add nsw i32 %132, 1 store i32 %133, ptr %15, align 4 %134 = load i32, ptr %15, align 4 %135 = icmp slt i32 %134, 3 br i1 %135, label %75, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %131 br label %136 136: ; preds = %._crit_edge9, %72 br label %137 137: ; preds = %136 %138 = load i32, ptr %14, align 4 %139 = add nsw i32 %138, 1 store i32 %139, ptr %14, align 4 %140 = load i32, ptr %14, align 4 %141 = icmp slt i32 %140, 3 br i1 %141, label %72, label %._crit_edge12, !llvm.loop !9 ._crit_edge12: ; preds = %137 br label %142 142: ; preds = %._crit_edge12, %69 %143 = load i32, ptr %13, align 4 %144 = load i32, ptr %10, align 4 %145 = icmp sgt i32 %143, %144 br i1 %145, label %146, label %148 146: ; preds = %142 %147 = load i32, ptr %13, align 4 store i32 %147, ptr %10, align 4 br label %148 148: ; preds = %146, %142 br label %149 149: ; preds = %148, %66 br label %228 150: ; preds = %55 store i32 0, ptr %18, align 4 store i32 0, ptr %19, align 4 %151 = load i32, ptr %19, align 4 %152 = icmp slt i32 %151, 3 br i1 %152, label %.lr.ph5, label %223 .lr.ph5: ; preds = %150 br label %153 153: ; preds = %.lr.ph5, %218 store i32 0, ptr %20, align 4 %154 = load i32, ptr %20, align 4 %155 = icmp slt i32 %154, 3 br i1 %155, label %.lr.ph2, label %217 .lr.ph2: ; preds = %153 br label %156 156: ; preds = %.lr.ph2, %212 %157 = load i32, ptr %19, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %158 %160 = load i32, ptr %159, align 4 %161 = icmp ne i32 %160, 0 br i1 %161, label %169, label %162 162: ; preds = %156 %163 = load i32, ptr %20, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %164 %166 = load i32, ptr %165, align 4 %167 = icmp ne i32 %166, 0 br i1 %167, label %169, label %168 168: ; preds = %162 br label %212 169: ; preds = %162, %156 %170 = load i32, ptr %11, align 4 %171 = load i32, ptr %19, align 4 %172 = sext i32 %171 to i64 %173 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %172 %174 = load i32, ptr %173, align 4 %175 = add nsw i32 %170, %174 store i32 %175, ptr %21, align 4 %176 = load i32, ptr %21, align 4 %177 = icmp slt i32 %176, 0 br i1 %177, label %182, label %178 178: ; preds = %169 %179 = load i32, ptr %21, align 4 %180 = load i32, ptr %2, align 4 %181 = icmp sge i32 %179, %180 br i1 %181, label %182, label %183 182: ; preds = %178, %169 br label %212 183: ; preds = %178 %184 = load i32, ptr %12, align 4 %185 = load i32, ptr %20, align 4 %186 = sext i32 %185 to i64 %187 = getelementptr inbounds [3 x i32], ptr %8, i64 0, i64 %186 %188 = load i32, ptr %187, align 4 %189 = add nsw i32 %184, %188 store i32 %189, ptr %22, align 4 %190 = load i32, ptr %22, align 4 %191 = icmp slt i32 %190, 0 br i1 %191, label %196, label %192 192: ; preds = %183 %193 = load i32, ptr %22, align 4 %194 = load i32, ptr %3, align 4 %195 = icmp sge i32 %193, %194 br i1 %195, label %196, label %197 196: ; preds = %192, %183 br label %212 197: ; preds = %192 %198 = load i32, ptr %21, align 4 %199 = sext i32 %198 to i64 %200 = mul nsw i64 %199, %28 %201 = getelementptr inbounds i8, ptr %31, i64 %200 %202 = load i32, ptr %22, align 4 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds i8, ptr %201, i64 %203 %205 = load i8, ptr %204, align 1 %206 = sext i8 %205 to i32 %207 = icmp eq i32 %206, 111 br i1 %207, label %208, label %211 208: ; preds = %197 %209 = load i32, ptr %18, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %18, align 4 br label %211 211: ; preds = %208, %197 br label %212 212: ; preds = %211, %196, %182, %168 %213 = load i32, ptr %20, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %20, align 4 %215 = load i32, ptr %20, align 4 %216 = icmp slt i32 %215, 3 br i1 %216, label %156, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %212 br label %217 217: ; preds = %._crit_edge3, %153 br label %218 218: ; preds = %217 %219 = load i32, ptr %19, align 4 %220 = add nsw i32 %219, 1 store i32 %220, ptr %19, align 4 %221 = load i32, ptr %19, align 4 %222 = icmp slt i32 %221, 3 br i1 %222, label %153, label %._crit_edge6, !llvm.loop !11 ._crit_edge6: ; preds = %218 br label %223 223: ; preds = %._crit_edge6, %150 %224 = load i32, ptr %18, align 4 %225 = sext i32 %224 to i64 %226 = load i64, ptr %9, align 8 %227 = add nsw i64 %226, %225 store i64 %227, ptr %9, align 8 br label %228 228: ; preds = %223, %149 br label %229 229: ; preds = %228 %230 = load i32, ptr %12, align 4 %231 = add nsw i32 %230, 1 store i32 %231, ptr %12, align 4 %232 = load i32, ptr %12, align 4 %233 = load i32, ptr %3, align 4 %234 = icmp slt i32 %232, %233 br i1 %234, label %55, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %229 br label %235 235: ; preds = %._crit_edge15, %51 br label %236 236: ; preds = %235 %237 = load i32, ptr %11, align 4 %238 = add nsw i32 %237, 1 store i32 %238, ptr %11, align 4 %239 = load i32, ptr %11, align 4 %240 = load i32, ptr %2, align 4 %241 = icmp slt i32 %239, %240 br i1 %241, label %51, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %236 br label %242 242: ; preds = %._crit_edge18, %47 %243 = load i64, ptr %9, align 8 %244 = ashr i64 %243, 1 %245 = load i32, ptr %10, align 4 %246 = sext i32 %245 to i64 %247 = add nsw i64 %244, %246 %248 = call i32 @printf(ptr noundef @.str.2, i64 noundef %247) store i32 0, ptr %1, align 4 %249 = load ptr, ptr %4, align 8 call void @llvm.stackrestore(ptr %249) %250 = load i32, ptr %1, align 4 ret i32 %250 } declare i32 @scanf(ptr noundef, ...) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @printf(ptr noundef, i64 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !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}
; ModuleID = '/tmp/tmpyxy9zspi.c' source_filename = "/tmp/tmpyxy9zspi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pos2col(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 store i32 %16, ptr %13, align 4 store i32 -1, ptr %12, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %5 %20 = load ptr, ptr %9, align 8 store i32 0, ptr %20, align 4 %21 = load ptr, ptr %10, align 8 store i32 0, ptr %21, align 4 br label %87 22: ; preds = %5 store i32 0, ptr %11, align 4 br label %23 23: ; preds = %44, %22 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %13, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %47 27: ; preds = %23 %28 = load ptr, ptr %6, align 8 %29 = load i32, ptr %11, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %28, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i64 @isalpha(i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %27 %36 = load i32, ptr %12, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %12, align 4 br label %38 38: ; preds = %35, %27 %39 = load i32, ptr %12, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %39, %40 br i1 %41, label %42, label %43 42: ; preds = %38 br label %47 43: ; preds = %38 br label %44 44: ; preds = %43 %45 = load i32, ptr %11, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %11, align 4 br label %23, !llvm.loop !6 47: ; preds = %42, %23 %48 = load i32, ptr %11, align 4 %49 = load ptr, ptr %9, align 8 store i32 %48, ptr %49, align 4 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr %7, align 4 %52 = icmp sle i32 %50, %51 br i1 %52, label %53, label %57 53: ; preds = %47 %54 = load ptr, ptr %9, align 8 %55 = load i32, ptr %54, align 4 %56 = load ptr, ptr %10, align 8 store i32 %55, ptr %56, align 4 br label %87 57: ; preds = %47 %58 = load i32, ptr %11, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %11, align 4 br label %60 60: ; preds = %81, %57 %61 = load i32, ptr %11, align 4 %62 = load i32, ptr %13, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %84 64: ; preds = %60 %65 = load ptr, ptr %6, align 8 %66 = load i32, ptr %11, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 %69 = load i8, ptr %68, align 1 %70 = call i64 @isalpha(i8 noundef signext %69) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %64 %73 = load i32, ptr %12, align 4 %74 = add nsw i32 %73, 1 store i32 %74, ptr %12, align 4 br label %75 75: ; preds = %72, %64 %76 = load i32, ptr %12, align 4 %77 = load i32, ptr %8, align 4 %78 = icmp eq i32 %76, %77 br i1 %78, label %79, label %80 79: ; preds = %75 br label %84 80: ; preds = %75 br label %81 81: ; preds = %80 %82 = load i32, ptr %11, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %11, align 4 br label %60, !llvm.loop !8 84: ; preds = %79, %60 %85 = load i32, ptr %11, align 4 %86 = load ptr, ptr %10, align 8 store i32 %85, ptr %86, align 4 br label %87 87: ; preds = %84, %53, %19 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyxy9zspi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pos2col(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %6, align 8 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @strlen(ptr noundef %14) %16 = sub nsw i32 %15, 1 store i32 %16, ptr %13, align 4 store i32 -1, ptr %12, align 4 %17 = load i32, ptr %7, align 4 %18 = icmp slt i32 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %5 %20 = load ptr, ptr %9, align 8 store i32 0, ptr %20, align 4 %21 = load ptr, ptr %10, align 8 store i32 0, ptr %21, align 4 br label %91 22: ; preds = %5 store i32 0, ptr %11, align 4 %23 = load i32, ptr %11, align 4 %24 = load i32, ptr %13, align 4 %25 = icmp slt i32 %23, %24 br i1 %25, label %.lr.ph, label %.loopexit1 .lr.ph: ; preds = %22 br label %26 26: ; preds = %.lr.ph, %43 %27 = load ptr, ptr %6, align 8 %28 = load i32, ptr %11, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i64 @isalpha(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %26 %35 = load i32, ptr %12, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %12, align 4 br label %37 37: ; preds = %34, %26 %38 = load i32, ptr %12, align 4 %39 = load i32, ptr %7, align 4 %40 = icmp eq i32 %38, %39 br i1 %40, label %41, label %42 41: ; preds = %37 br label %49 42: ; preds = %37 br label %43 43: ; preds = %42 %44 = load i32, ptr %11, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %11, align 4 %46 = load i32, ptr %11, align 4 %47 = load i32, ptr %13, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %26, label %..loopexit1_crit_edge, !llvm.loop !6 ..loopexit1_crit_edge: ; preds = %43 br label %.loopexit1 .loopexit1: ; preds = %..loopexit1_crit_edge, %22 br label %49 49: ; preds = %.loopexit1, %41 %50 = load i32, ptr %11, align 4 %51 = load ptr, ptr %9, align 8 store i32 %50, ptr %51, align 4 %52 = load i32, ptr %8, align 4 %53 = load i32, ptr %7, align 4 %54 = icmp sle i32 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %49 %56 = load ptr, ptr %9, align 8 %57 = load i32, ptr %56, align 4 %58 = load ptr, ptr %10, align 8 store i32 %57, ptr %58, align 4 br label %91 59: ; preds = %49 %60 = load i32, ptr %11, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %11, align 4 %62 = load i32, ptr %11, align 4 %63 = load i32, ptr %13, align 4 %64 = icmp slt i32 %62, %63 br i1 %64, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %59 br label %65 65: ; preds = %.lr.ph2, %82 %66 = load ptr, ptr %6, align 8 %67 = load i32, ptr %11, align 4 %68 = sext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load i8, ptr %69, align 1 %71 = call i64 @isalpha(i8 noundef signext %70) %72 = icmp ne i64 %71, 0 br i1 %72, label %73, label %76 73: ; preds = %65 %74 = load i32, ptr %12, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %12, align 4 br label %76 76: ; preds = %73, %65 %77 = load i32, ptr %12, align 4 %78 = load i32, ptr %8, align 4 %79 = icmp eq i32 %77, %78 br i1 %79, label %80, label %81 80: ; preds = %76 br label %88 81: ; preds = %76 br label %82 82: ; preds = %81 %83 = load i32, ptr %11, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %11, align 4 %85 = load i32, ptr %11, align 4 %86 = load i32, ptr %13, align 4 %87 = icmp slt i32 %85, %86 br i1 %87, label %65, label %..loopexit_crit_edge, !llvm.loop !8 ..loopexit_crit_edge: ; preds = %82 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %59 br label %88 88: ; preds = %.loopexit, %80 %89 = load i32, ptr %11, align 4 %90 = load ptr, ptr %10, align 8 store i32 %89, ptr %90, align 4 br label %91 91: ; preds = %88, %55, %19 ret void } declare i32 @strlen(ptr noundef) #1 declare i64 @isalpha(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmppr_km051.c' source_filename = "/tmp/tmppr_km051.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [79 x i8] c"getfacl %s > /tmp/aCl && rm -rf %s&&touch %s&&cd /&&setfacl --restore=/tmp/aCl\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"rm -rf /tmp/aCl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @malloc(i32 noundef 200) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @system(ptr noundef %10) %12 = call i32 @system(ptr noundef @.str.1) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppr_km051.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [79 x i8] c"getfacl %s > /tmp/aCl && rm -rf %s&&touch %s&&cd /&&setfacl --restore=/tmp/aCl\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"rm -rf /tmp/aCl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @clear_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %4 = call ptr @malloc(i32 noundef 200) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @sprintf(ptr noundef %5, ptr noundef @.str, ptr noundef %6, ptr noundef %7, ptr noundef %8) %10 = load ptr, ptr %3, align 8 %11 = call i32 @system(ptr noundef %10) %12 = call i32 @system(ptr noundef @.str.1) ret void } declare ptr @malloc(i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @system(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4hinaokp.c' source_filename = "/tmp/tmp4hinaokp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %9, %2 %7 = call i64 (...) @yylex() %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %6 br label %6, !llvm.loop !6 10: ; preds = %6 ret i32 0 } declare i64 @yylex(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp4hinaokp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 br label %6 6: ; preds = %6, %2 %7 = call i64 (...) @yylex() %8 = icmp ne i64 %7, 0 br i1 %8, label %6, label %9, !llvm.loop !6 9: ; preds = %6 ret i32 0 } declare i64 @yylex(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp2zbdruhe.c' source_filename = "/tmp/tmp2zbdruhe.c" target datalayout = "e-m:e-p270: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/tmp2zbdruhe.c" target datalayout = "e-m:e-p270: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/tmpuosuvz2i.c' source_filename = "/tmp/tmpuosuvz2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"cast\00", align 1 @.str.1 = private unnamed_addr constant [127 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/cast.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testmain() #0 { %1 = alloca [3 x i32], align 4 %2 = call i32 @print(ptr noundef @.str) %3 = call i32 @fexpectf(ptr noundef @.str.1, i32 noundef 21, double noundef 1.000000e+00, float noundef 1.000000e+00) %4 = call i32 @fexpectf(ptr noundef @.str.1, i32 noundef 22, double noundef 1.000000e+00, float noundef 1.000000e+00) %5 = call i32 @fexpectd(ptr noundef @.str.1, i32 noundef 23, double noundef 2.000000e+00, double noundef 2.000000e+00) %6 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds i32, ptr %6, i64 2 store i32 5, ptr %7, align 4 %8 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2 %9 = load i32, ptr %8, align 4 %10 = call i32 @fexpect(ptr noundef @.str.1, i32 noundef 27, i32 noundef 5, i32 noundef %9) %11 = call i32 (...) @test_signedcast() %12 = call i32 (...) @test_unsignedcast() ret void } declare i32 @print(ptr noundef) #1 declare i32 @fexpectf(ptr noundef, i32 noundef, double noundef, float noundef) #1 declare i32 @fexpectd(ptr noundef, i32 noundef, double noundef, double noundef) #1 declare i32 @fexpect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @test_signedcast(...) #1 declare i32 @test_unsignedcast(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuosuvz2i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"cast\00", align 1 @.str.1 = private unnamed_addr constant [127 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/8l/8cc/refs/heads/master/test/cast.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @testmain() #0 { %1 = alloca [3 x i32], align 4 %2 = call i32 @print(ptr noundef @.str) %3 = call i32 @fexpectf(ptr noundef @.str.1, i32 noundef 21, double noundef 1.000000e+00, float noundef 1.000000e+00) %4 = call i32 @fexpectf(ptr noundef @.str.1, i32 noundef 22, double noundef 1.000000e+00, float noundef 1.000000e+00) %5 = call i32 @fexpectd(ptr noundef @.str.1, i32 noundef 23, double noundef 2.000000e+00, double noundef 2.000000e+00) %6 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 0 %7 = getelementptr inbounds i32, ptr %6, i64 2 store i32 5, ptr %7, align 4 %8 = getelementptr inbounds [3 x i32], ptr %1, i64 0, i64 2 %9 = load i32, ptr %8, align 4 %10 = call i32 @fexpect(ptr noundef @.str.1, i32 noundef 27, i32 noundef 5, i32 noundef %9) %11 = call i32 (...) @test_signedcast() %12 = call i32 (...) @test_unsignedcast() ret void } declare i32 @print(ptr noundef) #1 declare i32 @fexpectf(ptr noundef, i32 noundef, double noundef, float noundef) #1 declare i32 @fexpectd(ptr noundef, i32 noundef, double noundef, double noundef) #1 declare i32 @fexpect(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @test_signedcast(...) #1 declare i32 @test_unsignedcast(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdy6_zhyq.c' source_filename = "/tmp/tmpdy6_zhyq.c" target datalayout = "e-m:e-p270: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_BLEND = dso_local global i32 0, align 4 @GL_POINT_SMOOTH = dso_local global i32 0, align 4 @GL_POINTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_lights() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @GL_BLEND, align 4 %3 = call i32 @glEnable(i32 noundef %2) %4 = call i32 @glColor4f(float noundef 0x3FE6666660000000, float noundef 0x3FE6666660000000, float noundef 0x3FB99999A0000000, double noundef 1.000000e+00) %5 = call i32 (...) @glPushMatrix() %6 = call i32 @glScalef(float noundef 0x3FB99999A0000000, float noundef 1.000000e+00, float noundef 1.000000e+00) %7 = load i32, ptr @GL_POINT_SMOOTH, align 4 %8 = call i32 @glEnable(i32 noundef %7) store i32 0, ptr %1, align 4 br label %9 9: ; preds = %30, %0 %10 = load i32, ptr %1, align 4 %11 = icmp sle i32 %10, 20 br i1 %11, label %12, label %33 12: ; preds = %9 %13 = load i32, ptr %1, align 4 %14 = sitofp i32 %13 to float %15 = fpext float %14 to double %16 = fdiv double %15, 2.000000e+00 %17 = fptrunc double %16 to float %18 = call i32 @glPointSize(float noundef %17) %19 = load i32, ptr @GL_POINTS, align 4 %20 = call i32 @glBegin(i32 noundef %19) %21 = load i32, ptr %1, align 4 %22 = sitofp i32 %21 to float %23 = call float @llvm.fmuladd.f32(float 0x3FB99999A0000000, float %22, float -1.000000e+00) %24 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef %23) %25 = load i32, ptr %1, align 4 %26 = sitofp i32 %25 to float %27 = call float @llvm.fmuladd.f32(float 0x3FB99999A0000000, float %26, float -1.000000e+00) %28 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef %27) %29 = call i32 (...) @glEnd() br label %30 30: ; preds = %12 %31 = load i32, ptr %1, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %1, align 4 br label %9, !llvm.loop !6 33: ; preds = %9 %34 = call i32 (...) @glPopMatrix() %35 = load i32, ptr @GL_BLEND, align 4 %36 = call i32 @glDisable(i32 noundef %35) ret void } declare i32 @glEnable(i32 noundef) #1 declare i32 @glColor4f(float noundef, float noundef, float noundef, double noundef) #1 declare i32 @glPushMatrix(...) #1 declare i32 @glScalef(float noundef, float noundef, float noundef) #1 declare i32 @glPointSize(float noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(float noundef, 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 i32 @glEnd(...) #1 declare i32 @glPopMatrix(...) #1 declare i32 @glDisable(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpdy6_zhyq.c" target datalayout = "e-m:e-p270: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_BLEND = dso_local global i32 0, align 4 @GL_POINT_SMOOTH = dso_local global i32 0, align 4 @GL_POINTS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @draw_lights() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr @GL_BLEND, align 4 %3 = call i32 @glEnable(i32 noundef %2) %4 = call i32 @glColor4f(float noundef 0x3FE6666660000000, float noundef 0x3FE6666660000000, float noundef 0x3FB99999A0000000, double noundef 1.000000e+00) %5 = call i32 (...) @glPushMatrix() %6 = call i32 @glScalef(float noundef 0x3FB99999A0000000, float noundef 1.000000e+00, float noundef 1.000000e+00) %7 = load i32, ptr @GL_POINT_SMOOTH, align 4 %8 = call i32 @glEnable(i32 noundef %7) store i32 0, ptr %1, align 4 %9 = load i32, ptr %1, align 4 %10 = icmp sle i32 %9, 20 br i1 %10, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %11 11: ; preds = %.lr.ph, %29 %12 = load i32, ptr %1, align 4 %13 = sitofp i32 %12 to float %14 = fpext float %13 to double %15 = fdiv double %14, 2.000000e+00 %16 = fptrunc double %15 to float %17 = call i32 @glPointSize(float noundef %16) %18 = load i32, ptr @GL_POINTS, align 4 %19 = call i32 @glBegin(i32 noundef %18) %20 = load i32, ptr %1, align 4 %21 = sitofp i32 %20 to float %22 = call float @llvm.fmuladd.f32(float 0x3FB99999A0000000, float %21, float -1.000000e+00) %23 = call i32 @glVertex3f(float noundef -1.000000e+00, float noundef 0.000000e+00, float noundef %22) %24 = load i32, ptr %1, align 4 %25 = sitofp i32 %24 to float %26 = call float @llvm.fmuladd.f32(float 0x3FB99999A0000000, float %25, float -1.000000e+00) %27 = call i32 @glVertex3f(float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef %26) %28 = call i32 (...) @glEnd() br label %29 29: ; preds = %11 %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 sle i32 %32, 20 br i1 %33, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %0 %35 = call i32 (...) @glPopMatrix() %36 = load i32, ptr @GL_BLEND, align 4 %37 = call i32 @glDisable(i32 noundef %36) ret void } declare i32 @glEnable(i32 noundef) #1 declare i32 @glColor4f(float noundef, float noundef, float noundef, double noundef) #1 declare i32 @glPushMatrix(...) #1 declare i32 @glScalef(float noundef, float noundef, float noundef) #1 declare i32 @glPointSize(float noundef) #1 declare i32 @glBegin(i32 noundef) #1 declare i32 @glVertex3f(float noundef, 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 i32 @glEnd(...) #1 declare i32 @glPopMatrix(...) #1 declare i32 @glDisable(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpg_g7nj7o.c' source_filename = "/tmp/tmpg_g7nj7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_trace_get_strz(i32 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %11, ptr %12, align 8 %13 = load i32, ptr %6, align 4 %14 = load i64, ptr %9, align 8 %15 = call i64 @sys_trace_get_long(i32 noundef %13, i64 noundef %14, ptr noundef %11) %16 = icmp sgt i64 0, %15 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -1, ptr %5, align 4 br label %67 18: ; preds = %4 %19 = load i64, ptr %11, align 8 %20 = srem i64 %19, 4 %21 = trunc i64 %20 to i32 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %11, align 8 %25 = sub nsw i64 %24, %23 store i64 %25, ptr %11, align 8 %26 = load i64, ptr %11, align 8 store i64 %26, ptr %9, align 8 br label %27 27: ; preds = %64, %18 %28 = load i32, ptr %6, align 4 %29 = load i64, ptr %9, align 8 %30 = call i64 @sys_trace_get_long(i32 noundef %28, i64 noundef %29, ptr noundef %11) %31 = icmp sgt i64 0, %30 br i1 %31, label %32, label %33 32: ; preds = %27 store i32 -1, ptr %5, align 4 br label %67 33: ; preds = %27 br label %34 34: ; preds = %60, %33 %35 = load i32, ptr %10, align 4 %36 = icmp slt i32 %35, 4 br i1 %36, label %37, label %63 37: ; preds = %34 %38 = load i64, ptr %8, align 8 %39 = add i64 %38, -1 store i64 %39, ptr %8, align 8 %40 = load i64, ptr %8, align 8 %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %58 42: ; preds = %37 %43 = load ptr, ptr %12, align 8 %44 = load i32, ptr %10, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i8, ptr %43, i64 %45 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br i1 %49, label %50, label %58 50: ; preds = %42 %51 = load ptr, ptr %12, align 8 %52 = load i32, ptr %10, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds i8, ptr %51, i64 %53 %55 = load i8, ptr %54, align 1 %56 = load ptr, ptr %7, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %7, align 8 store i8 %55, ptr %56, align 1 br label %60 58: ; preds = %42, %37 %59 = load ptr, ptr %7, align 8 store i8 0, ptr %59, align 1 store i32 0, ptr %5, align 4 br label %67 60: ; preds = %50 %61 = load i32, ptr %10, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %10, align 4 br label %34, !llvm.loop !6 63: ; preds = %34 store i32 0, ptr %10, align 4 br label %64 64: ; preds = %63 %65 = load i64, ptr %9, align 8 %66 = add nsw i64 %65, 4 store i64 %66, ptr %9, align 8 br label %27 67: ; preds = %58, %32, %17 %68 = load i32, ptr %5, align 4 ret i32 %68 } declare i64 @sys_trace_get_long(i32 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpg_g7nj7o.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sys_trace_get_strz(i32 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i64, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca i64, align 8 %12 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i64 %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 store ptr %11, ptr %12, align 8 %13 = load i32, ptr %6, align 4 %14 = load i64, ptr %9, align 8 %15 = call i64 @sys_trace_get_long(i32 noundef %13, i64 noundef %14, ptr noundef %11) %16 = icmp sgt i64 0, %15 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -1, ptr %5, align 4 br label %71 18: ; preds = %4 %19 = load i64, ptr %11, align 8 %20 = srem i64 %19, 4 %21 = trunc i64 %20 to i32 store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = sext i32 %22 to i64 %24 = load i64, ptr %11, align 8 %25 = sub nsw i64 %24, %23 store i64 %25, ptr %11, align 8 %26 = load i64, ptr %11, align 8 store i64 %26, ptr %9, align 8 %27 = load i32, ptr %6, align 4 %28 = load i64, ptr %9, align 8 %29 = call i64 @sys_trace_get_long(i32 noundef %27, i64 noundef %28, ptr noundef %11) %30 = icmp sgt i64 0, %29 br i1 %30, label %31, label %.lr.ph2 .lr.ph2: ; preds = %18 br label %32 ._crit_edge3: ; preds = %64 br label %31 31: ; preds = %._crit_edge3, %18 store i32 -1, ptr %5, align 4 br label %71 32: ; preds = %.lr.ph2, %64 %33 = load i32, ptr %10, align 4 %34 = icmp slt i32 %33, 4 br i1 %34, label %.lr.ph, label %63 .lr.ph: ; preds = %32 br label %35 35: ; preds = %.lr.ph, %58 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, -1 store i64 %37, ptr %8, align 8 %38 = load i64, ptr %8, align 8 %39 = icmp ne i64 %38, 0 br i1 %39, label %40, label %56 40: ; preds = %35 %41 = load ptr, ptr %12, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp ne i32 %46, 0 br i1 %47, label %48, label %56 48: ; preds = %40 %49 = load ptr, ptr %12, align 8 %50 = load i32, ptr %10, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i8, ptr %49, i64 %51 %53 = load i8, ptr %52, align 1 %54 = load ptr, ptr %7, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %7, align 8 store i8 %53, ptr %54, align 1 br label %58 56: ; preds = %40, %35 %57 = load ptr, ptr %7, align 8 store i8 0, ptr %57, align 1 store i32 0, ptr %5, align 4 br label %71 58: ; preds = %48 %59 = load i32, ptr %10, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %10, align 4 %61 = load i32, ptr %10, align 4 %62 = icmp slt i32 %61, 4 br i1 %62, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %63 63: ; preds = %._crit_edge, %32 store i32 0, ptr %10, align 4 br label %64 64: ; preds = %63 %65 = load i64, ptr %9, align 8 %66 = add nsw i64 %65, 4 store i64 %66, ptr %9, align 8 %67 = load i32, ptr %6, align 4 %68 = load i64, ptr %9, align 8 %69 = call i64 @sys_trace_get_long(i32 noundef %67, i64 noundef %68, ptr noundef %11) %70 = icmp sgt i64 0, %69 br i1 %70, label %._crit_edge3, label %32 71: ; preds = %56, %31, %17 %72 = load i32, ptr %5, align 4 ret i32 %72 } declare i64 @sys_trace_get_long(i32 noundef, i64 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpafe27r4z.c' source_filename = "/tmp/tmpafe27r4z.c" target datalayout = "e-m:e-p270: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/tmpafe27r4z.c" target datalayout = "e-m:e-p270: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/tmpwqdvc9pv.c' source_filename = "/tmp/tmpwqdvc9pv.c" target datalayout = "e-m:e-p270: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/tmpwqdvc9pv.c" target datalayout = "e-m:e-p270: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/tmpl1qsi97e.c' source_filename = "/tmp/tmpl1qsi97e.c" target datalayout = "e-m:e-p270: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/tmpl1qsi97e.c" target datalayout = "e-m:e-p270: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/tmp3dl9n_25.c' source_filename = "/tmp/tmp3dl9n_25.c" target datalayout = "e-m:e-p270: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/tmp3dl9n_25.c" target datalayout = "e-m:e-p270: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/tmprh4kfwm9.c' source_filename = "/tmp/tmprh4kfwm9.c" target datalayout = "e-m:e-p270: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/tmprh4kfwm9.c" target datalayout = "e-m:e-p270: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/tmpcls25qf1.c' source_filename = "/tmp/tmpcls25qf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_attr_at_off(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = mul nsw i32 %9, 160 %11 = load i8, ptr %5, align 1 %12 = sext i8 %11 to i32 %13 = mul nsw i32 %12, 2 %14 = add nsw i32 %10, %13 %15 = add nsw i32 %14, 1 %16 = trunc i32 %15 to i8 %17 = load i8, ptr %7, align 1 %18 = call i32 @write_to_vga(i8 noundef signext %16, i8 noundef signext %17) %19 = load i32, ptr %4, align 4 ret i32 %19 } declare i32 @write_to_vga(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/tmpcls25qf1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_attr_at_off(i8 noundef signext %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 store i8 %0, ptr %5, align 1 store i8 %1, ptr %6, align 1 store i8 %2, ptr %7, align 1 %8 = load i8, ptr %6, align 1 %9 = sext i8 %8 to i32 %10 = mul nsw i32 %9, 160 %11 = load i8, ptr %5, align 1 %12 = sext i8 %11 to i32 %13 = mul nsw i32 %12, 2 %14 = add nsw i32 %10, %13 %15 = add nsw i32 %14, 1 %16 = trunc i32 %15 to i8 %17 = load i8, ptr %7, align 1 %18 = call i32 @write_to_vga(i8 noundef signext %16, i8 noundef signext %17) %19 = load i32, ptr %4, align 4 ret i32 %19 } declare i32 @write_to_vga(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/tmp633ie93q.c' source_filename = "/tmp/tmp633ie93q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter date (mm/dd/yy): \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d/%d/%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Dated this %d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"st\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"nd\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"rd\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"th\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c" day of \00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"January\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"February\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"March\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"April\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"May\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"June\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"July\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"August\00", align 1 @.str.16 = private unnamed_addr constant [10 x i8] c"September\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"October\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"November\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"December\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c", 20%.2d.\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 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) %9 = load i32, ptr %3, align 4 switch i32 %9, label %16 [ i32 1, label %10 i32 21, label %10 i32 31, label %10 i32 2, label %12 i32 22, label %12 i32 3, label %14 i32 23, label %14 ] 10: ; preds = %0, %0, %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %18 12: ; preds = %0, %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %18 14: ; preds = %0, %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %18 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %18 18: ; preds = %16, %14, %12, %10 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %20 = load i32, ptr %2, align 4 switch i32 %20, label %45 [ i32 1, label %21 i32 2, label %23 i32 3, label %25 i32 4, label %27 i32 5, label %29 i32 6, label %31 i32 7, label %33 i32 8, label %35 i32 9, label %37 i32 10, label %39 i32 11, label %41 i32 12, label %43 ] 21: ; preds = %18 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %45 23: ; preds = %18 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %45 25: ; preds = %18 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %45 27: ; preds = %18 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %45 29: ; preds = %18 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %45 31: ; preds = %18 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %45 33: ; preds = %18 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %45 35: ; preds = %18 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %45 37: ; preds = %18 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %45 39: ; preds = %18 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %45 41: ; preds = %18 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) br label %45 43: ; preds = %18 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %45 45: ; preds = %18, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21 %46 = load i32, ptr %4, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %46) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp633ie93q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter date (mm/dd/yy): \00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"%d/%d/%d\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"Dated this %d\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"st\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"nd\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"rd\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"th\00", align 1 @.str.7 = private unnamed_addr constant [9 x i8] c" day of \00", align 1 @.str.8 = private unnamed_addr constant [8 x i8] c"January\00", align 1 @.str.9 = private unnamed_addr constant [9 x i8] c"February\00", align 1 @.str.10 = private unnamed_addr constant [6 x i8] c"March\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"April\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"May\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"June\00", align 1 @.str.14 = private unnamed_addr constant [5 x i8] c"July\00", align 1 @.str.15 = private unnamed_addr constant [7 x i8] c"August\00", align 1 @.str.16 = private unnamed_addr constant [10 x i8] c"September\00", align 1 @.str.17 = private unnamed_addr constant [8 x i8] c"October\00", align 1 @.str.18 = private unnamed_addr constant [9 x i8] c"November\00", align 1 @.str.19 = private unnamed_addr constant [9 x i8] c"December\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c", 20%.2d.\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 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %3, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %7) %9 = load i32, ptr %3, align 4 switch i32 %9, label %16 [ i32 1, label %10 i32 21, label %10 i32 31, label %10 i32 2, label %12 i32 22, label %12 i32 3, label %14 i32 23, label %14 ] 10: ; preds = %0, %0, %0 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %18 12: ; preds = %0, %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %18 14: ; preds = %0, %0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %18 16: ; preds = %0 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %18 18: ; preds = %16, %14, %12, %10 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %20 = load i32, ptr %2, align 4 switch i32 %20, label %45 [ i32 1, label %21 i32 2, label %23 i32 3, label %25 i32 4, label %27 i32 5, label %29 i32 6, label %31 i32 7, label %33 i32 8, label %35 i32 9, label %37 i32 10, label %39 i32 11, label %41 i32 12, label %43 ] 21: ; preds = %18 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) br label %45 23: ; preds = %18 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) br label %45 25: ; preds = %18 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) br label %45 27: ; preds = %18 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) br label %45 29: ; preds = %18 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) br label %45 31: ; preds = %18 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) br label %45 33: ; preds = %18 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) br label %45 35: ; preds = %18 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) br label %45 37: ; preds = %18 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) br label %45 39: ; preds = %18 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) br label %45 41: ; preds = %18 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) br label %45 43: ; preds = %18 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) br label %45 45: ; preds = %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %18 %46 = load i32, ptr %4, align 4 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %46) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprlhexfa8.c' source_filename = "/tmp/tmprlhexfa8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\0ACheck : \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"md%d\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%s, \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"\0D \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @number_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2 x i8], align 1 %7 = alloca [2354 x i8], align 16 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %9 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = getelementptr inbounds i8, ptr %16, i64 -1 %18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str) store i32 0, ptr %3, align 4 br label %19 19: ; preds = %45, %1 %20 = load i32, ptr %4, align 4 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %48 22: ; preds = %19 %23 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.1) store ptr %24, ptr %8, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %26, label %43 26: ; preds = %22 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %28 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %29 = load i32, ptr %3, align 4 %30 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str.3, i32 noundef %29) %31 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %32 = load ptr, ptr %2, align 8 %33 = call i32 @strlen(ptr noundef %32) %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %31, i64 %34 %36 = getelementptr inbounds i8, ptr %35, i64 -3 %37 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %38 = call i32 @strcpy(ptr noundef %36, ptr noundef %37) %39 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %39) %41 = load ptr, ptr %8, align 8 %42 = call i32 @fclose(ptr noundef %41) br label %44 43: ; preds = %22 store i32 1, ptr %4, align 4 br label %44 44: ; preds = %43, %26 br label %45 45: ; preds = %44 %46 = load i32, ptr %3, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %3, align 4 br label %19, !llvm.loop !6 48: ; preds = %19 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %50 = load i32, ptr %3, align 4 %51 = sub nsw i32 %50, 1 store i32 %51, ptr %5, align 4 %52 = load i32, ptr %5, align 4 ret i32 %52 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprlhexfa8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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".0\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"\0ACheck : \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"md%d\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"%s, \00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"\0D \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @number_file(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2 x i8], align 1 %7 = alloca [2354 x i8], align 16 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 store i32 1, ptr %3, align 4 store i32 0, ptr %4, align 4 %9 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %10 = load ptr, ptr %2, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = getelementptr inbounds i8, ptr %16, i64 -1 %18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str) store i32 0, ptr %3, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp eq i32 %19, 0 br i1 %20, label %.lr.ph, label %49 .lr.ph: ; preds = %1 br label %21 21: ; preds = %.lr.ph, %44 %22 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %23 = call ptr @fopen(ptr noundef %22, ptr noundef @.str.1) store ptr %23, ptr %8, align 8 %24 = icmp ne ptr %23, null br i1 %24, label %25, label %42 25: ; preds = %21 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %27 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %28 = load i32, ptr %3, align 4 %29 = call i32 @sprintf(ptr noundef %27, ptr noundef @.str.3, i32 noundef %28) %30 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %31 = load ptr, ptr %2, align 8 %32 = call i32 @strlen(ptr noundef %31) %33 = sext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %30, i64 %33 %35 = getelementptr inbounds i8, ptr %34, i64 -3 %36 = getelementptr inbounds [2 x i8], ptr %6, i64 0, i64 0 %37 = call i32 @strcpy(ptr noundef %35, ptr noundef %36) %38 = getelementptr inbounds [2354 x i8], ptr %7, i64 0, i64 0 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %38) %40 = load ptr, ptr %8, align 8 %41 = call i32 @fclose(ptr noundef %40) br label %43 42: ; preds = %21 store i32 1, ptr %4, align 4 br label %43 43: ; preds = %42, %25 br label %44 44: ; preds = %43 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp eq i32 %47, 0 br i1 %48, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %1 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %51 = load i32, ptr %3, align 4 %52 = sub nsw i32 %51, 1 store i32 %52, ptr %5, align 4 %53 = load i32, ptr %5, align 4 ret i32 %53 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}