llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpume_54uy.c' source_filename = "/tmp/tmpume_54uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Programa para verificacao de tipo de arquivo.\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Uso: projeto nomeArquivo\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"[%d] %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Erro ao abrir o arquivo '%s'\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %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 i32, ptr %4, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %64 15: ; preds = %2 store i32 1, ptr %6, align 4 br label %16 16: ; preds = %60, %15 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %20, label %63 20: ; preds = %16 %21 = load i32, ptr %6, align 4 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21, ptr noundef %26) store ptr null, ptr %7, align 8 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %6, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = call ptr @fopen(ptr noundef %32, ptr noundef @.str.3) store ptr %33, ptr %7, align 8 %34 = load ptr, ptr %7, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %43 36: ; preds = %20 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %41) store i32 1, ptr %3, align 4 br label %64 43: ; preds = %20 store i32 0, ptr %9, align 4 %44 = load ptr, ptr %7, align 8 %45 = call i32 @fgetc(ptr noundef %44) store i32 %45, ptr %8, align 4 br label %46 46: ; preds = %50, %43 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @EOF, align 4 %49 = icmp ne i32 %47, %48 br i1 %49, label %50, label %57 50: ; preds = %46 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 %53 = load ptr, ptr %7, align 8 %54 = call i32 @fgetc(ptr noundef %53) store i32 %54, ptr %8, align 4 %55 = load i32, ptr %8, align 4 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %55) br label %46, !llvm.loop !6 57: ; preds = %46 %58 = load ptr, ptr %7, align 8 %59 = call i32 @fclose(ptr noundef %58) store ptr null, ptr %7, align 8 br label %60 60: ; preds = %57 %61 = load i32, ptr %6, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %6, align 4 br label %16, !llvm.loop !8 63: ; preds = %16 store i32 0, ptr %3, align 4 br label %64 64: ; preds = %63, %36, %12 %65 = load i32, ptr %3, align 4 ret i32 %65 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpume_54uy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [47 x i8] c"Programa para verificacao de tipo de arquivo.\0A\00", align 1 @.str.1 = private unnamed_addr constant [26 x i8] c"Uso: projeto nomeArquivo\0A\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"[%d] %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.4 = private unnamed_addr constant [30 x i8] c"Erro ao abrir o arquivo '%s'\0A\00", align 1 @EOF = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %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 i32, ptr %4, align 4 %11 = icmp eq i32 %10, 1 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %3, align 4 br label %68 15: ; preds = %2 store i32 1, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %.lr.ph2, label %67 .lr.ph2: ; preds = %15 br label %19 19: ; preds = %.lr.ph2, %61 %20 = load i32, ptr %6, align 4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds ptr, ptr %21, i64 %23 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, ptr noundef %25) store ptr null, ptr %7, align 8 %27 = load ptr, ptr %5, align 8 %28 = load i32, ptr %6, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds ptr, ptr %27, i64 %29 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.3) store ptr %32, ptr %7, align 8 %33 = load ptr, ptr %7, align 8 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %42 35: ; preds = %19 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %40) store i32 1, ptr %3, align 4 br label %68 42: ; preds = %19 store i32 0, ptr %9, align 4 %43 = load ptr, ptr %7, align 8 %44 = call i32 @fgetc(ptr noundef %43) store i32 %44, ptr %8, align 4 %45 = load i32, ptr %8, align 4 %46 = load i32, ptr @EOF, align 4 %47 = icmp ne i32 %45, %46 br i1 %47, label %.lr.ph, label %58 .lr.ph: ; preds = %42 br label %48 48: ; preds = %.lr.ph, %48 %49 = load i32, ptr %9, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %9, align 4 %51 = load ptr, ptr %7, align 8 %52 = call i32 @fgetc(ptr noundef %51) store i32 %52, ptr %8, align 4 %53 = load i32, ptr %8, align 4 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %53) %55 = load i32, ptr %8, align 4 %56 = load i32, ptr @EOF, align 4 %57 = icmp ne i32 %55, %56 br i1 %57, label %48, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %58 58: ; preds = %._crit_edge, %42 %59 = load ptr, ptr %7, align 8 %60 = call i32 @fclose(ptr noundef %59) store ptr null, ptr %7, align 8 br label %61 61: ; preds = %58 %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 %19, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %61 br label %67 67: ; preds = %._crit_edge3, %15 store i32 0, ptr %3, align 4 br label %68 68: ; preds = %67, %35, %12 %69 = load i32, ptr %3, align 4 ret i32 %69 } declare i32 @printf(ptr noundef, ...) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjpsq68rv.c' source_filename = "/tmp/tmpjpsq68rv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gu1_detect_vsa2() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = call signext i8 @gfx_inb(i16 noundef zeroext 972) %5 = sext i8 %4 to i32 %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 980, i32 948 %10 = trunc i32 %9 to i16 store i16 %10, ptr %2, align 2 %11 = load i16, ptr %2, align 2 %12 = zext i16 %11 to i32 %13 = add nsw i32 %12, 1 %14 = trunc i32 %13 to i16 store i16 %14, ptr %3, align 2 %15 = load i16, ptr %2, align 2 %16 = call i32 @gfx_outb(i16 noundef zeroext %15, i32 noundef 53) %17 = load i16, ptr %3, align 2 %18 = call signext i8 @gfx_inb(i16 noundef zeroext %17) %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 67 br i1 %20, label %21, label %22 21: ; preds = %0 store i32 0, ptr %1, align 4 br label %31 22: ; preds = %0 %23 = load i16, ptr %2, align 2 %24 = call i32 @gfx_outb(i16 noundef zeroext %23, i32 noundef 54) %25 = load i16, ptr %3, align 2 %26 = call signext i8 @gfx_inb(i16 noundef zeroext %25) %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 88 br i1 %28, label %29, label %30 29: ; preds = %22 store i32 0, ptr %1, align 4 br label %31 30: ; preds = %22 store i32 1, ptr %1, align 4 br label %31 31: ; preds = %30, %29, %21 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare signext i8 @gfx_inb(i16 noundef zeroext) #1 declare i32 @gfx_outb(i16 noundef zeroext, 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/tmpjpsq68rv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gu1_detect_vsa2() #0 { %1 = alloca i32, align 4 %2 = alloca i16, align 2 %3 = alloca i16, align 2 %4 = call signext i8 @gfx_inb(i16 noundef zeroext 972) %5 = sext i8 %4 to i32 %6 = and i32 %5, 1 %7 = icmp ne i32 %6, 0 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 980, i32 948 %10 = trunc i32 %9 to i16 store i16 %10, ptr %2, align 2 %11 = load i16, ptr %2, align 2 %12 = zext i16 %11 to i32 %13 = add nsw i32 %12, 1 %14 = trunc i32 %13 to i16 store i16 %14, ptr %3, align 2 %15 = load i16, ptr %2, align 2 %16 = call i32 @gfx_outb(i16 noundef zeroext %15, i32 noundef 53) %17 = load i16, ptr %3, align 2 %18 = call signext i8 @gfx_inb(i16 noundef zeroext %17) %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 67 br i1 %20, label %21, label %22 21: ; preds = %0 store i32 0, ptr %1, align 4 br label %31 22: ; preds = %0 %23 = load i16, ptr %2, align 2 %24 = call i32 @gfx_outb(i16 noundef zeroext %23, i32 noundef 54) %25 = load i16, ptr %3, align 2 %26 = call signext i8 @gfx_inb(i16 noundef zeroext %25) %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 88 br i1 %28, label %29, label %30 29: ; preds = %22 store i32 0, ptr %1, align 4 br label %31 30: ; preds = %22 store i32 1, ptr %1, align 4 br label %31 31: ; preds = %30, %29, %21 %32 = load i32, ptr %1, align 4 ret i32 %32 } declare signext i8 @gfx_inb(i16 noundef zeroext) #1 declare i32 @gfx_outb(i16 noundef zeroext, 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/tmp_71u1dld.c' source_filename = "/tmp/tmp_71u1dld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIPC_CMD_GET_MAX_PUBL = dso_local global i32 0, align 4 @TIPC_CMD_SET_MAX_PUBL = 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/tmp_71u1dld.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @TIPC_CMD_GET_MAX_PUBL = dso_local global i32 0, align 4 @TIPC_CMD_SET_MAX_PUBL = 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/tmp_4z0z3rg.c' source_filename = "/tmp/tmp_4z0z3rg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @old_str_ltrim(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 store i8 0, ptr %11, align 1 br label %71 12: ; preds = %3 br label %13 13: ; preds = %65, %12 %14 = load ptr, ptr %5, align 8 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %17, label %68 17: ; preds = %13 %18 = load i64, ptr %6, align 8 %19 = trunc i64 %18 to i32 store i32 %19, ptr %7, align 4 br label %20 20: ; preds = %35, %17 %21 = load ptr, ptr %5, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp ne i32 %23, 10 br i1 %24, label %25, label %33 25: ; preds = %20 %26 = load ptr, ptr %5, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %7, align 4 %32 = icmp ne i32 %31, 0 br label %33 33: ; preds = %30, %25, %20 %34 = phi i1 [ false, %25 ], [ false, %20 ], [ %32, %30 ] br i1 %34, label %35, label %40 35: ; preds = %33 %36 = load i32, ptr %7, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %7, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %20, !llvm.loop !6 40: ; preds = %33 br label %41 41: ; preds = %53, %40 %42 = load ptr, ptr %5, align 8 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 10 br i1 %45, label %46, label %51 46: ; preds = %41 %47 = load ptr, ptr %5, align 8 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp ne i32 %49, 0 br label %51 51: ; preds = %46, %41 %52 = phi i1 [ false, %41 ], [ %50, %46 ] br i1 %52, label %53, label %59 53: ; preds = %51 %54 = load ptr, ptr %5, align 8 %55 = getelementptr inbounds i8, ptr %54, i32 1 store ptr %55, ptr %5, align 8 %56 = load i8, ptr %54, align 1 %57 = load ptr, ptr %4, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %4, align 8 store i8 %56, ptr %57, align 1 br label %41, !llvm.loop !8 59: ; preds = %51 %60 = load i32, ptr %7, align 4 %61 = icmp ne i32 %60, 0 br i1 %61, label %65, label %62 62: ; preds = %59 %63 = load ptr, ptr %4, align 8 %64 = getelementptr inbounds i8, ptr %63, i32 1 store ptr %64, ptr %4, align 8 store i8 10, ptr %63, align 1 br label %65 65: ; preds = %62, %59 %66 = load ptr, ptr %5, align 8 %67 = getelementptr inbounds i8, ptr %66, i32 1 store ptr %67, ptr %5, align 8 br label %13, !llvm.loop !9 68: ; preds = %13 %69 = load ptr, ptr %4, align 8 %70 = getelementptr inbounds i8, ptr %69, i32 1 store ptr %70, ptr %4, align 8 store i8 0, ptr %69, align 1 br label %71 71: ; preds = %68, %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_4z0z3rg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @old_str_ltrim(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %5, align 8 %9 = icmp ne ptr %8, null br i1 %9, label %12, label %10 10: ; preds = %3 %11 = load ptr, ptr %4, align 8 store i8 0, ptr %11, align 1 br label %73 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 %14 = load i8, ptr %13, align 1 %15 = icmp ne i8 %14, 0 br i1 %15, label %.lr.ph, label %70 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %64 %17 = load i64, ptr %6, align 8 %18 = trunc i64 %17 to i32 store i32 %18, ptr %7, align 4 br label %19 19: ; preds = %34, %16 %20 = load ptr, ptr %5, align 8 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp ne i32 %22, 10 br i1 %23, label %24, label %32 24: ; preds = %19 %25 = load ptr, ptr %5, align 8 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = load i32, ptr %7, align 4 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %29, %24, %19 %33 = phi i1 [ false, %24 ], [ false, %19 ], [ %31, %29 ] br i1 %33, label %34, label %39 34: ; preds = %32 %35 = load i32, ptr %7, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %7, align 4 %37 = load ptr, ptr %5, align 8 %38 = getelementptr inbounds i8, ptr %37, i32 1 store ptr %38, ptr %5, align 8 br label %19, !llvm.loop !6 39: ; preds = %32 br label %40 40: ; preds = %52, %39 %41 = load ptr, ptr %5, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 10 br i1 %44, label %45, label %50 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = load i8, ptr %46, align 1 %48 = sext i8 %47 to i32 %49 = icmp ne i32 %48, 0 br label %50 50: ; preds = %45, %40 %51 = phi i1 [ false, %40 ], [ %49, %45 ] br i1 %51, label %52, label %58 52: ; preds = %50 %53 = load ptr, ptr %5, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %5, align 8 %55 = load i8, ptr %53, align 1 %56 = load ptr, ptr %4, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %4, align 8 store i8 %55, ptr %56, align 1 br label %40, !llvm.loop !8 58: ; preds = %50 %59 = load i32, ptr %7, align 4 %60 = icmp ne i32 %59, 0 br i1 %60, label %64, label %61 61: ; preds = %58 %62 = load ptr, ptr %4, align 8 %63 = getelementptr inbounds i8, ptr %62, i32 1 store ptr %63, ptr %4, align 8 store i8 10, ptr %62, align 1 br label %64 64: ; preds = %61, %58 %65 = load ptr, ptr %5, align 8 %66 = getelementptr inbounds i8, ptr %65, i32 1 store ptr %66, ptr %5, align 8 %67 = load ptr, ptr %5, align 8 %68 = load i8, ptr %67, align 1 %69 = icmp ne i8 %68, 0 br i1 %69, label %16, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %12 %71 = load ptr, ptr %4, align 8 %72 = getelementptr inbounds i8, ptr %71, i32 1 store ptr %72, ptr %4, align 8 store i8 0, ptr %71, align 1 br label %73 73: ; preds = %70, %10 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp79dm43aw.c' source_filename = "/tmp/tmp79dm43aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %4, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %13, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 10 br i1 %7, label %8, label %16 8: ; preds = %5 %9 = load i32, ptr %3, align 4 %10 = sext i32 %9 to i64 %11 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %10 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11) br label %13 13: ; preds = %8 %14 = load i32, ptr %3, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %3, align 4 br label %5, !llvm.loop !6 16: ; preds = %5 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %52, %16 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %20, label %55 20: ; preds = %17 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %34 27: ; preds = %20 %28 = load i32, ptr %4, align 4 %29 = srem i32 %28, 2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %27 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) br label %51 34: ; preds = %27, %20 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %50 37: ; preds = %34 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %38, 9 br i1 %39, label %40, label %50 40: ; preds = %37 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sge i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %40 %48 = load i32, ptr %4, align 4 %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) br label %50 50: ; preds = %47, %40, %37, %34 br label %51 51: ; preds = %50, %31 br label %52 52: ; preds = %51 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 br label %17, !llvm.loop !8 55: ; preds = %17 %56 = load i32, ptr %1, align 4 ret i32 %56 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp79dm43aw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [10 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 -1, ptr %4, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 10 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %0 br label %7 7: ; preds = %.lr.ph, %12 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %9 %11 = call i32 @scanf(ptr noundef @.str, ptr noundef %10) br label %12 12: ; preds = %7 %13 = load i32, ptr %3, align 4 %14 = add nsw i32 %13, 1 store i32 %14, ptr %3, align 4 %15 = load i32, ptr %3, align 4 %16 = icmp slt i32 %15, 10 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %12 br label %17 17: ; preds = %._crit_edge, %0 store i32 0, ptr %3, align 4 %18 = load i32, ptr %3, align 4 %19 = icmp slt i32 %18, 10 br i1 %19, label %.lr.ph2, label %57 .lr.ph2: ; preds = %17 br label %20 20: ; preds = %.lr.ph2, %52 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %23, align 4 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = icmp sge i32 %25, 0 br i1 %26, label %27, label %34 27: ; preds = %20 %28 = load i32, ptr %4, align 4 %29 = srem i32 %28, 2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %27 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.1, i32 noundef %32) br label %51 34: ; preds = %27, %20 %35 = load i32, ptr %4, align 4 %36 = icmp slt i32 %35, 0 br i1 %36, label %37, label %50 37: ; preds = %34 %38 = load i32, ptr %3, align 4 %39 = icmp slt i32 %38, 9 br i1 %39, label %40, label %50 40: ; preds = %37 %41 = load i32, ptr %3, align 4 %42 = add nsw i32 %41, 1 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds [10 x i32], ptr %2, i64 0, i64 %43 %45 = load i32, ptr %44, align 4 %46 = icmp sge i32 %45, 0 br i1 %46, label %47, label %50 47: ; preds = %40 %48 = load i32, ptr %4, align 4 %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) br label %50 50: ; preds = %47, %40, %37, %34 br label %51 51: ; preds = %50, %31 br label %52 52: ; preds = %51 %53 = load i32, ptr %3, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %3, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %55, 10 br i1 %56, label %20, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %52 br label %57 57: ; preds = %._crit_edge3, %17 %58 = load i32, ptr %1, align 4 ret i32 %58 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpr60313m7.c' source_filename = "/tmp/tmpr60313m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmodl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call x86_fp80 @fmod(x86_fp80 noundef %5, x86_fp80 noundef %6) ret x86_fp80 %7 } declare x86_fp80 @fmod(x86_fp80 noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr60313m7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fmodl(x86_fp80 noundef %0, x86_fp80 noundef %1) #0 { %3 = alloca x86_fp80, align 16 %4 = alloca x86_fp80, align 16 store x86_fp80 %0, ptr %3, align 16 store x86_fp80 %1, ptr %4, align 16 %5 = load x86_fp80, ptr %3, align 16 %6 = load x86_fp80, ptr %4, align 16 %7 = call x86_fp80 @fmod(x86_fp80 noundef %5, x86_fp80 noundef %6) ret x86_fp80 %7 } declare x86_fp80 @fmod(x86_fp80 noundef, x86_fp80 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpeekm6f2v.c' source_filename = "/tmp/tmpeekm6f2v.c" target datalayout = "e-m:e-p270: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/tmpeekm6f2v.c" target datalayout = "e-m:e-p270: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/tmpzu3imk6e.c' source_filename = "/tmp/tmpzu3imk6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Usage:\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c" %s compile <file.zzp>\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" %s execute <file.zzz>\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" %s encrypt <file.zzz> <KEY>\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c" %s decrypt <file.zze> <KEY>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @puts(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8) %10 = load ptr, ptr %2, align 8 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str.3, ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str.4, ptr noundef %14) ret void } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzu3imk6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"Usage:\00", align 1 @.str.1 = private unnamed_addr constant [27 x i8] c" %s compile <file.zzp>\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c" %s execute <file.zzz>\0A\00", align 1 @.str.3 = private unnamed_addr constant [33 x i8] c" %s encrypt <file.zzz> <KEY>\0A\00", align 1 @.str.4 = private unnamed_addr constant [33 x i8] c" %s decrypt <file.zze> <KEY>\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUsage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @puts(ptr noundef @.str) %4 = load ptr, ptr %2, align 8 %5 = load ptr, ptr %4, align 8 %6 = call i32 @printf(ptr noundef @.str.1, ptr noundef %5) %7 = load ptr, ptr %2, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @printf(ptr noundef @.str.2, ptr noundef %8) %10 = load ptr, ptr %2, align 8 %11 = load ptr, ptr %10, align 8 %12 = call i32 @printf(ptr noundef @.str.3, ptr noundef %11) %13 = load ptr, ptr %2, align 8 %14 = load ptr, ptr %13, align 8 %15 = call i32 @printf(ptr noundef @.str.4, ptr noundef %14) ret void } declare i32 @puts(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpqsjw7c4i.c' source_filename = "/tmp/tmpqsjw7c4i.c" target datalayout = "e-m:e-p270: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/tmpqsjw7c4i.c" target datalayout = "e-m:e-p270: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/tmp5xrh99zm.c' source_filename = "/tmp/tmp5xrh99zm.c" target datalayout = "e-m:e-p270: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/tmp5xrh99zm.c" target datalayout = "e-m:e-p270: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/tmpiu4g7h2x.c' source_filename = "/tmp/tmpiu4g7h2x.c" target datalayout = "e-m:e-p270: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_WRONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sysfs_set_value(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [64 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr @O_WRONLY, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %12 = load i32, ptr %4, align 4 %13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %16 = load i32, ptr %7, align 4 %17 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = call i32 @close(i32 noundef %18) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiu4g7h2x.c" target datalayout = "e-m:e-p270: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_WRONLY = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sysfs_set_value(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca [64 x i8], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %8 = load ptr, ptr %3, align 8 %9 = load i32, ptr @O_WRONLY, align 4 %10 = call i32 @open(ptr noundef %8, i32 noundef %9) store i32 %10, ptr %6, align 4 %11 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %12 = load i32, ptr %4, align 4 %13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12) store i32 %13, ptr %7, align 4 %14 = load i32, ptr %6, align 4 %15 = getelementptr inbounds [64 x i8], ptr %5, i64 0, i64 0 %16 = load i32, ptr %7, align 4 %17 = call i32 @write(i32 noundef %14, ptr noundef %15, i32 noundef %16) %18 = load i32, ptr %6, align 4 %19 = call i32 @close(i32 noundef %18) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_03tb56l.c' source_filename = "/tmp/tmp_03tb56l.c" target datalayout = "e-m:e-p270: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_03tb56l.c" target datalayout = "e-m:e-p270: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/tmpsl_e10nv.c' source_filename = "/tmp/tmpsl_e10nv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"once upon a time\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"s1: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr @malloc(i32 noundef 128) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %6, align 8 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = call i32 @free(ptr noundef %12) %14 = call ptr @malloc(i32 noundef 128) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsl_e10nv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"once upon a time\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"s1: '%s'\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = call ptr @malloc(i32 noundef 128) store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = call i32 @strcpy(ptr noundef %8, ptr noundef @.str) %10 = load ptr, ptr %6, align 8 %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10) %12 = load ptr, ptr %6, align 8 %13 = call i32 @free(ptr noundef %12) %14 = call ptr @malloc(i32 noundef 128) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu505o9b3.c' source_filename = "/tmp/tmpu505o9b3.c" target datalayout = "e-m:e-p270: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/tmpu505o9b3.c" target datalayout = "e-m:e-p270: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/tmp2j5atwpa.c' source_filename = "/tmp/tmp2j5atwpa.c" target datalayout = "e-m:e-p270: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 { double, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tmr_get_timestamp() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i32, ptr %5, align 8 %7 = sitofp i32 %6 to double %8 = fdiv double %7, 1.000000e+06 %9 = fadd double %4, %8 ret double %9 } declare i32 @gettimeofday(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/tmp2j5atwpa.c" target datalayout = "e-m:e-p270: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 { double, i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @tmr_get_timestamp() #0 { %1 = alloca %struct.timeval, align 8 %2 = call i32 @gettimeofday(ptr noundef %1, i32 noundef 0) %3 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 0 %4 = load double, ptr %3, align 8 %5 = getelementptr inbounds %struct.timeval, ptr %1, i32 0, i32 1 %6 = load i32, ptr %5, align 8 %7 = sitofp i32 %6 to double %8 = fdiv double %7, 1.000000e+06 %9 = fadd double %4, %8 ret double %9 } declare i32 @gettimeofday(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/tmpkxmuay1z.c' source_filename = "/tmp/tmpkxmuay1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hda_routes_connected_from(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [11 x ptr], align 16 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call ptr @find_node(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %3 store ptr null, ptr %4, align 8 br label %22 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds [11 x ptr], ptr %8, i64 0, i64 0 %20 = load i32, ptr %7, align 4 %21 = call ptr @routes_connected_from(ptr noundef %17, ptr noundef %18, i32 noundef 0, ptr noundef %19, i32 noundef %20, ptr noundef null) store ptr %21, ptr %4, align 8 br label %22 22: ; preds = %16, %15 %23 = load ptr, ptr %4, align 8 ret ptr %23 } declare ptr @find_node(ptr noundef, i32 noundef) #1 declare ptr @routes_connected_from(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkxmuay1z.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hda_routes_connected_from(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca [11 x ptr], align 16 %9 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %10 = load ptr, ptr %5, align 8 %11 = load i32, ptr %6, align 4 %12 = call ptr @find_node(ptr noundef %10, i32 noundef %11) store ptr %12, ptr %9, align 8 %13 = load ptr, ptr %9, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %16, label %15 15: ; preds = %3 store ptr null, ptr %4, align 8 br label %22 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = load ptr, ptr %9, align 8 %19 = getelementptr inbounds [11 x ptr], ptr %8, i64 0, i64 0 %20 = load i32, ptr %7, align 4 %21 = call ptr @routes_connected_from(ptr noundef %17, ptr noundef %18, i32 noundef 0, ptr noundef %19, i32 noundef %20, ptr noundef null) store ptr %21, ptr %4, align 8 br label %22 22: ; preds = %16, %15 %23 = load ptr, ptr %4, align 8 ret ptr %23 } declare ptr @find_node(ptr noundef, i32 noundef) #1 declare ptr @routes_connected_from(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ur4xswy.c' source_filename = "/tmp/tmp7ur4xswy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %21, %0 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 1000000 br i1 %9, label %10, label %24 10: ; preds = %7 %11 = call double (...) @rand_double() %12 = call double @llvm.fmuladd.f64(double 2.044000e+03, double %11, double -1.022000e+03) store double %12, ptr %2, align 8 %13 = load double, ptr %2, align 8 %14 = call double @exp2(double noundef %13) #4 store double %14, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = load double, ptr %3, align 8 %17 = fcmp une double %15, %16 br i1 %17, label %18, label %20 18: ; preds = %10 %19 = call i32 @printf(ptr noundef @.str) br label %24 20: ; preds = %10 br label %21 21: ; preds = %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %5, align 4 br label %7, !llvm.loop !6 24: ; preds = %18, %7 %25 = call double (...) @tic() %26 = load double, ptr %4, align 8 %27 = fsub double %25, %26 store double %27, ptr %1, align 8 %28 = load double, ptr %3, align 8 %29 = load double, ptr %3, align 8 %30 = fcmp une double %28, %29 br i1 %30, label %31, label %33 31: ; preds = %24 %32 = call i32 @printf(ptr noundef @.str) br label %33 33: ; preds = %31, %24 %34 = load double, ptr %1, align 8 ret double %34 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @exp2(double noundef) #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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ur4xswy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @benchmark() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca i32, align 4 %6 = call double (...) @tic() store double %6, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 1000000 br i1 %8, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %0 br label %9 9: ; preds = %.lr.ph, %20 %10 = call double (...) @rand_double() %11 = call double @llvm.fmuladd.f64(double 2.044000e+03, double %10, double -1.022000e+03) store double %11, ptr %2, align 8 %12 = load double, ptr %2, align 8 %13 = call double @exp2(double noundef %12) #4 store double %13, ptr %3, align 8 %14 = load double, ptr %3, align 8 %15 = load double, ptr %3, align 8 %16 = fcmp une double %14, %15 br i1 %16, label %17, label %19 17: ; preds = %9 %18 = call i32 @printf(ptr noundef @.str) br label %25 19: ; preds = %9 br label %20 20: ; preds = %19 %21 = load i32, ptr %5, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %5, align 4 %23 = load i32, ptr %5, align 4 %24 = icmp slt i32 %23, 1000000 br i1 %24, label %9, 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, %17 %26 = call double (...) @tic() %27 = load double, ptr %4, align 8 %28 = fsub double %26, %27 store double %28, ptr %1, align 8 %29 = load double, ptr %3, align 8 %30 = load double, ptr %3, align 8 %31 = fcmp une double %29, %30 br i1 %31, label %32, label %34 32: ; preds = %25 %33 = call i32 @printf(ptr noundef @.str) br label %34 34: ; preds = %32, %25 %35 = load double, ptr %1, align 8 ret double %35 } declare double @tic(...) #1 declare double @rand_double(...) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 ; Function Attrs: nounwind declare double @exp2(double noundef) #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" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp92sog6qa.c' source_filename = "/tmp/tmp92sog6qa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @debug_windows_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 (...) @debug_windows_tree() ret i32 0 } declare i32 @debug_windows_tree(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp92sog6qa.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @debug_windows_cb(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load ptr, ptr %6, align 8 %11 = load ptr, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 (...) @debug_windows_tree() ret i32 0 } declare i32 @debug_windows_tree(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkxz6_u1r.c' source_filename = "/tmp/tmpkxz6_u1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 100 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @pthread_exit(i32 noundef 0) br label %7 7: ; preds = %5, %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 100 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @pthread_exit(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpkxz6_u1r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 100 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = call i32 @pthread_exit(i32 noundef 0) br label %7 7: ; preds = %5, %0 %8 = load i32, ptr %2, align 4 %9 = icmp ne i32 %8, 100 %10 = zext i1 %9 to i32 %11 = call i32 @assert(i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @pthread_exit(i32 noundef) #1 declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbo2yblrs.c' source_filename = "/tmp/tmpbo2yblrs.c" target datalayout = "e-m:e-p270: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.St = private unnamed_addr constant [18 x i32] [i32 0, i32 -14, i32 -14, i32 -14, i32 -14, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 14, i32 14, i32 14, i32 14, i32 14], align 16 @__const.main.Stcopy = private unnamed_addr constant [18 x i32] [i32 0, i32 -14, i32 -14, i32 -14, i32 -14, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 14, i32 14, i32 14, i32 14, i32 14], align 16 @.str = private unnamed_addr constant [9 x i8] c"\0A AFK = \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%5d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [18 x i32], align 16 %3 = alloca [18 x i32], align 16 %4 = alloca [18 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.St, i64 72, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.Stcopy, i64 72, i1 false) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %37, %0 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %10, 18 br i1 %11, label %12, label %40 12: ; preds = %9 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %31, %12 %14 = load i32, ptr %6, align 4 %15 = icmp slt i32 %14, 18 br i1 %15, label %16, label %34 16: ; preds = %13 store i32 0, ptr %7, align 4 br label %17 17: ; preds = %27, %16 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 18 br i1 %19, label %20, label %30 20: ; preds = %17 %21 = getelementptr inbounds [18 x i32], ptr %2, i64 0, i64 0 %22 = getelementptr inbounds [18 x i32], ptr %3, i64 0, i64 0 %23 = call i32 @sum(ptr noundef %21, ptr noundef %22, i32 noundef 18) %24 = load i32, ptr %5, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [18 x i32], ptr %4, i64 0, i64 %25 store i32 %23, ptr %26, align 4 br label %27 27: ; preds = %20 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %7, align 4 br label %17, !llvm.loop !6 30: ; preds = %17 br label %31 31: ; preds = %30 %32 = load i32, ptr %6, align 4 %33 = add nsw i32 %32, 1 store i32 %33, ptr %6, align 4 br label %13, !llvm.loop !8 34: ; preds = %13 %35 = getelementptr inbounds [18 x i32], ptr %3, i64 0, i64 0 %36 = call i32 @postumis(ptr noundef %35, i32 noundef 18) br label %37 37: ; preds = %34 %38 = load i32, ptr %5, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %5, align 4 br label %9, !llvm.loop !9 40: ; preds = %9 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %8, align 4 br label %42 42: ; preds = %51, %40 %43 = load i32, ptr %8, align 4 %44 = icmp slt i32 %43, 18 br i1 %44, label %45, label %54 45: ; preds = %42 %46 = load i32, ptr %8, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds [18 x i32], ptr %4, i64 0, i64 %47 %49 = load i32, ptr %48, align 4 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %49) br label %51 51: ; preds = %45 %52 = load i32, ptr %8, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %8, align 4 br label %42, !llvm.loop !10 54: ; preds = %42 %55 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sum(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @postumis(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @putchar(i8 noundef signext) #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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbo2yblrs.c" target datalayout = "e-m:e-p270: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.St = private unnamed_addr constant [18 x i32] [i32 0, i32 -14, i32 -14, i32 -14, i32 -14, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 14, i32 14, i32 14, i32 14, i32 14], align 16 @__const.main.Stcopy = private unnamed_addr constant [18 x i32] [i32 0, i32 -14, i32 -14, i32 -14, i32 -14, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 0, i32 14, i32 14, i32 14, i32 14, i32 14], align 16 @.str = private unnamed_addr constant [9 x i8] c"\0A AFK = \00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%5d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [18 x i32], align 16 %3 = alloca [18 x i32], align 16 %4 = alloca [18 x i32], align 16 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.St, i64 72, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.Stcopy, i64 72, i1 false) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %9, 18 br i1 %10, label %.lr.ph5, label %43 .lr.ph5: ; preds = %0 br label %11 11: ; preds = %.lr.ph5, %38 store i32 0, ptr %6, align 4 %12 = load i32, ptr %6, align 4 %13 = icmp slt i32 %12, 18 br i1 %13, label %.lr.ph2, label %35 .lr.ph2: ; preds = %11 br label %14 14: ; preds = %.lr.ph2, %30 store i32 0, ptr %7, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %15, 18 br i1 %16, label %.lr.ph, label %29 .lr.ph: ; preds = %14 br label %17 17: ; preds = %.lr.ph, %24 %18 = getelementptr inbounds [18 x i32], ptr %2, i64 0, i64 0 %19 = getelementptr inbounds [18 x i32], ptr %3, i64 0, i64 0 %20 = call i32 @sum(ptr noundef %18, ptr noundef %19, i32 noundef 18) %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [18 x i32], ptr %4, i64 0, i64 %22 store i32 %20, ptr %23, align 4 br label %24 24: ; preds = %17 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = icmp slt i32 %27, 18 br i1 %28, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %14 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 %33 = load i32, ptr %6, align 4 %34 = icmp slt i32 %33, 18 br i1 %34, label %14, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %30 br label %35 35: ; preds = %._crit_edge3, %11 %36 = getelementptr inbounds [18 x i32], ptr %3, i64 0, i64 0 %37 = call i32 @postumis(ptr noundef %36, i32 noundef 18) br label %38 38: ; preds = %35 %39 = load i32, ptr %5, align 4 %40 = add nsw i32 %39, 1 store i32 %40, ptr %5, align 4 %41 = load i32, ptr %5, align 4 %42 = icmp slt i32 %41, 18 br i1 %42, label %11, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %38 br label %43 43: ; preds = %._crit_edge6, %0 %44 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %8, align 4 %45 = load i32, ptr %8, align 4 %46 = icmp slt i32 %45, 18 br i1 %46, label %.lr.ph8, label %58 .lr.ph8: ; preds = %43 br label %47 47: ; preds = %.lr.ph8, %53 %48 = load i32, ptr %8, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [18 x i32], ptr %4, i64 0, i64 %49 %51 = load i32, ptr %50, align 4 %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %51) br label %53 53: ; preds = %47 %54 = load i32, ptr %8, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %8, align 4 %56 = load i32, ptr %8, align 4 %57 = icmp slt i32 %56, 18 br i1 %57, label %47, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %53 br label %58 58: ; preds = %._crit_edge9, %43 %59 = call i32 @putchar(i8 noundef signext 10) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @sum(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @postumis(ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ...) #2 declare i32 @putchar(i8 noundef signext) #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} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp77zhk5yj.c' source_filename = "/tmp/tmp77zhk5yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @number_returner() %7 = icmp eq i32 %6, 100 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 0, i32 1 ret i32 %9 } declare i32 @number_returner(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp77zhk5yj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 = call i32 (...) @number_returner() %7 = icmp eq i32 %6, 100 %8 = zext i1 %7 to i64 %9 = select i1 %7, i32 0, i32 1 ret i32 %9 } declare i32 @number_returner(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfxzqngh_.c' source_filename = "/tmp/tmpfxzqngh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @posixGetEnv(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 ptr @getenv(ptr noundef %3) ret ptr %4 } declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfxzqngh_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @posixGetEnv(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 ptr @getenv(ptr noundef %3) ret ptr %4 } declare ptr @getenv(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkdaarr_6.c' source_filename = "/tmp/tmpkdaarr_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @drand2.eps = internal global double -1.000000e+00, align 8 @DBL_EPSILON = dso_local global double 0.000000e+00, align 8 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @drand2() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = load double, ptr @drand2.eps, align 8 %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %19 7: ; preds = %0 %8 = load double, ptr @DBL_EPSILON, align 8 %9 = fsub double 1.000000e+00, %8 store double %9, ptr %3, align 8 %10 = load i32, ptr @INT_MAX, align 4 %11 = sub nsw i32 %10, 1 %12 = sitofp i32 %11 to double %13 = load i32, ptr @INT_MAX, align 4 %14 = sitofp i32 %13 to double %15 = fdiv double %12, %14 store double %15, ptr %4, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fsub double %16, %17 store double %18, ptr @drand2.eps, align 8 br label %19 19: ; preds = %7, %0 %20 = call i32 (...) @random() %21 = load i32, ptr @INT_MAX, align 4 %22 = srem i32 %20, %21 %23 = sitofp i32 %22 to double %24 = load i32, ptr @INT_MAX, align 4 %25 = sitofp i32 %24 to double %26 = fdiv double %23, %25 store double %26, ptr %1, align 8 %27 = call i32 (...) @random() %28 = load i32, ptr @INT_MAX, align 4 %29 = srem i32 %27, %28 %30 = sitofp i32 %29 to double %31 = load i32, ptr @INT_MAX, align 4 %32 = sitofp i32 %31 to double %33 = fdiv double %30, %32 store double %33, ptr %2, align 8 %34 = load double, ptr %1, align 8 %35 = load double, ptr %2, align 8 %36 = load double, ptr @drand2.eps, align 8 %37 = call double @llvm.fmuladd.f64(double %35, double %36, double %34) ret double %37 } declare i32 @random(...) #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/tmpkdaarr_6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @drand2.eps = internal global double -1.000000e+00, align 8 @DBL_EPSILON = dso_local global double 0.000000e+00, align 8 @INT_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @drand2() #0 { %1 = alloca double, align 8 %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = load double, ptr @drand2.eps, align 8 %6 = fcmp olt double %5, 0.000000e+00 br i1 %6, label %7, label %19 7: ; preds = %0 %8 = load double, ptr @DBL_EPSILON, align 8 %9 = fsub double 1.000000e+00, %8 store double %9, ptr %3, align 8 %10 = load i32, ptr @INT_MAX, align 4 %11 = sub nsw i32 %10, 1 %12 = sitofp i32 %11 to double %13 = load i32, ptr @INT_MAX, align 4 %14 = sitofp i32 %13 to double %15 = fdiv double %12, %14 store double %15, ptr %4, align 8 %16 = load double, ptr %3, align 8 %17 = load double, ptr %4, align 8 %18 = fsub double %16, %17 store double %18, ptr @drand2.eps, align 8 br label %19 19: ; preds = %7, %0 %20 = call i32 (...) @random() %21 = load i32, ptr @INT_MAX, align 4 %22 = srem i32 %20, %21 %23 = sitofp i32 %22 to double %24 = load i32, ptr @INT_MAX, align 4 %25 = sitofp i32 %24 to double %26 = fdiv double %23, %25 store double %26, ptr %1, align 8 %27 = call i32 (...) @random() %28 = load i32, ptr @INT_MAX, align 4 %29 = srem i32 %27, %28 %30 = sitofp i32 %29 to double %31 = load i32, ptr @INT_MAX, align 4 %32 = sitofp i32 %31 to double %33 = fdiv double %30, %32 store double %33, ptr %2, align 8 %34 = load double, ptr %1, align 8 %35 = load double, ptr %2, align 8 %36 = load double, ptr @drand2.eps, align 8 %37 = call double @llvm.fmuladd.f64(double %35, double %36, double %34) ret double %37 } declare i32 @random(...) #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/tmphgp59cmb.c' source_filename = "/tmp/tmphgp59cmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PDCGPIOWrite(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = zext i8 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i8, ptr %4, align 1 %10 = call i32 @PDCWrite(i32 noundef 8, i8 noundef zeroext %9) br label %22 11: ; preds = %2 %12 = load i8, ptr %3, align 1 %13 = zext i8 %12 to i32 %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i8, ptr %4, align 1 %17 = call i32 @PDCWrite(i32 noundef 10, i8 noundef zeroext %16) br label %21 18: ; preds = %11 %19 = load i8, ptr %4, align 1 %20 = call i32 @PDCWrite(i32 noundef 12, i8 noundef zeroext %19) br label %21 21: ; preds = %18, %15 br label %22 22: ; preds = %21, %8 ret void } declare i32 @PDCWrite(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgp59cmb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PDCGPIOWrite(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 { %3 = alloca i8, align 1 %4 = alloca i8, align 1 store i8 %0, ptr %3, align 1 store i8 %1, ptr %4, align 1 %5 = load i8, ptr %3, align 1 %6 = zext i8 %5 to i32 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = load i8, ptr %4, align 1 %10 = call i32 @PDCWrite(i32 noundef 8, i8 noundef zeroext %9) br label %22 11: ; preds = %2 %12 = load i8, ptr %3, align 1 %13 = zext i8 %12 to i32 %14 = icmp eq i32 %13, 1 br i1 %14, label %15, label %18 15: ; preds = %11 %16 = load i8, ptr %4, align 1 %17 = call i32 @PDCWrite(i32 noundef 10, i8 noundef zeroext %16) br label %21 18: ; preds = %11 %19 = load i8, ptr %4, align 1 %20 = call i32 @PDCWrite(i32 noundef 12, i8 noundef zeroext %19) br label %21 21: ; preds = %18, %15 br label %22 22: ; preds = %21, %8 ret void } declare i32 @PDCWrite(i32 noundef, i8 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7b8cb6is.c' source_filename = "/tmp/tmp7b8cb6is.c" target datalayout = "e-m:e-p270: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/tmp7b8cb6is.c" target datalayout = "e-m:e-p270: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/tmprf7l6d_5.c' source_filename = "/tmp/tmprf7l6d_5.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"Usage: ./test w0 h0 w1 h1...\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = srem i32 %13, 2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12, %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = call i32 @exit(i32 noundef -1) #3 unreachable 20: ; preds = %12 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 %23 = sdiv i32 %22, 2 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = trunc i64 %26 to i32 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %8, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = trunc i64 %31 to i32 %33 = call ptr @malloc(i32 noundef %32) store ptr %33, ptr %9, align 8 store i32 0, ptr %6, align 4 br label %34 34: ; preds = %84, %20 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %7, align 4 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %87 38: ; preds = %34 %39 = load ptr, ptr %8, align 8 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i32, ptr %39, i64 %41 store i32 2, ptr %42, align 4 %43 = load ptr, ptr %8, align 8 %44 = load i32, ptr %6, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = sext i32 %47 to i64 %49 = mul i64 %48, 4 %50 = trunc i64 %49 to i32 %51 = call ptr @malloc(i32 noundef %50) %52 = load ptr, ptr %9, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds ptr, ptr %52, i64 %54 store ptr %51, ptr %55, align 8 %56 = load ptr, ptr %5, align 8 %57 = load i32, ptr %6, align 4 %58 = mul nsw i32 %57, 2 %59 = add nsw i32 %58, 1 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %56, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 @atoi(ptr noundef %62) %64 = load ptr, ptr %9, align 8 %65 = load i32, ptr %6, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = getelementptr inbounds i32, ptr %68, i64 0 store i32 %63, ptr %69, align 4 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %6, align 4 %72 = mul nsw i32 %71, 2 %73 = add nsw i32 %72, 2 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %70, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = call i32 @atoi(ptr noundef %76) %78 = load ptr, ptr %9, align 8 %79 = load i32, ptr %6, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = getelementptr inbounds i32, ptr %82, i64 1 store i32 %77, ptr %83, align 4 br label %84 84: ; preds = %38 %85 = load i32, ptr %6, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %6, align 4 br label %34, !llvm.loop !6 87: ; preds = %34 %88 = load ptr, ptr %9, align 8 %89 = load i32, ptr %7, align 4 %90 = load ptr, ptr %8, align 8 %91 = call i32 @maxEnvelopes(ptr noundef %88, i32 noundef %89, ptr noundef %90) %92 = call i32 @printf(ptr noundef @.str.1, i32 noundef %91) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @maxEnvelopes(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmprf7l6d_5.c" target datalayout = "e-m:e-p270: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 [29 x i8] c"Usage: ./test w0 h0 w1 h1...\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 3 br i1 %11, label %16, label %12 12: ; preds = %2 %13 = load i32, ptr %4, align 4 %14 = srem i32 %13, 2 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %20 16: ; preds = %12, %2 %17 = load i32, ptr @stderr, align 4 %18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str) %19 = call i32 @exit(i32 noundef -1) #3 unreachable 20: ; preds = %12 %21 = load i32, ptr %4, align 4 %22 = sub nsw i32 %21, 1 %23 = sdiv i32 %22, 2 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = mul i64 %25, 4 %27 = trunc i64 %26 to i32 %28 = call ptr @malloc(i32 noundef %27) store ptr %28, ptr %8, align 8 %29 = load i32, ptr %7, align 4 %30 = sext i32 %29 to i64 %31 = mul i64 %30, 8 %32 = trunc i64 %31 to i32 %33 = call ptr @malloc(i32 noundef %32) store ptr %33, ptr %9, align 8 store i32 0, ptr %6, align 4 %34 = load i32, ptr %6, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph, label %89 .lr.ph: ; preds = %20 br label %37 37: ; preds = %.lr.ph, %83 %38 = load ptr, ptr %8, align 8 %39 = load i32, ptr %6, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i32, ptr %38, i64 %40 store i32 2, ptr %41, align 4 %42 = load ptr, ptr %8, align 8 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i32, ptr %42, i64 %44 %46 = load i32, ptr %45, align 4 %47 = sext i32 %46 to i64 %48 = mul i64 %47, 4 %49 = trunc i64 %48 to i32 %50 = call ptr @malloc(i32 noundef %49) %51 = load ptr, ptr %9, align 8 %52 = load i32, ptr %6, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 store ptr %50, ptr %54, align 8 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %6, align 4 %57 = mul nsw i32 %56, 2 %58 = add nsw i32 %57, 1 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds ptr, ptr %55, i64 %59 %61 = load ptr, ptr %60, align 8 %62 = call i32 @atoi(ptr noundef %61) %63 = load ptr, ptr %9, align 8 %64 = load i32, ptr %6, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = getelementptr inbounds i32, ptr %67, i64 0 store i32 %62, ptr %68, align 4 %69 = load ptr, ptr %5, align 8 %70 = load i32, ptr %6, align 4 %71 = mul nsw i32 %70, 2 %72 = add nsw i32 %71, 2 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds ptr, ptr %69, i64 %73 %75 = load ptr, ptr %74, align 8 %76 = call i32 @atoi(ptr noundef %75) %77 = load ptr, ptr %9, align 8 %78 = load i32, ptr %6, align 4 %79 = sext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = getelementptr inbounds i32, ptr %81, i64 1 store i32 %76, ptr %82, align 4 br label %83 83: ; preds = %37 %84 = load i32, ptr %6, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %6, align 4 %86 = load i32, ptr %6, align 4 %87 = load i32, ptr %7, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %37, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %89 89: ; preds = %._crit_edge, %20 %90 = load ptr, ptr %9, align 8 %91 = load i32, ptr %7, align 4 %92 = load ptr, ptr %8, align 8 %93 = call i32 @maxEnvelopes(ptr noundef %90, i32 noundef %91, ptr noundef %92) %94 = call i32 @printf(ptr noundef @.str.1, i32 noundef %93) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @malloc(i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @maxEnvelopes(ptr noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp85v2ybv5.c' source_filename = "/tmp/tmp85v2ybv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %4 = call i32 (...) @REPORT_RESULT() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @REPORT_RESULT(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp85v2ybv5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [15 x i8] c"hello, world!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 @printf(ptr noundef @.str) store i32 0, ptr %2, align 4 %4 = call i32 (...) @REPORT_RESULT() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @REPORT_RESULT(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmplmc1e25b.c' source_filename = "/tmp/tmplmc1e25b.c" target datalayout = "e-m:e-p270: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/tmplmc1e25b.c" target datalayout = "e-m:e-p270: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/tmp3qlmdlvy.c' source_filename = "/tmp/tmp3qlmdlvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dsvdinv(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call ptr @svd_calloc_double2(i32 noundef %13, i32 noundef %14) store ptr %15, ptr %7, align 8 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = call ptr @svd_calloc_double2(i32 noundef %16, i32 noundef %17) store ptr %18, ptr %8, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 8 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %9, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %28, label %26 26: ; preds = %3 %27 = call i32 (...) @svd_errm() br label %28 28: ; preds = %26, %3 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %9, align 8 %33 = load ptr, ptr %7, align 8 %34 = call i32 @dsvdcmp0(ptr noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %6, align 8 store double 1.000000e+00, ptr %35, align 8 store i32 0, ptr %10, align 4 br label %36 36: ; preds = %49, %28 %37 = load i32, ptr %10, align 4 %38 = load i32, ptr %5, align 4 %39 = icmp slt i32 %37, %38 br i1 %39, label %40, label %52 40: ; preds = %36 %41 = load ptr, ptr %9, align 8 %42 = load i32, ptr %10, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds double, ptr %41, i64 %43 %45 = load double, ptr %44, align 8 %46 = load ptr, ptr %6, align 8 %47 = load double, ptr %46, align 8 %48 = fmul double %47, %45 store double %48, ptr %46, align 8 br label %49 49: ; preds = %40 %50 = load i32, ptr %10, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %10, align 4 br label %36, !llvm.loop !6 52: ; preds = %36 store i32 0, ptr %11, align 4 br label %53 53: ; preds = %90, %52 %54 = load i32, ptr %11, align 4 %55 = load i32, ptr %5, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %93 57: ; preds = %53 store i32 0, ptr %10, align 4 br label %58 58: ; preds = %86, %57 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %62, label %89 62: ; preds = %58 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 %71 = load double, ptr %70, align 8 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = fdiv double %71, %76 %78 = load ptr, ptr %8, align 8 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr %10, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 store double %77, ptr %85, align 8 br label %86 86: ; preds = %62 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %10, align 4 br label %58, !llvm.loop !8 89: ; preds = %58 br label %90 90: ; preds = %89 %91 = load i32, ptr %11, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %11, align 4 br label %53, !llvm.loop !9 93: ; preds = %53 store i32 0, ptr %11, align 4 br label %94 94: ; preds = %153, %93 %95 = load i32, ptr %11, align 4 %96 = load i32, ptr %5, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %98, label %156 98: ; preds = %94 store i32 0, ptr %10, align 4 br label %99 99: ; preds = %149, %98 %100 = load i32, ptr %10, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %103, label %152 103: ; preds = %99 store i32 0, ptr %12, align 4 %104 = load ptr, ptr %4, align 8 %105 = load i32, ptr %10, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds ptr, ptr %104, i64 %106 %108 = load ptr, ptr %107, align 8 %109 = load i32, ptr %11, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds double, ptr %108, i64 %110 store double 0.000000e+00, ptr %111, align 8 br label %112 112: ; preds = %145, %103 %113 = load i32, ptr %12, align 4 %114 = load i32, ptr %5, align 4 %115 = icmp slt i32 %113, %114 br i1 %115, label %116, label %148 116: ; preds = %112 %117 = load ptr, ptr %7, align 8 %118 = load i32, ptr %10, align 4 %119 = sext i32 %118 to i64 %120 = getelementptr inbounds ptr, ptr %117, i64 %119 %121 = load ptr, ptr %120, align 8 %122 = load i32, ptr %12, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %121, i64 %123 %125 = load double, ptr %124, align 8 %126 = load ptr, ptr %8, align 8 %127 = load i32, ptr %11, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds ptr, ptr %126, i64 %128 %130 = load ptr, ptr %129, align 8 %131 = load i32, ptr %12, align 4 %132 = sext i32 %131 to i64 %133 = getelementptr inbounds double, ptr %130, i64 %132 %134 = load double, ptr %133, align 8 %135 = load ptr, ptr %4, align 8 %136 = load i32, ptr %10, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds ptr, ptr %135, i64 %137 %139 = load ptr, ptr %138, align 8 %140 = load i32, ptr %11, align 4 %141 = sext i32 %140 to i64 %142 = getelementptr inbounds double, ptr %139, i64 %141 %143 = load double, ptr %142, align 8 %144 = call double @llvm.fmuladd.f64(double %125, double %134, double %143) store double %144, ptr %142, align 8 br label %145 145: ; preds = %116 %146 = load i32, ptr %12, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %12, align 4 br label %112, !llvm.loop !10 148: ; preds = %112 br label %149 149: ; preds = %148 %150 = load i32, ptr %10, align 4 %151 = add nsw i32 %150, 1 store i32 %151, ptr %10, align 4 br label %99, !llvm.loop !11 152: ; preds = %99 br label %153 153: ; preds = %152 %154 = load i32, ptr %11, align 4 %155 = add nsw i32 %154, 1 store i32 %155, ptr %11, align 4 br label %94, !llvm.loop !12 156: ; preds = %94 %157 = load ptr, ptr %7, align 8 %158 = call i32 @svd_free_double2(ptr noundef %157) %159 = load ptr, ptr %8, align 8 %160 = call i32 @svd_free_double2(ptr noundef %159) %161 = load ptr, ptr %9, align 8 %162 = call i32 @free(ptr noundef %161) ret void } declare ptr @svd_calloc_double2(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @svd_errm(...) #1 declare i32 @dsvdcmp0(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @svd_free_double2(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3qlmdlvy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dsvdinv(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store ptr %2, ptr %6, align 8 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = call ptr @svd_calloc_double2(i32 noundef %13, i32 noundef %14) store ptr %15, ptr %7, align 8 %16 = load i32, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = call ptr @svd_calloc_double2(i32 noundef %16, i32 noundef %17) store ptr %18, ptr %8, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = mul i64 %20, 8 %22 = trunc i64 %21 to i32 %23 = call i64 @malloc(i32 noundef %22) %24 = inttoptr i64 %23 to ptr store ptr %24, ptr %9, align 8 %25 = icmp ne ptr %24, null br i1 %25, label %28, label %26 26: ; preds = %3 %27 = call i32 (...) @svd_errm() br label %28 28: ; preds = %26, %3 %29 = load ptr, ptr %4, align 8 %30 = load i32, ptr %5, align 4 %31 = load i32, ptr %5, align 4 %32 = load ptr, ptr %9, align 8 %33 = load ptr, ptr %7, align 8 %34 = call i32 @dsvdcmp0(ptr noundef %29, i32 noundef %30, i32 noundef %31, ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %6, align 8 store double 1.000000e+00, ptr %35, align 8 store i32 0, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %.lr.ph, label %54 .lr.ph: ; preds = %28 br label %39 39: ; preds = %.lr.ph, %48 %40 = load ptr, ptr %9, align 8 %41 = load i32, ptr %10, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load double, ptr %43, align 8 %45 = load ptr, ptr %6, align 8 %46 = load double, ptr %45, align 8 %47 = fmul double %46, %44 store double %47, ptr %45, align 8 br label %48 48: ; preds = %39 %49 = load i32, ptr %10, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %10, align 4 %51 = load i32, ptr %10, align 4 %52 = load i32, ptr %5, align 4 %53 = icmp slt i32 %51, %52 br i1 %53, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %48 br label %54 54: ; preds = %._crit_edge, %28 store i32 0, ptr %11, align 4 %55 = load i32, ptr %11, align 4 %56 = load i32, ptr %5, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %.lr.ph5, label %99 .lr.ph5: ; preds = %54 br label %58 58: ; preds = %.lr.ph5, %93 store i32 0, ptr %10, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %5, align 4 %61 = icmp slt i32 %59, %60 br i1 %61, label %.lr.ph2, label %92 .lr.ph2: ; preds = %58 br label %62 62: ; preds = %.lr.ph2, %86 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %11, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds double, ptr %67, i64 %69 %71 = load double, ptr %70, align 8 %72 = load ptr, ptr %9, align 8 %73 = load i32, ptr %10, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds double, ptr %72, i64 %74 %76 = load double, ptr %75, align 8 %77 = fdiv double %71, %76 %78 = load ptr, ptr %8, align 8 %79 = load i32, ptr %11, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load i32, ptr %10, align 4 %84 = sext i32 %83 to i64 %85 = getelementptr inbounds double, ptr %82, i64 %84 store double %77, ptr %85, align 8 br label %86 86: ; preds = %62 %87 = load i32, ptr %10, align 4 %88 = add nsw i32 %87, 1 store i32 %88, ptr %10, align 4 %89 = load i32, ptr %10, align 4 %90 = load i32, ptr %5, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %62, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %86 br label %92 92: ; preds = %._crit_edge3, %58 br label %93 93: ; preds = %92 %94 = load i32, ptr %11, align 4 %95 = add nsw i32 %94, 1 store i32 %95, ptr %11, align 4 %96 = load i32, ptr %11, align 4 %97 = load i32, ptr %5, align 4 %98 = icmp slt i32 %96, %97 br i1 %98, label %58, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %93 br label %99 99: ; preds = %._crit_edge6, %54 store i32 0, ptr %11, align 4 %100 = load i32, ptr %11, align 4 %101 = load i32, ptr %5, align 4 %102 = icmp slt i32 %100, %101 br i1 %102, label %.lr.ph14, label %168 .lr.ph14: ; preds = %99 br label %103 103: ; preds = %.lr.ph14, %162 store i32 0, ptr %10, align 4 %104 = load i32, ptr %10, align 4 %105 = load i32, ptr %5, align 4 %106 = icmp slt i32 %104, %105 br i1 %106, label %.lr.ph11, label %161 .lr.ph11: ; preds = %103 br label %107 107: ; preds = %.lr.ph11, %155 store i32 0, ptr %12, align 4 %108 = load ptr, ptr %4, align 8 %109 = load i32, ptr %10, align 4 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds ptr, ptr %108, i64 %110 %112 = load ptr, ptr %111, align 8 %113 = load i32, ptr %11, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %112, i64 %114 store double 0.000000e+00, ptr %115, align 8 %116 = load i32, ptr %12, align 4 %117 = load i32, ptr %5, align 4 %118 = icmp slt i32 %116, %117 br i1 %118, label %.lr.ph8, label %154 .lr.ph8: ; preds = %107 br label %119 119: ; preds = %.lr.ph8, %148 %120 = load ptr, ptr %7, align 8 %121 = load i32, ptr %10, align 4 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds ptr, ptr %120, i64 %122 %124 = load ptr, ptr %123, align 8 %125 = load i32, ptr %12, align 4 %126 = sext i32 %125 to i64 %127 = getelementptr inbounds double, ptr %124, i64 %126 %128 = load double, ptr %127, align 8 %129 = load ptr, ptr %8, align 8 %130 = load i32, ptr %11, align 4 %131 = sext i32 %130 to i64 %132 = getelementptr inbounds ptr, ptr %129, i64 %131 %133 = load ptr, ptr %132, align 8 %134 = load i32, ptr %12, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds double, ptr %133, i64 %135 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %4, align 8 %139 = load i32, ptr %10, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds ptr, ptr %138, i64 %140 %142 = load ptr, ptr %141, align 8 %143 = load i32, ptr %11, align 4 %144 = sext i32 %143 to i64 %145 = getelementptr inbounds double, ptr %142, i64 %144 %146 = load double, ptr %145, align 8 %147 = call double @llvm.fmuladd.f64(double %128, double %137, double %146) store double %147, ptr %145, align 8 br label %148 148: ; preds = %119 %149 = load i32, ptr %12, align 4 %150 = add nsw i32 %149, 1 store i32 %150, ptr %12, align 4 %151 = load i32, ptr %12, align 4 %152 = load i32, ptr %5, align 4 %153 = icmp slt i32 %151, %152 br i1 %153, label %119, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %148 br label %154 154: ; preds = %._crit_edge9, %107 br label %155 155: ; preds = %154 %156 = load i32, ptr %10, align 4 %157 = add nsw i32 %156, 1 store i32 %157, ptr %10, align 4 %158 = load i32, ptr %10, align 4 %159 = load i32, ptr %5, align 4 %160 = icmp slt i32 %158, %159 br i1 %160, label %107, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %155 br label %161 161: ; preds = %._crit_edge12, %103 br label %162 162: ; preds = %161 %163 = load i32, ptr %11, align 4 %164 = add nsw i32 %163, 1 store i32 %164, ptr %11, align 4 %165 = load i32, ptr %11, align 4 %166 = load i32, ptr %5, align 4 %167 = icmp slt i32 %165, %166 br i1 %167, label %103, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %162 br label %168 168: ; preds = %._crit_edge15, %99 %169 = load ptr, ptr %7, align 8 %170 = call i32 @svd_free_double2(ptr noundef %169) %171 = load ptr, ptr %8, align 8 %172 = call i32 @svd_free_double2(ptr noundef %171) %173 = load ptr, ptr %9, align 8 %174 = call i32 @free(ptr noundef %173) ret void } declare ptr @svd_calloc_double2(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @svd_errm(...) #1 declare i32 @dsvdcmp0(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @svd_free_double2(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmprfamxnht.c' source_filename = "/tmp/tmprfamxnht.c" target datalayout = "e-m:e-p270: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/tmprfamxnht.c" target datalayout = "e-m:e-p270: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/tmpfvrmj3t_.c' source_filename = "/tmp/tmpfvrmj3t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"iNum %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"BUFFER %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call i32 @atoi(ptr noundef %10) %12 = call i32 @MFS_Init(ptr noundef @.str, i32 noundef %11) %13 = call i32 @MFS_Lookup(i32 noundef 0, ptr noundef @.str.1) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = call ptr @malloc(i32 noundef 4096) store ptr %16, ptr %7, align 8 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %7, align 8 %19 = call i32 @MFS_Read(i32 noundef %17, ptr noundef %18, i32 noundef 0) %20 = load ptr, ptr %7, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %20) %22 = call i32 (...) @MFS_Shutdown() ret i32 0 } declare i32 @MFS_Init(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @MFS_Lookup(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @MFS_Read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @MFS_Shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfvrmj3t_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"localhost\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"test\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"iNum %d\0A\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"BUFFER %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %5, align 8 %9 = getelementptr inbounds ptr, ptr %8, i64 1 %10 = load ptr, ptr %9, align 8 %11 = call i32 @atoi(ptr noundef %10) %12 = call i32 @MFS_Init(ptr noundef @.str, i32 noundef %11) %13 = call i32 @MFS_Lookup(i32 noundef 0, ptr noundef @.str.1) store i32 %13, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %14) %16 = call ptr @malloc(i32 noundef 4096) store ptr %16, ptr %7, align 8 %17 = load i32, ptr %6, align 4 %18 = load ptr, ptr %7, align 8 %19 = call i32 @MFS_Read(i32 noundef %17, ptr noundef %18, i32 noundef 0) %20 = load ptr, ptr %7, align 8 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %20) %22 = call i32 (...) @MFS_Shutdown() ret i32 0 } declare i32 @MFS_Init(ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @MFS_Lookup(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @MFS_Read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @MFS_Shutdown(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzsqo2xz8.c' source_filename = "/tmp/tmpzsqo2xz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"static const guint8\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"sine_table[256] = {\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 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 i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 br label %10 10: ; preds = %43, %2 %11 = load i32, ptr %6, align 4 %12 = icmp slt i32 %11, 256 br i1 %12, label %13, label %46 13: ; preds = %10 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 br label %15 15: ; preds = %39, %13 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %16, 8 br i1 %17, label %18, label %42 18: ; preds = %15 %19 = load i32, ptr %6, align 4 %20 = load i32, ptr %7, align 4 %21 = add nsw i32 %19, %20 %22 = call i32 @get_value(i32 noundef %21) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %22) %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %24, 7 br i1 %25, label %26, label %28 26: ; preds = %18 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %38 28: ; preds = %18 %29 = load i32, ptr %6, align 4 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %29, %30 %32 = icmp ne i32 %31, 255 br i1 %32, label %33, label %35 33: ; preds = %28 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %37 35: ; preds = %28 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %37 37: ; preds = %35, %33 br label %38 38: ; preds = %37, %26 br label %39 39: ; preds = %38 %40 = load i32, ptr %7, align 4 %41 = add nsw i32 %40, 1 store i32 %41, ptr %7, align 4 br label %15, !llvm.loop !6 42: ; preds = %15 br label %43 43: ; preds = %42 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 8 store i32 %45, ptr %6, align 4 br label %10, !llvm.loop !8 46: ; preds = %10 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @get_value(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzsqo2xz8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"static const guint8\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"sine_table[256] = {\0A\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"%3d\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c", \00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c",\0A\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.7 = private unnamed_addr constant [4 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 i32, align 4 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %6, align 4 %10 = load i32, ptr %6, align 4 %11 = icmp slt i32 %10, 256 br i1 %11, label %.lr.ph2, label %48 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %43 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) store i32 0, ptr %7, align 4 %14 = load i32, ptr %7, align 4 %15 = icmp slt i32 %14, 8 br i1 %15, label %.lr.ph, label %42 .lr.ph: ; preds = %12 br label %16 16: ; preds = %.lr.ph, %37 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 %20 = call i32 @get_value(i32 noundef %19) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %20) %22 = load i32, ptr %7, align 4 %23 = icmp ne i32 %22, 7 br i1 %23, label %24, label %26 24: ; preds = %16 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %36 26: ; preds = %16 %27 = load i32, ptr %6, align 4 %28 = load i32, ptr %7, align 4 %29 = add nsw i32 %27, %28 %30 = icmp ne i32 %29, 255 br i1 %30, label %31, label %33 31: ; preds = %26 %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %35 33: ; preds = %26 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) br label %35 35: ; preds = %33, %31 br label %36 36: ; preds = %35, %24 br label %37 37: ; preds = %36 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp slt i32 %40, 8 br i1 %41, label %16, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %37 br label %42 42: ; preds = %._crit_edge, %12 br label %43 43: ; preds = %42 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 8 store i32 %45, ptr %6, align 4 %46 = load i32, ptr %6, align 4 %47 = icmp slt i32 %46, 256 br i1 %47, label %12, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %43 br label %48 48: ; preds = %._crit_edge3, %2 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @get_value(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpc1_iv3wb.c' source_filename = "/tmp/tmpc1_iv3wb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Invalid definition: '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InvDef(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 @AbEnd(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @AbEnd(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/tmpc1_iv3wb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [25 x i8] c"Invalid definition: '%s'\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @InvDef(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 @AbEnd(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @AbEnd(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/tmpi9x8_eja.c' source_filename = "/tmp/tmpi9x8_eja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s.%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @plugin_config_set_desc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = add nsw i32 %11, %13 %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %33 20: ; preds = %3 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %7, align 4 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @snprintf(ptr noundef %21, i32 noundef %22, ptr noundef @.str, ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %8, align 8 %27 = call i32 @string_tolower(ptr noundef %26) %28 = load ptr, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @plugin_config_set_desc_internal(ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @free(ptr noundef %31) br label %33 33: ; preds = %20, %3 ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @string_tolower(ptr noundef) #1 declare i32 @plugin_config_set_desc_internal(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpi9x8_eja.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s.%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @plugin_config_set_desc(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %9 = load ptr, ptr %4, align 8 %10 = call i32 @strlen(ptr noundef %9) %11 = add nsw i32 %10, 1 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) %14 = add nsw i32 %11, %13 %15 = add nsw i32 %14, 1 store i32 %15, ptr %7, align 4 %16 = load i32, ptr %7, align 4 %17 = call ptr @malloc(i32 noundef %16) store ptr %17, ptr %8, align 8 %18 = load ptr, ptr %8, align 8 %19 = icmp ne ptr %18, null br i1 %19, label %20, label %33 20: ; preds = %3 %21 = load ptr, ptr %8, align 8 %22 = load i32, ptr %7, align 4 %23 = load ptr, ptr %4, align 8 %24 = load ptr, ptr %5, align 8 %25 = call i32 @snprintf(ptr noundef %21, i32 noundef %22, ptr noundef @.str, ptr noundef %23, ptr noundef %24) %26 = load ptr, ptr %8, align 8 %27 = call i32 @string_tolower(ptr noundef %26) %28 = load ptr, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = call i32 @plugin_config_set_desc_internal(ptr noundef %28, ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = call i32 @free(ptr noundef %31) br label %33 33: ; preds = %20, %3 ret void } declare i32 @strlen(ptr noundef) #1 declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @string_tolower(ptr noundef) #1 declare i32 @plugin_config_set_desc_internal(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphs0j3de8.c' source_filename = "/tmp/tmphs0j3de8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_CREATE_DETACHED = 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/tmphs0j3de8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @PTHREAD_CREATE_DETACHED = 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/tmp336is3om.c' source_filename = "/tmp/tmp336is3om.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex2bin(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 %13 = alloca i8, align 1 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %4 %17 = load i64, ptr %7, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19, %16, %4 store i32 -1, ptr %5, align 4 br label %117 23: ; preds = %19 %24 = load i64, ptr %7, align 8 %25 = urem i64 %24, 2 %26 = icmp ne i64 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %23 %28 = load i64, ptr %7, align 8 %29 = lshr i64 %28, 1 %30 = load i64, ptr %9, align 8 %31 = icmp ugt i64 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %27, %23 store i32 -1, ptr %5, align 4 br label %117 33: ; preds = %27 %34 = load ptr, ptr %6, align 8 store ptr %34, ptr %11, align 8 br label %35 35: ; preds = %113, %33 store i8 0, ptr %13, align 1 store i32 4, ptr %10, align 4 br label %36 36: ; preds = %103, %35 %37 = load i32, ptr %10, align 4 %38 = icmp sge i32 %37, 0 br i1 %38, label %39, label %106 39: ; preds = %36 %40 = load ptr, ptr %11, align 8 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp sge i32 %42, 48 br i1 %43, label %44, label %55 44: ; preds = %39 %45 = load ptr, ptr %11, align 8 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp sle i32 %47, 57 br i1 %48, label %49, label %55 49: ; preds = %44 %50 = load ptr, ptr %11, align 8 %51 = load i8, ptr %50, align 1 %52 = sext i8 %51 to i32 %53 = sub nsw i32 %52, 48 %54 = trunc i32 %53 to i8 store i8 %54, ptr %12, align 1 br label %92 55: ; preds = %44, %39 %56 = load ptr, ptr %11, align 8 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp sge i32 %58, 97 br i1 %59, label %60, label %72 60: ; preds = %55 %61 = load ptr, ptr %11, align 8 %62 = load i8, ptr %61, align 1 %63 = sext i8 %62 to i32 %64 = icmp sle i32 %63, 102 br i1 %64, label %65, label %72 65: ; preds = %60 %66 = load ptr, ptr %11, align 8 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = sub nsw i32 %68, 97 %70 = add nsw i32 %69, 10 %71 = trunc i32 %70 to i8 store i8 %71, ptr %12, align 1 br label %91 72: ; preds = %60, %55 %73 = load ptr, ptr %11, align 8 %74 = load i8, ptr %73, align 1 %75 = sext i8 %74 to i32 %76 = icmp sge i32 %75, 65 br i1 %76, label %77, label %89 77: ; preds = %72 %78 = load ptr, ptr %11, align 8 %79 = load i8, ptr %78, align 1 %80 = sext i8 %79 to i32 %81 = icmp sle i32 %80, 70 br i1 %81, label %82, label %89 82: ; preds = %77 %83 = load ptr, ptr %11, align 8 %84 = load i8, ptr %83, align 1 %85 = sext i8 %84 to i32 %86 = sub nsw i32 %85, 65 %87 = add nsw i32 %86, 10 %88 = trunc i32 %87 to i8 store i8 %88, ptr %12, align 1 br label %90 89: ; preds = %77, %72 store i32 -1, ptr %5, align 4 br label %117 90: ; preds = %82 br label %91 91: ; preds = %90, %65 br label %92 92: ; preds = %91, %49 %93 = load i8, ptr %12, align 1 %94 = sext i8 %93 to i32 %95 = load i32, ptr %10, align 4 %96 = shl i32 %94, %95 %97 = load i8, ptr %13, align 1 %98 = sext i8 %97 to i32 %99 = or i32 %98, %96 %100 = trunc i32 %99 to i8 store i8 %100, ptr %13, align 1 %101 = load ptr, ptr %11, align 8 %102 = getelementptr inbounds i8, ptr %101, i32 1 store ptr %102, ptr %11, align 8 br label %103 103: ; preds = %92 %104 = load i32, ptr %10, align 4 %105 = sub nsw i32 %104, 4 store i32 %105, ptr %10, align 4 br label %36, !llvm.loop !6 106: ; preds = %36 %107 = load i8, ptr %13, align 1 %108 = load ptr, ptr %8, align 8 store i8 %107, ptr %108, align 1 %109 = load ptr, ptr %8, align 8 %110 = getelementptr inbounds i8, ptr %109, i32 1 store ptr %110, ptr %8, align 8 %111 = load i64, ptr %7, align 8 %112 = sub i64 %111, 2 store i64 %112, ptr %7, align 8 br label %113 113: ; preds = %106 %114 = load i64, ptr %7, align 8 %115 = icmp ne i64 %114, 0 br i1 %115, label %35, label %116, !llvm.loop !8 116: ; preds = %113 store i32 0, ptr %5, align 4 br label %117 117: ; preds = %116, %89, %32, %22 %118 = load i32, ptr %5, align 4 ret i32 %118 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp336is3om.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hex2bin(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca i64, align 8 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 %12 = alloca i8, align 1 %13 = alloca i8, align 1 store ptr %0, ptr %6, align 8 store i64 %1, ptr %7, align 8 store ptr %2, ptr %8, align 8 store i64 %3, ptr %9, align 8 %14 = load ptr, ptr %6, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %4 %17 = load i64, ptr %7, align 8 %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %22 19: ; preds = %16 %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19, %16, %4 store i32 -1, ptr %5, align 4 br label %118 23: ; preds = %19 %24 = load i64, ptr %7, align 8 %25 = urem i64 %24, 2 %26 = icmp ne i64 %25, 0 br i1 %26, label %32, label %27 27: ; preds = %23 %28 = load i64, ptr %7, align 8 %29 = lshr i64 %28, 1 %30 = load i64, ptr %9, align 8 %31 = icmp ugt i64 %29, %30 br i1 %31, label %32, label %33 32: ; preds = %27, %23 store i32 -1, ptr %5, align 4 br label %118 33: ; preds = %27 %34 = load ptr, ptr %6, align 8 store ptr %34, ptr %11, align 8 br label %35 35: ; preds = %114, %33 store i8 0, ptr %13, align 1 store i32 4, ptr %10, align 4 %36 = load i32, ptr %10, align 4 %37 = icmp sge i32 %36, 0 br i1 %37, label %.lr.ph, label %107 .lr.ph: ; preds = %35 br label %38 38: ; preds = %.lr.ph, %102 %39 = load ptr, ptr %11, align 8 %40 = load i8, ptr %39, align 1 %41 = sext i8 %40 to i32 %42 = icmp sge i32 %41, 48 br i1 %42, label %43, label %54 43: ; preds = %38 %44 = load ptr, ptr %11, align 8 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = icmp sle i32 %46, 57 br i1 %47, label %48, label %54 48: ; preds = %43 %49 = load ptr, ptr %11, align 8 %50 = load i8, ptr %49, align 1 %51 = sext i8 %50 to i32 %52 = sub nsw i32 %51, 48 %53 = trunc i32 %52 to i8 store i8 %53, ptr %12, align 1 br label %91 54: ; preds = %43, %38 %55 = load ptr, ptr %11, align 8 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp sge i32 %57, 97 br i1 %58, label %59, label %71 59: ; preds = %54 %60 = load ptr, ptr %11, align 8 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp sle i32 %62, 102 br i1 %63, label %64, label %71 64: ; preds = %59 %65 = load ptr, ptr %11, align 8 %66 = load i8, ptr %65, align 1 %67 = sext i8 %66 to i32 %68 = sub nsw i32 %67, 97 %69 = add nsw i32 %68, 10 %70 = trunc i32 %69 to i8 store i8 %70, ptr %12, align 1 br label %90 71: ; preds = %59, %54 %72 = load ptr, ptr %11, align 8 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp sge i32 %74, 65 br i1 %75, label %76, label %88 76: ; preds = %71 %77 = load ptr, ptr %11, align 8 %78 = load i8, ptr %77, align 1 %79 = sext i8 %78 to i32 %80 = icmp sle i32 %79, 70 br i1 %80, label %81, label %88 81: ; preds = %76 %82 = load ptr, ptr %11, align 8 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = sub nsw i32 %84, 65 %86 = add nsw i32 %85, 10 %87 = trunc i32 %86 to i8 store i8 %87, ptr %12, align 1 br label %89 88: ; preds = %76, %71 store i32 -1, ptr %5, align 4 br label %118 89: ; preds = %81 br label %90 90: ; preds = %89, %64 br label %91 91: ; preds = %90, %48 %92 = load i8, ptr %12, align 1 %93 = sext i8 %92 to i32 %94 = load i32, ptr %10, align 4 %95 = shl i32 %93, %94 %96 = load i8, ptr %13, align 1 %97 = sext i8 %96 to i32 %98 = or i32 %97, %95 %99 = trunc i32 %98 to i8 store i8 %99, ptr %13, align 1 %100 = load ptr, ptr %11, align 8 %101 = getelementptr inbounds i8, ptr %100, i32 1 store ptr %101, ptr %11, align 8 br label %102 102: ; preds = %91 %103 = load i32, ptr %10, align 4 %104 = sub nsw i32 %103, 4 store i32 %104, ptr %10, align 4 %105 = load i32, ptr %10, align 4 %106 = icmp sge i32 %105, 0 br i1 %106, label %38, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %102 br label %107 107: ; preds = %._crit_edge, %35 %108 = load i8, ptr %13, align 1 %109 = load ptr, ptr %8, align 8 store i8 %108, ptr %109, align 1 %110 = load ptr, ptr %8, align 8 %111 = getelementptr inbounds i8, ptr %110, i32 1 store ptr %111, ptr %8, align 8 %112 = load i64, ptr %7, align 8 %113 = sub i64 %112, 2 store i64 %113, ptr %7, align 8 br label %114 114: ; preds = %107 %115 = load i64, ptr %7, align 8 %116 = icmp ne i64 %115, 0 br i1 %116, label %35, label %117, !llvm.loop !8 117: ; preds = %114 store i32 0, ptr %5, align 4 br label %118 118: ; preds = %117, %88, %32, %22 %119 = load i32, ptr %5, align 4 ret i32 %119 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxkkdtcsy.c' source_filename = "/tmp/tmpxkkdtcsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__swab32(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 %5 = shl i32 %4, 24 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 65280 %8 = shl i32 %7, 8 %9 = or i32 %5, %8 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 16711680 %12 = ashr i32 %11, 8 %13 = or i32 %9, %12 %14 = load i32, ptr %2, align 4 %15 = and i32 %14, -16777216 %16 = ashr i32 %15, 24 %17 = or i32 %13, %16 ret i32 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxkkdtcsy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__swab32(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = and i32 %3, 255 %5 = shl i32 %4, 24 %6 = load i32, ptr %2, align 4 %7 = and i32 %6, 65280 %8 = shl i32 %7, 8 %9 = or i32 %5, %8 %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 16711680 %12 = ashr i32 %11, 8 %13 = or i32 %9, %12 %14 = load i32, ptr %2, align 4 %15 = and i32 %14, -16777216 %16 = ashr i32 %15, 24 %17 = or i32 %13, %16 ret i32 %17 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptesn1o0w.c' source_filename = "/tmp/tmptesn1o0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dcof_bwbp(i32 noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %21 = load double, ptr @M_PI, align 8 %22 = load double, ptr %6, align 8 %23 = load double, ptr %5, align 8 %24 = fadd double %22, %23 %25 = fmul double %21, %24 %26 = fdiv double %25, 2.000000e+00 %27 = call double @cos(double noundef %26) #4 store double %27, ptr %9, align 8 %28 = load double, ptr @M_PI, align 8 %29 = load double, ptr %6, align 8 %30 = load double, ptr %5, align 8 %31 = fsub double %29, %30 %32 = fmul double %28, %31 %33 = fdiv double %32, 2.000000e+00 store double %33, ptr %8, align 8 %34 = load double, ptr %8, align 8 %35 = call double @sin(double noundef %34) #4 store double %35, ptr %10, align 8 %36 = load double, ptr %8, align 8 %37 = call double @cos(double noundef %36) #4 store double %37, ptr %11, align 8 %38 = load double, ptr %10, align 8 %39 = fmul double 2.000000e+00, %38 %40 = load double, ptr %11, align 8 %41 = fmul double %39, %40 store double %41, ptr %12, align 8 %42 = load double, ptr %11, align 8 %43 = fmul double 2.000000e+00, %42 %44 = load double, ptr %11, align 8 %45 = call double @llvm.fmuladd.f64(double %43, double %44, double -1.000000e+00) store double %45, ptr %13, align 8 %46 = load i32, ptr %4, align 4 %47 = mul nsw i32 2, %46 %48 = call i64 @calloc(i32 noundef %47, i32 noundef 8) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %14, align 8 %50 = load i32, ptr %4, align 4 %51 = mul nsw i32 2, %50 %52 = call i64 @calloc(i32 noundef %51, i32 noundef 8) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %15, align 8 store i32 0, ptr %7, align 4 br label %54 54: ; preds = %123, %3 %55 = load i32, ptr %7, align 4 %56 = load i32, ptr %4, align 4 %57 = icmp slt i32 %55, %56 br i1 %57, label %58, label %126 58: ; preds = %54 %59 = load double, ptr @M_PI, align 8 %60 = load i32, ptr %7, align 4 %61 = mul nsw i32 2, %60 %62 = add nsw i32 %61, 1 %63 = sitofp i32 %62 to double %64 = fmul double %59, %63 %65 = load i32, ptr %4, align 4 %66 = mul nsw i32 2, %65 %67 = sitofp i32 %66 to double %68 = fdiv double %64, %67 store double %68, ptr %17, align 8 %69 = load double, ptr %17, align 8 %70 = call double @sin(double noundef %69) #4 store double %70, ptr %18, align 8 %71 = load double, ptr %17, align 8 %72 = call double @cos(double noundef %71) #4 store double %72, ptr %19, align 8 %73 = load double, ptr %12, align 8 %74 = load double, ptr %18, align 8 %75 = call double @llvm.fmuladd.f64(double %73, double %74, double 1.000000e+00) store double %75, ptr %20, align 8 %76 = load double, ptr %13, align 8 %77 = load double, ptr %20, align 8 %78 = fdiv double %76, %77 %79 = load ptr, ptr %14, align 8 %80 = load i32, ptr %7, align 4 %81 = mul nsw i32 2, %80 %82 = sext i32 %81 to i64 %83 = getelementptr inbounds double, ptr %79, i64 %82 store double %78, ptr %83, align 8 %84 = load double, ptr %12, align 8 %85 = load double, ptr %19, align 8 %86 = fmul double %84, %85 %87 = load double, ptr %20, align 8 %88 = fdiv double %86, %87 %89 = load ptr, ptr %14, align 8 %90 = load i32, ptr %7, align 4 %91 = mul nsw i32 2, %90 %92 = add nsw i32 %91, 1 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %89, i64 %93 store double %88, ptr %94, align 8 %95 = load double, ptr %9, align 8 %96 = fmul double -2.000000e+00, %95 %97 = load double, ptr %11, align 8 %98 = load double, ptr %10, align 8 %99 = load double, ptr %18, align 8 %100 = call double @llvm.fmuladd.f64(double %98, double %99, double %97) %101 = fmul double %96, %100 %102 = load double, ptr %20, align 8 %103 = fdiv double %101, %102 %104 = load ptr, ptr %15, align 8 %105 = load i32, ptr %7, align 4 %106 = mul nsw i32 2, %105 %107 = sext i32 %106 to i64 %108 = getelementptr inbounds double, ptr %104, i64 %107 store double %103, ptr %108, align 8 %109 = load double, ptr %9, align 8 %110 = fmul double -2.000000e+00, %109 %111 = load double, ptr %10, align 8 %112 = fmul double %110, %111 %113 = load double, ptr %19, align 8 %114 = fmul double %112, %113 %115 = load double, ptr %20, align 8 %116 = fdiv double %114, %115 %117 = load ptr, ptr %15, align 8 %118 = load i32, ptr %7, align 4 %119 = mul nsw i32 2, %118 %120 = add nsw i32 %119, 1 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds double, ptr %117, i64 %121 store double %116, ptr %122, align 8 br label %123 123: ; preds = %58 %124 = load i32, ptr %7, align 4 %125 = add nsw i32 %124, 1 store i32 %125, ptr %7, align 4 br label %54, !llvm.loop !6 126: ; preds = %54 %127 = load i32, ptr %4, align 4 %128 = load ptr, ptr %15, align 8 %129 = load ptr, ptr %14, align 8 %130 = call ptr @trinomial_mult(i32 noundef %127, ptr noundef %128, ptr noundef %129) store ptr %130, ptr %16, align 8 %131 = load ptr, ptr %15, align 8 %132 = call i32 @free(ptr noundef %131) %133 = load ptr, ptr %14, align 8 %134 = call i32 @free(ptr noundef %133) %135 = load ptr, ptr %16, align 8 %136 = getelementptr inbounds double, ptr %135, i64 0 %137 = load double, ptr %136, align 8 %138 = load ptr, ptr %16, align 8 %139 = getelementptr inbounds double, ptr %138, i64 1 store double %137, ptr %139, align 8 %140 = load ptr, ptr %16, align 8 %141 = getelementptr inbounds double, ptr %140, i64 0 store double 1.000000e+00, ptr %141, align 8 store i32 3, ptr %7, align 4 br label %142 142: ; preds = %159, %126 %143 = load i32, ptr %7, align 4 %144 = load i32, ptr %4, align 4 %145 = mul nsw i32 2, %144 %146 = icmp sle i32 %143, %145 br i1 %146, label %147, label %162 147: ; preds = %142 %148 = load ptr, ptr %16, align 8 %149 = load i32, ptr %7, align 4 %150 = mul nsw i32 2, %149 %151 = sub nsw i32 %150, 2 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds double, ptr %148, i64 %152 %154 = load double, ptr %153, align 8 %155 = load ptr, ptr %16, align 8 %156 = load i32, ptr %7, align 4 %157 = sext i32 %156 to i64 %158 = getelementptr inbounds double, ptr %155, i64 %157 store double %154, ptr %158, align 8 br label %159 159: ; preds = %147 %160 = load i32, ptr %7, align 4 %161 = add nsw i32 %160, 1 store i32 %161, ptr %7, align 4 br label %142, !llvm.loop !8 162: ; preds = %142 %163 = load ptr, ptr %16, align 8 ret ptr %163 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i64 @calloc(i32 noundef, i32 noundef) #3 declare ptr @trinomial_mult(i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @free(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptesn1o0w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @dcof_bwbp(i32 noundef %0, double noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca double, align 8 %18 = alloca double, align 8 %19 = alloca double, align 8 %20 = alloca double, align 8 store i32 %0, ptr %4, align 4 store double %1, ptr %5, align 8 store double %2, ptr %6, align 8 %21 = load double, ptr @M_PI, align 8 %22 = load double, ptr %6, align 8 %23 = load double, ptr %5, align 8 %24 = fadd double %22, %23 %25 = fmul double %21, %24 %26 = fdiv double %25, 2.000000e+00 %27 = call double @cos(double noundef %26) #4 store double %27, ptr %9, align 8 %28 = load double, ptr @M_PI, align 8 %29 = load double, ptr %6, align 8 %30 = load double, ptr %5, align 8 %31 = fsub double %29, %30 %32 = fmul double %28, %31 %33 = fdiv double %32, 2.000000e+00 store double %33, ptr %8, align 8 %34 = load double, ptr %8, align 8 %35 = call double @sin(double noundef %34) #4 store double %35, ptr %10, align 8 %36 = load double, ptr %8, align 8 %37 = call double @cos(double noundef %36) #4 store double %37, ptr %11, align 8 %38 = load double, ptr %10, align 8 %39 = fmul double 2.000000e+00, %38 %40 = load double, ptr %11, align 8 %41 = fmul double %39, %40 store double %41, ptr %12, align 8 %42 = load double, ptr %11, align 8 %43 = fmul double 2.000000e+00, %42 %44 = load double, ptr %11, align 8 %45 = call double @llvm.fmuladd.f64(double %43, double %44, double -1.000000e+00) store double %45, ptr %13, align 8 %46 = load i32, ptr %4, align 4 %47 = mul nsw i32 2, %46 %48 = call i64 @calloc(i32 noundef %47, i32 noundef 8) %49 = inttoptr i64 %48 to ptr store ptr %49, ptr %14, align 8 %50 = load i32, ptr %4, align 4 %51 = mul nsw i32 2, %50 %52 = call i64 @calloc(i32 noundef %51, i32 noundef 8) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %15, align 8 store i32 0, ptr %7, align 4 %54 = load i32, ptr %7, align 4 %55 = load i32, ptr %4, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %.lr.ph, label %128 .lr.ph: ; preds = %3 br label %57 57: ; preds = %.lr.ph, %122 %58 = load double, ptr @M_PI, align 8 %59 = load i32, ptr %7, align 4 %60 = mul nsw i32 2, %59 %61 = add nsw i32 %60, 1 %62 = sitofp i32 %61 to double %63 = fmul double %58, %62 %64 = load i32, ptr %4, align 4 %65 = mul nsw i32 2, %64 %66 = sitofp i32 %65 to double %67 = fdiv double %63, %66 store double %67, ptr %17, align 8 %68 = load double, ptr %17, align 8 %69 = call double @sin(double noundef %68) #4 store double %69, ptr %18, align 8 %70 = load double, ptr %17, align 8 %71 = call double @cos(double noundef %70) #4 store double %71, ptr %19, align 8 %72 = load double, ptr %12, align 8 %73 = load double, ptr %18, align 8 %74 = call double @llvm.fmuladd.f64(double %72, double %73, double 1.000000e+00) store double %74, ptr %20, align 8 %75 = load double, ptr %13, align 8 %76 = load double, ptr %20, align 8 %77 = fdiv double %75, %76 %78 = load ptr, ptr %14, align 8 %79 = load i32, ptr %7, align 4 %80 = mul nsw i32 2, %79 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds double, ptr %78, i64 %81 store double %77, ptr %82, align 8 %83 = load double, ptr %12, align 8 %84 = load double, ptr %19, align 8 %85 = fmul double %83, %84 %86 = load double, ptr %20, align 8 %87 = fdiv double %85, %86 %88 = load ptr, ptr %14, align 8 %89 = load i32, ptr %7, align 4 %90 = mul nsw i32 2, %89 %91 = add nsw i32 %90, 1 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds double, ptr %88, i64 %92 store double %87, ptr %93, align 8 %94 = load double, ptr %9, align 8 %95 = fmul double -2.000000e+00, %94 %96 = load double, ptr %11, align 8 %97 = load double, ptr %10, align 8 %98 = load double, ptr %18, align 8 %99 = call double @llvm.fmuladd.f64(double %97, double %98, double %96) %100 = fmul double %95, %99 %101 = load double, ptr %20, align 8 %102 = fdiv double %100, %101 %103 = load ptr, ptr %15, align 8 %104 = load i32, ptr %7, align 4 %105 = mul nsw i32 2, %104 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds double, ptr %103, i64 %106 store double %102, ptr %107, align 8 %108 = load double, ptr %9, align 8 %109 = fmul double -2.000000e+00, %108 %110 = load double, ptr %10, align 8 %111 = fmul double %109, %110 %112 = load double, ptr %19, align 8 %113 = fmul double %111, %112 %114 = load double, ptr %20, align 8 %115 = fdiv double %113, %114 %116 = load ptr, ptr %15, align 8 %117 = load i32, ptr %7, align 4 %118 = mul nsw i32 2, %117 %119 = add nsw i32 %118, 1 %120 = sext i32 %119 to i64 %121 = getelementptr inbounds double, ptr %116, i64 %120 store double %115, ptr %121, align 8 br label %122 122: ; preds = %57 %123 = load i32, ptr %7, align 4 %124 = add nsw i32 %123, 1 store i32 %124, ptr %7, align 4 %125 = load i32, ptr %7, align 4 %126 = load i32, ptr %4, align 4 %127 = icmp slt i32 %125, %126 br i1 %127, label %57, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %122 br label %128 128: ; preds = %._crit_edge, %3 %129 = load i32, ptr %4, align 4 %130 = load ptr, ptr %15, align 8 %131 = load ptr, ptr %14, align 8 %132 = call ptr @trinomial_mult(i32 noundef %129, ptr noundef %130, ptr noundef %131) store ptr %132, ptr %16, align 8 %133 = load ptr, ptr %15, align 8 %134 = call i32 @free(ptr noundef %133) %135 = load ptr, ptr %14, align 8 %136 = call i32 @free(ptr noundef %135) %137 = load ptr, ptr %16, align 8 %138 = getelementptr inbounds double, ptr %137, i64 0 %139 = load double, ptr %138, align 8 %140 = load ptr, ptr %16, align 8 %141 = getelementptr inbounds double, ptr %140, i64 1 store double %139, ptr %141, align 8 %142 = load ptr, ptr %16, align 8 %143 = getelementptr inbounds double, ptr %142, i64 0 store double 1.000000e+00, ptr %143, align 8 store i32 3, ptr %7, align 4 %144 = load i32, ptr %7, align 4 %145 = load i32, ptr %4, align 4 %146 = mul nsw i32 2, %145 %147 = icmp sle i32 %144, %146 br i1 %147, label %.lr.ph2, label %167 .lr.ph2: ; preds = %128 br label %148 148: ; preds = %.lr.ph2, %160 %149 = load ptr, ptr %16, align 8 %150 = load i32, ptr %7, align 4 %151 = mul nsw i32 2, %150 %152 = sub nsw i32 %151, 2 %153 = sext i32 %152 to i64 %154 = getelementptr inbounds double, ptr %149, i64 %153 %155 = load double, ptr %154, align 8 %156 = load ptr, ptr %16, align 8 %157 = load i32, ptr %7, align 4 %158 = sext i32 %157 to i64 %159 = getelementptr inbounds double, ptr %156, i64 %158 store double %155, ptr %159, align 8 br label %160 160: ; preds = %148 %161 = load i32, ptr %7, align 4 %162 = add nsw i32 %161, 1 store i32 %162, ptr %7, align 4 %163 = load i32, ptr %7, align 4 %164 = load i32, ptr %4, align 4 %165 = mul nsw i32 2, %164 %166 = icmp sle i32 %163, %165 br i1 %166, label %148, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %160 br label %167 167: ; preds = %._crit_edge3, %128 %168 = load ptr, ptr %16, align 8 ret ptr %168 } ; Function Attrs: nounwind declare double @cos(double noundef) #1 ; Function Attrs: nounwind declare double @sin(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i64 @calloc(i32 noundef, i32 noundef) #3 declare ptr @trinomial_mult(i32 noundef, ptr noundef, ptr noundef) #3 declare i32 @free(ptr noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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}
; ModuleID = '/tmp/tmpb1909tcq.c' source_filename = "/tmp/tmpb1909tcq.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, i32 } @PF_PACKET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"eth0\00", align 1 @IFNAMSIZ = dso_local global i32 0, align 4 @SIOCGIFFLAGS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1 @IFF_PROMISC = dso_local global i32 0, align 4 @SIOCSIFFLAGS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"eth_rx_packets.txt\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [51 x i8] c"Source MAC address: %02x:%02x:%02x:%02x:%02x:%02x\0A\00", align 1 @.str.8 = private unnamed_addr constant [56 x i8] c"Destination MAC address: %02x:%02x:%02x:%02x:%02x:%02x\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"Packs received %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_receive(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2048 x i8], align 16 %7 = alloca [1038 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.ifreq, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %13 = load i32, ptr @PF_PACKET, align 4 %14 = load i32, ptr @SOCK_RAW, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 1024) store i32 %15, ptr %4, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %1 %21 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr @IFNAMSIZ, align 4 %24 = call i32 @strncpy(i32 noundef %22, ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = load i32, ptr @SIOCGIFFLAGS, align 4 %27 = call i32 @ioctl(i32 noundef %25, i32 noundef %26, ptr noundef %10) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %34 29: ; preds = %20 %30 = call i32 @perror(ptr noundef @.str.2) %31 = load i32, ptr %4, align 4 %32 = call i32 @close(i32 noundef %31) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %20 %35 = load i32, ptr @IFF_PROMISC, align 4 %36 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr @SIOCSIFFLAGS, align 4 %41 = call i32 @ioctl(i32 noundef %39, i32 noundef %40, ptr noundef %10) %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %48 43: ; preds = %34 %44 = call i32 @perror(ptr noundef @.str.2) %45 = load i32, ptr %4, align 4 %46 = call i32 @close(i32 noundef %45) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %34 store ptr null, ptr %11, align 8 %49 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %49, ptr %11, align 8 %50 = load ptr, ptr %11, align 8 %51 = call i32 @fclose(ptr noundef %50) store i32 0, ptr %12, align 4 br label %52 52: ; preds = %56, %48 %53 = load i32, ptr %12, align 4 %54 = load i32, ptr %3, align 4 %55 = icmp slt i32 %53, %54 br i1 %55, label %56, label %121 56: ; preds = %52 %57 = load i32, ptr %4, align 4 %58 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %59 = call i32 @recvfrom(i32 noundef %57, ptr noundef %58, i32 noundef 2048, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %59, ptr %5, align 4 %60 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 store ptr %60, ptr %9, align 8 %61 = load i32, ptr %12, align 4 %62 = add nsw i32 %61, 1 store i32 %62, ptr %12, align 4 %63 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.5) store ptr %63, ptr %11, align 8 %64 = load i32, ptr %5, align 4 %65 = load ptr, ptr %11, align 8 %66 = call i32 @fwrite(ptr noundef %6, i32 noundef 1, i32 noundef %64, ptr noundef %65) %67 = load ptr, ptr %11, align 8 %68 = call i32 @fclose(ptr noundef %67) %69 = load i32, ptr %12, align 4 %70 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %69) %71 = load ptr, ptr %9, align 8 %72 = getelementptr inbounds i8, ptr %71, i64 0 %73 = load i8, ptr %72, align 1 %74 = zext i8 %73 to i32 %75 = load ptr, ptr %9, align 8 %76 = getelementptr inbounds i8, ptr %75, i64 1 %77 = load i8, ptr %76, align 1 %78 = zext i8 %77 to i32 %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds i8, ptr %79, i64 2 %81 = load i8, ptr %80, align 1 %82 = zext i8 %81 to i32 %83 = load ptr, ptr %9, align 8 %84 = getelementptr inbounds i8, ptr %83, i64 3 %85 = load i8, ptr %84, align 1 %86 = zext i8 %85 to i32 %87 = load ptr, ptr %9, align 8 %88 = getelementptr inbounds i8, ptr %87, i64 4 %89 = load i8, ptr %88, align 1 %90 = zext i8 %89 to i32 %91 = load ptr, ptr %9, align 8 %92 = getelementptr inbounds i8, ptr %91, i64 5 %93 = load i8, ptr %92, align 1 %94 = zext i8 %93 to i32 %95 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %74, i32 noundef %78, i32 noundef %82, i32 noundef %86, i32 noundef %90, i32 noundef %94) %96 = load ptr, ptr %9, align 8 %97 = getelementptr inbounds i8, ptr %96, i64 6 %98 = load i8, ptr %97, align 1 %99 = zext i8 %98 to i32 %100 = load ptr, ptr %9, align 8 %101 = getelementptr inbounds i8, ptr %100, i64 7 %102 = load i8, ptr %101, align 1 %103 = zext i8 %102 to i32 %104 = load ptr, ptr %9, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 8 %106 = load i8, ptr %105, align 1 %107 = zext i8 %106 to i32 %108 = load ptr, ptr %9, align 8 %109 = getelementptr inbounds i8, ptr %108, i64 9 %110 = load i8, ptr %109, align 1 %111 = zext i8 %110 to i32 %112 = load ptr, ptr %9, align 8 %113 = getelementptr inbounds i8, ptr %112, i64 10 %114 = load i8, ptr %113, align 1 %115 = zext i8 %114 to i32 %116 = load ptr, ptr %9, align 8 %117 = getelementptr inbounds i8, ptr %116, i64 11 %118 = load i8, ptr %117, align 1 %119 = zext i8 %118 to i32 %120 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %99, i32 noundef %103, i32 noundef %107, i32 noundef %111, i32 noundef %115, i32 noundef %119) br label %52, !llvm.loop !6 121: ; preds = %52 %122 = load i32, ptr %12, align 4 %123 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %122) %124 = load i32, ptr %2, align 4 ret i32 %124 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpb1909tcq.c" target datalayout = "e-m:e-p270: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.ifreq = type { i32, i32 } @PF_PACKET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"eth0\00", align 1 @IFNAMSIZ = dso_local global i32 0, align 4 @SIOCGIFFLAGS = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1 @IFF_PROMISC = dso_local global i32 0, align 4 @SIOCSIFFLAGS = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [19 x i8] c"eth_rx_packets.txt\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"a+\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [51 x i8] c"Source MAC address: %02x:%02x:%02x:%02x:%02x:%02x\0A\00", align 1 @.str.8 = private unnamed_addr constant [56 x i8] c"Destination MAC address: %02x:%02x:%02x:%02x:%02x:%02x\0A\00", align 1 @.str.9 = private unnamed_addr constant [19 x i8] c"Packs received %d \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @socket_receive(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [2048 x i8], align 16 %7 = alloca [1038 x i8], align 16 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca %struct.ifreq, align 4 %11 = alloca ptr, align 8 %12 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %13 = load i32, ptr @PF_PACKET, align 4 %14 = load i32, ptr @SOCK_RAW, align 4 %15 = call i32 @socket(i32 noundef %13, i32 noundef %14, i32 noundef 1024) store i32 %15, ptr %4, align 4 %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %1 %18 = call i32 @perror(ptr noundef @.str) %19 = call i32 @exit(i32 noundef 1) #3 unreachable 20: ; preds = %1 %21 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr @IFNAMSIZ, align 4 %24 = call i32 @strncpy(i32 noundef %22, ptr noundef @.str.1, i32 noundef %23) %25 = load i32, ptr %4, align 4 %26 = load i32, ptr @SIOCGIFFLAGS, align 4 %27 = call i32 @ioctl(i32 noundef %25, i32 noundef %26, ptr noundef %10) %28 = icmp eq i32 %27, -1 br i1 %28, label %29, label %34 29: ; preds = %20 %30 = call i32 @perror(ptr noundef @.str.2) %31 = load i32, ptr %4, align 4 %32 = call i32 @close(i32 noundef %31) %33 = call i32 @exit(i32 noundef 1) #3 unreachable 34: ; preds = %20 %35 = load i32, ptr @IFF_PROMISC, align 4 %36 = getelementptr inbounds %struct.ifreq, ptr %10, i32 0, i32 0 %37 = load i32, ptr %36, align 4 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 4 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr @SIOCSIFFLAGS, align 4 %41 = call i32 @ioctl(i32 noundef %39, i32 noundef %40, ptr noundef %10) %42 = icmp eq i32 %41, -1 br i1 %42, label %43, label %48 43: ; preds = %34 %44 = call i32 @perror(ptr noundef @.str.2) %45 = load i32, ptr %4, align 4 %46 = call i32 @close(i32 noundef %45) %47 = call i32 @exit(i32 noundef 1) #3 unreachable 48: ; preds = %34 store ptr null, ptr %11, align 8 %49 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.4) store ptr %49, ptr %11, align 8 %50 = load ptr, ptr %11, align 8 %51 = call i32 @fclose(ptr noundef %50) 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.ph, label %123 .lr.ph: ; preds = %48 br label %55 55: ; preds = %.lr.ph, %55 %56 = load i32, ptr %4, align 4 %57 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 %58 = call i32 @recvfrom(i32 noundef %56, ptr noundef %57, i32 noundef 2048, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %58, ptr %5, align 4 %59 = getelementptr inbounds [2048 x i8], ptr %6, i64 0, i64 0 store ptr %59, ptr %9, align 8 %60 = load i32, ptr %12, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %12, align 4 %62 = call ptr @fopen(ptr noundef @.str.3, ptr noundef @.str.5) store ptr %62, ptr %11, align 8 %63 = load i32, ptr %5, align 4 %64 = load ptr, ptr %11, align 8 %65 = call i32 @fwrite(ptr noundef %6, i32 noundef 1, i32 noundef %63, ptr noundef %64) %66 = load ptr, ptr %11, align 8 %67 = call i32 @fclose(ptr noundef %66) %68 = load i32, ptr %12, align 4 %69 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.6, i32 noundef %68) %70 = load ptr, ptr %9, align 8 %71 = getelementptr inbounds i8, ptr %70, i64 0 %72 = load i8, ptr %71, align 1 %73 = zext i8 %72 to i32 %74 = load ptr, ptr %9, align 8 %75 = getelementptr inbounds i8, ptr %74, i64 1 %76 = load i8, ptr %75, align 1 %77 = zext i8 %76 to i32 %78 = load ptr, ptr %9, align 8 %79 = getelementptr inbounds i8, ptr %78, i64 2 %80 = load i8, ptr %79, align 1 %81 = zext i8 %80 to i32 %82 = load ptr, ptr %9, align 8 %83 = getelementptr inbounds i8, ptr %82, i64 3 %84 = load i8, ptr %83, align 1 %85 = zext i8 %84 to i32 %86 = load ptr, ptr %9, align 8 %87 = getelementptr inbounds i8, ptr %86, i64 4 %88 = load i8, ptr %87, align 1 %89 = zext i8 %88 to i32 %90 = load ptr, ptr %9, align 8 %91 = getelementptr inbounds i8, ptr %90, i64 5 %92 = load i8, ptr %91, align 1 %93 = zext i8 %92 to i32 %94 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.7, i32 noundef %73, i32 noundef %77, i32 noundef %81, i32 noundef %85, i32 noundef %89, i32 noundef %93) %95 = load ptr, ptr %9, align 8 %96 = getelementptr inbounds i8, ptr %95, i64 6 %97 = load i8, ptr %96, align 1 %98 = zext i8 %97 to i32 %99 = load ptr, ptr %9, align 8 %100 = getelementptr inbounds i8, ptr %99, i64 7 %101 = load i8, ptr %100, align 1 %102 = zext i8 %101 to i32 %103 = load ptr, ptr %9, align 8 %104 = getelementptr inbounds i8, ptr %103, i64 8 %105 = load i8, ptr %104, align 1 %106 = zext i8 %105 to i32 %107 = load ptr, ptr %9, align 8 %108 = getelementptr inbounds i8, ptr %107, i64 9 %109 = load i8, ptr %108, align 1 %110 = zext i8 %109 to i32 %111 = load ptr, ptr %9, align 8 %112 = getelementptr inbounds i8, ptr %111, i64 10 %113 = load i8, ptr %112, align 1 %114 = zext i8 %113 to i32 %115 = load ptr, ptr %9, align 8 %116 = getelementptr inbounds i8, ptr %115, i64 11 %117 = load i8, ptr %116, align 1 %118 = zext i8 %117 to i32 %119 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.8, i32 noundef %98, i32 noundef %102, i32 noundef %106, i32 noundef %110, i32 noundef %114, i32 noundef %118) %120 = load i32, ptr %12, align 4 %121 = load i32, ptr %3, align 4 %122 = icmp slt i32 %120, %121 br i1 %122, label %55, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %123 123: ; preds = %._crit_edge, %48 %124 = load i32, ptr %12, align 4 %125 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.9, i32 noundef %124) %126 = load i32, ptr %2, align 4 ret i32 %126 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strncpy(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp9oowm9e0.c' source_filename = "/tmp/tmp9oowm9e0.c" target datalayout = "e-m:e-p270: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/tmp9oowm9e0.c" target datalayout = "e-m:e-p270: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/tmpxjmzbdy0.c' source_filename = "/tmp/tmpxjmzbdy0.c" target datalayout = "e-m:e-p270: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/tmpxjmzbdy0.c" target datalayout = "e-m:e-p270: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/tmppkmovmp6.c' source_filename = "/tmp/tmppkmovmp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mydaemon\00", align 1 @LOG_NOWAIT = dso_local global i32 0, align 4 @LOG_USER = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"logging message in C\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 = load i32, ptr @LOG_NOWAIT, align 4 %3 = load i32, ptr @LOG_USER, align 4 %4 = call i32 @openlog(ptr noundef @.str, i32 noundef %2, i32 noundef %3) %5 = load i32, ptr @LOG_INFO, align 4 %6 = call i32 @syslog(i32 noundef %5, ptr noundef @.str.1) %7 = call i32 (...) @closelog() ret i32 0 } declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @closelog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmppkmovmp6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"mydaemon\00", align 1 @LOG_NOWAIT = dso_local global i32 0, align 4 @LOG_USER = dso_local global i32 0, align 4 @LOG_INFO = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [21 x i8] c"logging message in C\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 = load i32, ptr @LOG_NOWAIT, align 4 %3 = load i32, ptr @LOG_USER, align 4 %4 = call i32 @openlog(ptr noundef @.str, i32 noundef %2, i32 noundef %3) %5 = load i32, ptr @LOG_INFO, align 4 %6 = call i32 @syslog(i32 noundef %5, ptr noundef @.str.1) %7 = call i32 (...) @closelog() ret i32 0 } declare i32 @openlog(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @syslog(i32 noundef, ptr noundef) #1 declare i32 @closelog(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2tte8vue.c' source_filename = "/tmp/tmp2tte8vue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i8 43, ptr %9, align 1 %11 = load ptr, ptr %5, align 8 %12 = call ptr @_PDCLIB_strtox_prelim(ptr noundef %11, ptr noundef %9, ptr noundef %7) store ptr %12, ptr %10, align 8 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %18, label %15 15: ; preds = %3 %16 = load i32, ptr %7, align 4 %17 = icmp sgt i32 %16, 36 br i1 %17, label %18, label %19 18: ; preds = %15, %3 store i64 0, ptr %4, align 8 br label %52 19: ; preds = %15 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr @ULLONG_MAX, align 4 %22 = load i32, ptr @ULLONG_MAX, align 4 %23 = load i32, ptr %7, align 4 %24 = sdiv i32 %22, %23 %25 = load i32, ptr @ULLONG_MAX, align 4 %26 = load i32, ptr %7, align 4 %27 = srem i32 %25, %26 %28 = call i64 @_PDCLIB_strtox_main(ptr noundef %10, i32 noundef %20, i32 noundef %21, i32 noundef %24, i32 noundef %27, ptr noundef %9) store i64 %28, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %41 31: ; preds = %19 %32 = load ptr, ptr %10, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load ptr, ptr %10, align 8 br label %38 36: ; preds = %31 %37 = load ptr, ptr %5, align 8 br label %38 38: ; preds = %36, %34 %39 = phi ptr [ %35, %34 ], [ %37, %36 ] %40 = load ptr, ptr %6, align 8 store ptr %39, ptr %40, align 8 br label %41 41: ; preds = %38, %19 %42 = load i8, ptr %9, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 43 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = load i64, ptr %8, align 8 br label %50 47: ; preds = %41 %48 = load i64, ptr %8, align 8 %49 = sub i64 0, %48 br label %50 50: ; preds = %47, %45 %51 = phi i64 [ %46, %45 ], [ %49, %47 ] store i64 %51, ptr %4, align 8 br label %52 52: ; preds = %50, %18 %53 = load i64, ptr %4, align 8 ret i64 %53 } declare ptr @_PDCLIB_strtox_prelim(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @_PDCLIB_strtox_main(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2tte8vue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ULLONG_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i64, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i64, align 8 %9 = alloca i8, align 1 %10 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i8 43, ptr %9, align 1 %11 = load ptr, ptr %5, align 8 %12 = call ptr @_PDCLIB_strtox_prelim(ptr noundef %11, ptr noundef %9, ptr noundef %7) store ptr %12, ptr %10, align 8 %13 = load i32, ptr %7, align 4 %14 = icmp slt i32 %13, 2 br i1 %14, label %18, label %15 15: ; preds = %3 %16 = load i32, ptr %7, align 4 %17 = icmp sgt i32 %16, 36 br i1 %17, label %18, label %19 18: ; preds = %15, %3 store i64 0, ptr %4, align 8 br label %52 19: ; preds = %15 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr @ULLONG_MAX, align 4 %22 = load i32, ptr @ULLONG_MAX, align 4 %23 = load i32, ptr %7, align 4 %24 = sdiv i32 %22, %23 %25 = load i32, ptr @ULLONG_MAX, align 4 %26 = load i32, ptr %7, align 4 %27 = srem i32 %25, %26 %28 = call i64 @_PDCLIB_strtox_main(ptr noundef %10, i32 noundef %20, i32 noundef %21, i32 noundef %24, i32 noundef %27, ptr noundef %9) store i64 %28, ptr %8, align 8 %29 = load ptr, ptr %6, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %41 31: ; preds = %19 %32 = load ptr, ptr %10, align 8 %33 = icmp ne ptr %32, null br i1 %33, label %34, label %36 34: ; preds = %31 %35 = load ptr, ptr %10, align 8 br label %38 36: ; preds = %31 %37 = load ptr, ptr %5, align 8 br label %38 38: ; preds = %36, %34 %39 = phi ptr [ %35, %34 ], [ %37, %36 ] %40 = load ptr, ptr %6, align 8 store ptr %39, ptr %40, align 8 br label %41 41: ; preds = %38, %19 %42 = load i8, ptr %9, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 43 br i1 %44, label %45, label %47 45: ; preds = %41 %46 = load i64, ptr %8, align 8 br label %50 47: ; preds = %41 %48 = load i64, ptr %8, align 8 %49 = sub i64 0, %48 br label %50 50: ; preds = %47, %45 %51 = phi i64 [ %46, %45 ], [ %49, %47 ] store i64 %51, ptr %4, align 8 br label %52 52: ; preds = %50, %18 %53 = load i64, ptr %4, align 8 ret i64 %53 } declare ptr @_PDCLIB_strtox_prelim(ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @_PDCLIB_strtox_main(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpkvetfx3w.c' source_filename = "/tmp/tmpkvetfx3w.c" target datalayout = "e-m:e-p270: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/tmpkvetfx3w.c" target datalayout = "e-m:e-p270: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/tmp1cbx5vvy.c' source_filename = "/tmp/tmp1cbx5vvy.c" target datalayout = "e-m:e-p270: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/tmp1cbx5vvy.c" target datalayout = "e-m:e-p270: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/tmpn2u05rqg.c' source_filename = "/tmp/tmpn2u05rqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @brake_left(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @pin_Direction(i32 noundef 46) %4 = load i32, ptr %2, align 4 %5 = call i32 @pin_Value(i32 noundef 46, i32 noundef %4) ret void } declare i32 @pin_Direction(i32 noundef) #1 declare i32 @pin_Value(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/tmpn2u05rqg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @brake_left(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = call i32 @pin_Direction(i32 noundef 46) %4 = load i32, ptr %2, align 4 %5 = call i32 @pin_Value(i32 noundef 46, i32 noundef %4) ret void } declare i32 @pin_Direction(i32 noundef) #1 declare i32 @pin_Value(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/tmpbipgqp1t.c' source_filename = "/tmp/tmpbipgqp1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_around_center(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %8, align 4 br label %11 11: ; preds = %35, %3 %12 = load i32, ptr %7, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %14, label %33 14: ; preds = %11 %15 = load i32, ptr %8, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %33 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %25, %31 br label %33 33: ; preds = %19, %14, %11 %34 = phi i1 [ false, %14 ], [ false, %11 ], [ %32, %19 ] br i1 %34, label %35, label %40 35: ; preds = %33 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %7, align 4 br label %11, !llvm.loop !6 40: ; preds = %33 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %41, %42 %44 = sub nsw i32 %43, 1 ret i32 %44 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbipgqp1t.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @expand_around_center(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %5, align 4 store i32 %9, ptr %7, align 4 %10 = load i32, ptr %6, align 4 store i32 %10, ptr %8, align 4 br label %11 11: ; preds = %35, %3 %12 = load i32, ptr %7, align 4 %13 = icmp sge i32 %12, 0 br i1 %13, label %14, label %33 14: ; preds = %11 %15 = load i32, ptr %8, align 4 %16 = load ptr, ptr %4, align 8 %17 = call i32 @strlen(ptr noundef %16) %18 = icmp slt i32 %15, %17 br i1 %18, label %19, label %33 19: ; preds = %14 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %7, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = load ptr, ptr %4, align 8 %27 = load i32, ptr %8, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = sext i8 %30 to i32 %32 = icmp eq i32 %25, %31 br label %33 33: ; preds = %19, %14, %11 %34 = phi i1 [ false, %14 ], [ false, %11 ], [ %32, %19 ] br i1 %34, label %35, label %40 35: ; preds = %33 %36 = load i32, ptr %8, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %8, align 4 %38 = load i32, ptr %7, align 4 %39 = add nsw i32 %38, -1 store i32 %39, ptr %7, align 4 br label %11, !llvm.loop !6 40: ; preds = %33 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %7, align 4 %43 = sub nsw i32 %41, %42 %44 = sub nsw i32 %43, 1 ret i32 %44 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp2zedlvi2.c' source_filename = "/tmp/tmp2zedlvi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"(i)nsert, (d)elete, or (g)et? \00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @in() #0 { %1 = alloca ptr, align 8 %2 = alloca i8, align 1 %3 = call ptr @calloc(i32 noundef 3, i32 noundef 1) store ptr %3, ptr %1, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %1, align 8 %6 = load i32, ptr @stdin, align 4 %7 = call i32 @fgets(ptr noundef %5, i32 noundef 3, i32 noundef %6) %8 = load ptr, ptr %1, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %2, align 1 %10 = load ptr, ptr %1, align 8 %11 = call i32 @free(ptr noundef %10) %12 = load i8, ptr %2, align 1 ret i8 %12 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 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/tmp2zedlvi2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [31 x i8] c"(i)nsert, (d)elete, or (g)et? \00", align 1 @stdin = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @in() #0 { %1 = alloca ptr, align 8 %2 = alloca i8, align 1 %3 = call ptr @calloc(i32 noundef 3, i32 noundef 1) store ptr %3, ptr %1, align 8 %4 = call i32 @printf(ptr noundef @.str) %5 = load ptr, ptr %1, align 8 %6 = load i32, ptr @stdin, align 4 %7 = call i32 @fgets(ptr noundef %5, i32 noundef 3, i32 noundef %6) %8 = load ptr, ptr %1, align 8 %9 = load i8, ptr %8, align 1 store i8 %9, ptr %2, align 1 %10 = load ptr, ptr %1, align 8 %11 = call i32 @free(ptr noundef %10) %12 = load i8, ptr %2, align 1 ret i8 %12 } declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @fgets(ptr noundef, i32 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/tmp_or3im1j.c' source_filename = "/tmp/tmp_or3im1j.c" target datalayout = "e-m:e-p270: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_or3im1j.c" target datalayout = "e-m:e-p270: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/tmpr70vnh8p.c' source_filename = "/tmp/tmpr70vnh8p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"extern int \00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"foo%02x%02x (void), \00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"foo%02xff (void);\0Aint bar%02x (int x) { return x\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c" + foo%02x%02x ()\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"; }\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %4 4: ; preds = %35, %0 %5 = load i32, ptr %2, align 4 %6 = icmp slt i32 %5, 256 br i1 %6, label %7, label %38 7: ; preds = %4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 br label %9 9: ; preds = %16, %7 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 255 br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13, i32 noundef %14) br label %16 16: ; preds = %12 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 br label %9, !llvm.loop !6 19: ; preds = %9 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21) store i32 0, ptr %3, align 4 br label %23 23: ; preds = %30, %19 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 256 br i1 %25, label %26, label %33 26: ; preds = %23 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %3, align 4 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %27, i32 noundef %28) br label %30 30: ; preds = %26 %31 = load i32, ptr %3, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %3, align 4 br label %23, !llvm.loop !8 33: ; preds = %23 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %35 35: ; preds = %33 %36 = load i32, ptr %2, align 4 %37 = add nsw i32 %36, 1 store i32 %37, ptr %2, align 4 br label %4, !llvm.loop !9 38: ; preds = %4 %39 = load i32, ptr %1, align 4 ret i32 %39 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpr70vnh8p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"extern int \00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"foo%02x%02x (void), \00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"foo%02xff (void);\0Aint bar%02x (int x) { return x\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c" + foo%02x%02x ()\00", align 1 @.str.4 = private unnamed_addr constant [5 x i8] c"; }\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp slt i32 %4, 256 br i1 %5, label %.lr.ph5, label %41 .lr.ph5: ; preds = %0 br label %6 6: ; preds = %.lr.ph5, %36 %7 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = icmp slt i32 %8, 255 br i1 %9, label %.lr.ph, label %19 .lr.ph: ; preds = %6 br label %10 10: ; preds = %.lr.ph, %14 %11 = load i32, ptr %2, align 4 %12 = load i32, ptr %3, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11, i32 noundef %12) br label %14 14: ; preds = %10 %15 = load i32, ptr %3, align 4 %16 = add nsw i32 %15, 1 store i32 %16, ptr %3, align 4 %17 = load i32, ptr %3, align 4 %18 = icmp slt i32 %17, 255 br i1 %18, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %14 br label %19 19: ; preds = %._crit_edge, %6 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %2, align 4 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %20, i32 noundef %21) store i32 0, ptr %3, align 4 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 256 br i1 %24, label %.lr.ph2, label %34 .lr.ph2: ; preds = %19 br label %25 25: ; preds = %.lr.ph2, %29 %26 = load i32, ptr %2, align 4 %27 = load i32, ptr %3, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %26, i32 noundef %27) br label %29 29: ; preds = %25 %30 = load i32, ptr %3, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = icmp slt i32 %32, 256 br i1 %33, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %34 34: ; preds = %._crit_edge3, %19 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %36 36: ; preds = %34 %37 = load i32, ptr %2, align 4 %38 = add nsw i32 %37, 1 store i32 %38, ptr %2, align 4 %39 = load i32, ptr %2, align 4 %40 = icmp slt i32 %39, 256 br i1 %40, label %6, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %36 br label %41 41: ; preds = %._crit_edge6, %0 %42 = load i32, ptr %1, align 4 ret i32 %42 } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp_ps47aps.c' source_filename = "/tmp/tmp_ps47aps.c" target datalayout = "e-m:e-p270: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.winsize = type { i32, i32, i32, i32 } @__const.fork_pty_child.win = private unnamed_addr constant %struct.winsize { i32 80, i32 24, i32 480, i32 192 }, align 4 @.str = private unnamed_addr constant [12 x i8] c"exec failed\00", align 1 @EX_OSERR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fork_pty_child(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.winsize, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.fork_pty_child.win, i64 16, i1 false) %7 = load ptr, ptr %3, align 8 %8 = call i64 @forkpty(ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef %5) store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ne i64 0, %9 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 ret i32 %13 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = call i32 @execvp(ptr noundef %17, ptr noundef %19) %21 = call i32 @perror(ptr noundef @.str) %22 = load i32, ptr @EX_OSERR, align 4 %23 = call i32 @exit(i32 noundef %22) #4 unreachable } ; 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 i64 @forkpty(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @execvp(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_ps47aps.c" target datalayout = "e-m:e-p270: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.winsize = type { i32, i32, i32, i32 } @__const.fork_pty_child.win = private unnamed_addr constant %struct.winsize { i32 80, i32 24, i32 480, i32 192 }, align 4 @.str = private unnamed_addr constant [12 x i8] c"exec failed\00", align 1 @EX_OSERR = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @fork_pty_child(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca %struct.winsize, align 4 %6 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.fork_pty_child.win, i64 16, i1 false) %7 = load ptr, ptr %3, align 8 %8 = call i64 @forkpty(ptr noundef %7, ptr noundef null, ptr noundef null, ptr noundef %5) store i64 %8, ptr %6, align 8 %9 = load i64, ptr %6, align 8 %10 = icmp ne i64 0, %9 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i64, ptr %6, align 8 %13 = trunc i64 %12 to i32 ret i32 %13 14: ; preds = %2 %15 = load ptr, ptr %4, align 8 %16 = getelementptr inbounds ptr, ptr %15, i64 1 %17 = load ptr, ptr %16, align 8 %18 = load ptr, ptr %4, align 8 %19 = getelementptr inbounds ptr, ptr %18, i64 1 %20 = call i32 @execvp(ptr noundef %17, ptr noundef %19) %21 = call i32 @perror(ptr noundef @.str) %22 = load i32, ptr @EX_OSERR, align 4 %23 = call i32 @exit(i32 noundef %22) #4 unreachable } ; 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 i64 @forkpty(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @execvp(ptr noundef, ptr noundef) #2 declare i32 @perror(ptr noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprg5va4_r.c' source_filename = "/tmp/tmprg5va4_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortValues(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @do_qsort(ptr noundef %9, i64 noundef %10, i64 noundef %11, ptr noundef %12) ret void } declare i32 @do_qsort(ptr noundef, i64 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprg5va4_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sortValues(ptr noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %9 = load ptr, ptr %5, align 8 %10 = load i64, ptr %6, align 8 %11 = load i64, ptr %7, align 8 %12 = load ptr, ptr %8, align 8 %13 = call i32 @do_qsort(ptr noundef %9, i64 noundef %10, i64 noundef %11, ptr noundef %12) ret void } declare i32 @do_qsort(ptr noundef, i64 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"}
; ModuleID = '/tmp/tmpwt036eet.c' source_filename = "/tmp/tmpwt036eet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"inet_aton() failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Sending packet %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"This is packet %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"sendto()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [512 x i8], align 16 store i32 0, ptr %1, align 4 store i32 12, ptr %5, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = load i32, ptr @IPPROTO_UDP, align 4 %10 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @diep(ptr noundef @.str) br label %14 14: ; preds = %12, %0 %15 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 9930) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 %21 = call i64 @inet_aton(ptr noundef @.str.1, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %14 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.2) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %14 store i32 0, ptr %4, align 4 br label %28 28: ; preds = %45, %27 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %29, 10 br i1 %30, label %31, label %48 31: ; preds = %28 %32 = load i32, ptr %4, align 4 %33 = call i32 @printf(ptr noundef @.str.3, i32 noundef %32) %34 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %35 = load i32, ptr %4, align 4 %36 = call i32 @sprintf(ptr noundef %34, ptr noundef @.str.4, i32 noundef %35) %37 = load i32, ptr %3, align 4 %38 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %39 = load i32, ptr %5, align 4 %40 = call i32 @sendto(i32 noundef %37, ptr noundef %38, i32 noundef 512, i32 noundef 0, ptr noundef %2, i32 noundef %39) %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %31 %43 = call i32 @diep(ptr noundef @.str.5) br label %44 44: ; preds = %42, %31 br label %45 45: ; preds = %44 %46 = load i32, ptr %4, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %4, align 4 br label %28, !llvm.loop !6 48: ; preds = %28 %49 = load i32, ptr %3, align 4 %50 = call i32 @close(i32 noundef %49) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @diep(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwt036eet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [7 x i8] c"socket\00", align 1 @.str.1 = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [20 x i8] c"inet_aton() failed\0A\00", align 1 @.str.3 = private unnamed_addr constant [19 x i8] c"Sending packet %d\0A\00", align 1 @.str.4 = private unnamed_addr constant [19 x i8] c"This is packet %d\0A\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"sendto()\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca %struct.sockaddr_in, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [512 x i8], align 16 store i32 0, ptr %1, align 4 store i32 12, ptr %5, align 4 %7 = load i32, ptr @AF_INET, align 4 %8 = load i32, ptr @SOCK_DGRAM, align 4 %9 = load i32, ptr @IPPROTO_UDP, align 4 %10 = call i32 @socket(i32 noundef %7, i32 noundef %8, i32 noundef %9) store i32 %10, ptr %3, align 4 %11 = icmp eq i32 %10, -1 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 @diep(ptr noundef @.str) br label %14 14: ; preds = %12, %0 %15 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef 12) %16 = load i32, ptr @AF_INET, align 4 %17 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 2 store i32 %16, ptr %17, align 4 %18 = call i32 @htons(i32 noundef 9930) %19 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 1 store i32 %18, ptr %19, align 4 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %2, i32 0, i32 0 %21 = call i64 @inet_aton(ptr noundef @.str.1, ptr noundef %20) %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %27 23: ; preds = %14 %24 = load i32, ptr @stderr, align 4 %25 = call i32 @fprintf(i32 noundef %24, ptr noundef @.str.2) %26 = call i32 @exit(i32 noundef 1) #3 unreachable 27: ; preds = %14 store i32 0, ptr %4, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %28, 10 br i1 %29, label %.lr.ph, label %49 .lr.ph: ; preds = %27 br label %30 30: ; preds = %.lr.ph, %44 %31 = load i32, ptr %4, align 4 %32 = call i32 @printf(ptr noundef @.str.3, i32 noundef %31) %33 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %34 = load i32, ptr %4, align 4 %35 = call i32 @sprintf(ptr noundef %33, ptr noundef @.str.4, i32 noundef %34) %36 = load i32, ptr %3, align 4 %37 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0 %38 = load i32, ptr %5, align 4 %39 = call i32 @sendto(i32 noundef %36, ptr noundef %37, i32 noundef 512, i32 noundef 0, ptr noundef %2, i32 noundef %38) %40 = icmp eq i32 %39, -1 br i1 %40, label %41, label %43 41: ; preds = %30 %42 = call i32 @diep(ptr noundef @.str.5) br label %43 43: ; preds = %41, %30 br label %44 44: ; preds = %43 %45 = load i32, ptr %4, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %4, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %47, 10 br i1 %48, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %44 br label %49 49: ; preds = %._crit_edge, %27 %50 = load i32, ptr %3, align 4 %51 = call i32 @close(i32 noundef %50) ret i32 0 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @diep(ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @inet_aton(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @sendto(i32 noundef, ptr noundef, i32 noundef, 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"}
; ModuleID = '/tmp/tmprvzzfzmm.c' source_filename = "/tmp/tmprvzzfzmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RTC_Write_RAM(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @I2C1_Start() %7 = call i32 @I2C1_Wr(i32 noundef 208) %8 = call i32 @I2C1_Wr(i32 noundef 8) store i32 0, ptr %5, align 4 br label %9 9: ; preds = %19, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %22 13: ; preds = %9 %14 = load ptr, ptr %3, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %3, align 8 %16 = load i8, ptr %14, align 1 %17 = sext i8 %16 to i32 %18 = call i32 @I2C1_Wr(i32 noundef %17) br label %19 19: ; preds = %13 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %9, !llvm.loop !6 22: ; preds = %9 %23 = call i32 (...) @I2C1_Stop() ret void } declare i32 @I2C1_Start(...) #1 declare i32 @I2C1_Wr(i32 noundef) #1 declare i32 @I2C1_Stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmprvzzfzmm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RTC_Write_RAM(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = call i32 (...) @I2C1_Start() %7 = call i32 @I2C1_Wr(i32 noundef 208) %8 = call i32 @I2C1_Wr(i32 noundef 8) store i32 0, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %24 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %18 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %3, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = call i32 @I2C1_Wr(i32 noundef %16) br label %18 18: ; preds = %12 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %18 br label %24 24: ; preds = %._crit_edge, %2 %25 = call i32 (...) @I2C1_Stop() ret void } declare i32 @I2C1_Start(...) #1 declare i32 @I2C1_Wr(i32 noundef) #1 declare i32 @I2C1_Stop(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpodb6dk15.c' source_filename = "/tmp/tmpodb6dk15.c" target datalayout = "e-m:e-p270: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/tmpodb6dk15.c" target datalayout = "e-m:e-p270: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_uq04mns.c' source_filename = "/tmp/tmp_uq04mns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"invalid signed integer: \22%s\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sqlSigned(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 45 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %12, %1 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %29, %15 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp sge i32 %20, 48 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 57 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ false, %17 ], [ %26, %22 ] br i1 %28, label %29, label %40 29: ; preds = %27 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %30, 10 store i32 %31, ptr %4, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %34, 48 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %4, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %17, !llvm.loop !6 40: ; preds = %27 %41 = load ptr, ptr %5, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 0 br i1 %44, label %49, label %45 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %6, align 8 %48 = icmp eq ptr %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45, %40 %50 = load ptr, ptr %3, align 8 %51 = call i32 @errAbort(ptr noundef @.str, ptr noundef %50) br label %52 52: ; preds = %49, %45 %53 = load ptr, ptr %3, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 45 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load i32, ptr %4, align 4 %59 = sub nsw i32 0, %58 store i32 %59, ptr %2, align 4 br label %62 60: ; preds = %52 %61 = load i32, ptr %4, align 4 store i32 %61, ptr %2, align 4 br label %62 62: ; preds = %60, %57 %63 = load i32, ptr %2, align 4 ret i32 %63 } declare i32 @errAbort(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_uq04mns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"invalid signed integer: \22%s\22\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sqlSigned(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 store ptr %7, ptr %6, align 8 %8 = load ptr, ptr %6, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp eq i32 %10, 45 br i1 %11, label %12, label %15 12: ; preds = %1 %13 = load ptr, ptr %6, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %12, %1 %16 = load ptr, ptr %6, align 8 store ptr %16, ptr %5, align 8 br label %17 17: ; preds = %29, %15 %18 = load ptr, ptr %5, align 8 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp sge i32 %20, 48 br i1 %21, label %22, label %27 22: ; preds = %17 %23 = load ptr, ptr %5, align 8 %24 = load i8, ptr %23, align 1 %25 = sext i8 %24 to i32 %26 = icmp sle i32 %25, 57 br label %27 27: ; preds = %22, %17 %28 = phi i1 [ false, %17 ], [ %26, %22 ] br i1 %28, label %29, label %40 29: ; preds = %27 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %30, 10 store i32 %31, ptr %4, align 4 %32 = load ptr, ptr %5, align 8 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = sub nsw i32 %34, 48 %36 = load i32, ptr %4, align 4 %37 = add nsw i32 %36, %35 store i32 %37, ptr %4, align 4 %38 = load ptr, ptr %5, align 8 %39 = getelementptr inbounds i8, ptr %38, i32 1 store ptr %39, ptr %5, align 8 br label %17, !llvm.loop !6 40: ; preds = %27 %41 = load ptr, ptr %5, align 8 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp ne i32 %43, 0 br i1 %44, label %49, label %45 45: ; preds = %40 %46 = load ptr, ptr %5, align 8 %47 = load ptr, ptr %6, align 8 %48 = icmp eq ptr %46, %47 br i1 %48, label %49, label %52 49: ; preds = %45, %40 %50 = load ptr, ptr %3, align 8 %51 = call i32 @errAbort(ptr noundef @.str, ptr noundef %50) br label %52 52: ; preds = %49, %45 %53 = load ptr, ptr %3, align 8 %54 = load i8, ptr %53, align 1 %55 = sext i8 %54 to i32 %56 = icmp eq i32 %55, 45 br i1 %56, label %57, label %60 57: ; preds = %52 %58 = load i32, ptr %4, align 4 %59 = sub nsw i32 0, %58 store i32 %59, ptr %2, align 4 br label %62 60: ; preds = %52 %61 = load i32, ptr %4, align 4 store i32 %61, ptr %2, align 4 br label %62 62: ; preds = %60, %57 %63 = load i32, ptr %2, align 4 ret i32 %63 } declare i32 @errAbort(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/tmpndddfyj2.c' source_filename = "/tmp/tmpndddfyj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CalculateMoonShuoJD(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %2, align 8 %9 = load double, ptr %2, align 8 store double %9, ptr %4, align 8 br label %10 10: ; preds = %70, %1 %11 = load double, ptr %4, align 8 store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = call double @GetMoonEclipticLongitudeEC(double noundef %12) store double %13, ptr %7, align 8 %14 = load double, ptr %3, align 8 %15 = call double @GetSunEclipticLongitudeEC(double noundef %14) store double %15, ptr %8, align 8 %16 = load double, ptr %7, align 8 %17 = fcmp ogt double %16, 3.300000e+02 br i1 %17, label %18, label %24 18: ; preds = %10 %19 = load double, ptr %8, align 8 %20 = fcmp olt double %19, 3.000000e+01 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load double, ptr %8, align 8 %23 = fadd double 3.600000e+02, %22 store double %23, ptr %8, align 8 br label %24 24: ; preds = %21, %18, %10 %25 = load double, ptr %8, align 8 %26 = fcmp ogt double %25, 3.300000e+02 br i1 %26, label %27, label %33 27: ; preds = %24 %28 = load double, ptr %7, align 8 %29 = fcmp olt double %28, 3.000000e+01 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load double, ptr %7, align 8 %32 = fadd double 6.000000e+01, %31 store double %32, ptr %7, align 8 br label %33 33: ; preds = %30, %27, %24 %34 = load double, ptr %7, align 8 %35 = load double, ptr %8, align 8 %36 = fsub double %34, %35 store double %36, ptr %5, align 8 %37 = load double, ptr %5, align 8 %38 = fcmp oge double %37, 3.600000e+02 br i1 %38, label %39, label %42 39: ; preds = %33 %40 = load double, ptr %5, align 8 %41 = fsub double %40, 3.600000e+02 store double %41, ptr %5, align 8 br label %42 42: ; preds = %39, %33 %43 = load double, ptr %5, align 8 %44 = fcmp olt double %43, -3.600000e+02 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load double, ptr %5, align 8 %47 = fadd double %46, 3.600000e+02 store double %47, ptr %5, align 8 br label %48 48: ; preds = %45, %42 %49 = load double, ptr %3, align 8 %50 = fadd double %49, 5.000000e-06 %51 = call double @GetMoonEclipticLongitudeEC(double noundef %50) %52 = load double, ptr %3, align 8 %53 = fadd double %52, 5.000000e-06 %54 = call double @GetSunEclipticLongitudeEC(double noundef %53) %55 = fsub double %51, %54 %56 = load double, ptr %3, align 8 %57 = fsub double %56, 5.000000e-06 %58 = call double @GetMoonEclipticLongitudeEC(double noundef %57) %59 = fsub double %55, %58 %60 = load double, ptr %3, align 8 %61 = fsub double %60, 5.000000e-06 %62 = call double @GetSunEclipticLongitudeEC(double noundef %61) %63 = fadd double %59, %62 %64 = fdiv double %63, 1.000000e-05 store double %64, ptr %6, align 8 %65 = load double, ptr %3, align 8 %66 = load double, ptr %5, align 8 %67 = load double, ptr %6, align 8 %68 = fdiv double %66, %67 %69 = fsub double %65, %68 store double %69, ptr %4, align 8 br label %70 70: ; preds = %48 %71 = load double, ptr %4, align 8 %72 = load double, ptr %3, align 8 %73 = fsub double %71, %72 %74 = call double @llvm.fabs.f64(double %73) %75 = fcmp ogt double %74, 1.000000e-08 br i1 %75, label %10, label %76, !llvm.loop !6 76: ; preds = %70 %77 = load double, ptr %4, align 8 ret double %77 } declare double @GetMoonEclipticLongitudeEC(double noundef) #1 declare double @GetSunEclipticLongitudeEC(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpndddfyj2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @CalculateMoonShuoJD(double noundef %0) #0 { %2 = alloca double, align 8 %3 = alloca double, align 8 %4 = alloca double, align 8 %5 = alloca double, align 8 %6 = alloca double, align 8 %7 = alloca double, align 8 %8 = alloca double, align 8 store double %0, ptr %2, align 8 %9 = load double, ptr %2, align 8 store double %9, ptr %4, align 8 br label %10 10: ; preds = %70, %1 %11 = load double, ptr %4, align 8 store double %11, ptr %3, align 8 %12 = load double, ptr %3, align 8 %13 = call double @GetMoonEclipticLongitudeEC(double noundef %12) store double %13, ptr %7, align 8 %14 = load double, ptr %3, align 8 %15 = call double @GetSunEclipticLongitudeEC(double noundef %14) store double %15, ptr %8, align 8 %16 = load double, ptr %7, align 8 %17 = fcmp ogt double %16, 3.300000e+02 br i1 %17, label %18, label %24 18: ; preds = %10 %19 = load double, ptr %8, align 8 %20 = fcmp olt double %19, 3.000000e+01 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = load double, ptr %8, align 8 %23 = fadd double 3.600000e+02, %22 store double %23, ptr %8, align 8 br label %24 24: ; preds = %21, %18, %10 %25 = load double, ptr %8, align 8 %26 = fcmp ogt double %25, 3.300000e+02 br i1 %26, label %27, label %33 27: ; preds = %24 %28 = load double, ptr %7, align 8 %29 = fcmp olt double %28, 3.000000e+01 br i1 %29, label %30, label %33 30: ; preds = %27 %31 = load double, ptr %7, align 8 %32 = fadd double 6.000000e+01, %31 store double %32, ptr %7, align 8 br label %33 33: ; preds = %30, %27, %24 %34 = load double, ptr %7, align 8 %35 = load double, ptr %8, align 8 %36 = fsub double %34, %35 store double %36, ptr %5, align 8 %37 = load double, ptr %5, align 8 %38 = fcmp oge double %37, 3.600000e+02 br i1 %38, label %39, label %42 39: ; preds = %33 %40 = load double, ptr %5, align 8 %41 = fsub double %40, 3.600000e+02 store double %41, ptr %5, align 8 br label %42 42: ; preds = %39, %33 %43 = load double, ptr %5, align 8 %44 = fcmp olt double %43, -3.600000e+02 br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load double, ptr %5, align 8 %47 = fadd double %46, 3.600000e+02 store double %47, ptr %5, align 8 br label %48 48: ; preds = %45, %42 %49 = load double, ptr %3, align 8 %50 = fadd double %49, 5.000000e-06 %51 = call double @GetMoonEclipticLongitudeEC(double noundef %50) %52 = load double, ptr %3, align 8 %53 = fadd double %52, 5.000000e-06 %54 = call double @GetSunEclipticLongitudeEC(double noundef %53) %55 = fsub double %51, %54 %56 = load double, ptr %3, align 8 %57 = fsub double %56, 5.000000e-06 %58 = call double @GetMoonEclipticLongitudeEC(double noundef %57) %59 = fsub double %55, %58 %60 = load double, ptr %3, align 8 %61 = fsub double %60, 5.000000e-06 %62 = call double @GetSunEclipticLongitudeEC(double noundef %61) %63 = fadd double %59, %62 %64 = fdiv double %63, 1.000000e-05 store double %64, ptr %6, align 8 %65 = load double, ptr %3, align 8 %66 = load double, ptr %5, align 8 %67 = load double, ptr %6, align 8 %68 = fdiv double %66, %67 %69 = fsub double %65, %68 store double %69, ptr %4, align 8 br label %70 70: ; preds = %48 %71 = load double, ptr %4, align 8 %72 = load double, ptr %3, align 8 %73 = fsub double %71, %72 %74 = call double @llvm.fabs.f64(double %73) %75 = fcmp ogt double %74, 1.000000e-08 br i1 %75, label %10, label %76, !llvm.loop !6 76: ; preds = %70 %77 = load double, ptr %4, align 8 ret double %77 } declare double @GetMoonEclipticLongitudeEC(double noundef) #1 declare double @GetSunEclipticLongitudeEC(double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fabs.f64(double) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpz9l_dwuh.c' source_filename = "/tmp/tmpz9l_dwuh.c" target datalayout = "e-m:e-p270: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/tmpz9l_dwuh.c" target datalayout = "e-m:e-p270: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/tmp4flq38wu.c' source_filename = "/tmp/tmp4flq38wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @escreveVETOR(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %17, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %20 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 @putchar(i32 noundef %15) br label %17 17: ; preds = %10 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 br label %6, !llvm.loop !6 20: ; preds = %6 ret void } declare i32 @putchar(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/tmp4flq38wu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @escreveVETOR(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %22 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %16 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i32, ptr %10, i64 %12 %14 = load i32, ptr %13, align 4 %15 = call i32 @putchar(i32 noundef %14) br label %16 16: ; preds = %9 %17 = load i32, ptr %5, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %5, align 4 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %4, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %2 ret void } declare i32 @putchar(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/tmpjq6xtpep.c' source_filename = "/tmp/tmpjq6xtpep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"/usr/bin/passwd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr @.str, ptr %7, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @system(ptr noundef %8) store i32 %9, ptr %6, align 4 ret i32 0 } 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/tmpjq6xtpep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"/usr/bin/passwd\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr @.str, ptr %7, align 8 %8 = load ptr, ptr %7, align 8 %9 = call i32 @system(ptr noundef %8) store i32 %9, ptr %6, align 4 ret i32 0 } 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/tmprbtc61vt.c' source_filename = "/tmp/tmprbtc61vt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_buffer_parse_katcl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = 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 %12 = load ptr, ptr %8, align 8 store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i64 @before_add_parse_katcl(ptr noundef %13, i32 noundef %14) %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -1, ptr %5, align 4 br label %38 18: ; preds = %4 %19 = load i32, ptr %9, align 4 %20 = icmp ugt i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %9, align 4 %24 = add i32 %23, 1 %25 = call ptr @request_space_parse_katcl(ptr noundef %22, i32 noundef %24) store ptr %25, ptr %11, align 8 %26 = load ptr, ptr %11, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %21 store i32 -1, ptr %5, align 4 br label %38 29: ; preds = %21 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %10, align 8 %32 = load i32, ptr %9, align 4 %33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef %32) br label %34 34: ; preds = %29, %18 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %9, align 4 %37 = call i32 @after_add_parse_katcl(ptr noundef %35, i32 noundef %36, i32 noundef 1) store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %34, %28, %17 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i64 @before_add_parse_katcl(ptr noundef, i32 noundef) #1 declare ptr @request_space_parse_katcl(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @after_add_parse_katcl(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprbtc61vt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @add_buffer_parse_katcl(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = 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 %12 = load ptr, ptr %8, align 8 store ptr %12, ptr %10, align 8 %13 = load ptr, ptr %6, align 8 %14 = load i32, ptr %7, align 4 %15 = call i64 @before_add_parse_katcl(ptr noundef %13, i32 noundef %14) %16 = icmp slt i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %4 store i32 -1, ptr %5, align 4 br label %38 18: ; preds = %4 %19 = load i32, ptr %9, align 4 %20 = icmp ugt i32 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %18 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %9, align 4 %24 = add i32 %23, 1 %25 = call ptr @request_space_parse_katcl(ptr noundef %22, i32 noundef %24) store ptr %25, ptr %11, align 8 %26 = load ptr, ptr %11, align 8 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %29 28: ; preds = %21 store i32 -1, ptr %5, align 4 br label %38 29: ; preds = %21 %30 = load ptr, ptr %11, align 8 %31 = load ptr, ptr %10, align 8 %32 = load i32, ptr %9, align 4 %33 = call i32 @memcpy(ptr noundef %30, ptr noundef %31, i32 noundef %32) br label %34 34: ; preds = %29, %18 %35 = load ptr, ptr %6, align 8 %36 = load i32, ptr %9, align 4 %37 = call i32 @after_add_parse_katcl(ptr noundef %35, i32 noundef %36, i32 noundef 1) store i32 %37, ptr %5, align 4 br label %38 38: ; preds = %34, %28, %17 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i64 @before_add_parse_katcl(ptr noundef, i32 noundef) #1 declare ptr @request_space_parse_katcl(ptr noundef, i32 noundef) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @after_add_parse_katcl(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpjq_cws7q.c' source_filename = "/tmp/tmpjq_cws7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_cos(i32 noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = add nsw i32 %8, 1 %10 = srem i32 %9, 4 %11 = load double, ptr %6, align 8 %12 = call double @eval_sin(i32 noundef %7, i32 noundef %10, double noundef %11) ret double %12 } declare double @eval_sin(i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjq_cws7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @eval_cos(i32 noundef %0, i32 noundef %1, double noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca double, align 8 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store double %2, ptr %6, align 8 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr %5, align 4 %9 = add nsw i32 %8, 1 %10 = srem i32 %9, 4 %11 = load double, ptr %6, align 8 %12 = call double @eval_sin(i32 noundef %7, i32 noundef %10, double noundef %11) ret double %12 } declare double @eval_sin(i32 noundef, i32 noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnrss6pot.c' source_filename = "/tmp/tmpnrss6pot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MP_prozess5() #0 { %1 = alloca i64, align 8 store i64 1, ptr %1, align 8 br label %2 2: ; preds = %0, %2 %3 = call i32 (...) @GP_break50() %4 = call i32 @MP_motor(i32 noundef 3, i32 noundef 1) %5 = load i64, ptr %1, align 8 %6 = call i32 @MP_sleep(i64 noundef %5) %7 = call i32 @MP_motor(i32 noundef 3, i32 noundef 0) %8 = load i64, ptr %1, align 8 %9 = call i32 @MP_sleep(i64 noundef %8) br label %2 } declare i32 @GP_break50(...) #1 declare i32 @MP_motor(i32 noundef, i32 noundef) #1 declare i32 @MP_sleep(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/tmpnrss6pot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @MP_prozess5() #0 { %1 = alloca i64, align 8 store i64 1, ptr %1, align 8 br label %2 2: ; preds = %2, %0 %3 = call i32 (...) @GP_break50() %4 = call i32 @MP_motor(i32 noundef 3, i32 noundef 1) %5 = load i64, ptr %1, align 8 %6 = call i32 @MP_sleep(i64 noundef %5) %7 = call i32 @MP_motor(i32 noundef 3, i32 noundef 0) %8 = load i64, ptr %1, align 8 %9 = call i32 @MP_sleep(i64 noundef %8) br label %2 } declare i32 @GP_break50(...) #1 declare i32 @MP_motor(i32 noundef, i32 noundef) #1 declare i32 @MP_sleep(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/tmpup7c1jft.c' source_filename = "/tmp/tmpup7c1jft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfyyfree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpup7c1jft.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sfyyfree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @free(ptr noundef %3) ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk4ue39hd.c' source_filename = "/tmp/tmpk4ue39hd.c" target datalayout = "e-m:e-p270: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 [109 x i8] c"the random walker requires at least 6 arguments (only the 7th in the list below is optional), there were %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"insufficient invocation arguments\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"i:r:l:s:S:m:L\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [18 x i8] c"unknown option %c\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"size_t in %zd bytes\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"failed to set affinity\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c" process pinned to core %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c" failed to malloc pattern for size = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"malloc of pattern failed\00", align 1 @.str.9 = private unnamed_addr constant [52 x i8] c" failed to malloc index array for line_count of %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [23 x i8] c"failed to malloc index\00", align 1 @.str.11 = private unnamed_addr constant [67 x i8] c" line count must be a multiple of the fifth argument num_seg = %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [16 x i8] c" bad line_count\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c" count = %d, index = %d\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @MAP_HUGETLB = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.14 = private unnamed_addr constant [13 x i8] c"mmap failed\0A\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"mmap failed\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c" buf1 = %p\0A\00", align 1 @.str.17 = private unnamed_addr constant [54 x i8] c" buf_size = %zu, zero_loop = %zu, array_stride = %zd\0A\00", align 1 @.str.18 = private unnamed_addr constant [32 x i8] c" finished zeroing buf ret = %p\0A\00", align 1 @.str.19 = private unnamed_addr constant [39 x i8] c" target of last element in loop = %zx\0A\00", align 1 @.str.20 = private unnamed_addr constant [28 x i8] c"cannot set cpu run affinity\00", align 1 @.str.21 = private unnamed_addr constant [35 x i8] c" process pinned to core %d to run\0A\00", align 1 @.str.22 = private unnamed_addr constant [115 x i8] c" calling walker %d times which loops %d times on buffer of %d lines with a stride of %d, for a total size of %zu\0A\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c" run time = %zd\0A\00", align 1 @.str.24 = private unnamed_addr constant [36 x i8] c" average cycles per iteration = %f\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 i64, align 8 %10 = alloca i64, align 8 %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 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca i32, align 4 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i64, align 8 %37 = alloca i64, align 8 %38 = alloca i64, align 8 %39 = alloca i64, align 8 %40 = alloca i64, align 8 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca ptr, align 8 %44 = alloca i32, align 4 %45 = alloca i32, align 4 %46 = alloca ptr, align 8 %47 = alloca i32, align 4 %48 = alloca i32, align 4 %49 = alloca i32, align 4 %50 = alloca i32, align 4 %51 = alloca i32, align 4 %52 = 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 store i64 0, ptr %9, align 8 store i32 -1, ptr %18, align 4 store i32 0, ptr %19, align 4 store i32 10240000, ptr %20, align 4 store i32 100, ptr %21, align 4 store i32 1, ptr %22, align 4 store i32 0, ptr %23, align 4 store i64 0, ptr %31, align 8 store i32 0, ptr %32, align 4 store i32 32, ptr %49, align 4 store i32 0, ptr %50, align 4 store i64 4096, ptr %39, align 8 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %53, 6 br i1 %54, label %55, label %61 55: ; preds = %2 %56 = load i32, ptr @stderr, align 4 %57 = load i32, ptr %4, align 4 %58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str, i32 noundef %57) %59 = call i32 (...) @usage() %60 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.1) br label %61 61: ; preds = %55, %2 br label %62 62: ; preds = %91, %61 %63 = load i32, ptr %4, align 4 %64 = load ptr, ptr %5, align 8 %65 = call i32 @getopt(i32 noundef %63, ptr noundef %64, ptr noundef @.str.2) store i32 %65, ptr %45, align 4 %66 = icmp ne i32 %65, -1 br i1 %66, label %67, label %92 67: ; preds = %62 %68 = load i32, ptr %45, align 4 switch i32 %68, label %88 [ i32 105, label %69 i32 114, label %72 i32 108, label %75 i32 115, label %78 i32 83, label %81 i32 109, label %84 i32 76, label %87 ] 69: ; preds = %67 %70 = load i32, ptr @optarg, align 4 %71 = call i32 @atoi(i32 noundef %70) store i32 %71, ptr %14, align 4 br label %91 72: ; preds = %67 %73 = load i32, ptr @optarg, align 4 %74 = call i32 @atoi(i32 noundef %73) store i32 %74, ptr %15, align 4 br label %91 75: ; preds = %67 %76 = load i32, ptr @optarg, align 4 %77 = call i32 @atoi(i32 noundef %76) store i32 %77, ptr %16, align 4 br label %91 78: ; preds = %67 %79 = load i32, ptr @optarg, align 4 %80 = call i32 @atoi(i32 noundef %79) store i32 %80, ptr %17, align 4 br label %91 81: ; preds = %67 %82 = load i32, ptr @optarg, align 4 %83 = call i32 @atoi(i32 noundef %82) store i32 %83, ptr %49, align 4 br label %91 84: ; preds = %67 %85 = load i32, ptr @optarg, align 4 %86 = call i32 @atoi(i32 noundef %85) store i32 %86, ptr %22, align 4 br label %91 87: ; preds = %67 store i32 1, ptr %50, align 4 store i64 2097152, ptr %39, align 8 br label %91 88: ; preds = %67 %89 = load i32, ptr %45, align 4 %90 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, i32 noundef %89) br label %91 91: ; preds = %88, %87, %84, %81, %78, %75, %72, %69 br label %62, !llvm.loop !6 92: ; preds = %62 %93 = load i32, ptr %21, align 4 %94 = load i32, ptr %22, align 4 %95 = mul nsw i32 %93, %94 store i32 %95, ptr %21, align 4 store i64 8, ptr %40, align 8 %96 = load i32, ptr @stderr, align 4 %97 = load i64, ptr %40, align 8 %98 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.4, i64 noundef %97) %99 = load i32, ptr %32, align 4 %100 = load i32, ptr %14, align 4 %101 = call i32 @pin_cpu(i32 noundef %99, i32 noundef %100) %102 = icmp eq i32 %101, -1 br i1 %102, label %103, label %105 103: ; preds = %92 %104 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5) br label %109 105: ; preds = %92 %106 = load i32, ptr @stderr, align 4 %107 = load i32, ptr %14, align 4 %108 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %106, ptr noundef @.str.6, i32 noundef %107) br label %109 109: ; preds = %105, %103 %110 = load i32, ptr %49, align 4 %111 = sext i32 %110 to i64 %112 = mul i64 %111, 4 %113 = trunc i64 %112 to i32 %114 = call i64 @malloc(i32 noundef %113) %115 = inttoptr i64 %114 to ptr store ptr %115, ptr %43, align 8 %116 = load ptr, ptr %43, align 8 %117 = icmp eq ptr %116, null br i1 %117, label %118, label %123 118: ; preds = %109 %119 = load i32, ptr @stderr, align 4 %120 = load i32, ptr %49, align 4 %121 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.7, i32 noundef %120) %122 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.8) br label %123 123: ; preds = %118, %109 %124 = load i64, ptr %39, align 8 %125 = load i32, ptr %17, align 4 %126 = sext i32 %125 to i64 %127 = mul i64 %124, %126 %128 = add i64 %127, 64 %129 = trunc i64 %128 to i32 store i32 %129, ptr %17, align 4 %130 = load i32, ptr %16, align 4 %131 = sext i32 %130 to i64 %132 = load i32, ptr %17, align 4 %133 = sext i32 %132 to i64 %134 = mul i64 %131, %133 store i64 %134, ptr %33, align 8 %135 = load i64, ptr %33, align 8 %136 = load i64, ptr %39, align 8 %137 = udiv i64 %135, %136 %138 = add i64 %137, 2 store i64 %138, ptr %38, align 8 %139 = load i64, ptr %39, align 8 %140 = load i64, ptr %38, align 8 %141 = mul i64 %139, %140 store i64 %141, ptr %33, align 8 %142 = load i32, ptr %17, align 4 %143 = sext i32 %142 to i64 %144 = udiv i64 %143, 8 store i64 %144, ptr %10, align 8 %145 = load i32, ptr %21, align 4 %146 = sitofp i32 %145 to double %147 = load i32, ptr %20, align 4 %148 = sitofp i32 %147 to double %149 = fmul double %146, %148 store double %149, ptr %24, align 8 %150 = load i32, ptr %16, align 4 %151 = sext i32 %150 to i64 %152 = mul i64 %151, 4 %153 = trunc i64 %152 to i32 %154 = call i64 @malloc(i32 noundef %153) %155 = inttoptr i64 %154 to ptr store ptr %155, ptr %46, align 8 %156 = load ptr, ptr %46, align 8 %157 = icmp eq ptr %156, null br i1 %157, label %158, label %163 158: ; preds = %123 %159 = load i32, ptr @stderr, align 4 %160 = load i32, ptr %16, align 4 %161 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %159, ptr noundef @.str.9, i32 noundef %160) %162 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.10) br label %163 163: ; preds = %158, %123 %164 = load i32, ptr %49, align 4 %165 = icmp eq i32 %164, 1 br i1 %165, label %166, label %181 166: ; preds = %163 store i32 0, ptr %11, align 4 br label %167 167: ; preds = %177, %166 %168 = load i32, ptr %11, align 4 %169 = load i32, ptr %16, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %171, label %180 171: ; preds = %167 %172 = load i32, ptr %11, align 4 %173 = load ptr, ptr %46, align 8 %174 = load i32, ptr %11, align 4 %175 = sext i32 %174 to i64 %176 = getelementptr inbounds i32, ptr %173, i64 %175 store i32 %172, ptr %176, align 4 br label %177 177: ; preds = %171 %178 = load i32, ptr %11, align 4 %179 = add nsw i32 %178, 1 store i32 %179, ptr %11, align 4 br label %167, !llvm.loop !8 180: ; preds = %167 br label %264 181: ; preds = %163 %182 = load ptr, ptr %43, align 8 %183 = load i32, ptr %49, align 4 %184 = call i32 @rndm_list(ptr noundef %182, i32 noundef %183) %185 = load i32, ptr %16, align 4 %186 = load i32, ptr %49, align 4 %187 = sdiv i32 %185, %186 store i32 %187, ptr %47, align 4 %188 = load i32, ptr %47, align 4 %189 = load i32, ptr %49, align 4 %190 = mul nsw i32 %188, %189 %191 = load i32, ptr %16, align 4 %192 = icmp ne i32 %190, %191 br i1 %192, label %193, label %198 193: ; preds = %181 %194 = load i32, ptr @stderr, align 4 %195 = load i32, ptr %49, align 4 %196 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %194, ptr noundef @.str.11, i32 noundef %195) %197 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.12) br label %198 198: ; preds = %193, %181 store i32 0, ptr %48, align 4 %199 = load i64, ptr %33, align 8 %200 = load i32, ptr %49, align 4 %201 = sext i32 %200 to i64 %202 = udiv i64 %199, %201 store i64 %202, ptr %36, align 8 store i32 0, ptr %11, align 4 br label %203 203: ; preds = %260, %198 %204 = load i32, ptr %11, align 4 %205 = load i32, ptr %47, align 4 %206 = icmp slt i32 %204, %205 br i1 %206, label %207, label %263 207: ; preds = %203 store i32 0, ptr %44, align 4 store i32 0, ptr %12, align 4 br label %208 208: ; preds = %256, %207 %209 = load i32, ptr %12, align 4 %210 = load i32, ptr %49, align 4 %211 = icmp slt i32 %209, %210 br i1 %211, label %212, label %259 212: ; preds = %208 %213 = load i32, ptr %48, align 4 %214 = add nsw i32 %213, 1 store i32 %214, ptr %48, align 4 %215 = load i32, ptr %12, align 4 %216 = load i32, ptr %49, align 4 %217 = sub nsw i32 %216, 1 %218 = icmp eq i32 %215, %217 br i1 %218, label %219, label %220 219: ; preds = %212 store i32 1, ptr %44, align 4 br label %220 220: ; preds = %219, %212 %221 = load i32, ptr %47, align 4 %222 = load ptr, ptr %43, align 8 %223 = load i32, ptr %12, align 4 %224 = sext i32 %223 to i64 %225 = getelementptr inbounds i32, ptr %222, i64 %224 %226 = load i32, ptr %225, align 4 %227 = mul nsw i32 %221, %226 %228 = sext i32 %227 to i64 store i64 %228, ptr %37, align 8 %229 = load i64, ptr %37, align 8 %230 = trunc i64 %229 to i32 %231 = load i32, ptr %11, align 4 %232 = add nsw i32 %230, %231 %233 = load i32, ptr %44, align 4 %234 = add nsw i32 %232, %233 %235 = load ptr, ptr %46, align 8 %236 = load i32, ptr %48, align 4 %237 = sext i32 %236 to i64 %238 = getelementptr inbounds i32, ptr %235, i64 %237 store i32 %234, ptr %238, align 4 %239 = load ptr, ptr %46, align 8 %240 = load i32, ptr %48, align 4 %241 = sext i32 %240 to i64 %242 = getelementptr inbounds i32, ptr %239, i64 %241 %243 = load i32, ptr %242, align 4 %244 = load i32, ptr %16, align 4 %245 = icmp sge i32 %243, %244 br i1 %245, label %246, label %255 246: ; preds = %220 %247 = load i32, ptr %48, align 4 %248 = sitofp i32 %247 to double %249 = load ptr, ptr %46, align 8 %250 = load i32, ptr %48, align 4 %251 = sext i32 %250 to i64 %252 = getelementptr inbounds i32, ptr %249, i64 %251 %253 = load i32, ptr %252, align 4 %254 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.13, double noundef %248, i32 noundef %253) br label %255 255: ; preds = %246, %220 br label %256 256: ; preds = %255 %257 = load i32, ptr %12, align 4 %258 = add nsw i32 %257, 1 store i32 %258, ptr %12, align 4 br label %208, !llvm.loop !9 259: ; preds = %208 br label %260 260: ; preds = %259 %261 = load i32, ptr %11, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %11, align 4 br label %203, !llvm.loop !10 263: ; preds = %203 br label %264 264: ; preds = %263, %180 %265 = load ptr, ptr %46, align 8 %266 = getelementptr inbounds i32, ptr %265, i64 0 store i32 0, ptr %266, align 4 %267 = load i32, ptr %50, align 4 %268 = icmp eq i32 %267, 0 br i1 %268, label %269, label %281 269: ; preds = %264 %270 = load i64, ptr %33, align 8 %271 = load i32, ptr @PROT_READ, align 4 %272 = load i32, ptr @PROT_WRITE, align 4 %273 = or i32 %271, %272 %274 = load i32, ptr @MAP_PRIVATE, align 4 %275 = load i32, ptr @MAP_ANON, align 4 %276 = or i32 %274, %275 %277 = load i32, ptr %18, align 4 %278 = load i32, ptr %19, align 4 %279 = call i64 @mmap(ptr noundef null, i64 noundef %270, i32 noundef %273, i32 noundef %276, i32 noundef %277, i32 noundef %278) %280 = inttoptr i64 %279 to ptr store ptr %280, ptr %6, align 8 br label %281 281: ; preds = %269, %264 %282 = load i32, ptr %50, align 4 %283 = icmp eq i32 %282, 1 br i1 %283, label %284, label %298 284: ; preds = %281 %285 = load i64, ptr %33, align 8 %286 = load i32, ptr @PROT_READ, align 4 %287 = load i32, ptr @PROT_WRITE, align 4 %288 = or i32 %286, %287 %289 = load i32, ptr @MAP_PRIVATE, align 4 %290 = load i32, ptr @MAP_ANON, align 4 %291 = or i32 %289, %290 %292 = load i32, ptr @MAP_HUGETLB, align 4 %293 = or i32 %291, %292 %294 = load i32, ptr %18, align 4 %295 = load i32, ptr %19, align 4 %296 = call i64 @mmap(ptr noundef null, i64 noundef %285, i32 noundef %288, i32 noundef %293, i32 noundef %294, i32 noundef %295) %297 = inttoptr i64 %296 to ptr store ptr %297, ptr %6, align 8 br label %298 298: ; preds = %284, %281 %299 = load ptr, ptr %6, align 8 %300 = load ptr, ptr @MAP_FAILED, align 8 %301 = icmp eq ptr %299, %300 br i1 %301, label %302, label %306 302: ; preds = %298 %303 = load i32, ptr @stderr, align 4 %304 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %303, ptr noundef @.str.14) %305 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.15) br label %306 306: ; preds = %302, %298 %307 = load i32, ptr @stderr, align 4 %308 = load ptr, ptr %6, align 8 %309 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %307, ptr noundef @.str.16, ptr noundef %308) %310 = load i64, ptr %33, align 8 %311 = load i64, ptr %40, align 8 %312 = udiv i64 %310, %311 store i64 %312, ptr %35, align 8 %313 = load i32, ptr @stderr, align 4 %314 = load i64, ptr %33, align 8 %315 = load i64, ptr %35, align 8 %316 = load i64, ptr %10, align 8 %317 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %313, ptr noundef @.str.17, i64 noundef %314, i64 noundef %315, i64 noundef %316) %318 = load ptr, ptr %6, align 8 store ptr %318, ptr %8, align 8 %319 = load ptr, ptr %6, align 8 %320 = load i64, ptr %33, align 8 %321 = call ptr @memset(ptr noundef %319, i32 noundef 0, i64 noundef %320) store ptr %321, ptr %7, align 8 %322 = load i32, ptr @stderr, align 4 %323 = load ptr, ptr %7, align 8 %324 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %322, ptr noundef @.str.18, ptr noundef %323) store i64 0, ptr %34, align 8 br label %325 325: ; preds = %352, %306 %326 = load i64, ptr %34, align 8 %327 = load i32, ptr %16, align 4 %328 = sub nsw i32 %327, 1 %329 = sext i32 %328 to i64 %330 = icmp ult i64 %326, %329 br i1 %330, label %331, label %355 331: ; preds = %325 %332 = load ptr, ptr %8, align 8 %333 = load ptr, ptr %46, align 8 %334 = load i64, ptr %34, align 8 %335 = add i64 %334, 1 %336 = getelementptr inbounds i32, ptr %333, i64 %335 %337 = load i32, ptr %336, align 4 %338 = sext i32 %337 to i64 %339 = load i64, ptr %10, align 8 %340 = mul i64 %338, %339 %341 = getelementptr inbounds i64, ptr %332, i64 %340 %342 = ptrtoint ptr %341 to i64 %343 = load ptr, ptr %8, align 8 %344 = load ptr, ptr %46, align 8 %345 = load i64, ptr %34, align 8 %346 = getelementptr inbounds i32, ptr %344, i64 %345 %347 = load i32, ptr %346, align 4 %348 = sext i32 %347 to i64 %349 = load i64, ptr %10, align 8 %350 = mul i64 %348, %349 %351 = getelementptr inbounds i64, ptr %343, i64 %350 store i64 %342, ptr %351, align 8 br label %352 352: ; preds = %331 %353 = load i64, ptr %34, align 8 %354 = add i64 %353, 1 store i64 %354, ptr %34, align 8 br label %325, !llvm.loop !11 355: ; preds = %325 %356 = load i32, ptr @stderr, align 4 %357 = load ptr, ptr %8, align 8 %358 = load i32, ptr %16, align 4 %359 = sub nsw i32 %358, 1 %360 = sext i32 %359 to i64 %361 = getelementptr inbounds i64, ptr %357, i64 %360 %362 = load i64, ptr %361, align 8 %363 = load ptr, ptr %6, align 8 %364 = ptrtoint ptr %363 to i64 %365 = sub i64 %362, %364 %366 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %356, ptr noundef @.str.19, i64 noundef %365) %367 = load ptr, ptr %8, align 8 %368 = getelementptr inbounds i64, ptr %367, i64 0 %369 = ptrtoint ptr %368 to i64 %370 = load ptr, ptr %8, align 8 %371 = load i64, ptr %10, align 8 %372 = load i32, ptr %16, align 4 %373 = sub nsw i32 %372, 1 %374 = sext i32 %373 to i64 %375 = mul i64 %371, %374 %376 = getelementptr inbounds i64, ptr %370, i64 %375 store i64 %369, ptr %376, align 8 %377 = load i32, ptr %32, align 4 %378 = load i32, ptr %15, align 4 %379 = call i32 @pin_cpu(i32 noundef %377, i32 noundef %378) %380 = icmp eq i32 %379, -1 br i1 %380, label %381, label %383 381: ; preds = %355 %382 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.20) br label %387 383: ; preds = %355 %384 = load i32, ptr %15, align 4 %385 = sitofp i32 %384 to double %386 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.21, double noundef %385) br label %387 387: ; preds = %383, %381 %388 = load i32, ptr %21, align 4 %389 = sitofp i32 %388 to double %390 = load i32, ptr %20, align 4 %391 = load i32, ptr %16, align 4 %392 = load i32, ptr %17, align 4 %393 = load i64, ptr %33, align 8 %394 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.22, double noundef %389, i32 noundef %390, i32 noundef %391, i32 noundef %392, i64 noundef %393) %395 = call i64 (...) @_rdtsc() store i64 %395, ptr %28, align 8 store i32 0, ptr %11, align 4 br label %396 396: ; preds = %409, %387 %397 = load i32, ptr %11, align 4 %398 = load i32, ptr %21, align 4 %399 = icmp slt i32 %397, %398 br i1 %399, label %400, label %412 400: ; preds = %396 %401 = call i64 (...) @_rdtsc() store i64 %401, ptr %25, align 8 %402 = load i32, ptr %20, align 4 %403 = load ptr, ptr %8, align 8 %404 = call i64 @reader(i32 noundef %402, ptr noundef %403) store i64 %404, ptr %9, align 8 %405 = call i64 (...) @_rdtsc() store i64 %405, ptr %26, align 8 %406 = load i64, ptr %26, align 8 %407 = load i64, ptr %25, align 8 %408 = sub i64 %406, %407 store i64 %408, ptr %27, align 8 br label %409 409: ; preds = %400 %410 = load i32, ptr %11, align 4 %411 = add nsw i32 %410, 1 store i32 %411, ptr %11, align 4 br label %396, !llvm.loop !12 412: ; preds = %396 %413 = call i64 (...) @_rdtsc() store i64 %413, ptr %29, align 8 %414 = load i64, ptr %29, align 8 %415 = load i64, ptr %28, align 8 %416 = sub i64 %414, %415 store i64 %416, ptr %30, align 8 %417 = load i64, ptr %30, align 8 %418 = uitofp i64 %417 to double %419 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.23, double noundef %418) %420 = load i64, ptr %30, align 8 %421 = uitofp i64 %420 to double %422 = load double, ptr %24, align 8 %423 = fdiv double %421, %422 %424 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.24, double noundef %423) %425 = load i32, ptr %23, align 4 ret i32 %425 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @usage(...) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @pin_cpu(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @rndm_list(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef, ...) #1 declare i64 @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @_rdtsc(...) #1 declare i64 @reader(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk4ue39hd.c" target datalayout = "e-m:e-p270: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 [109 x i8] c"the random walker requires at least 6 arguments (only the 7th in the list below is optional), there were %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"insufficient invocation arguments\00", align 1 @.str.2 = private unnamed_addr constant [14 x i8] c"i:r:l:s:S:m:L\00", align 1 @optarg = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [18 x i8] c"unknown option %c\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"size_t in %zd bytes\0A\00", align 1 @.str.5 = private unnamed_addr constant [23 x i8] c"failed to set affinity\00", align 1 @.str.6 = private unnamed_addr constant [28 x i8] c" process pinned to core %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [41 x i8] c" failed to malloc pattern for size = %d\0A\00", align 1 @.str.8 = private unnamed_addr constant [25 x i8] c"malloc of pattern failed\00", align 1 @.str.9 = private unnamed_addr constant [52 x i8] c" failed to malloc index array for line_count of %d\0A\00", align 1 @.str.10 = private unnamed_addr constant [23 x i8] c"failed to malloc index\00", align 1 @.str.11 = private unnamed_addr constant [67 x i8] c" line count must be a multiple of the fifth argument num_seg = %d\0A\00", align 1 @.str.12 = private unnamed_addr constant [16 x i8] c" bad line_count\00", align 1 @.str.13 = private unnamed_addr constant [25 x i8] c" count = %d, index = %d\0A\00", align 1 @PROT_READ = dso_local global i32 0, align 4 @PROT_WRITE = dso_local global i32 0, align 4 @MAP_PRIVATE = dso_local global i32 0, align 4 @MAP_ANON = dso_local global i32 0, align 4 @MAP_HUGETLB = dso_local global i32 0, align 4 @MAP_FAILED = dso_local global ptr null, align 8 @.str.14 = private unnamed_addr constant [13 x i8] c"mmap failed\0A\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"mmap failed\00", align 1 @.str.16 = private unnamed_addr constant [12 x i8] c" buf1 = %p\0A\00", align 1 @.str.17 = private unnamed_addr constant [54 x i8] c" buf_size = %zu, zero_loop = %zu, array_stride = %zd\0A\00", align 1 @.str.18 = private unnamed_addr constant [32 x i8] c" finished zeroing buf ret = %p\0A\00", align 1 @.str.19 = private unnamed_addr constant [39 x i8] c" target of last element in loop = %zx\0A\00", align 1 @.str.20 = private unnamed_addr constant [28 x i8] c"cannot set cpu run affinity\00", align 1 @.str.21 = private unnamed_addr constant [35 x i8] c" process pinned to core %d to run\0A\00", align 1 @.str.22 = private unnamed_addr constant [115 x i8] c" calling walker %d times which loops %d times on buffer of %d lines with a stride of %d, for a total size of %zu\0A\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c" run time = %zd\0A\00", align 1 @.str.24 = private unnamed_addr constant [36 x i8] c" average cycles per iteration = %f\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 i64, align 8 %10 = alloca i64, align 8 %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 %23 = alloca i32, align 4 %24 = alloca double, align 8 %25 = alloca i64, align 8 %26 = alloca i64, align 8 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca i64, align 8 %30 = alloca i64, align 8 %31 = alloca i64, align 8 %32 = alloca i32, align 4 %33 = alloca i64, align 8 %34 = alloca i64, align 8 %35 = alloca i64, align 8 %36 = alloca i64, align 8 %37 = alloca i64, align 8 %38 = alloca i64, align 8 %39 = alloca i64, align 8 %40 = alloca i64, align 8 %41 = alloca i32, align 4 %42 = alloca i32, align 4 %43 = alloca ptr, align 8 %44 = alloca i32, align 4 %45 = alloca i32, align 4 %46 = alloca ptr, align 8 %47 = alloca i32, align 4 %48 = alloca i32, align 4 %49 = alloca i32, align 4 %50 = alloca i32, align 4 %51 = alloca i32, align 4 %52 = 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 store i64 0, ptr %9, align 8 store i32 -1, ptr %18, align 4 store i32 0, ptr %19, align 4 store i32 10240000, ptr %20, align 4 store i32 100, ptr %21, align 4 store i32 1, ptr %22, align 4 store i32 0, ptr %23, align 4 store i64 0, ptr %31, align 8 store i32 0, ptr %32, align 4 store i32 32, ptr %49, align 4 store i32 0, ptr %50, align 4 store i64 4096, ptr %39, align 8 %53 = load i32, ptr %4, align 4 %54 = icmp slt i32 %53, 6 br i1 %54, label %55, label %61 55: ; preds = %2 %56 = load i32, ptr @stderr, align 4 %57 = load i32, ptr %4, align 4 %58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str, i32 noundef %57) %59 = call i32 (...) @usage() %60 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.1) br label %61 61: ; preds = %55, %2 %62 = load i32, ptr %4, align 4 %63 = load ptr, ptr %5, align 8 %64 = call i32 @getopt(i32 noundef %62, ptr noundef %63, ptr noundef @.str.2) store i32 %64, ptr %45, align 4 %65 = icmp ne i32 %64, -1 br i1 %65, label %.lr.ph, label %95 .lr.ph: ; preds = %61 br label %66 66: ; preds = %.lr.ph, %90 %67 = load i32, ptr %45, align 4 switch i32 %67, label %87 [ i32 105, label %68 i32 114, label %71 i32 108, label %74 i32 115, label %77 i32 83, label %80 i32 109, label %83 i32 76, label %86 ] 68: ; preds = %66 %69 = load i32, ptr @optarg, align 4 %70 = call i32 @atoi(i32 noundef %69) store i32 %70, ptr %14, align 4 br label %90 71: ; preds = %66 %72 = load i32, ptr @optarg, align 4 %73 = call i32 @atoi(i32 noundef %72) store i32 %73, ptr %15, align 4 br label %90 74: ; preds = %66 %75 = load i32, ptr @optarg, align 4 %76 = call i32 @atoi(i32 noundef %75) store i32 %76, ptr %16, align 4 br label %90 77: ; preds = %66 %78 = load i32, ptr @optarg, align 4 %79 = call i32 @atoi(i32 noundef %78) store i32 %79, ptr %17, align 4 br label %90 80: ; preds = %66 %81 = load i32, ptr @optarg, align 4 %82 = call i32 @atoi(i32 noundef %81) store i32 %82, ptr %49, align 4 br label %90 83: ; preds = %66 %84 = load i32, ptr @optarg, align 4 %85 = call i32 @atoi(i32 noundef %84) store i32 %85, ptr %22, align 4 br label %90 86: ; preds = %66 store i32 1, ptr %50, align 4 store i64 2097152, ptr %39, align 8 br label %90 87: ; preds = %66 %88 = load i32, ptr %45, align 4 %89 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.3, i32 noundef %88) br label %90 90: ; preds = %87, %86, %83, %80, %77, %74, %71, %68 %91 = load i32, ptr %4, align 4 %92 = load ptr, ptr %5, align 8 %93 = call i32 @getopt(i32 noundef %91, ptr noundef %92, ptr noundef @.str.2) store i32 %93, ptr %45, align 4 %94 = icmp ne i32 %93, -1 br i1 %94, label %66, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %90 br label %95 95: ; preds = %._crit_edge, %61 %96 = load i32, ptr %21, align 4 %97 = load i32, ptr %22, align 4 %98 = mul nsw i32 %96, %97 store i32 %98, ptr %21, align 4 store i64 8, ptr %40, align 8 %99 = load i32, ptr @stderr, align 4 %100 = load i64, ptr %40, align 8 %101 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.4, i64 noundef %100) %102 = load i32, ptr %32, align 4 %103 = load i32, ptr %14, align 4 %104 = call i32 @pin_cpu(i32 noundef %102, i32 noundef %103) %105 = icmp eq i32 %104, -1 br i1 %105, label %106, label %108 106: ; preds = %95 %107 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.5) br label %112 108: ; preds = %95 %109 = load i32, ptr @stderr, align 4 %110 = load i32, ptr %14, align 4 %111 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %109, ptr noundef @.str.6, i32 noundef %110) br label %112 112: ; preds = %108, %106 %113 = load i32, ptr %49, align 4 %114 = sext i32 %113 to i64 %115 = mul i64 %114, 4 %116 = trunc i64 %115 to i32 %117 = call i64 @malloc(i32 noundef %116) %118 = inttoptr i64 %117 to ptr store ptr %118, ptr %43, align 8 %119 = load ptr, ptr %43, align 8 %120 = icmp eq ptr %119, null br i1 %120, label %121, label %126 121: ; preds = %112 %122 = load i32, ptr @stderr, align 4 %123 = load i32, ptr %49, align 4 %124 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.7, i32 noundef %123) %125 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.8) br label %126 126: ; preds = %121, %112 %127 = load i64, ptr %39, align 8 %128 = load i32, ptr %17, align 4 %129 = sext i32 %128 to i64 %130 = mul i64 %127, %129 %131 = add i64 %130, 64 %132 = trunc i64 %131 to i32 store i32 %132, ptr %17, align 4 %133 = load i32, ptr %16, align 4 %134 = sext i32 %133 to i64 %135 = load i32, ptr %17, align 4 %136 = sext i32 %135 to i64 %137 = mul i64 %134, %136 store i64 %137, ptr %33, align 8 %138 = load i64, ptr %33, align 8 %139 = load i64, ptr %39, align 8 %140 = udiv i64 %138, %139 %141 = add i64 %140, 2 store i64 %141, ptr %38, align 8 %142 = load i64, ptr %39, align 8 %143 = load i64, ptr %38, align 8 %144 = mul i64 %142, %143 store i64 %144, ptr %33, align 8 %145 = load i32, ptr %17, align 4 %146 = sext i32 %145 to i64 %147 = udiv i64 %146, 8 store i64 %147, ptr %10, align 8 %148 = load i32, ptr %21, align 4 %149 = sitofp i32 %148 to double %150 = load i32, ptr %20, align 4 %151 = sitofp i32 %150 to double %152 = fmul double %149, %151 store double %152, ptr %24, align 8 %153 = load i32, ptr %16, align 4 %154 = sext i32 %153 to i64 %155 = mul i64 %154, 4 %156 = trunc i64 %155 to i32 %157 = call i64 @malloc(i32 noundef %156) %158 = inttoptr i64 %157 to ptr store ptr %158, ptr %46, align 8 %159 = load ptr, ptr %46, align 8 %160 = icmp eq ptr %159, null br i1 %160, label %161, label %166 161: ; preds = %126 %162 = load i32, ptr @stderr, align 4 %163 = load i32, ptr %16, align 4 %164 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %162, ptr noundef @.str.9, i32 noundef %163) %165 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.10) br label %166 166: ; preds = %161, %126 %167 = load i32, ptr %49, align 4 %168 = icmp eq i32 %167, 1 br i1 %168, label %169, label %186 169: ; preds = %166 store i32 0, ptr %11, align 4 %170 = load i32, ptr %11, align 4 %171 = load i32, ptr %16, align 4 %172 = icmp slt i32 %170, %171 br i1 %172, label %.lr.ph8, label %185 .lr.ph8: ; preds = %169 br label %173 173: ; preds = %.lr.ph8, %179 %174 = load i32, ptr %11, align 4 %175 = load ptr, ptr %46, align 8 %176 = load i32, ptr %11, align 4 %177 = sext i32 %176 to i64 %178 = getelementptr inbounds i32, ptr %175, i64 %177 store i32 %174, ptr %178, align 4 br label %179 179: ; preds = %173 %180 = load i32, ptr %11, align 4 %181 = add nsw i32 %180, 1 store i32 %181, ptr %11, align 4 %182 = load i32, ptr %11, align 4 %183 = load i32, ptr %16, align 4 %184 = icmp slt i32 %182, %183 br i1 %184, label %173, label %._crit_edge9, !llvm.loop !8 ._crit_edge9: ; preds = %179 br label %185 185: ; preds = %._crit_edge9, %169 br label %273 186: ; preds = %166 %187 = load ptr, ptr %43, align 8 %188 = load i32, ptr %49, align 4 %189 = call i32 @rndm_list(ptr noundef %187, i32 noundef %188) %190 = load i32, ptr %16, align 4 %191 = load i32, ptr %49, align 4 %192 = sdiv i32 %190, %191 store i32 %192, ptr %47, align 4 %193 = load i32, ptr %47, align 4 %194 = load i32, ptr %49, align 4 %195 = mul nsw i32 %193, %194 %196 = load i32, ptr %16, align 4 %197 = icmp ne i32 %195, %196 br i1 %197, label %198, label %203 198: ; preds = %186 %199 = load i32, ptr @stderr, align 4 %200 = load i32, ptr %49, align 4 %201 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %199, ptr noundef @.str.11, i32 noundef %200) %202 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.12) br label %203 203: ; preds = %198, %186 store i32 0, ptr %48, align 4 %204 = load i64, ptr %33, align 8 %205 = load i32, ptr %49, align 4 %206 = sext i32 %205 to i64 %207 = udiv i64 %204, %206 store i64 %207, ptr %36, align 8 store i32 0, ptr %11, align 4 %208 = load i32, ptr %11, align 4 %209 = load i32, ptr %47, align 4 %210 = icmp slt i32 %208, %209 br i1 %210, label %.lr.ph5, label %272 .lr.ph5: ; preds = %203 br label %211 211: ; preds = %.lr.ph5, %266 store i32 0, ptr %44, align 4 store i32 0, ptr %12, align 4 %212 = load i32, ptr %12, align 4 %213 = load i32, ptr %49, align 4 %214 = icmp slt i32 %212, %213 br i1 %214, label %.lr.ph2, label %265 .lr.ph2: ; preds = %211 br label %215 215: ; preds = %.lr.ph2, %259 %216 = load i32, ptr %48, align 4 %217 = add nsw i32 %216, 1 store i32 %217, ptr %48, align 4 %218 = load i32, ptr %12, align 4 %219 = load i32, ptr %49, align 4 %220 = sub nsw i32 %219, 1 %221 = icmp eq i32 %218, %220 br i1 %221, label %222, label %223 222: ; preds = %215 store i32 1, ptr %44, align 4 br label %223 223: ; preds = %222, %215 %224 = load i32, ptr %47, align 4 %225 = load ptr, ptr %43, align 8 %226 = load i32, ptr %12, align 4 %227 = sext i32 %226 to i64 %228 = getelementptr inbounds i32, ptr %225, i64 %227 %229 = load i32, ptr %228, align 4 %230 = mul nsw i32 %224, %229 %231 = sext i32 %230 to i64 store i64 %231, ptr %37, align 8 %232 = load i64, ptr %37, align 8 %233 = trunc i64 %232 to i32 %234 = load i32, ptr %11, align 4 %235 = add nsw i32 %233, %234 %236 = load i32, ptr %44, align 4 %237 = add nsw i32 %235, %236 %238 = load ptr, ptr %46, align 8 %239 = load i32, ptr %48, align 4 %240 = sext i32 %239 to i64 %241 = getelementptr inbounds i32, ptr %238, i64 %240 store i32 %237, ptr %241, align 4 %242 = load ptr, ptr %46, align 8 %243 = load i32, ptr %48, align 4 %244 = sext i32 %243 to i64 %245 = getelementptr inbounds i32, ptr %242, i64 %244 %246 = load i32, ptr %245, align 4 %247 = load i32, ptr %16, align 4 %248 = icmp sge i32 %246, %247 br i1 %248, label %249, label %258 249: ; preds = %223 %250 = load i32, ptr %48, align 4 %251 = sitofp i32 %250 to double %252 = load ptr, ptr %46, align 8 %253 = load i32, ptr %48, align 4 %254 = sext i32 %253 to i64 %255 = getelementptr inbounds i32, ptr %252, i64 %254 %256 = load i32, ptr %255, align 4 %257 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.13, double noundef %251, i32 noundef %256) br label %258 258: ; preds = %249, %223 br label %259 259: ; preds = %258 %260 = load i32, ptr %12, align 4 %261 = add nsw i32 %260, 1 store i32 %261, ptr %12, align 4 %262 = load i32, ptr %12, align 4 %263 = load i32, ptr %49, align 4 %264 = icmp slt i32 %262, %263 br i1 %264, label %215, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %259 br label %265 265: ; preds = %._crit_edge3, %211 br label %266 266: ; preds = %265 %267 = load i32, ptr %11, align 4 %268 = add nsw i32 %267, 1 store i32 %268, ptr %11, align 4 %269 = load i32, ptr %11, align 4 %270 = load i32, ptr %47, align 4 %271 = icmp slt i32 %269, %270 br i1 %271, label %211, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %266 br label %272 272: ; preds = %._crit_edge6, %203 br label %273 273: ; preds = %272, %185 %274 = load ptr, ptr %46, align 8 %275 = getelementptr inbounds i32, ptr %274, i64 0 store i32 0, ptr %275, align 4 %276 = load i32, ptr %50, align 4 %277 = icmp eq i32 %276, 0 br i1 %277, label %278, label %290 278: ; preds = %273 %279 = load i64, ptr %33, align 8 %280 = load i32, ptr @PROT_READ, align 4 %281 = load i32, ptr @PROT_WRITE, align 4 %282 = or i32 %280, %281 %283 = load i32, ptr @MAP_PRIVATE, align 4 %284 = load i32, ptr @MAP_ANON, align 4 %285 = or i32 %283, %284 %286 = load i32, ptr %18, align 4 %287 = load i32, ptr %19, align 4 %288 = call i64 @mmap(ptr noundef null, i64 noundef %279, i32 noundef %282, i32 noundef %285, i32 noundef %286, i32 noundef %287) %289 = inttoptr i64 %288 to ptr store ptr %289, ptr %6, align 8 br label %290 290: ; preds = %278, %273 %291 = load i32, ptr %50, align 4 %292 = icmp eq i32 %291, 1 br i1 %292, label %293, label %307 293: ; preds = %290 %294 = load i64, ptr %33, align 8 %295 = load i32, ptr @PROT_READ, align 4 %296 = load i32, ptr @PROT_WRITE, align 4 %297 = or i32 %295, %296 %298 = load i32, ptr @MAP_PRIVATE, align 4 %299 = load i32, ptr @MAP_ANON, align 4 %300 = or i32 %298, %299 %301 = load i32, ptr @MAP_HUGETLB, align 4 %302 = or i32 %300, %301 %303 = load i32, ptr %18, align 4 %304 = load i32, ptr %19, align 4 %305 = call i64 @mmap(ptr noundef null, i64 noundef %294, i32 noundef %297, i32 noundef %302, i32 noundef %303, i32 noundef %304) %306 = inttoptr i64 %305 to ptr store ptr %306, ptr %6, align 8 br label %307 307: ; preds = %293, %290 %308 = load ptr, ptr %6, align 8 %309 = load ptr, ptr @MAP_FAILED, align 8 %310 = icmp eq ptr %308, %309 br i1 %310, label %311, label %315 311: ; preds = %307 %312 = load i32, ptr @stderr, align 4 %313 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %312, ptr noundef @.str.14) %314 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.15) br label %315 315: ; preds = %311, %307 %316 = load i32, ptr @stderr, align 4 %317 = load ptr, ptr %6, align 8 %318 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %316, ptr noundef @.str.16, ptr noundef %317) %319 = load i64, ptr %33, align 8 %320 = load i64, ptr %40, align 8 %321 = udiv i64 %319, %320 store i64 %321, ptr %35, align 8 %322 = load i32, ptr @stderr, align 4 %323 = load i64, ptr %33, align 8 %324 = load i64, ptr %35, align 8 %325 = load i64, ptr %10, align 8 %326 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %322, ptr noundef @.str.17, i64 noundef %323, i64 noundef %324, i64 noundef %325) %327 = load ptr, ptr %6, align 8 store ptr %327, ptr %8, align 8 %328 = load ptr, ptr %6, align 8 %329 = load i64, ptr %33, align 8 %330 = call ptr @memset(ptr noundef %328, i32 noundef 0, i64 noundef %329) store ptr %330, ptr %7, align 8 %331 = load i32, ptr @stderr, align 4 %332 = load ptr, ptr %7, align 8 %333 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %331, ptr noundef @.str.18, ptr noundef %332) store i64 0, ptr %34, align 8 %334 = load i64, ptr %34, align 8 %335 = load i32, ptr %16, align 4 %336 = sub nsw i32 %335, 1 %337 = sext i32 %336 to i64 %338 = icmp ult i64 %334, %337 br i1 %338, label %.lr.ph11, label %368 .lr.ph11: ; preds = %315 br label %339 339: ; preds = %.lr.ph11, %360 %340 = load ptr, ptr %8, align 8 %341 = load ptr, ptr %46, align 8 %342 = load i64, ptr %34, align 8 %343 = add i64 %342, 1 %344 = getelementptr inbounds i32, ptr %341, i64 %343 %345 = load i32, ptr %344, align 4 %346 = sext i32 %345 to i64 %347 = load i64, ptr %10, align 8 %348 = mul i64 %346, %347 %349 = getelementptr inbounds i64, ptr %340, i64 %348 %350 = ptrtoint ptr %349 to i64 %351 = load ptr, ptr %8, align 8 %352 = load ptr, ptr %46, align 8 %353 = load i64, ptr %34, align 8 %354 = getelementptr inbounds i32, ptr %352, i64 %353 %355 = load i32, ptr %354, align 4 %356 = sext i32 %355 to i64 %357 = load i64, ptr %10, align 8 %358 = mul i64 %356, %357 %359 = getelementptr inbounds i64, ptr %351, i64 %358 store i64 %350, ptr %359, align 8 br label %360 360: ; preds = %339 %361 = load i64, ptr %34, align 8 %362 = add i64 %361, 1 store i64 %362, ptr %34, align 8 %363 = load i64, ptr %34, align 8 %364 = load i32, ptr %16, align 4 %365 = sub nsw i32 %364, 1 %366 = sext i32 %365 to i64 %367 = icmp ult i64 %363, %366 br i1 %367, label %339, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %360 br label %368 368: ; preds = %._crit_edge12, %315 %369 = load i32, ptr @stderr, align 4 %370 = load ptr, ptr %8, align 8 %371 = load i32, ptr %16, align 4 %372 = sub nsw i32 %371, 1 %373 = sext i32 %372 to i64 %374 = getelementptr inbounds i64, ptr %370, i64 %373 %375 = load i64, ptr %374, align 8 %376 = load ptr, ptr %6, align 8 %377 = ptrtoint ptr %376 to i64 %378 = sub i64 %375, %377 %379 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %369, ptr noundef @.str.19, i64 noundef %378) %380 = load ptr, ptr %8, align 8 %381 = getelementptr inbounds i64, ptr %380, i64 0 %382 = ptrtoint ptr %381 to i64 %383 = load ptr, ptr %8, align 8 %384 = load i64, ptr %10, align 8 %385 = load i32, ptr %16, align 4 %386 = sub nsw i32 %385, 1 %387 = sext i32 %386 to i64 %388 = mul i64 %384, %387 %389 = getelementptr inbounds i64, ptr %383, i64 %388 store i64 %382, ptr %389, align 8 %390 = load i32, ptr %32, align 4 %391 = load i32, ptr %15, align 4 %392 = call i32 @pin_cpu(i32 noundef %390, i32 noundef %391) %393 = icmp eq i32 %392, -1 br i1 %393, label %394, label %396 394: ; preds = %368 %395 = call i32 (i32, ptr, ...) @err(i32 noundef 1, ptr noundef @.str.20) br label %400 396: ; preds = %368 %397 = load i32, ptr %15, align 4 %398 = sitofp i32 %397 to double %399 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.21, double noundef %398) br label %400 400: ; preds = %396, %394 %401 = load i32, ptr %21, align 4 %402 = sitofp i32 %401 to double %403 = load i32, ptr %20, align 4 %404 = load i32, ptr %16, align 4 %405 = load i32, ptr %17, align 4 %406 = load i64, ptr %33, align 8 %407 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.22, double noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405, i64 noundef %406) %408 = call i64 (...) @_rdtsc() store i64 %408, ptr %28, align 8 store i32 0, ptr %11, align 4 %409 = load i32, ptr %11, align 4 %410 = load i32, ptr %21, align 4 %411 = icmp slt i32 %409, %410 br i1 %411, label %.lr.ph14, label %427 .lr.ph14: ; preds = %400 br label %412 412: ; preds = %.lr.ph14, %421 %413 = call i64 (...) @_rdtsc() store i64 %413, ptr %25, align 8 %414 = load i32, ptr %20, align 4 %415 = load ptr, ptr %8, align 8 %416 = call i64 @reader(i32 noundef %414, ptr noundef %415) store i64 %416, ptr %9, align 8 %417 = call i64 (...) @_rdtsc() store i64 %417, ptr %26, align 8 %418 = load i64, ptr %26, align 8 %419 = load i64, ptr %25, align 8 %420 = sub i64 %418, %419 store i64 %420, ptr %27, align 8 br label %421 421: ; preds = %412 %422 = load i32, ptr %11, align 4 %423 = add nsw i32 %422, 1 store i32 %423, ptr %11, align 4 %424 = load i32, ptr %11, align 4 %425 = load i32, ptr %21, align 4 %426 = icmp slt i32 %424, %425 br i1 %426, label %412, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %421 br label %427 427: ; preds = %._crit_edge15, %400 %428 = call i64 (...) @_rdtsc() store i64 %428, ptr %29, align 8 %429 = load i64, ptr %29, align 8 %430 = load i64, ptr %28, align 8 %431 = sub i64 %429, %430 store i64 %431, ptr %30, align 8 %432 = load i64, ptr %30, align 8 %433 = uitofp i64 %432 to double %434 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.23, double noundef %433) %435 = load i64, ptr %30, align 8 %436 = uitofp i64 %435 to double %437 = load double, ptr %24, align 8 %438 = fdiv double %436, %437 %439 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.24, double noundef %438) %440 = load i32, ptr %23, align 4 ret i32 %440 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @usage(...) #1 declare i32 @err(i32 noundef, ptr noundef, ...) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @atoi(i32 noundef) #1 declare i32 @pin_cpu(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @rndm_list(ptr noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, double noundef, ...) #1 declare i64 @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i64 @_rdtsc(...) #1 declare i64 @reader(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7}
; ModuleID = '/tmp/tmpxgmkg4gg.c' source_filename = "/tmp/tmpxgmkg4gg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rmTrailingBlank(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 br label %4 4: ; preds = %8, %1 %5 = load ptr, ptr %2, align 8 %6 = load i8, ptr %5, align 1 %7 = icmp ne i8 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %4 %9 = load i32, ptr %3, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %3, align 4 %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds i8, ptr %11, i32 1 store ptr %12, ptr %2, align 8 br label %4, !llvm.loop !6 13: ; preds = %4 br label %14 14: ; preds = %23, %13 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %3, align 4 %17 = sub nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = load i8, ptr %19, align 1 %21 = call i64 @isblank(i8 noundef signext %20) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %14 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %3, align 4 br label %14, !llvm.loop !8 26: ; preds = %14 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 store i8 0, ptr %30, align 1 ret void } declare i64 @isblank(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/tmpxgmkg4gg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rmTrailingBlank(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 0, ptr %3, align 4 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = icmp ne i8 %5, 0 br i1 %6, label %.lr.ph, label %15 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load i32, ptr %3, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %3, align 4 %10 = load ptr, ptr %2, align 8 %11 = getelementptr inbounds i8, ptr %10, i32 1 store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i8, ptr %12, align 1 %14 = icmp ne i8 %13, 0 br i1 %14, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %15 15: ; preds = %._crit_edge, %1 %16 = load ptr, ptr %2, align 8 %17 = load i32, ptr %3, align 4 %18 = sub nsw i32 %17, 1 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %16, i64 %19 %21 = load i8, ptr %20, align 1 %22 = call i64 @isblank(i8 noundef signext %21) %23 = icmp ne i64 %22, 0 br i1 %23, label %.lr.ph2, label %35 .lr.ph2: ; preds = %15 br label %24 24: ; preds = %.lr.ph2, %24 %25 = load i32, ptr %3, align 4 %26 = add nsw i32 %25, -1 store i32 %26, ptr %3, align 4 %27 = load ptr, ptr %2, align 8 %28 = load i32, ptr %3, align 4 %29 = sub nsw i32 %28, 1 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i8, ptr %27, i64 %30 %32 = load i8, ptr %31, align 1 %33 = call i64 @isblank(i8 noundef signext %32) %34 = icmp ne i64 %33, 0 br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %24 br label %35 35: ; preds = %._crit_edge3, %15 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 store i8 0, ptr %39, align 1 ret void } declare i64 @isblank(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/tmpdvyxdrv1.c' source_filename = "/tmp/tmpdvyxdrv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BGBDT_MapObj_CheckStrMatch2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %8 store i32 1, ptr %3, align 4 br label %26 12: ; preds = %8, %2 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %15, %12 store i32 0, ptr %3, align 4 br label %26 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i32 @strcmp(ptr noundef %20, ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i32 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %19, %18, %11 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i32 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdvyxdrv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BGBDT_MapObj_CheckStrMatch2(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp ne ptr %6, null br i1 %7, label %12, label %8 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = icmp ne ptr %9, null br i1 %10, label %12, label %11 11: ; preds = %8 store i32 1, ptr %3, align 4 br label %26 12: ; preds = %8, %2 %13 = load ptr, ptr %4, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load ptr, ptr %5, align 8 %17 = icmp ne ptr %16, null br i1 %17, label %19, label %18 18: ; preds = %15, %12 store i32 0, ptr %3, align 4 br label %26 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = load ptr, ptr %5, align 8 %22 = call i32 @strcmp(ptr noundef %20, ptr noundef %21) %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i32 store i32 %25, ptr %3, align 4 br label %26 26: ; preds = %19, %18, %11 %27 = load i32, ptr %3, align 4 ret i32 %27 } declare i32 @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"}
; ModuleID = '/tmp/tmp32fr0ggu.c' source_filename = "/tmp/tmp32fr0ggu.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @geteuid() store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call ptr @getpwuid(i32 noundef %9) store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %23 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds %struct.passwd, ptr %14, i32 0, i32 0 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds %struct.passwd, ptr %17, i32 0, i32 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 @write(i32 noundef 1, ptr noundef %16, i32 noundef %20) %22 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) store i32 0, ptr %3, align 4 br label %24 23: ; preds = %2 store i32 1, ptr %3, align 4 br label %24 24: ; preds = %23, %13 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @geteuid(...) #1 declare ptr @getpwuid(i32 noundef) #1 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/tmp32fr0ggu.c" target datalayout = "e-m:e-p270: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.passwd = type { ptr } @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = call i32 (...) @geteuid() store i32 %8, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = call ptr @getpwuid(i32 noundef %9) store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %13, label %23 13: ; preds = %2 %14 = load ptr, ptr %6, align 8 %15 = getelementptr inbounds %struct.passwd, ptr %14, i32 0, i32 0 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %6, align 8 %18 = getelementptr inbounds %struct.passwd, ptr %17, i32 0, i32 0 %19 = load ptr, ptr %18, align 8 %20 = call i32 @strlen(ptr noundef %19) %21 = call i32 @write(i32 noundef 1, ptr noundef %16, i32 noundef %20) %22 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 1) store i32 0, ptr %3, align 4 br label %24 23: ; preds = %2 store i32 1, ptr %3, align 4 br label %24 24: ; preds = %23, %13 %25 = load i32, ptr %3, align 4 ret i32 %25 } declare i32 @geteuid(...) #1 declare ptr @getpwuid(i32 noundef) #1 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/tmp1r3cuu_e.c' source_filename = "/tmp/tmp1r3cuu_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @proto_default_port.port_ftp = internal global [3 x i8] c"21\00", align 1 @proto_default_port.port_http = internal global [3 x i8] c"80\00", align 1 @proto_default_port.port_gopher = internal global [3 x i8] c"70\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"ftp\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"gopher\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @proto_default_port(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 store ptr @proto_default_port.port_ftp, ptr %2, align 8 br label %14 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store ptr @proto_default_port.port_gopher, ptr %2, align 8 br label %14 13: ; preds = %8 store ptr @proto_default_port.port_http, ptr %2, align 8 br label %14 14: ; preds = %13, %12, %7 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i32 @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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp1r3cuu_e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @proto_default_port.port_ftp = internal global [3 x i8] c"21\00", align 1 @proto_default_port.port_http = internal global [3 x i8] c"80\00", align 1 @proto_default_port.port_gopher = internal global [3 x i8] c"70\00", align 1 @.str = private unnamed_addr constant [4 x i8] c"ftp\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"gopher\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @proto_default_port(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @strcmp(ptr noundef %4, ptr noundef @.str) %6 = icmp ne i32 %5, 0 br i1 %6, label %8, label %7 7: ; preds = %1 store ptr @proto_default_port.port_ftp, ptr %2, align 8 br label %14 8: ; preds = %1 %9 = load ptr, ptr %3, align 8 %10 = call i32 @strcmp(ptr noundef %9, ptr noundef @.str.1) %11 = icmp ne i32 %10, 0 br i1 %11, label %13, label %12 12: ; preds = %8 store ptr @proto_default_port.port_gopher, ptr %2, align 8 br label %14 13: ; preds = %8 store ptr @proto_default_port.port_http, ptr %2, align 8 br label %14 14: ; preds = %13, %12, %7 %15 = load ptr, ptr %2, align 8 ret ptr %15 } declare i32 @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"}
; ModuleID = '/tmp/tmpq_4u5d8s.c' source_filename = "/tmp/tmpq_4u5d8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Delaying %d milliseconds...\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"SUCCESS\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"FAILED\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, i32 noundef 3000) %5 = call i32 (...) @oosmos_GetFreeRunningUS() store i32 %5, ptr %2, align 4 %6 = call i32 @oosmos_DelayMS(i32 noundef 3000) %7 = call i32 (...) @oosmos_GetFreeRunningUS() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = add i64 %11, 3000000 %13 = sub i64 %9, %12 %14 = icmp ule i64 %13, 4000 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %19 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17, %15 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @oosmos_GetFreeRunningUS(...) #1 declare i32 @oosmos_DelayMS(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/tmpq_4u5d8s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [29 x i8] c"Delaying %d milliseconds...\0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"SUCCESS\0A\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"FAILED\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, i32 noundef 3000) %5 = call i32 (...) @oosmos_GetFreeRunningUS() store i32 %5, ptr %2, align 4 %6 = call i32 @oosmos_DelayMS(i32 noundef 3000) %7 = call i32 (...) @oosmos_GetFreeRunningUS() store i32 %7, ptr %3, align 4 %8 = load i32, ptr %3, align 4 %9 = sext i32 %8 to i64 %10 = load i32, ptr %2, align 4 %11 = sext i32 %10 to i64 %12 = add i64 %11, 3000000 %13 = sub i64 %9, %12 %14 = icmp ule i64 %13, 4000 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %19 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %19 19: ; preds = %17, %15 ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @oosmos_GetFreeRunningUS(...) #1 declare i32 @oosmos_DelayMS(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/tmpdw9jjz27.c' source_filename = "/tmp/tmpdw9jjz27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @udf_renewal_date_deinit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @free(i32 noundef %5) ret void } declare i32 @free(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/tmpdw9jjz27.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_3__ = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @udf_renewal_date_deinit(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @free(i32 noundef %5) ret void } declare i32 @free(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/tmp3rmu3558.c' source_filename = "/tmp/tmp3rmu3558.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i32], align 16 %3 = alloca [20 x i32], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @create_random(ptr noundef %4) %6 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0 %8 = call i32 @count_frequency(ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0 %10 = call i32 @draw_histogram(ptr noundef %9) ret i32 0 } declare i32 @create_random(ptr noundef) #1 declare i32 @count_frequency(ptr noundef, ptr noundef) #1 declare i32 @draw_histogram(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp3rmu3558.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [20 x i32], align 16 %3 = alloca [20 x i32], align 16 store i32 0, ptr %1, align 4 %4 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0 %5 = call i32 @create_random(ptr noundef %4) %6 = getelementptr inbounds [20 x i32], ptr %2, i64 0, i64 0 %7 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0 %8 = call i32 @count_frequency(ptr noundef %6, ptr noundef %7) %9 = getelementptr inbounds [20 x i32], ptr %3, i64 0, i64 0 %10 = call i32 @draw_histogram(ptr noundef %9) ret i32 0 } declare i32 @create_random(ptr noundef) #1 declare i32 @count_frequency(ptr noundef, ptr noundef) #1 declare i32 @draw_histogram(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9a343ze2.c' source_filename = "/tmp/tmp9a343ze2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 42, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 br label %8 8: ; preds = %12, %1 %9 = load i32, ptr %4, align 4 %10 = load i32, ptr %5, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %12, label %26 12: ; preds = %8 %13 = load ptr, ptr %2, align 8 %14 = load i32, ptr %4, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 %21 = mul nsw i32 %18, %20 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %4, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %4, align 4 br label %8, !llvm.loop !6 26: ; preds = %8 %27 = load i32, ptr %3, align 4 %28 = sext i32 %27 to i64 ret i64 %28 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9a343ze2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @hash(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 store i32 42, ptr %3, align 4 store i32 0, ptr %4, align 4 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) store i32 %7, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %11 %12 = load ptr, ptr %2, align 8 %13 = load i32, ptr %4, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 %16 = load i8, ptr %15, align 1 %17 = sext i8 %16 to i32 %18 = load i32, ptr %4, align 4 %19 = add nsw i32 %18, 1 %20 = mul nsw i32 %17, %19 %21 = load i32, ptr %3, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = icmp slt i32 %25, %26 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %11 br label %28 28: ; preds = %._crit_edge, %1 %29 = load i32, ptr %3, align 4 %30 = sext i32 %29 to i64 ret i64 %30 } declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpy3btlak8.c' source_filename = "/tmp/tmpy3btlak8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"this is child\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"this is father\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @cpfork() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %16 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %8 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 br label %16 16: ; preds = %15, %6 ret i32 0 } declare i32 @cpfork(...) #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/tmpy3btlak8.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [7 x i8] c"error\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"this is child\0A\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"this is father\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @cpfork() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) br label %16 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @printf(ptr noundef @.str.1) br label %15 13: ; preds = %8 %14 = call i32 @printf(ptr noundef @.str.2) br label %15 15: ; preds = %13, %11 br label %16 16: ; preds = %15, %6 ret i32 0 } declare i32 @cpfork(...) #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/tmp54mmx3h3.c' source_filename = "/tmp/tmp54mmx3h3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Init() #0 { %1 = call i32 (...) @AnalyzeImage() %2 = call i32 (...) @Reset() ret void } declare i32 @AnalyzeImage(...) #1 declare i32 @Reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp54mmx3h3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Init() #0 { %1 = call i32 (...) @AnalyzeImage() %2 = call i32 (...) @Reset() ret void } declare i32 @AnalyzeImage(...) #1 declare i32 @Reset(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptg1zhvdh.c' source_filename = "/tmp/tmptg1zhvdh.c" target datalayout = "e-m:e-p270: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/tmptg1zhvdh.c" target datalayout = "e-m:e-p270: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/tmph0_1ro4e.c' source_filename = "/tmp/tmph0_1ro4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @MApi_PNL_Control_Out_Swing(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = call zeroext i8 @MDrv_PNL_Control_Out_Swing(i16 noundef zeroext %3) ret i8 %4 } declare zeroext i8 @MDrv_PNL_Control_Out_Swing(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph0_1ro4e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local zeroext i8 @MApi_PNL_Control_Out_Swing(i16 noundef zeroext %0) #0 { %2 = alloca i16, align 2 store i16 %0, ptr %2, align 2 %3 = load i16, ptr %2, align 2 %4 = call zeroext i8 @MDrv_PNL_Control_Out_Swing(i16 noundef zeroext %3) ret i8 %4 } declare zeroext i8 @MDrv_PNL_Control_Out_Swing(i16 noundef zeroext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpplkjjj6e.c' source_filename = "/tmp/tmpplkjjj6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Parent process\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Close parent process\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Child process\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"ERROR: System call \22fork()\22 failed\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @fork() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp sgt i64 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @wait(ptr noundef null) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %0 %12 = load i64, ptr %2, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = call i32 @printf(ptr noundef @.str.2) %16 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef null) br label %19 17: ; preds = %11 %18 = call i32 @printf(ptr noundef @.str.6) store i32 1, ptr %1, align 4 br label %21 19: ; preds = %14 br label %20 20: ; preds = %19 store i32 0, ptr %1, align 4 br label %21 21: ; preds = %20, %17 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @wait(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @execl(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpplkjjj6e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"Parent process\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Close parent process\0A\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c"Child process\0A\00", align 1 @.str.3 = private unnamed_addr constant [8 x i8] c"/bin/ls\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"ls\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @.str.6 = private unnamed_addr constant [37 x i8] c"ERROR: System call \22fork()\22 failed\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 store i32 0, ptr %1, align 4 %3 = call i64 (...) @fork() store i64 %3, ptr %2, align 8 %4 = load i64, ptr %2, align 8 %5 = icmp sgt i64 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %0 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @wait(ptr noundef null) %9 = call i32 @printf(ptr noundef @.str.1) %10 = call i32 @exit(i32 noundef 0) #3 unreachable 11: ; preds = %0 %12 = load i64, ptr %2, align 8 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = call i32 @printf(ptr noundef @.str.2) %16 = call i32 @execl(ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef null) br label %19 17: ; preds = %11 %18 = call i32 @printf(ptr noundef @.str.6) store i32 1, ptr %1, align 4 br label %21 19: ; preds = %14 br label %20 20: ; preds = %19 store i32 0, ptr %1, align 4 br label %21 21: ; preds = %20, %17 %22 = load i32, ptr %1, align 4 ret i32 %22 } declare i64 @fork(...) #1 declare i32 @printf(ptr noundef) #1 declare i32 @wait(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @execl(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" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp68o67__z.c' source_filename = "/tmp/tmp68o67__z.c" target datalayout = "e-m:e-p270: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/tmp68o67__z.c" target datalayout = "e-m:e-p270: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/tmpetu9iozc.c' source_filename = "/tmp/tmpetu9iozc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spaceline(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 br label %5 5: ; preds = %20, %1 %6 = load i32, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strlen(ptr noundef %7) %9 = icmp slt i32 %6, %8 br i1 %9, label %10, label %23 10: ; preds = %5 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %4, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i8, ptr %11, i64 %13 %15 = load i8, ptr %14, align 1 %16 = call i64 @isgraph(i8 noundef signext %15) %17 = icmp ne i64 %16, 0 br i1 %17, label %18, label %19 18: ; preds = %10 store i32 0, ptr %2, align 4 br label %24 19: ; preds = %10 br label %20 20: ; preds = %19 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %4, align 4 br label %5, !llvm.loop !6 23: ; preds = %5 store i32 1, ptr %2, align 4 br label %24 24: ; preds = %23, %18 %25 = load i32, ptr %2, align 4 ret i32 %25 } declare i32 @strlen(ptr noundef) #1 declare i64 @isgraph(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/tmpetu9iozc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @spaceline(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = icmp slt i32 %5, %7 br i1 %8, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %19 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %4, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i8, ptr %10, i64 %12 %14 = load i8, ptr %13, align 1 %15 = call i64 @isgraph(i8 noundef signext %14) %16 = icmp ne i64 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %9 store i32 0, ptr %2, align 4 br label %27 18: ; preds = %9 br label %19 19: ; preds = %18 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i32, ptr %4, align 4 %23 = load ptr, ptr %3, align 8 %24 = call i32 @strlen(ptr noundef %23) %25 = icmp slt i32 %22, %24 br i1 %25, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 store i32 1, ptr %2, align 4 br label %27 27: ; preds = %26, %17 %28 = load i32, ptr %2, align 4 ret i32 %28 } declare i32 @strlen(ptr noundef) #1 declare i64 @isgraph(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/tmpu1zd6a1n.c' source_filename = "/tmp/tmpu1zd6a1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resetEnvironment() #0 { %1 = call i32 (...) @resetInputMode() %2 = call i32 (...) @enableRepeatAndCursor() %3 = call i32 (...) @resetConsole() ret void } declare i32 @resetInputMode(...) #1 declare i32 @enableRepeatAndCursor(...) #1 declare i32 @resetConsole(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu1zd6a1n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @resetEnvironment() #0 { %1 = call i32 (...) @resetInputMode() %2 = call i32 (...) @enableRepeatAndCursor() %3 = call i32 (...) @resetConsole() ret void } declare i32 @resetInputMode(...) #1 declare i32 @enableRepeatAndCursor(...) #1 declare i32 @resetConsole(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpuyxy2ebe.c' source_filename = "/tmp/tmpuyxy2ebe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %10 10: ; preds = %39, %3 %11 = load i64, ptr %8, align 8 %12 = load i64, ptr %7, align 8 %13 = icmp ult i64 %11, %12 br i1 %13, label %14, label %42 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load i64, ptr %8, align 8 %17 = getelementptr inbounds i32, ptr %15, i64 %16 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = load ptr, ptr %6, align 8 %21 = load i64, ptr %8, align 8 %22 = getelementptr inbounds i32, ptr %20, i64 %21 %23 = load i32, ptr %22, align 4 %24 = icmp ne i32 %19, %23 br i1 %24, label %25, label %34 25: ; preds = %14 %26 = load i32, ptr %9, align 4 %27 = load ptr, ptr %6, align 8 %28 = load i64, ptr %8, align 8 %29 = getelementptr inbounds i32, ptr %27, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp sgt i32 %26, %30 %32 = zext i1 %31 to i64 %33 = select i1 %31, i32 1, i32 -1 store i32 %33, ptr %4, align 4 br label %43 34: ; preds = %14 %35 = load i32, ptr %9, align 4 %36 = icmp eq i32 %35, 0 br i1 %36, label %37, label %38 37: ; preds = %34 br label %42 38: ; preds = %34 br label %39 39: ; preds = %38 %40 = load i64, ptr %8, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %8, align 8 br label %10, !llvm.loop !6 42: ; preds = %37, %10 store i32 0, ptr %4, align 4 br label %43 43: ; preds = %42, %25 %44 = load i32, ptr %4, align 4 ret i32 %44 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpuyxy2ebe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsncmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %3 br label %13 13: ; preds = %.lr.ph, %38 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i32, ptr %14, i64 %15 %17 = load i32, ptr %16, align 4 store i32 %17, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i32, ptr %19, i64 %20 %22 = load i32, ptr %21, align 4 %23 = icmp ne i32 %18, %22 br i1 %23, label %24, label %33 24: ; preds = %13 %25 = load i32, ptr %9, align 4 %26 = load ptr, ptr %6, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i32, ptr %26, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp sgt i32 %25, %29 %31 = zext i1 %30 to i64 %32 = select i1 %30, i32 1, i32 -1 store i32 %32, ptr %4, align 4 br label %45 33: ; preds = %13 %34 = load i32, ptr %9, align 4 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %37 36: ; preds = %33 br label %44 37: ; preds = %33 br label %38 38: ; preds = %37 %39 = load i64, ptr %8, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %8, align 8 %41 = load i64, ptr %8, align 8 %42 = load i64, ptr %7, align 8 %43 = icmp ult i64 %41, %42 br i1 %43, label %13, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %38 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %3 br label %44 44: ; preds = %.loopexit, %36 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %44, %24 %46 = load i32, ptr %4, align 4 ret i32 %46 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_gtf0s68.c' source_filename = "/tmp/tmp_gtf0s68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @longReciprocalCycle(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i64 1, ptr %5, align 8 br label %7 7: ; preds = %21, %1 %8 = load i64, ptr %5, align 8 %9 = load i64, ptr %2, align 8 %10 = icmp slt i64 %8, %9 br i1 %10, label %11, label %24 11: ; preds = %7 %12 = load i64, ptr %5, align 8 %13 = call i64 @getReciprocalCount(i64 noundef %12) store i64 %13, ptr %6, align 8 %14 = load i64, ptr %6, align 8 %15 = load i64, ptr %3, align 8 %16 = icmp sgt i64 %14, %15 br i1 %16, label %17, label %20 17: ; preds = %11 %18 = load i64, ptr %5, align 8 store i64 %18, ptr %4, align 8 %19 = load i64, ptr %6, align 8 store i64 %19, ptr %3, align 8 br label %20 20: ; preds = %17, %11 br label %21 21: ; preds = %20 %22 = load i64, ptr %5, align 8 %23 = add nsw i64 %22, 2 store i64 %23, ptr %5, align 8 br label %7, !llvm.loop !6 24: ; preds = %7 %25 = load i64, ptr %4, align 8 ret i64 %25 } declare i64 @getReciprocalCount(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/tmp_gtf0s68.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @longReciprocalCycle(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 store i64 %0, ptr %2, align 8 store i64 0, ptr %3, align 8 store i64 0, ptr %4, align 8 store i64 1, ptr %5, align 8 %7 = load i64, ptr %5, align 8 %8 = load i64, ptr %2, align 8 %9 = icmp slt i64 %7, %8 br i1 %9, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %10 10: ; preds = %.lr.ph, %20 %11 = load i64, ptr %5, align 8 %12 = call i64 @getReciprocalCount(i64 noundef %11) store i64 %12, ptr %6, align 8 %13 = load i64, ptr %6, align 8 %14 = load i64, ptr %3, align 8 %15 = icmp sgt i64 %13, %14 br i1 %15, label %16, label %19 16: ; preds = %10 %17 = load i64, ptr %5, align 8 store i64 %17, ptr %4, align 8 %18 = load i64, ptr %6, align 8 store i64 %18, ptr %3, align 8 br label %19 19: ; preds = %16, %10 br label %20 20: ; preds = %19 %21 = load i64, ptr %5, align 8 %22 = add nsw i64 %21, 2 store i64 %22, ptr %5, align 8 %23 = load i64, ptr %5, align 8 %24 = load i64, ptr %2, align 8 %25 = icmp slt i64 %23, %24 br i1 %25, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %20 br label %26 26: ; preds = %._crit_edge, %1 %27 = load i64, ptr %4, align 8 ret i64 %27 } declare i64 @getReciprocalCount(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/tmpxxrl5pkh.c' source_filename = "/tmp/tmpxxrl5pkh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc32_update(i32 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %8 = load i8, ptr %4, align 1 store i8 %8, ptr %7, align 1 store i32 1, ptr %5, align 4 br label %9 9: ; preds = %35, %2 %10 = load i32, ptr %5, align 4 %11 = and i32 %10, 255 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %38 13: ; preds = %9 %14 = load i32, ptr %3, align 4 %15 = and i32 %14, -2147483648 store i32 %15, ptr %6, align 4 %16 = load i8, ptr %7, align 1 %17 = zext i8 %16 to i32 %18 = load i32, ptr %5, align 4 %19 = and i32 %17, %18 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %13 %22 = load i32, ptr %6, align 4 %23 = icmp ne i32 %22, 0 %24 = xor i1 %23, true %25 = zext i1 %24 to i32 store i32 %25, ptr %6, align 4 br label %26 26: ; preds = %21, %13 %27 = load i32, ptr %3, align 4 %28 = shl i32 %27, 1 store i32 %28, ptr %3, align 4 %29 = load i32, ptr %6, align 4 %30 = icmp ne i32 %29, 0 br i1 %30, label %31, label %34 31: ; preds = %26 %32 = load i32, ptr %3, align 4 %33 = xor i32 %32, 79764919 store i32 %33, ptr %3, align 4 br label %34 34: ; preds = %31, %26 br label %35 35: ; preds = %34 %36 = load i32, ptr %5, align 4 %37 = shl i32 %36, 1 store i32 %37, ptr %5, align 4 br label %9, !llvm.loop !6 38: ; preds = %9 %39 = load i32, ptr %3, align 4 %40 = and i32 %39, -1 ret i32 %40 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxxrl5pkh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @crc32_update(i32 noundef %0, i8 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i8, align 1 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i8, align 1 store i32 %0, ptr %3, align 4 store i8 %1, ptr %4, align 1 %8 = load i8, ptr %4, align 1 store i8 %8, ptr %7, align 1 store i32 1, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = and i32 %9, 255 %11 = icmp ne i32 %10, 0 br i1 %11, label %.lr.ph, label %40 .lr.ph: ; preds = %2 br label %12 12: ; preds = %.lr.ph, %34 %13 = load i32, ptr %3, align 4 %14 = and i32 %13, -2147483648 store i32 %14, ptr %6, align 4 %15 = load i8, ptr %7, align 1 %16 = zext i8 %15 to i32 %17 = load i32, ptr %5, align 4 %18 = and i32 %16, %17 %19 = icmp ne i32 %18, 0 br i1 %19, label %20, label %25 20: ; preds = %12 %21 = load i32, ptr %6, align 4 %22 = icmp ne i32 %21, 0 %23 = xor i1 %22, true %24 = zext i1 %23 to i32 store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %20, %12 %26 = load i32, ptr %3, align 4 %27 = shl i32 %26, 1 store i32 %27, ptr %3, align 4 %28 = load i32, ptr %6, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %33 30: ; preds = %25 %31 = load i32, ptr %3, align 4 %32 = xor i32 %31, 79764919 store i32 %32, ptr %3, align 4 br label %33 33: ; preds = %30, %25 br label %34 34: ; preds = %33 %35 = load i32, ptr %5, align 4 %36 = shl i32 %35, 1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = and i32 %37, 255 %39 = icmp ne i32 %38, 0 br i1 %39, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %2 %41 = load i32, ptr %3, align 4 %42 = and i32 %41, -1 ret i32 %42 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpes92bili.c' source_filename = "/tmp/tmpes92bili.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mtranspose(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 512 br i1 %10, label %11, label %20 11: ; preds = %4 %12 = load i32, ptr %7, align 4 %13 = icmp sge i32 %12, 512 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %8, align 8 %19 = call i32 @ctranspose(ptr noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18) br label %26 20: ; preds = %11, %4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = load ptr, ptr %8, align 8 %25 = call i32 @dtranspose(ptr noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %24) br label %26 26: ; preds = %20, %14 ret void } declare i32 @ctranspose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @dtranspose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpes92bili.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mtranspose(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %9 = load i32, ptr %6, align 4 %10 = icmp sge i32 %9, 512 br i1 %10, label %11, label %20 11: ; preds = %4 %12 = load i32, ptr %7, align 4 %13 = icmp sge i32 %12, 512 br i1 %13, label %14, label %20 14: ; preds = %11 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %7, align 4 %18 = load ptr, ptr %8, align 8 %19 = call i32 @ctranspose(ptr noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %18) br label %26 20: ; preds = %11, %4 %21 = load ptr, ptr %5, align 8 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %7, align 4 %24 = load ptr, ptr %8, align 8 %25 = call i32 @dtranspose(ptr noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %24) br label %26 26: ; preds = %20, %14 ret void } declare i32 @ctranspose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @dtranspose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9pbr8owp.c' source_filename = "/tmp/tmp9pbr8owp.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"Not enough arguments\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 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 = icmp eq i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @run(ptr noundef %11) br label %16 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) br label %16 16: ; preds = %13, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @run(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9pbr8owp.c" target datalayout = "e-m:e-p270: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 [22 x i8] c"Not enough arguments\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 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 = icmp eq i32 %6, 2 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 1 %11 = load ptr, ptr %10, align 8 %12 = call i32 @run(ptr noundef %11) br label %16 13: ; preds = %2 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str) br label %16 16: ; preds = %13, %8 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @run(ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyi7cq3jx.c' source_filename = "/tmp/tmpyi7cq3jx.c" target datalayout = "e-m:e-p270: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/tmpyi7cq3jx.c" target datalayout = "e-m:e-p270: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/tmpo4jrymot.c' source_filename = "/tmp/tmpo4jrymot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"tanh_float.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"tanh_float\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %30 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr @CL_SUCCESS, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %2 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %2 %38 = load i32, ptr %7, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38) %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr @CL_PLATFORM_NAME, align 4 %44 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @clGetPlatformInfo(i32 noundef %42, i32 noundef %43, i32 noundef 100, ptr noundef %44, ptr noundef null) store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr @CL_SUCCESS, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %37 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %37 %53 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %53) %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %57 = call i32 @clGetDeviceIDs(i32 noundef %55, i32 noundef %56, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr @CL_SUCCESS, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %64 61: ; preds = %52 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %52 %65 = load i32, ptr %11, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %67) %69 = load i32, ptr %10, align 4 %70 = load i32, ptr @CL_DEVICE_NAME, align 4 %71 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %72 = call i32 @clGetDeviceInfo(i32 noundef %69, i32 noundef %70, i32 noundef 100, ptr noundef %71, ptr noundef null) store i32 %72, ptr %8, align 4 %73 = load i32, ptr %8, align 4 %74 = load i32, ptr @CL_SUCCESS, align 4 %75 = icmp ne i32 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %64 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %64 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %83 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %83, ptr %13, align 4 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr @CL_SUCCESS, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %90 87: ; preds = %79 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %79 %91 = load i32, ptr %13, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %91) %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %10, align 4 %95 = call i32 @clCreateCommandQueue(i32 noundef %93, i32 noundef %94, i32 noundef 0, ptr noundef %8) store i32 %95, ptr %14, align 4 %96 = load i32, ptr %8, align 4 %97 = load i32, ptr @CL_SUCCESS, align 4 %98 = icmp ne i32 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %90 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %101 = call i32 @exit(i32 noundef 1) #3 unreachable 102: ; preds = %90 %103 = load i32, ptr %14, align 4 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %103) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %106 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %106, ptr %15, align 8 %107 = load i32, ptr %13, align 4 %108 = call i32 @clCreateProgramWithSource(i32 noundef %107, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %108, ptr %17, align 4 %109 = load i32, ptr %8, align 4 %110 = load i32, ptr @CL_SUCCESS, align 4 %111 = icmp ne i32 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %102 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %114 = call i32 @exit(i32 noundef 1) #3 unreachable 115: ; preds = %102 %116 = load i32, ptr %17, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %116) %118 = load i32, ptr %17, align 4 %119 = call i32 @clBuildProgram(i32 noundef %118, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %119, ptr %8, align 4 %120 = load i32, ptr %8, align 4 %121 = load i32, ptr @CL_SUCCESS, align 4 %122 = icmp ne i32 %120, %121 br i1 %122, label %123, label %141 123: ; preds = %115 %124 = load i32, ptr %17, align 4 %125 = load i32, ptr %10, align 4 %126 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %127 = call i32 @clGetProgramBuildInfo(i32 noundef %124, i32 noundef %125, i32 noundef %126, i64 noundef 0, ptr noundef null, ptr noundef %18) %128 = load i64, ptr %18, align 8 %129 = call ptr @malloc(i64 noundef %128) store ptr %129, ptr %19, align 8 %130 = load i32, ptr %17, align 4 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %133 = load i64, ptr %18, align 8 %134 = load ptr, ptr %19, align 8 %135 = call i32 @clGetProgramBuildInfo(i32 noundef %130, i32 noundef %131, i32 noundef %132, i64 noundef %133, ptr noundef %134, ptr noundef null) %136 = load ptr, ptr %19, align 8 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %136) %138 = load ptr, ptr %19, align 8 %139 = call i32 @free(ptr noundef %138) %140 = call i32 @exit(i32 noundef 1) #3 unreachable 141: ; preds = %115 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %144 = load i32, ptr %17, align 4 %145 = call i32 @clCreateKernel(i32 noundef %144, ptr noundef @.str.20, ptr noundef %8) store i32 %145, ptr %20, align 4 %146 = load i32, ptr %8, align 4 %147 = load i32, ptr @CL_SUCCESS, align 4 %148 = icmp ne i32 %146, %147 br i1 %148, label %149, label %152 149: ; preds = %141 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %151 = call i32 @exit(i32 noundef 1) #3 unreachable 152: ; preds = %141 store i64 10, ptr %21, align 8 %153 = load i64, ptr %21, align 8 %154 = mul i64 %153, 1 %155 = call ptr @malloc(i64 noundef %154) store ptr %155, ptr %22, align 8 store i32 0, ptr %23, align 4 br label %156 156: ; preds = %166, %152 %157 = load i32, ptr %23, align 4 %158 = sext i32 %157 to i64 %159 = load i64, ptr %21, align 8 %160 = icmp ult i64 %158, %159 br i1 %160, label %161, label %169 161: ; preds = %156 %162 = load ptr, ptr %22, align 8 %163 = load i32, ptr %23, align 4 %164 = sext i32 %163 to i64 %165 = getelementptr inbounds i8, ptr %162, i64 %164 store i8 2, ptr %165, align 1 br label %166 166: ; preds = %161 %167 = load i32, ptr %23, align 4 %168 = add nsw i32 %167, 1 store i32 %168, ptr %23, align 4 br label %156, !llvm.loop !6 169: ; preds = %156 %170 = load i32, ptr %13, align 4 %171 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %172 = load i64, ptr %21, align 8 %173 = mul i64 %172, 1 %174 = call i32 @clCreateBuffer(i32 noundef %170, i32 noundef %171, i64 noundef %173, ptr noundef null, ptr noundef %8) store i32 %174, ptr %24, align 4 %175 = load i32, ptr %8, align 4 %176 = load i32, ptr @CL_SUCCESS, align 4 %177 = icmp ne i32 %175, %176 br i1 %177, label %178, label %181 178: ; preds = %169 %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %180 = call i32 @exit(i32 noundef 1) #3 unreachable 181: ; preds = %169 %182 = load i32, ptr %14, align 4 %183 = load i32, ptr %24, align 4 %184 = load i32, ptr @CL_TRUE, align 4 %185 = load i64, ptr %21, align 8 %186 = mul i64 %185, 1 %187 = load ptr, ptr %22, align 8 %188 = call i32 @clEnqueueWriteBuffer(i32 noundef %182, i32 noundef %183, i32 noundef %184, i32 noundef 0, i64 noundef %186, ptr noundef %187, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %188, ptr %8, align 4 %189 = load i32, ptr %8, align 4 %190 = load i32, ptr @CL_SUCCESS, align 4 %191 = icmp ne i32 %189, %190 br i1 %191, label %192, label %195 192: ; preds = %181 %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %194 = call i32 @exit(i32 noundef 1) #3 unreachable 195: ; preds = %181 %196 = load i64, ptr %21, align 8 %197 = mul i64 %196, 1 %198 = call ptr @malloc(i64 noundef %197) store ptr %198, ptr %25, align 8 %199 = load ptr, ptr %25, align 8 %200 = load i64, ptr %21, align 8 %201 = mul i64 %200, 1 %202 = call i32 @memset(ptr noundef %199, i32 noundef 1, i64 noundef %201) %203 = load i32, ptr %13, align 4 %204 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %205 = load i64, ptr %21, align 8 %206 = mul i64 %205, 1 %207 = call i32 @clCreateBuffer(i32 noundef %203, i32 noundef %204, i64 noundef %206, ptr noundef null, ptr noundef %8) store i32 %207, ptr %26, align 4 %208 = load i32, ptr %8, align 4 %209 = load i32, ptr @CL_SUCCESS, align 4 %210 = icmp ne i32 %208, %209 br i1 %210, label %211, label %214 211: ; preds = %195 %212 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %213 = call i32 @exit(i32 noundef 1) #3 unreachable 214: ; preds = %195 %215 = load i32, ptr @CL_SUCCESS, align 4 store i32 %215, ptr %8, align 4 %216 = load i32, ptr %20, align 4 %217 = call i32 @clSetKernelArg(i32 noundef %216, i32 noundef 0, i32 noundef 4, ptr noundef %24) %218 = load i32, ptr %8, align 4 %219 = or i32 %218, %217 store i32 %219, ptr %8, align 4 %220 = load i32, ptr %20, align 4 %221 = call i32 @clSetKernelArg(i32 noundef %220, i32 noundef 1, i32 noundef 4, ptr noundef %26) %222 = load i32, ptr %8, align 4 %223 = or i32 %222, %221 store i32 %223, ptr %8, align 4 %224 = load i32, ptr %8, align 4 %225 = load i32, ptr @CL_SUCCESS, align 4 %226 = icmp ne i32 %224, %225 br i1 %226, label %227, label %230 227: ; preds = %214 %228 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %229 = call i32 @exit(i32 noundef 1) #3 unreachable 230: ; preds = %214 %231 = load i64, ptr %21, align 8 store i64 %231, ptr %27, align 8 %232 = load i64, ptr %21, align 8 store i64 %232, ptr %28, align 8 %233 = load i32, ptr %14, align 4 %234 = load i32, ptr %20, align 4 %235 = call i32 @clEnqueueNDRangeKernel(i32 noundef %233, i32 noundef %234, i32 noundef 1, ptr noundef null, ptr noundef %27, ptr noundef %28, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %235, ptr %8, align 4 %236 = load i32, ptr %8, align 4 %237 = load i32, ptr @CL_SUCCESS, align 4 %238 = icmp ne i32 %236, %237 br i1 %238, label %239, label %242 239: ; preds = %230 %240 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %241 = call i32 @exit(i32 noundef 1) #3 unreachable 242: ; preds = %230 %243 = load i32, ptr %14, align 4 %244 = call i32 @clFinish(i32 noundef %243) %245 = load i32, ptr %14, align 4 %246 = load i32, ptr %26, align 4 %247 = load i32, ptr @CL_TRUE, align 4 %248 = load i64, ptr %21, align 8 %249 = mul i64 %248, 1 %250 = load ptr, ptr %25, align 8 %251 = call i32 @clEnqueueReadBuffer(i32 noundef %245, i32 noundef %246, i32 noundef %247, i32 noundef 0, i64 noundef %249, ptr noundef %250, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %251, ptr %8, align 4 %252 = load i32, ptr %8, align 4 %253 = load i32, ptr @CL_SUCCESS, align 4 %254 = icmp ne i32 %252, %253 br i1 %254, label %255, label %258 255: ; preds = %242 %256 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %257 = call i32 @exit(i32 noundef 1) #3 unreachable 258: ; preds = %242 %259 = load ptr, ptr %5, align 8 %260 = getelementptr inbounds ptr, ptr %259, i64 0 %261 = load ptr, ptr %260, align 8 %262 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.28, ptr noundef %261) %263 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %264 = load ptr, ptr %25, align 8 %265 = load i64, ptr %21, align 8 %266 = mul i64 %265, 1 %267 = call i32 @write_buffer(ptr noundef %263, ptr noundef %264, i64 noundef %266) %268 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %269 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %268) %270 = load ptr, ptr %25, align 8 %271 = call i32 @free(ptr noundef %270) %272 = load i32, ptr %26, align 4 %273 = call i32 @clReleaseMemObject(i32 noundef %272) store i32 %273, ptr %8, align 4 %274 = load i32, ptr %8, align 4 %275 = load i32, ptr @CL_SUCCESS, align 4 %276 = icmp ne i32 %274, %275 br i1 %276, label %277, label %280 277: ; preds = %258 %278 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %279 = call i32 @exit(i32 noundef 1) #3 unreachable 280: ; preds = %258 %281 = load ptr, ptr %22, align 8 %282 = call i32 @free(ptr noundef %281) %283 = load i32, ptr %24, align 4 %284 = call i32 @clReleaseMemObject(i32 noundef %283) store i32 %284, ptr %8, align 4 %285 = load i32, ptr %8, align 4 %286 = load i32, ptr @CL_SUCCESS, align 4 %287 = icmp ne i32 %285, %286 br i1 %287, label %288, label %291 288: ; preds = %280 %289 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %290 = call i32 @exit(i32 noundef 1) #3 unreachable 291: ; preds = %280 %292 = load i32, ptr %20, align 4 %293 = call i32 @clReleaseKernel(i32 noundef %292) store i32 %293, ptr %8, align 4 %294 = load i32, ptr %8, align 4 %295 = load i32, ptr @CL_SUCCESS, align 4 %296 = icmp ne i32 %294, %295 br i1 %296, label %297, label %300 297: ; preds = %291 %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %299 = call i32 @exit(i32 noundef 1) #3 unreachable 300: ; preds = %291 %301 = load i32, ptr %17, align 4 %302 = call i32 @clReleaseProgram(i32 noundef %301) store i32 %302, ptr %8, align 4 %303 = load i32, ptr %8, align 4 %304 = load i32, ptr @CL_SUCCESS, align 4 %305 = icmp ne i32 %303, %304 br i1 %305, label %306, label %309 306: ; preds = %300 %307 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %308 = call i32 @exit(i32 noundef 1) #3 unreachable 309: ; preds = %300 %310 = load i32, ptr %14, align 4 %311 = call i32 @clReleaseCommandQueue(i32 noundef %310) store i32 %311, ptr %8, align 4 %312 = load i32, ptr %8, align 4 %313 = load i32, ptr @CL_SUCCESS, align 4 %314 = icmp ne i32 %312, %313 br i1 %314, label %315, label %318 315: ; preds = %309 %316 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %317 = call i32 @exit(i32 noundef 1) #3 unreachable 318: ; preds = %309 %319 = load i32, ptr %13, align 4 %320 = call i32 @clReleaseContext(i32 noundef %319) store i32 %320, ptr %8, align 4 %321 = load i32, ptr %8, align 4 %322 = load i32, ptr @CL_SUCCESS, align 4 %323 = icmp ne i32 %321, %322 br i1 %323, label %324, label %327 324: ; preds = %318 %325 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %326 = call i32 @exit(i32 noundef 1) #3 unreachable 327: ; preds = %318 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4jrymot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @CL_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"error: call to 'clGetPlatformIDs' failed\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Number of platforms: %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"platform=%p\0A\00", align 1 @CL_PLATFORM_NAME = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [43 x i8] c"error: call to 'clGetPlatformInfo' failed\0A\00", align 1 @.str.4 = private unnamed_addr constant [21 x i8] c"platform.name='%s'\0A\0A\00", align 1 @CL_DEVICE_TYPE_GPU = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [40 x i8] c"error: call to 'clGetDeviceIDs' failed\0A\00", align 1 @.str.6 = private unnamed_addr constant [23 x i8] c"Number of devices: %d\0A\00", align 1 @.str.7 = private unnamed_addr constant [11 x i8] c"device=%p\0A\00", align 1 @CL_DEVICE_NAME = dso_local global i32 0, align 4 @.str.8 = private unnamed_addr constant [41 x i8] c"error: call to 'clGetDeviceInfo' failed\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"device.name='%s'\0A\00", align 1 @.str.10 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.11 = private unnamed_addr constant [41 x i8] c"error: call to 'clCreateContext' failed\0A\00", align 1 @.str.12 = private unnamed_addr constant [12 x i8] c"context=%p\0A\00", align 1 @.str.13 = private unnamed_addr constant [46 x i8] c"error: call to 'clCreateCommandQueue' failed\0A\00", align 1 @.str.14 = private unnamed_addr constant [18 x i8] c"command_queue=%p\0A\00", align 1 @.str.15 = private unnamed_addr constant [14 x i8] c"tanh_float.cl\00", align 1 @.str.16 = private unnamed_addr constant [51 x i8] c"error: call to 'clCreateProgramWithSource' failed\0A\00", align 1 @.str.17 = private unnamed_addr constant [12 x i8] c"program=%p\0A\00", align 1 @CL_PROGRAM_BUILD_LOG = dso_local global i32 0, align 4 @.str.18 = private unnamed_addr constant [44 x i8] c"error: call to 'clBuildProgram' failed:\0A%s\0A\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"program built\0A\00", align 1 @.str.20 = private unnamed_addr constant [11 x i8] c"tanh_float\00", align 1 @.str.21 = private unnamed_addr constant [40 x i8] c"error: call to 'clCreateKernel' failed\0A\00", align 1 @CL_MEM_READ_ONLY = dso_local global i32 0, align 4 @.str.22 = private unnamed_addr constant [39 x i8] c"error: could not create source buffer\0A\00", align 1 @CL_TRUE = dso_local global i32 0, align 4 @.str.23 = private unnamed_addr constant [46 x i8] c"error: call to 'clEnqueueWriteBuffer' failed\0A\00", align 1 @CL_MEM_WRITE_ONLY = dso_local global i32 0, align 4 @.str.24 = private unnamed_addr constant [36 x i8] c"error: could not create dst buffer\0A\00", align 1 @.str.25 = private unnamed_addr constant [40 x i8] c"error: call to 'clSetKernelArg' failed\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"error: call to 'clEnqueueNDRangeKernel' failed\0A\00", align 1 @.str.27 = private unnamed_addr constant [45 x i8] c"error: call to 'clEnqueueReadBuffer' failed\0A\00", align 1 @.str.28 = private unnamed_addr constant [10 x i8] c"%s.result\00", align 1 @.str.29 = private unnamed_addr constant [21 x i8] c"Result dumped to %s\0A\00", align 1 @.str.30 = private unnamed_addr constant [44 x i8] c"error: call to 'clReleaseMemObject' failed\0A\00", align 1 @.str.31 = private unnamed_addr constant [41 x i8] c"error: call to 'clReleaseKernel' failed\0A\00", align 1 @.str.32 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseProgram' failed\0A\00", align 1 @.str.33 = private unnamed_addr constant [47 x i8] c"error: call to 'clReleaseCommandQueue' failed\0A\00", align 1 @.str.34 = private unnamed_addr constant [42 x i8] c"error: call to 'clReleaseContext' failed\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca [100 x i8], align 16 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca [100 x i8], align 16 %13 = alloca i32, align 4 %14 = alloca i32, align 4 %15 = alloca ptr, align 8 %16 = alloca i64, align 8 %17 = alloca i32, align 4 %18 = alloca i64, align 8 %19 = alloca ptr, align 8 %20 = alloca i32, align 4 %21 = alloca i64, align 8 %22 = alloca ptr, align 8 %23 = alloca i32, align 4 %24 = alloca i32, align 4 %25 = alloca ptr, align 8 %26 = alloca i32, align 4 %27 = alloca i64, align 8 %28 = alloca i64, align 8 %29 = alloca [100 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %30 = call i32 @clGetPlatformIDs(i32 noundef 1, ptr noundef %6, ptr noundef %7) store i32 %30, ptr %8, align 4 %31 = load i32, ptr %8, align 4 %32 = load i32, ptr @CL_SUCCESS, align 4 %33 = icmp ne i32 %31, %32 br i1 %33, label %34, label %37 34: ; preds = %2 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str) %36 = call i32 @exit(i32 noundef 1) #3 unreachable 37: ; preds = %2 %38 = load i32, ptr %7, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %38) %40 = load i32, ptr %6, align 4 %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %40) %42 = load i32, ptr %6, align 4 %43 = load i32, ptr @CL_PLATFORM_NAME, align 4 %44 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %45 = call i32 @clGetPlatformInfo(i32 noundef %42, i32 noundef %43, i32 noundef 100, ptr noundef %44, ptr noundef null) store i32 %45, ptr %8, align 4 %46 = load i32, ptr %8, align 4 %47 = load i32, ptr @CL_SUCCESS, align 4 %48 = icmp ne i32 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %37 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %37 %53 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %53) %55 = load i32, ptr %6, align 4 %56 = load i32, ptr @CL_DEVICE_TYPE_GPU, align 4 %57 = call i32 @clGetDeviceIDs(i32 noundef %55, i32 noundef %56, i32 noundef 1, ptr noundef %10, ptr noundef %11) store i32 %57, ptr %8, align 4 %58 = load i32, ptr %8, align 4 %59 = load i32, ptr @CL_SUCCESS, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %64 61: ; preds = %52 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %63 = call i32 @exit(i32 noundef 1) #3 unreachable 64: ; preds = %52 %65 = load i32, ptr %11, align 4 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %65) %67 = load i32, ptr %10, align 4 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %67) %69 = load i32, ptr %10, align 4 %70 = load i32, ptr @CL_DEVICE_NAME, align 4 %71 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %72 = call i32 @clGetDeviceInfo(i32 noundef %69, i32 noundef %70, i32 noundef 100, ptr noundef %71, ptr noundef null) store i32 %72, ptr %8, align 4 %73 = load i32, ptr %8, align 4 %74 = load i32, ptr @CL_SUCCESS, align 4 %75 = icmp ne i32 %73, %74 br i1 %75, label %76, label %79 76: ; preds = %64 %77 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %78 = call i32 @exit(i32 noundef 1) #3 unreachable 79: ; preds = %64 %80 = getelementptr inbounds [100 x i8], ptr %12, i64 0, i64 0 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, ptr noundef %80) %82 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %83 = call i32 @clCreateContext(ptr noundef null, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef %8) store i32 %83, ptr %13, align 4 %84 = load i32, ptr %8, align 4 %85 = load i32, ptr @CL_SUCCESS, align 4 %86 = icmp ne i32 %84, %85 br i1 %86, label %87, label %90 87: ; preds = %79 %88 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %89 = call i32 @exit(i32 noundef 1) #3 unreachable 90: ; preds = %79 %91 = load i32, ptr %13, align 4 %92 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %91) %93 = load i32, ptr %13, align 4 %94 = load i32, ptr %10, align 4 %95 = call i32 @clCreateCommandQueue(i32 noundef %93, i32 noundef %94, i32 noundef 0, ptr noundef %8) store i32 %95, ptr %14, align 4 %96 = load i32, ptr %8, align 4 %97 = load i32, ptr @CL_SUCCESS, align 4 %98 = icmp ne i32 %96, %97 br i1 %98, label %99, label %102 99: ; preds = %90 %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %101 = call i32 @exit(i32 noundef 1) #3 unreachable 102: ; preds = %90 %103 = load i32, ptr %14, align 4 %104 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, i32 noundef %103) %105 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %106 = call ptr @read_buffer(ptr noundef @.str.15, ptr noundef %16) store ptr %106, ptr %15, align 8 %107 = load i32, ptr %13, align 4 %108 = call i32 @clCreateProgramWithSource(i32 noundef %107, i32 noundef 1, ptr noundef %15, ptr noundef %16, ptr noundef %8) store i32 %108, ptr %17, align 4 %109 = load i32, ptr %8, align 4 %110 = load i32, ptr @CL_SUCCESS, align 4 %111 = icmp ne i32 %109, %110 br i1 %111, label %112, label %115 112: ; preds = %102 %113 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %114 = call i32 @exit(i32 noundef 1) #3 unreachable 115: ; preds = %102 %116 = load i32, ptr %17, align 4 %117 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %116) %118 = load i32, ptr %17, align 4 %119 = call i32 @clBuildProgram(i32 noundef %118, i32 noundef 1, ptr noundef %10, ptr noundef null, ptr noundef null, ptr noundef null) store i32 %119, ptr %8, align 4 %120 = load i32, ptr %8, align 4 %121 = load i32, ptr @CL_SUCCESS, align 4 %122 = icmp ne i32 %120, %121 br i1 %122, label %123, label %141 123: ; preds = %115 %124 = load i32, ptr %17, align 4 %125 = load i32, ptr %10, align 4 %126 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %127 = call i32 @clGetProgramBuildInfo(i32 noundef %124, i32 noundef %125, i32 noundef %126, i64 noundef 0, ptr noundef null, ptr noundef %18) %128 = load i64, ptr %18, align 8 %129 = call ptr @malloc(i64 noundef %128) store ptr %129, ptr %19, align 8 %130 = load i32, ptr %17, align 4 %131 = load i32, ptr %10, align 4 %132 = load i32, ptr @CL_PROGRAM_BUILD_LOG, align 4 %133 = load i64, ptr %18, align 8 %134 = load ptr, ptr %19, align 8 %135 = call i32 @clGetProgramBuildInfo(i32 noundef %130, i32 noundef %131, i32 noundef %132, i64 noundef %133, ptr noundef %134, ptr noundef null) %136 = load ptr, ptr %19, align 8 %137 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, ptr noundef %136) %138 = load ptr, ptr %19, align 8 %139 = call i32 @free(ptr noundef %138) %140 = call i32 @exit(i32 noundef 1) #3 unreachable 141: ; preds = %115 %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %143 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %144 = load i32, ptr %17, align 4 %145 = call i32 @clCreateKernel(i32 noundef %144, ptr noundef @.str.20, ptr noundef %8) store i32 %145, ptr %20, align 4 %146 = load i32, ptr %8, align 4 %147 = load i32, ptr @CL_SUCCESS, align 4 %148 = icmp ne i32 %146, %147 br i1 %148, label %149, label %152 149: ; preds = %141 %150 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %151 = call i32 @exit(i32 noundef 1) #3 unreachable 152: ; preds = %141 store i64 10, ptr %21, align 8 %153 = load i64, ptr %21, align 8 %154 = mul i64 %153, 1 %155 = call ptr @malloc(i64 noundef %154) store ptr %155, ptr %22, align 8 store i32 0, ptr %23, align 4 %156 = load i32, ptr %23, align 4 %157 = sext i32 %156 to i64 %158 = load i64, ptr %21, align 8 %159 = icmp ult i64 %157, %158 br i1 %159, label %.lr.ph, label %172 .lr.ph: ; preds = %152 br label %160 160: ; preds = %.lr.ph, %165 %161 = load ptr, ptr %22, align 8 %162 = load i32, ptr %23, align 4 %163 = sext i32 %162 to i64 %164 = getelementptr inbounds i8, ptr %161, i64 %163 store i8 2, ptr %164, align 1 br label %165 165: ; preds = %160 %166 = load i32, ptr %23, align 4 %167 = add nsw i32 %166, 1 store i32 %167, ptr %23, align 4 %168 = load i32, ptr %23, align 4 %169 = sext i32 %168 to i64 %170 = load i64, ptr %21, align 8 %171 = icmp ult i64 %169, %170 br i1 %171, label %160, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %165 br label %172 172: ; preds = %._crit_edge, %152 %173 = load i32, ptr %13, align 4 %174 = load i32, ptr @CL_MEM_READ_ONLY, align 4 %175 = load i64, ptr %21, align 8 %176 = mul i64 %175, 1 %177 = call i32 @clCreateBuffer(i32 noundef %173, i32 noundef %174, i64 noundef %176, ptr noundef null, ptr noundef %8) store i32 %177, ptr %24, align 4 %178 = load i32, ptr %8, align 4 %179 = load i32, ptr @CL_SUCCESS, align 4 %180 = icmp ne i32 %178, %179 br i1 %180, label %181, label %184 181: ; preds = %172 %182 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %183 = call i32 @exit(i32 noundef 1) #3 unreachable 184: ; preds = %172 %185 = load i32, ptr %14, align 4 %186 = load i32, ptr %24, align 4 %187 = load i32, ptr @CL_TRUE, align 4 %188 = load i64, ptr %21, align 8 %189 = mul i64 %188, 1 %190 = load ptr, ptr %22, align 8 %191 = call i32 @clEnqueueWriteBuffer(i32 noundef %185, i32 noundef %186, i32 noundef %187, i32 noundef 0, i64 noundef %189, ptr noundef %190, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %191, ptr %8, align 4 %192 = load i32, ptr %8, align 4 %193 = load i32, ptr @CL_SUCCESS, align 4 %194 = icmp ne i32 %192, %193 br i1 %194, label %195, label %198 195: ; preds = %184 %196 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %197 = call i32 @exit(i32 noundef 1) #3 unreachable 198: ; preds = %184 %199 = load i64, ptr %21, align 8 %200 = mul i64 %199, 1 %201 = call ptr @malloc(i64 noundef %200) store ptr %201, ptr %25, align 8 %202 = load ptr, ptr %25, align 8 %203 = load i64, ptr %21, align 8 %204 = mul i64 %203, 1 %205 = call i32 @memset(ptr noundef %202, i32 noundef 1, i64 noundef %204) %206 = load i32, ptr %13, align 4 %207 = load i32, ptr @CL_MEM_WRITE_ONLY, align 4 %208 = load i64, ptr %21, align 8 %209 = mul i64 %208, 1 %210 = call i32 @clCreateBuffer(i32 noundef %206, i32 noundef %207, i64 noundef %209, ptr noundef null, ptr noundef %8) store i32 %210, ptr %26, align 4 %211 = load i32, ptr %8, align 4 %212 = load i32, ptr @CL_SUCCESS, align 4 %213 = icmp ne i32 %211, %212 br i1 %213, label %214, label %217 214: ; preds = %198 %215 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %216 = call i32 @exit(i32 noundef 1) #3 unreachable 217: ; preds = %198 %218 = load i32, ptr @CL_SUCCESS, align 4 store i32 %218, ptr %8, align 4 %219 = load i32, ptr %20, align 4 %220 = call i32 @clSetKernelArg(i32 noundef %219, i32 noundef 0, i32 noundef 4, ptr noundef %24) %221 = load i32, ptr %8, align 4 %222 = or i32 %221, %220 store i32 %222, ptr %8, align 4 %223 = load i32, ptr %20, align 4 %224 = call i32 @clSetKernelArg(i32 noundef %223, i32 noundef 1, i32 noundef 4, ptr noundef %26) %225 = load i32, ptr %8, align 4 %226 = or i32 %225, %224 store i32 %226, ptr %8, align 4 %227 = load i32, ptr %8, align 4 %228 = load i32, ptr @CL_SUCCESS, align 4 %229 = icmp ne i32 %227, %228 br i1 %229, label %230, label %233 230: ; preds = %217 %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %232 = call i32 @exit(i32 noundef 1) #3 unreachable 233: ; preds = %217 %234 = load i64, ptr %21, align 8 store i64 %234, ptr %27, align 8 %235 = load i64, ptr %21, align 8 store i64 %235, ptr %28, align 8 %236 = load i32, ptr %14, align 4 %237 = load i32, ptr %20, align 4 %238 = call i32 @clEnqueueNDRangeKernel(i32 noundef %236, i32 noundef %237, i32 noundef 1, ptr noundef null, ptr noundef %27, ptr noundef %28, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %238, ptr %8, align 4 %239 = load i32, ptr %8, align 4 %240 = load i32, ptr @CL_SUCCESS, align 4 %241 = icmp ne i32 %239, %240 br i1 %241, label %242, label %245 242: ; preds = %233 %243 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %244 = call i32 @exit(i32 noundef 1) #3 unreachable 245: ; preds = %233 %246 = load i32, ptr %14, align 4 %247 = call i32 @clFinish(i32 noundef %246) %248 = load i32, ptr %14, align 4 %249 = load i32, ptr %26, align 4 %250 = load i32, ptr @CL_TRUE, align 4 %251 = load i64, ptr %21, align 8 %252 = mul i64 %251, 1 %253 = load ptr, ptr %25, align 8 %254 = call i32 @clEnqueueReadBuffer(i32 noundef %248, i32 noundef %249, i32 noundef %250, i32 noundef 0, i64 noundef %252, ptr noundef %253, i32 noundef 0, ptr noundef null, ptr noundef null) store i32 %254, ptr %8, align 4 %255 = load i32, ptr %8, align 4 %256 = load i32, ptr @CL_SUCCESS, align 4 %257 = icmp ne i32 %255, %256 br i1 %257, label %258, label %261 258: ; preds = %245 %259 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %260 = call i32 @exit(i32 noundef 1) #3 unreachable 261: ; preds = %245 %262 = load ptr, ptr %5, align 8 %263 = getelementptr inbounds ptr, ptr %262, i64 0 %264 = load ptr, ptr %263, align 8 %265 = call i32 @sprintf(ptr noundef %29, ptr noundef @.str.28, ptr noundef %264) %266 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %267 = load ptr, ptr %25, align 8 %268 = load i64, ptr %21, align 8 %269 = mul i64 %268, 1 %270 = call i32 @write_buffer(ptr noundef %266, ptr noundef %267, i64 noundef %269) %271 = getelementptr inbounds [100 x i8], ptr %29, i64 0, i64 0 %272 = call i32 (ptr, ...) @printf(ptr noundef @.str.29, ptr noundef %271) %273 = load ptr, ptr %25, align 8 %274 = call i32 @free(ptr noundef %273) %275 = load i32, ptr %26, align 4 %276 = call i32 @clReleaseMemObject(i32 noundef %275) store i32 %276, ptr %8, align 4 %277 = load i32, ptr %8, align 4 %278 = load i32, ptr @CL_SUCCESS, align 4 %279 = icmp ne i32 %277, %278 br i1 %279, label %280, label %283 280: ; preds = %261 %281 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %282 = call i32 @exit(i32 noundef 1) #3 unreachable 283: ; preds = %261 %284 = load ptr, ptr %22, align 8 %285 = call i32 @free(ptr noundef %284) %286 = load i32, ptr %24, align 4 %287 = call i32 @clReleaseMemObject(i32 noundef %286) store i32 %287, ptr %8, align 4 %288 = load i32, ptr %8, align 4 %289 = load i32, ptr @CL_SUCCESS, align 4 %290 = icmp ne i32 %288, %289 br i1 %290, label %291, label %294 291: ; preds = %283 %292 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %293 = call i32 @exit(i32 noundef 1) #3 unreachable 294: ; preds = %283 %295 = load i32, ptr %20, align 4 %296 = call i32 @clReleaseKernel(i32 noundef %295) store i32 %296, ptr %8, align 4 %297 = load i32, ptr %8, align 4 %298 = load i32, ptr @CL_SUCCESS, align 4 %299 = icmp ne i32 %297, %298 br i1 %299, label %300, label %303 300: ; preds = %294 %301 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %302 = call i32 @exit(i32 noundef 1) #3 unreachable 303: ; preds = %294 %304 = load i32, ptr %17, align 4 %305 = call i32 @clReleaseProgram(i32 noundef %304) store i32 %305, ptr %8, align 4 %306 = load i32, ptr %8, align 4 %307 = load i32, ptr @CL_SUCCESS, align 4 %308 = icmp ne i32 %306, %307 br i1 %308, label %309, label %312 309: ; preds = %303 %310 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %311 = call i32 @exit(i32 noundef 1) #3 unreachable 312: ; preds = %303 %313 = load i32, ptr %14, align 4 %314 = call i32 @clReleaseCommandQueue(i32 noundef %313) store i32 %314, ptr %8, align 4 %315 = load i32, ptr %8, align 4 %316 = load i32, ptr @CL_SUCCESS, align 4 %317 = icmp ne i32 %315, %316 br i1 %317, label %318, label %321 318: ; preds = %312 %319 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %320 = call i32 @exit(i32 noundef 1) #3 unreachable 321: ; preds = %312 %322 = load i32, ptr %13, align 4 %323 = call i32 @clReleaseContext(i32 noundef %322) store i32 %323, ptr %8, align 4 %324 = load i32, ptr %8, align 4 %325 = load i32, ptr @CL_SUCCESS, align 4 %326 = icmp ne i32 %324, %325 br i1 %326, label %327, label %330 327: ; preds = %321 %328 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %329 = call i32 @exit(i32 noundef 1) #3 unreachable 330: ; preds = %321 ret i32 0 } declare i32 @clGetPlatformIDs(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @clGetPlatformInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceIDs(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetDeviceInfo(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateContext(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateCommandQueue(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare ptr @read_buffer(ptr noundef, ptr noundef) #1 declare i32 @clCreateProgramWithSource(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clBuildProgram(i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @clGetProgramBuildInfo(i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare ptr @malloc(i64 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @clCreateKernel(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clCreateBuffer(i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) #1 declare i32 @clEnqueueWriteBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1 declare i32 @clSetKernelArg(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @clEnqueueNDRangeKernel(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @clFinish(i32 noundef) #1 declare i32 @clEnqueueReadBuffer(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @write_buffer(ptr noundef, ptr noundef, i64 noundef) #1 declare i32 @clReleaseMemObject(i32 noundef) #1 declare i32 @clReleaseKernel(i32 noundef) #1 declare i32 @clReleaseProgram(i32 noundef) #1 declare i32 @clReleaseCommandQueue(i32 noundef) #1 declare i32 @clReleaseContext(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4kio957a.c' source_filename = "/tmp/tmp4kio957a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[32m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ze_green() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4kio957a.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\1B[32m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ze_green() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpggrg8tey.c' source_filename = "/tmp/tmpggrg8tey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage %s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"\09<-d> to print a debug log\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\09<--patchram patchram_file>\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"\09<--baudrate baud_rate>\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"\09<--bd_addr bd_address>\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"\09<--enable_lpm>\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"\09<--enable_hci>\0A\00", align 1 @.str.7 = private unnamed_addr constant [43 x i8] c"\09<--use_baudrate_for_download> - Uses the\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"\09\09baudrate for downloading the firmware\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c"\09<--scopcm=sco_routing,pcm_interface_rate,frame_type,\0A\00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"\09\09sync_mode,clock_mode,lsb_first,fill_bits,\0A\00", align 1 @.str.11 = private unnamed_addr constant [39 x i8] c"\09\09fill_method,fill_num,right_justify>\0A\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"\0A\09\09Where\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"\0A\09\09sco_routing is 0 for PCM, 1 for Transport,\0A\00", align 1 @.str.14 = private unnamed_addr constant [30 x i8] c"\09\092 for Codec and 3 for I2S,\0A\00", align 1 @.str.15 = private unnamed_addr constant [47 x i8] c"\0A\09\09pcm_interface_rate is 0 for 128KBps, 1 for\0A\00", align 1 @.str.16 = private unnamed_addr constant [44 x i8] c"\09\09256 KBps, 2 for 512KBps, 3 for 1024KBps,\0A\00", align 1 @.str.17 = private unnamed_addr constant [23 x i8] c"\09\09and 4 for 2048Kbps,\0A\00", align 1 @.str.18 = private unnamed_addr constant [46 x i8] c"\0A\09\09frame_type is 0 for short and 1 for long,\0A\00", align 1 @.str.19 = private unnamed_addr constant [46 x i8] c"\09\09sync_mode is 0 for slave and 1 for master,\0A\00", align 1 @.str.20 = private unnamed_addr constant [48 x i8] c"\0A\09\09clock_mode is 0 for slabe and 1 for master,\0A\00", align 1 @.str.21 = private unnamed_addr constant [46 x i8] c"\0A\09\09lsb_first is 0 for false aand 1 for true,\0A\00", align 1 @.str.22 = private unnamed_addr constant [55 x i8] c"\0A\09\09fill_bits is the value in decimal for unused bits,\0A\00", align 1 @.str.23 = private unnamed_addr constant [50 x i8] c"\0A\09\09fill_method is 0 for 0's and 1 for 1's, 2 for\0A\00", align 1 @.str.24 = private unnamed_addr constant [34 x i8] c"\09\09signed and 3 for programmable,\0A\00", align 1 @.str.25 = private unnamed_addr constant [44 x i8] c"\0A\09\09fill_num is the number or bits to fill,\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"\0A\09\09right_justify is 0 for false and 1 for true\0A\00", align 1 @.str.27 = private unnamed_addr constant [55 x i8] c"\0A\09<--i2s=i2s_enable,is_master,sample_rate,clock_rate>\0A\00", align 1 @.str.28 = private unnamed_addr constant [50 x i8] c"\0A\09\09i2s_enable is 0 for disable and 1 for enable,\0A\00", align 1 @.str.29 = private unnamed_addr constant [47 x i8] c"\0A\09\09is_master is 0 for slave and 1 for master,\0A\00", align 1 @.str.30 = private unnamed_addr constant [47 x i8] c"\0A\09\09sample_rate is 0 for 8KHz, 1 for 16Khz and\0A\00", align 1 @.str.31 = private unnamed_addr constant [16 x i8] c"\09\092 for 4 KHz,\0A\00", align 1 @.str.32 = private unnamed_addr constant [52 x i8] c"\0A\09\09clock_rate is 0 for 128KHz, 1 for 256KHz, 3 for\0A\00", align 1 @.str.33 = private unnamed_addr constant [33 x i8] c"\09\091024 KHz and 4 for 2048 KHz.\0A\0A\00", align 1 @.str.34 = private unnamed_addr constant [54 x i8] c"\09<--no2bytes skips waiting for two byte confirmation\0A\00", align 1 @.str.35 = private unnamed_addr constant [50 x i8] c"\09\09before starting patchram download. Newer chips\0A\00", align 1 @.str.36 = private unnamed_addr constant [37 x i8] c"\09\09do not generate these two bytes.>\0A\00", align 1 @.str.37 = private unnamed_addr constant [27 x i8] c"\09<--tosleep=microseconds>\0A\00", align 1 @.str.38 = private unnamed_addr constant [90 x i8] c"\09<--enable_fork it will fork the process once completed (usefull to run it in a script)>\0A\00", align 1 @.str.39 = private unnamed_addr constant [19 x i8] c"\09uart_device_name\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.29) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.35) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.36) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.37) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.38) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpggrg8tey.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Usage %s:\0A\00", align 1 @.str.1 = private unnamed_addr constant [28 x i8] c"\09<-d> to print a debug log\0A\00", align 1 @.str.2 = private unnamed_addr constant [29 x i8] c"\09<--patchram patchram_file>\0A\00", align 1 @.str.3 = private unnamed_addr constant [25 x i8] c"\09<--baudrate baud_rate>\0A\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"\09<--bd_addr bd_address>\0A\00", align 1 @.str.5 = private unnamed_addr constant [17 x i8] c"\09<--enable_lpm>\0A\00", align 1 @.str.6 = private unnamed_addr constant [17 x i8] c"\09<--enable_hci>\0A\00", align 1 @.str.7 = private unnamed_addr constant [43 x i8] c"\09<--use_baudrate_for_download> - Uses the\0A\00", align 1 @.str.8 = private unnamed_addr constant [41 x i8] c"\09\09baudrate for downloading the firmware\0A\00", align 1 @.str.9 = private unnamed_addr constant [55 x i8] c"\09<--scopcm=sco_routing,pcm_interface_rate,frame_type,\0A\00", align 1 @.str.10 = private unnamed_addr constant [45 x i8] c"\09\09sync_mode,clock_mode,lsb_first,fill_bits,\0A\00", align 1 @.str.11 = private unnamed_addr constant [39 x i8] c"\09\09fill_method,fill_num,right_justify>\0A\00", align 1 @.str.12 = private unnamed_addr constant [10 x i8] c"\0A\09\09Where\0A\00", align 1 @.str.13 = private unnamed_addr constant [47 x i8] c"\0A\09\09sco_routing is 0 for PCM, 1 for Transport,\0A\00", align 1 @.str.14 = private unnamed_addr constant [30 x i8] c"\09\092 for Codec and 3 for I2S,\0A\00", align 1 @.str.15 = private unnamed_addr constant [47 x i8] c"\0A\09\09pcm_interface_rate is 0 for 128KBps, 1 for\0A\00", align 1 @.str.16 = private unnamed_addr constant [44 x i8] c"\09\09256 KBps, 2 for 512KBps, 3 for 1024KBps,\0A\00", align 1 @.str.17 = private unnamed_addr constant [23 x i8] c"\09\09and 4 for 2048Kbps,\0A\00", align 1 @.str.18 = private unnamed_addr constant [46 x i8] c"\0A\09\09frame_type is 0 for short and 1 for long,\0A\00", align 1 @.str.19 = private unnamed_addr constant [46 x i8] c"\09\09sync_mode is 0 for slave and 1 for master,\0A\00", align 1 @.str.20 = private unnamed_addr constant [48 x i8] c"\0A\09\09clock_mode is 0 for slabe and 1 for master,\0A\00", align 1 @.str.21 = private unnamed_addr constant [46 x i8] c"\0A\09\09lsb_first is 0 for false aand 1 for true,\0A\00", align 1 @.str.22 = private unnamed_addr constant [55 x i8] c"\0A\09\09fill_bits is the value in decimal for unused bits,\0A\00", align 1 @.str.23 = private unnamed_addr constant [50 x i8] c"\0A\09\09fill_method is 0 for 0's and 1 for 1's, 2 for\0A\00", align 1 @.str.24 = private unnamed_addr constant [34 x i8] c"\09\09signed and 3 for programmable,\0A\00", align 1 @.str.25 = private unnamed_addr constant [44 x i8] c"\0A\09\09fill_num is the number or bits to fill,\0A\00", align 1 @.str.26 = private unnamed_addr constant [48 x i8] c"\0A\09\09right_justify is 0 for false and 1 for true\0A\00", align 1 @.str.27 = private unnamed_addr constant [55 x i8] c"\0A\09<--i2s=i2s_enable,is_master,sample_rate,clock_rate>\0A\00", align 1 @.str.28 = private unnamed_addr constant [50 x i8] c"\0A\09\09i2s_enable is 0 for disable and 1 for enable,\0A\00", align 1 @.str.29 = private unnamed_addr constant [47 x i8] c"\0A\09\09is_master is 0 for slave and 1 for master,\0A\00", align 1 @.str.30 = private unnamed_addr constant [47 x i8] c"\0A\09\09sample_rate is 0 for 8KHz, 1 for 16Khz and\0A\00", align 1 @.str.31 = private unnamed_addr constant [16 x i8] c"\09\092 for 4 KHz,\0A\00", align 1 @.str.32 = private unnamed_addr constant [52 x i8] c"\0A\09\09clock_rate is 0 for 128KHz, 1 for 256KHz, 3 for\0A\00", align 1 @.str.33 = private unnamed_addr constant [33 x i8] c"\09\091024 KHz and 4 for 2048 KHz.\0A\0A\00", align 1 @.str.34 = private unnamed_addr constant [54 x i8] c"\09<--no2bytes skips waiting for two byte confirmation\0A\00", align 1 @.str.35 = private unnamed_addr constant [50 x i8] c"\09\09before starting patchram download. Newer chips\0A\00", align 1 @.str.36 = private unnamed_addr constant [37 x i8] c"\09\09do not generate these two bytes.>\0A\00", align 1 @.str.37 = private unnamed_addr constant [27 x i8] c"\09<--tosleep=microseconds>\0A\00", align 1 @.str.38 = private unnamed_addr constant [90 x i8] c"\09<--enable_fork it will fork the process once completed (usefull to run it in a script)>\0A\00", align 1 @.str.39 = private unnamed_addr constant [19 x i8] c"\09uart_device_name\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %3) %5 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %6 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %7 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %9 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.6) %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.10) %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.11) %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.13) %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.14) %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.15) %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.16) %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.17) %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.18) %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.19) %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.20) %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.21) %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) %27 = call i32 (ptr, ...) @printf(ptr noundef @.str.23) %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.24) %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.25) %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.27) %32 = call i32 (ptr, ...) @printf(ptr noundef @.str.12) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.28) %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.29) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.30) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.31) %37 = call i32 (ptr, ...) @printf(ptr noundef @.str.32) %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.33) %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.34) %40 = call i32 (ptr, ...) @printf(ptr noundef @.str.35) %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.36) %42 = call i32 (ptr, ...) @printf(ptr noundef @.str.37) %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.38) %44 = call i32 (ptr, ...) @printf(ptr noundef @.str.39) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxv6s5pl6.c' source_filename = "/tmp/tmpxv6s5pl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_set_RDA(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timespec, align 4 %14 = alloca %struct.timespec, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %16 = load i32, ptr @CLOCK_REALTIME, align 4 %17 = call i32 @clock_gettime(i32 noundef %16, ptr noundef %13) %18 = load i32, ptr %12, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %69 20: ; preds = %6 %21 = load ptr, ptr %7, align 8 %22 = call i32 @write16(ptr noundef %21, i32 noundef 768, i32 noundef 2) %23 = load ptr, ptr %7, align 8 %24 = call i32 @write16(ptr noundef %23, i32 noundef 1024, i32 noundef 2) %25 = load ptr, ptr %7, align 8 %26 = call i32 @write16(ptr noundef %25, i32 noundef 1280, i32 noundef 2) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %11, align 4 %29 = call i32 @write32(ptr noundef %27, i32 noundef 780, i32 noundef %28) %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %11, align 4 %32 = call i32 @write32(ptr noundef %30, i32 noundef 1036, i32 noundef %31) %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %11, align 4 %35 = call i32 @write32(ptr noundef %33, i32 noundef 1292, i32 noundef %34) %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @write32(ptr noundef %36, i32 noundef 772, i32 noundef %37) %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %9, align 4 %41 = call i32 @write32(ptr noundef %39, i32 noundef 1028, i32 noundef %40) %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %9, align 4 %44 = call i32 @write32(ptr noundef %42, i32 noundef 1284, i32 noundef %43) %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %10, align 4 %47 = call i32 @write32(ptr noundef %45, i32 noundef 776, i32 noundef %46) %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %10, align 4 %50 = call i32 @write32(ptr noundef %48, i32 noundef 1032, i32 noundef %49) %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %10, align 4 %53 = call i32 @write32(ptr noundef %51, i32 noundef 1288, i32 noundef %52) %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = call i32 @write32(ptr noundef %54, i32 noundef 788, i32 noundef %55) %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %9, align 4 %59 = call i32 @write32(ptr noundef %57, i32 noundef 1044, i32 noundef %58) %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %9, align 4 %62 = call i32 @write32(ptr noundef %60, i32 noundef 1300, i32 noundef %61) %63 = load ptr, ptr %7, align 8 %64 = call i32 @write32(ptr noundef %63, i32 noundef 784, i32 noundef 8) %65 = load ptr, ptr %7, align 8 %66 = call i32 @write32(ptr noundef %65, i32 noundef 1040, i32 noundef 8) %67 = load ptr, ptr %7, align 8 %68 = call i32 @write32(ptr noundef %67, i32 noundef 1296, i32 noundef 8) br label %228 69: ; preds = %6 %70 = load i32, ptr %12, align 4 %71 = icmp eq i32 %70, 1 br i1 %71, label %72, label %121 72: ; preds = %69 %73 = load ptr, ptr %7, align 8 %74 = call i32 @write16(ptr noundef %73, i32 noundef 832, i32 noundef 2) %75 = load ptr, ptr %7, align 8 %76 = call i32 @write16(ptr noundef %75, i32 noundef 1088, i32 noundef 2) %77 = load ptr, ptr %7, align 8 %78 = call i32 @write16(ptr noundef %77, i32 noundef 1344, i32 noundef 2) %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr %11, align 4 %81 = call i32 @write32(ptr noundef %79, i32 noundef 844, i32 noundef %80) %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %11, align 4 %84 = call i32 @write32(ptr noundef %82, i32 noundef 1100, i32 noundef %83) %85 = load ptr, ptr %7, align 8 %86 = load i32, ptr %11, align 4 %87 = call i32 @write32(ptr noundef %85, i32 noundef 1356, i32 noundef %86) %88 = load ptr, ptr %7, align 8 %89 = load i32, ptr %9, align 4 %90 = call i32 @write32(ptr noundef %88, i32 noundef 836, i32 noundef %89) %91 = load ptr, ptr %7, align 8 %92 = load i32, ptr %9, align 4 %93 = call i32 @write32(ptr noundef %91, i32 noundef 1092, i32 noundef %92) %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %9, align 4 %96 = call i32 @write32(ptr noundef %94, i32 noundef 1348, i32 noundef %95) %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %10, align 4 %99 = call i32 @write32(ptr noundef %97, i32 noundef 840, i32 noundef %98) %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %10, align 4 %102 = call i32 @write32(ptr noundef %100, i32 noundef 1096, i32 noundef %101) %103 = load ptr, ptr %7, align 8 %104 = load i32, ptr %10, align 4 %105 = call i32 @write32(ptr noundef %103, i32 noundef 1352, i32 noundef %104) %106 = load ptr, ptr %7, align 8 %107 = load i32, ptr %9, align 4 %108 = call i32 @write32(ptr noundef %106, i32 noundef 852, i32 noundef %107) %109 = load ptr, ptr %7, align 8 %110 = load i32, ptr %9, align 4 %111 = call i32 @write32(ptr noundef %109, i32 noundef 1108, i32 noundef %110) %112 = load ptr, ptr %7, align 8 %113 = load i32, ptr %9, align 4 %114 = call i32 @write32(ptr noundef %112, i32 noundef 1364, i32 noundef %113) %115 = load ptr, ptr %7, align 8 %116 = call i32 @write32(ptr noundef %115, i32 noundef 848, i32 noundef 8) %117 = load ptr, ptr %7, align 8 %118 = call i32 @write32(ptr noundef %117, i32 noundef 1104, i32 noundef 8) %119 = load ptr, ptr %7, align 8 %120 = call i32 @write32(ptr noundef %119, i32 noundef 1360, i32 noundef 8) br label %227 121: ; preds = %69 %122 = load i32, ptr %12, align 4 %123 = icmp eq i32 %122, 2 br i1 %123, label %124, label %173 124: ; preds = %121 %125 = load ptr, ptr %7, align 8 %126 = call i32 @write16(ptr noundef %125, i32 noundef 896, i32 noundef 2) %127 = load ptr, ptr %7, align 8 %128 = call i32 @write16(ptr noundef %127, i32 noundef 1152, i32 noundef 2) %129 = load ptr, ptr %7, align 8 %130 = call i32 @write16(ptr noundef %129, i32 noundef 1408, i32 noundef 2) %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %11, align 4 %133 = call i32 @write32(ptr noundef %131, i32 noundef 908, i32 noundef %132) %134 = load ptr, ptr %7, align 8 %135 = load i32, ptr %11, align 4 %136 = call i32 @write32(ptr noundef %134, i32 noundef 1164, i32 noundef %135) %137 = load ptr, ptr %7, align 8 %138 = load i32, ptr %11, align 4 %139 = call i32 @write32(ptr noundef %137, i32 noundef 1420, i32 noundef %138) %140 = load ptr, ptr %7, align 8 %141 = load i32, ptr %9, align 4 %142 = call i32 @write32(ptr noundef %140, i32 noundef 900, i32 noundef %141) %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %9, align 4 %145 = call i32 @write32(ptr noundef %143, i32 noundef 1156, i32 noundef %144) %146 = load ptr, ptr %7, align 8 %147 = load i32, ptr %9, align 4 %148 = call i32 @write32(ptr noundef %146, i32 noundef 1412, i32 noundef %147) %149 = load ptr, ptr %7, align 8 %150 = load i32, ptr %10, align 4 %151 = call i32 @write32(ptr noundef %149, i32 noundef 904, i32 noundef %150) %152 = load ptr, ptr %7, align 8 %153 = load i32, ptr %10, align 4 %154 = call i32 @write32(ptr noundef %152, i32 noundef 1160, i32 noundef %153) %155 = load ptr, ptr %7, align 8 %156 = load i32, ptr %10, align 4 %157 = call i32 @write32(ptr noundef %155, i32 noundef 1416, i32 noundef %156) %158 = load ptr, ptr %7, align 8 %159 = load i32, ptr %9, align 4 %160 = call i32 @write32(ptr noundef %158, i32 noundef 916, i32 noundef %159) %161 = load ptr, ptr %7, align 8 %162 = load i32, ptr %9, align 4 %163 = call i32 @write32(ptr noundef %161, i32 noundef 1172, i32 noundef %162) %164 = load ptr, ptr %7, align 8 %165 = load i32, ptr %9, align 4 %166 = call i32 @write32(ptr noundef %164, i32 noundef 1428, i32 noundef %165) %167 = load ptr, ptr %7, align 8 %168 = call i32 @write32(ptr noundef %167, i32 noundef 912, i32 noundef 8) %169 = load ptr, ptr %7, align 8 %170 = call i32 @write32(ptr noundef %169, i32 noundef 1168, i32 noundef 8) %171 = load ptr, ptr %7, align 8 %172 = call i32 @write32(ptr noundef %171, i32 noundef 1424, i32 noundef 8) br label %226 173: ; preds = %121 %174 = load i32, ptr %12, align 4 %175 = icmp eq i32 %174, 3 br i1 %175, label %176, label %225 176: ; preds = %173 %177 = load ptr, ptr %7, align 8 %178 = call i32 @write16(ptr noundef %177, i32 noundef 960, i32 noundef 2) %179 = load ptr, ptr %7, align 8 %180 = call i32 @write16(ptr noundef %179, i32 noundef 1216, i32 noundef 2) %181 = load ptr, ptr %7, align 8 %182 = call i32 @write16(ptr noundef %181, i32 noundef 1472, i32 noundef 2) %183 = load ptr, ptr %7, align 8 %184 = load i32, ptr %11, align 4 %185 = call i32 @write32(ptr noundef %183, i32 noundef 972, i32 noundef %184) %186 = load ptr, ptr %7, align 8 %187 = load i32, ptr %11, align 4 %188 = call i32 @write32(ptr noundef %186, i32 noundef 1228, i32 noundef %187) %189 = load ptr, ptr %7, align 8 %190 = load i32, ptr %11, align 4 %191 = call i32 @write32(ptr noundef %189, i32 noundef 1484, i32 noundef %190) %192 = load ptr, ptr %7, align 8 %193 = load i32, ptr %9, align 4 %194 = call i32 @write32(ptr noundef %192, i32 noundef 964, i32 noundef %193) %195 = load ptr, ptr %7, align 8 %196 = load i32, ptr %9, align 4 %197 = call i32 @write32(ptr noundef %195, i32 noundef 1220, i32 noundef %196) %198 = load ptr, ptr %7, align 8 %199 = load i32, ptr %9, align 4 %200 = call i32 @write32(ptr noundef %198, i32 noundef 1476, i32 noundef %199) %201 = load ptr, ptr %7, align 8 %202 = load i32, ptr %10, align 4 %203 = call i32 @write32(ptr noundef %201, i32 noundef 968, i32 noundef %202) %204 = load ptr, ptr %7, align 8 %205 = load i32, ptr %10, align 4 %206 = call i32 @write32(ptr noundef %204, i32 noundef 1224, i32 noundef %205) %207 = load ptr, ptr %7, align 8 %208 = load i32, ptr %10, align 4 %209 = call i32 @write32(ptr noundef %207, i32 noundef 1480, i32 noundef %208) %210 = load ptr, ptr %7, align 8 %211 = load i32, ptr %9, align 4 %212 = call i32 @write32(ptr noundef %210, i32 noundef 980, i32 noundef %211) %213 = load ptr, ptr %7, align 8 %214 = load i32, ptr %9, align 4 %215 = call i32 @write32(ptr noundef %213, i32 noundef 1236, i32 noundef %214) %216 = load ptr, ptr %7, align 8 %217 = load i32, ptr %9, align 4 %218 = call i32 @write32(ptr noundef %216, i32 noundef 1492, i32 noundef %217) %219 = load ptr, ptr %7, align 8 %220 = call i32 @write32(ptr noundef %219, i32 noundef 976, i32 noundef 8) %221 = load ptr, ptr %7, align 8 %222 = call i32 @write32(ptr noundef %221, i32 noundef 1232, i32 noundef 8) %223 = load ptr, ptr %7, align 8 %224 = call i32 @write32(ptr noundef %223, i32 noundef 1488, i32 noundef 8) br label %225 225: ; preds = %176, %173 br label %226 226: ; preds = %225, %124 br label %227 227: ; preds = %226, %72 br label %228 228: ; preds = %227, %20 ret i32 1 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @write16(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write32(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxv6s5pl6.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.timespec = type { i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @_set_RDA(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.timespec, align 4 %14 = alloca %struct.timespec, align 4 %15 = alloca ptr, align 8 store ptr %0, ptr %7, align 8 store i32 %1, ptr %8, align 4 store i32 %2, ptr %9, align 4 store i32 %3, ptr %10, align 4 store i32 %4, ptr %11, align 4 store i32 %5, ptr %12, align 4 %16 = load i32, ptr @CLOCK_REALTIME, align 4 %17 = call i32 @clock_gettime(i32 noundef %16, ptr noundef %13) %18 = load i32, ptr %12, align 4 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %69 20: ; preds = %6 %21 = load ptr, ptr %7, align 8 %22 = call i32 @write16(ptr noundef %21, i32 noundef 768, i32 noundef 2) %23 = load ptr, ptr %7, align 8 %24 = call i32 @write16(ptr noundef %23, i32 noundef 1024, i32 noundef 2) %25 = load ptr, ptr %7, align 8 %26 = call i32 @write16(ptr noundef %25, i32 noundef 1280, i32 noundef 2) %27 = load ptr, ptr %7, align 8 %28 = load i32, ptr %11, align 4 %29 = call i32 @write32(ptr noundef %27, i32 noundef 780, i32 noundef %28) %30 = load ptr, ptr %7, align 8 %31 = load i32, ptr %11, align 4 %32 = call i32 @write32(ptr noundef %30, i32 noundef 1036, i32 noundef %31) %33 = load ptr, ptr %7, align 8 %34 = load i32, ptr %11, align 4 %35 = call i32 @write32(ptr noundef %33, i32 noundef 1292, i32 noundef %34) %36 = load ptr, ptr %7, align 8 %37 = load i32, ptr %9, align 4 %38 = call i32 @write32(ptr noundef %36, i32 noundef 772, i32 noundef %37) %39 = load ptr, ptr %7, align 8 %40 = load i32, ptr %9, align 4 %41 = call i32 @write32(ptr noundef %39, i32 noundef 1028, i32 noundef %40) %42 = load ptr, ptr %7, align 8 %43 = load i32, ptr %9, align 4 %44 = call i32 @write32(ptr noundef %42, i32 noundef 1284, i32 noundef %43) %45 = load ptr, ptr %7, align 8 %46 = load i32, ptr %10, align 4 %47 = call i32 @write32(ptr noundef %45, i32 noundef 776, i32 noundef %46) %48 = load ptr, ptr %7, align 8 %49 = load i32, ptr %10, align 4 %50 = call i32 @write32(ptr noundef %48, i32 noundef 1032, i32 noundef %49) %51 = load ptr, ptr %7, align 8 %52 = load i32, ptr %10, align 4 %53 = call i32 @write32(ptr noundef %51, i32 noundef 1288, i32 noundef %52) %54 = load ptr, ptr %7, align 8 %55 = load i32, ptr %9, align 4 %56 = call i32 @write32(ptr noundef %54, i32 noundef 788, i32 noundef %55) %57 = load ptr, ptr %7, align 8 %58 = load i32, ptr %9, align 4 %59 = call i32 @write32(ptr noundef %57, i32 noundef 1044, i32 noundef %58) %60 = load ptr, ptr %7, align 8 %61 = load i32, ptr %9, align 4 %62 = call i32 @write32(ptr noundef %60, i32 noundef 1300, i32 noundef %61) %63 = load ptr, ptr %7, align 8 %64 = call i32 @write32(ptr noundef %63, i32 noundef 784, i32 noundef 8) %65 = load ptr, ptr %7, align 8 %66 = call i32 @write32(ptr noundef %65, i32 noundef 1040, i32 noundef 8) %67 = load ptr, ptr %7, align 8 %68 = call i32 @write32(ptr noundef %67, i32 noundef 1296, i32 noundef 8) br label %228 69: ; preds = %6 %70 = load i32, ptr %12, align 4 %71 = icmp eq i32 %70, 1 br i1 %71, label %72, label %121 72: ; preds = %69 %73 = load ptr, ptr %7, align 8 %74 = call i32 @write16(ptr noundef %73, i32 noundef 832, i32 noundef 2) %75 = load ptr, ptr %7, align 8 %76 = call i32 @write16(ptr noundef %75, i32 noundef 1088, i32 noundef 2) %77 = load ptr, ptr %7, align 8 %78 = call i32 @write16(ptr noundef %77, i32 noundef 1344, i32 noundef 2) %79 = load ptr, ptr %7, align 8 %80 = load i32, ptr %11, align 4 %81 = call i32 @write32(ptr noundef %79, i32 noundef 844, i32 noundef %80) %82 = load ptr, ptr %7, align 8 %83 = load i32, ptr %11, align 4 %84 = call i32 @write32(ptr noundef %82, i32 noundef 1100, i32 noundef %83) %85 = load ptr, ptr %7, align 8 %86 = load i32, ptr %11, align 4 %87 = call i32 @write32(ptr noundef %85, i32 noundef 1356, i32 noundef %86) %88 = load ptr, ptr %7, align 8 %89 = load i32, ptr %9, align 4 %90 = call i32 @write32(ptr noundef %88, i32 noundef 836, i32 noundef %89) %91 = load ptr, ptr %7, align 8 %92 = load i32, ptr %9, align 4 %93 = call i32 @write32(ptr noundef %91, i32 noundef 1092, i32 noundef %92) %94 = load ptr, ptr %7, align 8 %95 = load i32, ptr %9, align 4 %96 = call i32 @write32(ptr noundef %94, i32 noundef 1348, i32 noundef %95) %97 = load ptr, ptr %7, align 8 %98 = load i32, ptr %10, align 4 %99 = call i32 @write32(ptr noundef %97, i32 noundef 840, i32 noundef %98) %100 = load ptr, ptr %7, align 8 %101 = load i32, ptr %10, align 4 %102 = call i32 @write32(ptr noundef %100, i32 noundef 1096, i32 noundef %101) %103 = load ptr, ptr %7, align 8 %104 = load i32, ptr %10, align 4 %105 = call i32 @write32(ptr noundef %103, i32 noundef 1352, i32 noundef %104) %106 = load ptr, ptr %7, align 8 %107 = load i32, ptr %9, align 4 %108 = call i32 @write32(ptr noundef %106, i32 noundef 852, i32 noundef %107) %109 = load ptr, ptr %7, align 8 %110 = load i32, ptr %9, align 4 %111 = call i32 @write32(ptr noundef %109, i32 noundef 1108, i32 noundef %110) %112 = load ptr, ptr %7, align 8 %113 = load i32, ptr %9, align 4 %114 = call i32 @write32(ptr noundef %112, i32 noundef 1364, i32 noundef %113) %115 = load ptr, ptr %7, align 8 %116 = call i32 @write32(ptr noundef %115, i32 noundef 848, i32 noundef 8) %117 = load ptr, ptr %7, align 8 %118 = call i32 @write32(ptr noundef %117, i32 noundef 1104, i32 noundef 8) %119 = load ptr, ptr %7, align 8 %120 = call i32 @write32(ptr noundef %119, i32 noundef 1360, i32 noundef 8) br label %227 121: ; preds = %69 %122 = load i32, ptr %12, align 4 %123 = icmp eq i32 %122, 2 br i1 %123, label %124, label %173 124: ; preds = %121 %125 = load ptr, ptr %7, align 8 %126 = call i32 @write16(ptr noundef %125, i32 noundef 896, i32 noundef 2) %127 = load ptr, ptr %7, align 8 %128 = call i32 @write16(ptr noundef %127, i32 noundef 1152, i32 noundef 2) %129 = load ptr, ptr %7, align 8 %130 = call i32 @write16(ptr noundef %129, i32 noundef 1408, i32 noundef 2) %131 = load ptr, ptr %7, align 8 %132 = load i32, ptr %11, align 4 %133 = call i32 @write32(ptr noundef %131, i32 noundef 908, i32 noundef %132) %134 = load ptr, ptr %7, align 8 %135 = load i32, ptr %11, align 4 %136 = call i32 @write32(ptr noundef %134, i32 noundef 1164, i32 noundef %135) %137 = load ptr, ptr %7, align 8 %138 = load i32, ptr %11, align 4 %139 = call i32 @write32(ptr noundef %137, i32 noundef 1420, i32 noundef %138) %140 = load ptr, ptr %7, align 8 %141 = load i32, ptr %9, align 4 %142 = call i32 @write32(ptr noundef %140, i32 noundef 900, i32 noundef %141) %143 = load ptr, ptr %7, align 8 %144 = load i32, ptr %9, align 4 %145 = call i32 @write32(ptr noundef %143, i32 noundef 1156, i32 noundef %144) %146 = load ptr, ptr %7, align 8 %147 = load i32, ptr %9, align 4 %148 = call i32 @write32(ptr noundef %146, i32 noundef 1412, i32 noundef %147) %149 = load ptr, ptr %7, align 8 %150 = load i32, ptr %10, align 4 %151 = call i32 @write32(ptr noundef %149, i32 noundef 904, i32 noundef %150) %152 = load ptr, ptr %7, align 8 %153 = load i32, ptr %10, align 4 %154 = call i32 @write32(ptr noundef %152, i32 noundef 1160, i32 noundef %153) %155 = load ptr, ptr %7, align 8 %156 = load i32, ptr %10, align 4 %157 = call i32 @write32(ptr noundef %155, i32 noundef 1416, i32 noundef %156) %158 = load ptr, ptr %7, align 8 %159 = load i32, ptr %9, align 4 %160 = call i32 @write32(ptr noundef %158, i32 noundef 916, i32 noundef %159) %161 = load ptr, ptr %7, align 8 %162 = load i32, ptr %9, align 4 %163 = call i32 @write32(ptr noundef %161, i32 noundef 1172, i32 noundef %162) %164 = load ptr, ptr %7, align 8 %165 = load i32, ptr %9, align 4 %166 = call i32 @write32(ptr noundef %164, i32 noundef 1428, i32 noundef %165) %167 = load ptr, ptr %7, align 8 %168 = call i32 @write32(ptr noundef %167, i32 noundef 912, i32 noundef 8) %169 = load ptr, ptr %7, align 8 %170 = call i32 @write32(ptr noundef %169, i32 noundef 1168, i32 noundef 8) %171 = load ptr, ptr %7, align 8 %172 = call i32 @write32(ptr noundef %171, i32 noundef 1424, i32 noundef 8) br label %226 173: ; preds = %121 %174 = load i32, ptr %12, align 4 %175 = icmp eq i32 %174, 3 br i1 %175, label %176, label %225 176: ; preds = %173 %177 = load ptr, ptr %7, align 8 %178 = call i32 @write16(ptr noundef %177, i32 noundef 960, i32 noundef 2) %179 = load ptr, ptr %7, align 8 %180 = call i32 @write16(ptr noundef %179, i32 noundef 1216, i32 noundef 2) %181 = load ptr, ptr %7, align 8 %182 = call i32 @write16(ptr noundef %181, i32 noundef 1472, i32 noundef 2) %183 = load ptr, ptr %7, align 8 %184 = load i32, ptr %11, align 4 %185 = call i32 @write32(ptr noundef %183, i32 noundef 972, i32 noundef %184) %186 = load ptr, ptr %7, align 8 %187 = load i32, ptr %11, align 4 %188 = call i32 @write32(ptr noundef %186, i32 noundef 1228, i32 noundef %187) %189 = load ptr, ptr %7, align 8 %190 = load i32, ptr %11, align 4 %191 = call i32 @write32(ptr noundef %189, i32 noundef 1484, i32 noundef %190) %192 = load ptr, ptr %7, align 8 %193 = load i32, ptr %9, align 4 %194 = call i32 @write32(ptr noundef %192, i32 noundef 964, i32 noundef %193) %195 = load ptr, ptr %7, align 8 %196 = load i32, ptr %9, align 4 %197 = call i32 @write32(ptr noundef %195, i32 noundef 1220, i32 noundef %196) %198 = load ptr, ptr %7, align 8 %199 = load i32, ptr %9, align 4 %200 = call i32 @write32(ptr noundef %198, i32 noundef 1476, i32 noundef %199) %201 = load ptr, ptr %7, align 8 %202 = load i32, ptr %10, align 4 %203 = call i32 @write32(ptr noundef %201, i32 noundef 968, i32 noundef %202) %204 = load ptr, ptr %7, align 8 %205 = load i32, ptr %10, align 4 %206 = call i32 @write32(ptr noundef %204, i32 noundef 1224, i32 noundef %205) %207 = load ptr, ptr %7, align 8 %208 = load i32, ptr %10, align 4 %209 = call i32 @write32(ptr noundef %207, i32 noundef 1480, i32 noundef %208) %210 = load ptr, ptr %7, align 8 %211 = load i32, ptr %9, align 4 %212 = call i32 @write32(ptr noundef %210, i32 noundef 980, i32 noundef %211) %213 = load ptr, ptr %7, align 8 %214 = load i32, ptr %9, align 4 %215 = call i32 @write32(ptr noundef %213, i32 noundef 1236, i32 noundef %214) %216 = load ptr, ptr %7, align 8 %217 = load i32, ptr %9, align 4 %218 = call i32 @write32(ptr noundef %216, i32 noundef 1492, i32 noundef %217) %219 = load ptr, ptr %7, align 8 %220 = call i32 @write32(ptr noundef %219, i32 noundef 976, i32 noundef 8) %221 = load ptr, ptr %7, align 8 %222 = call i32 @write32(ptr noundef %221, i32 noundef 1232, i32 noundef 8) %223 = load ptr, ptr %7, align 8 %224 = call i32 @write32(ptr noundef %223, i32 noundef 1488, i32 noundef 8) br label %225 225: ; preds = %176, %173 br label %226 226: ; preds = %225, %124 br label %227 227: ; preds = %226, %72 br label %228 228: ; preds = %227, %20 ret i32 1 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @write16(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @write32(ptr noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3rfqjam7.c' source_filename = "/tmp/tmp3rfqjam7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_set_xmj0(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @g5_set_xmjMC0(i32 noundef 0, i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret void } declare i32 @g5_set_xmjMC0(i32 noundef, i32 noundef, i32 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/tmp3rfqjam7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @g5_set_xmj0(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store ptr %2, ptr %8, align 8 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %11 = load i32, ptr %6, align 4 %12 = load i32, ptr %7, align 4 %13 = load ptr, ptr %8, align 8 %14 = load ptr, ptr %9, align 8 %15 = load ptr, ptr %10, align 8 %16 = call i32 @g5_set_xmjMC0(i32 noundef 0, i32 noundef %11, i32 noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15) ret void } declare i32 @g5_set_xmjMC0(i32 noundef, i32 noundef, i32 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/tmptuv0hd96.c' source_filename = "/tmp/tmptuv0hd96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%07d-\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_solution_debug(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = sub nsw i32 %9, 1 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) store i32 0, ptr %7, align 4 br label %12 12: ; preds = %25, %3 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr %5, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %28 16: ; preds = %12 %17 = load ptr, ptr %4, align 8 %18 = load i32, ptr %7, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i16, ptr %17, i64 %19 %21 = load i16, ptr %20, align 2 %22 = sext i16 %21 to i32 store i32 %22, ptr %8, align 4 %23 = load i32, ptr %8, align 4 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23) br label %25 25: ; preds = %16 %26 = load i32, ptr %7, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %7, align 4 br label %12, !llvm.loop !6 28: ; preds = %12 %29 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptuv0hd96.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%07d-\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%3d \00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_solution_debug(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %9 = load i32, ptr %6, align 4 %10 = sub nsw i32 %9, 1 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %10) store i32 0, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph, label %30 .lr.ph: ; preds = %3 br label %15 15: ; preds = %.lr.ph, %24 %16 = load ptr, ptr %4, align 8 %17 = load i32, ptr %7, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i16, ptr %16, i64 %18 %20 = load i16, ptr %19, align 2 %21 = sext i16 %20 to i32 store i32 %21, ptr %8, align 4 %22 = load i32, ptr %8, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22) br label %24 24: ; preds = %15 %25 = load i32, ptr %7, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %7, align 4 %27 = load i32, ptr %7, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %15, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %3 %31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) ret void } declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpqx39fapx.c' source_filename = "/tmp/tmpqx39fapx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mac_to_char(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %24, %2 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = icmp ult i64 %9, 8 br i1 %10, label %11, label %27 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = mul nsw i32 3, %13 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %12, i64 %15 %17 = call i32 @sscanf(ptr noundef %16, ptr noundef @.str, ptr noundef %6) %18 = load i32, ptr %6, align 4 %19 = trunc i32 %18 to i8 %20 = load ptr, ptr %4, align 8 %21 = load i32, ptr %5, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds i8, ptr %20, i64 %22 store i8 %19, ptr %23, align 1 br label %24 24: ; preds = %11 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 br label %7, !llvm.loop !6 27: ; preds = %7 ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpqx39fapx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%2x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @mac_to_char(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = sext i32 %7 to i64 %9 = icmp ult i64 %8, 8 br i1 %9, label %.lr.ph, label %29 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %23 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 3, %12 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %11, i64 %14 %16 = call i32 @sscanf(ptr noundef %15, ptr noundef @.str, ptr noundef %6) %17 = load i32, ptr %6, align 4 %18 = trunc i32 %17 to i8 %19 = load ptr, ptr %4, align 8 %20 = load i32, ptr %5, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds i8, ptr %19, i64 %21 store i8 %18, ptr %22, align 1 br label %23 23: ; preds = %10 %24 = load i32, ptr %5, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %5, align 4 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = icmp ult i64 %27, 8 br i1 %28, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %29 29: ; preds = %._crit_edge, %2 ret void } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpohydn4lj.c' source_filename = "/tmp/tmpohydn4lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buildname.buf = internal global [512 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @buildname(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9, %2 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %3, align 8 br label %30 16: ; preds = %9 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlcpy(ptr noundef @buildname.buf, ptr noundef %25, i32 noundef 512) %27 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef @.str, i32 noundef 512) %28 = load ptr, ptr %5, align 8 %29 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef %28, i32 noundef 512) store ptr @buildname.buf, ptr %3, align 8 br label %30 30: ; preds = %24, %14 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlcat(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/tmpohydn4lj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @buildname.buf = internal global [512 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [2 x i8] c"/\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @buildname(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 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load ptr, ptr %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %14, label %9 9: ; preds = %2 %10 = load ptr, ptr %4, align 8 %11 = load i8, ptr %10, align 1 %12 = sext i8 %11 to i32 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %16 14: ; preds = %9, %2 %15 = load ptr, ptr %5, align 8 store ptr %15, ptr %3, align 8 br label %30 16: ; preds = %9 %17 = load ptr, ptr %5, align 8 %18 = call ptr @strrchr(ptr noundef %17, i8 noundef signext 47) store ptr %18, ptr %6, align 8 %19 = load ptr, ptr %6, align 8 %20 = icmp ne ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %16 %22 = load ptr, ptr %6, align 8 %23 = getelementptr inbounds i8, ptr %22, i64 1 store ptr %23, ptr %5, align 8 br label %24 24: ; preds = %21, %16 %25 = load ptr, ptr %4, align 8 %26 = call i32 @strlcpy(ptr noundef @buildname.buf, ptr noundef %25, i32 noundef 512) %27 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef @.str, i32 noundef 512) %28 = load ptr, ptr %5, align 8 %29 = call i32 @strlcat(ptr noundef @buildname.buf, ptr noundef %28, i32 noundef 512) store ptr @buildname.buf, ptr %3, align 8 br label %30 30: ; preds = %24, %14 %31 = load ptr, ptr %3, align 8 ret ptr %31 } declare ptr @strrchr(ptr noundef, i8 noundef signext) #1 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @strlcat(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/tmpsxbccy7q.c' source_filename = "/tmp/tmpsxbccy7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"localtime error\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%Y%m%d-%H%M%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_time_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef %9) %11 = call i32 @time(ptr noundef null) store i32 %11, ptr %5, align 4 %12 = call ptr @localtime(ptr noundef %5) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr null, %13 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str) %17 = call i32 (...) @abort() #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %4, align 4 %22 = load ptr, ptr %6, align 8 %23 = call i32 @strftime(ptr noundef %20, i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strlen(ptr noundef %25) ret i32 %26 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsxbccy7q.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"localtime error\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"%Y%m%d-%H%M%S\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @get_time_string(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %7 = load ptr, ptr %3, align 8 %8 = load ptr, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef %9) %11 = call i32 @time(ptr noundef null) store i32 %11, ptr %5, align 4 %12 = call ptr @localtime(ptr noundef %5) store ptr %12, ptr %6, align 8 %13 = load ptr, ptr %6, align 8 %14 = icmp eq ptr null, %13 br i1 %14, label %15, label %18 15: ; preds = %2 %16 = call i32 @perror(ptr noundef @.str) %17 = call i32 (...) @abort() #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %3, align 8 %20 = load ptr, ptr %19, align 8 %21 = load i32, ptr %4, align 4 %22 = load ptr, ptr %6, align 8 %23 = call i32 @strftime(ptr noundef %20, i32 noundef %21, ptr noundef @.str.1, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strlen(ptr noundef %25) ret i32 %26 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @time(ptr noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @abort(...) #2 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpglwxrzhy.c' source_filename = "/tmp/tmpglwxrzhy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [31 x i8] c"Tempo di creazione di A: %f s\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Tempo di moltilicazione lineare di A: %f s\0A\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"Tempo di moltilicazione parallela di A: %f s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 1.000000e+00, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str, ptr noundef %9) %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = mul nsw i32 %23, %24 %26 = call ptr @calloc(i32 noundef %25, i32 noundef 8) store ptr %26, ptr %10, align 8 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = mul nsw i32 %27, %28 %30 = call ptr @calloc(i32 noundef %29, i32 noundef 8) store ptr %30, ptr %11, align 8 %31 = call i64 (...) @clock() store i64 %31, ptr %15, align 8 store i32 0, ptr %6, align 4 br label %32 32: ; preds = %61, %2 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %64 36: ; preds = %32 store i32 0, ptr %7, align 4 br label %37 37: ; preds = %57, %36 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %9, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %60 41: ; preds = %37 %42 = call i32 (...) @rand() %43 = sitofp i32 %42 to double %44 = fmul double 2.000000e+00, %43 %45 = load i32, ptr @RAND_MAX, align 4 %46 = sitofp i32 %45 to double %47 = fdiv double %44, %46 %48 = fsub double %47, 1.000000e+00 %49 = load ptr, ptr %10, align 8 %50 = load i32, ptr %6, align 4 %51 = load i32, ptr %7, align 4 %52 = load i32, ptr %9, align 4 %53 = mul nsw i32 %51, %52 %54 = add nsw i32 %50, %53 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds double, ptr %49, i64 %55 store double %48, ptr %56, align 8 br label %57 57: ; preds = %41 %58 = load i32, ptr %7, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %7, align 4 br label %37, !llvm.loop !6 60: ; preds = %37 br label %61 61: ; preds = %60 %62 = load i32, ptr %6, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %6, align 4 br label %32, !llvm.loop !8 64: ; preds = %32 %65 = call i64 (...) @clock() store i64 %65, ptr %16, align 8 %66 = load i64, ptr %16, align 8 %67 = load i64, ptr %15, align 8 %68 = sub nsw i64 %66, %67 %69 = sitofp i64 %68 to double %70 = load double, ptr @CLOCKS_PER_SEC, align 8 %71 = fdiv double %69, %70 store double %71, ptr %14, align 8 %72 = load double, ptr %14, align 8 %73 = call i32 @printf(ptr noundef @.str.1, double noundef %72) %74 = call i64 (...) @clock() store i64 %74, ptr %15, align 8 store i32 0, ptr %6, align 4 br label %75 75: ; preds = %134, %64 %76 = load i32, ptr %6, align 4 %77 = load i32, ptr %9, align 4 %78 = icmp slt i32 %76, %77 br i1 %78, label %79, label %137 79: ; preds = %75 store i32 0, ptr %7, align 4 br label %80 80: ; preds = %130, %79 %81 = load i32, ptr %7, align 4 %82 = load i32, ptr %9, align 4 %83 = icmp slt i32 %81, %82 br i1 %83, label %84, label %133 84: ; preds = %80 %85 = load ptr, ptr %11, align 8 %86 = load i32, ptr %6, align 4 %87 = load i32, ptr %7, align 4 %88 = load i32, ptr %9, align 4 %89 = mul nsw i32 %87, %88 %90 = add nsw i32 %86, %89 %91 = sext i32 %90 to i64 %92 = getelementptr inbounds double, ptr %85, i64 %91 store double 0.000000e+00, ptr %92, align 8 store i32 0, ptr %8, align 4 br label %93 93: ; preds = %126, %84 %94 = load i32, ptr %8, align 4 %95 = load i32, ptr %9, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %97, label %129 97: ; preds = %93 %98 = load ptr, ptr %10, align 8 %99 = load i32, ptr %6, align 4 %100 = load i32, ptr %8, align 4 %101 = load i32, ptr %9, align 4 %102 = mul nsw i32 %100, %101 %103 = add nsw i32 %99, %102 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds double, ptr %98, i64 %104 %106 = load double, ptr %105, align 8 %107 = load ptr, ptr %10, align 8 %108 = load i32, ptr %8, align 4 %109 = load i32, ptr %7, align 4 %110 = load i32, ptr %9, align 4 %111 = mul nsw i32 %109, %110 %112 = add nsw i32 %108, %111 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds double, ptr %107, i64 %113 %115 = load double, ptr %114, align 8 %116 = load ptr, ptr %11, align 8 %117 = load i32, ptr %6, align 4 %118 = load i32, ptr %7, align 4 %119 = load i32, ptr %9, align 4 %120 = mul nsw i32 %118, %119 %121 = add nsw i32 %117, %120 %122 = sext i32 %121 to i64 %123 = getelementptr inbounds double, ptr %116, i64 %122 %124 = load double, ptr %123, align 8 %125 = call double @llvm.fmuladd.f64(double %106, double %115, double %124) store double %125, ptr %123, align 8 br label %126 126: ; preds = %97 %127 = load i32, ptr %8, align 4 %128 = add nsw i32 %127, 1 store i32 %128, ptr %8, align 4 br label %93, !llvm.loop !9 129: ; preds = %93 br label %130 130: ; preds = %129 %131 = load i32, ptr %7, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %7, align 4 br label %80, !llvm.loop !10 133: ; preds = %80 br label %134 134: ; preds = %133 %135 = load i32, ptr %6, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %6, align 4 br label %75, !llvm.loop !11 137: ; preds = %75 %138 = call i64 (...) @clock() store i64 %138, ptr %16, align 8 %139 = load i64, ptr %16, align 8 %140 = load i64, ptr %15, align 8 %141 = sub nsw i64 %139, %140 %142 = sitofp i64 %141 to double %143 = load double, ptr @CLOCKS_PER_SEC, align 8 %144 = fdiv double %142, %143 store double %144, ptr %14, align 8 %145 = load double, ptr %14, align 8 %146 = call i32 @printf(ptr noundef @.str.2, double noundef %145) %147 = call i32 @omp_set_num_threads(i32 noundef 8) %148 = call i64 (...) @clock() store i64 %148, ptr %17, align 8 store i32 0, ptr %6, align 4 br label %149 149: ; preds = %208, %137 %150 = load i32, ptr %6, align 4 %151 = load i32, ptr %9, align 4 %152 = icmp slt i32 %150, %151 br i1 %152, label %153, label %211 153: ; preds = %149 store i32 0, ptr %7, align 4 br label %154 154: ; preds = %204, %153 %155 = load i32, ptr %7, align 4 %156 = load i32, ptr %9, align 4 %157 = icmp slt i32 %155, %156 br i1 %157, label %158, label %207 158: ; preds = %154 %159 = load ptr, ptr %11, align 8 %160 = load i32, ptr %6, align 4 %161 = load i32, ptr %7, align 4 %162 = load i32, ptr %9, align 4 %163 = mul nsw i32 %161, %162 %164 = add nsw i32 %160, %163 %165 = sext i32 %164 to i64 %166 = getelementptr inbounds double, ptr %159, i64 %165 store double 0.000000e+00, ptr %166, align 8 store i32 0, ptr %8, align 4 br label %167 167: ; preds = %200, %158 %168 = load i32, ptr %8, align 4 %169 = load i32, ptr %9, align 4 %170 = icmp slt i32 %168, %169 br i1 %170, label %171, label %203 171: ; preds = %167 %172 = load ptr, ptr %10, align 8 %173 = load i32, ptr %6, align 4 %174 = load i32, ptr %8, align 4 %175 = load i32, ptr %9, align 4 %176 = mul nsw i32 %174, %175 %177 = add nsw i32 %173, %176 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds double, ptr %172, i64 %178 %180 = load double, ptr %179, align 8 %181 = load ptr, ptr %10, align 8 %182 = load i32, ptr %8, align 4 %183 = load i32, ptr %7, align 4 %184 = load i32, ptr %9, align 4 %185 = mul nsw i32 %183, %184 %186 = add nsw i32 %182, %185 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds double, ptr %181, i64 %187 %189 = load double, ptr %188, align 8 %190 = load ptr, ptr %11, align 8 %191 = load i32, ptr %6, align 4 %192 = load i32, ptr %7, align 4 %193 = load i32, ptr %9, align 4 %194 = mul nsw i32 %192, %193 %195 = add nsw i32 %191, %194 %196 = sext i32 %195 to i64 %197 = getelementptr inbounds double, ptr %190, i64 %196 %198 = load double, ptr %197, align 8 %199 = call double @llvm.fmuladd.f64(double %180, double %189, double %198) store double %199, ptr %197, align 8 br label %200 200: ; preds = %171 %201 = load i32, ptr %8, align 4 %202 = add nsw i32 %201, 1 store i32 %202, ptr %8, align 4 br label %167, !llvm.loop !12 203: ; preds = %167 br label %204 204: ; preds = %203 %205 = load i32, ptr %7, align 4 %206 = add nsw i32 %205, 1 store i32 %206, ptr %7, align 4 br label %154, !llvm.loop !13 207: ; preds = %154 br label %208 208: ; preds = %207 %209 = load i32, ptr %6, align 4 %210 = add nsw i32 %209, 1 store i32 %210, ptr %6, align 4 br label %149, !llvm.loop !14 211: ; preds = %149 %212 = call i64 (...) @clock() store i64 %212, ptr %18, align 8 %213 = load i64, ptr %18, align 8 %214 = load i64, ptr %17, align 8 %215 = sub nsw i64 %213, %214 %216 = sitofp i64 %215 to double %217 = load double, ptr @CLOCKS_PER_SEC, align 8 %218 = fdiv double %216, %217 store double %218, ptr %14, align 8 %219 = load double, ptr %14, align 8 %220 = call i32 @printf(ptr noundef @.str.3, double noundef %219) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i64 @clock(...) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @omp_set_num_threads(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpglwxrzhy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%u\00", align 1 @RAND_MAX = dso_local global i32 0, align 4 @CLOCKS_PER_SEC = dso_local global double 0.000000e+00, align 8 @.str.1 = private unnamed_addr constant [31 x i8] c"Tempo di creazione di A: %f s\0A\00", align 1 @.str.2 = private unnamed_addr constant [44 x i8] c"Tempo di moltilicazione lineare di A: %f s\0A\00", align 1 @.str.3 = private unnamed_addr constant [46 x i8] c"Tempo di moltilicazione parallela di A: %f s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca double, align 8 %13 = alloca double, align 8 %14 = alloca double, align 8 %15 = alloca i64, align 8 %16 = alloca i64, align 8 %17 = alloca i64, align 8 %18 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store double 1.000000e+00, ptr %12, align 8 store double 0.000000e+00, ptr %13, align 8 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call i32 @sscanf(ptr noundef %21, ptr noundef @.str, ptr noundef %9) %23 = load i32, ptr %9, align 4 %24 = load i32, ptr %9, align 4 %25 = mul nsw i32 %23, %24 %26 = call ptr @calloc(i32 noundef %25, i32 noundef 8) store ptr %26, ptr %10, align 8 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %9, align 4 %29 = mul nsw i32 %27, %28 %30 = call ptr @calloc(i32 noundef %29, i32 noundef 8) store ptr %30, ptr %11, align 8 %31 = call i64 (...) @clock() store i64 %31, ptr %15, align 8 store i32 0, ptr %6, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph2, label %68 .lr.ph2: ; preds = %2 br label %35 35: ; preds = %.lr.ph2, %62 store i32 0, ptr %7, align 4 %36 = load i32, ptr %7, align 4 %37 = load i32, ptr %9, align 4 %38 = icmp slt i32 %36, %37 br i1 %38, label %.lr.ph, label %61 .lr.ph: ; preds = %35 br label %39 39: ; preds = %.lr.ph, %55 %40 = call i32 (...) @rand() %41 = sitofp i32 %40 to double %42 = fmul double 2.000000e+00, %41 %43 = load i32, ptr @RAND_MAX, align 4 %44 = sitofp i32 %43 to double %45 = fdiv double %42, %44 %46 = fsub double %45, 1.000000e+00 %47 = load ptr, ptr %10, align 8 %48 = load i32, ptr %6, align 4 %49 = load i32, ptr %7, align 4 %50 = load i32, ptr %9, align 4 %51 = mul nsw i32 %49, %50 %52 = add nsw i32 %48, %51 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds double, ptr %47, i64 %53 store double %46, ptr %54, align 8 br label %55 55: ; preds = %39 %56 = load i32, ptr %7, align 4 %57 = add nsw i32 %56, 1 store i32 %57, ptr %7, align 4 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %9, align 4 %60 = icmp slt i32 %58, %59 br i1 %60, label %39, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %61 61: ; preds = %._crit_edge, %35 br label %62 62: ; preds = %61 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr %9, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %35, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %2 %69 = call i64 (...) @clock() store i64 %69, ptr %16, align 8 %70 = load i64, ptr %16, align 8 %71 = load i64, ptr %15, align 8 %72 = sub nsw i64 %70, %71 %73 = sitofp i64 %72 to double %74 = load double, ptr @CLOCKS_PER_SEC, align 8 %75 = fdiv double %73, %74 store double %75, ptr %14, align 8 %76 = load double, ptr %14, align 8 %77 = call i32 @printf(ptr noundef @.str.1, double noundef %76) %78 = call i64 (...) @clock() store i64 %78, ptr %15, align 8 store i32 0, ptr %6, align 4 %79 = load i32, ptr %6, align 4 %80 = load i32, ptr %9, align 4 %81 = icmp slt i32 %79, %80 br i1 %81, label %.lr.ph11, label %147 .lr.ph11: ; preds = %68 br label %82 82: ; preds = %.lr.ph11, %141 store i32 0, ptr %7, align 4 %83 = load i32, ptr %7, align 4 %84 = load i32, ptr %9, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %.lr.ph8, label %140 .lr.ph8: ; preds = %82 br label %86 86: ; preds = %.lr.ph8, %134 %87 = load ptr, ptr %11, align 8 %88 = load i32, ptr %6, align 4 %89 = load i32, ptr %7, align 4 %90 = load i32, ptr %9, align 4 %91 = mul nsw i32 %89, %90 %92 = add nsw i32 %88, %91 %93 = sext i32 %92 to i64 %94 = getelementptr inbounds double, ptr %87, i64 %93 store double 0.000000e+00, ptr %94, align 8 store i32 0, ptr %8, align 4 %95 = load i32, ptr %8, align 4 %96 = load i32, ptr %9, align 4 %97 = icmp slt i32 %95, %96 br i1 %97, label %.lr.ph5, label %133 .lr.ph5: ; preds = %86 br label %98 98: ; preds = %.lr.ph5, %127 %99 = load ptr, ptr %10, align 8 %100 = load i32, ptr %6, align 4 %101 = load i32, ptr %8, align 4 %102 = load i32, ptr %9, align 4 %103 = mul nsw i32 %101, %102 %104 = add nsw i32 %100, %103 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds double, ptr %99, i64 %105 %107 = load double, ptr %106, align 8 %108 = load ptr, ptr %10, align 8 %109 = load i32, ptr %8, align 4 %110 = load i32, ptr %7, align 4 %111 = load i32, ptr %9, align 4 %112 = mul nsw i32 %110, %111 %113 = add nsw i32 %109, %112 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds double, ptr %108, i64 %114 %116 = load double, ptr %115, align 8 %117 = load ptr, ptr %11, align 8 %118 = load i32, ptr %6, align 4 %119 = load i32, ptr %7, align 4 %120 = load i32, ptr %9, align 4 %121 = mul nsw i32 %119, %120 %122 = add nsw i32 %118, %121 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds double, ptr %117, i64 %123 %125 = load double, ptr %124, align 8 %126 = call double @llvm.fmuladd.f64(double %107, double %116, double %125) store double %126, ptr %124, align 8 br label %127 127: ; preds = %98 %128 = load i32, ptr %8, align 4 %129 = add nsw i32 %128, 1 store i32 %129, ptr %8, align 4 %130 = load i32, ptr %8, align 4 %131 = load i32, ptr %9, align 4 %132 = icmp slt i32 %130, %131 br i1 %132, label %98, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %127 br label %133 133: ; preds = %._crit_edge6, %86 br label %134 134: ; preds = %133 %135 = load i32, ptr %7, align 4 %136 = add nsw i32 %135, 1 store i32 %136, ptr %7, align 4 %137 = load i32, ptr %7, align 4 %138 = load i32, ptr %9, align 4 %139 = icmp slt i32 %137, %138 br i1 %139, label %86, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %134 br label %140 140: ; preds = %._crit_edge9, %82 br label %141 141: ; preds = %140 %142 = load i32, ptr %6, align 4 %143 = add nsw i32 %142, 1 store i32 %143, ptr %6, align 4 %144 = load i32, ptr %6, align 4 %145 = load i32, ptr %9, align 4 %146 = icmp slt i32 %144, %145 br i1 %146, label %82, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %141 br label %147 147: ; preds = %._crit_edge12, %68 %148 = call i64 (...) @clock() store i64 %148, ptr %16, align 8 %149 = load i64, ptr %16, align 8 %150 = load i64, ptr %15, align 8 %151 = sub nsw i64 %149, %150 %152 = sitofp i64 %151 to double %153 = load double, ptr @CLOCKS_PER_SEC, align 8 %154 = fdiv double %152, %153 store double %154, ptr %14, align 8 %155 = load double, ptr %14, align 8 %156 = call i32 @printf(ptr noundef @.str.2, double noundef %155) %157 = call i32 @omp_set_num_threads(i32 noundef 8) %158 = call i64 (...) @clock() store i64 %158, ptr %17, align 8 store i32 0, ptr %6, align 4 %159 = load i32, ptr %6, align 4 %160 = load i32, ptr %9, align 4 %161 = icmp slt i32 %159, %160 br i1 %161, label %.lr.ph20, label %227 .lr.ph20: ; preds = %147 br label %162 162: ; preds = %.lr.ph20, %221 store i32 0, ptr %7, align 4 %163 = load i32, ptr %7, align 4 %164 = load i32, ptr %9, align 4 %165 = icmp slt i32 %163, %164 br i1 %165, label %.lr.ph17, label %220 .lr.ph17: ; preds = %162 br label %166 166: ; preds = %.lr.ph17, %214 %167 = load ptr, ptr %11, align 8 %168 = load i32, ptr %6, align 4 %169 = load i32, ptr %7, align 4 %170 = load i32, ptr %9, align 4 %171 = mul nsw i32 %169, %170 %172 = add nsw i32 %168, %171 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds double, ptr %167, i64 %173 store double 0.000000e+00, ptr %174, align 8 store i32 0, ptr %8, align 4 %175 = load i32, ptr %8, align 4 %176 = load i32, ptr %9, align 4 %177 = icmp slt i32 %175, %176 br i1 %177, label %.lr.ph14, label %213 .lr.ph14: ; preds = %166 br label %178 178: ; preds = %.lr.ph14, %207 %179 = load ptr, ptr %10, align 8 %180 = load i32, ptr %6, align 4 %181 = load i32, ptr %8, align 4 %182 = load i32, ptr %9, align 4 %183 = mul nsw i32 %181, %182 %184 = add nsw i32 %180, %183 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds double, ptr %179, i64 %185 %187 = load double, ptr %186, align 8 %188 = load ptr, ptr %10, align 8 %189 = load i32, ptr %8, align 4 %190 = load i32, ptr %7, align 4 %191 = load i32, ptr %9, align 4 %192 = mul nsw i32 %190, %191 %193 = add nsw i32 %189, %192 %194 = sext i32 %193 to i64 %195 = getelementptr inbounds double, ptr %188, i64 %194 %196 = load double, ptr %195, align 8 %197 = load ptr, ptr %11, align 8 %198 = load i32, ptr %6, align 4 %199 = load i32, ptr %7, align 4 %200 = load i32, ptr %9, align 4 %201 = mul nsw i32 %199, %200 %202 = add nsw i32 %198, %201 %203 = sext i32 %202 to i64 %204 = getelementptr inbounds double, ptr %197, i64 %203 %205 = load double, ptr %204, align 8 %206 = call double @llvm.fmuladd.f64(double %187, double %196, double %205) store double %206, ptr %204, align 8 br label %207 207: ; preds = %178 %208 = load i32, ptr %8, align 4 %209 = add nsw i32 %208, 1 store i32 %209, ptr %8, align 4 %210 = load i32, ptr %8, align 4 %211 = load i32, ptr %9, align 4 %212 = icmp slt i32 %210, %211 br i1 %212, label %178, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %207 br label %213 213: ; preds = %._crit_edge15, %166 br label %214 214: ; preds = %213 %215 = load i32, ptr %7, align 4 %216 = add nsw i32 %215, 1 store i32 %216, ptr %7, align 4 %217 = load i32, ptr %7, align 4 %218 = load i32, ptr %9, align 4 %219 = icmp slt i32 %217, %218 br i1 %219, label %166, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %214 br label %220 220: ; preds = %._crit_edge18, %162 br label %221 221: ; preds = %220 %222 = load i32, ptr %6, align 4 %223 = add nsw i32 %222, 1 store i32 %223, ptr %6, align 4 %224 = load i32, ptr %6, align 4 %225 = load i32, ptr %9, align 4 %226 = icmp slt i32 %224, %225 br i1 %226, label %162, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %221 br label %227 227: ; preds = %._crit_edge21, %147 %228 = call i64 (...) @clock() store i64 %228, ptr %18, align 8 %229 = load i64, ptr %18, align 8 %230 = load i64, ptr %17, align 8 %231 = sub nsw i64 %229, %230 %232 = sitofp i64 %231 to double %233 = load double, ptr @CLOCKS_PER_SEC, align 8 %234 = fdiv double %232, %233 store double %234, ptr %14, align 8 %235 = load double, ptr %14, align 8 %236 = call i32 @printf(ptr noundef @.str.3, double noundef %235) ret i32 0 } declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @calloc(i32 noundef, i32 noundef) #1 declare i64 @clock(...) #1 declare i32 @rand(...) #1 declare i32 @printf(ptr noundef, double noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare double @llvm.fmuladd.f64(double, double, double) #2 declare i32 @omp_set_num_threads(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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7}
; ModuleID = '/tmp/tmpz9lrbu2c.c' source_filename = "/tmp/tmpz9lrbu2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcmp(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 %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %9, %2 store i32 0, ptr %3, align 4 br label %65 13: ; preds = %9 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %46, %13 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %44 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %44 30: ; preds = %22 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %36, %42 br label %44 44: ; preds = %30, %22, %14 %45 = phi i1 [ false, %22 ], [ false, %14 ], [ %43, %30 ] br i1 %45, label %46, label %49 46: ; preds = %44 %47 = load i32, ptr %6, align 4 %48 = add i32 %47, 1 store i32 %48, ptr %6, align 4 br label %14, !llvm.loop !6 49: ; preds = %44 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %6, align 4 %52 = zext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = icmp ne i8 %54, 0 br i1 %55, label %64, label %56 56: ; preds = %49 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %6, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = icmp ne i8 %61, 0 br i1 %62, label %64, label %63 63: ; preds = %56 store i32 1, ptr %3, align 4 br label %65 64: ; preds = %56, %49 store i32 0, ptr %3, align 4 br label %65 65: ; preds = %64, %63, %12 %66 = load i32, ptr %3, align 4 ret i32 %66 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpz9lrbu2c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @my_strcmp(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 %4, align 8 %8 = icmp eq ptr %7, null br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %13 12: ; preds = %9, %2 store i32 0, ptr %3, align 4 br label %65 13: ; preds = %9 store i32 0, ptr %6, align 4 br label %14 14: ; preds = %46, %13 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %6, align 4 %17 = zext i32 %16 to i64 %18 = getelementptr inbounds i8, ptr %15, i64 %17 %19 = load i8, ptr %18, align 1 %20 = sext i8 %19 to i32 %21 = icmp ne i32 %20, 0 br i1 %21, label %22, label %44 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %6, align 4 %25 = zext i32 %24 to i64 %26 = getelementptr inbounds i8, ptr %23, i64 %25 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %44 30: ; preds = %22 %31 = load ptr, ptr %4, align 8 %32 = load i32, ptr %6, align 4 %33 = zext i32 %32 to i64 %34 = getelementptr inbounds i8, ptr %31, i64 %33 %35 = load i8, ptr %34, align 1 %36 = sext i8 %35 to i32 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %6, align 4 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i8, ptr %37, i64 %39 %41 = load i8, ptr %40, align 1 %42 = sext i8 %41 to i32 %43 = icmp eq i32 %36, %42 br label %44 44: ; preds = %30, %22, %14 %45 = phi i1 [ false, %22 ], [ false, %14 ], [ %43, %30 ] br i1 %45, label %46, label %49 46: ; preds = %44 %47 = load i32, ptr %6, align 4 %48 = add i32 %47, 1 store i32 %48, ptr %6, align 4 br label %14, !llvm.loop !6 49: ; preds = %44 %50 = load ptr, ptr %4, align 8 %51 = load i32, ptr %6, align 4 %52 = zext i32 %51 to i64 %53 = getelementptr inbounds i8, ptr %50, i64 %52 %54 = load i8, ptr %53, align 1 %55 = icmp ne i8 %54, 0 br i1 %55, label %64, label %56 56: ; preds = %49 %57 = load ptr, ptr %5, align 8 %58 = load i32, ptr %6, align 4 %59 = zext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = icmp ne i8 %61, 0 br i1 %62, label %64, label %63 63: ; preds = %56 store i32 1, ptr %3, align 4 br label %65 64: ; preds = %56, %49 store i32 0, ptr %3, align 4 br label %65 65: ; preds = %64, %63, %12 %66 = load i32, ptr %3, align 4 ret i32 %66 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmpxzfsggav.c' source_filename = "/tmp/tmpxzfsggav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @O_TRUNC = dso_local global i32 0, align 4 @PF_UNIX = dso_local global i32 0, align 4 @AF_UNIX = dso_local global i32 0, align 4 @ENAMETOOLONG = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lxc_af_unix_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca %struct.sockaddr_un, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr @O_TRUNC, align 4 %15 = and i32 %13, %14 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = call i32 @unlink(ptr noundef %18) br label %20 20: ; preds = %17, %3 %21 = load i32, ptr @PF_UNIX, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 -1, ptr %4, align 4 br label %79 27: ; preds = %20 %28 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 8) %29 = load ptr, ptr %5, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %33, label %31 31: ; preds = %27 %32 = load i32, ptr %8, align 4 store i32 %32, ptr %4, align 4 br label %79 33: ; preds = %27 %34 = load i32, ptr @AF_UNIX, align 4 %35 = getelementptr inbounds %struct.sockaddr_un, ptr %10, i32 0, i32 1 store i32 %34, ptr %35, align 4 store i64 4, ptr %9, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = icmp ne i8 %38, 0 br i1 %39, label %40, label %50 40: ; preds = %33 %41 = load ptr, ptr %5, align 8 %42 = call i64 @strlen(ptr noundef %41) store i64 %42, ptr %9, align 8 %43 = load i64, ptr %9, align 8 %44 = icmp uge i64 %43, 4 br i1 %44, label %45, label %49 45: ; preds = %40 %46 = load i32, ptr %8, align 4 %47 = call i32 @close(i32 noundef %46) %48 = load i32, ptr @ENAMETOOLONG, align 4 store i32 %48, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %79 49: ; preds = %40 br label %50 50: ; preds = %49, %33 %51 = getelementptr inbounds %struct.sockaddr_un, ptr %10, i32 0, i32 0 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %5, align 8 %54 = load i64, ptr %9, align 8 %55 = call i32 @memcpy(i32 noundef %52, ptr noundef %53, i64 noundef %54) %56 = load i32, ptr %8, align 4 %57 = call i64 @bind(i32 noundef %56, ptr noundef %10, i32 noundef 8) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %50 %60 = load i32, ptr @errno, align 4 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %8, align 4 %62 = call i32 @close(i32 noundef %61) %63 = load i32, ptr %11, align 4 store i32 %63, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %79 64: ; preds = %50 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr @SOCK_STREAM, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %77 68: ; preds = %64 %69 = load i32, ptr %8, align 4 %70 = call i64 @listen(i32 noundef %69, i32 noundef 100) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %68 %73 = load i32, ptr @errno, align 4 store i32 %73, ptr %12, align 4 %74 = load i32, ptr %8, align 4 %75 = call i32 @close(i32 noundef %74) %76 = load i32, ptr %12, align 4 store i32 %76, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %79 77: ; preds = %68, %64 %78 = load i32, ptr %8, align 4 store i32 %78, ptr %4, align 4 br label %79 79: ; preds = %77, %72, %59, %45, %31, %26 %80 = load i32, ptr %4, align 4 ret i32 %80 } declare i32 @unlink(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(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/tmpxzfsggav.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_un = type { i32, i32 } @O_TRUNC = dso_local global i32 0, align 4 @PF_UNIX = dso_local global i32 0, align 4 @AF_UNIX = dso_local global i32 0, align 4 @ENAMETOOLONG = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @lxc_af_unix_open(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i64, align 8 %10 = alloca %struct.sockaddr_un, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = load i32, ptr @O_TRUNC, align 4 %15 = and i32 %13, %14 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %3 %18 = load ptr, ptr %5, align 8 %19 = call i32 @unlink(ptr noundef %18) br label %20 20: ; preds = %17, %3 %21 = load i32, ptr @PF_UNIX, align 4 %22 = load i32, ptr %6, align 4 %23 = call i32 @socket(i32 noundef %21, i32 noundef %22, i32 noundef 0) store i32 %23, ptr %8, align 4 %24 = load i32, ptr %8, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %27 26: ; preds = %20 store i32 -1, ptr %4, align 4 br label %79 27: ; preds = %20 %28 = call i32 @memset(ptr noundef %10, i32 noundef 0, i32 noundef 8) %29 = load ptr, ptr %5, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %33, label %31 31: ; preds = %27 %32 = load i32, ptr %8, align 4 store i32 %32, ptr %4, align 4 br label %79 33: ; preds = %27 %34 = load i32, ptr @AF_UNIX, align 4 %35 = getelementptr inbounds %struct.sockaddr_un, ptr %10, i32 0, i32 1 store i32 %34, ptr %35, align 4 store i64 4, ptr %9, align 8 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds i8, ptr %36, i64 0 %38 = load i8, ptr %37, align 1 %39 = icmp ne i8 %38, 0 br i1 %39, label %40, label %50 40: ; preds = %33 %41 = load ptr, ptr %5, align 8 %42 = call i64 @strlen(ptr noundef %41) store i64 %42, ptr %9, align 8 %43 = load i64, ptr %9, align 8 %44 = icmp uge i64 %43, 4 br i1 %44, label %45, label %49 45: ; preds = %40 %46 = load i32, ptr %8, align 4 %47 = call i32 @close(i32 noundef %46) %48 = load i32, ptr @ENAMETOOLONG, align 4 store i32 %48, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %79 49: ; preds = %40 br label %50 50: ; preds = %49, %33 %51 = getelementptr inbounds %struct.sockaddr_un, ptr %10, i32 0, i32 0 %52 = load i32, ptr %51, align 4 %53 = load ptr, ptr %5, align 8 %54 = load i64, ptr %9, align 8 %55 = call i32 @memcpy(i32 noundef %52, ptr noundef %53, i64 noundef %54) %56 = load i32, ptr %8, align 4 %57 = call i64 @bind(i32 noundef %56, ptr noundef %10, i32 noundef 8) %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %64 59: ; preds = %50 %60 = load i32, ptr @errno, align 4 store i32 %60, ptr %11, align 4 %61 = load i32, ptr %8, align 4 %62 = call i32 @close(i32 noundef %61) %63 = load i32, ptr %11, align 4 store i32 %63, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %79 64: ; preds = %50 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr @SOCK_STREAM, align 4 %67 = icmp eq i32 %65, %66 br i1 %67, label %68, label %77 68: ; preds = %64 %69 = load i32, ptr %8, align 4 %70 = call i64 @listen(i32 noundef %69, i32 noundef 100) %71 = icmp ne i64 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %68 %73 = load i32, ptr @errno, align 4 store i32 %73, ptr %12, align 4 %74 = load i32, ptr %8, align 4 %75 = call i32 @close(i32 noundef %74) %76 = load i32, ptr %12, align 4 store i32 %76, ptr @errno, align 4 store i32 -1, ptr %4, align 4 br label %79 77: ; preds = %68, %64 %78 = load i32, ptr %8, align 4 store i32 %78, ptr %4, align 4 br label %79 79: ; preds = %77, %72, %59, %45, %31, %26 %80 = load i32, ptr %4, align 4 ret i32 %80 } declare i32 @unlink(ptr noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @strlen(ptr noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @memcpy(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i64 @listen(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/tmp1qgjnzay.c' source_filename = "/tmp/tmp1qgjnzay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @max = external global i32, align 4 @.str = private unnamed_addr constant [9 x i8] c"Copia %s\00", align 1 @linea_max = external global [1000 x i8], align 16 @.str.1 = private unnamed_addr constant [10 x i8] c"Voltea %s\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 @max, align 4 br label %3 3: ; preds = %6, %0 %4 = call i32 (...) @obtenlinea() store i32 %4, ptr %2, align 4 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %12 6: ; preds = %3 %7 = load i32, ptr %2, align 4 store i32 %7, ptr @max, align 4 %8 = call i32 (...) @copia() %9 = call i32 @printf(ptr noundef @.str, ptr noundef @linea_max) %10 = call i32 (...) @voltea() %11 = call i32 @printf(ptr noundef @.str.1, ptr noundef @linea_max) br label %3, !llvm.loop !6 12: ; preds = %3 ret i32 0 } declare i32 @obtenlinea(...) #1 declare i32 @copia(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @voltea(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"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/tmp1qgjnzay.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @max = external global i32, align 4 @.str = private unnamed_addr constant [9 x i8] c"Copia %s\00", align 1 @linea_max = external global [1000 x i8], align 16 @.str.1 = private unnamed_addr constant [10 x i8] c"Voltea %s\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 @max, align 4 %3 = call i32 (...) @obtenlinea() store i32 %3, ptr %2, align 4 %4 = icmp sgt i32 %3, 0 br i1 %4, label %.lr.ph, label %13 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %5 %6 = load i32, ptr %2, align 4 store i32 %6, ptr @max, align 4 %7 = call i32 (...) @copia() %8 = call i32 @printf(ptr noundef @.str, ptr noundef @linea_max) %9 = call i32 (...) @voltea() %10 = call i32 @printf(ptr noundef @.str.1, ptr noundef @linea_max) %11 = call i32 (...) @obtenlinea() store i32 %11, ptr %2, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %5 br label %13 13: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @obtenlinea(...) #1 declare i32 @copia(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @voltea(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}