llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmpgxjxhkn8.c'
source_filename = "/tmp/tmpgxjxhkn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [534 x i8] c"----------------------------------------------------\0A Welcome to quend's crappy number storage service! \0A----------------------------------------------------\0A Commands: \0A store - store a number into the data storage \0A read - read a number from the data storage \0A quit - exit the program \0A----------------------------------------------------\0A quend has reserved some storage for herself :> \0A----------------------------------------------------\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Input command: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"store\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c" Failed to do %s command\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c" Completed %s command successfully\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [20 x i8], align 16
%10 = alloca [100 x i32], align 16
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 400, i1 false)
br label %11
11: ; preds = %22, %3
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %12, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %15, label %25
15: ; preds = %11
%16 = load ptr, ptr %6, align 8
%17 = load ptr, ptr %16, align 8
%18 = load ptr, ptr %6, align 8
%19 = load ptr, ptr %18, align 8
%20 = call i32 @strlen(ptr noundef %19)
%21 = call i32 @memset(ptr noundef %17, i32 noundef 0, i32 noundef %20)
br label %22
22: ; preds = %15
%23 = load ptr, ptr %6, align 8
%24 = getelementptr inbounds ptr, ptr %23, i32 1
store ptr %24, ptr %6, align 8
br label %11, !llvm.loop !6
25: ; preds = %11
br label %26
26: ; preds = %37, %25
%27 = load ptr, ptr %7, align 8
%28 = load ptr, ptr %27, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %40
30: ; preds = %26
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %31, align 8
%33 = load ptr, ptr %7, align 8
%34 = load ptr, ptr %33, align 8
%35 = call i32 @strlen(ptr noundef %34)
%36 = call i32 @memset(ptr noundef %32, i32 noundef 0, i32 noundef %35)
br label %37
37: ; preds = %30
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds ptr, ptr %38, i32 1
store ptr %39, ptr %7, align 8
br label %26, !llvm.loop !8
40: ; preds = %26
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str)
br label %42
42: ; preds = %40, %81
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %8, align 4
%44 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%45 = load i32, ptr @stdin, align 4
%46 = call i32 @fgets(ptr noundef %44, i32 noundef 20, i32 noundef %45)
%47 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%48 = call i32 @strlen(ptr noundef %47)
%49 = sub nsw i32 %48, 1
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 %50
store i8 0, ptr %51, align 1
%52 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%53 = call i32 @strncmp(ptr noundef %52, ptr noundef @.str.2, i32 noundef 5)
%54 = icmp ne i32 %53, 0
br i1 %54, label %58, label %55
55: ; preds = %42
%56 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0
%57 = call i32 @store_number(ptr noundef %56)
store i32 %57, ptr %8, align 4
br label %72
58: ; preds = %42
%59 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%60 = call i32 @strncmp(ptr noundef %59, ptr noundef @.str.3, i32 noundef 4)
%61 = icmp ne i32 %60, 0
br i1 %61, label %65, label %62
62: ; preds = %58
%63 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0
%64 = call i32 @read_number(ptr noundef %63)
store i32 %64, ptr %8, align 4
br label %71
65: ; preds = %58
%66 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%67 = call i32 @strncmp(ptr noundef %66, ptr noundef @.str.4, i32 noundef 4)
%68 = icmp ne i32 %67, 0
br i1 %68, label %70, label %69
69: ; preds = %65
br label %84
70: ; preds = %65
br label %71
71: ; preds = %70, %62
br label %72
72: ; preds = %71, %55
%73 = load i32, ptr %8, align 4
%74 = icmp ne i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %72
%76 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %76)
br label %81
78: ; preds = %72
%79 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %79)
br label %81
81: ; preds = %78, %75
%82 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%83 = call i32 @memset(ptr noundef %82, i32 noundef 0, i32 noundef 20)
br label %42
84: ; preds = %69
%85 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %85
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @store_number(ptr noundef) #2
declare i32 @read_number(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgxjxhkn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [534 x i8] c"----------------------------------------------------\0A Welcome to quend's crappy number storage service! \0A----------------------------------------------------\0A Commands: \0A store - store a number into the data storage \0A read - read a number from the data storage \0A quit - exit the program \0A----------------------------------------------------\0A quend has reserved some storage for herself :> \0A----------------------------------------------------\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [16 x i8] c"Input command: \00", align 1
@stdin = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"store\00", align 1
@.str.3 = private unnamed_addr constant [5 x i8] c"read\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"quit\00", align 1
@.str.5 = private unnamed_addr constant [26 x i8] c" Failed to do %s command\0A\00", align 1
@.str.6 = private unnamed_addr constant [36 x i8] c" Completed %s command successfully\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [20 x i8], align 16
%10 = alloca [100 x i32], align 16
store i32 0, ptr %4, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 0, ptr %8, align 4
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 400, i1 false)
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %11, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %.lr.ph, label %27
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %21
%15 = load ptr, ptr %6, align 8
%16 = load ptr, ptr %15, align 8
%17 = load ptr, ptr %6, align 8
%18 = load ptr, ptr %17, align 8
%19 = call i32 @strlen(ptr noundef %18)
%20 = call i32 @memset(ptr noundef %16, i32 noundef 0, i32 noundef %19)
br label %21
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = getelementptr inbounds ptr, ptr %22, i32 1
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %24, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %3
%28 = load ptr, ptr %7, align 8
%29 = load ptr, ptr %28, align 8
%30 = icmp ne ptr %29, null
br i1 %30, label %.lr.ph2, label %44
.lr.ph2: ; preds = %27
br label %31
31: ; preds = %.lr.ph2, %38
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %34, align 8
%36 = call i32 @strlen(ptr noundef %35)
%37 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %36)
br label %38
38: ; preds = %31
%39 = load ptr, ptr %7, align 8
%40 = getelementptr inbounds ptr, ptr %39, i32 1
store ptr %40, ptr %7, align 8
%41 = load ptr, ptr %7, align 8
%42 = load ptr, ptr %41, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %44
44: ; preds = %._crit_edge3, %27
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%46 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
br label %47
47: ; preds = %85, %44
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 1, ptr %8, align 4
%49 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%50 = load i32, ptr @stdin, align 4
%51 = call i32 @fgets(ptr noundef %49, i32 noundef 20, i32 noundef %50)
%52 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%53 = call i32 @strlen(ptr noundef %52)
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 %55
store i8 0, ptr %56, align 1
%57 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%58 = call i32 @strncmp(ptr noundef %57, ptr noundef @.str.2, i32 noundef 5)
%59 = icmp ne i32 %58, 0
br i1 %59, label %63, label %60
60: ; preds = %47
%61 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0
%62 = call i32 @store_number(ptr noundef %61)
store i32 %62, ptr %8, align 4
br label %76
63: ; preds = %47
%64 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%65 = call i32 @strncmp(ptr noundef %64, ptr noundef @.str.3, i32 noundef 4)
%66 = icmp ne i32 %65, 0
br i1 %66, label %70, label %67
67: ; preds = %63
%68 = getelementptr inbounds [100 x i32], ptr %10, i64 0, i64 0
%69 = call i32 @read_number(ptr noundef %68)
store i32 %69, ptr %8, align 4
br label %75
70: ; preds = %63
%71 = call i32 @strncmp(ptr noundef %46, ptr noundef @.str.4, i32 noundef 4)
%72 = icmp ne i32 %71, 0
br i1 %72, label %74, label %73
73: ; preds = %70
br label %88
74: ; preds = %70
br label %75
75: ; preds = %74, %67
br label %76
76: ; preds = %75, %60
%77 = load i32, ptr %8, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %82
79: ; preds = %76
%80 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %80)
br label %85
82: ; preds = %76
%83 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, ptr noundef %83)
br label %85
85: ; preds = %82, %79
%86 = getelementptr inbounds [20 x i8], ptr %9, i64 0, i64 0
%87 = call i32 @memset(ptr noundef %86, i32 noundef 0, i32 noundef 20)
br label %47
88: ; preds = %73
%89 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %89
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strlen(ptr noundef) #2
declare i32 @printf(ptr noundef, ...) #2
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @store_number(ptr noundef) #2
declare i32 @read_number(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp1sdxv1ew.c'
source_filename = "/tmp/tmp1sdxv1ew.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xmapping_first_keycode(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1sdxv1ew.c"
target datalayout = "e-m:e-p270: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_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xmapping_first_keycode(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplsdwqpc9.c'
source_filename = "/tmp/tmplsdwqpc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input the data\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsdwqpc9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"input the data\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%3 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
%4 = load i32, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbhycewkp.c'
source_filename = "/tmp/tmpbhycewkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_oringe(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_object(i32 noundef 50, ptr noundef %3)
%5 = call i64 (...) @error()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
br label %8
8: ; preds = %7, %1
ret void
}
declare i32 @free_object(i32 noundef, ptr noundef) #1
declare i64 @error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbhycewkp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_oringe(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_object(i32 noundef 50, ptr noundef %3)
%5 = call i64 (...) @error()
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
br label %8
8: ; preds = %7, %1
ret void
}
declare i32 @free_object(i32 noundef, ptr noundef) #1
declare i64 @error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmfpgkypy.c'
source_filename = "/tmp/tmpmfpgkypy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitar_vfwprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %8, align 8
%12 = load i32, ptr %9, align 4
%13 = call i32 @vfwprintf(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @vfwprintf(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @vfwprintf(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = call i32 @vfwprintf(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = call i32 @vfwprintf(ptr noundef %26, ptr noundef %27, i32 noundef %28)
ret void
}
declare i32 @vfwprintf(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/tmpmfpgkypy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @uninitar_vfwprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %8, align 8
%12 = load i32, ptr %9, align 4
%13 = call i32 @vfwprintf(ptr noundef %10, ptr noundef %11, i32 noundef %12)
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = load i32, ptr %6, align 4
%17 = call i32 @vfwprintf(ptr noundef %14, ptr noundef %15, i32 noundef %16)
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %6, align 4
%21 = call i32 @vfwprintf(ptr noundef %18, ptr noundef %19, i32 noundef %20)
%22 = load ptr, ptr %4, align 8
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %6, align 4
%25 = call i32 @vfwprintf(ptr noundef %22, ptr noundef %23, i32 noundef %24)
%26 = load ptr, ptr %4, align 8
%27 = load ptr, ptr %5, align 8
%28 = load i32, ptr %9, align 4
%29 = call i32 @vfwprintf(ptr noundef %26, ptr noundef %27, i32 noundef %28)
ret void
}
declare i32 @vfwprintf(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/tmp4269migm.c'
source_filename = "/tmp/tmp4269migm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mymemchr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %42
11: ; preds = %3
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %38, %11
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %16, %12
%22 = phi i1 [ false, %12 ], [ %20, %16 ]
br i1 %22, label %23, label %41
23: ; preds = %21
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %26, %30
br i1 %31, label %32, label %34
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %4, align 8
br label %43
34: ; preds = %23
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load i8, ptr %35, align 1
br label %38
38: ; preds = %34
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
br label %12, !llvm.loop !6
41: ; preds = %21
br label %42
42: ; preds = %41, %3
store ptr null, ptr %4, align 8
br label %43
43: ; preds = %42, %32
%44 = load ptr, ptr %4, align 8
ret ptr %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/tmp4269migm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mymemchr(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %42
11: ; preds = %3
store i32 0, ptr %8, align 4
br label %12
12: ; preds = %38, %11
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %21
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br label %21
21: ; preds = %16, %12
%22 = phi i1 [ false, %12 ], [ %20, %16 ]
br i1 %22, label %23, label %41
23: ; preds = %21
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %26, %30
br i1 %31, label %32, label %34
32: ; preds = %23
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %4, align 8
br label %43
34: ; preds = %23
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds i8, ptr %35, i32 1
store ptr %36, ptr %5, align 8
%37 = load i8, ptr %35, align 1
br label %38
38: ; preds = %34
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
br label %12, !llvm.loop !6
41: ; preds = %21
br label %42
42: ; preds = %41, %3
store ptr null, ptr %4, align 8
br label %43
43: ; preds = %42, %32
%44 = load ptr, ptr %4, align 8
ret ptr %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 = '/tmp/tmpl4_phz7s.c'
source_filename = "/tmp/tmpl4_phz7s.c"
target datalayout = "e-m:e-p270: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/tmpl4_phz7s.c"
target datalayout = "e-m:e-p270: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/tmpu7wboz5q.c'
source_filename = "/tmp/tmpu7wboz5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [20 x i8] c"t1 = %ld, t2 = %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"gettimeofday\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"ret %d, tv.sec = %ld, tv.usec = %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"t3 = %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"from asctime: %s\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"from ctime: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca %struct.timeval, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = call ptr @time(ptr noundef %8)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %15)
%17 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @perror(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %2
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
%25 = load i32, ptr %24, align 4
%26 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %25, i32 noundef %27)
%29 = call ptr @gmtime(ptr noundef %7)
store ptr %29, ptr %10, align 8
%30 = call ptr @localtime(ptr noundef %8)
store ptr %30, ptr %11, align 8
%31 = load ptr, ptr %10, align 8
%32 = call i32 @print_tm(ptr noundef %31)
%33 = load ptr, ptr %11, align 8
%34 = call i32 @print_tm(ptr noundef %33)
%35 = load ptr, ptr %11, align 8
%36 = call ptr @mktime(ptr noundef %35)
store ptr %36, ptr %12, align 8
%37 = load ptr, ptr %12, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37)
%39 = load ptr, ptr %11, align 8
%40 = call ptr @asctime(ptr noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %40)
%42 = call ptr @ctime(ptr noundef %12)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %42)
ret i32 0
}
declare ptr @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @print_tm(ptr noundef) #1
declare ptr @mktime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu7wboz5q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i32, i32 }
@.str = private unnamed_addr constant [20 x i8] c"t1 = %ld, t2 = %ld\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"gettimeofday\00", align 1
@.str.2 = private unnamed_addr constant [37 x i8] c"ret %d, tv.sec = %ld, tv.usec = %ld\0A\00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"t3 = %ld\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"from asctime: %s\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"from ctime: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca %struct.timeval, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%13 = call ptr @time(ptr noundef %8)
store ptr %13, ptr %7, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %8, align 8
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %14, ptr noundef %15)
%17 = call i32 @gettimeofday(ptr noundef %9, ptr noundef null)
store i32 %17, ptr %6, align 4
%18 = load i32, ptr %6, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %22
20: ; preds = %2
%21 = call i32 @perror(ptr noundef @.str.1)
br label %22
22: ; preds = %20, %2
%23 = load i32, ptr %6, align 4
%24 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 1
%25 = load i32, ptr %24, align 4
%26 = getelementptr inbounds %struct.timeval, ptr %9, i32 0, i32 0
%27 = load i32, ptr %26, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %25, i32 noundef %27)
%29 = call ptr @gmtime(ptr noundef %7)
store ptr %29, ptr %10, align 8
%30 = call ptr @localtime(ptr noundef %8)
store ptr %30, ptr %11, align 8
%31 = load ptr, ptr %10, align 8
%32 = call i32 @print_tm(ptr noundef %31)
%33 = load ptr, ptr %11, align 8
%34 = call i32 @print_tm(ptr noundef %33)
%35 = load ptr, ptr %11, align 8
%36 = call ptr @mktime(ptr noundef %35)
store ptr %36, ptr %12, align 8
%37 = load ptr, ptr %12, align 8
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %37)
%39 = load ptr, ptr %11, align 8
%40 = call ptr @asctime(ptr noundef %39)
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %40)
%42 = call ptr @ctime(ptr noundef %12)
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %42)
ret i32 0
}
declare ptr @time(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @gettimeofday(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @gmtime(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @print_tm(ptr noundef) #1
declare ptr @mktime(ptr noundef) #1
declare ptr @asctime(ptr noundef) #1
declare ptr @ctime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmple4t7l3l.c'
source_filename = "/tmp/tmple4t7l3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parsekey_special(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %12 [
i32 128, label %8
i32 131, label %9
i32 129, label %10
i32 130, label %11
]
8: ; preds = %3
br label %12
9: ; preds = %3
br label %12
10: ; preds = %3
br label %12
11: ; preds = %3
br label %12
12: ; preds = %3, %11, %10, %9, %8
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmple4t7l3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parsekey_special(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%7 = load i32, ptr %4, align 4
switch i32 %7, label %12 [
i32 128, label %8
i32 131, label %9
i32 129, label %10
i32 130, label %11
]
8: ; preds = %3
br label %12
9: ; preds = %3
br label %12
10: ; preds = %3
br label %12
11: ; preds = %3
br label %12
12: ; preds = %11, %10, %9, %8, %3
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2ya690x_.c'
source_filename = "/tmp/tmp2ya690x_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toStringSJIS(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @_set_buffer(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @_euc2shift(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call ptr @_replace_buffer(ptr noundef %9)
ret ptr %10
}
declare ptr @_set_buffer(ptr noundef) #1
declare i32 @_euc2shift(ptr noundef, ptr noundef) #1
declare ptr @_replace_buffer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2ya690x_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toStringSJIS(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @_set_buffer(ptr noundef %4)
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @_euc2shift(ptr noundef %6, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call ptr @_replace_buffer(ptr noundef %9)
ret ptr %10
}
declare ptr @_set_buffer(ptr noundef) #1
declare i32 @_euc2shift(ptr noundef, ptr noundef) #1
declare ptr @_replace_buffer(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnc25bjxg.c'
source_filename = "/tmp/tmpnc25bjxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"locked\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"File 'locked' opened\0A\00", align 1
@LOCK_EX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"flock\00", align 1
@LOCK_UN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = load i32, ptr @O_CREAT, align 4
%6 = or i32 %4, %5
%7 = load i32, ptr @S_IWUSR, align 4
%8 = load i32, ptr @S_IRUSR, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @S_IRGRP, align 4
%13 = or i32 %11, %12
%14 = call i32 @open(ptr noundef @.str, i32 noundef %6, i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %41
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.1)
br label %21
21: ; preds = %19
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr @LOCK_EX, align 4
%24 = call i32 @flock(i32 noundef %22, i32 noundef %23)
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %21
%30 = call i32 (...) @getchar()
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr @LOCK_UN, align 4
%33 = call i32 @flock(i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %29
%37 = call i32 @perror(ptr noundef @.str.2)
br label %38
38: ; preds = %36, %29
%39 = load i32, ptr %2, align 4
%40 = call i32 @close(i32 noundef %39)
store i32 0, ptr %1, align 4
br label %41
41: ; preds = %38, %17
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @flock(i32 noundef, i32 noundef) #1
declare i32 @getchar(...) #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/tmpnc25bjxg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"locked\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@S_IWUSR = dso_local global i32 0, align 4
@S_IRUSR = dso_local global i32 0, align 4
@S_IROTH = dso_local global i32 0, align 4
@S_IRGRP = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [22 x i8] c"File 'locked' opened\0A\00", align 1
@LOCK_EX = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [6 x i8] c"flock\00", align 1
@LOCK_UN = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr @O_RDWR, align 4
%5 = load i32, ptr @O_CREAT, align 4
%6 = or i32 %4, %5
%7 = load i32, ptr @S_IWUSR, align 4
%8 = load i32, ptr @S_IRUSR, align 4
%9 = or i32 %7, %8
%10 = load i32, ptr @S_IROTH, align 4
%11 = or i32 %9, %10
%12 = load i32, ptr @S_IRGRP, align 4
%13 = or i32 %11, %12
%14 = call i32 @open(ptr noundef @.str, i32 noundef %6, i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp eq i32 %15, -1
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %1, align 4
br label %41
19: ; preds = %0
%20 = call i32 @printf(ptr noundef @.str.1)
br label %21
21: ; preds = %19
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr @LOCK_EX, align 4
%24 = call i32 @flock(i32 noundef %22, i32 noundef %23)
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %3, align 4
%26 = icmp eq i32 %25, -1
br i1 %26, label %27, label %29
27: ; preds = %21
%28 = call i32 @perror(ptr noundef @.str.2)
br label %29
29: ; preds = %27, %21
%30 = call i32 (...) @getchar()
%31 = load i32, ptr %2, align 4
%32 = load i32, ptr @LOCK_UN, align 4
%33 = call i32 @flock(i32 noundef %31, i32 noundef %32)
store i32 %33, ptr %3, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp eq i32 %34, -1
br i1 %35, label %36, label %38
36: ; preds = %29
%37 = call i32 @perror(ptr noundef @.str.2)
br label %38
38: ; preds = %36, %29
%39 = load i32, ptr %2, align 4
%40 = call i32 @close(i32 noundef %39)
store i32 0, ptr %1, align 4
br label %41
41: ; preds = %38, %17
%42 = load i32, ptr %1, align 4
ret i32 %42
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @flock(i32 noundef, i32 noundef) #1
declare i32 @getchar(...) #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/tmpde18qraz.c'
source_filename = "/tmp/tmpde18qraz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DesactiverRelai(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @voCore_gpioSetValueByIndex(i32 noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @voCore_gpioSetValueByIndex(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/tmpde18qraz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DesactiverRelai(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @voCore_gpioSetValueByIndex(i32 noundef %3, i32 noundef 0)
ret i32 %4
}
declare i32 @voCore_gpioSetValueByIndex(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/tmp707z8w4m.c'
source_filename = "/tmp/tmp707z8w4m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__readStringToPointer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 1
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @fgets(ptr noundef %10, i32 noundef %11, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i64 @strcspn(ptr noundef %15, ptr noundef @.str)
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 0, ptr %17, align 1
%18 = load i32, ptr @stdin, align 4
%19 = call i32 @__fpurge(i32 noundef %18)
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcspn(ptr noundef, ptr noundef) #1
declare i32 @__fpurge(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/tmp707z8w4m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @__readStringToPointer(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sext i32 %4 to i64
%6 = mul i64 %5, 1
%7 = trunc i64 %6 to i32
%8 = call i64 @malloc(i32 noundef %7)
%9 = inttoptr i64 %8 to ptr
store ptr %9, ptr %3, align 8
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @fgets(ptr noundef %10, i32 noundef %11, i32 noundef %12)
%14 = load ptr, ptr %3, align 8
%15 = load ptr, ptr %3, align 8
%16 = call i64 @strcspn(ptr noundef %15, ptr noundef @.str)
%17 = getelementptr inbounds i8, ptr %14, i64 %16
store i8 0, ptr %17, align 1
%18 = load i32, ptr @stdin, align 4
%19 = call i32 @__fpurge(i32 noundef %18)
%20 = load ptr, ptr %3, align 8
ret ptr %20
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @strcspn(ptr noundef, ptr noundef) #1
declare i32 @__fpurge(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/tmpva9yhrkj.c'
source_filename = "/tmp/tmpva9yhrkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"*************************************************\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"\0A***************CALCULATEUR D'IMPOT***************\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\0A******************SUR LE REVENU******************\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\0A*************************************************\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"\0A Mode de calcul ? : \00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"\0A 1 - Chainage avant ? \00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c"\0A 2 - Chainage arriere ? \00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c"\0A 3 - Chainage Av et Ar avec details ? \00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c"\0A 0 - Quitter ? \00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"\0A Votre choix ? : \00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @menuCalcul() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.3)
%12 = call i32 @printf(ptr noundef @.str.3)
%13 = call i32 @printf(ptr noundef @.str.9)
%14 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %1)
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpva9yhrkj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [50 x i8] c"*************************************************\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"\0A***************CALCULATEUR D'IMPOT***************\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"\0A******************SUR LE REVENU******************\00", align 1
@.str.3 = private unnamed_addr constant [51 x i8] c"\0A*************************************************\00", align 1
@.str.4 = private unnamed_addr constant [51 x i8] c"\0A Mode de calcul ? : \00", align 1
@.str.5 = private unnamed_addr constant [51 x i8] c"\0A 1 - Chainage avant ? \00", align 1
@.str.6 = private unnamed_addr constant [51 x i8] c"\0A 2 - Chainage arriere ? \00", align 1
@.str.7 = private unnamed_addr constant [51 x i8] c"\0A 3 - Chainage Av et Ar avec details ? \00", align 1
@.str.8 = private unnamed_addr constant [51 x i8] c"\0A 0 - Quitter ? \00", align 1
@.str.9 = private unnamed_addr constant [24 x i8] c"\0A Votre choix ? : \00", align 1
@.str.10 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @menuCalcul() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
%3 = call i32 @printf(ptr noundef @.str.1)
%4 = call i32 @printf(ptr noundef @.str.2)
%5 = call i32 @printf(ptr noundef @.str.3)
%6 = call i32 @printf(ptr noundef @.str.4)
%7 = call i32 @printf(ptr noundef @.str.5)
%8 = call i32 @printf(ptr noundef @.str.6)
%9 = call i32 @printf(ptr noundef @.str.7)
%10 = call i32 @printf(ptr noundef @.str.8)
%11 = call i32 @printf(ptr noundef @.str.3)
%12 = call i32 @printf(ptr noundef @.str.3)
%13 = call i32 @printf(ptr noundef @.str.9)
%14 = call i32 @scanf(ptr noundef @.str.10, ptr noundef %1)
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbdgg9ug6.c'
source_filename = "/tmp/tmpbdgg9ug6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel313_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel313_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel313_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbdgg9ug6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nb_kernel313_f77_double(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28, ptr noundef %29, ptr noundef %30) #0 {
%32 = alloca ptr, align 8
%33 = alloca ptr, align 8
%34 = alloca ptr, align 8
%35 = alloca ptr, align 8
%36 = alloca ptr, align 8
%37 = alloca ptr, align 8
%38 = alloca ptr, align 8
%39 = alloca ptr, align 8
%40 = alloca ptr, align 8
%41 = alloca ptr, align 8
%42 = alloca ptr, align 8
%43 = alloca ptr, align 8
%44 = alloca ptr, align 8
%45 = alloca ptr, align 8
%46 = alloca ptr, align 8
%47 = alloca ptr, align 8
%48 = alloca ptr, align 8
%49 = alloca ptr, align 8
%50 = alloca ptr, align 8
%51 = alloca ptr, align 8
%52 = alloca ptr, align 8
%53 = alloca ptr, align 8
%54 = alloca ptr, align 8
%55 = alloca ptr, align 8
%56 = alloca ptr, align 8
%57 = alloca ptr, align 8
%58 = alloca ptr, align 8
%59 = alloca ptr, align 8
%60 = alloca ptr, align 8
%61 = alloca ptr, align 8
%62 = alloca ptr, align 8
store ptr %0, ptr %32, align 8
store ptr %1, ptr %33, align 8
store ptr %2, ptr %34, align 8
store ptr %3, ptr %35, align 8
store ptr %4, ptr %36, align 8
store ptr %5, ptr %37, align 8
store ptr %6, ptr %38, align 8
store ptr %7, ptr %39, align 8
store ptr %8, ptr %40, align 8
store ptr %9, ptr %41, align 8
store ptr %10, ptr %42, align 8
store ptr %11, ptr %43, align 8
store ptr %12, ptr %44, align 8
store ptr %13, ptr %45, align 8
store ptr %14, ptr %46, align 8
store ptr %15, ptr %47, align 8
store ptr %16, ptr %48, align 8
store ptr %17, ptr %49, align 8
store ptr %18, ptr %50, align 8
store ptr %19, ptr %51, align 8
store ptr %20, ptr %52, align 8
store ptr %21, ptr %53, align 8
store ptr %22, ptr %54, align 8
store ptr %23, ptr %55, align 8
store ptr %24, ptr %56, align 8
store ptr %25, ptr %57, align 8
store ptr %26, ptr %58, align 8
store ptr %27, ptr %59, align 8
store ptr %28, ptr %60, align 8
store ptr %29, ptr %61, align 8
store ptr %30, ptr %62, align 8
%63 = load ptr, ptr %32, align 8
%64 = load ptr, ptr %33, align 8
%65 = load ptr, ptr %34, align 8
%66 = load ptr, ptr %35, align 8
%67 = load ptr, ptr %36, align 8
%68 = load ptr, ptr %37, align 8
%69 = load ptr, ptr %38, align 8
%70 = load ptr, ptr %39, align 8
%71 = load ptr, ptr %40, align 8
%72 = load ptr, ptr %41, align 8
%73 = load ptr, ptr %42, align 8
%74 = load ptr, ptr %43, align 8
%75 = load ptr, ptr %44, align 8
%76 = load ptr, ptr %45, align 8
%77 = load ptr, ptr %46, align 8
%78 = load ptr, ptr %47, align 8
%79 = load ptr, ptr %48, align 8
%80 = load ptr, ptr %49, align 8
%81 = load ptr, ptr %50, align 8
%82 = load ptr, ptr %51, align 8
%83 = load ptr, ptr %52, align 8
%84 = load ptr, ptr %53, align 8
%85 = load ptr, ptr %54, align 8
%86 = load ptr, ptr %55, align 8
%87 = load ptr, ptr %56, align 8
%88 = load ptr, ptr %57, align 8
%89 = load ptr, ptr %58, align 8
%90 = load ptr, ptr %59, align 8
%91 = load ptr, ptr %60, align 8
%92 = load ptr, ptr %61, align 8
%93 = load ptr, ptr %62, align 8
%94 = call i32 @f77dkernel313_(ptr noundef %63, ptr noundef %64, ptr noundef %65, ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef %72, ptr noundef %73, ptr noundef %74, ptr noundef %75, ptr noundef %76, ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef %84, ptr noundef %85, ptr noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %90, ptr noundef %91, ptr noundef %92, ptr noundef %93)
ret void
}
declare i32 @f77dkernel313_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj7t_kbwo.c'
source_filename = "/tmp/tmpj7t_kbwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"in ec_malloc() on memory allocation\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ec_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @fatal(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fatal(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj7t_kbwo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [36 x i8] c"in ec_malloc() on memory allocation\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ec_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
store i64 %0, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = call ptr @malloc(i64 noundef %4) #3
store ptr %5, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, null
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 @fatal(ptr noundef @.str)
br label %10
10: ; preds = %8, %1
%11 = load ptr, ptr %3, align 8
ret ptr %11
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @fatal(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcb05xo0x.c'
source_filename = "/tmp/tmpcb05xo0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \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 [10 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %11
11: ; preds = %19, %2
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %14, label %22
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %16
%18 = call i32 @scanf(ptr noundef @.str, ptr noundef %17)
br label %19
19: ; preds = %14
%20 = load i32, ptr %6, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %6, align 4
br label %11, !llvm.loop !6
22: ; preds = %11
store i32 0, ptr %6, align 4
br label %23
23: ; preds = %51, %22
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 10
br i1 %25, label %26, label %54
26: ; preds = %23
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp sgt i32 %30, %34
br i1 %35, label %36, label %38
36: ; preds = %26
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %36, %26
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp slt i32 %42, %46
br i1 %47, label %48, label %50
48: ; preds = %38
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %8, align 4
br label %50
50: ; preds = %48, %38
br label %51
51: ; preds = %50
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
br label %23, !llvm.loop !8
54: ; preds = %23
%55 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 9
%56 = load i32, ptr %55, align 4
store i32 %56, ptr %9, align 4
%57 = load i32, ptr %7, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %58
%60 = load i32, ptr %59, align 4
%61 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 9
store i32 %60, ptr %61, align 4
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %64
store i32 %62, ptr %65, align 4
%66 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%67 = load i32, ptr %66, align 16
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %69
%71 = load i32, ptr %70, align 4
%72 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
store i32 %71, ptr %72, align 16
%73 = load i32, ptr %9, align 4
%74 = load i32, ptr %8, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %75
store i32 %73, ptr %76, align 4
store i32 0, ptr %6, align 4
br label %77
77: ; preds = %86, %54
%78 = load i32, ptr %6, align 4
%79 = icmp slt i32 %78, 10
br i1 %79, label %80, label %89
80: ; preds = %77
%81 = load i32, ptr %6, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
%85 = call i32 @printf(ptr noundef @.str.1, i32 noundef %84)
br label %86
86: ; preds = %80
%87 = load i32, ptr %6, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %6, align 4
br label %77, !llvm.loop !9
89: ; preds = %77
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcb05xo0x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 \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 [10 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp slt i32 %11, 10
br i1 %12, label %.lr.ph, label %23
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %18
%14 = load i32, ptr %6, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %15
%17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16)
br label %18
18: ; preds = %13
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %6, align 4
%21 = load i32, ptr %6, align 4
%22 = icmp slt i32 %21, 10
br i1 %22, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %2
store i32 0, ptr %6, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %24, 10
br i1 %25, label %.lr.ph2, label %56
.lr.ph2: ; preds = %23
br label %26
26: ; preds = %.lr.ph2, %51
%27 = load i32, ptr %6, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %28
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %7, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp sgt i32 %30, %34
br i1 %35, label %36, label %38
36: ; preds = %26
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %7, align 4
br label %38
38: ; preds = %36, %26
%39 = load i32, ptr %6, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = icmp slt i32 %42, %46
br i1 %47, label %48, label %50
48: ; preds = %38
%49 = load i32, ptr %6, align 4
store i32 %49, ptr %8, align 4
br label %50
50: ; preds = %48, %38
br label %51
51: ; preds = %50
%52 = load i32, ptr %6, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = icmp slt i32 %54, 10
br i1 %55, label %26, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %56
56: ; preds = %._crit_edge3, %23
%57 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 9
%58 = load i32, ptr %57, align 4
store i32 %58, ptr %9, align 4
%59 = load i32, ptr %7, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %60
%62 = load i32, ptr %61, align 4
%63 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 9
store i32 %62, ptr %63, align 4
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %7, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %66
store i32 %64, ptr %67, align 4
%68 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
%69 = load i32, ptr %68, align 16
store i32 %69, ptr %9, align 4
%70 = load i32, ptr %8, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %71
%73 = load i32, ptr %72, align 4
%74 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 0
store i32 %73, ptr %74, align 16
%75 = load i32, ptr %9, align 4
%76 = load i32, ptr %8, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %77
store i32 %75, ptr %78, align 4
store i32 0, ptr %6, align 4
%79 = load i32, ptr %6, align 4
%80 = icmp slt i32 %79, 10
br i1 %80, label %.lr.ph5, label %92
.lr.ph5: ; preds = %56
br label %81
81: ; preds = %.lr.ph5, %87
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [10 x i32], ptr %10, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = call i32 @printf(ptr noundef @.str.1, i32 noundef %85)
br label %87
87: ; preds = %81
%88 = load i32, ptr %6, align 4
%89 = add nsw i32 %88, 1
store i32 %89, ptr %6, align 4
%90 = load i32, ptr %6, align 4
%91 = icmp slt i32 %90, 10
br i1 %91, label %81, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %87
br label %92
92: ; preds = %._crit_edge6, %56
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpdhcno_l5.c'
source_filename = "/tmp/tmpdhcno_l5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnwstr_fd(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca [4 x i8], align 1
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i64 0, ptr %8, align 8
br label %11
11: ; preds = %36, %3
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %12, align 4
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %43
15: ; preds = %11
%16 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %17, align 4
%19 = call i32 @ft_wctomb(ptr noundef %16, i32 noundef %18)
store i32 %19, ptr %9, align 4
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %22
21: ; preds = %15
store i64 -1, ptr %4, align 8
br label %45
22: ; preds = %15
%23 = load i64, ptr %8, align 8
%24 = load i32, ptr %9, align 4
%25 = sext i32 %24 to i64
%26 = add i64 %23, %25
%27 = load i64, ptr %6, align 8
%28 = icmp ule i64 %26, %27
br i1 %28, label %29, label %34
29: ; preds = %22
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %30, align 4
%32 = load i32, ptr %7, align 4
%33 = call i32 @ft_putwchar_fd(i32 noundef %31, i32 noundef %32)
br label %36
34: ; preds = %22
%35 = load i64, ptr %8, align 8
store i64 %35, ptr %4, align 8
br label %45
36: ; preds = %29
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i32, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = load i64, ptr %8, align 8
%42 = add i64 %41, %40
store i64 %42, ptr %8, align 8
br label %11, !llvm.loop !6
43: ; preds = %11
%44 = load i64, ptr %8, align 8
store i64 %44, ptr %4, align 8
br label %45
45: ; preds = %43, %34, %21
%46 = load i64, ptr %4, align 8
ret i64 %46
}
declare i32 @ft_wctomb(ptr noundef, i32 noundef) #1
declare i32 @ft_putwchar_fd(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdhcno_l5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ft_putnwstr_fd(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca [4 x i8], align 1
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i64 0, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %11, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %45
.lr.ph: ; preds = %3
br label %14
14: ; preds = %.lr.ph, %35
%15 = getelementptr inbounds [4 x i8], ptr %10, i64 0, i64 0
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %16, align 4
%18 = call i32 @ft_wctomb(ptr noundef %15, i32 noundef %17)
store i32 %18, ptr %9, align 4
%19 = icmp eq i32 %18, -1
br i1 %19, label %20, label %21
20: ; preds = %14
store i64 -1, ptr %4, align 8
br label %47
21: ; preds = %14
%22 = load i64, ptr %8, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = add i64 %22, %24
%26 = load i64, ptr %6, align 8
%27 = icmp ule i64 %25, %26
br i1 %27, label %28, label %33
28: ; preds = %21
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %7, align 4
%32 = call i32 @ft_putwchar_fd(i32 noundef %30, i32 noundef %31)
br label %35
33: ; preds = %21
%34 = load i64, ptr %8, align 8
store i64 %34, ptr %4, align 8
br label %47
35: ; preds = %28
%36 = load ptr, ptr %5, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 1
store ptr %37, ptr %5, align 8
%38 = load i32, ptr %9, align 4
%39 = sext i32 %38 to i64
%40 = load i64, ptr %8, align 8
%41 = add i64 %40, %39
store i64 %41, ptr %8, align 8
%42 = load ptr, ptr %5, align 8
%43 = load i32, ptr %42, align 4
%44 = icmp ne i32 %43, 0
br i1 %44, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %45
45: ; preds = %._crit_edge, %3
%46 = load i64, ptr %8, align 8
store i64 %46, ptr %4, align 8
br label %47
47: ; preds = %45, %33, %20
%48 = load i64, ptr %4, align 8
ret i64 %48
}
declare i32 @ft_wctomb(ptr noundef, i32 noundef) #1
declare i32 @ft_putwchar_fd(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9u97lc98.c'
source_filename = "/tmp/tmp9u97lc98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PresentBuffer() #0 {
%1 = alloca i64, align 8
%2 = alloca i8, align 1
store i64 0, ptr %1, align 8
store i8 0, ptr %2, align 1
%3 = call i32 @LCDPosition(i32 noundef 0, i32 noundef 0)
store i64 0, ptr %1, align 8
br label %4
4: ; preds = %12, %0
%5 = load i64, ptr %1, align 8
%6 = icmp ult i64 %5, 504
br i1 %6, label %7, label %15
7: ; preds = %4
%8 = load i64, ptr %1, align 8
%9 = call zeroext i8 @screenBuffer(i64 noundef %8)
store i8 %9, ptr %2, align 1
%10 = load i8, ptr %2, align 1
%11 = call i32 @LCDWrite(i32 noundef 1, i8 noundef zeroext %10)
br label %12
12: ; preds = %7
%13 = load i64, ptr %1, align 8
%14 = add i64 %13, 1
store i64 %14, ptr %1, align 8
br label %4, !llvm.loop !6
15: ; preds = %4
ret void
}
declare i32 @LCDPosition(i32 noundef, i32 noundef) #1
declare zeroext i8 @screenBuffer(i64 noundef) #1
declare i32 @LCDWrite(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9u97lc98.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @PresentBuffer() #0 {
%1 = alloca i64, align 8
%2 = alloca i8, align 1
store i64 0, ptr %1, align 8
store i8 0, ptr %2, align 1
%3 = call i32 @LCDPosition(i32 noundef 0, i32 noundef 0)
store i64 0, ptr %1, align 8
%4 = load i64, ptr %1, align 8
%5 = icmp ult i64 %4, 504
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %11
%7 = load i64, ptr %1, align 8
%8 = call zeroext i8 @screenBuffer(i64 noundef %7)
store i8 %8, ptr %2, align 1
%9 = load i8, ptr %2, align 1
%10 = call i32 @LCDWrite(i32 noundef 1, i8 noundef zeroext %9)
br label %11
11: ; preds = %6
%12 = load i64, ptr %1, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %1, align 8
%14 = load i64, ptr %1, align 8
%15 = icmp ult i64 %14, 504
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %16
16: ; preds = %._crit_edge, %0
ret void
}
declare i32 @LCDPosition(i32 noundef, i32 noundef) #1
declare zeroext i8 @screenBuffer(i64 noundef) #1
declare i32 @LCDWrite(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkydtp8yb.c'
source_filename = "/tmp/tmpkydtp8yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @diffdays(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.tm, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @localtime(ptr noundef %7)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @tmcpy(ptr noundef %5, ptr noundef %9)
%11 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 2
store i64 0, ptr %11, align 8
%12 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 1
store i64 0, ptr %12, align 8
%13 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0
store i32 5, ptr %13, align 8
%14 = load ptr, ptr %3, align 8
%15 = call ptr @localtime(ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2
store i64 0, ptr %17, align 8
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 1
store i64 0, ptr %19, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0
store i32 5, ptr %21, align 8
%22 = call i32 @mktime(ptr noundef %5)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @mktime(ptr noundef %23)
%25 = call i32 @difftime(i32 noundef %22, i32 noundef %24)
%26 = sdiv i32 %25, 86400
ret i32 %26
}
declare ptr @localtime(ptr noundef) #1
declare i32 @tmcpy(ptr noundef, ptr noundef) #1
declare i32 @difftime(i32 noundef, i32 noundef) #1
declare i32 @mktime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkydtp8yb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @diffdays(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca %struct.tm, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call ptr @localtime(ptr noundef %7)
store ptr %8, ptr %6, align 8
%9 = load ptr, ptr %6, align 8
%10 = call i32 @tmcpy(ptr noundef %5, ptr noundef %9)
%11 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 2
store i64 0, ptr %11, align 8
%12 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 1
store i64 0, ptr %12, align 8
%13 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 0
store i32 5, ptr %13, align 8
%14 = load ptr, ptr %3, align 8
%15 = call ptr @localtime(ptr noundef %14)
store ptr %15, ptr %6, align 8
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds %struct.tm, ptr %16, i32 0, i32 2
store i64 0, ptr %17, align 8
%18 = load ptr, ptr %6, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 1
store i64 0, ptr %19, align 8
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds %struct.tm, ptr %20, i32 0, i32 0
store i32 5, ptr %21, align 8
%22 = call i32 @mktime(ptr noundef %5)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @mktime(ptr noundef %23)
%25 = call i32 @difftime(i32 noundef %22, i32 noundef %24)
%26 = sdiv i32 %25, 86400
ret i32 %26
}
declare ptr @localtime(ptr noundef) #1
declare i32 @tmcpy(ptr noundef, ptr noundef) #1
declare i32 @difftime(i32 noundef, i32 noundef) #1
declare i32 @mktime(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyokfgn6q.c'
source_filename = "/tmp/tmpyokfgn6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_number_sprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca i8, align 1
%15 = alloca i64, align 8
%16 = alloca i8, align 1
%17 = alloca i64, align 8
%18 = alloca i8, align 1
%19 = alloca i64, align 8
%20 = alloca i8, align 1
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
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
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp uge i32 %21, %22
br i1 %23, label %24, label %37
24: ; preds = %6
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = udiv i32 %27, %28
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %11, align 4
%32 = sub nsw i32 %31, 1
%33 = load i32, ptr %12, align 4
call void @output_number_sprintf(ptr noundef %25, ptr noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33)
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %9, align 4
%36 = urem i32 %35, %34
store i32 %36, ptr %9, align 4
br label %37
37: ; preds = %24, %6
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %10, align 4
%40 = icmp ult i32 %38, %39
br i1 %40, label %41, label %79
41: ; preds = %37
%42 = load i32, ptr %11, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %79
44: ; preds = %41
br label %45
45: ; preds = %77, %44
%46 = load i32, ptr %11, align 4
%47 = add nsw i32 %46, -1
store i32 %47, ptr %11, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %49, label %78
49: ; preds = %45
%50 = load i32, ptr %12, align 4
%51 = and i32 %50, 1
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %65
53: ; preds = %49
br label %54
54: ; preds = %53
store i8 48, ptr %14, align 1
%55 = load i8, ptr %14, align 1
%56 = load ptr, ptr %8, align 8
%57 = load ptr, ptr %56, align 8
store i8 %55, ptr %57, align 1
%58 = load ptr, ptr %8, align 8
%59 = load ptr, ptr %58, align 8
%60 = getelementptr inbounds i8, ptr %59, i32 1
store ptr %60, ptr %58, align 8
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %61, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %61, align 4
br label %64
64: ; preds = %54
br label %77
65: ; preds = %49
br label %66
66: ; preds = %65
store i8 32, ptr %16, align 1
%67 = load i8, ptr %16, align 1
%68 = load ptr, ptr %8, align 8
%69 = load ptr, ptr %68, align 8
store i8 %67, ptr %69, align 1
%70 = load ptr, ptr %8, align 8
%71 = load ptr, ptr %70, align 8
%72 = getelementptr inbounds i8, ptr %71, i32 1
store ptr %72, ptr %70, align 8
%73 = load ptr, ptr %7, align 8
%74 = load i32, ptr %73, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %73, align 4
br label %76
76: ; preds = %66
br label %77
77: ; preds = %76, %64
br label %45, !llvm.loop !6
78: ; preds = %45
br label %79
79: ; preds = %78, %41, %37
%80 = load i32, ptr %12, align 4
%81 = and i32 %80, 2
%82 = icmp ne i32 %81, 0
br i1 %82, label %83, label %107
83: ; preds = %79
br label %84
84: ; preds = %83
%85 = load i32, ptr %9, align 4
%86 = icmp ult i32 %85, 10
br i1 %86, label %87, label %90
87: ; preds = %84
%88 = load i32, ptr %9, align 4
%89 = add i32 %88, 48
br label %94
90: ; preds = %84
%91 = load i32, ptr %9, align 4
%92 = sub i32 %91, 10
%93 = add i32 %92, 65
br label %94
94: ; preds = %90, %87
%95 = phi i32 [ %89, %87 ], [ %93, %90 ]
%96 = trunc i32 %95 to i8
store i8 %96, ptr %18, align 1
%97 = load i8, ptr %18, align 1
%98 = load ptr, ptr %8, align 8
%99 = load ptr, ptr %98, align 8
store i8 %97, ptr %99, align 1
%100 = load ptr, ptr %8, align 8
%101 = load ptr, ptr %100, align 8
%102 = getelementptr inbounds i8, ptr %101, i32 1
store ptr %102, ptr %100, align 8
%103 = load ptr, ptr %7, align 8
%104 = load i32, ptr %103, align 4
%105 = add nsw i32 %104, 1
store i32 %105, ptr %103, align 4
br label %106
106: ; preds = %94
br label %131
107: ; preds = %79
br label %108
108: ; preds = %107
%109 = load i32, ptr %9, align 4
%110 = icmp ult i32 %109, 10
br i1 %110, label %111, label %114
111: ; preds = %108
%112 = load i32, ptr %9, align 4
%113 = add i32 %112, 48
br label %118
114: ; preds = %108
%115 = load i32, ptr %9, align 4
%116 = sub i32 %115, 10
%117 = add i32 %116, 97
br label %118
118: ; preds = %114, %111
%119 = phi i32 [ %113, %111 ], [ %117, %114 ]
%120 = trunc i32 %119 to i8
store i8 %120, ptr %20, align 1
%121 = load i8, ptr %20, align 1
%122 = load ptr, ptr %8, align 8
%123 = load ptr, ptr %122, align 8
store i8 %121, ptr %123, align 1
%124 = load ptr, ptr %8, align 8
%125 = load ptr, ptr %124, align 8
%126 = getelementptr inbounds i8, ptr %125, i32 1
store ptr %126, ptr %124, align 8
%127 = load ptr, ptr %7, align 8
%128 = load i32, ptr %127, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %127, align 4
br label %130
130: ; preds = %118
br label %131
131: ; preds = %130, %106
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyokfgn6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @output_number_sprintf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i64, align 8
%14 = alloca i8, align 1
%15 = alloca i64, align 8
%16 = alloca i8, align 1
%17 = alloca i64, align 8
%18 = alloca i8, align 1
%19 = alloca i64, align 8
%20 = alloca i8, align 1
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
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
%21 = load i32, ptr %9, align 4
%22 = load i32, ptr %10, align 4
%23 = icmp uge i32 %21, %22
br i1 %23, label %24, label %37
24: ; preds = %6
%25 = load ptr, ptr %7, align 8
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %10, align 4
%29 = udiv i32 %27, %28
%30 = load i32, ptr %10, align 4
%31 = load i32, ptr %11, align 4
%32 = sub nsw i32 %31, 1
%33 = load i32, ptr %12, align 4
call void @output_number_sprintf(ptr noundef %25, ptr noundef %26, i32 noundef %29, i32 noundef %30, i32 noundef %32, i32 noundef %33)
%34 = load i32, ptr %10, align 4
%35 = load i32, ptr %9, align 4
%36 = urem i32 %35, %34
store i32 %36, ptr %9, align 4
br label %37
37: ; preds = %24, %6
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %10, align 4
%40 = icmp ult i32 %38, %39
br i1 %40, label %41, label %81
41: ; preds = %37
%42 = load i32, ptr %11, align 4
%43 = icmp sgt i32 %42, 0
br i1 %43, label %44, label %81
44: ; preds = %41
%45 = load i32, ptr %11, align 4
%46 = add nsw i32 %45, -1
store i32 %46, ptr %11, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %.lr.ph, label %80
.lr.ph: ; preds = %44
br label %48
48: ; preds = %.lr.ph, %76
%49 = load i32, ptr %12, align 4
%50 = and i32 %49, 1
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %64
52: ; preds = %48
br label %53
53: ; preds = %52
store i8 48, ptr %14, align 1
%54 = load i8, ptr %14, align 1
%55 = load ptr, ptr %8, align 8
%56 = load ptr, ptr %55, align 8
store i8 %54, ptr %56, align 1
%57 = load ptr, ptr %8, align 8
%58 = load ptr, ptr %57, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %57, align 8
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %60, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %60, align 4
br label %63
63: ; preds = %53
br label %76
64: ; preds = %48
br label %65
65: ; preds = %64
store i8 32, ptr %16, align 1
%66 = load i8, ptr %16, align 1
%67 = load ptr, ptr %8, align 8
%68 = load ptr, ptr %67, align 8
store i8 %66, ptr %68, align 1
%69 = load ptr, ptr %8, align 8
%70 = load ptr, ptr %69, align 8
%71 = getelementptr inbounds i8, ptr %70, i32 1
store ptr %71, ptr %69, align 8
%72 = load ptr, ptr %7, align 8
%73 = load i32, ptr %72, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %72, align 4
br label %75
75: ; preds = %65
br label %76
76: ; preds = %75, %63
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, -1
store i32 %78, ptr %11, align 4
%79 = icmp ne i32 %78, 0
br i1 %79, label %48, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %80
80: ; preds = %._crit_edge, %44
br label %81
81: ; preds = %80, %41, %37
%82 = load i32, ptr %12, align 4
%83 = and i32 %82, 2
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %109
85: ; preds = %81
br label %86
86: ; preds = %85
%87 = load i32, ptr %9, align 4
%88 = icmp ult i32 %87, 10
br i1 %88, label %89, label %92
89: ; preds = %86
%90 = load i32, ptr %9, align 4
%91 = add i32 %90, 48
br label %96
92: ; preds = %86
%93 = load i32, ptr %9, align 4
%94 = sub i32 %93, 10
%95 = add i32 %94, 65
br label %96
96: ; preds = %92, %89
%97 = phi i32 [ %91, %89 ], [ %95, %92 ]
%98 = trunc i32 %97 to i8
store i8 %98, ptr %18, align 1
%99 = load i8, ptr %18, align 1
%100 = load ptr, ptr %8, align 8
%101 = load ptr, ptr %100, align 8
store i8 %99, ptr %101, align 1
%102 = load ptr, ptr %8, align 8
%103 = load ptr, ptr %102, align 8
%104 = getelementptr inbounds i8, ptr %103, i32 1
store ptr %104, ptr %102, align 8
%105 = load ptr, ptr %7, align 8
%106 = load i32, ptr %105, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %105, align 4
br label %108
108: ; preds = %96
br label %133
109: ; preds = %81
br label %110
110: ; preds = %109
%111 = load i32, ptr %9, align 4
%112 = icmp ult i32 %111, 10
br i1 %112, label %113, label %116
113: ; preds = %110
%114 = load i32, ptr %9, align 4
%115 = add i32 %114, 48
br label %120
116: ; preds = %110
%117 = load i32, ptr %9, align 4
%118 = sub i32 %117, 10
%119 = add i32 %118, 97
br label %120
120: ; preds = %116, %113
%121 = phi i32 [ %115, %113 ], [ %119, %116 ]
%122 = trunc i32 %121 to i8
store i8 %122, ptr %20, align 1
%123 = load i8, ptr %20, align 1
%124 = load ptr, ptr %8, align 8
%125 = load ptr, ptr %124, align 8
store i8 %123, ptr %125, align 1
%126 = load ptr, ptr %8, align 8
%127 = load ptr, ptr %126, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 1
store ptr %128, ptr %126, align 8
%129 = load ptr, ptr %7, align 8
%130 = load i32, ptr %129, align 4
%131 = add nsw i32 %130, 1
store i32 %131, ptr %129, align 4
br label %132
132: ; preds = %120
br label %133
133: ; preds = %132, %108
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp93zljsu7.c'
source_filename = "/tmp/tmp93zljsu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"(\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Parse2DMatrix(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
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @COM_MatchToken(ptr noundef %10, ptr noundef @.str)
store i32 0, ptr %9, align 4
br label %12
12: ; preds = %26, %4
%13 = load i32, ptr %9, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %29
16: ; preds = %12
%17 = load ptr, ptr %5, align 8
%18 = load i32, ptr %7, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = mul nsw i32 %20, %21
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds float, ptr %19, i64 %23
%25 = call i32 @Parse1DMatrix(ptr noundef %17, i32 noundef %18, ptr noundef %24)
br label %26
26: ; preds = %16
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
br label %12, !llvm.loop !6
29: ; preds = %12
%30 = load ptr, ptr %5, align 8
%31 = call i32 @COM_MatchToken(ptr noundef %30, ptr noundef @.str.1)
ret void
}
declare i32 @COM_MatchToken(ptr noundef, ptr noundef) #1
declare i32 @Parse1DMatrix(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp93zljsu7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"(\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c")\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Parse2DMatrix(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
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %5, align 8
%11 = call i32 @COM_MatchToken(ptr noundef %10, ptr noundef @.str)
store i32 0, ptr %9, align 4
%12 = load i32, ptr %9, align 4
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph, label %31
.lr.ph: ; preds = %4
br label %15
15: ; preds = %.lr.ph, %25
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %7, align 4
%18 = load ptr, ptr %8, align 8
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %7, align 4
%21 = mul nsw i32 %19, %20
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds float, ptr %18, i64 %22
%24 = call i32 @Parse1DMatrix(ptr noundef %16, i32 noundef %17, ptr noundef %23)
br label %25
25: ; preds = %15
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
%28 = load i32, ptr %9, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %4
%32 = load ptr, ptr %5, align 8
%33 = call i32 @COM_MatchToken(ptr noundef %32, ptr noundef @.str.1)
ret void
}
declare i32 @COM_MatchToken(ptr noundef, ptr noundef) #1
declare i32 @Parse1DMatrix(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_ayyxzcj.c'
source_filename = "/tmp/tmp_ayyxzcj.c"
target datalayout = "e-m:e-p270: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 { i64, i32 }
@SOL_SOCKET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setTimeout(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
store i32 %8, ptr %9, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
store i64 0, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @SOL_SOCKET, align 4
%13 = load i32, ptr %6, align 4
%14 = call i32 @setsockopt(i32 noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %7, i32 noundef 16)
ret void
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ayyxzcj.c"
target datalayout = "e-m:e-p270: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 { i64, i32 }
@SOL_SOCKET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @setTimeout(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.timeval, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1
store i32 %8, ptr %9, align 8
%10 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0
store i64 0, ptr %10, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr @SOL_SOCKET, align 4
%13 = load i32, ptr %6, align 4
%14 = call i32 @setsockopt(i32 noundef %11, i32 noundef %12, i32 noundef %13, ptr noundef %7, i32 noundef 16)
ret void
}
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8ow8zsx6.c'
source_filename = "/tmp/tmp8ow8zsx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %3
store ptr null, ptr %4, align 8
br label %34
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %9, align 8
store i64 0, ptr %10, align 8
br label %17
17: ; preds = %29, %14
%18 = load i64, ptr %10, align 8
%19 = load i64, ptr %7, align 8
%20 = icmp ult i64 %18, %19
br i1 %20, label %21, label %32
21: ; preds = %17
%22 = load ptr, ptr %9, align 8
%23 = load i64, ptr %10, align 8
%24 = getelementptr inbounds i8, ptr %22, i64 %23
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %8, align 8
%27 = load i64, ptr %10, align 8
%28 = getelementptr inbounds i8, ptr %26, i64 %27
store i8 %25, ptr %28, align 1
br label %29
29: ; preds = %21
%30 = load i64, ptr %10, align 8
%31 = add i64 %30, 1
store i64 %31, ptr %10, align 8
br label %17, !llvm.loop !6
32: ; preds = %17
%33 = load ptr, ptr %5, align 8
store ptr %33, ptr %4, align 8
br label %34
34: ; preds = %32, %13
%35 = load ptr, ptr %4, align 8
ret ptr %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8ow8zsx6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %3
store ptr null, ptr %4, align 8
br label %36
14: ; preds = %3
%15 = load ptr, ptr %5, align 8
store ptr %15, ptr %8, align 8
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %9, align 8
store i64 0, ptr %10, align 8
%17 = load i64, ptr %10, align 8
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %.lr.ph, label %34
.lr.ph: ; preds = %14
br label %20
20: ; preds = %.lr.ph, %28
%21 = load ptr, ptr %9, align 8
%22 = load i64, ptr %10, align 8
%23 = getelementptr inbounds i8, ptr %21, i64 %22
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %8, align 8
%26 = load i64, ptr %10, align 8
%27 = getelementptr inbounds i8, ptr %25, i64 %26
store i8 %24, ptr %27, align 1
br label %28
28: ; preds = %20
%29 = load i64, ptr %10, align 8
%30 = add i64 %29, 1
store i64 %30, ptr %10, align 8
%31 = load i64, ptr %10, align 8
%32 = load i64, ptr %7, align 8
%33 = icmp ult i64 %31, %32
br i1 %33, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %28
br label %34
34: ; preds = %._crit_edge, %14
%35 = load ptr, ptr %5, align 8
store ptr %35, ptr %4, align 8
br label %36
36: ; preds = %34, %13
%37 = load ptr, ptr %4, align 8
ret ptr %37
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2_d5twtk.c'
source_filename = "/tmp/tmp2_d5twtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Function unimplemented!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handleListRequest() #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/tmp2_d5twtk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Function unimplemented!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @handleListRequest() #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/tmp9ui7cbhh.c'
source_filename = "/tmp/tmp9ui7cbhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GPIO_3 triggered\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g3_cb(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9ui7cbhh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"GPIO_3 triggered\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @g3_cb(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @puts(ptr noundef @.str)
ret void
}
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7rnzm8o4.c'
source_filename = "/tmp/tmp7rnzm8o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"slow v%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.0.1\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Copyright %s %s <%s>\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"2004 - 2013\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"John Bafford\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"http://bafford.com/\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"https://github.com/jbafford/slow\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowVersion() #0 {
%1 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
%3 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7rnzm8o4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"slow v%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"1.0.1\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Copyright %s %s <%s>\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"2004 - 2013\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"John Bafford\00", align 1
@.str.5 = private unnamed_addr constant [20 x i8] c"http://bafford.com/\00", align 1
@.str.6 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.7 = private unnamed_addr constant [33 x i8] c"https://github.com/jbafford/slow\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ShowVersion() #0 {
%1 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1)
%2 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef @.str.4, ptr noundef @.str.5)
%3 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.6, ptr noundef @.str.7)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqedls7v7.c'
source_filename = "/tmp/tmpqedls7v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reset() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @_resetStream(i32 noundef %1)
ret void
}
declare i32 @_resetStream(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/tmpqedls7v7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @reset() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @_resetStream(i32 noundef %1)
ret void
}
declare i32 @_resetStream(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/tmp4d94im7x.c'
source_filename = "/tmp/tmp4d94im7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__hsail_sat_sub_u16(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = sub nsw i64 %7, %8
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i64 0, ptr %3, align 8
br label %15
13: ; preds = %2
%14 = load i64, ptr %6, align 8
store i64 %14, ptr %3, align 8
br label %15
15: ; preds = %13, %12
%16 = load i64, ptr %3, align 8
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4d94im7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__hsail_sat_sub_u16(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i64 %1, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = load i64, ptr %5, align 8
%9 = sub nsw i64 %7, %8
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = icmp slt i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %2
store i64 0, ptr %3, align 8
br label %15
13: ; preds = %2
%14 = load i64, ptr %6, align 8
store i64 %14, ptr %3, align 8
br label %15
15: ; preds = %13, %12
%16 = load i64, ptr %3, align 8
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptnxautf1.c'
source_filename = "/tmp/tmptnxautf1.c"
target datalayout = "e-m:e-p270: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/tmptnxautf1.c"
target datalayout = "e-m:e-p270: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/tmp2144kau8.c'
source_filename = "/tmp/tmp2144kau8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 Wolrd!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2144kau8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 Wolrd!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvcx4mjah.c'
source_filename = "/tmp/tmpvcx4mjah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @emsSetnc(ptr noundef %0, ptr 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 i32, align 4
%9 = alloca [201 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sgt i32 %10, 200
br i1 %11, label %12, label %13
12: ; preds = %3
br label %15
13: ; preds = %3
%14 = load i32, ptr %6, align 4
br label %15
15: ; preds = %13, %12
%16 = phi i32 [ 200, %12 ], [ %14, %13 ]
store i32 %16, ptr %7, align 4
%17 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 %22
store i8 0, ptr %23, align 1
%24 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @strlen(ptr noundef %24)
store i32 %25, ptr %8, align 4
br label %26
26: ; preds = %39, %15
%27 = load i32, ptr %8, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %42
29: ; preds = %26
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %30, 1
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp ne i32 %35, 32
br i1 %36, label %37, label %38
37: ; preds = %29
br label %42
38: ; preds = %29
br label %39
39: ; preds = %38
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, -1
store i32 %41, ptr %8, align 4
br label %26, !llvm.loop !6
42: ; preds = %37, %26
%43 = load i32, ptr %8, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 %44
store i8 0, ptr %45, align 1
%46 = load i32, ptr %8, align 4
%47 = icmp ne i32 %46, 0
br i1 %47, label %51, label %48
48: ; preds = %42
%49 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%50 = call i32 @strcpy(ptr noundef %49, ptr noundef @.str)
br label %51
51: ; preds = %48, %42
%52 = load ptr, ptr %4, align 8
%53 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%54 = call i32 @ems1Stok(ptr noundef %52, ptr noundef %53)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @ems1Stok(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/tmpvcx4mjah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @emsSetnc(ptr noundef %0, ptr 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 i32, align 4
%9 = alloca [201 x i8], align 16
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp sgt i32 %10, 200
br i1 %11, label %12, label %13
12: ; preds = %3
br label %15
13: ; preds = %3
%14 = load i32, ptr %6, align 4
br label %15
15: ; preds = %13, %12
%16 = phi i32 [ 200, %12 ], [ %14, %13 ]
store i32 %16, ptr %7, align 4
%17 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %7, align 4
%20 = call i32 @strncpy(ptr noundef %17, ptr noundef %18, i32 noundef %19)
%21 = load i32, ptr %7, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 %22
store i8 0, ptr %23, align 1
%24 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%25 = call i32 @strlen(ptr noundef %24)
store i32 %25, ptr %8, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %15
br label %28
28: ; preds = %.lr.ph, %38
%29 = load i32, ptr %8, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp ne i32 %34, 32
br i1 %35, label %36, label %37
36: ; preds = %28
br label %43
37: ; preds = %28
br label %38
38: ; preds = %37
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %28, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %15
br label %43
43: ; preds = %.loopexit, %36
%44 = load i32, ptr %8, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 %45
store i8 0, ptr %46, align 1
%47 = load i32, ptr %8, align 4
%48 = icmp ne i32 %47, 0
br i1 %48, label %52, label %49
49: ; preds = %43
%50 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%51 = call i32 @strcpy(ptr noundef %50, ptr noundef @.str)
br label %52
52: ; preds = %49, %43
%53 = load ptr, ptr %4, align 8
%54 = getelementptr inbounds [201 x i8], ptr %9, i64 0, i64 0
%55 = call i32 @ems1Stok(ptr noundef %53, ptr noundef %54)
ret void
}
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @ems1Stok(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/tmp8wz4ug5d.c'
source_filename = "/tmp/tmp8wz4ug5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strptime(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8wz4ug5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strptime(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
ret ptr null
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpju8ih235.c'
source_filename = "/tmp/tmpju8ih235.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"strdup(%.20s) fails\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @estrdup(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 @strdup(ptr noundef %3)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @sysfatal(ptr noundef @.str, ptr noundef %8)
br label %10
10: ; preds = %7, %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strdup(ptr noundef) #1
declare i32 @sysfatal(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/tmpju8ih235.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"strdup(%.20s) fails\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @estrdup(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 @strdup(ptr noundef %3)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @sysfatal(ptr noundef @.str, ptr noundef %8)
br label %10
10: ; preds = %7, %1
%11 = load ptr, ptr %2, align 8
ret ptr %11
}
declare ptr @strdup(ptr noundef) #1
declare i32 @sysfatal(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/tmpt7khd3kd.c'
source_filename = "/tmp/tmpt7khd3kd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %3
3: ; preds = %0, %17
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = call i32 @__VERIFIER_assert(i32 noundef %10)
br label %17
12: ; preds = %3
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @__VERIFIER_assert(i32 noundef %15)
br label %17
17: ; preds = %12, %7
br label %3
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i32 @__VERIFIER_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/tmpt7khd3kd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
br label %3
3: ; preds = %17, %0
%4 = call i32 (...) @__VERIFIER_nondet_int()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = call i32 @__VERIFIER_assert(i32 noundef %10)
br label %17
12: ; preds = %3
%13 = load i32, ptr %2, align 4
%14 = icmp ne i32 %13, 0
%15 = zext i1 %14 to i32
%16 = call i32 @__VERIFIER_assert(i32 noundef %15)
br label %17
17: ; preds = %12, %7
br label %3
}
declare i32 @__VERIFIER_nondet_int(...) #1
declare i32 @__VERIFIER_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/tmp5po9r67l.c'
source_filename = "/tmp/tmp5po9r67l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
store i8 10, ptr %5, align 1
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
br label %7
7: ; preds = %16, %1
%8 = load ptr, ptr %4, align 8
%9 = load i8, ptr %8, align 1
%10 = sext i8 %9 to i32
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %19
12: ; preds = %7
%13 = load i32, ptr %3, align 4
%14 = load ptr, ptr %4, align 8
%15 = call i32 @write(i32 noundef %13, ptr noundef %14, i32 noundef 1)
br label %16
16: ; preds = %12
%17 = load ptr, ptr %4, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %4, align 8
br label %7, !llvm.loop !6
19: ; preds = %7
%20 = load i32, ptr %3, align 4
%21 = call i32 @write(i32 noundef %20, ptr noundef %5, i32 noundef 1)
ret i32 42
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5po9r67l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @puts(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %2, align 8
store i32 1, ptr %3, align 4
store i8 10, ptr %5, align 1
%6 = load ptr, ptr %2, align 8
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %15
%12 = load i32, ptr %3, align 4
%13 = load ptr, ptr %4, align 8
%14 = call i32 @write(i32 noundef %12, ptr noundef %13, i32 noundef 1)
br label %15
15: ; preds = %11
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %4, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 0
br i1 %21, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %22
22: ; preds = %._crit_edge, %1
%23 = load i32, ptr %3, align 4
%24 = call i32 @write(i32 noundef %23, ptr noundef %5, i32 noundef 1)
ret i32 42
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5a7udp86.c'
source_filename = "/tmp/tmp5a7udp86.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"mkdir: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mpkg_mkdirs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @xstrdup(ptr noundef %6)
store ptr %7, ptr %4, align 8
store ptr %7, ptr %3, align 8
br label %8
8: ; preds = %42, %22, %1
%9 = call ptr @strsep(ptr noundef %3, ptr noundef @.str)
store ptr %9, ptr %5, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %43
11: ; preds = %8
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label %16, label %23
16: ; preds = %11
%17 = load ptr, ptr %3, align 8
%18 = icmp ne ptr %17, null
br i1 %18, label %19, label %22
19: ; preds = %16
%20 = load ptr, ptr %3, align 8
%21 = getelementptr inbounds i8, ptr %20, i64 -1
store i8 47, ptr %21, align 1
br label %22
22: ; preds = %19, %16
br label %8, !llvm.loop !6
23: ; preds = %11
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr @F_OK, align 4
%26 = call i32 @access(ptr noundef %24, i32 noundef %25)
%27 = icmp eq i32 %26, -1
br i1 %27, label %28, label %36
28: ; preds = %23
%29 = load ptr, ptr %4, align 8
%30 = call i32 @mkdir(ptr noundef %29, i32 noundef 493)
%31 = icmp eq i32 %30, -1
br i1 %31, label %32, label %35
32: ; preds = %28
%33 = load ptr, ptr %4, align 8
%34 = call i32 @err(i32 noundef 1, ptr noundef @.str.1, ptr noundef %33)
br label %35
35: ; preds = %32, %28
br label %36
36: ; preds = %35, %23
%37 = load ptr, ptr %3, align 8
%38 = icmp ne ptr %37, null
br i1 %38, label %39, label %42
39: ; preds = %36
%40 = load ptr, ptr %3, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 -1
store i8 47, ptr %41, align 1
br label %42
42: ; preds = %39, %36
br label %8, !llvm.loop !6
43: ; preds = %8
%44 = load ptr, ptr %4, align 8
%45 = call i32 @free(ptr noundef %44)
ret void
}
declare ptr @xstrdup(ptr noundef) #1
declare ptr @strsep(ptr noundef, ptr noundef) #1
declare i32 @access(ptr noundef, i32 noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @err(i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5a7udp86.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"/\00", align 1
@F_OK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [10 x i8] c"mkdir: %s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mpkg_mkdirs(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @xstrdup(ptr noundef %6)
store ptr %7, ptr %4, align 8
store ptr %7, ptr %3, align 8
%8 = call ptr @strsep(ptr noundef %3, ptr noundef @.str)
store ptr %8, ptr %5, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %.lr.ph, label %44
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %.backedge
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label %15, label %24
15: ; preds = %10
%16 = load ptr, ptr %3, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %21
18: ; preds = %15
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds i8, ptr %19, i64 -1
store i8 47, ptr %20, align 1
br label %21
21: ; preds = %18, %15
br label %.backedge
.backedge: ; preds = %21, %43
%22 = call ptr @strsep(ptr noundef %3, ptr noundef @.str)
store ptr %22, ptr %5, align 8
%23 = icmp ne ptr %22, null
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
24: ; preds = %10
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr @F_OK, align 4
%27 = call i32 @access(ptr noundef %25, i32 noundef %26)
%28 = icmp eq i32 %27, -1
br i1 %28, label %29, label %37
29: ; preds = %24
%30 = load ptr, ptr %4, align 8
%31 = call i32 @mkdir(ptr noundef %30, i32 noundef 493)
%32 = icmp eq i32 %31, -1
br i1 %32, label %33, label %36
33: ; preds = %29
%34 = load ptr, ptr %4, align 8
%35 = call i32 @err(i32 noundef 1, ptr noundef @.str.1, ptr noundef %34)
br label %36
36: ; preds = %33, %29
br label %37
37: ; preds = %36, %24
%38 = load ptr, ptr %3, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %40, label %43
40: ; preds = %37
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i64 -1
store i8 47, ptr %42, align 1
br label %43
43: ; preds = %40, %37
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %44
44: ; preds = %._crit_edge, %1
%45 = load ptr, ptr %4, align 8
%46 = call i32 @free(ptr noundef %45)
ret void
}
declare ptr @xstrdup(ptr noundef) #1
declare ptr @strsep(ptr noundef, ptr noundef) #1
declare i32 @access(ptr noundef, i32 noundef) #1
declare i32 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @err(i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplvfdurfw.c'
source_filename = "/tmp/tmplvfdurfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fizzbuzz\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fizz\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"buzz\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %32, %0
%4 = load i32, ptr %2, align 4
%5 = icmp sle i32 %4, 100
br i1 %5, label %6, label %36
6: ; preds = %3
br label %7
7: ; preds = %6
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 15
%10 = icmp ne i32 %9, 0
br i1 %10, label %13, label %11
11: ; preds = %7
%12 = call i32 @puts(ptr noundef @.str)
br label %32
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = srem i32 %14, 3
%16 = icmp ne i32 %15, 0
br i1 %16, label %19, label %17
17: ; preds = %13
%18 = call i32 @puts(ptr noundef @.str.1)
br label %30
19: ; preds = %13
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 5
%22 = icmp ne i32 %21, 0
br i1 %22, label %25, label %23
23: ; preds = %19
%24 = call i32 @puts(ptr noundef @.str.2)
br label %28
25: ; preds = %19
%26 = load i32, ptr %2, align 4
%27 = call i32 @printf(ptr noundef @.str.3, i32 noundef %26)
br label %28
28: ; preds = %25, %23
%29 = phi i32 [ %24, %23 ], [ %27, %25 ]
br label %30
30: ; preds = %28, %17
%31 = phi i32 [ %18, %17 ], [ %29, %28 ]
br label %32
32: ; preds = %30, %11
%33 = phi i32 [ %12, %11 ], [ %31, %30 ]
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %3, !llvm.loop !6
36: ; preds = %3
%37 = load i32, ptr %1, align 4
ret i32 %37
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplvfdurfw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"fizzbuzz\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"fizz\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"buzz\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp sle i32 %3, 100
br i1 %4, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %31
br label %6
6: ; preds = %5
%7 = load i32, ptr %2, align 4
%8 = srem i32 %7, 15
%9 = icmp ne i32 %8, 0
br i1 %9, label %12, label %10
10: ; preds = %6
%11 = call i32 @puts(ptr noundef @.str)
br label %31
12: ; preds = %6
%13 = load i32, ptr %2, align 4
%14 = srem i32 %13, 3
%15 = icmp ne i32 %14, 0
br i1 %15, label %18, label %16
16: ; preds = %12
%17 = call i32 @puts(ptr noundef @.str.1)
br label %29
18: ; preds = %12
%19 = load i32, ptr %2, align 4
%20 = srem i32 %19, 5
%21 = icmp ne i32 %20, 0
br i1 %21, label %24, label %22
22: ; preds = %18
%23 = call i32 @puts(ptr noundef @.str.2)
br label %27
24: ; preds = %18
%25 = load i32, ptr %2, align 4
%26 = call i32 @printf(ptr noundef @.str.3, i32 noundef %25)
br label %27
27: ; preds = %24, %22
%28 = phi i32 [ %23, %22 ], [ %26, %24 ]
br label %29
29: ; preds = %27, %16
%30 = phi i32 [ %17, %16 ], [ %28, %27 ]
br label %31
31: ; preds = %29, %10
%32 = phi i32 [ %11, %10 ], [ %30, %29 ]
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp sle i32 %35, 100
br i1 %36, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %0
%38 = load i32, ptr %1, align 4
ret i32 %38
}
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2i3dygvq.c'
source_filename = "/tmp/tmp2i3dygvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmrcv(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca [128 x i8], align 16
%16 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %9, align 4
%17 = load ptr, ptr %5, align 8
store ptr %17, ptr %16, align 8
%18 = call i32 @send_byte(i32 noundef 21)
br label %19
19: ; preds = %2, %119, %144
%20 = call i64 @receive_byte(ptr noundef %10)
%21 = icmp slt i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %19
store i32 -1, ptr %3, align 4
br label %145
23: ; preds = %19
%24 = load i8, ptr %10, align 1
%25 = zext i8 %24 to i32
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %106
27: ; preds = %23
%28 = load i32, ptr %9, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %9, align 4
store i32 0, ptr %6, align 4
%30 = call i64 @receive_byte(ptr noundef %11)
%31 = icmp slt i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %27
store i32 -1, ptr %3, align 4
br label %145
33: ; preds = %27
%34 = call i64 @receive_byte(ptr noundef %12)
%35 = icmp slt i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %33
store i32 -1, ptr %3, align 4
br label %145
37: ; preds = %33
store i8 0, ptr %13, align 1
store i32 0, ptr %7, align 4
br label %38
38: ; preds = %58, %37
%39 = load i32, ptr %7, align 4
%40 = icmp slt i32 %39, 128
br i1 %40, label %41, label %61
41: ; preds = %38
%42 = load i32, ptr %7, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %43
%45 = call i64 @receive_byte(ptr noundef %44)
%46 = icmp slt i64 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %41
store i32 -1, ptr %3, align 4
br label %145
48: ; preds = %41
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %50
%52 = load i8, ptr %51, align 1
%53 = zext i8 %52 to i32
%54 = load i8, ptr %13, align 1
%55 = zext i8 %54 to i32
%56 = add nsw i32 %55, %53
%57 = trunc i32 %56 to i8
store i8 %57, ptr %13, align 1
br label %58
58: ; preds = %48
%59 = load i32, ptr %7, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %7, align 4
br label %38, !llvm.loop !6
61: ; preds = %38
%62 = call i64 @receive_byte(ptr noundef %14)
%63 = icmp slt i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 -1, ptr %3, align 4
br label %145
65: ; preds = %61
%66 = load i8, ptr %11, align 1
%67 = zext i8 %66 to i32
%68 = load i8, ptr %12, align 1
%69 = zext i8 %68 to i32
%70 = add nsw i32 %67, %69
%71 = icmp ne i32 %70, 255
br i1 %71, label %72, label %75
72: ; preds = %65
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %72, %65
%76 = load i8, ptr %14, align 1
%77 = zext i8 %76 to i32
%78 = load i8, ptr %13, align 1
%79 = zext i8 %78 to i32
%80 = icmp ne i32 %77, %79
br i1 %80, label %81, label %84
81: ; preds = %75
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %6, align 4
br label %84
84: ; preds = %81, %75
%85 = load i32, ptr %6, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = call i32 @send_byte(i32 noundef 21)
br label %105
89: ; preds = %84
%90 = call i32 @send_byte(i32 noundef 6)
store i32 0, ptr %8, align 4
br label %91
91: ; preds = %101, %89
%92 = load i32, ptr %8, align 4
%93 = icmp slt i32 %92, 128
br i1 %93, label %94, label %104
94: ; preds = %91
%95 = load i32, ptr %8, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %96
%98 = load i8, ptr %97, align 1
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %5, align 8
store i8 %98, ptr %99, align 1
br label %101
101: ; preds = %94
%102 = load i32, ptr %8, align 4
%103 = add nsw i32 %102, 1
store i32 %103, ptr %8, align 4
br label %91, !llvm.loop !8
104: ; preds = %91
br label %105
105: ; preds = %104, %87
br label %144
106: ; preds = %23
%107 = load i8, ptr %10, align 1
%108 = zext i8 %107 to i32
%109 = icmp eq i32 %108, 24
br i1 %109, label %110, label %120
110: ; preds = %106
%111 = call i64 @receive_byte(ptr noundef %10)
%112 = icmp slt i64 %111, 0
br i1 %112, label %113, label %114
113: ; preds = %110
store i32 -1, ptr %3, align 4
br label %145
114: ; preds = %110
%115 = load i8, ptr %10, align 1
%116 = zext i8 %115 to i32
%117 = icmp eq i32 %116, 24
br i1 %117, label %118, label %119
118: ; preds = %114
store i32 -1, ptr %3, align 4
br label %145
119: ; preds = %114
br label %19
120: ; preds = %106
%121 = load i8, ptr %10, align 1
%122 = zext i8 %121 to i32
%123 = icmp eq i32 %122, 4
br i1 %123, label %124, label %142
124: ; preds = %120
%125 = call i32 @send_byte(i32 noundef 6)
br label %126
126: ; preds = %132, %124
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 -1
store ptr %128, ptr %5, align 8
%129 = load i8, ptr %128, align 1
%130 = zext i8 %129 to i32
%131 = icmp eq i32 %130, 26
br i1 %131, label %132, label %133
132: ; preds = %126
br label %126, !llvm.loop !9
133: ; preds = %126
%134 = load ptr, ptr %5, align 8
%135 = getelementptr inbounds i8, ptr %134, i32 1
store ptr %135, ptr %5, align 8
%136 = load ptr, ptr %5, align 8
%137 = load ptr, ptr %16, align 8
%138 = ptrtoint ptr %136 to i64
%139 = ptrtoint ptr %137 to i64
%140 = sub i64 %138, %139
%141 = load ptr, ptr %4, align 8
store i64 %140, ptr %141, align 8
store i32 0, ptr %3, align 4
br label %145
142: ; preds = %120
br label %143
143: ; preds = %142
br label %144
144: ; preds = %143, %105
br label %19
145: ; preds = %133, %118, %113, %64, %47, %36, %32, %22
%146 = load i32, ptr %3, align 4
ret i32 %146
}
declare i32 @send_byte(i32 noundef) #1
declare i64 @receive_byte(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2i3dygvq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @xmrcv(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
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i8, align 1
%11 = alloca i8, align 1
%12 = alloca i8, align 1
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca [128 x i8], align 16
%16 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %9, align 4
%17 = load ptr, ptr %5, align 8
store ptr %17, ptr %16, align 8
%18 = call i32 @send_byte(i32 noundef 21)
%19 = call i64 @receive_byte(ptr noundef %10)
%20 = icmp slt i64 %19, 0
br i1 %20, label %21, label %.lr.ph5
.lr.ph5: ; preds = %2
br label %22
._crit_edge6: ; preds = %.backedge
br label %21
21: ; preds = %._crit_edge6, %2
store i32 -1, ptr %3, align 4
br label %147
22: ; preds = %.lr.ph5, %.backedge
%23 = load i8, ptr %10, align 1
%24 = zext i8 %23 to i32
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %107
26: ; preds = %22
%27 = load i32, ptr %9, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %9, align 4
store i32 0, ptr %6, align 4
%29 = call i64 @receive_byte(ptr noundef %11)
%30 = icmp slt i64 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %26
store i32 -1, ptr %3, align 4
br label %147
32: ; preds = %26
%33 = call i64 @receive_byte(ptr noundef %12)
%34 = icmp slt i64 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %32
store i32 -1, ptr %3, align 4
br label %147
36: ; preds = %32
store i8 0, ptr %13, align 1
store i32 0, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp slt i32 %37, 128
br i1 %38, label %.lr.ph, label %61
.lr.ph: ; preds = %36
br label %39
39: ; preds = %.lr.ph, %56
%40 = load i32, ptr %7, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %41
%43 = call i64 @receive_byte(ptr noundef %42)
%44 = icmp slt i64 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %39
store i32 -1, ptr %3, align 4
br label %147
46: ; preds = %39
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %48
%50 = load i8, ptr %49, align 1
%51 = zext i8 %50 to i32
%52 = load i8, ptr %13, align 1
%53 = zext i8 %52 to i32
%54 = add nsw i32 %53, %51
%55 = trunc i32 %54 to i8
store i8 %55, ptr %13, align 1
br label %56
56: ; preds = %46
%57 = load i32, ptr %7, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %7, align 4
%59 = load i32, ptr %7, align 4
%60 = icmp slt i32 %59, 128
br i1 %60, label %39, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %61
61: ; preds = %._crit_edge, %36
%62 = call i64 @receive_byte(ptr noundef %14)
%63 = icmp slt i64 %62, 0
br i1 %63, label %64, label %65
64: ; preds = %61
store i32 -1, ptr %3, align 4
br label %147
65: ; preds = %61
%66 = load i8, ptr %11, align 1
%67 = zext i8 %66 to i32
%68 = load i8, ptr %12, align 1
%69 = zext i8 %68 to i32
%70 = add nsw i32 %67, %69
%71 = icmp ne i32 %70, 255
br i1 %71, label %72, label %75
72: ; preds = %65
%73 = load i32, ptr %6, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %6, align 4
br label %75
75: ; preds = %72, %65
%76 = load i8, ptr %14, align 1
%77 = zext i8 %76 to i32
%78 = load i8, ptr %13, align 1
%79 = zext i8 %78 to i32
%80 = icmp ne i32 %77, %79
br i1 %80, label %81, label %84
81: ; preds = %75
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %6, align 4
br label %84
84: ; preds = %81, %75
%85 = load i32, ptr %6, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %87, label %89
87: ; preds = %84
%88 = call i32 @send_byte(i32 noundef 21)
br label %106
89: ; preds = %84
%90 = call i32 @send_byte(i32 noundef 6)
store i32 0, ptr %8, align 4
%91 = load i32, ptr %8, align 4
%92 = icmp slt i32 %91, 128
br i1 %92, label %.lr.ph2, label %105
.lr.ph2: ; preds = %89
br label %93
93: ; preds = %.lr.ph2, %100
%94 = load i32, ptr %8, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %95
%97 = load i8, ptr %96, align 1
%98 = load ptr, ptr %5, align 8
%99 = getelementptr inbounds i8, ptr %98, i32 1
store ptr %99, ptr %5, align 8
store i8 %97, ptr %98, align 1
br label %100
100: ; preds = %93
%101 = load i32, ptr %8, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %8, align 4
%103 = load i32, ptr %8, align 4
%104 = icmp slt i32 %103, 128
br i1 %104, label %93, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %100
br label %105
105: ; preds = %._crit_edge3, %89
br label %106
106: ; preds = %105, %87
br label %146
107: ; preds = %22
%108 = load i8, ptr %10, align 1
%109 = zext i8 %108 to i32
%110 = icmp eq i32 %109, 24
br i1 %110, label %111, label %123
111: ; preds = %107
%112 = call i64 @receive_byte(ptr noundef %10)
%113 = icmp slt i64 %112, 0
br i1 %113, label %114, label %115
114: ; preds = %111
store i32 -1, ptr %3, align 4
br label %147
115: ; preds = %111
%116 = load i8, ptr %10, align 1
%117 = zext i8 %116 to i32
%118 = icmp eq i32 %117, 24
br i1 %118, label %119, label %120
119: ; preds = %115
store i32 -1, ptr %3, align 4
br label %147
120: ; preds = %115
br label %.backedge
.backedge: ; preds = %120, %146
%121 = call i64 @receive_byte(ptr noundef %10)
%122 = icmp slt i64 %121, 0
br i1 %122, label %._crit_edge6, label %22
123: ; preds = %107
%124 = load i8, ptr %10, align 1
%125 = zext i8 %124 to i32
%126 = icmp eq i32 %125, 4
br i1 %126, label %127, label %144
127: ; preds = %123
%128 = call i32 @send_byte(i32 noundef 6)
br label %129
129: ; preds = %129, %127
%130 = load ptr, ptr %5, align 8
%131 = getelementptr inbounds i8, ptr %130, i32 -1
store ptr %131, ptr %5, align 8
%132 = load i8, ptr %131, align 1
%133 = zext i8 %132 to i32
%134 = icmp eq i32 %133, 26
br i1 %134, label %129, label %135, !llvm.loop !9
135: ; preds = %129
%136 = load ptr, ptr %5, align 8
%137 = getelementptr inbounds i8, ptr %136, i32 1
store ptr %137, ptr %5, align 8
%138 = load ptr, ptr %5, align 8
%139 = load ptr, ptr %16, align 8
%140 = ptrtoint ptr %138 to i64
%141 = ptrtoint ptr %139 to i64
%142 = sub i64 %140, %141
%143 = load ptr, ptr %4, align 8
store i64 %142, ptr %143, align 8
store i32 0, ptr %3, align 4
br label %147
144: ; preds = %123
br label %145
145: ; preds = %144
br label %146
146: ; preds = %145, %106
br label %.backedge
147: ; preds = %135, %119, %114, %64, %45, %35, %31, %21
%148 = load i32, ptr %3, align 4
ret i32 %148
}
declare i32 @send_byte(i32 noundef) #1
declare i64 @receive_byte(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpttdxzl8t.c'
source_filename = "/tmp/tmpttdxzl8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"USEMSG: create_fifo {fifoname}\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"failed to mkfifo\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"you successfully create a FIFO name is : %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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 438, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %6, align 4
%17 = call i64 @mkfifo(ptr noundef %15, i32 noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %12
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @mkfifo(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpttdxzl8t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"USEMSG: create_fifo {fifoname}\0A\00", align 1
@.str.1 = private unnamed_addr constant [17 x i8] c"failed to mkfifo\00", align 1
@.str.2 = private unnamed_addr constant [45 x i8] c"you successfully create a FIFO name is : %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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 438, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %12
9: ; preds = %2
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef 1) #3
unreachable
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = load i32, ptr %6, align 4
%17 = call i64 @mkfifo(ptr noundef %15, i32 noundef %16)
%18 = icmp slt i64 %17, 0
br i1 %18, label %19, label %22
19: ; preds = %12
%20 = call i32 @perror(ptr noundef @.str.1)
%21 = call i32 @exit(i32 noundef 1) #3
unreachable
22: ; preds = %12
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25)
br label %27
27: ; preds = %22
%28 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @mkfifo(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp2961wkez.c'
source_filename = "/tmp/tmp2961wkez.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"------------------------------------------------\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"!!! Software Failure. Press left mouse button to continue\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Guru Meditation: %s #%s:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_serverPanic(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.2, ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2961wkez.c"
target datalayout = "e-m:e-p270: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 [49 x i8] c"------------------------------------------------\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c"!!! Software Failure. Press left mouse button to continue\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"Guru Meditation: %s #%s:%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @_serverPanic(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr @stderr, align 4
%8 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %7, ptr noundef @.str)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %9, ptr noundef @.str.1)
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %6, align 8
%13 = load ptr, ptr %4, align 8
%14 = load i32, ptr %5, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %11, ptr noundef @.str.2, ptr noundef %12, ptr noundef %13, i32 noundef %14)
%16 = call i32 (...) @abort() #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @abort(...) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpew_7xkfa.c'
source_filename = "/tmp/tmpew_7xkfa.c"
target datalayout = "e-m:e-p270: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_NOCTTY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@VT_GETSTATE = 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/tmpew_7xkfa.c"
target datalayout = "e-m:e-p270: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_NOCTTY = dso_local global i32 0, align 4
@O_WRONLY = dso_local global i32 0, align 4
@VT_GETSTATE = 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/tmpuuph_z2r.c'
source_filename = "/tmp/tmpuuph_z2r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @DMA2D_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuuph_z2r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local void @DMA2D_IRQHandler() #0 {
%1 = call i32 (...) @default_handler()
ret void
}
declare i32 @default_handler(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp13ahaxr8.c'
source_filename = "/tmp/tmp13ahaxr8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(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 = %9, %1
%5 = load ptr, ptr %2, align 8
%6 = load i8, ptr %5, align 1
%7 = sext i8 %6 to i32
%8 = icmp ne i32 %7, 0
br i1 %8, label %9, label %14
9: ; preds = %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 i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %4, !llvm.loop !6
14: ; preds = %4
%15 = load i32, ptr %3, align 4
%16 = sext i32 %15 to i64
ret i64 %16
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp13ahaxr8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strlen(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 = sext i8 %5 to i32
%7 = icmp ne i32 %6, 0
br i1 %7, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %8
8: ; preds = %.lr.ph, %8
%9 = load ptr, ptr %2, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %17
17: ; preds = %._crit_edge, %1
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
ret i64 %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmplkv_fa3v.c'
source_filename = "/tmp/tmplkv_fa3v.c"
target datalayout = "e-m:e-p270: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/tmplkv_fa3v.c"
target datalayout = "e-m:e-p270: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/tmpbwdna9y1.c'
source_filename = "/tmp/tmpbwdna9y1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chown(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbwdna9y1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chown(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
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkpjl8tlj.c'
source_filename = "/tmp/tmpkpjl8tlj.c"
target datalayout = "e-m:e-p270: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/tmpkpjl8tlj.c"
target datalayout = "e-m:e-p270: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/tmp8lxjmoch.c'
source_filename = "/tmp/tmp8lxjmoch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"%d is NOT a prime number(%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"%d IS a prime number\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"%d=>binary(%d)\0A\00", align 1
@.str.3 = 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 i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 999, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
br label %18
18: ; preds = %13, %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @isPrime(i32 noundef %19)
store i32 %20, ptr %7, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %23, i32 noundef %24)
br label %29
26: ; preds = %18
%27 = load i32, ptr %6, align 4
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = call i32 @binary(i32 noundef %31)
%33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = mul i64 4, %35
%37 = trunc i64 %36 to i32
%38 = call i64 @malloc(i32 noundef %37)
%39 = inttoptr i64 %38 to ptr
store ptr %39, ptr %9, align 8
store i32 0, ptr %10, align 4
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 %42, 4
%44 = trunc i64 %43 to i32
%45 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %44)
%46 = load i32, ptr %6, align 4
%47 = load ptr, ptr %9, align 8
%48 = call i32 @Erastothenes(i32 noundef %46, ptr noundef %47, ptr noundef %10)
store i32 0, ptr %8, align 4
br label %49
49: ; preds = %60, %29
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr %10, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %53, label %63
53: ; preds = %49
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %8, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %58)
br label %60
60: ; preds = %53
%61 = load i32, ptr %8, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %8, align 4
br label %49, !llvm.loop !6
63: ; preds = %49
%64 = load ptr, ptr %9, align 8
%65 = call i32 @free(ptr noundef %64)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @isPrime(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @binary(i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Erastothenes(i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8lxjmoch.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"%d is NOT a prime number(%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [22 x i8] c"%d IS a prime number\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"%d=>binary(%d)\0A\00", align 1
@.str.3 = 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 i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 999, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %18
13: ; preds = %2
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 1
%16 = load ptr, ptr %15, align 8
%17 = call i32 @atoi(ptr noundef %16)
store i32 %17, ptr %6, align 4
br label %18
18: ; preds = %13, %2
%19 = load i32, ptr %6, align 4
%20 = call i32 @isPrime(i32 noundef %19)
store i32 %20, ptr %7, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %26
22: ; preds = %18
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %7, align 4
%25 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %23, i32 noundef %24)
br label %29
26: ; preds = %18
%27 = load i32, ptr %6, align 4
%28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
br label %29
29: ; preds = %26, %22
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = call i32 @binary(i32 noundef %31)
%33 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %30, i32 noundef %32)
%34 = load i32, ptr %6, align 4
%35 = sext i32 %34 to i64
%36 = mul i64 4, %35
%37 = trunc i64 %36 to i32
%38 = call i64 @malloc(i32 noundef %37)
%39 = inttoptr i64 %38 to ptr
store ptr %39, ptr %9, align 8
store i32 0, ptr %10, align 4
%40 = load ptr, ptr %9, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 %42, 4
%44 = trunc i64 %43 to i32
%45 = call i32 @memset(ptr noundef %40, i32 noundef 0, i32 noundef %44)
%46 = load i32, ptr %6, align 4
%47 = load ptr, ptr %9, align 8
%48 = call i32 @Erastothenes(i32 noundef %46, ptr noundef %47, ptr noundef %10)
store i32 0, ptr %8, align 4
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr %10, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %.lr.ph, label %65
.lr.ph: ; preds = %29
br label %52
52: ; preds = %.lr.ph, %59
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %8, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
%58 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %57)
br label %59
59: ; preds = %52
%60 = load i32, ptr %8, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %8, align 4
%62 = load i32, ptr %8, align 4
%63 = load i32, ptr %10, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %52, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %59
br label %65
65: ; preds = %._crit_edge, %29
%66 = load ptr, ptr %9, align 8
%67 = call i32 @free(ptr noundef %66)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @isPrime(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @binary(i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @Erastothenes(i32 noundef, 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwy5msym_.c'
source_filename = "/tmp/tmpwy5msym_.c"
target datalayout = "e-m:e-p270: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.n = private unnamed_addr constant [5 x i32] [i32 10, i32 20, i32 40, i32 80, i32 160], align 16
@.str = private unnamed_addr constant [15 x i8] c"n\09error\09\09ediv\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%d\09%.10lf\09%.10lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [5 x i32], align 16
%5 = alloca [5 x double], align 16
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca [5 x double], align 16
%11 = alloca [5 x double], align 16
%12 = alloca [5 x double], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.n, i64 20, i1 false)
store double 1.000000e+00, ptr %6, align 8
store double 6.000000e+00, ptr %7, align 8
store double 0x40205DF0FC98D0B5, ptr %9, align 8
%13 = call i64 @malloc(i32 noundef 40)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %33, %0
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 5
br i1 %17, label %18, label %36
18: ; preds = %15
%19 = load i32, ptr %2, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %20
%22 = load i32, ptr %21, align 4
%23 = add nsw i32 %22, 1
%24 = sext i32 %23 to i64
%25 = mul i64 %24, 8
%26 = trunc i64 %25 to i32
%27 = call i64 @malloc(i32 noundef %26)
%28 = inttoptr i64 %27 to ptr
%29 = load ptr, ptr %8, align 8
%30 = load i32, ptr %2, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
store ptr %28, ptr %32, align 8
br label %33
33: ; preds = %18
%34 = load i32, ptr %2, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %2, align 4
br label %15, !llvm.loop !6
36: ; preds = %15
store i32 0, ptr %2, align 4
br label %37
37: ; preds = %53, %36
%38 = load i32, ptr %2, align 4
%39 = icmp slt i32 %38, 5
br i1 %39, label %40, label %56
40: ; preds = %37
%41 = load double, ptr %7, align 8
%42 = load double, ptr %6, align 8
%43 = fsub double %41, %42
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = sitofp i32 %47 to double
%49 = fdiv double %43, %48
%50 = load i32, ptr %2, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 %51
store double %49, ptr %52, align 8
br label %53
53: ; preds = %40
%54 = load i32, ptr %2, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %2, align 4
br label %37, !llvm.loop !8
56: ; preds = %37
store i32 0, ptr %2, align 4
br label %57
57: ; preds = %90, %56
%58 = load i32, ptr %2, align 4
%59 = icmp slt i32 %58, 5
br i1 %59, label %60, label %93
60: ; preds = %57
store i32 0, ptr %3, align 4
br label %61
61: ; preds = %86, %60
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %2, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = add nsw i32 %66, 1
%68 = icmp slt i32 %62, %67
br i1 %68, label %69, label %89
69: ; preds = %61
%70 = load double, ptr %6, align 8
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 %72
%74 = load double, ptr %73, align 8
%75 = load i32, ptr %3, align 4
%76 = sitofp i32 %75 to double
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %70)
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %2, 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 %3, 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 = %69
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %3, align 4
br label %61, !llvm.loop !9
89: ; preds = %61
br label %90
90: ; preds = %89
%91 = load i32, ptr %2, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %2, align 4
br label %57, !llvm.loop !10
93: ; preds = %57
store i32 0, ptr %2, align 4
br label %94
94: ; preds = %115, %93
%95 = load i32, ptr %2, align 4
%96 = icmp slt i32 %95, 5
br i1 %96, label %97, label %118
97: ; preds = %94
%98 = load ptr, ptr %8, align 8
%99 = load i32, ptr %2, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %2, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 %104
%106 = load double, ptr %105, align 8
%107 = load i32, ptr %2, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %108
%110 = load i32, ptr %109, align 4
%111 = call double @intCompSimp(ptr noundef %102, double noundef %106, i32 noundef %110)
%112 = load i32, ptr %2, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds [5 x double], ptr %12, i64 0, i64 %113
store double %111, ptr %114, align 8
br label %115
115: ; preds = %97
%116 = load i32, ptr %2, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %2, align 4
br label %94, !llvm.loop !11
118: ; preds = %94
store i32 0, ptr %2, align 4
br label %119
119: ; preds = %133, %118
%120 = load i32, ptr %2, align 4
%121 = icmp slt i32 %120, 5
br i1 %121, label %122, label %136
122: ; preds = %119
%123 = load double, ptr %9, align 8
%124 = load i32, ptr %2, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds [5 x double], ptr %12, i64 0, i64 %125
%127 = load double, ptr %126, align 8
%128 = fsub double %123, %127
%129 = call double @llvm.fabs.f64(double %128)
%130 = load i32, ptr %2, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %131
store double %129, ptr %132, align 8
br label %133
133: ; preds = %122
%134 = load i32, ptr %2, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %2, align 4
br label %119, !llvm.loop !12
136: ; preds = %119
%137 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
store double 0.000000e+00, ptr %137, align 16
store i32 1, ptr %2, align 4
br label %138
138: ; preds = %155, %136
%139 = load i32, ptr %2, align 4
%140 = icmp slt i32 %139, 5
br i1 %140, label %141, label %158
141: ; preds = %138
%142 = load i32, ptr %2, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %143
%145 = load double, ptr %144, align 8
%146 = load i32, ptr %2, align 4
%147 = sub nsw i32 %146, 1
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %148
%150 = load double, ptr %149, align 8
%151 = fdiv double %145, %150
%152 = load i32, ptr %2, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 %153
store double %151, ptr %154, align 8
br label %155
155: ; preds = %141
%156 = load i32, ptr %2, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %2, align 4
br label %138, !llvm.loop !13
158: ; preds = %138
%159 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %160
160: ; preds = %177, %158
%161 = load i32, ptr %2, align 4
%162 = icmp slt i32 %161, 5
br i1 %162, label %163, label %180
163: ; preds = %160
%164 = load i32, ptr %2, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %165
%167 = load i32, ptr %166, align 4
%168 = load i32, ptr %2, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %169
%171 = load double, ptr %170, align 8
%172 = load i32, ptr %2, align 4
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 %173
%175 = load double, ptr %174, align 8
%176 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %167, double noundef %171, double noundef %175)
br label %177
177: ; preds = %163
%178 = load i32, ptr %2, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %2, align 4
br label %160, !llvm.loop !14
180: ; preds = %160
%181 = call i32 @system(ptr noundef @.str.2)
%182 = load i32, ptr %1, align 4
ret i32 %182
}
; 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 @malloc(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @intCompSimp(ptr noundef, double noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3
declare i32 @printf(ptr noundef, ...) #2
declare i32 @system(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!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/tmpwy5msym_.c"
target datalayout = "e-m:e-p270: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.n = private unnamed_addr constant [5 x i32] [i32 10, i32 20, i32 40, i32 80, i32 160], align 16
@.str = private unnamed_addr constant [15 x i8] c"n\09error\09\09ediv\0A\00", align 1
@.str.1 = private unnamed_addr constant [18 x i8] c"%d\09%.10lf\09%.10lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"PAUSE\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [5 x i32], align 16
%5 = alloca [5 x double], align 16
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca [5 x double], align 16
%11 = alloca [5 x double], align 16
%12 = alloca [5 x double], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.n, i64 20, i1 false)
store double 1.000000e+00, ptr %6, align 8
store double 6.000000e+00, ptr %7, align 8
store double 0x40205DF0FC98D0B5, ptr %9, align 8
%13 = call i64 @malloc(i32 noundef 40)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %8, align 8
store i32 0, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %.lr.ph, label %37
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %32
%18 = load i32, ptr %2, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = add nsw i32 %21, 1
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 8
%25 = trunc i64 %24 to i32
%26 = call i64 @malloc(i32 noundef %25)
%27 = inttoptr i64 %26 to ptr
%28 = load ptr, ptr %8, align 8
%29 = load i32, ptr %2, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
store ptr %27, ptr %31, align 8
br label %32
32: ; preds = %17
%33 = load i32, ptr %2, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %2, align 4
%35 = load i32, ptr %2, align 4
%36 = icmp slt i32 %35, 5
br i1 %36, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%38 = load i32, ptr %2, align 4
%39 = icmp slt i32 %38, 5
br i1 %39, label %.lr.ph2, label %58
.lr.ph2: ; preds = %37
br label %40
40: ; preds = %.lr.ph2, %53
%41 = load double, ptr %7, align 8
%42 = load double, ptr %6, align 8
%43 = fsub double %41, %42
%44 = load i32, ptr %2, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
%48 = sitofp i32 %47 to double
%49 = fdiv double %43, %48
%50 = load i32, ptr %2, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 %51
store double %49, ptr %52, align 8
br label %53
53: ; preds = %40
%54 = load i32, ptr %2, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %2, align 4
%56 = load i32, ptr %2, align 4
%57 = icmp slt i32 %56, 5
br i1 %57, label %40, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %53
br label %58
58: ; preds = %._crit_edge3, %37
store i32 0, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp slt i32 %59, 5
br i1 %60, label %.lr.ph8, label %102
.lr.ph8: ; preds = %58
br label %61
61: ; preds = %.lr.ph8, %97
store i32 0, ptr %3, align 4
%62 = load i32, ptr %3, align 4
%63 = load i32, ptr %2, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %64
%66 = load i32, ptr %65, align 4
%67 = add nsw i32 %66, 1
%68 = icmp slt i32 %62, %67
br i1 %68, label %.lr.ph5, label %96
.lr.ph5: ; preds = %61
br label %69
69: ; preds = %.lr.ph5, %86
%70 = load double, ptr %6, align 8
%71 = load i32, ptr %2, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 %72
%74 = load double, ptr %73, align 8
%75 = load i32, ptr %3, align 4
%76 = sitofp i32 %75 to double
%77 = call double @llvm.fmuladd.f64(double %74, double %76, double %70)
%78 = load ptr, ptr %8, align 8
%79 = load i32, ptr %2, 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 %3, 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 = %69
%87 = load i32, ptr %3, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %3, align 4
%89 = load i32, ptr %3, align 4
%90 = load i32, ptr %2, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %91
%93 = load i32, ptr %92, align 4
%94 = add nsw i32 %93, 1
%95 = icmp slt i32 %89, %94
br i1 %95, label %69, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %86
br label %96
96: ; preds = %._crit_edge6, %61
br label %97
97: ; preds = %96
%98 = load i32, ptr %2, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %2, align 4
%100 = load i32, ptr %2, align 4
%101 = icmp slt i32 %100, 5
br i1 %101, label %61, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %97
br label %102
102: ; preds = %._crit_edge9, %58
store i32 0, ptr %2, align 4
%103 = load i32, ptr %2, align 4
%104 = icmp slt i32 %103, 5
br i1 %104, label %.lr.ph11, label %128
.lr.ph11: ; preds = %102
br label %105
105: ; preds = %.lr.ph11, %123
%106 = load ptr, ptr %8, align 8
%107 = load i32, ptr %2, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds ptr, ptr %106, i64 %108
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %2, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [5 x double], ptr %5, i64 0, i64 %112
%114 = load double, ptr %113, align 8
%115 = load i32, ptr %2, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %116
%118 = load i32, ptr %117, align 4
%119 = call double @intCompSimp(ptr noundef %110, double noundef %114, i32 noundef %118)
%120 = load i32, ptr %2, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [5 x double], ptr %12, i64 0, i64 %121
store double %119, ptr %122, align 8
br label %123
123: ; preds = %105
%124 = load i32, ptr %2, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %2, align 4
%126 = load i32, ptr %2, align 4
%127 = icmp slt i32 %126, 5
br i1 %127, label %105, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %123
br label %128
128: ; preds = %._crit_edge12, %102
store i32 0, ptr %2, align 4
%129 = load i32, ptr %2, align 4
%130 = icmp slt i32 %129, 5
br i1 %130, label %.lr.ph14, label %147
.lr.ph14: ; preds = %128
br label %131
131: ; preds = %.lr.ph14, %142
%132 = load double, ptr %9, align 8
%133 = load i32, ptr %2, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [5 x double], ptr %12, i64 0, i64 %134
%136 = load double, ptr %135, align 8
%137 = fsub double %132, %136
%138 = call double @llvm.fabs.f64(double %137)
%139 = load i32, ptr %2, align 4
%140 = sext i32 %139 to i64
%141 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %140
store double %138, ptr %141, align 8
br label %142
142: ; preds = %131
%143 = load i32, ptr %2, align 4
%144 = add nsw i32 %143, 1
store i32 %144, ptr %2, align 4
%145 = load i32, ptr %2, align 4
%146 = icmp slt i32 %145, 5
br i1 %146, label %131, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %142
br label %147
147: ; preds = %._crit_edge15, %128
%148 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 0
store double 0.000000e+00, ptr %148, align 16
store i32 1, ptr %2, align 4
%149 = load i32, ptr %2, align 4
%150 = icmp slt i32 %149, 5
br i1 %150, label %.lr.ph17, label %170
.lr.ph17: ; preds = %147
br label %151
151: ; preds = %.lr.ph17, %165
%152 = load i32, ptr %2, align 4
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %153
%155 = load double, ptr %154, align 8
%156 = load i32, ptr %2, align 4
%157 = sub nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %158
%160 = load double, ptr %159, align 8
%161 = fdiv double %155, %160
%162 = load i32, ptr %2, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 %163
store double %161, ptr %164, align 8
br label %165
165: ; preds = %151
%166 = load i32, ptr %2, align 4
%167 = add nsw i32 %166, 1
store i32 %167, ptr %2, align 4
%168 = load i32, ptr %2, align 4
%169 = icmp slt i32 %168, 5
br i1 %169, label %151, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %165
br label %170
170: ; preds = %._crit_edge18, %147
%171 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%172 = load i32, ptr %2, align 4
%173 = icmp slt i32 %172, 5
br i1 %173, label %.lr.ph20, label %193
.lr.ph20: ; preds = %170
br label %174
174: ; preds = %.lr.ph20, %188
%175 = load i32, ptr %2, align 4
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 %176
%178 = load i32, ptr %177, align 4
%179 = load i32, ptr %2, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [5 x double], ptr %10, i64 0, i64 %180
%182 = load double, ptr %181, align 8
%183 = load i32, ptr %2, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [5 x double], ptr %11, i64 0, i64 %184
%186 = load double, ptr %185, align 8
%187 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %178, double noundef %182, double noundef %186)
br label %188
188: ; preds = %174
%189 = load i32, ptr %2, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %2, align 4
%191 = load i32, ptr %2, align 4
%192 = icmp slt i32 %191, 5
br i1 %192, label %174, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %188
br label %193
193: ; preds = %._crit_edge21, %170
%194 = call i32 @system(ptr noundef @.str.2)
%195 = load i32, ptr %1, align 4
ret i32 %195
}
; 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 @malloc(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare double @intCompSimp(ptr noundef, double noundef, i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3
declare i32 @printf(ptr noundef, ...) #2
declare i32 @system(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!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/tmpy9dypeur.c'
source_filename = "/tmp/tmpy9dypeur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy9dypeur.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str, i32 noundef %3)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_rh25ycz.c'
source_filename = "/tmp/tmp_rh25ycz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmp_rh25ycz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EXIT_FAILURE = dso_local global i32 0, align 4
@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/tmphntkg5r7.c'
source_filename = "/tmp/tmphntkg5r7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmphntkg5r7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global 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/tmpkuasnz01.c'
source_filename = "/tmp/tmpkuasnz01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"There are 35 'B's in your input.\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Easter egg triggered!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_func() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [200 x i8], align 16
store i32 0, ptr %2, align 4
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %31, %0
%5 = load i32, ptr %1, align 4
%6 = icmp slt i32 %5, 60
br i1 %6, label %7, label %34
7: ; preds = %4
%8 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%9 = load i32, ptr %1, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = call i32 @read_byte(ptr noundef %11)
%13 = load i32, ptr %1, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 10
br i1 %18, label %19, label %20
19: ; preds = %7
br label %34
20: ; preds = %7
%21 = load i32, ptr %1, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 66
br i1 %26, label %27, label %30
27: ; preds = %20
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %30
30: ; preds = %27, %20
br label %31
31: ; preds = %30
%32 = load i32, ptr %1, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %1, align 4
br label %4, !llvm.loop !6
34: ; preds = %19, %4
%35 = load i32, ptr %2, align 4
%36 = icmp eq i32 %35, 35
br i1 %36, label %37, label %40
37: ; preds = %34
%38 = call i32 @printf(ptr noundef @.str)
%39 = call i32 @printf(ptr noundef @.str.1)
br label %40
40: ; preds = %37, %34
ret void
}
declare i32 @read_byte(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkuasnz01.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [34 x i8] c"There are 35 'B's in your input.\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"Easter egg triggered!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_func() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [200 x i8], align 16
store i32 0, ptr %2, align 4
store i32 0, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = icmp slt i32 %4, 60
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %30
%7 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0
%8 = load i32, ptr %1, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = call i32 @read_byte(ptr noundef %10)
%12 = load i32, ptr %1, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 10
br i1 %17, label %18, label %19
18: ; preds = %6
br label %35
19: ; preds = %6
%20 = load i32, ptr %1, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 66
br i1 %25, label %26, label %29
26: ; preds = %19
%27 = load i32, ptr %2, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %2, align 4
br label %29
29: ; preds = %26, %19
br label %30
30: ; preds = %29
%31 = load i32, ptr %1, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %1, align 4
%33 = load i32, ptr %1, align 4
%34 = icmp slt i32 %33, 60
br i1 %34, label %6, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %30
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %35
35: ; preds = %.loopexit, %18
%36 = load i32, ptr %2, align 4
%37 = icmp eq i32 %36, 35
br i1 %37, label %38, label %41
38: ; preds = %35
%39 = call i32 @printf(ptr noundef @.str)
%40 = call i32 @printf(ptr noundef @.str.1)
br label %41
41: ; preds = %38, %35
ret void
}
declare i32 @read_byte(ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfemgljxd.c'
source_filename = "/tmp/tmpfemgljxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @doberes_dreieck_all_alloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = add nsw i64 %8, 1
%10 = mul nsw i64 %7, %9
%11 = sdiv i64 %10, 2
store i64 %11, ptr %6, align 8
%12 = load i64, ptr %6, align 8
%13 = call ptr @dvector_alloc(i64 noundef %12)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %1
store ptr null, ptr %2, align 8
br label %22
17: ; preds = %1
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %3, align 8
%20 = call ptr @doberes_dreieck_zeiger_alloc(ptr noundef %18, i64 noundef %19)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %17, %16
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @dvector_alloc(i64 noundef) #1
declare ptr @doberes_dreieck_zeiger_alloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpfemgljxd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @doberes_dreieck_all_alloc(i64 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i64 %0, ptr %3, align 8
%7 = load i64, ptr %3, align 8
%8 = load i64, ptr %3, align 8
%9 = add nsw i64 %8, 1
%10 = mul nsw i64 %7, %9
%11 = sdiv i64 %10, 2
store i64 %11, ptr %6, align 8
%12 = load i64, ptr %6, align 8
%13 = call ptr @dvector_alloc(i64 noundef %12)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %17
16: ; preds = %1
store ptr null, ptr %2, align 8
br label %22
17: ; preds = %1
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %3, align 8
%20 = call ptr @doberes_dreieck_zeiger_alloc(ptr noundef %18, i64 noundef %19)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
store ptr %21, ptr %2, align 8
br label %22
22: ; preds = %17, %16
%23 = load ptr, ptr %2, align 8
ret ptr %23
}
declare ptr @dvector_alloc(i64 noundef) #1
declare ptr @doberes_dreieck_zeiger_alloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph0016qhj.c'
source_filename = "/tmp/tmph0016qhj.c"
target datalayout = "e-m:e-p270: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/tmph0016qhj.c"
target datalayout = "e-m:e-p270: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/tmp3rysc9gn.c'
source_filename = "/tmp/tmp3rysc9gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3rysc9gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @buf_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpoyjplwl0.c'
source_filename = "/tmp/tmpoyjplwl0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @towers(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @towersHelper(i32 noundef %3, i32 noundef 1, i32 noundef 3)
ret void
}
declare i32 @towersHelper(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoyjplwl0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @towers(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @towersHelper(i32 noundef %3, i32 noundef 1, i32 noundef 3)
ret void
}
declare i32 @towersHelper(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1hqh1319.c'
source_filename = "/tmp/tmp1hqh1319.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %6
6: ; preds = %20, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %23
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i32, ptr %5, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %19
17: ; preds = %11
%18 = load ptr, ptr %4, align 8
store ptr %18, ptr %3, align 8
br label %24
19: ; preds = %11
br label %20
20: ; preds = %19
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %4, align 8
br label %6, !llvm.loop !6
23: ; preds = %6
store ptr null, ptr %3, align 8
br label %24
24: ; preds = %23, %17
%25 = load ptr, ptr %3, align 8
ret ptr %25
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1hqh1319.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%6 = load ptr, ptr %4, align 8
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %19
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = load i32, ptr %5, align 4
%15 = icmp eq i32 %13, %14
br i1 %15, label %16, label %18
16: ; preds = %10
%17 = load ptr, ptr %4, align 8
store ptr %17, ptr %3, align 8
br label %27
18: ; preds = %10
br label %19
19: ; preds = %18
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
%22 = load ptr, ptr %4, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = icmp ne i32 %24, 0
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %2
store ptr null, ptr %3, align 8
br label %27
27: ; preds = %26, %16
%28 = load ptr, ptr %3, align 8
ret ptr %28
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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_0cxne0z.c'
source_filename = "/tmp/tmp_0cxne0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
@TRUE = 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_0cxne0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FALSE = dso_local global i32 0, align 4
@TRUE = 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/tmpaqxvt68c.c'
source_filename = "/tmp/tmpaqxvt68c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @PAPI_Errors()
%7 = call i32 @exit(i32 noundef %6) #3
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @PAPI_Errors(...) #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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmpaqxvt68c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @PAPI_Errors()
%7 = call i32 @exit(i32 noundef %6) #3
unreachable
}
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #1
declare i32 @PAPI_Errors(...) #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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-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/tmpstlgxjmo.c'
source_filename = "/tmp/tmpstlgxjmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @n32016_dumpregs(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 @log_info(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (...) @Dump()
ret void
}
declare i32 @log_info(ptr noundef, ptr noundef) #1
declare i32 @Dump(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpstlgxjmo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @n32016_dumpregs(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 @log_info(ptr noundef @.str, ptr noundef %3)
%5 = call i32 (...) @Dump()
ret void
}
declare i32 @log_info(ptr noundef, ptr noundef) #1
declare i32 @Dump(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpll0jhys2.c'
source_filename = "/tmp/tmpll0jhys2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BG_colorstrncpyz(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %8, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %8, align 4
br label %16
16: ; preds = %60, %47, %4
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br label %29
29: ; preds = %25, %21, %16
%30 = phi i1 [ false, %21 ], [ false, %16 ], [ %28, %25 ]
br i1 %30, label %31, label %70
31: ; preds = %29
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 94
br i1 %35, label %36, label %60
36: ; preds = %31
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %37, 2
%39 = load i32, ptr %11, align 4
%40 = icmp sge i32 %38, %39
br i1 %40, label %41, label %47
41: ; preds = %36
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 2
%44 = load i32, ptr %8, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %41
br label %70
47: ; preds = %41, %36
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %5, align 8
%50 = load i8, ptr %48, align 1
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %6, align 8
store i8 %50, ptr %51, align 1
%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 %6, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %6, align 8
store i8 %55, ptr %56, align 1
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 2
store i32 %59, ptr %10, align 4
br label %16, !llvm.loop !6
60: ; preds = %31
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
%63 = load i8, ptr %61, align 1
%64 = load ptr, ptr %6, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %6, align 8
store i8 %63, ptr %64, align 1
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %10, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %10, align 4
br label %16, !llvm.loop !6
70: ; preds = %46, %29
%71 = load ptr, ptr %6, align 8
store i8 0, ptr %71, align 1
%72 = load i32, ptr %9, align 4
ret i32 %72
}
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/tmpll0jhys2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BG_colorstrncpyz(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load ptr, ptr %5, align 8
%13 = call i32 @strlen(ptr noundef %12)
store i32 %13, ptr %11, align 4
%14 = load i32, ptr %8, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %8, align 4
br label %16
16: ; preds = %.backedge, %4
%17 = load ptr, ptr %5, align 8
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %16
%22 = load i32, ptr %10, align 4
%23 = load i32, ptr %8, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %25, label %29
25: ; preds = %21
%26 = load i32, ptr %9, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp slt i32 %26, %27
br label %29
29: ; preds = %25, %21, %16
%30 = phi i1 [ false, %21 ], [ false, %16 ], [ %28, %25 ]
br i1 %30, label %31, label %.loopexit
31: ; preds = %29
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 94
br i1 %35, label %36, label %60
36: ; preds = %31
%37 = load i32, ptr %10, align 4
%38 = add nsw i32 %37, 2
%39 = load i32, ptr %11, align 4
%40 = icmp sge i32 %38, %39
br i1 %40, label %41, label %47
41: ; preds = %36
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 2
%44 = load i32, ptr %8, align 4
%45 = icmp sge i32 %43, %44
br i1 %45, label %46, label %47
46: ; preds = %41
br label %70
47: ; preds = %41, %36
%48 = load ptr, ptr %5, align 8
%49 = getelementptr inbounds i8, ptr %48, i32 1
store ptr %49, ptr %5, align 8
%50 = load i8, ptr %48, align 1
%51 = load ptr, ptr %6, align 8
%52 = getelementptr inbounds i8, ptr %51, i32 1
store ptr %52, ptr %6, align 8
store i8 %50, ptr %51, align 1
%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 %6, align 8
%57 = getelementptr inbounds i8, ptr %56, i32 1
store ptr %57, ptr %6, align 8
store i8 %55, ptr %56, align 1
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, 2
store i32 %59, ptr %10, align 4
br label %.backedge
.backedge: ; preds = %47, %60
br label %16, !llvm.loop !6
60: ; preds = %31
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
%63 = load i8, ptr %61, align 1
%64 = load ptr, ptr %6, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %6, align 8
store i8 %63, ptr %64, align 1
%66 = load i32, ptr %9, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %9, align 4
%68 = load i32, ptr %10, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %10, align 4
br label %.backedge
.loopexit: ; preds = %29
br label %70
70: ; preds = %.loopexit, %46
%71 = load ptr, ptr %6, align 8
store i8 0, ptr %71, align 1
%72 = load i32, ptr %9, align 4
ret i32 %72
}
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/tmpvgjs1xaw.c'
source_filename = "/tmp/tmpvgjs1xaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10000 x i8], align 16
store i32 0, ptr %1, align 4
br label %4
4: ; preds = %21, %0
%5 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%6 = call i32 @my_getline(ptr noundef %5, i32 noundef 10000)
store i32 %6, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %26
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = sub nsw i32 %9, 1
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %11
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 10
br i1 %15, label %16, label %21
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = sub nsw i32 %17, 1
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %19
store i8 0, ptr %20, align 1
br label %21
21: ; preds = %16, %8
%22 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%23 = call i32 @reverse(ptr noundef %22)
%24 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%25 = call i32 @printf(ptr noundef @.str, ptr noundef %24)
br label %4, !llvm.loop !6
26: ; preds = %4
ret i32 0
}
declare i32 @my_getline(ptr noundef, i32 noundef) #1
declare i32 @reverse(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvgjs1xaw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [10000 x i8], align 16
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%5 = call i32 @my_getline(ptr noundef %4, i32 noundef 10000)
store i32 %5, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %20
%8 = load i32, ptr %2, align 4
%9 = sub nsw i32 %8, 1
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 10
br i1 %14, label %15, label %20
15: ; preds = %7
%16 = load i32, ptr %2, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %15, %7
%21 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%22 = call i32 @reverse(ptr noundef %21)
%23 = getelementptr inbounds [10000 x i8], ptr %3, i64 0, i64 0
%24 = call i32 @printf(ptr noundef @.str, ptr noundef %23)
%25 = call i32 @my_getline(ptr noundef %4, i32 noundef 10000)
store i32 %25, ptr %2, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %27
27: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @my_getline(ptr noundef, i32 noundef) #1
declare i32 @reverse(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpj9kyic9z.c'
source_filename = "/tmp/tmpj9kyic9z.c"
target datalayout = "e-m:e-p270: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.get_key_value.s = private unnamed_addr constant [2 x i8] c"=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_key_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [2 x i8], align 1
%9 = alloca ptr, align 8
%10 = 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
%11 = load ptr, ptr %4, align 8
%12 = call ptr @strdup(ptr noundef %11)
store ptr %12, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.get_key_value.s, i64 2, i1 false)
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%15 = call ptr @strtok_r(ptr noundef %13, ptr noundef %14, ptr noundef %10)
store ptr %15, ptr %9, align 8
%16 = load ptr, ptr %9, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add nsw i64 %17, 1
%19 = call i64 @malloc(i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
%21 = load ptr, ptr %5, align 8
store ptr %20, ptr %21, align 8
%22 = load ptr, ptr %10, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = add nsw i64 %23, 1
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
%27 = load ptr, ptr %6, align 8
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = load ptr, ptr %9, align 8
%31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %10, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare ptr @strdup(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj9kyic9z.c"
target datalayout = "e-m:e-p270: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.get_key_value.s = private unnamed_addr constant [2 x i8] c"=\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_key_value(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [2 x i8], align 1
%9 = alloca ptr, align 8
%10 = 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
%11 = load ptr, ptr %4, align 8
%12 = call ptr @strdup(ptr noundef %11)
store ptr %12, ptr %7, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %8, ptr align 1 @__const.get_key_value.s, i64 2, i1 false)
%13 = load ptr, ptr %7, align 8
%14 = getelementptr inbounds [2 x i8], ptr %8, i64 0, i64 0
%15 = call ptr @strtok_r(ptr noundef %13, ptr noundef %14, ptr noundef %10)
store ptr %15, ptr %9, align 8
%16 = load ptr, ptr %9, align 8
%17 = call i64 @strlen(ptr noundef %16)
%18 = add nsw i64 %17, 1
%19 = call i64 @malloc(i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
%21 = load ptr, ptr %5, align 8
store ptr %20, ptr %21, align 8
%22 = load ptr, ptr %10, align 8
%23 = call i64 @strlen(ptr noundef %22)
%24 = add nsw i64 %23, 1
%25 = call i64 @malloc(i64 noundef %24)
%26 = inttoptr i64 %25 to ptr
%27 = load ptr, ptr %6, align 8
store ptr %26, ptr %27, align 8
%28 = load ptr, ptr %5, align 8
%29 = load ptr, ptr %28, align 8
%30 = load ptr, ptr %9, align 8
%31 = call i32 @strcpy(ptr noundef %29, ptr noundef %30)
%32 = load ptr, ptr %6, align 8
%33 = load ptr, ptr %32, align 8
%34 = load ptr, ptr %10, align 8
%35 = call i32 @strcpy(ptr noundef %33, ptr noundef %34)
%36 = load ptr, ptr %7, align 8
%37 = call i32 @free(ptr noundef %36)
ret i32 0
}
declare ptr @strdup(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @strcpy(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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj4hv36h5.c'
source_filename = "/tmp/tmpj4hv36h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @end_module() #0 {
%1 = call i32 (...) @end()
%2 = call i32 (...) @popfile()
ret void
}
declare i32 @end(...) #1
declare i32 @popfile(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj4hv36h5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @end_module() #0 {
%1 = call i32 (...) @end()
%2 = call i32 (...) @popfile()
ret void
}
declare i32 @end(...) #1
declare i32 @popfile(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppv895z_2.c'
source_filename = "/tmp/tmppv895z_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Found\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Not Found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %3, align 4
store i32 12, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @list_add_int(ptr noundef %2, i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @list_add_int(ptr noundef %2, i32 noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = call i64 @list_exists_int(ptr noundef %9, i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %13
%18 = call i32 @list_free(ptr noundef %2)
ret i32 0
}
declare i32 @list_add_int(ptr noundef, i32 noundef) #1
declare i64 @list_exists_int(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @list_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/tmppv895z_2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Found\0A\00", align 1
@.str.1 = private unnamed_addr constant [11 x i8] c"Not Found\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 4, ptr %3, align 4
store i32 12, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = call i32 @list_add_int(ptr noundef %2, i32 noundef %5)
%7 = load i32, ptr %4, align 4
%8 = call i32 @list_add_int(ptr noundef %2, i32 noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %4, align 4
%11 = call i64 @list_exists_int(ptr noundef %9, i32 noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %15
13: ; preds = %0
%14 = call i32 @printf(ptr noundef @.str)
br label %17
15: ; preds = %0
%16 = call i32 @printf(ptr noundef @.str.1)
br label %17
17: ; preds = %15, %13
%18 = call i32 @list_free(ptr noundef %2)
ret i32 0
}
declare i32 @list_add_int(ptr noundef, i32 noundef) #1
declare i64 @list_exists_int(ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @list_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/tmpsscnaedn.c'
source_filename = "/tmp/tmpsscnaedn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Mini Serveur Web\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Le serveur \C3\A9coute sur le port : %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"La racine des fichiers HTML est : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"La taille taille du fichier log : %d Ko\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"Le nombre maximum de clients simultan\C3\A9s : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Argument suppl\C3\A9mentaires : \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%s - \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testoption(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stdout, align 4
%17 = load ptr, ptr %9, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %17)
%19 = load i32, ptr @stdout, align 4
%20 = load ptr, ptr %10, align 8
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.2, ptr noundef %20)
%22 = load i32, ptr @stdout, align 4
%23 = load i32, ptr %11, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3, i32 noundef %23)
%25 = load i32, ptr @stdout, align 4
%26 = load i32, ptr %12, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.4, i32 noundef %26)
%28 = load i32, ptr @stdout, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.5)
store i32 0, ptr %13, align 4
br label %30
30: ; preds = %42, %6
%31 = load i32, ptr %13, align 4
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %45
34: ; preds = %30
%35 = load i32, ptr @stdout, align 4
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %13, 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 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.6, ptr noundef %40)
br label %42
42: ; preds = %34
%43 = load i32, ptr %13, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %13, align 4
br label %30, !llvm.loop !6
45: ; preds = %30
%46 = load i32, ptr @stdout, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsscnaedn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"Mini Serveur Web\0A\00", align 1
@.str.1 = private unnamed_addr constant [37 x i8] c"Le serveur \C3\A9coute sur le port : %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [38 x i8] c"La racine des fichiers HTML est : %s\0A\00", align 1
@.str.3 = private unnamed_addr constant [41 x i8] c"La taille taille du fichier log : %d Ko\0A\00", align 1
@.str.4 = private unnamed_addr constant [47 x i8] c"Le nombre maximum de clients simultan\C3\A9s : %d\0A\00", align 1
@.str.5 = private unnamed_addr constant [29 x i8] c"Argument suppl\C3\A9mentaires : \00", align 1
@.str.6 = private unnamed_addr constant [6 x i8] c"%s - \00", align 1
@.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @testoption(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store i32 %4, ptr %11, align 4
store i32 %5, ptr %12, align 4
%14 = load i32, ptr @stdout, align 4
%15 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str)
%16 = load i32, ptr @stdout, align 4
%17 = load ptr, ptr %9, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %17)
%19 = load i32, ptr @stdout, align 4
%20 = load ptr, ptr %10, align 8
%21 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %19, ptr noundef @.str.2, ptr noundef %20)
%22 = load i32, ptr @stdout, align 4
%23 = load i32, ptr %11, align 4
%24 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %22, ptr noundef @.str.3, i32 noundef %23)
%25 = load i32, ptr @stdout, align 4
%26 = load i32, ptr %12, align 4
%27 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.4, i32 noundef %26)
%28 = load i32, ptr @stdout, align 4
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %28, ptr noundef @.str.5)
store i32 0, ptr %13, align 4
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %7, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph, label %47
.lr.ph: ; preds = %6
br label %33
33: ; preds = %.lr.ph, %41
%34 = load i32, ptr @stdout, align 4
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %13, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds ptr, ptr %35, i64 %37
%39 = load ptr, ptr %38, align 8
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %34, ptr noundef @.str.6, ptr noundef %39)
br label %41
41: ; preds = %33
%42 = load i32, ptr %13, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %13, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %47
47: ; preds = %._crit_edge, %6
%48 = load i32, ptr @stdout, align 4
%49 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.7)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpq4r6yaed.c'
source_filename = "/tmp/tmpq4r6yaed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseRankChar(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i32 @tolower(i8 noundef signext %4)
switch i32 %5, label %14 [
i32 49, label %6
i32 50, label %7
i32 51, label %8
i32 52, label %9
i32 53, label %10
i32 54, label %11
i32 55, label %12
i32 56, label %13
]
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
8: ; preds = %1
store i32 2, ptr %2, align 4
br label %15
9: ; preds = %1
store i32 3, ptr %2, align 4
br label %15
10: ; preds = %1
store i32 4, ptr %2, align 4
br label %15
11: ; preds = %1
store i32 5, ptr %2, align 4
br label %15
12: ; preds = %1
store i32 6, ptr %2, align 4
br label %15
13: ; preds = %1
store i32 7, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 8, ptr %2, align 4
br label %15
15: ; preds = %14, %13, %12, %11, %10, %9, %8, %7, %6
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq4r6yaed.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @parseRankChar(i8 noundef signext %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i8, align 1
store i8 %0, ptr %3, align 1
%4 = load i8, ptr %3, align 1
%5 = call i32 @tolower(i8 noundef signext %4)
switch i32 %5, label %14 [
i32 49, label %6
i32 50, label %7
i32 51, label %8
i32 52, label %9
i32 53, label %10
i32 54, label %11
i32 55, label %12
i32 56, label %13
]
6: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %15
8: ; preds = %1
store i32 2, ptr %2, align 4
br label %15
9: ; preds = %1
store i32 3, ptr %2, align 4
br label %15
10: ; preds = %1
store i32 4, ptr %2, align 4
br label %15
11: ; preds = %1
store i32 5, ptr %2, align 4
br label %15
12: ; preds = %1
store i32 6, ptr %2, align 4
br label %15
13: ; preds = %1
store i32 7, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 8, ptr %2, align 4
br label %15
15: ; preds = %14, %13, %12, %11, %10, %9, %8, %7, %6
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2wli68ft.c'
source_filename = "/tmp/tmp2wli68ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_of_random(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call double (...) @rand()
%4 = call double (...) @rand()
%5 = fmul double %4, 2.500000e-01
%6 = fdiv double %3, %5
%7 = fptosi double %6 to i32
%8 = load ptr, ptr %2, align 8
store i32 %7, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
call void @sort_of_random(ptr noundef %13)
br label %15
14: ; preds = %1
br label %15
15: ; preds = %14, %12
ret void
}
declare double @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2wli68ft.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sort_of_random(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call double (...) @rand()
%4 = call double (...) @rand()
%5 = fmul double %4, 2.500000e-01
%6 = fdiv double %3, %5
%7 = fptosi double %6 to i32
%8 = load ptr, ptr %2, align 8
store i32 %7, ptr %8, align 4
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = icmp eq i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %1
%13 = load ptr, ptr %2, align 8
call void @sort_of_random(ptr noundef %13)
br label %15
14: ; preds = %1
br label %15
15: ; preds = %14, %12
ret void
}
declare double @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgnish2wz.c'
source_filename = "/tmp/tmpgnish2wz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @configz_readSLKV(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 @configz_readLKV(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 1)
ret i32 %13
}
declare i32 @configz_readLKV(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgnish2wz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @configz_readSLKV(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 @configz_readLKV(ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 1)
ret i32 %13
}
declare i32 @configz_readLKV(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ynk91bg.c'
source_filename = "/tmp/tmp_ynk91bg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter size\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Average: %f\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 ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 4, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %15
15: ; preds = %25, %0
%16 = load i32, ptr %4, align 4
%17 = load i32, ptr %2, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %28
19: ; preds = %15
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i32, ptr %20, i64 %22
%24 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
br label %15, !llvm.loop !6
28: ; preds = %15
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %29
29: ; preds = %41, %28
%30 = load i32, ptr %6, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %33, label %44
33: ; preds = %29
%34 = load ptr, ptr %3, align 8
%35 = load i32, ptr %6, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %34, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, %38
store i32 %40, ptr %5, align 4
br label %41
41: ; preds = %33
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %29, !llvm.loop !8
44: ; preds = %29
%45 = load i32, ptr %5, align 4
%46 = sitofp i32 %45 to double
%47 = load i32, ptr %2, align 4
%48 = sitofp i32 %47 to double
%49 = fdiv double %46, %48
%50 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %49)
%51 = load ptr, ptr %3, align 8
%52 = call i32 @free(ptr noundef %51)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ynk91bg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter size\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Average: %f\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 ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%8 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = mul i64 4, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 noundef %12)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %3, align 8
store i32 0, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %24
%19 = load ptr, ptr %3, align 8
%20 = load i32, ptr %4, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i32, ptr %19, i64 %21
%23 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %22)
br label %24
24: ; preds = %18
%25 = load i32, ptr %4, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %4, align 4
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %0
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%31 = load i32, ptr %6, align 4
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph2, label %48
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %42
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %35, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %5, align 4
br label %42
42: ; preds = %34
%43 = load i32, ptr %6, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %6, align 4
%45 = load i32, ptr %6, align 4
%46 = load i32, ptr %2, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %42
br label %48
48: ; preds = %._crit_edge3, %30
%49 = load i32, ptr %5, align 4
%50 = sitofp i32 %49 to double
%51 = load i32, ptr %2, align 4
%52 = sitofp i32 %51 to double
%53 = fdiv double %50, %52
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %53)
%55 = load ptr, ptr %3, align 8
%56 = call i32 @free(ptr noundef %55)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @malloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpk6nrwd1i.c'
source_filename = "/tmp/tmpk6nrwd1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rnd_normal_param(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call double (...) @rnd_normal()
%6 = load double, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = call double @llvm.fmuladd.f64(double %5, double %6, double %7)
ret double %8
}
declare double @rnd_normal(...) #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/tmpk6nrwd1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rnd_normal_param(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = call double (...) @rnd_normal()
%6 = load double, ptr %4, align 8
%7 = load double, ptr %3, align 8
%8 = call double @llvm.fmuladd.f64(double %5, double %6, double %7)
ret double %8
}
declare double @rnd_normal(...) #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/tmpctwu7ipx.c'
source_filename = "/tmp/tmpctwu7ipx.c"
target datalayout = "e-m:e-p270: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/tmpctwu7ipx.c"
target datalayout = "e-m:e-p270: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/tmp3a4nhar4.c'
source_filename = "/tmp/tmp3a4nhar4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt_x_prepare(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @getopt_x_prepare0(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef 0)
ret i32 %19
}
declare i32 @getopt_x_prepare0(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3a4nhar4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getopt_x_prepare(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load ptr, ptr %7, align 8
%14 = load i32, ptr %8, align 4
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load ptr, ptr %12, align 8
%19 = call i32 @getopt_x_prepare0(ptr noundef %13, i32 noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, i32 noundef 0)
ret i32 %19
}
declare i32 @getopt_x_prepare0(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw9qkqiod.c'
source_filename = "/tmp/tmpw9qkqiod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"flt.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"%g\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sigproc_measure_pulse(i64 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca ptr, align 8
store i64 %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i64 %2, ptr %11, align 8
store i64 %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i64 %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
%27 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %27, ptr %26, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %7
%30 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %8, align 4
br label %172
31: ; preds = %7
%32 = load ptr, ptr %13, align 8
%33 = getelementptr inbounds double, ptr %32, i64 0
%34 = load double, ptr %33, align 8
%35 = fptoui double %34 to i64
store i64 %35, ptr %16, align 8
%36 = load i64, ptr %9, align 8
%37 = call i64 @calloc(i64 noundef %36, i32 noundef 4)
%38 = inttoptr i64 %37 to ptr
store ptr %38, ptr %21, align 8
store i64 0, ptr %17, align 8
br label %39
39: ; preds = %164, %31
%40 = load i64, ptr %17, align 8
%41 = load i64, ptr %11, align 8
%42 = icmp ult i64 %40, %41
br i1 %42, label %43, label %167
43: ; preds = %39
%44 = load ptr, ptr %10, align 8
%45 = load i64, ptr %9, align 8
%46 = load i64, ptr %17, align 8
%47 = mul i64 %45, %46
%48 = getelementptr inbounds float, ptr %44, i64 %47
store ptr %48, ptr %20, align 8
%49 = load ptr, ptr %15, align 8
%50 = load i64, ptr %14, align 8
%51 = load i64, ptr %17, align 8
%52 = mul i64 %50, %51
%53 = getelementptr inbounds double, ptr %49, i64 %52
store ptr %53, ptr %22, align 8
store double 0.000000e+00, ptr %24, align 8
store double 0.000000e+00, ptr %25, align 8
store i64 0, ptr %18, align 8
br label %54
54: ; preds = %78, %43
%55 = load i64, ptr %18, align 8
%56 = load i64, ptr %16, align 8
%57 = icmp ult i64 %55, %56
br i1 %57, label %58, label %81
58: ; preds = %54
%59 = load ptr, ptr %20, align 8
%60 = load i64, ptr %18, align 8
%61 = getelementptr inbounds float, ptr %59, i64 %60
%62 = load float, ptr %61, align 4
%63 = fpext float %62 to double
%64 = load double, ptr %24, align 8
%65 = fadd double %64, %63
store double %65, ptr %24, align 8
%66 = load ptr, ptr %20, align 8
%67 = load i64, ptr %18, align 8
%68 = getelementptr inbounds float, ptr %66, i64 %67
%69 = load float, ptr %68, align 4
%70 = load ptr, ptr %20, align 8
%71 = load i64, ptr %18, align 8
%72 = getelementptr inbounds float, ptr %70, i64 %71
%73 = load float, ptr %72, align 4
%74 = fmul float %69, %73
%75 = fpext float %74 to double
%76 = load double, ptr %25, align 8
%77 = fadd double %76, %75
store double %77, ptr %25, align 8
br label %78
78: ; preds = %58
%79 = load i64, ptr %18, align 8
%80 = add i64 %79, 1
store i64 %80, ptr %18, align 8
br label %54, !llvm.loop !6
81: ; preds = %54
%82 = load i64, ptr %16, align 8
%83 = uitofp i64 %82 to double
%84 = load double, ptr %24, align 8
%85 = fdiv double %84, %83
store double %85, ptr %24, align 8
%86 = load double, ptr %25, align 8
%87 = load i64, ptr %16, align 8
%88 = uitofp i64 %87 to double
%89 = load double, ptr %24, align 8
%90 = fmul double %88, %89
%91 = load double, ptr %24, align 8
%92 = fneg double %90
%93 = call double @llvm.fmuladd.f64(double %92, double %91, double %86)
%94 = load i64, ptr %16, align 8
%95 = uitofp i64 %94 to double
%96 = fsub double %95, 1.000000e+00
%97 = fdiv double %93, %96
%98 = call double @sqrt(double noundef %97) #4
store double %98, ptr %25, align 8
%99 = load double, ptr %24, align 8
%100 = load ptr, ptr %22, align 8
%101 = getelementptr inbounds double, ptr %100, i64 0
store double %99, ptr %101, align 8
%102 = load double, ptr %25, align 8
%103 = load ptr, ptr %22, align 8
%104 = getelementptr inbounds double, ptr %103, i64 1
store double %102, ptr %104, align 8
%105 = load i64, ptr %9, align 8
%106 = load ptr, ptr %20, align 8
%107 = load ptr, ptr %21, align 8
%108 = load ptr, ptr %13, align 8
%109 = getelementptr inbounds double, ptr %108, i64 1
%110 = load double, ptr %109, align 8
%111 = fptoui double %110 to i64
%112 = load ptr, ptr %13, align 8
%113 = getelementptr inbounds double, ptr %112, i64 2
%114 = load double, ptr %113, align 8
%115 = fptoui double %114 to i64
%116 = load ptr, ptr %13, align 8
%117 = getelementptr inbounds double, ptr %116, i64 3
%118 = load double, ptr %117, align 8
%119 = call i32 @filters_trapezoidal(i64 noundef %105, ptr noundef %106, ptr noundef %107, i64 noundef %111, i64 noundef %115, double noundef %118)
%120 = load double, ptr @DBL_MAX, align 8
%121 = fneg double %120
store double %121, ptr %23, align 8
store i64 0, ptr %19, align 8
store i64 0, ptr %18, align 8
br label %122
122: ; preds = %151, %81
%123 = load i64, ptr %18, align 8
%124 = load i64, ptr %9, align 8
%125 = icmp ult i64 %123, %124
br i1 %125, label %126, label %154
126: ; preds = %122
%127 = load ptr, ptr %21, align 8
%128 = load i64, ptr %18, align 8
%129 = getelementptr inbounds float, ptr %127, i64 %128
%130 = load float, ptr %129, align 4
%131 = fpext float %130 to double
%132 = load double, ptr %23, align 8
%133 = fcmp ogt double %131, %132
br i1 %133, label %134, label %141
134: ; preds = %126
%135 = load ptr, ptr %21, align 8
%136 = load i64, ptr %18, align 8
%137 = getelementptr inbounds float, ptr %135, i64 %136
%138 = load float, ptr %137, align 4
%139 = fpext float %138 to double
store double %139, ptr %23, align 8
%140 = load i64, ptr %18, align 8
store i64 %140, ptr %19, align 8
br label %141
141: ; preds = %134, %126
%142 = load ptr, ptr %26, align 8
%143 = load ptr, ptr %21, align 8
%144 = load i64, ptr %18, align 8
%145 = getelementptr inbounds float, ptr %143, i64 %144
%146 = load float, ptr %145, align 4
%147 = fpext float %146 to double
%148 = load double, ptr %24, align 8
%149 = fadd double %147, %148
%150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef @.str.2, double noundef %149)
br label %151
151: ; preds = %141
%152 = load i64, ptr %18, align 8
%153 = add i64 %152, 1
store i64 %153, ptr %18, align 8
br label %122, !llvm.loop !8
154: ; preds = %122
%155 = load i64, ptr %19, align 8
%156 = uitofp i64 %155 to double
%157 = load ptr, ptr %22, align 8
%158 = getelementptr inbounds double, ptr %157, i64 2
store double %156, ptr %158, align 8
%159 = load double, ptr %23, align 8
%160 = load ptr, ptr %22, align 8
%161 = getelementptr inbounds double, ptr %160, i64 3
store double %159, ptr %161, align 8
%162 = load ptr, ptr %26, align 8
%163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %162, ptr noundef @.str.3)
br label %164
164: ; preds = %154
%165 = load i64, ptr %17, align 8
%166 = add i64 %165, 1
store i64 %166, ptr %17, align 8
br label %39, !llvm.loop !9
167: ; preds = %39
%168 = load ptr, ptr %21, align 8
%169 = call i32 @free(ptr noundef %168)
%170 = load ptr, ptr %26, align 8
%171 = call i32 @fclose(ptr noundef %170)
store i32 0, ptr %8, align 4
br label %172
172: ; preds = %167, %29
%173 = load i32, ptr %8, align 4
ret i32 %173
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @calloc(i64 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @filters_trapezoidal(i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @free(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" }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw9qkqiod.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"flt.dat\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@DBL_MAX = dso_local global double 0.000000e+00, align 8
@.str.2 = private unnamed_addr constant [4 x i8] c"%g\0A\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @sigproc_measure_pulse(i64 noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, i64 noundef %5, ptr noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca ptr, align 8
%14 = alloca i64, align 8
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca double, align 8
%24 = alloca double, align 8
%25 = alloca double, align 8
%26 = alloca ptr, align 8
store i64 %0, ptr %9, align 8
store ptr %1, ptr %10, align 8
store i64 %2, ptr %11, align 8
store i64 %3, ptr %12, align 8
store ptr %4, ptr %13, align 8
store i64 %5, ptr %14, align 8
store ptr %6, ptr %15, align 8
%27 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %27, ptr %26, align 8
%28 = icmp eq ptr %27, null
br i1 %28, label %29, label %31
29: ; preds = %7
%30 = call i32 @perror(ptr noundef @.str)
store i32 -1, ptr %8, align 4
br label %178
31: ; preds = %7
%32 = load ptr, ptr %13, align 8
%33 = getelementptr inbounds double, ptr %32, i64 0
%34 = load double, ptr %33, align 8
%35 = fptoui double %34 to i64
store i64 %35, ptr %16, align 8
%36 = load i64, ptr %9, align 8
%37 = call i64 @calloc(i64 noundef %36, i32 noundef 4)
%38 = inttoptr i64 %37 to ptr
store ptr %38, ptr %21, align 8
store i64 0, ptr %17, align 8
%39 = load i64, ptr %17, align 8
%40 = load i64, ptr %11, align 8
%41 = icmp ult i64 %39, %40
br i1 %41, label %.lr.ph5, label %173
.lr.ph5: ; preds = %31
br label %42
42: ; preds = %.lr.ph5, %167
%43 = load ptr, ptr %10, align 8
%44 = load i64, ptr %9, align 8
%45 = load i64, ptr %17, align 8
%46 = mul i64 %44, %45
%47 = getelementptr inbounds float, ptr %43, i64 %46
store ptr %47, ptr %20, align 8
%48 = load ptr, ptr %15, align 8
%49 = load i64, ptr %14, align 8
%50 = load i64, ptr %17, align 8
%51 = mul i64 %49, %50
%52 = getelementptr inbounds double, ptr %48, i64 %51
store ptr %52, ptr %22, align 8
store double 0.000000e+00, ptr %24, align 8
store double 0.000000e+00, ptr %25, align 8
store i64 0, ptr %18, align 8
%53 = load i64, ptr %18, align 8
%54 = load i64, ptr %16, align 8
%55 = icmp ult i64 %53, %54
br i1 %55, label %.lr.ph, label %82
.lr.ph: ; preds = %42
br label %56
56: ; preds = %.lr.ph, %76
%57 = load ptr, ptr %20, align 8
%58 = load i64, ptr %18, align 8
%59 = getelementptr inbounds float, ptr %57, i64 %58
%60 = load float, ptr %59, align 4
%61 = fpext float %60 to double
%62 = load double, ptr %24, align 8
%63 = fadd double %62, %61
store double %63, ptr %24, align 8
%64 = load ptr, ptr %20, align 8
%65 = load i64, ptr %18, align 8
%66 = getelementptr inbounds float, ptr %64, i64 %65
%67 = load float, ptr %66, align 4
%68 = load ptr, ptr %20, align 8
%69 = load i64, ptr %18, align 8
%70 = getelementptr inbounds float, ptr %68, i64 %69
%71 = load float, ptr %70, align 4
%72 = fmul float %67, %71
%73 = fpext float %72 to double
%74 = load double, ptr %25, align 8
%75 = fadd double %74, %73
store double %75, ptr %25, align 8
br label %76
76: ; preds = %56
%77 = load i64, ptr %18, align 8
%78 = add i64 %77, 1
store i64 %78, ptr %18, align 8
%79 = load i64, ptr %18, align 8
%80 = load i64, ptr %16, align 8
%81 = icmp ult i64 %79, %80
br i1 %81, label %56, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %76
br label %82
82: ; preds = %._crit_edge, %42
%83 = load i64, ptr %16, align 8
%84 = uitofp i64 %83 to double
%85 = load double, ptr %24, align 8
%86 = fdiv double %85, %84
store double %86, ptr %24, align 8
%87 = load double, ptr %25, align 8
%88 = load i64, ptr %16, align 8
%89 = uitofp i64 %88 to double
%90 = load double, ptr %24, align 8
%91 = fmul double %89, %90
%92 = load double, ptr %24, align 8
%93 = fneg double %91
%94 = call double @llvm.fmuladd.f64(double %93, double %92, double %87)
%95 = load i64, ptr %16, align 8
%96 = uitofp i64 %95 to double
%97 = fsub double %96, 1.000000e+00
%98 = fdiv double %94, %97
%99 = call double @sqrt(double noundef %98) #4
store double %99, ptr %25, align 8
%100 = load double, ptr %24, align 8
%101 = load ptr, ptr %22, align 8
%102 = getelementptr inbounds double, ptr %101, i64 0
store double %100, ptr %102, align 8
%103 = load double, ptr %25, align 8
%104 = load ptr, ptr %22, align 8
%105 = getelementptr inbounds double, ptr %104, i64 1
store double %103, ptr %105, align 8
%106 = load i64, ptr %9, align 8
%107 = load ptr, ptr %20, align 8
%108 = load ptr, ptr %21, align 8
%109 = load ptr, ptr %13, align 8
%110 = getelementptr inbounds double, ptr %109, i64 1
%111 = load double, ptr %110, align 8
%112 = fptoui double %111 to i64
%113 = load ptr, ptr %13, align 8
%114 = getelementptr inbounds double, ptr %113, i64 2
%115 = load double, ptr %114, align 8
%116 = fptoui double %115 to i64
%117 = load ptr, ptr %13, align 8
%118 = getelementptr inbounds double, ptr %117, i64 3
%119 = load double, ptr %118, align 8
%120 = call i32 @filters_trapezoidal(i64 noundef %106, ptr noundef %107, ptr noundef %108, i64 noundef %112, i64 noundef %116, double noundef %119)
%121 = load double, ptr @DBL_MAX, align 8
%122 = fneg double %121
store double %122, ptr %23, align 8
store i64 0, ptr %19, align 8
store i64 0, ptr %18, align 8
%123 = load i64, ptr %18, align 8
%124 = load i64, ptr %9, align 8
%125 = icmp ult i64 %123, %124
br i1 %125, label %.lr.ph2, label %157
.lr.ph2: ; preds = %82
br label %126
126: ; preds = %.lr.ph2, %151
%127 = load ptr, ptr %21, align 8
%128 = load i64, ptr %18, align 8
%129 = getelementptr inbounds float, ptr %127, i64 %128
%130 = load float, ptr %129, align 4
%131 = fpext float %130 to double
%132 = load double, ptr %23, align 8
%133 = fcmp ogt double %131, %132
br i1 %133, label %134, label %141
134: ; preds = %126
%135 = load ptr, ptr %21, align 8
%136 = load i64, ptr %18, align 8
%137 = getelementptr inbounds float, ptr %135, i64 %136
%138 = load float, ptr %137, align 4
%139 = fpext float %138 to double
store double %139, ptr %23, align 8
%140 = load i64, ptr %18, align 8
store i64 %140, ptr %19, align 8
br label %141
141: ; preds = %134, %126
%142 = load ptr, ptr %26, align 8
%143 = load ptr, ptr %21, align 8
%144 = load i64, ptr %18, align 8
%145 = getelementptr inbounds float, ptr %143, i64 %144
%146 = load float, ptr %145, align 4
%147 = fpext float %146 to double
%148 = load double, ptr %24, align 8
%149 = fadd double %147, %148
%150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %142, ptr noundef @.str.2, double noundef %149)
br label %151
151: ; preds = %141
%152 = load i64, ptr %18, align 8
%153 = add i64 %152, 1
store i64 %153, ptr %18, align 8
%154 = load i64, ptr %18, align 8
%155 = load i64, ptr %9, align 8
%156 = icmp ult i64 %154, %155
br i1 %156, label %126, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %151
br label %157
157: ; preds = %._crit_edge3, %82
%158 = load i64, ptr %19, align 8
%159 = uitofp i64 %158 to double
%160 = load ptr, ptr %22, align 8
%161 = getelementptr inbounds double, ptr %160, i64 2
store double %159, ptr %161, align 8
%162 = load double, ptr %23, align 8
%163 = load ptr, ptr %22, align 8
%164 = getelementptr inbounds double, ptr %163, i64 3
store double %162, ptr %164, align 8
%165 = load ptr, ptr %26, align 8
%166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.3)
br label %167
167: ; preds = %157
%168 = load i64, ptr %17, align 8
%169 = add i64 %168, 1
store i64 %169, ptr %17, align 8
%170 = load i64, ptr %17, align 8
%171 = load i64, ptr %11, align 8
%172 = icmp ult i64 %170, %171
br i1 %172, label %42, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %167
br label %173
173: ; preds = %._crit_edge6, %31
%174 = load ptr, ptr %21, align 8
%175 = call i32 @free(ptr noundef %174)
%176 = load ptr, ptr %26, align 8
%177 = call i32 @fclose(ptr noundef %176)
store i32 0, ptr %8, align 4
br label %178
178: ; preds = %173, %29
%179 = load i32, ptr %8, align 4
ret i32 %179
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i64 @calloc(i64 noundef, i32 noundef) #1
; Function Attrs: nounwind
declare double @sqrt(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
declare i32 @filters_trapezoidal(i64 noundef, ptr noundef, ptr noundef, i64 noundef, i64 noundef, double noundef) #1
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #1
declare i32 @free(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" }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp1s2m0qyd.c'
source_filename = "/tmp/tmp1s2m0qyd.c"
target datalayout = "e-m:e-p270: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/tmp1s2m0qyd.c"
target datalayout = "e-m:e-p270: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/tmpcok5aebl.c'
source_filename = "/tmp/tmpcok5aebl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefilter(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i16, align 2
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i16, ptr %9, align 2
%11 = call zeroext i16 @ntohs(i16 noundef zeroext %10)
store i16 %11, ptr %8, align 2
%12 = load i16, ptr %8, align 2
%13 = zext i16 %12 to i32
%14 = icmp eq i32 %13, 2057
br i1 %14, label %19, label %15
15: ; preds = %3
%16 = load i16, ptr %8, align 2
%17 = zext i16 %16 to i32
%18 = icmp eq i32 %17, 2064
br i1 %18, label %19, label %20
19: ; preds = %15, %3
store i32 2, ptr %4, align 4
br label %26
20: ; preds = %15
%21 = load i16, ptr %8, align 2
%22 = zext i16 %21 to i32
%23 = icmp eq i32 %22, 2065
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 1, ptr %4, align 4
br label %26
25: ; preds = %20
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %25, %24, %19
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare zeroext i16 @ntohs(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/tmpcok5aebl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @prefilter(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i16, align 2
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%9 = load ptr, ptr %6, align 8
%10 = load i16, ptr %9, align 2
%11 = call zeroext i16 @ntohs(i16 noundef zeroext %10)
store i16 %11, ptr %8, align 2
%12 = load i16, ptr %8, align 2
%13 = zext i16 %12 to i32
%14 = icmp eq i32 %13, 2057
br i1 %14, label %19, label %15
15: ; preds = %3
%16 = load i16, ptr %8, align 2
%17 = zext i16 %16 to i32
%18 = icmp eq i32 %17, 2064
br i1 %18, label %19, label %20
19: ; preds = %15, %3
store i32 2, ptr %4, align 4
br label %26
20: ; preds = %15
%21 = load i16, ptr %8, align 2
%22 = zext i16 %21 to i32
%23 = icmp eq i32 %22, 2065
br i1 %23, label %24, label %25
24: ; preds = %20
store i32 1, ptr %4, align 4
br label %26
25: ; preds = %20
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %25, %24, %19
%27 = load i32, ptr %4, align 4
ret i32 %27
}
declare zeroext i16 @ntohs(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/tmpzg_b6z7x.c'
source_filename = "/tmp/tmpzg_b6z7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EAFNOSUPPORT = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [37 x i8] c"AF_IUCV address family not supported\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @SOCK_STREAM, align 4
%4 = call i32 @socket(i32 noundef 32, i32 noundef %3, i32 noundef 0)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %14
7: ; preds = %0
%8 = load i64, ptr @errno, align 8
%9 = load i64, ptr @EAFNOSUPPORT, align 8
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @perror(ptr noundef @.str)
br label %13
13: ; preds = %11, %7
store i32 -1, ptr %1, align 4
br label %18
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = call i32 @close(i32 noundef %15)
br label %17
17: ; preds = %14
store i32 0, ptr %1, align 4
br label %18
18: ; preds = %17, %13
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr 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/tmpzg_b6z7x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SOCK_STREAM = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EAFNOSUPPORT = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [37 x i8] c"AF_IUCV address family not supported\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @SOCK_STREAM, align 4
%4 = call i32 @socket(i32 noundef 32, i32 noundef %3, i32 noundef 0)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %14
7: ; preds = %0
%8 = load i64, ptr @errno, align 8
%9 = load i64, ptr @EAFNOSUPPORT, align 8
%10 = icmp eq i64 %8, %9
br i1 %10, label %11, label %13
11: ; preds = %7
%12 = call i32 @perror(ptr noundef @.str)
br label %13
13: ; preds = %11, %7
store i32 -1, ptr %1, align 4
br label %18
14: ; preds = %0
%15 = load i32, ptr %2, align 4
%16 = call i32 @close(i32 noundef %15)
br label %17
17: ; preds = %14
store i32 0, ptr %1, align 4
br label %18
18: ; preds = %17, %13
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr 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/tmpt336hl1w.c'
source_filename = "/tmp/tmpt336hl1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wake_single(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 @futex_wake(ptr noundef %3, i32 noundef 1)
ret i32 0
}
declare i32 @futex_wake(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/tmpt336hl1w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wake_single(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 @futex_wake(ptr noundef %3, i32 noundef 1)
ret i32 0
}
declare i32 @futex_wake(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/tmp8qfo6h74.c'
source_filename = "/tmp/tmp8qfo6h74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotate(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%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 i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %16, %18
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
store ptr %21, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %22
22: ; preds = %58, %3
%23 = load i32, ptr %9, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %61
26: ; preds = %22
store i32 0, ptr %10, align 4
br label %27
27: ; preds = %54, %26
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %5, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %57
31: ; preds = %27
%32 = load ptr, ptr %7, align 8
%33 = load i32, ptr %5, align 4
%34 = load i32, ptr %10, align 4
%35 = sub nsw i32 %33, %34
%36 = sub nsw i32 %35, 1
%37 = load i32, ptr %6, align 4
%38 = mul nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %32, i64 %39
%41 = load i32, ptr %9, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i32, ptr %40, i64 %42
%44 = load i32, ptr %43, align 4
%45 = load ptr, ptr %8, align 8
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %5, align 4
%48 = mul nsw i32 %46, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %45, i64 %49
%51 = load i32, ptr %10, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
store i32 %44, ptr %53, align 4
br label %54
54: ; preds = %31
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %10, align 4
br label %27, !llvm.loop !6
57: ; preds = %27
br label %58
58: ; preds = %57
%59 = load i32, ptr %9, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %9, align 4
br label %22, !llvm.loop !8
61: ; preds = %22
store i32 0, ptr %11, align 4
br label %62
62: ; preds = %95, %61
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %5, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %66, label %98
66: ; preds = %62
store i32 0, ptr %12, align 4
br label %67
67: ; preds = %91, %66
%68 = load i32, ptr %12, align 4
%69 = load i32, ptr %6, align 4
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %94
71: ; preds = %67
%72 = load ptr, ptr %8, align 8
%73 = load i32, ptr %11, align 4
%74 = load i32, ptr %6, align 4
%75 = mul nsw i32 %73, %74
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds i32, ptr %72, i64 %76
%78 = load i32, ptr %12, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i32, ptr %77, i64 %79
%81 = load i32, ptr %80, align 4
%82 = load ptr, ptr %7, align 8
%83 = load i32, ptr %11, align 4
%84 = load i32, ptr %6, align 4
%85 = mul nsw i32 %83, %84
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %82, i64 %86
%88 = load i32, ptr %12, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds i32, ptr %87, i64 %89
store i32 %81, ptr %90, align 4
br label %91
91: ; preds = %71
%92 = load i32, ptr %12, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %12, align 4
br label %67, !llvm.loop !9
94: ; preds = %67
br label %95
95: ; preds = %94
%96 = load i32, ptr %11, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %11, align 4
br label %62, !llvm.loop !10
98: ; preds = %62
%99 = load ptr, ptr %8, align 8
%100 = call i32 @free(ptr noundef %99)
ret void
}
declare ptr @malloc(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"}
!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/tmp8qfo6h74.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rotate(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 ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%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 i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = mul i64 4, %15
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %16, %18
%20 = trunc i64 %19 to i32
%21 = call ptr @malloc(i32 noundef %20)
store ptr %21, ptr %8, align 8
store i32 0, ptr %9, align 4
%22 = load i32, ptr %9, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph2, label %65
.lr.ph2: ; preds = %3
br label %25
25: ; preds = %.lr.ph2, %59
store i32 0, ptr %10, align 4
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %5, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %.lr.ph, label %58
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %52
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %5, align 4
%32 = load i32, ptr %10, align 4
%33 = sub nsw i32 %31, %32
%34 = sub nsw i32 %33, 1
%35 = load i32, ptr %6, align 4
%36 = mul nsw i32 %34, %35
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i32, ptr %30, i64 %37
%39 = load i32, ptr %9, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load ptr, ptr %8, align 8
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %5, align 4
%46 = mul nsw i32 %44, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %43, i64 %47
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %42, ptr %51, align 4
br label %52
52: ; preds = %29
%53 = load i32, ptr %10, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %10, align 4
%55 = load i32, ptr %10, align 4
%56 = load i32, ptr %5, align 4
%57 = icmp slt i32 %55, %56
br i1 %57, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %52
br label %58
58: ; preds = %._crit_edge, %25
br label %59
59: ; preds = %58
%60 = load i32, ptr %9, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %9, align 4
%62 = load i32, ptr %9, align 4
%63 = load i32, ptr %6, align 4
%64 = icmp slt i32 %62, %63
br i1 %64, label %25, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %59
br label %65
65: ; preds = %._crit_edge3, %3
store i32 0, ptr %11, align 4
%66 = load i32, ptr %11, align 4
%67 = load i32, ptr %5, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %.lr.ph8, label %106
.lr.ph8: ; preds = %65
br label %69
69: ; preds = %.lr.ph8, %100
store i32 0, ptr %12, align 4
%70 = load i32, ptr %12, align 4
%71 = load i32, ptr %6, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %.lr.ph5, label %99
.lr.ph5: ; preds = %69
br label %73
73: ; preds = %.lr.ph5, %93
%74 = load ptr, ptr %8, align 8
%75 = load i32, ptr %11, align 4
%76 = load i32, ptr %6, align 4
%77 = mul nsw i32 %75, %76
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %74, i64 %78
%80 = load i32, ptr %12, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
%83 = load i32, ptr %82, align 4
%84 = load ptr, ptr %7, align 8
%85 = load i32, ptr %11, align 4
%86 = load i32, ptr %6, align 4
%87 = mul nsw i32 %85, %86
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %84, i64 %88
%90 = load i32, ptr %12, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
store i32 %83, ptr %92, align 4
br label %93
93: ; preds = %73
%94 = load i32, ptr %12, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %12, align 4
%96 = load i32, ptr %12, align 4
%97 = load i32, ptr %6, align 4
%98 = icmp slt i32 %96, %97
br i1 %98, label %73, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %93
br label %99
99: ; preds = %._crit_edge6, %69
br label %100
100: ; preds = %99
%101 = load i32, ptr %11, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %11, align 4
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %5, align 4
%105 = icmp slt i32 %103, %104
br i1 %105, label %69, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %100
br label %106
106: ; preds = %._crit_edge9, %65
%107 = load ptr, ptr %8, align 8
%108 = call i32 @free(ptr noundef %107)
ret void
}
declare ptr @malloc(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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpm3y7zuqg.c'
source_filename = "/tmp/tmpm3y7zuqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"int foo%04x (void) { return %d; }\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %17, %0
%4 = load i32, ptr %2, align 4
%5 = icmp slt i32 %4, 65536
br i1 %5, label %6, label %20
6: ; preds = %3
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = and i32 %8, 31
%10 = icmp eq i32 %9, 0
br i1 %10, label %11, label %12
11: ; preds = %6
br label %14
12: ; preds = %6
%13 = load i32, ptr %2, align 4
br label %14
14: ; preds = %12, %11
%15 = phi i32 [ 0, %11 ], [ %13, %12 ]
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %15)
br label %17
17: ; preds = %14
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %3, !llvm.loop !6
20: ; preds = %3
%21 = load i32, ptr %1, align 4
ret i32 %21
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm3y7zuqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"int foo%04x (void) { return %d; }\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 65536
br i1 %4, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %16
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = and i32 %7, 31
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %11
10: ; preds = %5
br label %13
11: ; preds = %5
%12 = load i32, ptr %2, align 4
br label %13
13: ; preds = %11, %10
%14 = phi i32 [ 0, %10 ], [ %12, %11 ]
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %14)
br label %16
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 65536
br i1 %20, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcdlyiejy.c'
source_filename = "/tmp/tmpcdlyiejy.c"
target datalayout = "e-m:e-p270: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/tmpcdlyiejy.c"
target datalayout = "e-m:e-p270: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/tmpqt57fehs.c'
source_filename = "/tmp/tmpqt57fehs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @minstack_print_message(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqt57fehs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @minstack_print_message(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
store ptr %4, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @printf(ptr noundef @.str, ptr noundef %5)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5112vbkz.c'
source_filename = "/tmp/tmp5112vbkz.c"
target datalayout = "e-m:e-p270: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/tmp5112vbkz.c"
target datalayout = "e-m:e-p270: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/tmpe5c6q62_.c'
source_filename = "/tmp/tmpe5c6q62_.c"
target datalayout = "e-m:e-p270: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/tmpe5c6q62_.c"
target datalayout = "e-m:e-p270: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/tmp97_241tp.c'
source_filename = "/tmp/tmp97_241tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lltos(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 56
%7 = trunc i32 %6 to i8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 %7, ptr %9, align 1
%10 = load i32, ptr %4, align 4
%11 = ashr i32 %10, 48
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 %12, ptr %14, align 1
%15 = load i32, ptr %4, align 4
%16 = ashr i32 %15, 40
%17 = trunc i32 %16 to i8
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
store i8 %17, ptr %19, align 1
%20 = load i32, ptr %4, align 4
%21 = ashr i32 %20, 32
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 3
store i8 %22, ptr %24, align 1
%25 = load i32, ptr %4, align 4
%26 = ashr i32 %25, 24
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 4
store i8 %27, ptr %29, align 1
%30 = load i32, ptr %4, align 4
%31 = ashr i32 %30, 16
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 5
store i8 %32, ptr %34, align 1
%35 = load i32, ptr %4, align 4
%36 = ashr i32 %35, 8
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 6
store i8 %37, ptr %39, align 1
%40 = load i32, ptr %4, align 4
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 7
store i8 %41, ptr %43, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp97_241tp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lltos(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = ashr i32 %5, 56
%7 = trunc i32 %6 to i8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
store i8 %7, ptr %9, align 1
%10 = load i32, ptr %4, align 4
%11 = ashr i32 %10, 48
%12 = trunc i32 %11 to i8
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i8, ptr %13, i64 1
store i8 %12, ptr %14, align 1
%15 = load i32, ptr %4, align 4
%16 = ashr i32 %15, 40
%17 = trunc i32 %16 to i8
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i8, ptr %18, i64 2
store i8 %17, ptr %19, align 1
%20 = load i32, ptr %4, align 4
%21 = ashr i32 %20, 32
%22 = trunc i32 %21 to i8
%23 = load ptr, ptr %3, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 3
store i8 %22, ptr %24, align 1
%25 = load i32, ptr %4, align 4
%26 = ashr i32 %25, 24
%27 = trunc i32 %26 to i8
%28 = load ptr, ptr %3, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 4
store i8 %27, ptr %29, align 1
%30 = load i32, ptr %4, align 4
%31 = ashr i32 %30, 16
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 5
store i8 %32, ptr %34, align 1
%35 = load i32, ptr %4, align 4
%36 = ashr i32 %35, 8
%37 = trunc i32 %36 to i8
%38 = load ptr, ptr %3, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 6
store i8 %37, ptr %39, align 1
%40 = load i32, ptr %4, align 4
%41 = trunc i32 %40 to i8
%42 = load ptr, ptr %3, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 7
store i8 %41, ptr %43, align 1
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe8573ve2.c'
source_filename = "/tmp/tmpe8573ve2.c"
target datalayout = "e-m:e-p270: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/tmpe8573ve2.c"
target datalayout = "e-m:e-p270: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/tmp4wiib4ez.c'
source_filename = "/tmp/tmp4wiib4ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inotify_watch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @inotify_backend_watch(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @inotify_map(i32 noundef %9, ptr noundef %10)
br label %12
12: ; preds = %8, %1
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @inotify_backend_watch(ptr noundef) #1
declare i32 @inotify_map(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/tmp4wiib4ez.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @inotify_watch(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @inotify_backend_watch(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load i32, ptr %3, align 4
%10 = load ptr, ptr %2, align 8
%11 = call i32 @inotify_map(i32 noundef %9, ptr noundef %10)
br label %12
12: ; preds = %8, %1
%13 = load i32, ptr %3, align 4
ret i32 %13
}
declare i32 @inotify_backend_watch(ptr noundef) #1
declare i32 @inotify_map(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/tmpp97dad0f.c'
source_filename = "/tmp/tmpp97dad0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log1minusbetai(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%9 = load double, ptr %7, align 8
%10 = fcmp olt double %9, 0.000000e+00
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load double, ptr %7, align 8
%13 = fcmp ogt double %12, 1.000000e+00
br i1 %13, label %14, label %15
14: ; preds = %11, %3
store double 0.000000e+00, ptr %4, align 8
br label %75
15: ; preds = %11
%16 = load double, ptr %7, align 8
%17 = fcmp oeq double %16, 0.000000e+00
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load double, ptr %7, align 8
%20 = fcmp oeq double %19, 1.000000e+00
br i1 %20, label %21, label %22
21: ; preds = %18, %15
store double 0.000000e+00, ptr %8, align 8
br label %42
22: ; preds = %18
%23 = load double, ptr %5, align 8
%24 = load double, ptr %6, align 8
%25 = fadd double %23, %24
%26 = call double @gammln(double noundef %25)
%27 = load double, ptr %5, align 8
%28 = call double @gammln(double noundef %27)
%29 = fsub double %26, %28
%30 = load double, ptr %6, align 8
%31 = call double @gammln(double noundef %30)
%32 = fsub double %29, %31
%33 = load double, ptr %5, align 8
%34 = load double, ptr %7, align 8
%35 = call double @log(double noundef %34) #4
%36 = call double @llvm.fmuladd.f64(double %33, double %35, double %32)
%37 = load double, ptr %6, align 8
%38 = load double, ptr %7, align 8
%39 = fsub double 1.000000e+00, %38
%40 = call double @log(double noundef %39) #4
%41 = call double @llvm.fmuladd.f64(double %37, double %40, double %36)
store double %41, ptr %8, align 8
br label %42
42: ; preds = %22, %21
%43 = load double, ptr %7, align 8
%44 = load double, ptr %5, align 8
%45 = fadd double %44, 1.000000e+00
%46 = load double, ptr %5, align 8
%47 = load double, ptr %6, align 8
%48 = fadd double %46, %47
%49 = fadd double %48, 2.000000e+00
%50 = fdiv double %45, %49
%51 = fcmp olt double %43, %50
br i1 %51, label %52, label %64
52: ; preds = %42
%53 = load double, ptr %8, align 8
%54 = call double @exp(double noundef %53) #4
%55 = load double, ptr %5, align 8
%56 = load double, ptr %6, align 8
%57 = load double, ptr %7, align 8
%58 = call double @betacf(double noundef %55, double noundef %56, double noundef %57)
%59 = fmul double %54, %58
%60 = load double, ptr %5, align 8
%61 = fdiv double %59, %60
%62 = fsub double 1.000000e+00, %61
%63 = call double @log(double noundef %62) #4
store double %63, ptr %4, align 8
br label %75
64: ; preds = %42
%65 = load double, ptr %8, align 8
%66 = load double, ptr %6, align 8
%67 = load double, ptr %5, align 8
%68 = load double, ptr %7, align 8
%69 = fsub double 1.000000e+00, %68
%70 = call double @lbetacf(double noundef %66, double noundef %67, double noundef %69)
%71 = fadd double %65, %70
%72 = load double, ptr %6, align 8
%73 = call double @log(double noundef %72) #4
%74 = fsub double %71, %73
store double %74, ptr %4, align 8
br label %75
75: ; preds = %64, %52, %14
%76 = load double, ptr %4, align 8
ret double %76
}
declare double @gammln(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare double @betacf(double noundef, double noundef, double noundef) #1
declare double @lbetacf(double noundef, double 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" }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp97dad0f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @log1minusbetai(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
%9 = load double, ptr %7, align 8
%10 = fcmp olt double %9, 0.000000e+00
br i1 %10, label %14, label %11
11: ; preds = %3
%12 = load double, ptr %7, align 8
%13 = fcmp ogt double %12, 1.000000e+00
br i1 %13, label %14, label %15
14: ; preds = %11, %3
store double 0.000000e+00, ptr %4, align 8
br label %75
15: ; preds = %11
%16 = load double, ptr %7, align 8
%17 = fcmp oeq double %16, 0.000000e+00
br i1 %17, label %21, label %18
18: ; preds = %15
%19 = load double, ptr %7, align 8
%20 = fcmp oeq double %19, 1.000000e+00
br i1 %20, label %21, label %22
21: ; preds = %18, %15
store double 0.000000e+00, ptr %8, align 8
br label %42
22: ; preds = %18
%23 = load double, ptr %5, align 8
%24 = load double, ptr %6, align 8
%25 = fadd double %23, %24
%26 = call double @gammln(double noundef %25)
%27 = load double, ptr %5, align 8
%28 = call double @gammln(double noundef %27)
%29 = fsub double %26, %28
%30 = load double, ptr %6, align 8
%31 = call double @gammln(double noundef %30)
%32 = fsub double %29, %31
%33 = load double, ptr %5, align 8
%34 = load double, ptr %7, align 8
%35 = call double @log(double noundef %34) #4
%36 = call double @llvm.fmuladd.f64(double %33, double %35, double %32)
%37 = load double, ptr %6, align 8
%38 = load double, ptr %7, align 8
%39 = fsub double 1.000000e+00, %38
%40 = call double @log(double noundef %39) #4
%41 = call double @llvm.fmuladd.f64(double %37, double %40, double %36)
store double %41, ptr %8, align 8
br label %42
42: ; preds = %22, %21
%43 = load double, ptr %7, align 8
%44 = load double, ptr %5, align 8
%45 = fadd double %44, 1.000000e+00
%46 = load double, ptr %5, align 8
%47 = load double, ptr %6, align 8
%48 = fadd double %46, %47
%49 = fadd double %48, 2.000000e+00
%50 = fdiv double %45, %49
%51 = fcmp olt double %43, %50
br i1 %51, label %52, label %64
52: ; preds = %42
%53 = load double, ptr %8, align 8
%54 = call double @exp(double noundef %53) #4
%55 = load double, ptr %5, align 8
%56 = load double, ptr %6, align 8
%57 = load double, ptr %7, align 8
%58 = call double @betacf(double noundef %55, double noundef %56, double noundef %57)
%59 = fmul double %54, %58
%60 = load double, ptr %5, align 8
%61 = fdiv double %59, %60
%62 = fsub double 1.000000e+00, %61
%63 = call double @log(double noundef %62) #4
store double %63, ptr %4, align 8
br label %75
64: ; preds = %42
%65 = load double, ptr %8, align 8
%66 = load double, ptr %6, align 8
%67 = load double, ptr %5, align 8
%68 = load double, ptr %7, align 8
%69 = fsub double 1.000000e+00, %68
%70 = call double @lbetacf(double noundef %66, double noundef %67, double noundef %69)
%71 = fadd double %65, %70
%72 = load double, ptr %6, align 8
%73 = call double @log(double noundef %72) #4
%74 = fsub double %71, %73
store double %74, ptr %4, align 8
br label %75
75: ; preds = %64, %52, %14
%76 = load double, ptr %4, align 8
ret double %76
}
declare double @gammln(double noundef) #1
; Function Attrs: nounwind
declare double @log(double noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
; Function Attrs: nounwind
declare double @exp(double noundef) #2
declare double @betacf(double noundef, double noundef, double noundef) #1
declare double @lbetacf(double noundef, double 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" }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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"}
|
; ModuleID = '/tmp/tmpnsx2wxjt.c'
source_filename = "/tmp/tmpnsx2wxjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display(i8 noundef signext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %9
9: ; preds = %26, %3
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp sle i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
store i32 1, ptr %8, align 4
br label %14
14: ; preds = %21, %13
%15 = load i32, ptr %8, align 4
%16 = load i32, ptr %6, align 4
%17 = icmp sle i32 %15, %16
br i1 %17, label %18, label %24
18: ; preds = %14
%19 = load i8, ptr %4, align 1
%20 = call i32 @putchar(i8 noundef signext %19)
br label %21
21: ; preds = %18
%22 = load i32, ptr %8, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %8, align 4
br label %14, !llvm.loop !6
24: ; preds = %14
%25 = call i32 @putchar(i8 noundef signext 10)
br label %26
26: ; preds = %24
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
br label %9, !llvm.loop !8
29: ; preds = %9
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnsx2wxjt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @display(i8 noundef signext %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i8 %0, ptr %4, align 1
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 1, ptr %7, align 4
%9 = load i32, ptr %7, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %.lr.ph2, label %33
.lr.ph2: ; preds = %3
br label %12
12: ; preds = %.lr.ph2, %27
store i32 1, ptr %8, align 4
%13 = load i32, ptr %8, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %.lr.ph, label %25
.lr.ph: ; preds = %12
br label %16
16: ; preds = %.lr.ph, %19
%17 = load i8, ptr %4, align 1
%18 = call i32 @putchar(i8 noundef signext %17)
br label %19
19: ; preds = %16
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %8, align 4
%22 = load i32, ptr %8, align 4
%23 = load i32, ptr %6, align 4
%24 = icmp sle i32 %22, %23
br i1 %24, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %12
%26 = call i32 @putchar(i8 noundef signext 10)
br label %27
27: ; preds = %25
%28 = load i32, ptr %7, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %7, align 4
%30 = load i32, ptr %7, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %12, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %33
33: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_3at7avj.c'
source_filename = "/tmp/tmp_3at7avj.c"
target datalayout = "e-m:e-p270: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_3at7avj.c"
target datalayout = "e-m:e-p270: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/tmpzkduy1fi.c'
source_filename = "/tmp/tmpzkduy1fi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdb_exited() #0 {
%1 = call ptr @make_return_packet(i32 noundef 0)
ret ptr %1
}
declare ptr @make_return_packet(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/tmpzkduy1fi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gdb_exited() #0 {
%1 = call ptr @make_return_packet(i32 noundef 0)
ret ptr %1
}
declare ptr @make_return_packet(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/tmpginp38bs.c'
source_filename = "/tmp/tmpginp38bs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reject_cr_psf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, float noundef %4, ptr noundef %5, float noundef %6, float noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca ptr, align 8
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca [3 x [3 x float]], align 16
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
store ptr %0, ptr %11, align 8
store ptr %1, ptr %12, align 8
store i32 %2, ptr %13, align 4
store i32 %3, ptr %14, align 4
store float %4, ptr %15, align 4
store ptr %5, ptr %16, align 8
store float %6, ptr %17, align 4
store float %7, ptr %18, align 4
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%32 = call i64 @malloc(i32 noundef 16)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %21, align 8
%34 = call i64 @malloc(i32 noundef 16)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %22, align 8
store i32 1, ptr %29, align 4
br label %36
36: ; preds = %772, %10
%37 = load i32, ptr %29, align 4
%38 = load i32, ptr %14, align 4
%39 = sub nsw i32 %38, 1
%40 = icmp slt i32 %37, %39
br i1 %40, label %41, label %775
41: ; preds = %36
store i32 1, ptr %28, align 4
br label %42
42: ; preds = %768, %41
%43 = load i32, ptr %28, align 4
%44 = load i32, ptr %13, align 4
%45 = sub nsw i32 %44, 1
%46 = icmp slt i32 %43, %45
br i1 %46, label %47, label %771
47: ; preds = %42
%48 = load ptr, ptr %19, align 8
%49 = load i32, ptr %29, align 4
%50 = load i32, ptr %13, align 4
%51 = mul nsw i32 %49, %50
%52 = load i32, ptr %28, align 4
%53 = add nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %48, i64 %54
store i32 0, ptr %55, align 4
%56 = load ptr, ptr %12, align 8
%57 = load i32, ptr %29, align 4
%58 = load i32, ptr %13, align 4
%59 = mul nsw i32 %57, %58
%60 = load i32, ptr %28, align 4
%61 = add nsw i32 %59, %60
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds float, ptr %56, i64 %62
%64 = load float, ptr %63, align 4
%65 = fpext float %64 to double
%66 = fcmp ogt double %65, 0.000000e+00
br i1 %66, label %67, label %767
67: ; preds = %47
%68 = load ptr, ptr %20, align 8
%69 = load i32, ptr %29, align 4
%70 = load i32, ptr %13, align 4
%71 = mul nsw i32 %69, %70
%72 = load i32, ptr %28, align 4
%73 = add nsw i32 %71, %72
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %68, i64 %74
%76 = load i32, ptr %75, align 4
%77 = icmp eq i32 %76, 0
br i1 %77, label %78, label %767
78: ; preds = %67
%79 = load ptr, ptr %12, align 8
%80 = load i32, ptr %29, align 4
%81 = load i32, ptr %13, align 4
%82 = mul nsw i32 %80, %81
%83 = load i32, ptr %28, align 4
%84 = add nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds float, ptr %79, i64 %85
%87 = load float, ptr %86, align 4
%88 = call float @sqrt(float noundef %87)
store float %88, ptr %26, align 4
%89 = load ptr, ptr %11, align 8
%90 = load i32, ptr %29, align 4
%91 = load i32, ptr %13, align 4
%92 = mul nsw i32 %90, %91
%93 = load i32, ptr %28, align 4
%94 = add nsw i32 %92, %93
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds float, ptr %89, i64 %95
%97 = load float, ptr %96, align 4
store float %97, ptr %23, align 4
%98 = load float, ptr %26, align 4
%99 = load float, ptr %23, align 4
%100 = fmul float %98, %99
store float %100, ptr %24, align 4
store i32 -1, ptr %30, align 4
br label %101
101: ; preds = %138, %78
%102 = load i32, ptr %30, align 4
%103 = icmp sle i32 %102, 1
br i1 %103, label %104, label %141
104: ; preds = %101
store i32 -1, ptr %31, align 4
br label %105
105: ; preds = %134, %104
%106 = load i32, ptr %31, align 4
%107 = icmp sle i32 %106, 1
br i1 %107, label %108, label %137
108: ; preds = %105
%109 = load ptr, ptr %12, align 8
%110 = load i32, ptr %29, align 4
%111 = load i32, ptr %31, align 4
%112 = add nsw i32 %110, %111
%113 = load i32, ptr %13, align 4
%114 = mul nsw i32 %112, %113
%115 = load i32, ptr %28, align 4
%116 = load i32, ptr %30, align 4
%117 = add nsw i32 %115, %116
%118 = add nsw i32 %114, %117
%119 = sext i32 %118 to i64
%120 = getelementptr inbounds float, ptr %109, i64 %119
%121 = load float, ptr %120, align 4
%122 = fpext float %121 to double
%123 = fcmp ogt double %122, 0.000000e+00
%124 = zext i1 %123 to i32
%125 = sitofp i32 %124 to float
%126 = load i32, ptr %31, align 4
%127 = add nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 %128
%130 = load i32, ptr %30, align 4
%131 = add nsw i32 %130, 1
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [3 x float], ptr %129, i64 0, i64 %132
store float %125, ptr %133, align 4
br label %134
134: ; preds = %108
%135 = load i32, ptr %31, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %31, align 4
br label %105, !llvm.loop !6
137: ; preds = %105
br label %138
138: ; preds = %137
%139 = load i32, ptr %30, align 4
%140 = add nsw i32 %139, 1
store i32 %140, ptr %30, align 4
br label %101, !llvm.loop !8
141: ; preds = %101
%142 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%143 = getelementptr inbounds [3 x float], ptr %142, i64 0, i64 0
%144 = load float, ptr %143, align 4
%145 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%146 = getelementptr inbounds [3 x float], ptr %145, i64 0, i64 2
%147 = load float, ptr %146, align 4
%148 = fadd float %144, %147
%149 = fcmp ogt float %148, 0.000000e+00
br i1 %149, label %150, label %199
150: ; preds = %141
%151 = load ptr, ptr %11, align 8
%152 = load i32, ptr %29, align 4
%153 = load i32, ptr %13, align 4
%154 = mul nsw i32 %152, %153
%155 = load i32, ptr %28, align 4
%156 = sub nsw i32 %155, 1
%157 = add nsw i32 %154, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, ptr %151, i64 %158
%160 = load float, ptr %159, align 4
%161 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%162 = getelementptr inbounds [3 x float], ptr %161, i64 0, i64 0
%163 = load float, ptr %162, align 4
%164 = load ptr, ptr %11, align 8
%165 = load i32, ptr %29, align 4
%166 = load i32, ptr %13, align 4
%167 = mul nsw i32 %165, %166
%168 = load i32, ptr %28, align 4
%169 = add nsw i32 %168, 1
%170 = add nsw i32 %167, %169
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds float, ptr %164, i64 %171
%173 = load float, ptr %172, align 4
%174 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%175 = getelementptr inbounds [3 x float], ptr %174, i64 0, i64 2
%176 = load float, ptr %175, align 4
%177 = fmul float %173, %176
%178 = call float @llvm.fmuladd.f32(float %160, float %163, float %177)
%179 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%180 = getelementptr inbounds [3 x float], ptr %179, i64 0, i64 0
%181 = load float, ptr %180, align 4
%182 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%183 = getelementptr inbounds [3 x float], ptr %182, i64 0, i64 2
%184 = load float, ptr %183, align 4
%185 = fadd float %181, %184
%186 = fdiv float %178, %185
%187 = load ptr, ptr %22, align 8
%188 = getelementptr inbounds float, ptr %187, i64 0
store float %186, ptr %188, align 4
%189 = load float, ptr %24, align 4
%190 = load ptr, ptr %22, align 8
%191 = getelementptr inbounds float, ptr %190, i64 0
%192 = load float, ptr %191, align 4
%193 = load float, ptr %26, align 4
%194 = load float, ptr %15, align 4
%195 = call float @llvm.fmuladd.f32(float %192, float %193, float %194)
%196 = fcmp olt float %189, %195
br i1 %196, label %197, label %198
197: ; preds = %150
br label %768
198: ; preds = %150
br label %199
199: ; preds = %198, %141
%200 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%201 = getelementptr inbounds [3 x float], ptr %200, i64 0, i64 1
%202 = load float, ptr %201, align 4
%203 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%204 = getelementptr inbounds [3 x float], ptr %203, i64 0, i64 1
%205 = load float, ptr %204, align 4
%206 = fadd float %202, %205
%207 = fcmp ogt float %206, 0.000000e+00
br i1 %207, label %208, label %257
208: ; preds = %199
%209 = load ptr, ptr %11, align 8
%210 = load i32, ptr %29, align 4
%211 = sub nsw i32 %210, 1
%212 = load i32, ptr %13, align 4
%213 = mul nsw i32 %211, %212
%214 = load i32, ptr %28, align 4
%215 = add nsw i32 %213, %214
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds float, ptr %209, i64 %216
%218 = load float, ptr %217, align 4
%219 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%220 = getelementptr inbounds [3 x float], ptr %219, i64 0, i64 1
%221 = load float, ptr %220, align 4
%222 = load ptr, ptr %11, align 8
%223 = load i32, ptr %29, align 4
%224 = add nsw i32 %223, 1
%225 = load i32, ptr %13, align 4
%226 = mul nsw i32 %224, %225
%227 = load i32, ptr %28, align 4
%228 = add nsw i32 %226, %227
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds float, ptr %222, i64 %229
%231 = load float, ptr %230, align 4
%232 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%233 = getelementptr inbounds [3 x float], ptr %232, i64 0, i64 1
%234 = load float, ptr %233, align 4
%235 = fmul float %231, %234
%236 = call float @llvm.fmuladd.f32(float %218, float %221, float %235)
%237 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%238 = getelementptr inbounds [3 x float], ptr %237, i64 0, i64 1
%239 = load float, ptr %238, align 4
%240 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%241 = getelementptr inbounds [3 x float], ptr %240, i64 0, i64 1
%242 = load float, ptr %241, align 4
%243 = fadd float %239, %242
%244 = fdiv float %236, %243
%245 = load ptr, ptr %22, align 8
%246 = getelementptr inbounds float, ptr %245, i64 1
store float %244, ptr %246, align 4
%247 = load float, ptr %24, align 4
%248 = load ptr, ptr %22, align 8
%249 = getelementptr inbounds float, ptr %248, i64 1
%250 = load float, ptr %249, align 4
%251 = load float, ptr %26, align 4
%252 = load float, ptr %15, align 4
%253 = call float @llvm.fmuladd.f32(float %250, float %251, float %252)
%254 = fcmp olt float %247, %253
br i1 %254, label %255, label %256
255: ; preds = %208
br label %768
256: ; preds = %208
br label %257
257: ; preds = %256, %199
%258 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%259 = getelementptr inbounds [3 x float], ptr %258, i64 0, i64 0
%260 = load float, ptr %259, align 16
%261 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%262 = getelementptr inbounds [3 x float], ptr %261, i64 0, i64 2
%263 = load float, ptr %262, align 8
%264 = fadd float %260, %263
%265 = fcmp ogt float %264, 0.000000e+00
br i1 %265, label %266, label %317
266: ; preds = %257
%267 = load ptr, ptr %11, align 8
%268 = load i32, ptr %29, align 4
%269 = sub nsw i32 %268, 1
%270 = load i32, ptr %13, align 4
%271 = mul nsw i32 %269, %270
%272 = load i32, ptr %28, align 4
%273 = sub nsw i32 %272, 1
%274 = add nsw i32 %271, %273
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds float, ptr %267, i64 %275
%277 = load float, ptr %276, align 4
%278 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%279 = getelementptr inbounds [3 x float], ptr %278, i64 0, i64 0
%280 = load float, ptr %279, align 16
%281 = load ptr, ptr %11, align 8
%282 = load i32, ptr %29, align 4
%283 = add nsw i32 %282, 1
%284 = load i32, ptr %13, align 4
%285 = mul nsw i32 %283, %284
%286 = load i32, ptr %28, align 4
%287 = add nsw i32 %286, 1
%288 = add nsw i32 %285, %287
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds float, ptr %281, i64 %289
%291 = load float, ptr %290, align 4
%292 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%293 = getelementptr inbounds [3 x float], ptr %292, i64 0, i64 2
%294 = load float, ptr %293, align 8
%295 = fmul float %291, %294
%296 = call float @llvm.fmuladd.f32(float %277, float %280, float %295)
%297 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%298 = getelementptr inbounds [3 x float], ptr %297, i64 0, i64 0
%299 = load float, ptr %298, align 16
%300 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%301 = getelementptr inbounds [3 x float], ptr %300, i64 0, i64 2
%302 = load float, ptr %301, align 8
%303 = fadd float %299, %302
%304 = fdiv float %296, %303
%305 = load ptr, ptr %22, align 8
%306 = getelementptr inbounds float, ptr %305, i64 2
store float %304, ptr %306, align 4
%307 = load float, ptr %24, align 4
%308 = load ptr, ptr %22, align 8
%309 = getelementptr inbounds float, ptr %308, i64 2
%310 = load float, ptr %309, align 4
%311 = load float, ptr %26, align 4
%312 = load float, ptr %15, align 4
%313 = call float @llvm.fmuladd.f32(float %310, float %311, float %312)
%314 = fcmp olt float %307, %313
br i1 %314, label %315, label %316
315: ; preds = %266
br label %768
316: ; preds = %266
br label %317
317: ; preds = %316, %257
%318 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%319 = getelementptr inbounds [3 x float], ptr %318, i64 0, i64 0
%320 = load float, ptr %319, align 8
%321 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%322 = getelementptr inbounds [3 x float], ptr %321, i64 0, i64 2
%323 = load float, ptr %322, align 8
%324 = fadd float %320, %323
%325 = fcmp ogt float %324, 0.000000e+00
br i1 %325, label %326, label %380
326: ; preds = %317
%327 = load ptr, ptr %11, align 8
%328 = load i32, ptr %29, align 4
%329 = add nsw i32 %328, 1
%330 = load i32, ptr %13, align 4
%331 = mul nsw i32 %329, %330
%332 = load i32, ptr %28, align 4
%333 = sub nsw i32 %332, 1
%334 = add nsw i32 %331, %333
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds float, ptr %327, i64 %335
%337 = load float, ptr %336, align 4
%338 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%339 = getelementptr inbounds [3 x float], ptr %338, i64 0, i64 0
%340 = load float, ptr %339, align 8
%341 = load ptr, ptr %11, align 8
%342 = load i32, ptr %29, align 4
%343 = sub nsw i32 %342, 1
%344 = load i32, ptr %13, align 4
%345 = mul nsw i32 %343, %344
%346 = load i32, ptr %28, align 4
%347 = add nsw i32 %346, 1
%348 = add nsw i32 %345, %347
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds float, ptr %341, i64 %349
%351 = load float, ptr %350, align 4
%352 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%353 = getelementptr inbounds [3 x float], ptr %352, i64 0, i64 2
%354 = load float, ptr %353, align 8
%355 = fmul float %351, %354
%356 = call float @llvm.fmuladd.f32(float %337, float %340, float %355)
%357 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%358 = getelementptr inbounds [3 x float], ptr %357, i64 0, i64 0
%359 = load float, ptr %358, align 8
%360 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%361 = getelementptr inbounds [3 x float], ptr %360, i64 0, i64 2
%362 = load float, ptr %361, align 8
%363 = fadd float %359, %362
%364 = fdiv float %356, %363
%365 = load ptr, ptr %22, align 8
%366 = getelementptr inbounds float, ptr %365, i64 3
store float %364, ptr %366, align 4
%367 = load float, ptr %24, align 4
%368 = load ptr, ptr %22, align 8
%369 = getelementptr inbounds float, ptr %368, i64 3
%370 = load float, ptr %369, align 4
%371 = load float, ptr %26, align 4
%372 = load float, ptr %15, align 4
%373 = call float @llvm.fmuladd.f32(float %370, float %371, float %372)
%374 = fcmp olt float %367, %373
br i1 %374, label %375, label %376
375: ; preds = %326
br label %768
376: ; preds = %326
%377 = load float, ptr %26, align 4
%378 = load float, ptr %23, align 4
%379 = fmul float %377, %378
store float %379, ptr %24, align 4
br label %380
380: ; preds = %376, %317
%381 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%382 = getelementptr inbounds [3 x float], ptr %381, i64 0, i64 0
%383 = load float, ptr %382, align 4
%384 = fpext float %383 to double
%385 = load ptr, ptr %12, align 8
%386 = load i32, ptr %29, align 4
%387 = load i32, ptr %13, align 4
%388 = mul nsw i32 %386, %387
%389 = load i32, ptr %28, align 4
%390 = sub nsw i32 %389, 1
%391 = add nsw i32 %388, %390
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds float, ptr %385, i64 %392
%394 = load float, ptr %393, align 4
%395 = fpext float %394 to double
%396 = fadd double %395, 1.000000e+00
%397 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%398 = getelementptr inbounds [3 x float], ptr %397, i64 0, i64 0
%399 = load float, ptr %398, align 4
%400 = fpext float %399 to double
%401 = fsub double %396, %400
%402 = fdiv double %384, %401
%403 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%404 = getelementptr inbounds [3 x float], ptr %403, i64 0, i64 2
%405 = load float, ptr %404, align 4
%406 = fpext float %405 to double
%407 = load ptr, ptr %12, align 8
%408 = load i32, ptr %29, align 4
%409 = load i32, ptr %13, align 4
%410 = mul nsw i32 %408, %409
%411 = load i32, ptr %28, align 4
%412 = add nsw i32 %411, 1
%413 = add nsw i32 %410, %412
%414 = sext i32 %413 to i64
%415 = getelementptr inbounds float, ptr %407, i64 %414
%416 = load float, ptr %415, align 4
%417 = fpext float %416 to double
%418 = fadd double %417, 1.000000e+00
%419 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%420 = getelementptr inbounds [3 x float], ptr %419, i64 0, i64 2
%421 = load float, ptr %420, align 4
%422 = fpext float %421 to double
%423 = fsub double %418, %422
%424 = fdiv double %406, %423
%425 = fadd double %402, %424
%426 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%427 = getelementptr inbounds [3 x float], ptr %426, i64 0, i64 0
%428 = load float, ptr %427, align 4
%429 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%430 = getelementptr inbounds [3 x float], ptr %429, i64 0, i64 2
%431 = load float, ptr %430, align 4
%432 = fadd float %428, %431
%433 = fpext float %432 to double
%434 = fdiv double %425, %433
%435 = fptrunc double %434 to float
%436 = call float @sqrt(float noundef %435)
%437 = load ptr, ptr %21, align 8
%438 = getelementptr inbounds float, ptr %437, i64 0
store float %436, ptr %438, align 4
%439 = load float, ptr %24, align 4
%440 = load float, ptr %17, align 4
%441 = fsub float %439, %440
%442 = load float, ptr %18, align 4
%443 = fmul float %441, %442
%444 = load ptr, ptr %16, align 8
%445 = getelementptr inbounds float, ptr %444, i64 0
%446 = load float, ptr %445, align 4
%447 = fmul float %443, %446
store float %447, ptr %25, align 4
%448 = load float, ptr %25, align 4
%449 = load float, ptr %26, align 4
%450 = load ptr, ptr %22, align 8
%451 = getelementptr inbounds float, ptr %450, i64 0
%452 = load float, ptr %451, align 4
%453 = load float, ptr %17, align 4
%454 = load ptr, ptr %21, align 8
%455 = getelementptr inbounds float, ptr %454, i64 0
%456 = load float, ptr %455, align 4
%457 = call float @llvm.fmuladd.f32(float %453, float %456, float %452)
%458 = fmul float %449, %457
%459 = fcmp ogt float %448, %458
br i1 %459, label %460, label %480
460: ; preds = %380
%461 = load ptr, ptr %19, align 8
%462 = load i32, ptr %29, align 4
%463 = load i32, ptr %13, align 4
%464 = mul nsw i32 %462, %463
%465 = load i32, ptr %28, align 4
%466 = add nsw i32 %464, %465
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds i32, ptr %461, i64 %467
store i32 1, ptr %468, align 4
%469 = load ptr, ptr %22, align 8
%470 = getelementptr inbounds float, ptr %469, i64 0
%471 = load float, ptr %470, align 4
%472 = load ptr, ptr %11, align 8
%473 = load i32, ptr %29, align 4
%474 = load i32, ptr %13, align 4
%475 = mul nsw i32 %473, %474
%476 = load i32, ptr %28, align 4
%477 = add nsw i32 %475, %476
%478 = sext i32 %477 to i64
%479 = getelementptr inbounds float, ptr %472, i64 %478
store float %471, ptr %479, align 4
br label %768
480: ; preds = %380
%481 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%482 = getelementptr inbounds [3 x float], ptr %481, i64 0, i64 1
%483 = load float, ptr %482, align 4
%484 = fpext float %483 to double
%485 = load ptr, ptr %12, align 8
%486 = load i32, ptr %29, align 4
%487 = sub nsw i32 %486, 1
%488 = load i32, ptr %13, align 4
%489 = mul nsw i32 %487, %488
%490 = load i32, ptr %28, align 4
%491 = add nsw i32 %489, %490
%492 = sext i32 %491 to i64
%493 = getelementptr inbounds float, ptr %485, i64 %492
%494 = load float, ptr %493, align 4
%495 = fpext float %494 to double
%496 = fadd double %495, 1.000000e+00
%497 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%498 = getelementptr inbounds [3 x float], ptr %497, i64 0, i64 1
%499 = load float, ptr %498, align 4
%500 = fpext float %499 to double
%501 = fsub double %496, %500
%502 = fdiv double %484, %501
%503 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%504 = getelementptr inbounds [3 x float], ptr %503, i64 0, i64 1
%505 = load float, ptr %504, align 4
%506 = fpext float %505 to double
%507 = load ptr, ptr %12, align 8
%508 = load i32, ptr %29, align 4
%509 = add nsw i32 %508, 1
%510 = load i32, ptr %13, align 4
%511 = mul nsw i32 %509, %510
%512 = load i32, ptr %28, align 4
%513 = add nsw i32 %511, %512
%514 = sext i32 %513 to i64
%515 = getelementptr inbounds float, ptr %507, i64 %514
%516 = load float, ptr %515, align 4
%517 = fpext float %516 to double
%518 = fadd double %517, 1.000000e+00
%519 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%520 = getelementptr inbounds [3 x float], ptr %519, i64 0, i64 1
%521 = load float, ptr %520, align 4
%522 = fpext float %521 to double
%523 = fsub double %518, %522
%524 = fdiv double %506, %523
%525 = fadd double %502, %524
%526 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%527 = getelementptr inbounds [3 x float], ptr %526, i64 0, i64 1
%528 = load float, ptr %527, align 4
%529 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%530 = getelementptr inbounds [3 x float], ptr %529, i64 0, i64 1
%531 = load float, ptr %530, align 4
%532 = fadd float %528, %531
%533 = fpext float %532 to double
%534 = fdiv double %525, %533
%535 = fptrunc double %534 to float
%536 = call float @sqrt(float noundef %535)
%537 = load ptr, ptr %21, align 8
%538 = getelementptr inbounds float, ptr %537, i64 1
store float %536, ptr %538, align 4
%539 = load float, ptr %25, align 4
%540 = load float, ptr %26, align 4
%541 = load ptr, ptr %22, align 8
%542 = getelementptr inbounds float, ptr %541, i64 1
%543 = load float, ptr %542, align 4
%544 = load float, ptr %17, align 4
%545 = load ptr, ptr %21, align 8
%546 = getelementptr inbounds float, ptr %545, i64 1
%547 = load float, ptr %546, align 4
%548 = call float @llvm.fmuladd.f32(float %544, float %547, float %543)
%549 = fmul float %540, %548
%550 = fcmp ogt float %539, %549
br i1 %550, label %551, label %571
551: ; preds = %480
%552 = load ptr, ptr %19, align 8
%553 = load i32, ptr %29, align 4
%554 = load i32, ptr %13, align 4
%555 = mul nsw i32 %553, %554
%556 = load i32, ptr %28, align 4
%557 = add nsw i32 %555, %556
%558 = sext i32 %557 to i64
%559 = getelementptr inbounds i32, ptr %552, i64 %558
store i32 1, ptr %559, align 4
%560 = load ptr, ptr %22, align 8
%561 = getelementptr inbounds float, ptr %560, i64 1
%562 = load float, ptr %561, align 4
%563 = load ptr, ptr %11, align 8
%564 = load i32, ptr %29, align 4
%565 = load i32, ptr %13, align 4
%566 = mul nsw i32 %564, %565
%567 = load i32, ptr %28, align 4
%568 = add nsw i32 %566, %567
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds float, ptr %563, i64 %569
store float %562, ptr %570, align 4
br label %768
571: ; preds = %480
%572 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%573 = getelementptr inbounds [3 x float], ptr %572, i64 0, i64 0
%574 = load float, ptr %573, align 16
%575 = fpext float %574 to double
%576 = load ptr, ptr %12, align 8
%577 = load i32, ptr %29, align 4
%578 = sub nsw i32 %577, 1
%579 = load i32, ptr %13, align 4
%580 = mul nsw i32 %578, %579
%581 = load i32, ptr %28, align 4
%582 = sub nsw i32 %581, 1
%583 = add nsw i32 %580, %582
%584 = sext i32 %583 to i64
%585 = getelementptr inbounds float, ptr %576, i64 %584
%586 = load float, ptr %585, align 4
%587 = fpext float %586 to double
%588 = fadd double %587, 1.000000e+00
%589 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%590 = getelementptr inbounds [3 x float], ptr %589, i64 0, i64 0
%591 = load float, ptr %590, align 16
%592 = fpext float %591 to double
%593 = fsub double %588, %592
%594 = fdiv double %575, %593
%595 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%596 = getelementptr inbounds [3 x float], ptr %595, i64 0, i64 2
%597 = load float, ptr %596, align 8
%598 = fpext float %597 to double
%599 = load ptr, ptr %12, align 8
%600 = load i32, ptr %29, align 4
%601 = add nsw i32 %600, 1
%602 = load i32, ptr %13, align 4
%603 = mul nsw i32 %601, %602
%604 = load i32, ptr %28, align 4
%605 = add nsw i32 %604, 1
%606 = add nsw i32 %603, %605
%607 = sext i32 %606 to i64
%608 = getelementptr inbounds float, ptr %599, i64 %607
%609 = load float, ptr %608, align 4
%610 = fpext float %609 to double
%611 = fadd double %610, 1.000000e+00
%612 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%613 = getelementptr inbounds [3 x float], ptr %612, i64 0, i64 2
%614 = load float, ptr %613, align 8
%615 = fpext float %614 to double
%616 = fsub double %611, %615
%617 = fdiv double %598, %616
%618 = fadd double %594, %617
%619 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%620 = getelementptr inbounds [3 x float], ptr %619, i64 0, i64 0
%621 = load float, ptr %620, align 16
%622 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%623 = getelementptr inbounds [3 x float], ptr %622, i64 0, i64 2
%624 = load float, ptr %623, align 8
%625 = fadd float %621, %624
%626 = fpext float %625 to double
%627 = fdiv double %618, %626
%628 = fptrunc double %627 to float
%629 = call float @sqrt(float noundef %628)
%630 = load ptr, ptr %21, align 8
%631 = getelementptr inbounds float, ptr %630, i64 2
store float %629, ptr %631, align 4
%632 = load float, ptr %24, align 4
%633 = load float, ptr %17, align 4
%634 = fsub float %632, %633
%635 = load float, ptr %18, align 4
%636 = fmul float %634, %635
%637 = load ptr, ptr %16, align 8
%638 = getelementptr inbounds float, ptr %637, i64 1
%639 = load float, ptr %638, align 4
%640 = fmul float %636, %639
store float %640, ptr %25, align 4
%641 = load float, ptr %25, align 4
%642 = load float, ptr %26, align 4
%643 = load ptr, ptr %22, align 8
%644 = getelementptr inbounds float, ptr %643, i64 2
%645 = load float, ptr %644, align 4
%646 = load float, ptr %17, align 4
%647 = load ptr, ptr %21, align 8
%648 = getelementptr inbounds float, ptr %647, i64 2
%649 = load float, ptr %648, align 4
%650 = call float @llvm.fmuladd.f32(float %646, float %649, float %645)
%651 = fmul float %642, %650
%652 = fcmp ogt float %641, %651
br i1 %652, label %653, label %673
653: ; preds = %571
%654 = load ptr, ptr %19, align 8
%655 = load i32, ptr %29, align 4
%656 = load i32, ptr %13, align 4
%657 = mul nsw i32 %655, %656
%658 = load i32, ptr %28, align 4
%659 = add nsw i32 %657, %658
%660 = sext i32 %659 to i64
%661 = getelementptr inbounds i32, ptr %654, i64 %660
store i32 1, ptr %661, align 4
%662 = load ptr, ptr %22, align 8
%663 = getelementptr inbounds float, ptr %662, i64 2
%664 = load float, ptr %663, align 4
%665 = load ptr, ptr %11, align 8
%666 = load i32, ptr %29, align 4
%667 = load i32, ptr %13, align 4
%668 = mul nsw i32 %666, %667
%669 = load i32, ptr %28, align 4
%670 = add nsw i32 %668, %669
%671 = sext i32 %670 to i64
%672 = getelementptr inbounds float, ptr %665, i64 %671
store float %664, ptr %672, align 4
br label %768
673: ; preds = %571
%674 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%675 = getelementptr inbounds [3 x float], ptr %674, i64 0, i64 0
%676 = load float, ptr %675, align 8
%677 = fpext float %676 to double
%678 = load ptr, ptr %12, align 8
%679 = load i32, ptr %29, align 4
%680 = add nsw i32 %679, 1
%681 = load i32, ptr %13, align 4
%682 = mul nsw i32 %680, %681
%683 = load i32, ptr %28, align 4
%684 = sub nsw i32 %683, 1
%685 = add nsw i32 %682, %684
%686 = sext i32 %685 to i64
%687 = getelementptr inbounds float, ptr %678, i64 %686
%688 = load float, ptr %687, align 4
%689 = fpext float %688 to double
%690 = fadd double %689, 1.000000e+00
%691 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%692 = getelementptr inbounds [3 x float], ptr %691, i64 0, i64 0
%693 = load float, ptr %692, align 8
%694 = fpext float %693 to double
%695 = fsub double %690, %694
%696 = fdiv double %677, %695
%697 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%698 = getelementptr inbounds [3 x float], ptr %697, i64 0, i64 2
%699 = load float, ptr %698, align 8
%700 = fpext float %699 to double
%701 = load ptr, ptr %12, align 8
%702 = load i32, ptr %29, align 4
%703 = sub nsw i32 %702, 1
%704 = load i32, ptr %13, align 4
%705 = mul nsw i32 %703, %704
%706 = load i32, ptr %28, align 4
%707 = add nsw i32 %706, 1
%708 = add nsw i32 %705, %707
%709 = sext i32 %708 to i64
%710 = getelementptr inbounds float, ptr %701, i64 %709
%711 = load float, ptr %710, align 4
%712 = fpext float %711 to double
%713 = fadd double %712, 1.000000e+00
%714 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%715 = getelementptr inbounds [3 x float], ptr %714, i64 0, i64 2
%716 = load float, ptr %715, align 8
%717 = fpext float %716 to double
%718 = fsub double %713, %717
%719 = fdiv double %700, %718
%720 = fadd double %696, %719
%721 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%722 = getelementptr inbounds [3 x float], ptr %721, i64 0, i64 0
%723 = load float, ptr %722, align 8
%724 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%725 = getelementptr inbounds [3 x float], ptr %724, i64 0, i64 2
%726 = load float, ptr %725, align 8
%727 = fadd float %723, %726
%728 = fpext float %727 to double
%729 = fdiv double %720, %728
%730 = fptrunc double %729 to float
%731 = call float @sqrt(float noundef %730)
%732 = load ptr, ptr %21, align 8
%733 = getelementptr inbounds float, ptr %732, i64 3
store float %731, ptr %733, align 4
%734 = load float, ptr %25, align 4
%735 = load float, ptr %26, align 4
%736 = load ptr, ptr %22, align 8
%737 = getelementptr inbounds float, ptr %736, i64 3
%738 = load float, ptr %737, align 4
%739 = load float, ptr %17, align 4
%740 = load ptr, ptr %21, align 8
%741 = getelementptr inbounds float, ptr %740, i64 3
%742 = load float, ptr %741, align 4
%743 = call float @llvm.fmuladd.f32(float %739, float %742, float %738)
%744 = fmul float %735, %743
%745 = fcmp ogt float %734, %744
br i1 %745, label %746, label %766
746: ; preds = %673
%747 = load ptr, ptr %19, align 8
%748 = load i32, ptr %29, align 4
%749 = load i32, ptr %13, align 4
%750 = mul nsw i32 %748, %749
%751 = load i32, ptr %28, align 4
%752 = add nsw i32 %750, %751
%753 = sext i32 %752 to i64
%754 = getelementptr inbounds i32, ptr %747, i64 %753
store i32 1, ptr %754, align 4
%755 = load ptr, ptr %22, align 8
%756 = getelementptr inbounds float, ptr %755, i64 3
%757 = load float, ptr %756, align 4
%758 = load ptr, ptr %11, align 8
%759 = load i32, ptr %29, align 4
%760 = load i32, ptr %13, align 4
%761 = mul nsw i32 %759, %760
%762 = load i32, ptr %28, align 4
%763 = add nsw i32 %761, %762
%764 = sext i32 %763 to i64
%765 = getelementptr inbounds float, ptr %758, i64 %764
store float %757, ptr %765, align 4
br label %768
766: ; preds = %673
br label %767
767: ; preds = %766, %67, %47
br label %768
768: ; preds = %767, %746, %653, %551, %460, %375, %315, %255, %197
%769 = load i32, ptr %28, align 4
%770 = add nsw i32 %769, 1
store i32 %770, ptr %28, align 4
br label %42, !llvm.loop !9
771: ; preds = %42
br label %772
772: ; preds = %771
%773 = load i32, ptr %29, align 4
%774 = add nsw i32 %773, 1
store i32 %774, ptr %29, align 4
br label %36, !llvm.loop !10
775: ; preds = %36
%776 = load ptr, ptr %21, align 8
%777 = icmp ne ptr %776, null
br i1 %777, label %778, label %781
778: ; preds = %775
%779 = load ptr, ptr %21, align 8
%780 = call i32 @free(ptr noundef %779)
br label %781
781: ; preds = %778, %775
store ptr null, ptr %21, align 8
%782 = load ptr, ptr %22, align 8
%783 = icmp ne ptr %782, null
br i1 %783, label %784, label %787
784: ; preds = %781
%785 = load ptr, ptr %22, align 8
%786 = call i32 @free(ptr noundef %785)
br label %787
787: ; preds = %784, %781
store ptr null, ptr %22, align 8
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpginp38bs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @reject_cr_psf(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, float noundef %4, ptr noundef %5, float noundef %6, float noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca float, align 4
%16 = alloca ptr, align 8
%17 = alloca float, align 4
%18 = alloca float, align 4
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca float, align 4
%24 = alloca float, align 4
%25 = alloca float, align 4
%26 = alloca float, align 4
%27 = alloca [3 x [3 x float]], align 16
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
store ptr %0, ptr %11, align 8
store ptr %1, ptr %12, align 8
store i32 %2, ptr %13, align 4
store i32 %3, ptr %14, align 4
store float %4, ptr %15, align 4
store ptr %5, ptr %16, align 8
store float %6, ptr %17, align 4
store float %7, ptr %18, align 4
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%32 = call i64 @malloc(i32 noundef 16)
%33 = inttoptr i64 %32 to ptr
store ptr %33, ptr %21, align 8
%34 = call i64 @malloc(i32 noundef 16)
%35 = inttoptr i64 %34 to ptr
store ptr %35, ptr %22, align 8
store i32 1, ptr %29, align 4
%36 = load i32, ptr %29, align 4
%37 = load i32, ptr %14, align 4
%38 = sub nsw i32 %37, 1
%39 = icmp slt i32 %36, %38
br i1 %39, label %.lr.ph8, label %783
.lr.ph8: ; preds = %10
br label %40
40: ; preds = %.lr.ph8, %776
store i32 1, ptr %28, align 4
%41 = load i32, ptr %28, align 4
%42 = load i32, ptr %13, align 4
%43 = sub nsw i32 %42, 1
%44 = icmp slt i32 %41, %43
br i1 %44, label %.lr.ph5, label %775
.lr.ph5: ; preds = %40
br label %45
45: ; preds = %.lr.ph5, %768
%46 = load ptr, ptr %19, align 8
%47 = load i32, ptr %29, align 4
%48 = load i32, ptr %13, align 4
%49 = mul nsw i32 %47, %48
%50 = load i32, ptr %28, align 4
%51 = add nsw i32 %49, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %46, i64 %52
store i32 0, ptr %53, align 4
%54 = load ptr, ptr %12, align 8
%55 = load i32, ptr %29, align 4
%56 = load i32, ptr %13, align 4
%57 = mul nsw i32 %55, %56
%58 = load i32, ptr %28, align 4
%59 = add nsw i32 %57, %58
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds float, ptr %54, i64 %60
%62 = load float, ptr %61, align 4
%63 = fpext float %62 to double
%64 = fcmp ogt double %63, 0.000000e+00
br i1 %64, label %65, label %767
65: ; preds = %45
%66 = load ptr, ptr %20, align 8
%67 = load i32, ptr %29, align 4
%68 = load i32, ptr %13, align 4
%69 = mul nsw i32 %67, %68
%70 = load i32, ptr %28, align 4
%71 = add nsw i32 %69, %70
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds i32, ptr %66, i64 %72
%74 = load i32, ptr %73, align 4
%75 = icmp eq i32 %74, 0
br i1 %75, label %76, label %767
76: ; preds = %65
%77 = load ptr, ptr %12, align 8
%78 = load i32, ptr %29, align 4
%79 = load i32, ptr %13, align 4
%80 = mul nsw i32 %78, %79
%81 = load i32, ptr %28, align 4
%82 = add nsw i32 %80, %81
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds float, ptr %77, i64 %83
%85 = load float, ptr %84, align 4
%86 = call float @sqrt(float noundef %85)
store float %86, ptr %26, align 4
%87 = load ptr, ptr %11, align 8
%88 = load i32, ptr %29, align 4
%89 = load i32, ptr %13, align 4
%90 = mul nsw i32 %88, %89
%91 = load i32, ptr %28, align 4
%92 = add nsw i32 %90, %91
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds float, ptr %87, i64 %93
%95 = load float, ptr %94, align 4
store float %95, ptr %23, align 4
%96 = load float, ptr %26, align 4
%97 = load float, ptr %23, align 4
%98 = fmul float %96, %97
store float %98, ptr %24, align 4
store i32 -1, ptr %30, align 4
%99 = load i32, ptr %30, align 4
%100 = icmp sle i32 %99, 1
br i1 %100, label %.lr.ph2, label %141
.lr.ph2: ; preds = %76
br label %101
101: ; preds = %.lr.ph2, %136
store i32 -1, ptr %31, align 4
%102 = load i32, ptr %31, align 4
%103 = icmp sle i32 %102, 1
br i1 %103, label %.lr.ph, label %135
.lr.ph: ; preds = %101
br label %104
104: ; preds = %.lr.ph, %130
%105 = load ptr, ptr %12, align 8
%106 = load i32, ptr %29, align 4
%107 = load i32, ptr %31, align 4
%108 = add nsw i32 %106, %107
%109 = load i32, ptr %13, align 4
%110 = mul nsw i32 %108, %109
%111 = load i32, ptr %28, align 4
%112 = load i32, ptr %30, align 4
%113 = add nsw i32 %111, %112
%114 = add nsw i32 %110, %113
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds float, ptr %105, i64 %115
%117 = load float, ptr %116, align 4
%118 = fpext float %117 to double
%119 = fcmp ogt double %118, 0.000000e+00
%120 = zext i1 %119 to i32
%121 = sitofp i32 %120 to float
%122 = load i32, ptr %31, align 4
%123 = add nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 %124
%126 = load i32, ptr %30, align 4
%127 = add nsw i32 %126, 1
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [3 x float], ptr %125, i64 0, i64 %128
store float %121, ptr %129, align 4
br label %130
130: ; preds = %104
%131 = load i32, ptr %31, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %31, align 4
%133 = load i32, ptr %31, align 4
%134 = icmp sle i32 %133, 1
br i1 %134, label %104, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %130
br label %135
135: ; preds = %._crit_edge, %101
br label %136
136: ; preds = %135
%137 = load i32, ptr %30, align 4
%138 = add nsw i32 %137, 1
store i32 %138, ptr %30, align 4
%139 = load i32, ptr %30, align 4
%140 = icmp sle i32 %139, 1
br i1 %140, label %101, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %136
br label %141
141: ; preds = %._crit_edge3, %76
%142 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%143 = getelementptr inbounds [3 x float], ptr %142, i64 0, i64 0
%144 = load float, ptr %143, align 4
%145 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%146 = getelementptr inbounds [3 x float], ptr %145, i64 0, i64 2
%147 = load float, ptr %146, align 4
%148 = fadd float %144, %147
%149 = fcmp ogt float %148, 0.000000e+00
br i1 %149, label %150, label %199
150: ; preds = %141
%151 = load ptr, ptr %11, align 8
%152 = load i32, ptr %29, align 4
%153 = load i32, ptr %13, align 4
%154 = mul nsw i32 %152, %153
%155 = load i32, ptr %28, align 4
%156 = sub nsw i32 %155, 1
%157 = add nsw i32 %154, %156
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds float, ptr %151, i64 %158
%160 = load float, ptr %159, align 4
%161 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%162 = getelementptr inbounds [3 x float], ptr %161, i64 0, i64 0
%163 = load float, ptr %162, align 4
%164 = load ptr, ptr %11, align 8
%165 = load i32, ptr %29, align 4
%166 = load i32, ptr %13, align 4
%167 = mul nsw i32 %165, %166
%168 = load i32, ptr %28, align 4
%169 = add nsw i32 %168, 1
%170 = add nsw i32 %167, %169
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds float, ptr %164, i64 %171
%173 = load float, ptr %172, align 4
%174 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%175 = getelementptr inbounds [3 x float], ptr %174, i64 0, i64 2
%176 = load float, ptr %175, align 4
%177 = fmul float %173, %176
%178 = call float @llvm.fmuladd.f32(float %160, float %163, float %177)
%179 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%180 = getelementptr inbounds [3 x float], ptr %179, i64 0, i64 0
%181 = load float, ptr %180, align 4
%182 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%183 = getelementptr inbounds [3 x float], ptr %182, i64 0, i64 2
%184 = load float, ptr %183, align 4
%185 = fadd float %181, %184
%186 = fdiv float %178, %185
%187 = load ptr, ptr %22, align 8
%188 = getelementptr inbounds float, ptr %187, i64 0
store float %186, ptr %188, align 4
%189 = load float, ptr %24, align 4
%190 = load ptr, ptr %22, align 8
%191 = getelementptr inbounds float, ptr %190, i64 0
%192 = load float, ptr %191, align 4
%193 = load float, ptr %26, align 4
%194 = load float, ptr %15, align 4
%195 = call float @llvm.fmuladd.f32(float %192, float %193, float %194)
%196 = fcmp olt float %189, %195
br i1 %196, label %197, label %198
197: ; preds = %150
br label %768
198: ; preds = %150
br label %199
199: ; preds = %198, %141
%200 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%201 = getelementptr inbounds [3 x float], ptr %200, i64 0, i64 1
%202 = load float, ptr %201, align 4
%203 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%204 = getelementptr inbounds [3 x float], ptr %203, i64 0, i64 1
%205 = load float, ptr %204, align 4
%206 = fadd float %202, %205
%207 = fcmp ogt float %206, 0.000000e+00
br i1 %207, label %208, label %257
208: ; preds = %199
%209 = load ptr, ptr %11, align 8
%210 = load i32, ptr %29, align 4
%211 = sub nsw i32 %210, 1
%212 = load i32, ptr %13, align 4
%213 = mul nsw i32 %211, %212
%214 = load i32, ptr %28, align 4
%215 = add nsw i32 %213, %214
%216 = sext i32 %215 to i64
%217 = getelementptr inbounds float, ptr %209, i64 %216
%218 = load float, ptr %217, align 4
%219 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%220 = getelementptr inbounds [3 x float], ptr %219, i64 0, i64 1
%221 = load float, ptr %220, align 4
%222 = load ptr, ptr %11, align 8
%223 = load i32, ptr %29, align 4
%224 = add nsw i32 %223, 1
%225 = load i32, ptr %13, align 4
%226 = mul nsw i32 %224, %225
%227 = load i32, ptr %28, align 4
%228 = add nsw i32 %226, %227
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds float, ptr %222, i64 %229
%231 = load float, ptr %230, align 4
%232 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%233 = getelementptr inbounds [3 x float], ptr %232, i64 0, i64 1
%234 = load float, ptr %233, align 4
%235 = fmul float %231, %234
%236 = call float @llvm.fmuladd.f32(float %218, float %221, float %235)
%237 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%238 = getelementptr inbounds [3 x float], ptr %237, i64 0, i64 1
%239 = load float, ptr %238, align 4
%240 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%241 = getelementptr inbounds [3 x float], ptr %240, i64 0, i64 1
%242 = load float, ptr %241, align 4
%243 = fadd float %239, %242
%244 = fdiv float %236, %243
%245 = load ptr, ptr %22, align 8
%246 = getelementptr inbounds float, ptr %245, i64 1
store float %244, ptr %246, align 4
%247 = load float, ptr %24, align 4
%248 = load ptr, ptr %22, align 8
%249 = getelementptr inbounds float, ptr %248, i64 1
%250 = load float, ptr %249, align 4
%251 = load float, ptr %26, align 4
%252 = load float, ptr %15, align 4
%253 = call float @llvm.fmuladd.f32(float %250, float %251, float %252)
%254 = fcmp olt float %247, %253
br i1 %254, label %255, label %256
255: ; preds = %208
br label %768
256: ; preds = %208
br label %257
257: ; preds = %256, %199
%258 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%259 = getelementptr inbounds [3 x float], ptr %258, i64 0, i64 0
%260 = load float, ptr %259, align 16
%261 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%262 = getelementptr inbounds [3 x float], ptr %261, i64 0, i64 2
%263 = load float, ptr %262, align 8
%264 = fadd float %260, %263
%265 = fcmp ogt float %264, 0.000000e+00
br i1 %265, label %266, label %317
266: ; preds = %257
%267 = load ptr, ptr %11, align 8
%268 = load i32, ptr %29, align 4
%269 = sub nsw i32 %268, 1
%270 = load i32, ptr %13, align 4
%271 = mul nsw i32 %269, %270
%272 = load i32, ptr %28, align 4
%273 = sub nsw i32 %272, 1
%274 = add nsw i32 %271, %273
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds float, ptr %267, i64 %275
%277 = load float, ptr %276, align 4
%278 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%279 = getelementptr inbounds [3 x float], ptr %278, i64 0, i64 0
%280 = load float, ptr %279, align 16
%281 = load ptr, ptr %11, align 8
%282 = load i32, ptr %29, align 4
%283 = add nsw i32 %282, 1
%284 = load i32, ptr %13, align 4
%285 = mul nsw i32 %283, %284
%286 = load i32, ptr %28, align 4
%287 = add nsw i32 %286, 1
%288 = add nsw i32 %285, %287
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds float, ptr %281, i64 %289
%291 = load float, ptr %290, align 4
%292 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%293 = getelementptr inbounds [3 x float], ptr %292, i64 0, i64 2
%294 = load float, ptr %293, align 8
%295 = fmul float %291, %294
%296 = call float @llvm.fmuladd.f32(float %277, float %280, float %295)
%297 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%298 = getelementptr inbounds [3 x float], ptr %297, i64 0, i64 0
%299 = load float, ptr %298, align 16
%300 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%301 = getelementptr inbounds [3 x float], ptr %300, i64 0, i64 2
%302 = load float, ptr %301, align 8
%303 = fadd float %299, %302
%304 = fdiv float %296, %303
%305 = load ptr, ptr %22, align 8
%306 = getelementptr inbounds float, ptr %305, i64 2
store float %304, ptr %306, align 4
%307 = load float, ptr %24, align 4
%308 = load ptr, ptr %22, align 8
%309 = getelementptr inbounds float, ptr %308, i64 2
%310 = load float, ptr %309, align 4
%311 = load float, ptr %26, align 4
%312 = load float, ptr %15, align 4
%313 = call float @llvm.fmuladd.f32(float %310, float %311, float %312)
%314 = fcmp olt float %307, %313
br i1 %314, label %315, label %316
315: ; preds = %266
br label %768
316: ; preds = %266
br label %317
317: ; preds = %316, %257
%318 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%319 = getelementptr inbounds [3 x float], ptr %318, i64 0, i64 0
%320 = load float, ptr %319, align 8
%321 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%322 = getelementptr inbounds [3 x float], ptr %321, i64 0, i64 2
%323 = load float, ptr %322, align 8
%324 = fadd float %320, %323
%325 = fcmp ogt float %324, 0.000000e+00
br i1 %325, label %326, label %380
326: ; preds = %317
%327 = load ptr, ptr %11, align 8
%328 = load i32, ptr %29, align 4
%329 = add nsw i32 %328, 1
%330 = load i32, ptr %13, align 4
%331 = mul nsw i32 %329, %330
%332 = load i32, ptr %28, align 4
%333 = sub nsw i32 %332, 1
%334 = add nsw i32 %331, %333
%335 = sext i32 %334 to i64
%336 = getelementptr inbounds float, ptr %327, i64 %335
%337 = load float, ptr %336, align 4
%338 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%339 = getelementptr inbounds [3 x float], ptr %338, i64 0, i64 0
%340 = load float, ptr %339, align 8
%341 = load ptr, ptr %11, align 8
%342 = load i32, ptr %29, align 4
%343 = sub nsw i32 %342, 1
%344 = load i32, ptr %13, align 4
%345 = mul nsw i32 %343, %344
%346 = load i32, ptr %28, align 4
%347 = add nsw i32 %346, 1
%348 = add nsw i32 %345, %347
%349 = sext i32 %348 to i64
%350 = getelementptr inbounds float, ptr %341, i64 %349
%351 = load float, ptr %350, align 4
%352 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%353 = getelementptr inbounds [3 x float], ptr %352, i64 0, i64 2
%354 = load float, ptr %353, align 8
%355 = fmul float %351, %354
%356 = call float @llvm.fmuladd.f32(float %337, float %340, float %355)
%357 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%358 = getelementptr inbounds [3 x float], ptr %357, i64 0, i64 0
%359 = load float, ptr %358, align 8
%360 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%361 = getelementptr inbounds [3 x float], ptr %360, i64 0, i64 2
%362 = load float, ptr %361, align 8
%363 = fadd float %359, %362
%364 = fdiv float %356, %363
%365 = load ptr, ptr %22, align 8
%366 = getelementptr inbounds float, ptr %365, i64 3
store float %364, ptr %366, align 4
%367 = load float, ptr %24, align 4
%368 = load ptr, ptr %22, align 8
%369 = getelementptr inbounds float, ptr %368, i64 3
%370 = load float, ptr %369, align 4
%371 = load float, ptr %26, align 4
%372 = load float, ptr %15, align 4
%373 = call float @llvm.fmuladd.f32(float %370, float %371, float %372)
%374 = fcmp olt float %367, %373
br i1 %374, label %375, label %376
375: ; preds = %326
br label %768
376: ; preds = %326
%377 = load float, ptr %26, align 4
%378 = load float, ptr %23, align 4
%379 = fmul float %377, %378
store float %379, ptr %24, align 4
br label %380
380: ; preds = %376, %317
%381 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%382 = getelementptr inbounds [3 x float], ptr %381, i64 0, i64 0
%383 = load float, ptr %382, align 4
%384 = fpext float %383 to double
%385 = load ptr, ptr %12, align 8
%386 = load i32, ptr %29, align 4
%387 = load i32, ptr %13, align 4
%388 = mul nsw i32 %386, %387
%389 = load i32, ptr %28, align 4
%390 = sub nsw i32 %389, 1
%391 = add nsw i32 %388, %390
%392 = sext i32 %391 to i64
%393 = getelementptr inbounds float, ptr %385, i64 %392
%394 = load float, ptr %393, align 4
%395 = fpext float %394 to double
%396 = fadd double %395, 1.000000e+00
%397 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%398 = getelementptr inbounds [3 x float], ptr %397, i64 0, i64 0
%399 = load float, ptr %398, align 4
%400 = fpext float %399 to double
%401 = fsub double %396, %400
%402 = fdiv double %384, %401
%403 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%404 = getelementptr inbounds [3 x float], ptr %403, i64 0, i64 2
%405 = load float, ptr %404, align 4
%406 = fpext float %405 to double
%407 = load ptr, ptr %12, align 8
%408 = load i32, ptr %29, align 4
%409 = load i32, ptr %13, align 4
%410 = mul nsw i32 %408, %409
%411 = load i32, ptr %28, align 4
%412 = add nsw i32 %411, 1
%413 = add nsw i32 %410, %412
%414 = sext i32 %413 to i64
%415 = getelementptr inbounds float, ptr %407, i64 %414
%416 = load float, ptr %415, align 4
%417 = fpext float %416 to double
%418 = fadd double %417, 1.000000e+00
%419 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%420 = getelementptr inbounds [3 x float], ptr %419, i64 0, i64 2
%421 = load float, ptr %420, align 4
%422 = fpext float %421 to double
%423 = fsub double %418, %422
%424 = fdiv double %406, %423
%425 = fadd double %402, %424
%426 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%427 = getelementptr inbounds [3 x float], ptr %426, i64 0, i64 0
%428 = load float, ptr %427, align 4
%429 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 1
%430 = getelementptr inbounds [3 x float], ptr %429, i64 0, i64 2
%431 = load float, ptr %430, align 4
%432 = fadd float %428, %431
%433 = fpext float %432 to double
%434 = fdiv double %425, %433
%435 = fptrunc double %434 to float
%436 = call float @sqrt(float noundef %435)
%437 = load ptr, ptr %21, align 8
%438 = getelementptr inbounds float, ptr %437, i64 0
store float %436, ptr %438, align 4
%439 = load float, ptr %24, align 4
%440 = load float, ptr %17, align 4
%441 = fsub float %439, %440
%442 = load float, ptr %18, align 4
%443 = fmul float %441, %442
%444 = load ptr, ptr %16, align 8
%445 = getelementptr inbounds float, ptr %444, i64 0
%446 = load float, ptr %445, align 4
%447 = fmul float %443, %446
store float %447, ptr %25, align 4
%448 = load float, ptr %25, align 4
%449 = load float, ptr %26, align 4
%450 = load ptr, ptr %22, align 8
%451 = getelementptr inbounds float, ptr %450, i64 0
%452 = load float, ptr %451, align 4
%453 = load float, ptr %17, align 4
%454 = load ptr, ptr %21, align 8
%455 = getelementptr inbounds float, ptr %454, i64 0
%456 = load float, ptr %455, align 4
%457 = call float @llvm.fmuladd.f32(float %453, float %456, float %452)
%458 = fmul float %449, %457
%459 = fcmp ogt float %448, %458
br i1 %459, label %460, label %480
460: ; preds = %380
%461 = load ptr, ptr %19, align 8
%462 = load i32, ptr %29, align 4
%463 = load i32, ptr %13, align 4
%464 = mul nsw i32 %462, %463
%465 = load i32, ptr %28, align 4
%466 = add nsw i32 %464, %465
%467 = sext i32 %466 to i64
%468 = getelementptr inbounds i32, ptr %461, i64 %467
store i32 1, ptr %468, align 4
%469 = load ptr, ptr %22, align 8
%470 = getelementptr inbounds float, ptr %469, i64 0
%471 = load float, ptr %470, align 4
%472 = load ptr, ptr %11, align 8
%473 = load i32, ptr %29, align 4
%474 = load i32, ptr %13, align 4
%475 = mul nsw i32 %473, %474
%476 = load i32, ptr %28, align 4
%477 = add nsw i32 %475, %476
%478 = sext i32 %477 to i64
%479 = getelementptr inbounds float, ptr %472, i64 %478
store float %471, ptr %479, align 4
br label %768
480: ; preds = %380
%481 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%482 = getelementptr inbounds [3 x float], ptr %481, i64 0, i64 1
%483 = load float, ptr %482, align 4
%484 = fpext float %483 to double
%485 = load ptr, ptr %12, align 8
%486 = load i32, ptr %29, align 4
%487 = sub nsw i32 %486, 1
%488 = load i32, ptr %13, align 4
%489 = mul nsw i32 %487, %488
%490 = load i32, ptr %28, align 4
%491 = add nsw i32 %489, %490
%492 = sext i32 %491 to i64
%493 = getelementptr inbounds float, ptr %485, i64 %492
%494 = load float, ptr %493, align 4
%495 = fpext float %494 to double
%496 = fadd double %495, 1.000000e+00
%497 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%498 = getelementptr inbounds [3 x float], ptr %497, i64 0, i64 1
%499 = load float, ptr %498, align 4
%500 = fpext float %499 to double
%501 = fsub double %496, %500
%502 = fdiv double %484, %501
%503 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%504 = getelementptr inbounds [3 x float], ptr %503, i64 0, i64 1
%505 = load float, ptr %504, align 4
%506 = fpext float %505 to double
%507 = load ptr, ptr %12, align 8
%508 = load i32, ptr %29, align 4
%509 = add nsw i32 %508, 1
%510 = load i32, ptr %13, align 4
%511 = mul nsw i32 %509, %510
%512 = load i32, ptr %28, align 4
%513 = add nsw i32 %511, %512
%514 = sext i32 %513 to i64
%515 = getelementptr inbounds float, ptr %507, i64 %514
%516 = load float, ptr %515, align 4
%517 = fpext float %516 to double
%518 = fadd double %517, 1.000000e+00
%519 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%520 = getelementptr inbounds [3 x float], ptr %519, i64 0, i64 1
%521 = load float, ptr %520, align 4
%522 = fpext float %521 to double
%523 = fsub double %518, %522
%524 = fdiv double %506, %523
%525 = fadd double %502, %524
%526 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%527 = getelementptr inbounds [3 x float], ptr %526, i64 0, i64 1
%528 = load float, ptr %527, align 4
%529 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%530 = getelementptr inbounds [3 x float], ptr %529, i64 0, i64 1
%531 = load float, ptr %530, align 4
%532 = fadd float %528, %531
%533 = fpext float %532 to double
%534 = fdiv double %525, %533
%535 = fptrunc double %534 to float
%536 = call float @sqrt(float noundef %535)
%537 = load ptr, ptr %21, align 8
%538 = getelementptr inbounds float, ptr %537, i64 1
store float %536, ptr %538, align 4
%539 = load float, ptr %25, align 4
%540 = load float, ptr %26, align 4
%541 = load ptr, ptr %22, align 8
%542 = getelementptr inbounds float, ptr %541, i64 1
%543 = load float, ptr %542, align 4
%544 = load float, ptr %17, align 4
%545 = load ptr, ptr %21, align 8
%546 = getelementptr inbounds float, ptr %545, i64 1
%547 = load float, ptr %546, align 4
%548 = call float @llvm.fmuladd.f32(float %544, float %547, float %543)
%549 = fmul float %540, %548
%550 = fcmp ogt float %539, %549
br i1 %550, label %551, label %571
551: ; preds = %480
%552 = load ptr, ptr %19, align 8
%553 = load i32, ptr %29, align 4
%554 = load i32, ptr %13, align 4
%555 = mul nsw i32 %553, %554
%556 = load i32, ptr %28, align 4
%557 = add nsw i32 %555, %556
%558 = sext i32 %557 to i64
%559 = getelementptr inbounds i32, ptr %552, i64 %558
store i32 1, ptr %559, align 4
%560 = load ptr, ptr %22, align 8
%561 = getelementptr inbounds float, ptr %560, i64 1
%562 = load float, ptr %561, align 4
%563 = load ptr, ptr %11, align 8
%564 = load i32, ptr %29, align 4
%565 = load i32, ptr %13, align 4
%566 = mul nsw i32 %564, %565
%567 = load i32, ptr %28, align 4
%568 = add nsw i32 %566, %567
%569 = sext i32 %568 to i64
%570 = getelementptr inbounds float, ptr %563, i64 %569
store float %562, ptr %570, align 4
br label %768
571: ; preds = %480
%572 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%573 = getelementptr inbounds [3 x float], ptr %572, i64 0, i64 0
%574 = load float, ptr %573, align 16
%575 = fpext float %574 to double
%576 = load ptr, ptr %12, align 8
%577 = load i32, ptr %29, align 4
%578 = sub nsw i32 %577, 1
%579 = load i32, ptr %13, align 4
%580 = mul nsw i32 %578, %579
%581 = load i32, ptr %28, align 4
%582 = sub nsw i32 %581, 1
%583 = add nsw i32 %580, %582
%584 = sext i32 %583 to i64
%585 = getelementptr inbounds float, ptr %576, i64 %584
%586 = load float, ptr %585, align 4
%587 = fpext float %586 to double
%588 = fadd double %587, 1.000000e+00
%589 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%590 = getelementptr inbounds [3 x float], ptr %589, i64 0, i64 0
%591 = load float, ptr %590, align 16
%592 = fpext float %591 to double
%593 = fsub double %588, %592
%594 = fdiv double %575, %593
%595 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%596 = getelementptr inbounds [3 x float], ptr %595, i64 0, i64 2
%597 = load float, ptr %596, align 8
%598 = fpext float %597 to double
%599 = load ptr, ptr %12, align 8
%600 = load i32, ptr %29, align 4
%601 = add nsw i32 %600, 1
%602 = load i32, ptr %13, align 4
%603 = mul nsw i32 %601, %602
%604 = load i32, ptr %28, align 4
%605 = add nsw i32 %604, 1
%606 = add nsw i32 %603, %605
%607 = sext i32 %606 to i64
%608 = getelementptr inbounds float, ptr %599, i64 %607
%609 = load float, ptr %608, align 4
%610 = fpext float %609 to double
%611 = fadd double %610, 1.000000e+00
%612 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%613 = getelementptr inbounds [3 x float], ptr %612, i64 0, i64 2
%614 = load float, ptr %613, align 8
%615 = fpext float %614 to double
%616 = fsub double %611, %615
%617 = fdiv double %598, %616
%618 = fadd double %594, %617
%619 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%620 = getelementptr inbounds [3 x float], ptr %619, i64 0, i64 0
%621 = load float, ptr %620, align 16
%622 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%623 = getelementptr inbounds [3 x float], ptr %622, i64 0, i64 2
%624 = load float, ptr %623, align 8
%625 = fadd float %621, %624
%626 = fpext float %625 to double
%627 = fdiv double %618, %626
%628 = fptrunc double %627 to float
%629 = call float @sqrt(float noundef %628)
%630 = load ptr, ptr %21, align 8
%631 = getelementptr inbounds float, ptr %630, i64 2
store float %629, ptr %631, align 4
%632 = load float, ptr %24, align 4
%633 = load float, ptr %17, align 4
%634 = fsub float %632, %633
%635 = load float, ptr %18, align 4
%636 = fmul float %634, %635
%637 = load ptr, ptr %16, align 8
%638 = getelementptr inbounds float, ptr %637, i64 1
%639 = load float, ptr %638, align 4
%640 = fmul float %636, %639
store float %640, ptr %25, align 4
%641 = load float, ptr %25, align 4
%642 = load float, ptr %26, align 4
%643 = load ptr, ptr %22, align 8
%644 = getelementptr inbounds float, ptr %643, i64 2
%645 = load float, ptr %644, align 4
%646 = load float, ptr %17, align 4
%647 = load ptr, ptr %21, align 8
%648 = getelementptr inbounds float, ptr %647, i64 2
%649 = load float, ptr %648, align 4
%650 = call float @llvm.fmuladd.f32(float %646, float %649, float %645)
%651 = fmul float %642, %650
%652 = fcmp ogt float %641, %651
br i1 %652, label %653, label %673
653: ; preds = %571
%654 = load ptr, ptr %19, align 8
%655 = load i32, ptr %29, align 4
%656 = load i32, ptr %13, align 4
%657 = mul nsw i32 %655, %656
%658 = load i32, ptr %28, align 4
%659 = add nsw i32 %657, %658
%660 = sext i32 %659 to i64
%661 = getelementptr inbounds i32, ptr %654, i64 %660
store i32 1, ptr %661, align 4
%662 = load ptr, ptr %22, align 8
%663 = getelementptr inbounds float, ptr %662, i64 2
%664 = load float, ptr %663, align 4
%665 = load ptr, ptr %11, align 8
%666 = load i32, ptr %29, align 4
%667 = load i32, ptr %13, align 4
%668 = mul nsw i32 %666, %667
%669 = load i32, ptr %28, align 4
%670 = add nsw i32 %668, %669
%671 = sext i32 %670 to i64
%672 = getelementptr inbounds float, ptr %665, i64 %671
store float %664, ptr %672, align 4
br label %768
673: ; preds = %571
%674 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%675 = getelementptr inbounds [3 x float], ptr %674, i64 0, i64 0
%676 = load float, ptr %675, align 8
%677 = fpext float %676 to double
%678 = load ptr, ptr %12, align 8
%679 = load i32, ptr %29, align 4
%680 = add nsw i32 %679, 1
%681 = load i32, ptr %13, align 4
%682 = mul nsw i32 %680, %681
%683 = load i32, ptr %28, align 4
%684 = sub nsw i32 %683, 1
%685 = add nsw i32 %682, %684
%686 = sext i32 %685 to i64
%687 = getelementptr inbounds float, ptr %678, i64 %686
%688 = load float, ptr %687, align 4
%689 = fpext float %688 to double
%690 = fadd double %689, 1.000000e+00
%691 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%692 = getelementptr inbounds [3 x float], ptr %691, i64 0, i64 0
%693 = load float, ptr %692, align 8
%694 = fpext float %693 to double
%695 = fsub double %690, %694
%696 = fdiv double %677, %695
%697 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%698 = getelementptr inbounds [3 x float], ptr %697, i64 0, i64 2
%699 = load float, ptr %698, align 8
%700 = fpext float %699 to double
%701 = load ptr, ptr %12, align 8
%702 = load i32, ptr %29, align 4
%703 = sub nsw i32 %702, 1
%704 = load i32, ptr %13, align 4
%705 = mul nsw i32 %703, %704
%706 = load i32, ptr %28, align 4
%707 = add nsw i32 %706, 1
%708 = add nsw i32 %705, %707
%709 = sext i32 %708 to i64
%710 = getelementptr inbounds float, ptr %701, i64 %709
%711 = load float, ptr %710, align 4
%712 = fpext float %711 to double
%713 = fadd double %712, 1.000000e+00
%714 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%715 = getelementptr inbounds [3 x float], ptr %714, i64 0, i64 2
%716 = load float, ptr %715, align 8
%717 = fpext float %716 to double
%718 = fsub double %713, %717
%719 = fdiv double %700, %718
%720 = fadd double %696, %719
%721 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 2
%722 = getelementptr inbounds [3 x float], ptr %721, i64 0, i64 0
%723 = load float, ptr %722, align 8
%724 = getelementptr inbounds [3 x [3 x float]], ptr %27, i64 0, i64 0
%725 = getelementptr inbounds [3 x float], ptr %724, i64 0, i64 2
%726 = load float, ptr %725, align 8
%727 = fadd float %723, %726
%728 = fpext float %727 to double
%729 = fdiv double %720, %728
%730 = fptrunc double %729 to float
%731 = call float @sqrt(float noundef %730)
%732 = load ptr, ptr %21, align 8
%733 = getelementptr inbounds float, ptr %732, i64 3
store float %731, ptr %733, align 4
%734 = load float, ptr %25, align 4
%735 = load float, ptr %26, align 4
%736 = load ptr, ptr %22, align 8
%737 = getelementptr inbounds float, ptr %736, i64 3
%738 = load float, ptr %737, align 4
%739 = load float, ptr %17, align 4
%740 = load ptr, ptr %21, align 8
%741 = getelementptr inbounds float, ptr %740, i64 3
%742 = load float, ptr %741, align 4
%743 = call float @llvm.fmuladd.f32(float %739, float %742, float %738)
%744 = fmul float %735, %743
%745 = fcmp ogt float %734, %744
br i1 %745, label %746, label %766
746: ; preds = %673
%747 = load ptr, ptr %19, align 8
%748 = load i32, ptr %29, align 4
%749 = load i32, ptr %13, align 4
%750 = mul nsw i32 %748, %749
%751 = load i32, ptr %28, align 4
%752 = add nsw i32 %750, %751
%753 = sext i32 %752 to i64
%754 = getelementptr inbounds i32, ptr %747, i64 %753
store i32 1, ptr %754, align 4
%755 = load ptr, ptr %22, align 8
%756 = getelementptr inbounds float, ptr %755, i64 3
%757 = load float, ptr %756, align 4
%758 = load ptr, ptr %11, align 8
%759 = load i32, ptr %29, align 4
%760 = load i32, ptr %13, align 4
%761 = mul nsw i32 %759, %760
%762 = load i32, ptr %28, align 4
%763 = add nsw i32 %761, %762
%764 = sext i32 %763 to i64
%765 = getelementptr inbounds float, ptr %758, i64 %764
store float %757, ptr %765, align 4
br label %768
766: ; preds = %673
br label %767
767: ; preds = %766, %65, %45
br label %768
768: ; preds = %767, %746, %653, %551, %460, %375, %315, %255, %197
%769 = load i32, ptr %28, align 4
%770 = add nsw i32 %769, 1
store i32 %770, ptr %28, align 4
%771 = load i32, ptr %28, align 4
%772 = load i32, ptr %13, align 4
%773 = sub nsw i32 %772, 1
%774 = icmp slt i32 %771, %773
br i1 %774, label %45, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %768
br label %775
775: ; preds = %._crit_edge6, %40
br label %776
776: ; preds = %775
%777 = load i32, ptr %29, align 4
%778 = add nsw i32 %777, 1
store i32 %778, ptr %29, align 4
%779 = load i32, ptr %29, align 4
%780 = load i32, ptr %14, align 4
%781 = sub nsw i32 %780, 1
%782 = icmp slt i32 %779, %781
br i1 %782, label %40, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %776
br label %783
783: ; preds = %._crit_edge9, %10
%784 = load ptr, ptr %21, align 8
%785 = icmp ne ptr %784, null
br i1 %785, label %786, label %789
786: ; preds = %783
%787 = load ptr, ptr %21, align 8
%788 = call i32 @free(ptr noundef %787)
br label %789
789: ; preds = %786, %783
store ptr null, ptr %21, align 8
%790 = load ptr, ptr %22, align 8
%791 = icmp ne ptr %790, null
br i1 %791, label %792, label %795
792: ; preds = %789
%793 = load ptr, ptr %22, align 8
%794 = call i32 @free(ptr noundef %793)
br label %795
795: ; preds = %792, %789
store ptr null, ptr %22, align 8
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare float @sqrt(float noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
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}
|
; ModuleID = '/tmp/tmpj5kfr06r.c'
source_filename = "/tmp/tmpj5kfr06r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"finish setting H label!\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"finish setting L label!\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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @malloc(i32 noundef 4000)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
store ptr inttoptr (i64 2147483648 to ptr), ptr %4, align 8
store ptr inttoptr (i64 2147483649 to ptr), ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
store i32 %9, ptr %2, align 4
store i32 0, ptr %2, align 4
br label %10
10: ; preds = %19, %0
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %11, 1000
br i1 %12, label %13, label %22
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
br label %19
19: ; preds = %13
%20 = load i32, ptr %2, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %2, align 4
br label %10, !llvm.loop !6
22: ; preds = %10
%23 = call i32 @printf(ptr noundef @.str)
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %24, align 4
store i32 %25, ptr %2, align 4
store i32 0, ptr %2, align 4
br label %26
26: ; preds = %36, %22
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %27, 1000
br i1 %28, label %29, label %39
29: ; preds = %26
%30 = load i32, ptr %2, align 4
%31 = sub nsw i32 0, %30
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %2, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %36
36: ; preds = %29
%37 = load i32, ptr %2, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %2, align 4
br label %26, !llvm.loop !8
39: ; preds = %26
%40 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj5kfr06r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"finish setting H label!\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"finish setting L label!\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 ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%6 = call i64 @malloc(i32 noundef 4000)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %3, align 8
store ptr inttoptr (i64 2147483648 to ptr), ptr %4, align 8
store ptr inttoptr (i64 2147483649 to ptr), ptr %5, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i32, ptr %8, align 4
store i32 %9, ptr %2, align 4
store i32 0, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp slt i32 %10, 1000
br i1 %11, label %.lr.ph, label %23
.lr.ph: ; preds = %0
br label %12
12: ; preds = %.lr.ph, %18
%13 = load i32, ptr %2, align 4
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %2, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
br label %18
18: ; preds = %12
%19 = load i32, ptr %2, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %2, align 4
%21 = load i32, ptr %2, align 4
%22 = icmp slt i32 %21, 1000
br i1 %22, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %0
%24 = call i32 @printf(ptr noundef @.str)
%25 = load ptr, ptr %4, align 8
%26 = load i32, ptr %25, align 4
store i32 %26, ptr %2, align 4
store i32 0, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp slt i32 %27, 1000
br i1 %28, label %.lr.ph2, label %41
.lr.ph2: ; preds = %23
br label %29
29: ; preds = %.lr.ph2, %36
%30 = load i32, ptr %2, align 4
%31 = sub nsw i32 0, %30
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %2, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %32, i64 %34
store i32 %31, ptr %35, align 4
br label %36
36: ; preds = %29
%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, 1000
br i1 %40, label %29, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %36
br label %41
41: ; preds = %._crit_edge3, %23
%42 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_rb6vnzo.c'
source_filename = "/tmp/tmp_rb6vnzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello world!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Now reading uninitialized memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Did you notice? (value was %i)\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"(No memory leak here)\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Now writing to uninitialized pointer\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Did you notice?\0A\00", align 1
@.str.6 = private unnamed_addr constant [38 x i8] c"There should be 2 errors in this run\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i64 @malloc(i32 noundef 4)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %2, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, 2
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %4, align 8
store i32 %18, ptr %19, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(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/tmp_rb6vnzo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello world!\0A\00", align 1
@.str.1 = private unnamed_addr constant [34 x i8] c"Now reading uninitialized memory\0A\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"Did you notice? (value was %i)\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"(No memory leak here)\0A\00", align 1
@.str.4 = private unnamed_addr constant [38 x i8] c"Now writing to uninitialized pointer\0A\00", align 1
@.str.5 = private unnamed_addr constant [17 x i8] c"Did you notice?\0A\00", align 1
@.str.6 = private unnamed_addr constant [38 x i8] c"There should be 2 errors in this run\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i64 @malloc(i32 noundef 4)
%7 = inttoptr i64 %6 to ptr
store ptr %7, ptr %2, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %9, align 4
%11 = add nsw i32 %10, 2
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = load ptr, ptr %2, align 8
%15 = call i32 @free(ptr noundef %14)
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%18 = load i32, ptr %3, align 4
%19 = load ptr, ptr %4, align 8
store i32 %18, ptr %19, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i64 @malloc(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/tmp86_3e5cs.c'
source_filename = "/tmp/tmp86_3e5cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPand(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [10 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 9
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %47
12: ; preds = %2
%13 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 10)
store i32 0, ptr %7, align 4
br label %15
15: ; preds = %43, %12
%16 = load i32, ptr %7, align 4
%17 = icmp ne i32 %16, 9
br i1 %17, label %18, label %46
18: ; preds = %15
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
store i32 %24, ptr %8, align 4
%25 = load i32, ptr %8, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %26
%28 = load i8, ptr %27, align 1
%29 = add i8 %28, 1
store i8 %29, ptr %27, align 1
%30 = load i32, ptr %8, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %31
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp sgt i32 %34, 1
br i1 %35, label %41, label %36
36: ; preds = %18
%37 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 1
br i1 %40, label %41, label %42
41: ; preds = %36, %18
store i32 0, ptr %3, align 4
br label %47
42: ; preds = %36
br label %43
43: ; preds = %42
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %7, align 4
br label %15, !llvm.loop !6
46: ; preds = %15
store i32 1, ptr %3, align 4
br label %47
47: ; preds = %46, %41, %11
%48 = load i32, ptr %3, align 4
ret i32 %48
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp86_3e5cs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @isPand(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca [10 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 9
br i1 %10, label %11, label %12
11: ; preds = %2
store i32 0, ptr %3, align 4
br label %48
12: ; preds = %2
%13 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @memset(ptr noundef %13, i32 noundef 0, i32 noundef 10)
store i32 0, ptr %7, align 4
%15 = load i32, ptr %7, align 4
%16 = icmp ne i32 %15, 9
br i1 %16, label %.lr.ph, label %47
.lr.ph: ; preds = %12
br label %17
17: ; preds = %.lr.ph, %42
%18 = load ptr, ptr %4, align 8
%19 = load i32, ptr %7, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
store i32 %23, ptr %8, align 4
%24 = load i32, ptr %8, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = add i8 %27, 1
store i8 %28, ptr %26, align 1
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 %30
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp sgt i32 %33, 1
br i1 %34, label %40, label %35
35: ; preds = %17
%36 = getelementptr inbounds [10 x i8], ptr %6, i64 0, i64 0
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 1
br i1 %39, label %40, label %41
40: ; preds = %35, %17
store i32 0, ptr %3, align 4
br label %48
41: ; preds = %35
br label %42
42: ; preds = %41
%43 = load i32, ptr %7, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %7, align 4
%45 = load i32, ptr %7, align 4
%46 = icmp ne i32 %45, 9
br i1 %46, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %47
47: ; preds = %._crit_edge, %12
store i32 1, ptr %3, align 4
br label %48
48: ; preds = %47, %40, %11
%49 = load i32, ptr %3, align 4
ret i32 %49
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpgt6j2k2z.c'
source_filename = "/tmp/tmpgt6j2k2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
br label %19
19: ; preds = %22, %18
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %20, 1
br i1 %21, label %22, label %37
22: ; preds = %19
%23 = load ptr, ptr %5, align 8
%24 = load i32, ptr %8, align 4
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %23, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = call i64 @strtoul(ptr noundef %28, i32 noundef 0, i32 noundef 10)
%30 = trunc i64 %29 to i32
store i32 %30, ptr %9, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %33
store i32 %31, ptr %34, align 4
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %8, align 4
br label %19, !llvm.loop !6
37: ; preds = %19
%38 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%39 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%40 = call i32 @RandomFunc(ptr noundef %38, ptr noundef %39)
%41 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%42 = load i32, ptr %41, align 4
%43 = icmp eq i32 %42, 1267844600
br i1 %43, label %44, label %46
44: ; preds = %37
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %47
46: ; preds = %37
br label %47
47: ; preds = %46, %44
store i32 0, ptr %10, align 4
br label %48
48: ; preds = %51, %47
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %51, label %59
51: ; preds = %48
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
br label %48, !llvm.loop !8
59: ; preds = %48
%60 = load i32, ptr %3, align 4
ret i32 %60
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgt6j2k2z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Call this program with %i arguments\0A\00", align 1
@.str.1 = private unnamed_addr constant [10 x i8] c"You win!\0A\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1 x i32], align 4
%7 = alloca [1 x i32], align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = call i32 (...) @megaInit()
%12 = load i32, ptr %4, align 4
%13 = icmp ne i32 %12, 2
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 1)
%16 = call i32 @exit(i32 noundef -1) #3
unreachable
17: ; preds = %2
br label %18
18: ; preds = %17
store i32 0, ptr %8, align 4
%19 = load i32, ptr %8, align 4
%20 = icmp slt i32 %19, 1
br i1 %20, label %.lr.ph, label %38
.lr.ph: ; preds = %18
br label %21
21: ; preds = %.lr.ph, %21
%22 = load ptr, ptr %5, align 8
%23 = load i32, ptr %8, align 4
%24 = add nsw i32 %23, 1
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %22, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strtoul(ptr noundef %27, i32 noundef 0, i32 noundef 10)
%29 = trunc i64 %28 to i32
store i32 %29, ptr %9, align 4
%30 = load i32, ptr %9, align 4
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 %32
store i32 %30, ptr %33, align 4
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %8, align 4
%37 = icmp slt i32 %36, 1
br i1 %37, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %38
38: ; preds = %._crit_edge, %18
%39 = getelementptr inbounds [1 x i32], ptr %6, i64 0, i64 0
%40 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%41 = call i32 @RandomFunc(ptr noundef %39, ptr noundef %40)
%42 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 0
%43 = load i32, ptr %42, align 4
%44 = icmp eq i32 %43, 1267844600
br i1 %44, label %45, label %47
45: ; preds = %38
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %48
47: ; preds = %38
br label %48
48: ; preds = %47, %45
store i32 0, ptr %10, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %49, 1
br i1 %50, label %.lr.ph2, label %61
.lr.ph2: ; preds = %48
br label %51
51: ; preds = %.lr.ph2, %51
%52 = load i32, ptr %10, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [1 x i32], ptr %7, i64 0, i64 %53
%55 = load i32, ptr %54, align 4
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %55)
%57 = load i32, ptr %10, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %10, align 4
%59 = load i32, ptr %10, align 4
%60 = icmp slt i32 %59, 1
br i1 %60, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %61
61: ; preds = %._crit_edge3, %48
%62 = load i32, ptr %3, align 4
ret i32 %62
}
declare i32 @megaInit(...) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i64 @strtoul(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @RandomFunc(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpd_oae2tt.c'
source_filename = "/tmp/tmpd_oae2tt.c"
target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [8 x i32] [i32 4, i32 1, i32 8, i32 10, i32 5, i32 2, i32 3, i32 6], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 32, i1 false)
%3 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @printArray(ptr noundef %3, i32 noundef 8)
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @insertionSort(ptr noundef %5, i32 noundef 8)
%7 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%8 = call i32 @printArray(ptr noundef %7, i32 noundef 8)
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 @printArray(ptr noundef, i32 noundef) #2
declare i32 @insertionSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpd_oae2tt.c"
target datalayout = "e-m:e-p270: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.arr = private unnamed_addr constant [8 x i32] [i32 4, i32 1, i32 8, i32 10, i32 5, i32 2, i32 3, i32 6], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.arr, i64 32, i1 false)
%3 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%4 = call i32 @printArray(ptr noundef %3, i32 noundef 8)
%5 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%6 = call i32 @insertionSort(ptr noundef %5, i32 noundef 8)
%7 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 0
%8 = call i32 @printArray(ptr noundef %7, i32 noundef 8)
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 @printArray(ptr noundef, i32 noundef) #2
declare i32 @insertionSort(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjl0g3rz1.c'
source_filename = "/tmp/tmpjl0g3rz1.c"
target datalayout = "e-m:e-p270: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/tmpjl0g3rz1.c"
target datalayout = "e-m:e-p270: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/tmpwkho5owg.c'
source_filename = "/tmp/tmpwkho5owg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @atoi(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr %6, align 4
%16 = call i32 @process_pid(i32 noundef %15)
%17 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %17
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @process_pid(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/tmpwkho5owg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 1
%9 = load ptr, ptr %8, align 8
%10 = call i32 @atoi(ptr noundef %9)
store i32 %10, ptr %6, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 1
%13 = load ptr, ptr %12, align 8
%14 = call i32 @printf(ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr %6, align 4
%16 = call i32 @process_pid(i32 noundef %15)
%17 = load i32, ptr @EXIT_SUCCESS, align 4
ret i32 %17
}
declare i32 @atoi(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @process_pid(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.