llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmp532vgxul.c'
source_filename = "/tmp/tmp532vgxul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pollen_time_TimerManager_start__E() #0 {
%1 = call i32 (...) @virtual_mcu_TimerMilli_isRunning__E()
%2 = icmp ne i32 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = call i32 (...) @virtual_mcu_TimerMilli_start__E()
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @virtual_mcu_TimerMilli_isRunning__E(...) #1
declare i32 @virtual_mcu_TimerMilli_start__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp532vgxul.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pollen_time_TimerManager_start__E() #0 {
%1 = call i32 (...) @virtual_mcu_TimerMilli_isRunning__E()
%2 = icmp ne i32 %1, 0
br i1 %2, label %5, label %3
3: ; preds = %0
%4 = call i32 (...) @virtual_mcu_TimerMilli_start__E()
br label %5
5: ; preds = %3, %0
ret void
}
declare i32 @virtual_mcu_TimerMilli_isRunning__E(...) #1
declare i32 @virtual_mcu_TimerMilli_start__E(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnd_fn_su.c'
source_filename = "/tmp/tmpnd_fn_su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [141 x i8] c"1. Add a number to the list\0A2. Delete element of the list\0A3. View list\0A4. Find a value in the list\0A5. Sort list\0A6. Reverse the list\0A7. Exit\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"invalid\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
br label %3
3: ; preds = %0, %23
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
switch i32 %6, label %21 [
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
i32 6, label %17
i32 7, label %19
]
7: ; preds = %3
%8 = call i32 (...) @insert()
br label %23
9: ; preds = %3
%10 = call i32 (...) @delete()
br label %23
11: ; preds = %3
%12 = call i32 (...) @display()
br label %23
13: ; preds = %3
%14 = call i32 (...) @findbyvalue()
br label %23
15: ; preds = %3
%16 = call i32 (...) @sortlist()
br label %23
17: ; preds = %3
%18 = call i32 (...) @reverselist()
br label %23
19: ; preds = %3
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
21: ; preds = %3
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %17, %15, %13, %11, %9, %7
br label %3
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @insert(...) #1
declare i32 @delete(...) #1
declare i32 @display(...) #1
declare i32 @findbyvalue(...) #1
declare i32 @sortlist(...) #1
declare i32 @reverselist(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnd_fn_su.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [141 x i8] c"1. Add a number to the list\0A2. Delete element of the list\0A3. View list\0A4. Find a value in the list\0A5. Sort list\0A6. Reverse the list\0A7. Exit\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [8 x i8] c"invalid\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
br label %3
3: ; preds = %23, %0
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
switch i32 %6, label %21 [
i32 1, label %7
i32 2, label %9
i32 3, label %11
i32 4, label %13
i32 5, label %15
i32 6, label %17
i32 7, label %19
]
7: ; preds = %3
%8 = call i32 (...) @insert()
br label %23
9: ; preds = %3
%10 = call i32 (...) @delete()
br label %23
11: ; preds = %3
%12 = call i32 (...) @display()
br label %23
13: ; preds = %3
%14 = call i32 (...) @findbyvalue()
br label %23
15: ; preds = %3
%16 = call i32 (...) @sortlist()
br label %23
17: ; preds = %3
%18 = call i32 (...) @reverselist()
br label %23
19: ; preds = %3
%20 = call i32 @exit(i32 noundef 0) #3
unreachable
21: ; preds = %3
%22 = call i32 @printf(ptr noundef @.str.2)
br label %23
23: ; preds = %21, %17, %15, %13, %11, %9, %7
br label %3
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @insert(...) #1
declare i32 @delete(...) #1
declare i32 @display(...) #1
declare i32 @findbyvalue(...) #1
declare i32 @sortlist(...) #1
declare i32 @reverselist(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp12bzs2od.c'
source_filename = "/tmp/tmp12bzs2od.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"\1B[?47h\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Error changing terminal buffer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @consoleBufferOpen() #0 {
%1 = load i32, ptr @STDOUT_FILENO, align 4
%2 = call i32 @write(i32 noundef %1, ptr noundef @.str, i32 noundef 6)
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @die(ptr noundef @.str.1)
br label %6
6: ; preds = %4, %0
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp12bzs2od.c"
target datalayout = "e-m:e-p270: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_FILENO = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"\1B[?47h\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"Error changing terminal buffer\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @consoleBufferOpen() #0 {
%1 = load i32, ptr @STDOUT_FILENO, align 4
%2 = call i32 @write(i32 noundef %1, ptr noundef @.str, i32 noundef 6)
%3 = icmp eq i32 %2, -1
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i32 @die(ptr noundef @.str.1)
br label %6
6: ; preds = %4, %0
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @die(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpj5bz70_k.c'
source_filename = "/tmp/tmpj5bz70_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nbAdjacentToken(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i8 noundef signext %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i8 %5, ptr %12, align 1
store i64 1, ptr %15, align 8
%16 = load i64, ptr %8, align 8
%17 = load i32, ptr %10, align 4
%18 = sext i32 %17 to i64
%19 = add i64 %16, %18
store i64 %19, ptr %13, align 8
%20 = load i64, ptr %9, align 8
%21 = load i32, ptr %11, align 4
%22 = sext i32 %21 to i64
%23 = add i64 %20, %22
store i64 %23, ptr %14, align 8
br label %24
24: ; preds = %45, %6
%25 = load i64, ptr %13, align 8
%26 = load i64, ptr %14, align 8
%27 = call i64 @validPoint(i64 noundef %25, i64 noundef %26)
%28 = icmp ne i64 %27, 0
br i1 %28, label %29, label %54
29: ; preds = %24
%30 = load ptr, ptr %7, align 8
%31 = load i64, ptr %14, align 8
%32 = getelementptr inbounds ptr, ptr %30, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = load i64, ptr %13, align 8
%35 = getelementptr inbounds i8, ptr %33, i64 %34
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = load i8, ptr %12, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %37, %39
br i1 %40, label %41, label %44
41: ; preds = %29
%42 = load i64, ptr %15, align 8
%43 = add i64 %42, 1
store i64 %43, ptr %15, align 8
br label %45
44: ; preds = %29
br label %54
45: ; preds = %41
%46 = load i32, ptr %10, align 4
%47 = sext i32 %46 to i64
%48 = load i64, ptr %13, align 8
%49 = add i64 %48, %47
store i64 %49, ptr %13, align 8
%50 = load i32, ptr %11, align 4
%51 = sext i32 %50 to i64
%52 = load i64, ptr %14, align 8
%53 = add i64 %52, %51
store i64 %53, ptr %14, align 8
br label %24, !llvm.loop !6
54: ; preds = %44, %24
%55 = load i64, ptr %15, align 8
ret i64 %55
}
declare i64 @validPoint(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj5bz70_k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @nbAdjacentToken(ptr noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, i8 noundef signext %5) #0 {
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8, align 1
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, align 8
store ptr %0, ptr %7, align 8
store i64 %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store i32 %4, ptr %11, align 4
store i8 %5, ptr %12, align 1
store i64 1, ptr %15, align 8
%16 = load i64, ptr %8, align 8
%17 = load i32, ptr %10, align 4
%18 = sext i32 %17 to i64
%19 = add i64 %16, %18
store i64 %19, ptr %13, align 8
%20 = load i64, ptr %9, align 8
%21 = load i32, ptr %11, align 4
%22 = sext i32 %21 to i64
%23 = add i64 %20, %22
store i64 %23, ptr %14, align 8
%24 = load i64, ptr %13, align 8
%25 = load i64, ptr %14, align 8
%26 = call i64 @validPoint(i64 noundef %24, i64 noundef %25)
%27 = icmp ne i64 %26, 0
br i1 %27, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %6
br label %28
28: ; preds = %.lr.ph, %44
%29 = load ptr, ptr %7, align 8
%30 = load i64, ptr %14, align 8
%31 = getelementptr inbounds ptr, ptr %29, i64 %30
%32 = load ptr, ptr %31, align 8
%33 = load i64, ptr %13, align 8
%34 = getelementptr inbounds i8, ptr %32, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = load i8, ptr %12, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %36, %38
br i1 %39, label %40, label %43
40: ; preds = %28
%41 = load i64, ptr %15, align 8
%42 = add i64 %41, 1
store i64 %42, ptr %15, align 8
br label %44
43: ; preds = %28
br label %57
44: ; preds = %40
%45 = load i32, ptr %10, align 4
%46 = sext i32 %45 to i64
%47 = load i64, ptr %13, align 8
%48 = add i64 %47, %46
store i64 %48, ptr %13, align 8
%49 = load i32, ptr %11, align 4
%50 = sext i32 %49 to i64
%51 = load i64, ptr %14, align 8
%52 = add i64 %51, %50
store i64 %52, ptr %14, align 8
%53 = load i64, ptr %13, align 8
%54 = load i64, ptr %14, align 8
%55 = call i64 @validPoint(i64 noundef %53, i64 noundef %54)
%56 = icmp ne i64 %55, 0
br i1 %56, label %28, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %44
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %6
br label %57
57: ; preds = %.loopexit, %43
%58 = load i64, ptr %15, align 8
ret i64 %58
}
declare i64 @validPoint(i64 noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpkw7i6hie.c'
source_filename = "/tmp/tmpkw7i6hie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %7, align 4
br label %8
8: ; preds = %48, %2
%9 = load i32, ptr @EOF, align 4
%10 = call i32 (...) @getchar()
store i32 %10, ptr %6, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %12, label %49
12: ; preds = %8
%13 = load i32, ptr %6, align 4
%14 = icmp eq i32 62, %13
br i1 %14, label %15, label %40
15: ; preds = %12
%16 = load i32, ptr %7, align 4
%17 = icmp eq i32 47, %16
br i1 %17, label %18, label %24
18: ; preds = %15
%19 = call i32 @putchar(i32 noundef 10)
%20 = load i32, ptr %7, align 4
%21 = call i32 @putchar(i32 noundef %20)
%22 = load i32, ptr %6, align 4
%23 = call i32 @putchar(i32 noundef %22)
store i32 -1, ptr %7, align 4
br label %39
24: ; preds = %15
%25 = load i32, ptr %7, align 4
%26 = icmp ne i32 63, %25
br i1 %26, label %27, label %33
27: ; preds = %24
%28 = load i32, ptr %7, align 4
%29 = call i32 @putchar(i32 noundef %28)
%30 = call i32 @putchar(i32 noundef 10)
%31 = load i32, ptr %6, align 4
%32 = call i32 @putchar(i32 noundef %31)
store i32 -1, ptr %7, align 4
br label %38
33: ; preds = %24
%34 = load i32, ptr %7, align 4
%35 = call i32 @putchar(i32 noundef %34)
%36 = load i32, ptr %6, align 4
%37 = call i32 @putchar(i32 noundef %36)
store i32 -1, ptr %7, align 4
br label %38
38: ; preds = %33, %27
br label %39
39: ; preds = %38, %18
br label %48
40: ; preds = %12
%41 = load i32, ptr %7, align 4
%42 = icmp sge i32 %41, 0
br i1 %42, label %43, label %46
43: ; preds = %40
%44 = load i32, ptr %7, align 4
%45 = call i32 @putchar(i32 noundef %44)
br label %46
46: ; preds = %43, %40
%47 = load i32, ptr %6, align 4
store i32 %47, ptr %7, align 4
br label %48
48: ; preds = %46, %39
br label %8, !llvm.loop !6
49: ; preds = %8
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkw7i6hie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 -1, ptr %7, align 4
%8 = load i32, ptr @EOF, align 4
%9 = call i32 (...) @getchar()
store i32 %9, ptr %6, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %.lr.ph, label %51
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %47
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 62, %12
br i1 %13, label %14, label %39
14: ; preds = %11
%15 = load i32, ptr %7, align 4
%16 = icmp eq i32 47, %15
br i1 %16, label %17, label %23
17: ; preds = %14
%18 = call i32 @putchar(i32 noundef 10)
%19 = load i32, ptr %7, align 4
%20 = call i32 @putchar(i32 noundef %19)
%21 = load i32, ptr %6, align 4
%22 = call i32 @putchar(i32 noundef %21)
store i32 -1, ptr %7, align 4
br label %38
23: ; preds = %14
%24 = load i32, ptr %7, align 4
%25 = icmp ne i32 63, %24
br i1 %25, label %26, label %32
26: ; preds = %23
%27 = load i32, ptr %7, align 4
%28 = call i32 @putchar(i32 noundef %27)
%29 = call i32 @putchar(i32 noundef 10)
%30 = load i32, ptr %6, align 4
%31 = call i32 @putchar(i32 noundef %30)
store i32 -1, ptr %7, align 4
br label %37
32: ; preds = %23
%33 = load i32, ptr %7, align 4
%34 = call i32 @putchar(i32 noundef %33)
%35 = load i32, ptr %6, align 4
%36 = call i32 @putchar(i32 noundef %35)
store i32 -1, ptr %7, align 4
br label %37
37: ; preds = %32, %26
br label %38
38: ; preds = %37, %17
br label %47
39: ; preds = %11
%40 = load i32, ptr %7, align 4
%41 = icmp sge i32 %40, 0
br i1 %41, label %42, label %45
42: ; preds = %39
%43 = load i32, ptr %7, align 4
%44 = call i32 @putchar(i32 noundef %43)
br label %45
45: ; preds = %42, %39
%46 = load i32, ptr %6, align 4
store i32 %46, ptr %7, align 4
br label %47
47: ; preds = %45, %38
%48 = load i32, ptr @EOF, align 4
%49 = call i32 (...) @getchar()
store i32 %49, ptr %6, align 4
%50 = icmp ne i32 %48, %49
br i1 %50, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %47
br label %51
51: ; preds = %._crit_edge, %2
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7h1vcrpn.c'
source_filename = "/tmp/tmp7h1vcrpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vector_dummy_free(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
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/tmp7h1vcrpn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vector_dummy_free(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
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/tmp2hvyu3vt.c'
source_filename = "/tmp/tmp2hvyu3vt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @func(i32 noundef 2, i32 noundef 3)
%3 = call i32 @func(i32 noundef 8, i32 noundef 2)
%4 = call i32 @func(i32 noundef -3, i32 noundef -2)
ret i32 %4
}
declare i32 @func(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/tmp2hvyu3vt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @func(i32 noundef 2, i32 noundef 3)
%3 = call i32 @func(i32 noundef 8, i32 noundef 2)
%4 = call i32 @func(i32 noundef -3, i32 noundef -2)
ret i32 %4
}
declare i32 @func(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/tmpsm5nwxg3.c'
source_filename = "/tmp/tmpsm5nwxg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
br label %4
4: ; preds = %15, %14, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %19
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %11, label %15
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 32
br i1 %13, label %14, label %15
14: ; preds = %11
br label %4, !llvm.loop !6
15: ; preds = %11, %8
%16 = load i32, ptr %2, align 4
store i32 %16, ptr %3, align 4
%17 = load i32, ptr %2, align 4
%18 = call i32 @putchar(i32 noundef %17)
br label %4, !llvm.loop !6
19: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsm5nwxg3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %2, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %.backedge
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 32
br i1 %9, label %10, label %17
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 32
br i1 %12, label %13, label %17
13: ; preds = %10
br label %.backedge
.backedge: ; preds = %13, %17
%14 = call i32 (...) @getchar()
store i32 %14, ptr %2, align 4
%15 = load i32, ptr @EOF, align 4
%16 = icmp ne i32 %14, %15
br i1 %16, label %7, label %._crit_edge, !llvm.loop !6
17: ; preds = %10, %7
%18 = load i32, ptr %2, align 4
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %2, align 4
%20 = call i32 @putchar(i32 noundef %19)
br label %.backedge
._crit_edge: ; preds = %.backedge
br label %21
21: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvam89sd4.c'
source_filename = "/tmp/tmpvam89sd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @_Locale_thousands_sep(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i8 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvam89sd4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @_Locale_thousands_sep(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
ret i8 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"}
|
; ModuleID = '/tmp/tmp75v7i4gz.c'
source_filename = "/tmp/tmp75v7i4gz.c"
target datalayout = "e-m:e-p270: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/tmp75v7i4gz.c"
target datalayout = "e-m:e-p270: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/tmpwud133ux.c'
source_filename = "/tmp/tmpwud133ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %24, %0
%5 = call i32 (...) @getchar()
store i32 %5, ptr %2, align 4
%6 = load i32, ptr @EOF, align 4
%7 = icmp ne i32 %5, %6
br i1 %7, label %8, label %25
8: ; preds = %4
%9 = load i32, ptr %2, align 4
%10 = icmp eq i32 %9, 32
br i1 %10, label %11, label %17
11: ; preds = %8
%12 = load i32, ptr %3, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %11
store i32 1, ptr %3, align 4
%15 = load i32, ptr %2, align 4
%16 = call i32 @putchar(i32 noundef %15)
br label %24
17: ; preds = %11, %8
%18 = load i32, ptr %2, align 4
%19 = icmp ne i32 %18, 32
br i1 %19, label %20, label %23
20: ; preds = %17
store i32 0, ptr %3, align 4
%21 = load i32, ptr %2, align 4
%22 = call i32 @putchar(i32 noundef %21)
br label %23
23: ; preds = %20, %17
br label %24
24: ; preds = %23, %14
br label %4, !llvm.loop !6
25: ; preds = %4
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwud133ux.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %23
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 32
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = icmp eq i32 %11, 0
br i1 %12, label %13, label %16
13: ; preds = %10
store i32 1, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = call i32 @putchar(i32 noundef %14)
br label %23
16: ; preds = %10, %7
%17 = load i32, ptr %2, align 4
%18 = icmp ne i32 %17, 32
br i1 %18, label %19, label %22
19: ; preds = %16
store i32 0, ptr %3, align 4
%20 = load i32, ptr %2, align 4
%21 = call i32 @putchar(i32 noundef %20)
br label %22
22: ; preds = %19, %16
br label %23
23: ; preds = %22, %13
%24 = call i32 (...) @getchar()
store i32 %24, ptr %2, align 4
%25 = load i32, ptr @EOF, align 4
%26 = icmp ne i32 %24, %25
br i1 %26, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %27
27: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp7trkjkht.c'
source_filename = "/tmp/tmp7trkjkht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
store i32 0, ptr %1, align 4
store x86_fp80 0xK4000C90FDAA22168C235, ptr %2, align 16
store x86_fp80 0xK4000ADF85458A2BB4A9B, ptr %3, align 16
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 16)
%6 = load x86_fp80, ptr %2, align 16
%7 = load x86_fp80, ptr %3, align 16
%8 = fmul x86_fp80 %6, %7
store x86_fp80 %8, ptr %4, align 16
%9 = call i32 @printfp(ptr noundef @.str, ptr noundef %4)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printfp(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/tmp7trkjkht.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"result\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca x86_fp80, align 16
%3 = alloca x86_fp80, align 16
%4 = alloca x86_fp80, align 16
store i32 0, ptr %1, align 4
store x86_fp80 0xK4000C90FDAA22168C235, ptr %2, align 16
store x86_fp80 0xK4000ADF85458A2BB4A9B, ptr %3, align 16
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 16)
%6 = load x86_fp80, ptr %2, align 16
%7 = load x86_fp80, ptr %3, align 16
%8 = fmul x86_fp80 %6, %7
store x86_fp80 %8, ptr %4, align 16
%9 = call i32 @printfp(ptr noundef @.str, ptr noundef %4)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printfp(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/tmpoijas6fu.c'
source_filename = "/tmp/tmpoijas6fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sdnv_encode(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %6, align 4
br label %9
9: ; preds = %14, %2
%10 = load i32, ptr %6, align 4
%11 = ashr i32 %10, 7
store i32 %11, ptr %6, align 4
%12 = load i64, ptr %5, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %5, align 8
br label %14
14: ; preds = %9
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %9, label %17, !llvm.loop !6
17: ; preds = %14
%18 = load i64, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 %18
store ptr %20, ptr %4, align 8
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %31, %17
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 -1
store ptr %23, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %3, align 4
%26 = and i32 %25, 127
%27 = or i32 %24, %26
%28 = load ptr, ptr %4, align 8
store i32 %27, ptr %28, align 4
store i32 128, ptr %7, align 4
%29 = load i32, ptr %3, align 4
%30 = ashr i32 %29, 7
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %21
%32 = load i32, ptr %3, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %21, label %34, !llvm.loop !8
34: ; preds = %31
%35 = load i64, ptr %5, align 8
%36 = trunc i64 %35 to i32
ret i32 %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpoijas6fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sdnv_encode(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%8 = load i32, ptr %3, align 4
store i32 %8, ptr %6, align 4
br label %9
9: ; preds = %14, %2
%10 = load i32, ptr %6, align 4
%11 = ashr i32 %10, 7
store i32 %11, ptr %6, align 4
%12 = load i64, ptr %5, align 8
%13 = add i64 %12, 1
store i64 %13, ptr %5, align 8
br label %14
14: ; preds = %9
%15 = load i32, ptr %6, align 4
%16 = icmp ne i32 %15, 0
br i1 %16, label %9, label %17, !llvm.loop !6
17: ; preds = %14
%18 = load i64, ptr %5, align 8
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i32, ptr %19, i64 %18
store ptr %20, ptr %4, align 8
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %31, %17
%22 = load ptr, ptr %4, align 8
%23 = getelementptr inbounds i32, ptr %22, i32 -1
store ptr %23, ptr %4, align 8
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %3, align 4
%26 = and i32 %25, 127
%27 = or i32 %24, %26
%28 = load ptr, ptr %4, align 8
store i32 %27, ptr %28, align 4
store i32 128, ptr %7, align 4
%29 = load i32, ptr %3, align 4
%30 = ashr i32 %29, 7
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %21
%32 = load i32, ptr %3, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %21, label %34, !llvm.loop !8
34: ; preds = %31
%35 = load i64, ptr %5, align 8
%36 = trunc i64 %35 to i32
ret i32 %36
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpmx76r5ou.c'
source_filename = "/tmp/tmpmx76r5ou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [14 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.str, i64 14, i1 false)
%3 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @rotN(ptr noundef %3, i32 noundef 13)
%5 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @puts(ptr noundef %5)
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 @rotN(ptr noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmx76r5ou.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.str = private unnamed_addr constant [14 x i8] c"Hello, world!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [14 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.str, i64 14, i1 false)
%3 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%4 = call i32 @rotN(ptr noundef %3, i32 noundef 13)
%5 = getelementptr inbounds [14 x i8], ptr %2, i64 0, i64 0
%6 = call i32 @puts(ptr noundef %5)
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 @rotN(ptr noundef, i32 noundef) #2
declare i32 @puts(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwuqwgx2w.c'
source_filename = "/tmp/tmpwuqwgx2w.c"
target datalayout = "e-m:e-p270: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/tmpwuqwgx2w.c"
target datalayout = "e-m:e-p270: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/tmpbj4lujs4.c'
source_filename = "/tmp/tmpbj4lujs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"H2: %lf ppm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @senFunc7(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
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = sitofp i32 %9 to double
%11 = fmul double 2.489820e+00, %10
%12 = fmul double %11, 4.880000e-03
%13 = call double @exp(double noundef %12) #3
%14 = fmul double 3.875510e-01, %13
%15 = call i32 @snprintf(ptr noundef %7, i32 noundef %8, ptr noundef @.str, double noundef %14)
ret i32 %15
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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/tmpbj4lujs4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"H2: %lf ppm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @senFunc7(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
%7 = load ptr, ptr %4, align 8
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = sitofp i32 %9 to double
%11 = fmul double 2.489820e+00, %10
%12 = fmul double %11, 4.880000e-03
%13 = call double @exp(double noundef %12) #3
%14 = fmul double 3.875510e-01, %13
%15 = call i32 @snprintf(ptr noundef %7, i32 noundef %8, ptr noundef @.str, double noundef %14)
ret i32 %15
}
declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, double noundef) #1
; Function Attrs: nounwind
declare double @exp(double noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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/tmpqoxb00k4.c'
source_filename = "/tmp/tmpqoxb00k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSA_PSS_PARAMS_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RSA_PSS_PARAMS_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 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @RSA_PSS_PARAMS_it)
ret void
}
declare i32 @ASN1_item_free(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/tmpqoxb00k4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RSA_PSS_PARAMS_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RSA_PSS_PARAMS_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 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @RSA_PSS_PARAMS_it)
ret void
}
declare i32 @ASN1_item_free(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/tmpmfdj0qui.c'
source_filename = "/tmp/tmpmfdj0qui.c"
target datalayout = "e-m:e-p270: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/tmpmfdj0qui.c"
target datalayout = "e-m:e-p270: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/tmps4_3192g.c'
source_filename = "/tmp/tmps4_3192g.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"Require coefficient filename.\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Error loading coefficients.\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Error in AACGM conversion.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [15 x i8] c"AACGMLoadCoef\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Coefficient file:%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Input: lat=%g, lon=%g, height=%g\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Output: lat=%g, lon=%g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store double 8.500000e+01, ptr %7, align 8
store double 4.500000e+01, ptr %8, align 8
store double 1.500000e+02, ptr %9, align 8
store i32 0, ptr %13, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = call i32 @exit(i32 noundef -1) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @AACGMLoadCoef(ptr noundef %25)
store i32 %26, ptr %14, align 4
%27 = load i32, ptr %14, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %21
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = call i32 @exit(i32 noundef -1) #3
unreachable
33: ; preds = %21
%34 = load double, ptr %7, align 8
%35 = load double, ptr %8, align 8
%36 = load double, ptr %9, align 8
%37 = load i32, ptr %13, align 4
%38 = call i32 @AACGMConvert(double noundef %34, double noundef %35, double noundef %36, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %37)
store i32 %38, ptr %14, align 4
%39 = load i32, ptr %14, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %33
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.2)
%44 = call i32 @exit(i32 noundef -1) #3
unreachable
45: ; preds = %33
%46 = load i32, ptr @stdout, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.3)
%48 = load i32, ptr @stdout, align 4
%49 = load ptr, ptr %6, align 8
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.4, ptr noundef %49)
%51 = load i32, ptr @stdout, align 4
%52 = load double, ptr %7, align 8
%53 = load double, ptr %8, align 8
%54 = load double, ptr %9, align 8
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.5, double noundef %52, double noundef %53, double noundef %54)
%56 = load i32, ptr @stdout, align 4
%57 = load double, ptr %10, align 8
%58 = load double, ptr %11, align 8
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.6, double noundef %57, double noundef %58)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @AACGMLoadCoef(ptr noundef) #1
declare i32 @AACGMConvert(double noundef, double noundef, double 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" }
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/tmps4_3192g.c"
target datalayout = "e-m:e-p270: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 [31 x i8] c"Require coefficient filename.\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"Error loading coefficients.\0A\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Error in AACGM conversion.\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [15 x i8] c"AACGMLoadCoef\0A\00", align 1
@.str.4 = private unnamed_addr constant [21 x i8] c"Coefficient file:%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"Input: lat=%g, lon=%g, height=%g\0A\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"Output: lat=%g, lon=%g\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store double 8.500000e+01, ptr %7, align 8
store double 4.500000e+01, ptr %8, align 8
store double 1.500000e+02, ptr %9, align 8
store i32 0, ptr %13, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 2
br i1 %16, label %17, label %21
17: ; preds = %2
%18 = load i32, ptr @stderr, align 4
%19 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str)
%20 = call i32 @exit(i32 noundef -1) #3
unreachable
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 1
%24 = load ptr, ptr %23, align 8
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = call i32 @AACGMLoadCoef(ptr noundef %25)
store i32 %26, ptr %14, align 4
%27 = load i32, ptr %14, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %33
29: ; preds = %21
%30 = load i32, ptr @stderr, align 4
%31 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %30, ptr noundef @.str.1)
%32 = call i32 @exit(i32 noundef -1) #3
unreachable
33: ; preds = %21
%34 = load double, ptr %7, align 8
%35 = load double, ptr %8, align 8
%36 = load double, ptr %9, align 8
%37 = load i32, ptr %13, align 4
%38 = call i32 @AACGMConvert(double noundef %34, double noundef %35, double noundef %36, ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %37)
store i32 %38, ptr %14, align 4
%39 = load i32, ptr %14, align 4
%40 = icmp ne i32 %39, 0
br i1 %40, label %41, label %45
41: ; preds = %33
%42 = load i32, ptr @stderr, align 4
%43 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %42, ptr noundef @.str.2)
%44 = call i32 @exit(i32 noundef -1) #3
unreachable
45: ; preds = %33
%46 = load i32, ptr @stdout, align 4
%47 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %46, ptr noundef @.str.3)
%48 = load i32, ptr @stdout, align 4
%49 = load ptr, ptr %6, align 8
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %48, ptr noundef @.str.4, ptr noundef %49)
%51 = load i32, ptr @stdout, align 4
%52 = load double, ptr %7, align 8
%53 = load double, ptr %8, align 8
%54 = load double, ptr %9, align 8
%55 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %51, ptr noundef @.str.5, double noundef %52, double noundef %53, double noundef %54)
%56 = load i32, ptr @stdout, align 4
%57 = load double, ptr %10, align 8
%58 = load double, ptr %11, align 8
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.6, double noundef %57, double noundef %58)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @AACGMLoadCoef(ptr noundef) #1
declare i32 @AACGMConvert(double noundef, double noundef, double 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" }
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/tmpiw8wefah.c'
source_filename = "/tmp/tmpiw8wefah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @console_putc(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @serial_putc(i8 noundef signext %3, i32 noundef 1)
%5 = load i8, ptr %2, align 1
%6 = call i32 @crt_putc(i8 noundef signext %5, i32 noundef 0)
ret void
}
declare i32 @serial_putc(i8 noundef signext, i32 noundef) #1
declare i32 @crt_putc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiw8wefah.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @console_putc(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @serial_putc(i8 noundef signext %3, i32 noundef 1)
%5 = load i8, ptr %2, align 1
%6 = call i32 @crt_putc(i8 noundef signext %5, i32 noundef 0)
ret void
}
declare i32 @serial_putc(i8 noundef signext, i32 noundef) #1
declare i32 @crt_putc(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg71uwyyg.c'
source_filename = "/tmp/tmpg71uwyyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pathIsBaseName(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 @strchr(ptr noundef %3, i8 noundef signext 47)
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 92)
%9 = icmp eq ptr %8, null
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg71uwyyg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pathIsBaseName(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 @strchr(ptr noundef %3, i8 noundef signext 47)
%5 = icmp eq ptr %4, null
br i1 %5, label %6, label %10
6: ; preds = %1
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strchr(ptr noundef %7, i8 noundef signext 92)
%9 = icmp eq ptr %8, null
br label %10
10: ; preds = %6, %1
%11 = phi i1 [ false, %1 ], [ %9, %6 ]
%12 = zext i1 %11 to i32
ret i32 %12
}
declare ptr @strchr(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpctypddx0.c'
source_filename = "/tmp/tmpctypddx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"can't start encryption - no OpenSSL suppport!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_start_crypt_out(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @send_error(ptr noundef @.str)
ret void
}
declare i32 @send_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpctypddx0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"can't start encryption - no OpenSSL suppport!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @cmd_start_crypt_out(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call i32 @send_error(ptr noundef @.str)
ret void
}
declare i32 @send_error(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6mtcf9bi.c'
source_filename = "/tmp/tmp6mtcf9bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0A\09-Se produjo el error\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"%s EINVAL (The value specified by mutex is invalid.) \0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"%s EPERM (The current thread does not hold a lock on mutex.)\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @validaUnlock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %3, align 8
%4 = load i32, ptr %2, align 4
switch i32 %4, label %11 [
i32 129, label %5
i32 128, label %8
]
5: ; preds = %1
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
br label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
br label %11
11: ; preds = %1, %8, %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/tmp6mtcf9bi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"\0A\09-Se produjo el error\00", align 1
@.str.1 = private unnamed_addr constant [56 x i8] c"%s EINVAL (The value specified by mutex is invalid.) \0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [63 x i8] c"%s EPERM (The current thread does not hold a lock on mutex.)\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @validaUnlock(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store ptr @.str, ptr %3, align 8
%4 = load i32, ptr %2, align 4
switch i32 %4, label %11 [
i32 129, label %5
i32 128, label %8
]
5: ; preds = %1
%6 = load ptr, ptr %3, align 8
%7 = call i32 @printf(ptr noundef @.str.1, ptr noundef %6)
br label %11
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @printf(ptr noundef @.str.2, ptr noundef %9)
br label %11
11: ; preds = %8, %5, %1
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/tmpy11cn7fq.c'
source_filename = "/tmp/tmpy11cn7fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toDecimal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
br label %9
9: ; preds = %33, %1
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %36
13: ; preds = %9
%14 = load ptr, ptr %2, align 8
%15 = load i32, ptr %4, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 49
br i1 %20, label %21, label %32
21: ; preds = %13
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = add nsw i32 %23, 1
%25 = sub nsw i32 %22, %24
store i32 %25, ptr %6, align 4
%26 = load i32, ptr %6, align 4
%27 = call i64 @pow(i32 noundef 2, i32 noundef %26)
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = add nsw i64 %29, %27
%31 = trunc i64 %30 to i32
store i32 %31, ptr %3, align 4
br label %32
32: ; preds = %21, %13
br label %33
33: ; preds = %32
%34 = load i32, ptr %4, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %4, align 4
br label %9, !llvm.loop !6
36: ; preds = %9
%37 = load i32, ptr %3, align 4
ret i32 %37
}
declare i32 @strlen(ptr noundef) #1
declare i64 @pow(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/tmpy11cn7fq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @toDecimal(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %5, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %38
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %32
%13 = load ptr, ptr %2, align 8
%14 = load i32, ptr %4, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, ptr %13, i64 %15
%17 = load i8, ptr %16, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 49
br i1 %19, label %20, label %31
20: ; preds = %12
%21 = load i32, ptr %5, align 4
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
%24 = sub nsw i32 %21, %23
store i32 %24, ptr %6, align 4
%25 = load i32, ptr %6, align 4
%26 = call i64 @pow(i32 noundef 2, i32 noundef %25)
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = add nsw i64 %28, %26
%30 = trunc i64 %29 to i32
store i32 %30, ptr %3, align 4
br label %31
31: ; preds = %20, %12
br label %32
32: ; preds = %31
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
%35 = load i32, ptr %4, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %1
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @strlen(ptr noundef) #1
declare i64 @pow(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/tmpd5gtg1w_.c'
source_filename = "/tmp/tmpd5gtg1w_.c"
target datalayout = "e-m:e-p270: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/tmpd5gtg1w_.c"
target datalayout = "e-m:e-p270: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/tmper0zz_wf.c'
source_filename = "/tmp/tmper0zz_wf.c"
target datalayout = "e-m:e-p270: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/tmper0zz_wf.c"
target datalayout = "e-m:e-p270: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/tmps3aeyryp.c'
source_filename = "/tmp/tmps3aeyryp.c"
target datalayout = "e-m:e-p270: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/tmps3aeyryp.c"
target datalayout = "e-m:e-p270: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/tmps43glq35.c'
source_filename = "/tmp/tmps43glq35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_ppd_comment(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strchr(ptr noundef %5, i32 noundef 37)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
store i8 0, ptr %10, align 1
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %3, align 8
%13 = call ptr @strchr(ptr noundef %12, i32 noundef 10)
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
store i8 0, ptr %17, align 1
br label %18
18: ; preds = %16, %11
%19 = load ptr, ptr %3, align 8
%20 = call ptr @strchr(ptr noundef %19, i32 noundef 13)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %23, %18
%26 = load ptr, ptr %3, align 8
%27 = call ptr @strchr(ptr noundef %26, i32 noundef 12)
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
store i8 0, ptr %31, align 1
br label %32
32: ; preds = %30, %25
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %32
store ptr null, ptr %2, align 8
br label %41
39: ; preds = %32
%40 = load ptr, ptr %3, align 8
store ptr %40, ptr %2, align 8
br label %41
41: ; preds = %39, %38
%42 = load ptr, ptr %2, align 8
ret ptr %42
}
declare ptr @strchr(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/tmps43glq35.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @delete_ppd_comment(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @strchr(ptr noundef %5, i32 noundef 37)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = load ptr, ptr %4, align 8
store i8 0, ptr %10, align 1
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %3, align 8
%13 = call ptr @strchr(ptr noundef %12, i32 noundef 10)
store ptr %13, ptr %4, align 8
%14 = load ptr, ptr %4, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %18
16: ; preds = %11
%17 = load ptr, ptr %4, align 8
store i8 0, ptr %17, align 1
br label %18
18: ; preds = %16, %11
%19 = load ptr, ptr %3, align 8
%20 = call ptr @strchr(ptr noundef %19, i32 noundef 13)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %25
23: ; preds = %18
%24 = load ptr, ptr %4, align 8
store i8 0, ptr %24, align 1
br label %25
25: ; preds = %23, %18
%26 = load ptr, ptr %3, align 8
%27 = call ptr @strchr(ptr noundef %26, i32 noundef 12)
store ptr %27, ptr %4, align 8
%28 = load ptr, ptr %4, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %32
30: ; preds = %25
%31 = load ptr, ptr %4, align 8
store i8 0, ptr %31, align 1
br label %32
32: ; preds = %30, %25
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 0
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 0
br i1 %37, label %38, label %39
38: ; preds = %32
store ptr null, ptr %2, align 8
br label %41
39: ; preds = %32
%40 = load ptr, ptr %3, align 8
store ptr %40, ptr %2, align 8
br label %41
41: ; preds = %39, %38
%42 = load ptr, ptr %2, align 8
ret ptr %42
}
declare ptr @strchr(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/tmpp49li3bu.c'
source_filename = "/tmp/tmpp49li3bu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_parse_file(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 [200 x i8], align 16
%8 = alloca [50 x i8], align 16
%9 = alloca [50 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 50, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false)
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
br label %16
16: ; preds = %191, %3
%17 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%18 = load ptr, ptr %4, align 8
%19 = call ptr @fgets(ptr noundef %17, i32 noundef 200, ptr noundef %18)
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %192
21: ; preds = %16
%22 = load i32, ptr %14, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %14, align 4
%24 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
store ptr %24, ptr %10, align 8
%25 = load i32, ptr %14, align 4
%26 = icmp eq i32 %25, 1
br i1 %26, label %27, label %48
27: ; preds = %21
%28 = load ptr, ptr %10, align 8
%29 = getelementptr inbounds i8, ptr %28, i64 0
%30 = load i8, ptr %29, align 1
%31 = zext i8 %30 to i32
%32 = icmp eq i32 %31, 239
br i1 %32, label %33, label %48
33: ; preds = %27
%34 = load ptr, ptr %10, align 8
%35 = getelementptr inbounds i8, ptr %34, i64 1
%36 = load i8, ptr %35, align 1
%37 = zext i8 %36 to i32
%38 = icmp eq i32 %37, 187
br i1 %38, label %39, label %48
39: ; preds = %33
%40 = load ptr, ptr %10, align 8
%41 = getelementptr inbounds i8, ptr %40, i64 2
%42 = load i8, ptr %41, align 1
%43 = zext i8 %42 to i32
%44 = icmp eq i32 %43, 191
br i1 %44, label %45, label %48
45: ; preds = %39
%46 = load ptr, ptr %10, align 8
%47 = getelementptr inbounds i8, ptr %46, i64 3
store ptr %47, ptr %10, align 8
br label %48
48: ; preds = %45, %39, %33, %27, %21
%49 = load ptr, ptr %10, align 8
%50 = call ptr @rstrip(ptr noundef %49)
%51 = call ptr @lskip(ptr noundef %50)
store ptr %51, ptr %10, align 8
%52 = load ptr, ptr %10, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 59
br i1 %55, label %61, label %56
56: ; preds = %48
%57 = load ptr, ptr %10, align 8
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 35
br i1 %60, label %61, label %62
61: ; preds = %56, %48
br label %191
62: ; preds = %56
%63 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%64 = load i8, ptr %63, align 16
%65 = sext i8 %64 to i32
%66 = icmp ne i32 %65, 0
br i1 %66, label %67, label %90
67: ; preds = %62
%68 = load ptr, ptr %10, align 8
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %90
72: ; preds = %67
%73 = load ptr, ptr %10, align 8
%74 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%75 = icmp ugt ptr %73, %74
br i1 %75, label %76, label %90
76: ; preds = %72
%77 = load ptr, ptr %5, align 8
%78 = load ptr, ptr %6, align 8
%79 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0
%80 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%81 = load ptr, ptr %10, align 8
%82 = call i32 %77(ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81)
%83 = icmp ne i32 %82, 0
br i1 %83, label %89, label %84
84: ; preds = %76
%85 = load i32, ptr %15, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %89, label %87
87: ; preds = %84
%88 = load i32, ptr %14, align 4
store i32 %88, ptr %15, align 4
br label %89
89: ; preds = %87, %84, %76
br label %190
90: ; preds = %72, %67, %62
%91 = load ptr, ptr %10, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = icmp eq i32 %93, 91
br i1 %94, label %95, label %117
95: ; preds = %90
%96 = load ptr, ptr %10, align 8
%97 = getelementptr inbounds i8, ptr %96, i64 1
%98 = call ptr @find_char_or_comment(ptr noundef %97, i8 noundef signext 93)
store ptr %98, ptr %11, align 8
%99 = load ptr, ptr %11, align 8
%100 = load i8, ptr %99, align 1
%101 = sext i8 %100 to i32
%102 = icmp eq i32 %101, 93
br i1 %102, label %103, label %110
103: ; preds = %95
%104 = load ptr, ptr %11, align 8
store i8 0, ptr %104, align 1
%105 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0
%106 = load ptr, ptr %10, align 8
%107 = getelementptr inbounds i8, ptr %106, i64 1
%108 = call i32 @strncpy0(ptr noundef %105, ptr noundef %107, i32 noundef 50)
%109 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %109, align 16
br label %116
110: ; preds = %95
%111 = load i32, ptr %15, align 4
%112 = icmp ne i32 %111, 0
br i1 %112, label %115, label %113
113: ; preds = %110
%114 = load i32, ptr %14, align 4
store i32 %114, ptr %15, align 4
br label %115
115: ; preds = %113, %110
br label %116
116: ; preds = %115, %103
br label %189
117: ; preds = %90
%118 = load ptr, ptr %10, align 8
%119 = load i8, ptr %118, align 1
%120 = sext i8 %119 to i32
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %188
122: ; preds = %117
%123 = load ptr, ptr %10, align 8
%124 = load i8, ptr %123, align 1
%125 = sext i8 %124 to i32
%126 = icmp ne i32 %125, 59
br i1 %126, label %127, label %188
127: ; preds = %122
%128 = load ptr, ptr %10, align 8
%129 = call ptr @find_char_or_comment(ptr noundef %128, i8 noundef signext 61)
store ptr %129, ptr %11, align 8
%130 = load ptr, ptr %11, align 8
%131 = load i8, ptr %130, align 1
%132 = sext i8 %131 to i32
%133 = icmp ne i32 %132, 61
br i1 %133, label %134, label %137
134: ; preds = %127
%135 = load ptr, ptr %10, align 8
%136 = call ptr @find_char_or_comment(ptr noundef %135, i8 noundef signext 58)
store ptr %136, ptr %11, align 8
br label %137
137: ; preds = %134, %127
%138 = load ptr, ptr %11, align 8
%139 = load i8, ptr %138, align 1
%140 = sext i8 %139 to i32
%141 = icmp eq i32 %140, 61
br i1 %141, label %147, label %142
142: ; preds = %137
%143 = load ptr, ptr %11, align 8
%144 = load i8, ptr %143, align 1
%145 = sext i8 %144 to i32
%146 = icmp eq i32 %145, 58
br i1 %146, label %147, label %181
147: ; preds = %142, %137
%148 = load ptr, ptr %11, align 8
store i8 0, ptr %148, align 1
%149 = load ptr, ptr %10, align 8
%150 = call ptr @rstrip(ptr noundef %149)
store ptr %150, ptr %12, align 8
%151 = load ptr, ptr %11, align 8
%152 = getelementptr inbounds i8, ptr %151, i64 1
%153 = call ptr @lskip(ptr noundef %152)
store ptr %153, ptr %13, align 8
%154 = load ptr, ptr %13, align 8
%155 = call ptr @find_char_or_comment(ptr noundef %154, i8 noundef signext 0)
store ptr %155, ptr %11, align 8
%156 = load ptr, ptr %11, align 8
%157 = load i8, ptr %156, align 1
%158 = sext i8 %157 to i32
%159 = icmp eq i32 %158, 59
br i1 %159, label %160, label %162
160: ; preds = %147
%161 = load ptr, ptr %11, align 8
store i8 0, ptr %161, align 1
br label %162
162: ; preds = %160, %147
%163 = load ptr, ptr %13, align 8
%164 = call ptr @rstrip(ptr noundef %163)
%165 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%166 = load ptr, ptr %12, align 8
%167 = call i32 @strncpy0(ptr noundef %165, ptr noundef %166, i32 noundef 50)
%168 = load ptr, ptr %5, align 8
%169 = load ptr, ptr %6, align 8
%170 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0
%171 = load ptr, ptr %12, align 8
%172 = load ptr, ptr %13, align 8
%173 = call i32 %168(ptr noundef %169, ptr noundef %170, ptr noundef %171, ptr noundef %172)
%174 = icmp ne i32 %173, 0
br i1 %174, label %180, label %175
175: ; preds = %162
%176 = load i32, ptr %15, align 4
%177 = icmp ne i32 %176, 0
br i1 %177, label %180, label %178
178: ; preds = %175
%179 = load i32, ptr %14, align 4
store i32 %179, ptr %15, align 4
br label %180
180: ; preds = %178, %175, %162
br label %187
181: ; preds = %142
%182 = load i32, ptr %15, align 4
%183 = icmp ne i32 %182, 0
br i1 %183, label %186, label %184
184: ; preds = %181
%185 = load i32, ptr %14, align 4
store i32 %185, ptr %15, align 4
br label %186
186: ; preds = %184, %181
br label %187
187: ; preds = %186, %180
br label %188
188: ; preds = %187, %122, %117
br label %189
189: ; preds = %188, %116
br label %190
190: ; preds = %189, %89
br label %191
191: ; preds = %190, %61
br label %16, !llvm.loop !6
192: ; preds = %16
%193 = load i32, ptr %15, align 4
ret i32 %193
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare ptr @lskip(ptr noundef) #2
declare ptr @rstrip(ptr noundef) #2
declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2
declare i32 @strncpy0(ptr noundef, 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: 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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpp49li3bu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ini_parse_file(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 [200 x i8], align 16
%8 = alloca [50 x i8], align 16
%9 = alloca [50 x i8], align 16
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
call void @llvm.memset.p0.i64(ptr align 16 %8, i8 0, i64 50, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 50, i1 false)
store i32 0, ptr %14, align 4
store i32 0, ptr %15, align 4
%16 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%17 = load ptr, ptr %4, align 8
%18 = call ptr @fgets(ptr noundef %16, i32 noundef 200, ptr noundef %17)
%19 = icmp ne ptr %18, null
br i1 %19, label %.lr.ph, label %194
.lr.ph: ; preds = %3
br label %20
20: ; preds = %.lr.ph, %190
%21 = load i32, ptr %14, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %14, align 4
%23 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
store ptr %23, ptr %10, align 8
%24 = load i32, ptr %14, align 4
%25 = icmp eq i32 %24, 1
br i1 %25, label %26, label %47
26: ; preds = %20
%27 = load ptr, ptr %10, align 8
%28 = getelementptr inbounds i8, ptr %27, i64 0
%29 = load i8, ptr %28, align 1
%30 = zext i8 %29 to i32
%31 = icmp eq i32 %30, 239
br i1 %31, label %32, label %47
32: ; preds = %26
%33 = load ptr, ptr %10, align 8
%34 = getelementptr inbounds i8, ptr %33, i64 1
%35 = load i8, ptr %34, align 1
%36 = zext i8 %35 to i32
%37 = icmp eq i32 %36, 187
br i1 %37, label %38, label %47
38: ; preds = %32
%39 = load ptr, ptr %10, align 8
%40 = getelementptr inbounds i8, ptr %39, i64 2
%41 = load i8, ptr %40, align 1
%42 = zext i8 %41 to i32
%43 = icmp eq i32 %42, 191
br i1 %43, label %44, label %47
44: ; preds = %38
%45 = load ptr, ptr %10, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 3
store ptr %46, ptr %10, align 8
br label %47
47: ; preds = %44, %38, %32, %26, %20
%48 = load ptr, ptr %10, align 8
%49 = call ptr @rstrip(ptr noundef %48)
%50 = call ptr @lskip(ptr noundef %49)
store ptr %50, ptr %10, align 8
%51 = load ptr, ptr %10, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 59
br i1 %54, label %60, label %55
55: ; preds = %47
%56 = load ptr, ptr %10, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 35
br i1 %59, label %60, label %61
60: ; preds = %55, %47
br label %190
61: ; preds = %55
%62 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%63 = load i8, ptr %62, align 16
%64 = sext i8 %63 to i32
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %89
66: ; preds = %61
%67 = load ptr, ptr %10, align 8
%68 = load i8, ptr %67, align 1
%69 = sext i8 %68 to i32
%70 = icmp ne i32 %69, 0
br i1 %70, label %71, label %89
71: ; preds = %66
%72 = load ptr, ptr %10, align 8
%73 = getelementptr inbounds [200 x i8], ptr %7, i64 0, i64 0
%74 = icmp ugt ptr %72, %73
br i1 %74, label %75, label %89
75: ; preds = %71
%76 = load ptr, ptr %5, align 8
%77 = load ptr, ptr %6, align 8
%78 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0
%79 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%80 = load ptr, ptr %10, align 8
%81 = call i32 %76(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80)
%82 = icmp ne i32 %81, 0
br i1 %82, label %88, label %83
83: ; preds = %75
%84 = load i32, ptr %15, align 4
%85 = icmp ne i32 %84, 0
br i1 %85, label %88, label %86
86: ; preds = %83
%87 = load i32, ptr %14, align 4
store i32 %87, ptr %15, align 4
br label %88
88: ; preds = %86, %83, %75
br label %189
89: ; preds = %71, %66, %61
%90 = load ptr, ptr %10, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
%93 = icmp eq i32 %92, 91
br i1 %93, label %94, label %116
94: ; preds = %89
%95 = load ptr, ptr %10, align 8
%96 = getelementptr inbounds i8, ptr %95, i64 1
%97 = call ptr @find_char_or_comment(ptr noundef %96, i8 noundef signext 93)
store ptr %97, ptr %11, align 8
%98 = load ptr, ptr %11, align 8
%99 = load i8, ptr %98, align 1
%100 = sext i8 %99 to i32
%101 = icmp eq i32 %100, 93
br i1 %101, label %102, label %109
102: ; preds = %94
%103 = load ptr, ptr %11, align 8
store i8 0, ptr %103, align 1
%104 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0
%105 = load ptr, ptr %10, align 8
%106 = getelementptr inbounds i8, ptr %105, i64 1
%107 = call i32 @strncpy0(ptr noundef %104, ptr noundef %106, i32 noundef 50)
%108 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
store i8 0, ptr %108, align 16
br label %115
109: ; preds = %94
%110 = load i32, ptr %15, align 4
%111 = icmp ne i32 %110, 0
br i1 %111, label %114, label %112
112: ; preds = %109
%113 = load i32, ptr %14, align 4
store i32 %113, ptr %15, align 4
br label %114
114: ; preds = %112, %109
br label %115
115: ; preds = %114, %102
br label %188
116: ; preds = %89
%117 = load ptr, ptr %10, align 8
%118 = load i8, ptr %117, align 1
%119 = sext i8 %118 to i32
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %187
121: ; preds = %116
%122 = load ptr, ptr %10, align 8
%123 = load i8, ptr %122, align 1
%124 = sext i8 %123 to i32
%125 = icmp ne i32 %124, 59
br i1 %125, label %126, label %187
126: ; preds = %121
%127 = load ptr, ptr %10, align 8
%128 = call ptr @find_char_or_comment(ptr noundef %127, i8 noundef signext 61)
store ptr %128, ptr %11, align 8
%129 = load ptr, ptr %11, align 8
%130 = load i8, ptr %129, align 1
%131 = sext i8 %130 to i32
%132 = icmp ne i32 %131, 61
br i1 %132, label %133, label %136
133: ; preds = %126
%134 = load ptr, ptr %10, align 8
%135 = call ptr @find_char_or_comment(ptr noundef %134, i8 noundef signext 58)
store ptr %135, ptr %11, align 8
br label %136
136: ; preds = %133, %126
%137 = load ptr, ptr %11, align 8
%138 = load i8, ptr %137, align 1
%139 = sext i8 %138 to i32
%140 = icmp eq i32 %139, 61
br i1 %140, label %146, label %141
141: ; preds = %136
%142 = load ptr, ptr %11, align 8
%143 = load i8, ptr %142, align 1
%144 = sext i8 %143 to i32
%145 = icmp eq i32 %144, 58
br i1 %145, label %146, label %180
146: ; preds = %141, %136
%147 = load ptr, ptr %11, align 8
store i8 0, ptr %147, align 1
%148 = load ptr, ptr %10, align 8
%149 = call ptr @rstrip(ptr noundef %148)
store ptr %149, ptr %12, align 8
%150 = load ptr, ptr %11, align 8
%151 = getelementptr inbounds i8, ptr %150, i64 1
%152 = call ptr @lskip(ptr noundef %151)
store ptr %152, ptr %13, align 8
%153 = load ptr, ptr %13, align 8
%154 = call ptr @find_char_or_comment(ptr noundef %153, i8 noundef signext 0)
store ptr %154, ptr %11, align 8
%155 = load ptr, ptr %11, align 8
%156 = load i8, ptr %155, align 1
%157 = sext i8 %156 to i32
%158 = icmp eq i32 %157, 59
br i1 %158, label %159, label %161
159: ; preds = %146
%160 = load ptr, ptr %11, align 8
store i8 0, ptr %160, align 1
br label %161
161: ; preds = %159, %146
%162 = load ptr, ptr %13, align 8
%163 = call ptr @rstrip(ptr noundef %162)
%164 = getelementptr inbounds [50 x i8], ptr %9, i64 0, i64 0
%165 = load ptr, ptr %12, align 8
%166 = call i32 @strncpy0(ptr noundef %164, ptr noundef %165, i32 noundef 50)
%167 = load ptr, ptr %5, align 8
%168 = load ptr, ptr %6, align 8
%169 = getelementptr inbounds [50 x i8], ptr %8, i64 0, i64 0
%170 = load ptr, ptr %12, align 8
%171 = load ptr, ptr %13, align 8
%172 = call i32 %167(ptr noundef %168, ptr noundef %169, ptr noundef %170, ptr noundef %171)
%173 = icmp ne i32 %172, 0
br i1 %173, label %179, label %174
174: ; preds = %161
%175 = load i32, ptr %15, align 4
%176 = icmp ne i32 %175, 0
br i1 %176, label %179, label %177
177: ; preds = %174
%178 = load i32, ptr %14, align 4
store i32 %178, ptr %15, align 4
br label %179
179: ; preds = %177, %174, %161
br label %186
180: ; preds = %141
%181 = load i32, ptr %15, align 4
%182 = icmp ne i32 %181, 0
br i1 %182, label %185, label %183
183: ; preds = %180
%184 = load i32, ptr %14, align 4
store i32 %184, ptr %15, align 4
br label %185
185: ; preds = %183, %180
br label %186
186: ; preds = %185, %179
br label %187
187: ; preds = %186, %121, %116
br label %188
188: ; preds = %187, %115
br label %189
189: ; preds = %188, %88
br label %190
190: ; preds = %189, %60
%191 = load ptr, ptr %4, align 8
%192 = call ptr @fgets(ptr noundef %16, i32 noundef 200, ptr noundef %191)
%193 = icmp ne ptr %192, null
br i1 %193, label %20, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %190
br label %194
194: ; preds = %._crit_edge, %3
%195 = load i32, ptr %15, align 4
ret i32 %195
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2
declare ptr @lskip(ptr noundef) #2
declare ptr @rstrip(ptr noundef) #2
declare ptr @find_char_or_comment(ptr noundef, i8 noundef signext) #2
declare i32 @strncpy0(ptr noundef, 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: 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"}
|
; ModuleID = '/tmp/tmpza63q8vr.c'
source_filename = "/tmp/tmpza63q8vr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %6, %0
%4 = call ptr (...) @getusershell()
store ptr %4, ptr %2, align 8
%5 = icmp ne ptr %4, null
br i1 %5, label %6, label %9
6: ; preds = %3
%7 = load ptr, ptr %2, align 8
%8 = call i32 @puts(ptr noundef %7)
br label %3, !llvm.loop !6
9: ; preds = %3
ret i32 0
}
declare ptr @getusershell(...) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpza63q8vr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 0, ptr %1, align 4
%3 = call ptr (...) @getusershell()
store ptr %3, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %.lr.ph, label %10
.lr.ph: ; preds = %0
br label %5
5: ; preds = %.lr.ph, %5
%6 = load ptr, ptr %2, align 8
%7 = call i32 @puts(ptr noundef %6)
%8 = call ptr (...) @getusershell()
store ptr %8, ptr %2, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %5, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %5
br label %10
10: ; preds = %._crit_edge, %0
ret i32 0
}
declare ptr @getusershell(...) #1
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqeojikx_.c'
source_filename = "/tmp/tmpqeojikx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xb1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0xb1() #0 {
%1 = call i64 @isupper(i32 noundef 177)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 890, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmpqeojikx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0xb1\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0xb1() #0 {
%1 = call i64 @isupper(i32 noundef 177)
%2 = icmp eq i64 %1, 0
%3 = zext i1 %2 to i32
%4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 890, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @isupper(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/tmp83ojv42j.c'
source_filename = "/tmp/tmp83ojv42j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_key(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @kf7_create_key(ptr noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
ret i32 %12
}
declare i32 @kf7_create_key(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/tmp83ojv42j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @create_key(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %5, align 8
%10 = load i32, ptr %6, align 4
%11 = call i32 @kf7_create_key(ptr noundef %8, ptr noundef %9, i32 noundef %10)
store i32 %11, ptr %7, align 4
%12 = load i32, ptr %7, align 4
ret i32 %12
}
declare i32 @kf7_create_key(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/tmpneo5p31k.c'
source_filename = "/tmp/tmpneo5p31k.c"
target datalayout = "e-m:e-p270: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.arrayIntersection.array1 = private unnamed_addr constant [10 x i32] [i32 5, i32 6, i32 2, i32 3, i32 7, i32 8, i32 1, i32 12, i32 34, i32 9], align 16
@__const.arrayIntersection.array2 = private unnamed_addr constant [5 x i32] [i32 2, i32 3, i32 1, i32 4, i32 6], align 16
@.str = private unnamed_addr constant [5 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arrayIntersection() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca [5 x i32], align 16
%3 = alloca [5 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.arrayIntersection.array1, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.arrayIntersection.array2, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 20, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %40, %0
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %9, 5
br i1 %10, label %11, label %43
11: ; preds = %8
store i32 0, ptr %6, align 4
br label %12
12: ; preds = %36, %11
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 10
br i1 %14, label %15, label %39
15: ; preds = %12
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %17
%19 = load i32, ptr %18, align 4
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %21
%23 = load i32, ptr %22, align 4
%24 = icmp eq i32 %19, %23
br i1 %24, label %25, label %35
25: ; preds = %15
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %27
%29 = load i32, ptr %28, align 4
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %31
store i32 %29, ptr %32, align 4
%33 = load i32, ptr %4, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %4, align 4
br label %39
35: ; preds = %15
br label %36
36: ; preds = %35
%37 = load i32, ptr %6, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %6, align 4
br label %12, !llvm.loop !6
39: ; preds = %25, %12
br label %40
40: ; preds = %39
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
br label %8, !llvm.loop !8
43: ; preds = %8
store i32 0, ptr %7, align 4
br label %44
44: ; preds = %60, %43
%45 = load i32, ptr %7, align 4
%46 = icmp slt i32 %45, 5
br i1 %46, label %47, label %63
47: ; preds = %44
%48 = load i32, ptr %7, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %49
%51 = load i32, ptr %50, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %59
53: ; preds = %47
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %55
%57 = load i32, ptr %56, align 4
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %57)
br label %59
59: ; preds = %53, %47
br label %60
60: ; preds = %59
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
br label %44, !llvm.loop !9
63: ; preds = %44
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, ...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpneo5p31k.c"
target datalayout = "e-m:e-p270: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.arrayIntersection.array1 = private unnamed_addr constant [10 x i32] [i32 5, i32 6, i32 2, i32 3, i32 7, i32 8, i32 1, i32 12, i32 34, i32 9], align 16
@__const.arrayIntersection.array2 = private unnamed_addr constant [5 x i32] [i32 2, i32 3, i32 1, i32 4, i32 6], align 16
@.str = private unnamed_addr constant [5 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @arrayIntersection() #0 {
%1 = alloca [10 x i32], align 16
%2 = alloca [5 x i32], align 16
%3 = alloca [5 x i32], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.arrayIntersection.array1, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.arrayIntersection.array2, i64 20, i1 false)
call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 20, i1 false)
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %.lr.ph1, label %45
.lr.ph1: ; preds = %0
br label %10
10: ; preds = %.lr.ph1, %40
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 %.loopexit
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %34
%14 = load i32, ptr %5, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %15
%17 = load i32, ptr %16, align 4
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [10 x i32], ptr %1, i64 0, i64 %19
%21 = load i32, ptr %20, align 4
%22 = icmp eq i32 %17, %21
br i1 %22, label %23, label %33
23: ; preds = %13
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %4, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %29
store i32 %27, ptr %30, align 4
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %39
33: ; preds = %13
br label %34
34: ; preds = %33
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %6, align 4
%37 = load i32, ptr %6, align 4
%38 = icmp slt i32 %37, 10
br i1 %38, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %34
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %10
br label %39
39: ; preds = %.loopexit, %23
br label %40
40: ; preds = %39
%41 = load i32, ptr %5, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %5, align 4
%43 = load i32, ptr %5, align 4
%44 = icmp slt i32 %43, 5
br i1 %44, label %10, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %40
br label %45
45: ; preds = %._crit_edge, %0
store i32 0, ptr %7, align 4
%46 = load i32, ptr %7, align 4
%47 = icmp slt i32 %46, 5
br i1 %47, label %.lr.ph3, label %66
.lr.ph3: ; preds = %45
br label %48
48: ; preds = %.lr.ph3, %61
%49 = load i32, ptr %7, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %50
%52 = load i32, ptr %51, align 4
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %60
54: ; preds = %48
%55 = load i32, ptr %7, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [5 x i32], ptr %3, i64 0, i64 %56
%58 = load i32, ptr %57, align 4
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %58)
br label %60
60: ; preds = %54, %48
br label %61
61: ; preds = %60
%62 = load i32, ptr %7, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %7, align 4
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %64, 5
br i1 %65, label %48, label %._crit_edge4, !llvm.loop !9
._crit_edge4: ; preds = %61
br label %66
66: ; preds = %._crit_edge4, %45
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2
declare i32 @printf(ptr noundef, ...) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp7vyshxfo.c'
source_filename = "/tmp/tmp7vyshxfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ingrese un numero \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"El numero es impar \0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"El numero es par \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @verificar(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.2)
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.3)
br label %14
14: ; preds = %12, %10
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @verificar(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/tmp7vyshxfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Ingrese un numero \0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"El numero es impar \0A\00", align 1
@.str.3 = private unnamed_addr constant [19 x i8] c"El numero es par \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = call i32 @verificar(i32 noundef %6)
store i32 %7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %0
%11 = call i32 @printf(ptr noundef @.str.2)
br label %14
12: ; preds = %0
%13 = call i32 @printf(ptr noundef @.str.3)
br label %14
14: ; preds = %12, %10
ret i32 0
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @verificar(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/tmpptgobwcl.c'
source_filename = "/tmp/tmpptgobwcl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpptgobwcl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_UNIX = dso_local global i32 0, align 4
@PF_UNIX = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp740p5ppg.c'
source_filename = "/tmp/tmp740p5ppg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @igc_tm_update(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
switch i32 %8, label %17 [
i32 66, label %9
i32 72, label %13
]
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = call ptr @match_b_record(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %4, align 8
br label %18
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %3, align 8
%16 = call ptr @match_hfdte_record(ptr noundef %14, ptr noundef %15)
store ptr %16, ptr %4, align 8
br label %18
17: ; preds = %2
store ptr null, ptr %4, align 8
br label %18
18: ; preds = %17, %13, %9
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
%21 = xor i1 %20, true
%22 = xor i1 %21, true
%23 = zext i1 %22 to i32
ret i32 %23
}
declare ptr @match_b_record(ptr noundef, ptr noundef) #1
declare ptr @match_hfdte_record(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/tmp740p5ppg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @igc_tm_update(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = getelementptr inbounds i8, ptr %5, i64 0
%7 = load i8, ptr %6, align 1
%8 = sext i8 %7 to i32
switch i32 %8, label %17 [
i32 66, label %9
i32 72, label %13
]
9: ; preds = %2
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %3, align 8
%12 = call ptr @match_b_record(ptr noundef %10, ptr noundef %11)
store ptr %12, ptr %4, align 8
br label %18
13: ; preds = %2
%14 = load ptr, ptr %4, align 8
%15 = load ptr, ptr %3, align 8
%16 = call ptr @match_hfdte_record(ptr noundef %14, ptr noundef %15)
store ptr %16, ptr %4, align 8
br label %18
17: ; preds = %2
store ptr null, ptr %4, align 8
br label %18
18: ; preds = %17, %13, %9
%19 = load ptr, ptr %4, align 8
%20 = icmp ne ptr %19, null
%21 = xor i1 %20, true
%22 = xor i1 %21, true
%23 = zext i1 %22 to i32
ret i32 %23
}
declare ptr @match_b_record(ptr noundef, ptr noundef) #1
declare ptr @match_hfdte_record(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/tmp8hqsk87p.c'
source_filename = "/tmp/tmp8hqsk87p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recvall(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
store ptr %10, ptr %8, align 8
br label %11
11: ; preds = %24, %3
%12 = load i64, ptr %7, align 8
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %31
14: ; preds = %11
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %6, align 8
%17 = load i64, ptr %7, align 8
%18 = call i64 @receive(i32 noundef %15, ptr noundef %16, i64 noundef %17, ptr noundef %9)
%19 = icmp ne i64 %18, 0
br i1 %19, label %23, label %20
20: ; preds = %14
%21 = load i64, ptr %9, align 8
%22 = icmp eq i64 %21, 0
br i1 %22, label %23, label %24
23: ; preds = %20, %14
store i32 -1, ptr %4, align 4
br label %32
24: ; preds = %20
%25 = load i64, ptr %9, align 8
%26 = load ptr, ptr %8, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 %25
store ptr %27, ptr %8, align 8
%28 = load i64, ptr %9, align 8
%29 = load i64, ptr %7, align 8
%30 = sub i64 %29, %28
store i64 %30, ptr %7, align 8
br label %11, !llvm.loop !6
31: ; preds = %11
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %31, %23
%33 = load i32, ptr %4, align 4
ret i32 %33
}
declare i64 @receive(i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8hqsk87p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @recvall(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%10 = load ptr, ptr %6, align 8
store ptr %10, ptr %8, align 8
%11 = load i64, ptr %7, align 8
%12 = icmp ne i64 %11, 0
br i1 %12, label %.lr.ph, label %32
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %23
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %7, align 8
%17 = call i64 @receive(i32 noundef %14, ptr noundef %15, i64 noundef %16, ptr noundef %9)
%18 = icmp ne i64 %17, 0
br i1 %18, label %22, label %19
19: ; preds = %13
%20 = load i64, ptr %9, align 8
%21 = icmp eq i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %19, %13
store i32 -1, ptr %4, align 4
br label %33
23: ; preds = %19
%24 = load i64, ptr %9, align 8
%25 = load ptr, ptr %8, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 %24
store ptr %26, ptr %8, align 8
%27 = load i64, ptr %9, align 8
%28 = load i64, ptr %7, align 8
%29 = sub i64 %28, %27
store i64 %29, ptr %7, align 8
%30 = load i64, ptr %7, align 8
%31 = icmp ne i64 %30, 0
br i1 %31, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %23
br label %32
32: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %33
33: ; preds = %32, %22
%34 = load i32, ptr %4, align 4
ret i32 %34
}
declare i64 @receive(i32 noundef, ptr noundef, i64 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy0iq6y0w.c'
source_filename = "/tmp/tmpy0iq6y0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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, 171723682
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/tmpy0iq6y0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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, 171723682
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/tmpx0mj083s.c'
source_filename = "/tmp/tmpx0mj083s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %12, %0
br i1 true, label %7, label %15
7: ; preds = %6
%8 = load i32, ptr %3, align 4
%9 = icmp eq i32 %8, 0
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
br label %12
12: ; preds = %7
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %2, align 4
br label %6
15: ; preds = %6
%16 = load i32, ptr %3, align 4
%17 = icmp ne i32 %16, 0
%18 = zext i1 %17 to i32
%19 = call i32 @assert(i32 noundef %18)
%20 = load i32, ptr %1, align 4
ret i32 %20
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx0mj083s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %0, %11
%7 = load i32, ptr %3, align 4
%8 = icmp eq i32 %7, 0
%9 = zext i1 %8 to i32
%10 = call i32 @assert(i32 noundef %9)
br label %11
11: ; preds = %6
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %2, align 4
br i1 true, label %6, label %14
14: ; preds = %11
%15 = load i32, ptr %3, align 4
%16 = icmp ne i32 %15, 0
%17 = zext i1 %16 to i32
%18 = call i32 @assert(i32 noundef %17)
%19 = load i32, ptr %1, align 4
ret i32 %19
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqjz2fcds.c'
source_filename = "/tmp/tmpqjz2fcds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MAX = dso_local global i64 0, align 8
@LONG_MIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [23 x i8] c"putnbr: illegal value\0A\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 i32 @p_putnbr(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr @LONG_MAX, align 8
%7 = icmp sge i64 %5, %6
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr @LONG_MIN, align 8
%11 = icmp sle i64 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8, %2
%13 = call i32 @errors(ptr noundef @.str, i32 noundef 84)
br label %14
14: ; preds = %12, %8
%15 = load i64, ptr %3, align 8
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = call i32 @pprint(ptr noundef @.str.1, i32 noundef %18)
%20 = load i64, ptr %3, align 8
%21 = mul nsw i64 %20, -1
%22 = load i32, ptr %4, align 4
%23 = call i32 @p_putnbr(i64 noundef %21, i32 noundef %22)
br label %24
24: ; preds = %17, %14
%25 = load i64, ptr %3, align 8
%26 = icmp sge i64 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %24
%28 = load i64, ptr %3, align 8
%29 = icmp sle i64 %28, 9
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load i64, ptr %3, align 8
%32 = add nsw i64 %31, 48
store i64 %32, ptr %3, align 8
%33 = load i32, ptr %4, align 4
%34 = call i32 @pprint(ptr noundef %3, i32 noundef %33)
br label %49
35: ; preds = %27, %24
%36 = load i64, ptr %3, align 8
%37 = icmp sgt i64 %36, 9
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i64, ptr %3, align 8
%40 = sdiv i64 %39, 10
%41 = load i32, ptr %4, align 4
%42 = call i32 @p_putnbr(i64 noundef %40, i32 noundef %41)
%43 = load i64, ptr %3, align 8
%44 = srem i64 %43, 10
%45 = add nsw i64 %44, 48
store i64 %45, ptr %3, align 8
%46 = load i32, ptr %4, align 4
%47 = call i32 @pprint(ptr noundef %3, i32 noundef %46)
br label %48
48: ; preds = %38, %35
br label %49
49: ; preds = %48, %30
ret i32 0
}
declare i32 @errors(ptr noundef, i32 noundef) #1
declare i32 @pprint(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/tmpqjz2fcds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@LONG_MAX = dso_local global i64 0, align 8
@LONG_MIN = dso_local global i64 0, align 8
@.str = private unnamed_addr constant [23 x i8] c"putnbr: illegal value\0A\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 i32 @p_putnbr(i64 noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i64, ptr %3, align 8
%6 = load i64, ptr @LONG_MAX, align 8
%7 = icmp sge i64 %5, %6
br i1 %7, label %12, label %8
8: ; preds = %2
%9 = load i64, ptr %3, align 8
%10 = load i64, ptr @LONG_MIN, align 8
%11 = icmp sle i64 %9, %10
br i1 %11, label %12, label %14
12: ; preds = %8, %2
%13 = call i32 @errors(ptr noundef @.str, i32 noundef 84)
br label %14
14: ; preds = %12, %8
%15 = load i64, ptr %3, align 8
%16 = icmp slt i64 %15, 0
br i1 %16, label %17, label %24
17: ; preds = %14
%18 = load i32, ptr %4, align 4
%19 = call i32 @pprint(ptr noundef @.str.1, i32 noundef %18)
%20 = load i64, ptr %3, align 8
%21 = mul nsw i64 %20, -1
%22 = load i32, ptr %4, align 4
%23 = call i32 @p_putnbr(i64 noundef %21, i32 noundef %22)
br label %24
24: ; preds = %17, %14
%25 = load i64, ptr %3, align 8
%26 = icmp sge i64 %25, 0
br i1 %26, label %27, label %35
27: ; preds = %24
%28 = load i64, ptr %3, align 8
%29 = icmp sle i64 %28, 9
br i1 %29, label %30, label %35
30: ; preds = %27
%31 = load i64, ptr %3, align 8
%32 = add nsw i64 %31, 48
store i64 %32, ptr %3, align 8
%33 = load i32, ptr %4, align 4
%34 = call i32 @pprint(ptr noundef %3, i32 noundef %33)
br label %49
35: ; preds = %27, %24
%36 = load i64, ptr %3, align 8
%37 = icmp sgt i64 %36, 9
br i1 %37, label %38, label %48
38: ; preds = %35
%39 = load i64, ptr %3, align 8
%40 = sdiv i64 %39, 10
%41 = load i32, ptr %4, align 4
%42 = call i32 @p_putnbr(i64 noundef %40, i32 noundef %41)
%43 = load i64, ptr %3, align 8
%44 = srem i64 %43, 10
%45 = add nsw i64 %44, 48
store i64 %45, ptr %3, align 8
%46 = load i32, ptr %4, align 4
%47 = call i32 @pprint(ptr noundef %3, i32 noundef %46)
br label %48
48: ; preds = %38, %35
br label %49
49: ; preds = %48, %30
ret i32 0
}
declare i32 @errors(ptr noundef, i32 noundef) #1
declare i32 @pprint(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/tmps4cd11eu.c'
source_filename = "/tmp/tmps4cd11eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong allocsize(0,1) uwtable
define dso_local ptr @calloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = mul i64 %6, %7
%9 = call ptr @malloc(i64 noundef %8) #3
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = mul i64 %11, %12
%14 = call i32 @memset(ptr noundef %10, i32 noundef 0, i64 noundef %13)
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong allocsize(0,1) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmps4cd11eu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong allocsize(0,1) uwtable
define dso_local ptr @calloc(i64 noundef %0, i64 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store i64 %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%6 = load i64, ptr %3, align 8
%7 = load i64, ptr %4, align 8
%8 = mul i64 %6, %7
%9 = call ptr @malloc(i64 noundef %8) #3
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i64, ptr %3, align 8
%12 = load i64, ptr %4, align 8
%13 = mul i64 %11, %12
%14 = call i32 @memset(ptr noundef %10, i32 noundef 0, i64 noundef %13)
%15 = load ptr, ptr %5, align 8
ret ptr %15
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong allocsize(0,1) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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/tmpe9wl3yxm.c'
source_filename = "/tmp/tmpe9wl3yxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"{}\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"{\22scale\22:\22%s\22}\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"{\22scans\22:\22%s\22}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [512 x i8], align 16
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 1, ptr %3, align 4
br label %96
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %10, align 8
%22 = call ptr @opendir(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %17
store i32 1, ptr %3, align 4
br label %96
26: ; preds = %17
%27 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str)
br label %29
29: ; preds = %55, %41, %26
%30 = load ptr, ptr %6, align 8
%31 = call ptr @readdir(ptr noundef %30)
store ptr %31, ptr %9, align 8
%32 = icmp ne ptr %31, null
br i1 %32, label %33, label %75
33: ; preds = %29
%34 = load ptr, ptr %9, align 8
%35 = getelementptr inbounds %struct.dirent, ptr %34, i32 0, i32 0
%36 = load ptr, ptr %35, align 8
%37 = getelementptr inbounds i8, ptr %36, i64 0
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 46
br i1 %40, label %41, label %42
41: ; preds = %33
br label %29, !llvm.loop !6
42: ; preds = %33
%43 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%44 = load ptr, ptr %10, align 8
%45 = call i32 @strcpy(ptr noundef %43, ptr noundef %44)
%46 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%47 = load ptr, ptr %9, align 8
%48 = getelementptr inbounds %struct.dirent, ptr %47, i32 0, i32 0
%49 = load ptr, ptr %48, align 8
%50 = call i32 @strcat(ptr noundef %46, ptr noundef %49)
%51 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%52 = call ptr @opendir(ptr noundef %51)
store ptr %52, ptr %7, align 8
%53 = load ptr, ptr %7, align 8
%54 = icmp ne ptr %53, null
br i1 %54, label %55, label %58
55: ; preds = %42
%56 = load ptr, ptr %7, align 8
%57 = call i32 @closedir(ptr noundef %56)
br label %29, !llvm.loop !6
58: ; preds = %42
%59 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%60 = call ptr @fopen(ptr noundef %59, ptr noundef @.str.1)
store ptr %60, ptr %11, align 8
%61 = load ptr, ptr %11, align 8
%62 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%63 = call i32 @fscanf(ptr noundef %61, ptr noundef @.str.2, ptr noundef %62)
store i32 %63, ptr %13, align 4
%64 = load ptr, ptr %11, align 8
%65 = call i32 @fclose(ptr noundef %64)
%66 = load i32, ptr %13, align 4
%67 = load i32, ptr @EOF, align 4
%68 = icmp eq i32 %66, %67
br i1 %68, label %69, label %72
69: ; preds = %58
%70 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%71 = call i32 @strcpy(ptr noundef %70, ptr noundef @.str)
br label %72
72: ; preds = %69, %58
%73 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%74 = call i32 @unlink(ptr noundef %73)
br label %75
75: ; preds = %72, %29
%76 = load ptr, ptr %6, align 8
%77 = call i32 @closedir(ptr noundef %76)
%78 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%79 = call i64 @strlen(ptr noundef %78)
%80 = icmp eq i64 %79, 0
br i1 %80, label %81, label %83
81: ; preds = %75
%82 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %95
83: ; preds = %75
%84 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%85 = load i8, ptr %84, align 16
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 83
br i1 %87, label %88, label %91
88: ; preds = %83
%89 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %89)
br label %94
91: ; preds = %83
%92 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %92)
br label %94
94: ; preds = %91, %88
br label %95
95: ; preds = %94, %81
store i32 0, ptr %3, align 4
br label %96
96: ; preds = %95, %25, %16
%97 = load i32, ptr %3, align 4
ret i32 %97
}
declare ptr @opendir(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @strlen(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/tmpe9wl3yxm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.dirent = type { ptr }
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@EOF = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [4 x i8] c"{}\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"{\22scale\22:\22%s\22}\0A\00", align 1
@.str.5 = private unnamed_addr constant [16 x i8] c"{\22scans\22:\22%s\22}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca [512 x i8], align 16
%13 = 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
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 2
br i1 %15, label %16, label %17
16: ; preds = %2
store i32 1, ptr %3, align 4
br label %98
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %10, align 8
%21 = load ptr, ptr %10, align 8
%22 = call ptr @opendir(ptr noundef %21)
store ptr %22, ptr %6, align 8
%23 = load ptr, ptr %6, align 8
%24 = icmp eq ptr %23, null
br i1 %24, label %25, label %26
25: ; preds = %17
store i32 1, ptr %3, align 4
br label %98
26: ; preds = %17
%27 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%28 = call i32 @strcpy(ptr noundef %27, ptr noundef @.str)
%29 = load ptr, ptr %6, align 8
%30 = call ptr @readdir(ptr noundef %29)
store ptr %30, ptr %9, align 8
%31 = icmp ne ptr %30, null
br i1 %31, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %26
br label %32
32: ; preds = %.lr.ph, %.backedge
%33 = load ptr, ptr %9, align 8
%34 = getelementptr inbounds %struct.dirent, ptr %33, i32 0, i32 0
%35 = load ptr, ptr %34, align 8
%36 = getelementptr inbounds i8, ptr %35, i64 0
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 46
br i1 %39, label %40, label %44
40: ; preds = %32
br label %.backedge
.backedge: ; preds = %40, %57
%41 = load ptr, ptr %6, align 8
%42 = call ptr @readdir(ptr noundef %41)
store ptr %42, ptr %9, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %32, label %..loopexit_crit_edge, !llvm.loop !6
44: ; preds = %32
%45 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%46 = load ptr, ptr %10, align 8
%47 = call i32 @strcpy(ptr noundef %45, ptr noundef %46)
%48 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%49 = load ptr, ptr %9, align 8
%50 = getelementptr inbounds %struct.dirent, ptr %49, i32 0, i32 0
%51 = load ptr, ptr %50, align 8
%52 = call i32 @strcat(ptr noundef %48, ptr noundef %51)
%53 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%54 = call ptr @opendir(ptr noundef %53)
store ptr %54, ptr %7, align 8
%55 = load ptr, ptr %7, align 8
%56 = icmp ne ptr %55, null
br i1 %56, label %57, label %60
57: ; preds = %44
%58 = load ptr, ptr %7, align 8
%59 = call i32 @closedir(ptr noundef %58)
br label %.backedge
60: ; preds = %44
%61 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%62 = call ptr @fopen(ptr noundef %61, ptr noundef @.str.1)
store ptr %62, ptr %11, align 8
%63 = load ptr, ptr %11, align 8
%64 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%65 = call i32 @fscanf(ptr noundef %63, ptr noundef @.str.2, ptr noundef %64)
store i32 %65, ptr %13, align 4
%66 = load ptr, ptr %11, align 8
%67 = call i32 @fclose(ptr noundef %66)
%68 = load i32, ptr %13, align 4
%69 = load i32, ptr @EOF, align 4
%70 = icmp eq i32 %68, %69
br i1 %70, label %71, label %74
71: ; preds = %60
%72 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%73 = call i32 @strcpy(ptr noundef %72, ptr noundef @.str)
br label %74
74: ; preds = %71, %60
%75 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%76 = call i32 @unlink(ptr noundef %75)
br label %77
..loopexit_crit_edge: ; preds = %.backedge
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %26
br label %77
77: ; preds = %.loopexit, %74
%78 = load ptr, ptr %6, align 8
%79 = call i32 @closedir(ptr noundef %78)
%80 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%81 = call i64 @strlen(ptr noundef %80)
%82 = icmp eq i64 %81, 0
br i1 %82, label %83, label %85
83: ; preds = %77
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %97
85: ; preds = %77
%86 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%87 = load i8, ptr %86, align 16
%88 = sext i8 %87 to i32
%89 = icmp eq i32 %88, 83
br i1 %89, label %90, label %93
90: ; preds = %85
%91 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%92 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %91)
br label %96
93: ; preds = %85
%94 = getelementptr inbounds [512 x i8], ptr %12, i64 0, i64 0
%95 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %94)
br label %96
96: ; preds = %93, %90
br label %97
97: ; preds = %96, %83
store i32 0, ptr %3, align 4
br label %98
98: ; preds = %97, %25, %16
%99 = load i32, ptr %3, align 4
ret i32 %99
}
declare ptr @opendir(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @readdir(ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @closedir(ptr noundef) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
declare i64 @strlen(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/tmp7_s162g4.c'
source_filename = "/tmp/tmp7_s162g4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @msleep(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca %struct.timespec, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 24, i1 false)
%5 = load i64, ptr %2, align 8
%6 = udiv i64 %5, 1000
%7 = trunc i64 %6 to i32
store i32 %7, ptr %4, align 4
%8 = load i64, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %9, 1000
%11 = sext i32 %10 to i64
%12 = sub i64 %8, %11
store i64 %12, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %13, ptr %14, align 8
%15 = load i64, ptr %2, align 8
%16 = mul i64 %15, 1000000
%17 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i64 %16, ptr %17, align 8
br label %18
18: ; preds = %21, %1
%19 = call i32 @nanosleep(ptr noundef %3, ptr noundef %3)
%20 = icmp eq i32 %19, -1
br i1 %20, label %21, label %22
21: ; preds = %18
br label %18, !llvm.loop !6
22: ; preds = %18
ret i32 1
}
; 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 @nanosleep(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7_s162g4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i32, i64, i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @msleep(i64 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca %struct.timespec, align 8
%4 = alloca i32, align 4
store i64 %0, ptr %2, align 8
call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 24, i1 false)
%5 = load i64, ptr %2, align 8
%6 = udiv i64 %5, 1000
%7 = trunc i64 %6 to i32
store i32 %7, ptr %4, align 4
%8 = load i64, ptr %2, align 8
%9 = load i32, ptr %4, align 4
%10 = mul nsw i32 %9, 1000
%11 = sext i32 %10 to i64
%12 = sub i64 %8, %11
store i64 %12, ptr %2, align 8
%13 = load i32, ptr %4, align 4
%14 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 0
store i32 %13, ptr %14, align 8
%15 = load i64, ptr %2, align 8
%16 = mul i64 %15, 1000000
%17 = getelementptr inbounds %struct.timespec, ptr %3, i32 0, i32 1
store i64 %16, ptr %17, align 8
br label %18
18: ; preds = %18, %1
%19 = call i32 @nanosleep(ptr noundef %3, ptr noundef %3)
%20 = icmp eq i32 %19, -1
br i1 %20, label %18, label %21, !llvm.loop !6
21: ; preds = %18
ret i32 1
}
; 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 @nanosleep(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdolc9293.c'
source_filename = "/tmp/tmpdolc9293.c"
target datalayout = "e-m:e-p270: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/tmpdolc9293.c"
target datalayout = "e-m:e-p270: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/tmpm5bszn1i.c'
source_filename = "/tmp/tmpm5bszn1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Guess the secret number between 1 and %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"A New number has been chosen.\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Play again? (Y/N): \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 100)
%4 = call i32 (...) @initialize_rng()
br label %5
5: ; preds = %19, %0
%6 = call i32 (...) @choose_rand_num()
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (...) @read_guesses()
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2)
br label %11
11: ; preds = %5
%12 = load i8, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 121
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load i8, ptr %2, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 89
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ true, %11 ], [ %18, %15 ]
br i1 %20, label %5, label %21, !llvm.loop !6
21: ; preds = %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @initialize_rng(...) #1
declare i32 @choose_rand_num(...) #1
declare i32 @read_guesses(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm5bszn1i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [42 x i8] c"Guess the secret number between 1 and %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"A New number has been chosen.\0A\00", align 1
@.str.2 = private unnamed_addr constant [20 x i8] c"Play again? (Y/N): \00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef 100)
%4 = call i32 (...) @initialize_rng()
br label %5
5: ; preds = %19, %0
%6 = call i32 (...) @choose_rand_num()
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%8 = call i32 (...) @read_guesses()
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%10 = call i32 @scanf(ptr noundef @.str.3, ptr noundef %2)
br label %11
11: ; preds = %5
%12 = load i8, ptr %2, align 1
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 121
br i1 %14, label %19, label %15
15: ; preds = %11
%16 = load i8, ptr %2, align 1
%17 = sext i8 %16 to i32
%18 = icmp eq i32 %17, 89
br label %19
19: ; preds = %15, %11
%20 = phi i1 [ true, %11 ], [ %18, %15 ]
br i1 %20, label %5, label %21, !llvm.loop !6
21: ; preds = %19
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @initialize_rng(...) #1
declare i32 @choose_rand_num(...) #1
declare i32 @read_guesses(...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmphtxrsv67.c'
source_filename = "/tmp/tmphtxrsv67.c"
target datalayout = "e-m:e-p270: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.c = private unnamed_addr constant [10 x i8] c"shubhmsng\00", align 1
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.c, i64 10, i1 false)
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %22, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 9
br i1 %7, label %8, label %25
8: ; preds = %5
store i32 0, ptr %3, align 4
br label %9
9: ; preds = %18, %8
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %10, 9
br i1 %11, label %12, label %21
12: ; preds = %9
%13 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = call i32 @substr(ptr noundef %13, i32 noundef %14, i32 noundef %15)
%17 = call i32 @printf(ptr noundef @.str)
br label %18
18: ; preds = %12
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
br label %9, !llvm.loop !6
21: ; preds = %9
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
br label %5, !llvm.loop !8
25: ; preds = %5
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 @substr(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphtxrsv67.c"
target datalayout = "e-m:e-p270: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.c = private unnamed_addr constant [10 x i8] c"shubhmsng\00", align 1
@.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca [10 x i8], align 1
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %4, ptr align 1 @__const.main.c, i64 10, i1 false)
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 9
br i1 %6, label %.lr.ph2, label %27
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %22
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 9
br i1 %9, label %.lr.ph, label %21
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %16
%11 = getelementptr inbounds [10 x i8], ptr %4, i64 0, i64 0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = call i32 @substr(ptr noundef %11, i32 noundef %12, i32 noundef %13)
%15 = call i32 @printf(ptr noundef @.str)
br label %16
16: ; preds = %10
%17 = load i32, ptr %3, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %3, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %19, 9
br i1 %20, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %7
br label %22
22: ; preds = %21
%23 = load i32, ptr %2, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %2, align 4
%25 = load i32, ptr %2, align 4
%26 = icmp slt i32 %25, 9
br i1 %26, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %22
br label %27
27: ; preds = %._crit_edge3, %0
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 @substr(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpvltner96.c'
source_filename = "/tmp/tmpvltner96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @jc_ini_getline(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 i64, 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 ptr %2, ptr %7, align 8
store i64 0, ptr %8, align 8
store ptr null, ptr %9, align 8
br label %11
11: ; preds = %33, %3
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = getelementptr inbounds i8, ptr %12, i64 %13
%15 = load ptr, ptr %6, align 8
%16 = load i64, ptr %15, align 8
%17 = load i64, ptr %8, align 8
%18 = sub i64 %16, %17
%19 = trunc i64 %18 to i32
%20 = load ptr, ptr %5, align 8
%21 = call ptr @fgets(ptr noundef %14, i32 noundef %19, ptr noundef %20)
store ptr %21, ptr %9, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %46
23: ; preds = %11
%24 = load ptr, ptr %7, align 8
%25 = call i64 @strlen(ptr noundef %24)
store i64 %25, ptr %10, align 8
%26 = load ptr, ptr %7, align 8
%27 = load i64, ptr %10, align 8
%28 = sub i64 %27, 1
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp ne i32 %31, 10
br i1 %32, label %33, label %44
33: ; preds = %23
%34 = load i64, ptr %10, align 8
store i64 %34, ptr %8, align 8
%35 = load i64, ptr @BUFSIZ, align 8
%36 = load ptr, ptr %6, align 8
%37 = load i64, ptr %36, align 8
%38 = add i64 %37, %35
store i64 %38, ptr %36, align 8
%39 = load ptr, ptr %7, align 8
%40 = load ptr, ptr %6, align 8
%41 = load i64, ptr %40, align 8
%42 = call i64 @realloc(ptr noundef %39, i64 noundef %41)
%43 = inttoptr i64 %42 to ptr
store ptr %43, ptr %7, align 8
br label %11, !llvm.loop !6
44: ; preds = %23
%45 = load ptr, ptr %7, align 8
store ptr %45, ptr %4, align 8
br label %47
46: ; preds = %11
store ptr null, ptr %4, align 8
br label %47
47: ; preds = %46, %44
%48 = load ptr, ptr %4, align 8
ret ptr %48
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvltner96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @jc_ini_getline(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 i64, 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 ptr %2, ptr %7, align 8
store i64 0, ptr %8, align 8
store ptr null, ptr %9, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i64, ptr %8, align 8
%13 = getelementptr inbounds i8, ptr %11, i64 %12
%14 = load ptr, ptr %6, align 8
%15 = load i64, ptr %14, align 8
%16 = load i64, ptr %8, align 8
%17 = sub i64 %15, %16
%18 = trunc i64 %17 to i32
%19 = load ptr, ptr %5, align 8
%20 = call ptr @fgets(ptr noundef %13, i32 noundef %18, ptr noundef %19)
store ptr %20, ptr %9, align 8
%21 = icmp ne ptr %20, null
br i1 %21, label %.lr.ph, label %56
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %32
%23 = load ptr, ptr %7, align 8
%24 = call i64 @strlen(ptr noundef %23)
store i64 %24, ptr %10, align 8
%25 = load ptr, ptr %7, align 8
%26 = load i64, ptr %10, align 8
%27 = sub i64 %26, 1
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp ne i32 %30, 10
br i1 %31, label %32, label %54
32: ; preds = %22
%33 = load i64, ptr %10, align 8
store i64 %33, ptr %8, align 8
%34 = load i64, ptr @BUFSIZ, align 8
%35 = load ptr, ptr %6, align 8
%36 = load i64, ptr %35, align 8
%37 = add i64 %36, %34
store i64 %37, ptr %35, align 8
%38 = load ptr, ptr %7, align 8
%39 = load ptr, ptr %6, align 8
%40 = load i64, ptr %39, align 8
%41 = call i64 @realloc(ptr noundef %38, i64 noundef %40)
%42 = inttoptr i64 %41 to ptr
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %7, align 8
%44 = load i64, ptr %8, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
%46 = load ptr, ptr %6, align 8
%47 = load i64, ptr %46, align 8
%48 = load i64, ptr %8, align 8
%49 = sub i64 %47, %48
%50 = trunc i64 %49 to i32
%51 = load ptr, ptr %5, align 8
%52 = call ptr @fgets(ptr noundef %45, i32 noundef %50, ptr noundef %51)
store ptr %52, ptr %9, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %22, label %._crit_edge, !llvm.loop !6
54: ; preds = %22
%55 = load ptr, ptr %7, align 8
store ptr %55, ptr %4, align 8
br label %57
._crit_edge: ; preds = %32
br label %56
56: ; preds = %._crit_edge, %3
store ptr null, ptr %4, align 8
br label %57
57: ; preds = %56, %54
%58 = load ptr, ptr %4, align 8
ret ptr %58
}
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i64 @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpykhgzyvs.c'
source_filename = "/tmp/tmpykhgzyvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rad2d(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %7, align 4
br label %10
10: ; preds = %33, %3
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %5, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %36
14: ; preds = %10
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %7, align 4
%17 = add nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = mul i64 %18, 8
%20 = trunc i64 %19 to i32
%21 = call i64 @realloc(ptr noundef %15, i32 noundef %20)
%22 = inttoptr i64 %21 to ptr
store ptr %22, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%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 %4, align 8
%30 = load i32, ptr %7, 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 = %14
%34 = load i32, ptr %7, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %7, align 4
br label %10, !llvm.loop !6
36: ; preds = %10
%37 = load ptr, ptr %4, align 8
ret ptr %37
}
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpykhgzyvs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rad2d(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load ptr, ptr %4, align 8
%9 = load ptr, ptr %8, align 8
store double 0.000000e+00, ptr %9, align 8
store i32 0, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = load i32, ptr %5, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %38
.lr.ph: ; preds = %3
br label %13
13: ; preds = %.lr.ph, %32
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, 1
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 8
%19 = trunc i64 %18 to i32
%20 = call i64 @realloc(ptr noundef %14, i32 noundef %19)
%21 = inttoptr i64 %20 to ptr
store ptr %21, ptr %4, align 8
%22 = load i32, ptr %6, align 4
%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 %4, align 8
%29 = load i32, ptr %7, 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 = %13
%33 = load i32, ptr %7, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %7, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %35, %36
br i1 %37, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %38
38: ; preds = %._crit_edge, %3
%39 = load ptr, ptr %4, align 8
ret ptr %39
}
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpyn3yj2ik.c'
source_filename = "/tmp/tmpyn3yj2ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/parport0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@PPCLAIM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"PPCLAIM ioctl Error : %s (%d)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@PPWDATA = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"PPWDATA ioctl Error : %s (%d)\0A\00", align 1
@PPRELEASE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"PPRELEASE ioctl Error : %s (%d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Close Error : %s (%d)\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"trigger\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 i8, align 1
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 -1, ptr %6, align 1
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %17
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 = call zeroext i8 @atoi(ptr noundef %15)
store i8 %16, ptr %6, align 1
br label %17
17: ; preds = %12, %2
%18 = load i32, ptr %7, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %20, label %76
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr @PPCLAIM, align 4
%23 = call i64 (i32, i32, ...) @ioctl(i32 noundef %21, i32 noundef %22)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %20
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr @errno, align 4
%28 = call ptr @strerror(i32 noundef %27)
%29 = load i32, ptr @errno, align 4
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %28, i32 noundef %29)
%31 = load i32, ptr @errno, align 4
%32 = call i32 @exit(i32 noundef %31) #3
unreachable
33: ; preds = %20
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr @PPWDATA, align 4
%36 = call i64 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef %35, ptr noundef %6)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %33
%39 = load i32, ptr @stderr, align 4
%40 = load i32, ptr @errno, align 4
%41 = call ptr @strerror(i32 noundef %40)
%42 = load i32, ptr @errno, align 4
%43 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.2, ptr noundef %41, i32 noundef %42)
%44 = load i32, ptr @errno, align 4
%45 = call i32 @exit(i32 noundef %44) #3
unreachable
46: ; preds = %33
%47 = call i32 @usleep(i32 noundef 3000)
store i8 0, ptr %6, align 1
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr @PPWDATA, align 4
%50 = call i64 (i32, i32, ...) @ioctl(i32 noundef %48, i32 noundef %49, ptr noundef %6)
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr @PPRELEASE, align 4
%53 = call i64 (i32, i32, ...) @ioctl(i32 noundef %51, i32 noundef %52)
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %63
55: ; preds = %46
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr @errno, align 4
%58 = call ptr @strerror(i32 noundef %57)
%59 = load i32, ptr @errno, align 4
%60 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.3, ptr noundef %58, i32 noundef %59)
%61 = load i32, ptr @errno, align 4
%62 = call i32 @exit(i32 noundef %61) #3
unreachable
63: ; preds = %46
%64 = load i32, ptr %7, align 4
%65 = call i64 @close(i32 noundef %64)
%66 = icmp slt i64 %65, 0
br i1 %66, label %67, label %75
67: ; preds = %63
%68 = load i32, ptr @stderr, align 4
%69 = load i32, ptr @errno, align 4
%70 = call ptr @strerror(i32 noundef %69)
%71 = load i32, ptr @errno, align 4
%72 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.4, ptr noundef %70, i32 noundef %71)
%73 = load i32, ptr @errno, align 4
%74 = call i32 @exit(i32 noundef %73) #3
unreachable
75: ; preds = %63
br label %78
76: ; preds = %17
%77 = call i32 @perror(ptr noundef @.str.5)
br label %78
78: ; preds = %76, %75
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare zeroext i8 @atoi(ptr noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @usleep(i32 noundef) #1
declare i64 @close(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/tmpyn3yj2ik.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"/dev/parport0\00", align 1
@O_RDWR = dso_local global i32 0, align 4
@PPCLAIM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [31 x i8] c"PPCLAIM ioctl Error : %s (%d)\0A\00", align 1
@errno = dso_local global i32 0, align 4
@PPWDATA = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [31 x i8] c"PPWDATA ioctl Error : %s (%d)\0A\00", align 1
@PPRELEASE = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [33 x i8] c"PPRELEASE ioctl Error : %s (%d)\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"Close Error : %s (%d)\0A\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"trigger\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 i8, align 1
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 -1, ptr %6, align 1
%8 = load i32, ptr @O_RDWR, align 4
%9 = call i32 @open(ptr noundef @.str, i32 noundef %8)
store i32 %9, ptr %7, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %17
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 = call zeroext i8 @atoi(ptr noundef %15)
store i8 %16, ptr %6, align 1
br label %17
17: ; preds = %12, %2
%18 = load i32, ptr %7, align 4
%19 = icmp sge i32 %18, 0
br i1 %19, label %20, label %76
20: ; preds = %17
%21 = load i32, ptr %7, align 4
%22 = load i32, ptr @PPCLAIM, align 4
%23 = call i64 (i32, i32, ...) @ioctl(i32 noundef %21, i32 noundef %22)
%24 = icmp slt i64 %23, 0
br i1 %24, label %25, label %33
25: ; preds = %20
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr @errno, align 4
%28 = call ptr @strerror(i32 noundef %27)
%29 = load i32, ptr @errno, align 4
%30 = call i32 @fprintf(i32 noundef %26, ptr noundef @.str.1, ptr noundef %28, i32 noundef %29)
%31 = load i32, ptr @errno, align 4
%32 = call i32 @exit(i32 noundef %31) #3
unreachable
33: ; preds = %20
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr @PPWDATA, align 4
%36 = call i64 (i32, i32, ...) @ioctl(i32 noundef %34, i32 noundef %35, ptr noundef %6)
%37 = icmp slt i64 %36, 0
br i1 %37, label %38, label %46
38: ; preds = %33
%39 = load i32, ptr @stderr, align 4
%40 = load i32, ptr @errno, align 4
%41 = call ptr @strerror(i32 noundef %40)
%42 = load i32, ptr @errno, align 4
%43 = call i32 @fprintf(i32 noundef %39, ptr noundef @.str.2, ptr noundef %41, i32 noundef %42)
%44 = load i32, ptr @errno, align 4
%45 = call i32 @exit(i32 noundef %44) #3
unreachable
46: ; preds = %33
%47 = call i32 @usleep(i32 noundef 3000)
store i8 0, ptr %6, align 1
%48 = load i32, ptr %7, align 4
%49 = load i32, ptr @PPWDATA, align 4
%50 = call i64 (i32, i32, ...) @ioctl(i32 noundef %48, i32 noundef %49, ptr noundef %6)
%51 = load i32, ptr %7, align 4
%52 = load i32, ptr @PPRELEASE, align 4
%53 = call i64 (i32, i32, ...) @ioctl(i32 noundef %51, i32 noundef %52)
%54 = icmp slt i64 %53, 0
br i1 %54, label %55, label %63
55: ; preds = %46
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr @errno, align 4
%58 = call ptr @strerror(i32 noundef %57)
%59 = load i32, ptr @errno, align 4
%60 = call i32 @fprintf(i32 noundef %56, ptr noundef @.str.3, ptr noundef %58, i32 noundef %59)
%61 = load i32, ptr @errno, align 4
%62 = call i32 @exit(i32 noundef %61) #3
unreachable
63: ; preds = %46
%64 = load i32, ptr %7, align 4
%65 = call i64 @close(i32 noundef %64)
%66 = icmp slt i64 %65, 0
br i1 %66, label %67, label %75
67: ; preds = %63
%68 = load i32, ptr @stderr, align 4
%69 = load i32, ptr @errno, align 4
%70 = call ptr @strerror(i32 noundef %69)
%71 = load i32, ptr @errno, align 4
%72 = call i32 @fprintf(i32 noundef %68, ptr noundef @.str.4, ptr noundef %70, i32 noundef %71)
%73 = load i32, ptr @errno, align 4
%74 = call i32 @exit(i32 noundef %73) #3
unreachable
75: ; preds = %63
br label %78
76: ; preds = %17
%77 = call i32 @perror(ptr noundef @.str.5)
br label %78
78: ; preds = %76, %75
%79 = load i32, ptr %3, align 4
ret i32 %79
}
declare i32 @open(ptr noundef, i32 noundef) #1
declare zeroext i8 @atoi(ptr noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ...) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @usleep(i32 noundef) #1
declare i64 @close(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/tmpcmx0qe_e.c'
source_filename = "/tmp/tmpcmx0qe_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcmx0qe_e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpv4b0ak0o.c'
source_filename = "/tmp/tmpv4b0ak0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @endBlock() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
br label %3
3: ; preds = %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 47
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 1, ptr %1, align 4
br label %13
11: ; preds = %7
store i32 0, ptr %1, align 4
br label %13
12: ; preds = %3
store i32 0, ptr %1, align 4
br label %13
13: ; preds = %12, %11, %10
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv4b0ak0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @endBlock() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
br label %3
3: ; preds = %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %12
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = icmp eq i32 %8, 47
br i1 %9, label %10, label %11
10: ; preds = %7
store i32 1, ptr %1, align 4
br label %13
11: ; preds = %7
store i32 0, ptr %1, align 4
br label %13
12: ; preds = %3
store i32 0, ptr %1, align 4
br label %13
13: ; preds = %12, %11, %10
%14 = load i32, ptr %1, align 4
ret i32 %14
}
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy70r3iuf.c'
source_filename = "/tmp/tmpy70r3iuf.c"
target datalayout = "e-m:e-p270: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/tmpy70r3iuf.c"
target datalayout = "e-m:e-p270: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/tmpubqbonlv.c'
source_filename = "/tmp/tmpubqbonlv.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr, i32 }
@AI_PASSIVE = dso_local global i32 0, align 4
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"tcp_listen - getaddrinfo() failed: %s\0A\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"tcp_listen - setsockopt() failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"tcp_listen failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"tcp_listen - listen() failed: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcp_listen(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.addrinfo, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 1, ptr %10, align 4
%14 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 40)
%15 = load i32, ptr @AI_PASSIVE, align 4
%16 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 6
store i32 %15, ptr %16, align 8
%17 = load i32, ptr @AF_UNSPEC, align 4
%18 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 4
store i32 %17, ptr %18, align 8
%19 = load i32, ptr @SOCK_STREAM, align 4
%20 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 3
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @getaddrinfo(ptr noundef %21, ptr noundef %22, ptr noundef %11, ptr noundef %12)
store i32 %23, ptr %9, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %3
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr %9, align 4
%28 = call ptr @gai_strerror(i32 noundef %27)
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef %28)
store i32 -1, ptr %4, align 4
br label %115
30: ; preds = %3
%31 = load ptr, ptr %12, align 8
store ptr %31, ptr %13, align 8
br label %32
32: ; preds = %78, %30
%33 = load ptr, ptr %13, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %82
35: ; preds = %32
%36 = load ptr, ptr %13, align 8
%37 = getelementptr inbounds %struct.addrinfo, ptr %36, i32 0, i32 4
%38 = load i32, ptr %37, align 8
%39 = load ptr, ptr %13, align 8
%40 = getelementptr inbounds %struct.addrinfo, ptr %39, i32 0, i32 3
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %13, align 8
%43 = getelementptr inbounds %struct.addrinfo, ptr %42, i32 0, i32 2
%44 = load i32, ptr %43, align 8
%45 = call i32 @socket(i32 noundef %38, i32 noundef %41, i32 noundef %44)
store i32 %45, ptr %8, align 4
%46 = load i32, ptr %8, align 4
%47 = icmp eq i32 %46, -1
br i1 %47, label %48, label %49
48: ; preds = %35
br label %78
49: ; preds = %35
%50 = load i32, ptr %8, align 4
%51 = load i32, ptr @SOL_SOCKET, align 4
%52 = load i32, ptr @SO_REUSEADDR, align 4
%53 = call i32 @setsockopt(i32 noundef %50, i32 noundef %51, i32 noundef %52, ptr noundef %10, i32 noundef 4)
%54 = icmp eq i32 %53, -1
br i1 %54, label %55, label %64
55: ; preds = %49
%56 = load i32, ptr @stderr, align 4
%57 = load i32, ptr @errno, align 4
%58 = call ptr @strerror(i32 noundef %57)
%59 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %56, ptr noundef @.str.1, ptr noundef %58)
%60 = load i32, ptr %8, align 4
%61 = call i32 @close(i32 noundef %60)
%62 = load ptr, ptr %12, align 8
%63 = call i32 @freeaddrinfo(ptr noundef %62)
store i32 -1, ptr %4, align 4
br label %115
64: ; preds = %49
%65 = load i32, ptr %8, align 4
%66 = load ptr, ptr %13, align 8
%67 = getelementptr inbounds %struct.addrinfo, ptr %66, i32 0, i32 1
%68 = load i32, ptr %67, align 4
%69 = load ptr, ptr %13, align 8
%70 = getelementptr inbounds %struct.addrinfo, ptr %69, i32 0, i32 0
%71 = load i32, ptr %70, align 8
%72 = call i32 @bind(i32 noundef %65, i32 noundef %68, i32 noundef %71)
%73 = icmp ne i32 %72, -1
br i1 %73, label %74, label %75
74: ; preds = %64
br label %82
75: ; preds = %64
%76 = load i32, ptr %8, align 4
%77 = call i32 @close(i32 noundef %76)
br label %78
78: ; preds = %75, %48
%79 = load ptr, ptr %13, align 8
%80 = getelementptr inbounds %struct.addrinfo, ptr %79, i32 0, i32 5
%81 = load ptr, ptr %80, align 8
store ptr %81, ptr %13, align 8
br label %32, !llvm.loop !6
82: ; preds = %74, %32
%83 = load ptr, ptr %13, align 8
%84 = icmp eq ptr %83, null
br i1 %84, label %85, label %88
85: ; preds = %82
%86 = load i32, ptr @stderr, align 4
%87 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %86, ptr noundef @.str.2)
store i32 -1, ptr %8, align 4
br label %88
88: ; preds = %85, %82
%89 = load i32, ptr %8, align 4
%90 = icmp ne i32 %89, -1
br i1 %90, label %91, label %103
91: ; preds = %88
%92 = load i32, ptr %8, align 4
%93 = call i32 @listen(i32 noundef %92, i32 noundef 1024)
%94 = icmp eq i32 %93, -1
br i1 %94, label %95, label %102
95: ; preds = %91
%96 = load i32, ptr @stderr, align 4
%97 = load i32, ptr @errno, align 4
%98 = call ptr @strerror(i32 noundef %97)
%99 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %96, ptr noundef @.str.3, ptr noundef %98)
%100 = load i32, ptr %8, align 4
%101 = call i32 @close(i32 noundef %100)
store i32 -1, ptr %8, align 4
br label %102
102: ; preds = %95, %91
br label %103
103: ; preds = %102, %88
%104 = load ptr, ptr %7, align 8
%105 = icmp ne ptr %104, null
br i1 %105, label %106, label %111
106: ; preds = %103
%107 = load ptr, ptr %12, align 8
%108 = getelementptr inbounds %struct.addrinfo, ptr %107, i32 0, i32 0
%109 = load i32, ptr %108, align 8
%110 = load ptr, ptr %7, align 8
store i32 %109, ptr %110, align 4
br label %111
111: ; preds = %106, %103
%112 = load ptr, ptr %12, align 8
%113 = call i32 @freeaddrinfo(ptr noundef %112)
%114 = load i32, ptr %8, align 4
store i32 %114, ptr %4, align 4
br label %115
115: ; preds = %111, %55, %25
%116 = load i32, ptr %4, align 4
ret i32 %116
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpubqbonlv.c"
target datalayout = "e-m:e-p270: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.addrinfo = type { i32, i32, i32, i32, i32, ptr, i32 }
@AI_PASSIVE = dso_local global i32 0, align 4
@AF_UNSPEC = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [39 x i8] c"tcp_listen - getaddrinfo() failed: %s\0A\00", align 1
@SOL_SOCKET = dso_local global i32 0, align 4
@SO_REUSEADDR = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [38 x i8] c"tcp_listen - setsockopt() failed: %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [19 x i8] c"tcp_listen failed\0A\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"tcp_listen - listen() failed: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcp_listen(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca %struct.addrinfo, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 1, ptr %10, align 4
%14 = call i32 @memset(ptr noundef %11, i32 noundef 0, i32 noundef 40)
%15 = load i32, ptr @AI_PASSIVE, align 4
%16 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 6
store i32 %15, ptr %16, align 8
%17 = load i32, ptr @AF_UNSPEC, align 4
%18 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 4
store i32 %17, ptr %18, align 8
%19 = load i32, ptr @SOCK_STREAM, align 4
%20 = getelementptr inbounds %struct.addrinfo, ptr %11, i32 0, i32 3
store i32 %19, ptr %20, align 4
%21 = load ptr, ptr %5, align 8
%22 = load ptr, ptr %6, align 8
%23 = call i32 @getaddrinfo(ptr noundef %21, ptr noundef %22, ptr noundef %11, ptr noundef %12)
store i32 %23, ptr %9, align 4
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %30
25: ; preds = %3
%26 = load i32, ptr @stderr, align 4
%27 = load i32, ptr %9, align 4
%28 = call ptr @gai_strerror(i32 noundef %27)
%29 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str, ptr noundef %28)
store i32 -1, ptr %4, align 4
br label %116
30: ; preds = %3
%31 = load ptr, ptr %12, align 8
store ptr %31, ptr %13, align 8
%32 = load ptr, ptr %13, align 8
%33 = icmp ne ptr %32, null
br i1 %33, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %30
br label %34
34: ; preds = %.lr.ph, %77
%35 = load ptr, ptr %13, align 8
%36 = getelementptr inbounds %struct.addrinfo, ptr %35, i32 0, i32 4
%37 = load i32, ptr %36, align 8
%38 = load ptr, ptr %13, align 8
%39 = getelementptr inbounds %struct.addrinfo, ptr %38, i32 0, i32 3
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %13, align 8
%42 = getelementptr inbounds %struct.addrinfo, ptr %41, i32 0, i32 2
%43 = load i32, ptr %42, align 8
%44 = call i32 @socket(i32 noundef %37, i32 noundef %40, i32 noundef %43)
store i32 %44, ptr %8, align 4
%45 = load i32, ptr %8, align 4
%46 = icmp eq i32 %45, -1
br i1 %46, label %47, label %48
47: ; preds = %34
br label %77
48: ; preds = %34
%49 = load i32, ptr %8, align 4
%50 = load i32, ptr @SOL_SOCKET, align 4
%51 = load i32, ptr @SO_REUSEADDR, align 4
%52 = call i32 @setsockopt(i32 noundef %49, i32 noundef %50, i32 noundef %51, ptr noundef %10, i32 noundef 4)
%53 = icmp eq i32 %52, -1
br i1 %53, label %54, label %63
54: ; preds = %48
%55 = load i32, ptr @stderr, align 4
%56 = load i32, ptr @errno, align 4
%57 = call ptr @strerror(i32 noundef %56)
%58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.1, ptr noundef %57)
%59 = load i32, ptr %8, align 4
%60 = call i32 @close(i32 noundef %59)
%61 = load ptr, ptr %12, align 8
%62 = call i32 @freeaddrinfo(ptr noundef %61)
store i32 -1, ptr %4, align 4
br label %116
63: ; preds = %48
%64 = load i32, ptr %8, align 4
%65 = load ptr, ptr %13, align 8
%66 = getelementptr inbounds %struct.addrinfo, ptr %65, i32 0, i32 1
%67 = load i32, ptr %66, align 4
%68 = load ptr, ptr %13, align 8
%69 = getelementptr inbounds %struct.addrinfo, ptr %68, i32 0, i32 0
%70 = load i32, ptr %69, align 8
%71 = call i32 @bind(i32 noundef %64, i32 noundef %67, i32 noundef %70)
%72 = icmp ne i32 %71, -1
br i1 %72, label %73, label %74
73: ; preds = %63
br label %83
74: ; preds = %63
%75 = load i32, ptr %8, align 4
%76 = call i32 @close(i32 noundef %75)
br label %77
77: ; preds = %74, %47
%78 = load ptr, ptr %13, align 8
%79 = getelementptr inbounds %struct.addrinfo, ptr %78, i32 0, i32 5
%80 = load ptr, ptr %79, align 8
store ptr %80, ptr %13, align 8
%81 = load ptr, ptr %13, align 8
%82 = icmp ne ptr %81, null
br i1 %82, label %34, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %77
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %30
br label %83
83: ; preds = %.loopexit, %73
%84 = load ptr, ptr %13, align 8
%85 = icmp eq ptr %84, null
br i1 %85, label %86, label %89
86: ; preds = %83
%87 = load i32, ptr @stderr, align 4
%88 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %87, ptr noundef @.str.2)
store i32 -1, ptr %8, align 4
br label %89
89: ; preds = %86, %83
%90 = load i32, ptr %8, align 4
%91 = icmp ne i32 %90, -1
br i1 %91, label %92, label %104
92: ; preds = %89
%93 = load i32, ptr %8, align 4
%94 = call i32 @listen(i32 noundef %93, i32 noundef 1024)
%95 = icmp eq i32 %94, -1
br i1 %95, label %96, label %103
96: ; preds = %92
%97 = load i32, ptr @stderr, align 4
%98 = load i32, ptr @errno, align 4
%99 = call ptr @strerror(i32 noundef %98)
%100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %97, ptr noundef @.str.3, ptr noundef %99)
%101 = load i32, ptr %8, align 4
%102 = call i32 @close(i32 noundef %101)
store i32 -1, ptr %8, align 4
br label %103
103: ; preds = %96, %92
br label %104
104: ; preds = %103, %89
%105 = load ptr, ptr %7, align 8
%106 = icmp ne ptr %105, null
br i1 %106, label %107, label %112
107: ; preds = %104
%108 = load ptr, ptr %12, align 8
%109 = getelementptr inbounds %struct.addrinfo, ptr %108, i32 0, i32 0
%110 = load i32, ptr %109, align 8
%111 = load ptr, ptr %7, align 8
store i32 %110, ptr %111, align 4
br label %112
112: ; preds = %107, %104
%113 = load ptr, ptr %12, align 8
%114 = call i32 @freeaddrinfo(ptr noundef %113)
%115 = load i32, ptr %8, align 4
store i32 %115, ptr %4, align 4
br label %116
116: ; preds = %112, %54, %25
%117 = load i32, ptr %4, align 4
ret i32 %117
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @setsockopt(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpurc8ec5n.c'
source_filename = "/tmp/tmpurc8ec5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
15: ; preds = %1
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %4, align 8
%19 = call i64 @memcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %15, %14
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #2
declare i64 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpurc8ec5n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @strlen(ptr noundef %6)
%8 = add nsw i32 %7, 1
%9 = sext i32 %8 to i64
store i64 %9, ptr %4, align 8
%10 = load i64, ptr %4, align 8
%11 = call ptr @malloc(i64 noundef %10) #3
store ptr %11, ptr %5, align 8
%12 = load ptr, ptr %5, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %1
store ptr null, ptr %2, align 8
br label %21
15: ; preds = %1
%16 = load ptr, ptr %5, align 8
%17 = load ptr, ptr %3, align 8
%18 = load i64, ptr %4, align 8
%19 = call i64 @memcpy(ptr noundef %16, ptr noundef %17, i64 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %2, align 8
br label %21
21: ; preds = %15, %14
%22 = load ptr, ptr %2, align 8
ret ptr %22
}
declare i32 @strlen(ptr noundef) #1
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #2
declare i64 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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/tmpxiaj1pyz.c'
source_filename = "/tmp/tmpxiaj1pyz.c"
target datalayout = "e-m:e-p270: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/tmpxiaj1pyz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp__gt_cee.c'
source_filename = "/tmp/tmp__gt_cee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findrank(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %7, align 4
store i32 1, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = call i64 @calloc(i32 noundef %12, i32 noundef 4)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = call i32 @populate(ptr noundef %15, ptr noundef %16, i32 noundef %17)
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %51, %3
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %5, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %54
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = sub nsw i32 %24, %25
%27 = load i32, ptr %6, align 4
%28 = sdiv i32 %27, %26
store i32 %28, ptr %6, align 4
%29 = load ptr, ptr %10, align 8
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = sub nsw i32 %34, 1
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i32, ptr %29, i64 %36
%38 = load i32, ptr %37, align 4
%39 = load i32, ptr %6, align 4
%40 = mul nsw i32 %38, %39
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, %40
store i32 %42, ptr %8, align 4
%43 = load ptr, ptr %10, align 8
%44 = load ptr, ptr %4, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
%49 = load i32, ptr %5, align 4
%50 = call i32 @update(ptr noundef %43, i32 noundef %48, i32 noundef %49)
br label %51
51: ; preds = %23
%52 = load i32, ptr %9, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %9, align 4
br label %19, !llvm.loop !6
54: ; preds = %19
%55 = load i32, ptr %8, align 4
ret i32 %55
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @populate(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @update(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/tmp__gt_cee.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findrank(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %5, align 4
store i32 %11, ptr %7, align 4
store i32 1, ptr %8, align 4
%12 = load i32, ptr %5, align 4
%13 = call i64 @calloc(i32 noundef %12, i32 noundef 4)
%14 = inttoptr i64 %13 to ptr
store ptr %14, ptr %10, align 8
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = call i32 @populate(ptr noundef %15, ptr noundef %16, i32 noundef %17)
store i32 0, ptr %9, align 4
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph, label %56
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %50
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %9, align 4
%25 = sub nsw i32 %23, %24
%26 = load i32, ptr %6, align 4
%27 = sdiv i32 %26, %25
store i32 %27, ptr %6, align 4
%28 = load ptr, ptr %10, align 8
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %9, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %28, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load i32, ptr %6, align 4
%39 = mul nsw i32 %37, %38
%40 = load i32, ptr %8, align 4
%41 = add nsw i32 %40, %39
store i32 %41, ptr %8, align 4
%42 = load ptr, ptr %10, align 8
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %9, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i32, ptr %43, i64 %45
%47 = load i32, ptr %46, align 4
%48 = load i32, ptr %5, align 4
%49 = call i32 @update(ptr noundef %42, i32 noundef %47, i32 noundef %48)
br label %50
50: ; preds = %22
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = load i32, ptr %9, align 4
%54 = load i32, ptr %5, align 4
%55 = icmp slt i32 %53, %54
br i1 %55, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %3
%57 = load i32, ptr %8, align 4
ret i32 %57
}
declare i64 @calloc(i32 noundef, i32 noundef) #1
declare i32 @populate(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @update(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/tmpjpr1nq_c.c'
source_filename = "/tmp/tmpjpr1nq_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%dx%d@%d,%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [11 x i8] c"aqwin_open\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aqwin_parsegeom(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %11, align 8
%17 = call i64 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
%18 = load i64, ptr @EOF, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %5
%21 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %6, align 4
br label %23
22: ; preds = %5
store i32 0, ptr %6, align 4
br label %23
23: ; preds = %22, %20
%24 = load i32, ptr %6, align 4
ret i32 %24
}
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjpr1nq_c.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%dx%d@%d,%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [11 x i8] c"aqwin_open\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aqwin_parsegeom(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load ptr, ptr %10, align 8
%16 = load ptr, ptr %11, align 8
%17 = call i64 @sscanf(ptr noundef %12, ptr noundef @.str, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16)
%18 = load i64, ptr @EOF, align 8
%19 = icmp eq i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %5
%21 = call i32 @perror(ptr noundef @.str.1)
store i32 -1, ptr %6, align 4
br label %23
22: ; preds = %5
store i32 0, ptr %6, align 4
br label %23
23: ; preds = %22, %20
%24 = load i32, ptr %6, align 4
ret i32 %24
}
declare i64 @sscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqohf9nmk.c'
source_filename = "/tmp/tmpqohf9nmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" var sdf : \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"vr sdRR :\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Varr f\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"var 33sdf:\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c" var dd345345\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c" var dd345345:\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c" var dd345345 : \00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c" VaR _Sdd54f : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initAutomat()
%3 = call i32 @printResulFor(ptr noundef @.str)
%4 = call i32 @printResulFor(ptr noundef @.str.1)
%5 = call i32 @printResulFor(ptr noundef @.str.2)
%6 = call i32 @printResulFor(ptr noundef @.str.3)
%7 = call i32 @printResulFor(ptr noundef @.str.4)
%8 = call i32 @printResulFor(ptr noundef @.str.5)
%9 = call i32 @printResulFor(ptr noundef @.str.6)
%10 = call i32 @printResulFor(ptr noundef @.str.7)
ret i32 0
}
declare i32 @initAutomat(...) #1
declare i32 @printResulFor(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqohf9nmk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" var sdf : \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"vr sdRR :\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"Varr f\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"var 33sdf:\00", align 1
@.str.4 = private unnamed_addr constant [18 x i8] c" var dd345345\00", align 1
@.str.5 = private unnamed_addr constant [19 x i8] c" var dd345345:\00", align 1
@.str.6 = private unnamed_addr constant [28 x i8] c" var dd345345 : \00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c" VaR _Sdd54f : \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 (...) @initAutomat()
%3 = call i32 @printResulFor(ptr noundef @.str)
%4 = call i32 @printResulFor(ptr noundef @.str.1)
%5 = call i32 @printResulFor(ptr noundef @.str.2)
%6 = call i32 @printResulFor(ptr noundef @.str.3)
%7 = call i32 @printResulFor(ptr noundef @.str.4)
%8 = call i32 @printResulFor(ptr noundef @.str.5)
%9 = call i32 @printResulFor(ptr noundef @.str.6)
%10 = call i32 @printResulFor(ptr noundef @.str.7)
ret i32 0
}
declare i32 @initAutomat(...) #1
declare i32 @printResulFor(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp465wohbl.c'
source_filename = "/tmp/tmp465wohbl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load i32, ptr %2, align 4
store i32 %16, ptr %5, align 4
br label %72
17: ; preds = %11, %0
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = load i32, ptr %2, align 4
store i32 %26, ptr %5, align 4
br label %71
27: ; preds = %21, %17
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = load i32, ptr %3, align 4
store i32 %36, ptr %5, align 4
br label %70
37: ; preds = %31, %27
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %47
41: ; preds = %37
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp sgt i32 %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load i32, ptr %3, align 4
store i32 %46, ptr %5, align 4
br label %69
47: ; preds = %41, %37
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp sgt i32 %48, %49
br i1 %50, label %51, label %57
51: ; preds = %47
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = load i32, ptr %4, align 4
store i32 %56, ptr %5, align 4
br label %68
57: ; preds = %51, %47
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %67
61: ; preds = %57
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %3, align 4
%64 = icmp sgt i32 %62, %63
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = load i32, ptr %4, align 4
store i32 %66, ptr %5, align 4
br label %67
67: ; preds = %65, %61, %57
br label %68
68: ; preds = %67, %55
br label %69
69: ; preds = %68, %45
br label %70
70: ; preds = %69, %35
br label %71
71: ; preds = %70, %25
br label %72
72: ; preds = %71, %15
%73 = load i32, ptr %5, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp465wohbl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [46 x i8] c"Please enter 3 numbers separated by spaces > \00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [18 x i8] c"%d is the median\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp sgt i32 %8, %9
br i1 %10, label %11, label %17
11: ; preds = %0
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %17
15: ; preds = %11
%16 = load i32, ptr %2, align 4
store i32 %16, ptr %5, align 4
br label %72
17: ; preds = %11, %0
%18 = load i32, ptr %2, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %27
21: ; preds = %17
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp sgt i32 %22, %23
br i1 %24, label %25, label %27
25: ; preds = %21
%26 = load i32, ptr %2, align 4
store i32 %26, ptr %5, align 4
br label %71
27: ; preds = %21, %17
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %37
31: ; preds = %27
%32 = load i32, ptr %3, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %37
35: ; preds = %31
%36 = load i32, ptr %3, align 4
store i32 %36, ptr %5, align 4
br label %70
37: ; preds = %31, %27
%38 = load i32, ptr %3, align 4
%39 = load i32, ptr %2, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %47
41: ; preds = %37
%42 = load i32, ptr %3, align 4
%43 = load i32, ptr %4, align 4
%44 = icmp sgt i32 %42, %43
br i1 %44, label %45, label %47
45: ; preds = %41
%46 = load i32, ptr %3, align 4
store i32 %46, ptr %5, align 4
br label %69
47: ; preds = %41, %37
%48 = load i32, ptr %4, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp sgt i32 %48, %49
br i1 %50, label %51, label %57
51: ; preds = %47
%52 = load i32, ptr %4, align 4
%53 = load i32, ptr %3, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %57
55: ; preds = %51
%56 = load i32, ptr %4, align 4
store i32 %56, ptr %5, align 4
br label %68
57: ; preds = %51, %47
%58 = load i32, ptr %4, align 4
%59 = load i32, ptr %2, align 4
%60 = icmp slt i32 %58, %59
br i1 %60, label %61, label %67
61: ; preds = %57
%62 = load i32, ptr %4, align 4
%63 = load i32, ptr %3, align 4
%64 = icmp sgt i32 %62, %63
br i1 %64, label %65, label %67
65: ; preds = %61
%66 = load i32, ptr %4, align 4
store i32 %66, ptr %5, align 4
br label %67
67: ; preds = %65, %61, %57
br label %68
68: ; preds = %67, %55
br label %69
69: ; preds = %68, %45
br label %70
70: ; preds = %69, %35
br label %71
71: ; preds = %70, %25
br label %72
72: ; preds = %71, %15
%73 = load i32, ptr %5, align 4
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %73)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp232l2e4z.c'
source_filename = "/tmp/tmp232l2e4z.c"
target datalayout = "e-m:e-p270: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/tmp232l2e4z.c"
target datalayout = "e-m:e-p270: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/tmpgtzh_poo.c'
source_filename = "/tmp/tmpgtzh_poo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callnull() #0 {
%1 = call i32 (i32, ...) @null(i32 noundef 0, i32 noundef 0)
%2 = call i32 (i32, ...) @null(i32 noundef 0, ptr noundef null)
%3 = call i32 (i32, ...) @null(i32 noundef 0, ptr noundef null)
%4 = call i32 (i32, ...) @null(i32 noundef 0, ptr noundef null)
ret void
}
declare i32 @null(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/tmpgtzh_poo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @callnull() #0 {
%1 = call i32 (i32, ...) @null(i32 noundef 0, i32 noundef 0)
%2 = call i32 (i32, ...) @null(i32 noundef 0, ptr noundef null)
%3 = call i32 (i32, ...) @null(i32 noundef 0, ptr noundef null)
%4 = call i32 (i32, ...) @null(i32 noundef 0, ptr noundef null)
ret void
}
declare i32 @null(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/tmp721dkuvw.c'
source_filename = "/tmp/tmp721dkuvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %13, %14
ret i32 %15
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp721dkuvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @foo(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sgt i32 %5, 0
%7 = zext i1 %6 to i32
%8 = call i32 @assert(i32 noundef %7)
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 1
%11 = zext i1 %10 to i32
%12 = call i32 @assert(i32 noundef %11)
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %13, %14
ret i32 %15
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphjvzxnqv.c'
source_filename = "/tmp/tmphjvzxnqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @failed() #0 {
%1 = 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/tmphjvzxnqv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @failed() #0 {
%1 = 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/tmpds0lkjs9.c'
source_filename = "/tmp/tmpds0lkjs9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp eq i64 %4, -2147483648
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @ft_putstr(ptr noundef @.str)
br label %24
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @ft_putchar(i32 noundef 45)
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %2, align 4
%15 = icmp sge i32 %14, 10
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = sdiv i32 %17, 10
call void @ft_putnbr(i32 noundef %18)
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 10
%22 = add nsw i32 %21, 48
%23 = call i32 @ft_putchar(i32 noundef %22)
br label %24
24: ; preds = %19, %6
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpds0lkjs9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"-2147483648\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putnbr(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = sext i32 %3 to i64
%5 = icmp eq i64 %4, -2147483648
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @ft_putstr(ptr noundef @.str)
br label %24
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 0
br i1 %10, label %11, label %13
11: ; preds = %8
%12 = call i32 @ft_putchar(i32 noundef 45)
br label %13
13: ; preds = %11, %8
%14 = load i32, ptr %2, align 4
%15 = icmp sge i32 %14, 10
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load i32, ptr %2, align 4
%18 = sdiv i32 %17, 10
call void @ft_putnbr(i32 noundef %18)
br label %19
19: ; preds = %16, %13
%20 = load i32, ptr %2, align 4
%21 = srem i32 %20, 10
%22 = add nsw i32 %21, 48
%23 = call i32 @ft_putchar(i32 noundef %22)
br label %24
24: ; preds = %19, %6
ret void
}
declare i32 @ft_putstr(ptr noundef) #1
declare i32 @ft_putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1e88sb75.c'
source_filename = "/tmp/tmp1e88sb75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f6b(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 %8, label %5
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @bar2(ptr noundef %6, i32 noundef 1)
br label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @bar2(ptr noundef %9, i32 noundef 0)
br label %11
11: ; preds = %8, %5
%12 = phi i32 [ %7, %5 ], [ %10, %8 ]
ret i32 %12
}
declare i32 @bar2(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/tmp1e88sb75.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f6b(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 %8, label %5
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @bar2(ptr noundef %6, i32 noundef 1)
br label %11
8: ; preds = %1
%9 = load ptr, ptr %2, align 8
%10 = call i32 @bar2(ptr noundef %9, i32 noundef 0)
br label %11
11: ; preds = %8, %5
%12 = phi i32 [ %7, %5 ], [ %10, %8 ]
ret i32 %12
}
declare i32 @bar2(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/tmpmw2ijbb2.c'
source_filename = "/tmp/tmpmw2ijbb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initCustomChar() #0 {
%1 = call i32 @LCD_WriteCommand(i32 noundef 64)
%2 = call i32 (...) @createBlock()
%3 = call i32 (...) @createWinLogo()
%4 = call i32 (...) @createLoseLogo()
%5 = call i32 (...) @createDisruption_One()
%6 = call i32 (...) @createDisruption_Two()
%7 = call i32 (...) @createDisruption_Three()
%8 = call i32 (...) @createDisruption_Four()
%9 = call i32 (...) @createDisruption_Five()
%10 = call i32 (...) @createDisruption_Six()
ret void
}
declare i32 @LCD_WriteCommand(i32 noundef) #1
declare i32 @createBlock(...) #1
declare i32 @createWinLogo(...) #1
declare i32 @createLoseLogo(...) #1
declare i32 @createDisruption_One(...) #1
declare i32 @createDisruption_Two(...) #1
declare i32 @createDisruption_Three(...) #1
declare i32 @createDisruption_Four(...) #1
declare i32 @createDisruption_Five(...) #1
declare i32 @createDisruption_Six(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmw2ijbb2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @initCustomChar() #0 {
%1 = call i32 @LCD_WriteCommand(i32 noundef 64)
%2 = call i32 (...) @createBlock()
%3 = call i32 (...) @createWinLogo()
%4 = call i32 (...) @createLoseLogo()
%5 = call i32 (...) @createDisruption_One()
%6 = call i32 (...) @createDisruption_Two()
%7 = call i32 (...) @createDisruption_Three()
%8 = call i32 (...) @createDisruption_Four()
%9 = call i32 (...) @createDisruption_Five()
%10 = call i32 (...) @createDisruption_Six()
ret void
}
declare i32 @LCD_WriteCommand(i32 noundef) #1
declare i32 @createBlock(...) #1
declare i32 @createWinLogo(...) #1
declare i32 @createLoseLogo(...) #1
declare i32 @createDisruption_One(...) #1
declare i32 @createDisruption_Two(...) #1
declare i32 @createDisruption_Three(...) #1
declare i32 @createDisruption_Four(...) #1
declare i32 @createDisruption_Five(...) #1
declare i32 @createDisruption_Six(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnlrt7w_5.c'
source_filename = "/tmp/tmpnlrt7w_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnlrt7w_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp572ml4jo.c'
source_filename = "/tmp/tmp572ml4jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @firstBadVersion(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 @binary_search(i32 noundef 1, i32 noundef %3)
ret i32 %4
}
declare i32 @binary_search(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/tmp572ml4jo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @firstBadVersion(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 @binary_search(i32 noundef 1, i32 noundef %3)
ret i32 %4
}
declare i32 @binary_search(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/tmp69ds5mo4.c'
source_filename = "/tmp/tmp69ds5mo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_build_with_split_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %88
13: ; preds = %2
store i32 0, ptr %7, align 4
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = call i32 @strlen(ptr noundef %17)
br label %20
19: ; preds = %13
br label %20
20: ; preds = %19, %16
%21 = phi i32 [ %18, %16 ], [ 0, %19 ]
store i32 %21, ptr %8, align 4
store i32 0, ptr %6, align 4
br label %22
22: ; preds = %40, %20
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr %6, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
%27 = load ptr, ptr %26, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %43
29: ; preds = %22
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %6, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds ptr, ptr %30, i64 %32
%34 = load ptr, ptr %33, align 8
%35 = call i32 @strlen(ptr noundef %34)
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %35, %36
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, %37
store i32 %39, ptr %7, align 4
br label %40
40: ; preds = %29
%41 = load i32, ptr %6, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %6, align 4
br label %22, !llvm.loop !6
43: ; preds = %22
%44 = load i32, ptr %7, align 4
%45 = add nsw i32 %44, 1
%46 = call ptr @malloc(i32 noundef %45)
store ptr %46, ptr %9, align 8
%47 = load ptr, ptr %9, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %86
49: ; preds = %43
%50 = load ptr, ptr %9, align 8
%51 = getelementptr inbounds i8, ptr %50, i64 0
store i8 0, ptr %51, align 1
store i32 0, ptr %6, align 4
br label %52
52: ; preds = %82, %49
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %6, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds ptr, ptr %53, i64 %55
%57 = load ptr, ptr %56, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %85
59: ; preds = %52
%60 = load ptr, ptr %9, align 8
%61 = load ptr, ptr %4, align 8
%62 = load i32, ptr %6, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds ptr, ptr %61, i64 %63
%65 = load ptr, ptr %64, align 8
%66 = call i32 @strcat(ptr noundef %60, ptr noundef %65)
%67 = load ptr, ptr %5, align 8
%68 = icmp ne ptr %67, null
br i1 %68, label %69, label %81
69: ; preds = %59
%70 = load ptr, ptr %4, align 8
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds ptr, ptr %70, i64 %73
%75 = load ptr, ptr %74, align 8
%76 = icmp ne ptr %75, null
br i1 %76, label %77, label %81
77: ; preds = %69
%78 = load ptr, ptr %9, align 8
%79 = load ptr, ptr %5, align 8
%80 = call i32 @strcat(ptr noundef %78, ptr noundef %79)
br label %81
81: ; preds = %77, %69, %59
br label %82
82: ; preds = %81
%83 = load i32, ptr %6, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %6, align 4
br label %52, !llvm.loop !8
85: ; preds = %52
br label %86
86: ; preds = %85, %43
%87 = load ptr, ptr %9, align 8
store ptr %87, ptr %3, align 8
br label %88
88: ; preds = %86, %12
%89 = load ptr, ptr %3, align 8
ret ptr %89
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp69ds5mo4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @string_build_with_split_string(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%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 ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %13, label %12
12: ; preds = %2
store ptr null, ptr %3, align 8
br label %98
13: ; preds = %2
store i32 0, ptr %7, align 4
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %13
%17 = load ptr, ptr %5, align 8
%18 = call i32 @strlen(ptr noundef %17)
br label %20
19: ; preds = %13
br label %20
20: ; preds = %19, %16
%21 = phi i32 [ %18, %16 ], [ 0, %19 ]
store i32 %21, ptr %8, align 4
store i32 0, ptr %6, align 4
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %6, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %.lr.ph, label %48
.lr.ph: ; preds = %20
br label %28
28: ; preds = %.lr.ph, %39
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %6, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = call i32 @strlen(ptr noundef %33)
%35 = load i32, ptr %8, align 4
%36 = add nsw i32 %34, %35
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, %36
store i32 %38, ptr %7, align 4
br label %39
39: ; preds = %28
%40 = load i32, ptr %6, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %6, align 4
%42 = load ptr, ptr %4, align 8
%43 = load i32, ptr %6, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds ptr, ptr %42, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %39
br label %48
48: ; preds = %._crit_edge, %20
%49 = load i32, ptr %7, align 4
%50 = add nsw i32 %49, 1
%51 = call ptr @malloc(i32 noundef %50)
store ptr %51, ptr %9, align 8
%52 = load ptr, ptr %9, align 8
%53 = icmp ne ptr %52, null
br i1 %53, label %54, label %96
54: ; preds = %48
%55 = load ptr, ptr %9, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 0
store i8 0, ptr %56, align 1
store i32 0, ptr %6, align 4
%57 = load ptr, ptr %4, align 8
%58 = load i32, ptr %6, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
%61 = load ptr, ptr %60, align 8
%62 = icmp ne ptr %61, null
br i1 %62, label %.lr.ph2, label %95
.lr.ph2: ; preds = %54
br label %63
63: ; preds = %.lr.ph2, %86
%64 = load ptr, ptr %9, align 8
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds ptr, ptr %65, i64 %67
%69 = load ptr, ptr %68, align 8
%70 = call i32 @strcat(ptr noundef %64, ptr noundef %69)
%71 = load ptr, ptr %5, align 8
%72 = icmp ne ptr %71, null
br i1 %72, label %73, label %85
73: ; preds = %63
%74 = load ptr, ptr %4, align 8
%75 = load i32, ptr %6, align 4
%76 = add nsw i32 %75, 1
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds ptr, ptr %74, i64 %77
%79 = load ptr, ptr %78, align 8
%80 = icmp ne ptr %79, null
br i1 %80, label %81, label %85
81: ; preds = %73
%82 = load ptr, ptr %9, align 8
%83 = load ptr, ptr %5, align 8
%84 = call i32 @strcat(ptr noundef %82, ptr noundef %83)
br label %85
85: ; preds = %81, %73, %63
br label %86
86: ; preds = %85
%87 = load i32, ptr %6, align 4
%88 = add nsw i32 %87, 1
store i32 %88, ptr %6, align 4
%89 = load ptr, ptr %4, align 8
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = icmp ne ptr %93, null
br i1 %94, label %63, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %86
br label %95
95: ; preds = %._crit_edge3, %54
br label %96
96: ; preds = %95, %48
%97 = load ptr, ptr %9, align 8
store ptr %97, ptr %3, align 8
br label %98
98: ; preds = %96, %12
%99 = load ptr, ptr %3, align 8
ret ptr %99
}
declare i32 @strlen(ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpxikjovu2.c'
source_filename = "/tmp/tmpxikjovu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xboard\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"uci\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @AutoInstall(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 @AutoInstallProtocol(ptr noundef %3, ptr noundef @.str)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @AutoInstallProtocol(ptr noundef %5, ptr noundef @.str.1)
ret void
}
declare i32 @AutoInstallProtocol(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/tmpxikjovu2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"xboard\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"uci\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @AutoInstall(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 @AutoInstallProtocol(ptr noundef %3, ptr noundef @.str)
%5 = load ptr, ptr %2, align 8
%6 = call i32 @AutoInstallProtocol(ptr noundef %5, ptr noundef @.str.1)
ret void
}
declare i32 @AutoInstallProtocol(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/tmpq0ar4j2x.c'
source_filename = "/tmp/tmpq0ar4j2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ts_subtract(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %8, i64 16, i1 false)
%9 = load ptr, ptr %6, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1
%11 = load i64, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 1
%14 = load i64, ptr %13, align 8
%15 = sub nsw i64 %14, %11
store i64 %15, ptr %13, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timespec, ptr %16, i32 0, i32 0
%18 = load i64, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds %struct.timespec, ptr %19, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = icmp slt i64 %18, %21
br i1 %22, label %23, label %32
23: ; preds = %3
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.timespec, ptr %24, i32 0, i32 0
%26 = load i64, ptr %25, align 8
%27 = add nsw i64 %26, 1000000000
store i64 %27, ptr %25, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1
%30 = load i64, ptr %29, align 8
%31 = add nsw i64 %30, -1
store i64 %31, ptr %29, align 8
br label %32
32: ; preds = %23, %3
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds %struct.timespec, ptr %33, i32 0, i32 0
%35 = load i64, ptr %34, align 8
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.timespec, ptr %36, i32 0, i32 0
%38 = load i64, ptr %37, align 8
%39 = sub nsw i64 %38, %35
store i64 %39, ptr %37, align 8
ret void
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq0ar4j2x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timespec = type { i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ts_subtract(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %8, i64 16, i1 false)
%9 = load ptr, ptr %6, align 8
%10 = getelementptr inbounds %struct.timespec, ptr %9, i32 0, i32 1
%11 = load i64, ptr %10, align 8
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.timespec, ptr %12, i32 0, i32 1
%14 = load i64, ptr %13, align 8
%15 = sub nsw i64 %14, %11
store i64 %15, ptr %13, align 8
%16 = load ptr, ptr %4, align 8
%17 = getelementptr inbounds %struct.timespec, ptr %16, i32 0, i32 0
%18 = load i64, ptr %17, align 8
%19 = load ptr, ptr %6, align 8
%20 = getelementptr inbounds %struct.timespec, ptr %19, i32 0, i32 0
%21 = load i64, ptr %20, align 8
%22 = icmp slt i64 %18, %21
br i1 %22, label %23, label %32
23: ; preds = %3
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.timespec, ptr %24, i32 0, i32 0
%26 = load i64, ptr %25, align 8
%27 = add nsw i64 %26, 1000000000
store i64 %27, ptr %25, align 8
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds %struct.timespec, ptr %28, i32 0, i32 1
%30 = load i64, ptr %29, align 8
%31 = add nsw i64 %30, -1
store i64 %31, ptr %29, align 8
br label %32
32: ; preds = %23, %3
%33 = load ptr, ptr %6, align 8
%34 = getelementptr inbounds %struct.timespec, ptr %33, i32 0, i32 0
%35 = load i64, ptr %34, align 8
%36 = load ptr, ptr %4, align 8
%37 = getelementptr inbounds %struct.timespec, ptr %36, i32 0, i32 0
%38 = load i64, ptr %37, align 8
%39 = sub nsw i64 %38, %35
store i64 %39, ptr %37, align 8
ret void
}
; 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
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmnndl84s.c'
source_filename = "/tmp/tmpmnndl84s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@printcard.ranks = internal constant [14 x i8] c"AKQJT98765432\00", align 1
@printcard.suits = internal constant [5 x i8] c"cdhs\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"%c%c \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printcard(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 2
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds [14 x i8], ptr @printcard.ranks, i64 0, i64 %5
%7 = load i8, ptr %6, align 1
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i8], ptr @printcard.suits, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i8 noundef signext %12)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmnndl84s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@printcard.ranks = internal constant [14 x i8] c"AKQJT98765432\00", align 1
@printcard.suits = internal constant [5 x i8] c"cdhs\00", align 1
@.str = private unnamed_addr constant [6 x i8] c"%c%c \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printcard(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 2
%5 = sext i32 %4 to i64
%6 = getelementptr inbounds [14 x i8], ptr @printcard.ranks, i64 0, i64 %5
%7 = load i8, ptr %6, align 1
%8 = load i32, ptr %2, align 4
%9 = srem i32 %8, 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [5 x i8], ptr @printcard.suits, i64 0, i64 %10
%12 = load i8, ptr %11, align 1
%13 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i8 noundef signext %12)
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb6qkaf1v.c'
source_filename = "/tmp/tmpb6qkaf1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"Invoke: UPnPContentDirectory_Search(%s,%s,%s,%u,%u,%s);\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UPnPContentDirectory_Search(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr %13, align 4
%20 = load ptr, ptr %14, align 8
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20)
%22 = load ptr, ptr %8, align 8
%23 = call i32 @UPnPResponse_ContentDirectory_Search(ptr noundef %22, ptr noundef @.str.1, i32 noundef 250, i32 noundef 250, i32 noundef 250)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @UPnPResponse_ContentDirectory_Search(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb6qkaf1v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [58 x i8] c"Invoke: UPnPContentDirectory_Search(%s,%s,%s,%u,%u,%s);\0D\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"Sample String\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @UPnPContentDirectory_Search(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca ptr, align 8
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store ptr %3, ptr %11, align 8
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store ptr %6, ptr %14, align 8
%15 = load ptr, ptr %9, align 8
%16 = load ptr, ptr %10, align 8
%17 = load ptr, ptr %11, align 8
%18 = load i32, ptr %12, align 4
%19 = load i32, ptr %13, align 4
%20 = load ptr, ptr %14, align 8
%21 = call i32 @printf(ptr noundef @.str, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef %19, ptr noundef %20)
%22 = load ptr, ptr %8, align 8
%23 = call i32 @UPnPResponse_ContentDirectory_Search(ptr noundef %22, ptr noundef @.str.1, i32 noundef 250, i32 noundef 250, i32 noundef 250)
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @UPnPResponse_ContentDirectory_Search(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp38r4i8r1.c'
source_filename = "/tmp/tmp38r4i8r1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aliyun_iot_network_shutdown(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @shutdown(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @shutdown(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/tmp38r4i8r1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @aliyun_iot_network_shutdown(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @shutdown(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @shutdown(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/tmpeqp9wyoh.c'
source_filename = "/tmp/tmpeqp9wyoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ans = %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 64, 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/tmpeqp9wyoh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"ans = %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 64, 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/tmp3nfzekb6.c'
source_filename = "/tmp/tmp3nfzekb6.c"
target datalayout = "e-m:e-p270: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/tmp3nfzekb6.c"
target datalayout = "e-m:e-p270: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/tmpmvp0pujj.c'
source_filename = "/tmp/tmpmvp0pujj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Z_FINISH = dso_local global i32 0, align 4
@Z_NULL = dso_local global ptr null, align 8
@Z_OK = dso_local global i32 0, align 4
@Z_STREAM_END = dso_local global i32 0, align 4
@Z_STREAM_ERROR = 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/tmpmvp0pujj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Z_FINISH = dso_local global i32 0, align 4
@Z_NULL = dso_local global ptr null, align 8
@Z_OK = dso_local global i32 0, align 4
@Z_STREAM_END = dso_local global i32 0, align 4
@Z_STREAM_ERROR = 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/tmpsvllfool.c'
source_filename = "/tmp/tmpsvllfool.c"
target datalayout = "e-m:e-p270: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/tmpsvllfool.c"
target datalayout = "e-m:e-p270: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/tmpadollkdx.c'
source_filename = "/tmp/tmpadollkdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"Error: the file \22%s\22 could not be opened.\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [76 x i8] c"Problem 11: The largest sum of %u colinear integers in the grid \22%s\22 is %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @problem11(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [3 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%33 = load ptr, ptr %6, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str)
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %9, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %43, label %37
37: ; preds = %4
%38 = load i32, ptr @stderr, align 4
%39 = load ptr, ptr %6, align 8
%40 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.1, ptr noundef %39)
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = call i32 @exit(i32 noundef %41) #4
unreachable
43: ; preds = %4
%44 = load i32, ptr %7, align 4
%45 = zext i32 %44 to i64
%46 = load i32, ptr %8, align 4
%47 = zext i32 %46 to i64
%48 = call ptr @llvm.stacksave()
store ptr %48, ptr %11, align 8
%49 = mul nuw i64 %45, %47
%50 = alloca i32, i64 %49, align 16
store i64 %45, ptr %12, align 8
store i64 %47, ptr %13, align 8
store i32 0, ptr %14, align 4
br label %51
51: ; preds = %79, %43
%52 = load i32, ptr %14, align 4
%53 = load i32, ptr %7, align 4
%54 = icmp ult i32 %52, %53
br i1 %54, label %55, label %82
55: ; preds = %51
store i32 0, ptr %15, align 4
br label %56
56: ; preds = %75, %55
%57 = load i32, ptr %15, align 4
%58 = load i32, ptr %8, align 4
%59 = icmp ult i32 %57, %58
br i1 %59, label %60, label %78
60: ; preds = %56
%61 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%62 = load ptr, ptr %9, align 8
%63 = call i32 @fgets(ptr noundef %61, i32 noundef 3, ptr noundef %62)
%64 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%65 = call i32 @atoi(ptr noundef %64)
%66 = load i32, ptr %14, align 4
%67 = sext i32 %66 to i64
%68 = mul nsw i64 %67, %47
%69 = getelementptr inbounds i32, ptr %50, i64 %68
%70 = load i32, ptr %15, align 4
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i32, ptr %69, i64 %71
store i32 %65, ptr %72, align 4
%73 = load ptr, ptr %9, align 8
%74 = call i32 @fgetc(ptr noundef %73)
br label %75
75: ; preds = %60
%76 = load i32, ptr %15, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %15, align 4
br label %56, !llvm.loop !6
78: ; preds = %56
br label %79
79: ; preds = %78
%80 = load i32, ptr %14, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %14, align 4
br label %51, !llvm.loop !8
82: ; preds = %51
%83 = load ptr, ptr %9, align 8
%84 = call i32 @fclose(ptr noundef %83)
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
br label %85
85: ; preds = %128, %82
%86 = load i32, ptr %17, align 4
%87 = load i32, ptr %7, align 4
%88 = icmp ult i32 %86, %87
br i1 %88, label %89, label %131
89: ; preds = %85
store i32 0, ptr %18, align 4
br label %90
90: ; preds = %124, %89
%91 = load i32, ptr %18, align 4
%92 = load i32, ptr %8, align 4
%93 = load i32, ptr %5, align 4
%94 = sub i32 %92, %93
%95 = icmp ult i32 %91, %94
br i1 %95, label %96, label %127
96: ; preds = %90
store i32 1, ptr %19, align 4
store i32 0, ptr %20, align 4
br label %97
97: ; preds = %114, %96
%98 = load i32, ptr %20, align 4
%99 = load i32, ptr %5, align 4
%100 = icmp ult i32 %98, %99
br i1 %100, label %101, label %117
101: ; preds = %97
%102 = load i32, ptr %17, align 4
%103 = sext i32 %102 to i64
%104 = mul nsw i64 %103, %47
%105 = getelementptr inbounds i32, ptr %50, i64 %104
%106 = load i32, ptr %18, align 4
%107 = load i32, ptr %20, align 4
%108 = add nsw i32 %106, %107
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %105, i64 %109
%111 = load i32, ptr %110, align 4
%112 = load i32, ptr %19, align 4
%113 = mul nsw i32 %112, %111
store i32 %113, ptr %19, align 4
br label %114
114: ; preds = %101
%115 = load i32, ptr %20, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %20, align 4
br label %97, !llvm.loop !9
117: ; preds = %97
%118 = load i32, ptr %19, align 4
%119 = load i32, ptr %16, align 4
%120 = icmp sgt i32 %118, %119
br i1 %120, label %121, label %123
121: ; preds = %117
%122 = load i32, ptr %19, align 4
store i32 %122, ptr %16, align 4
br label %123
123: ; preds = %121, %117
br label %124
124: ; preds = %123
%125 = load i32, ptr %18, align 4
%126 = add nsw i32 %125, 1
store i32 %126, ptr %18, align 4
br label %90, !llvm.loop !10
127: ; preds = %90
br label %128
128: ; preds = %127
%129 = load i32, ptr %17, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %17, align 4
br label %85, !llvm.loop !11
131: ; preds = %85
store i32 0, ptr %21, align 4
br label %132
132: ; preds = %175, %131
%133 = load i32, ptr %21, align 4
%134 = load i32, ptr %7, align 4
%135 = load i32, ptr %5, align 4
%136 = sub i32 %134, %135
%137 = icmp ult i32 %133, %136
br i1 %137, label %138, label %178
138: ; preds = %132
store i32 0, ptr %22, align 4
br label %139
139: ; preds = %171, %138
%140 = load i32, ptr %22, align 4
%141 = load i32, ptr %8, align 4
%142 = icmp ult i32 %140, %141
br i1 %142, label %143, label %174
143: ; preds = %139
store i32 1, ptr %23, align 4
store i32 0, ptr %24, align 4
br label %144
144: ; preds = %161, %143
%145 = load i32, ptr %24, align 4
%146 = load i32, ptr %5, align 4
%147 = icmp ult i32 %145, %146
br i1 %147, label %148, label %164
148: ; preds = %144
%149 = load i32, ptr %21, align 4
%150 = load i32, ptr %24, align 4
%151 = add nsw i32 %149, %150
%152 = sext i32 %151 to i64
%153 = mul nsw i64 %152, %47
%154 = getelementptr inbounds i32, ptr %50, i64 %153
%155 = load i32, ptr %22, align 4
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i32, ptr %154, i64 %156
%158 = load i32, ptr %157, align 4
%159 = load i32, ptr %23, align 4
%160 = mul nsw i32 %159, %158
store i32 %160, ptr %23, align 4
br label %161
161: ; preds = %148
%162 = load i32, ptr %24, align 4
%163 = add nsw i32 %162, 1
store i32 %163, ptr %24, align 4
br label %144, !llvm.loop !12
164: ; preds = %144
%165 = load i32, ptr %23, align 4
%166 = load i32, ptr %16, align 4
%167 = icmp sgt i32 %165, %166
br i1 %167, label %168, label %170
168: ; preds = %164
%169 = load i32, ptr %23, align 4
store i32 %169, ptr %16, align 4
br label %170
170: ; preds = %168, %164
br label %171
171: ; preds = %170
%172 = load i32, ptr %22, align 4
%173 = add nsw i32 %172, 1
store i32 %173, ptr %22, align 4
br label %139, !llvm.loop !13
174: ; preds = %139
br label %175
175: ; preds = %174
%176 = load i32, ptr %21, align 4
%177 = add nsw i32 %176, 1
store i32 %177, ptr %21, align 4
br label %132, !llvm.loop !14
178: ; preds = %132
store i32 0, ptr %25, align 4
br label %179
179: ; preds = %226, %178
%180 = load i32, ptr %25, align 4
%181 = load i32, ptr %7, align 4
%182 = load i32, ptr %5, align 4
%183 = sub i32 %181, %182
%184 = icmp ult i32 %180, %183
br i1 %184, label %185, label %229
185: ; preds = %179
store i32 0, ptr %26, align 4
br label %186
186: ; preds = %222, %185
%187 = load i32, ptr %26, align 4
%188 = load i32, ptr %8, align 4
%189 = load i32, ptr %5, align 4
%190 = sub i32 %188, %189
%191 = icmp ult i32 %187, %190
br i1 %191, label %192, label %225
192: ; preds = %186
store i32 1, ptr %27, align 4
store i32 0, ptr %28, align 4
br label %193
193: ; preds = %212, %192
%194 = load i32, ptr %28, align 4
%195 = load i32, ptr %5, align 4
%196 = icmp ult i32 %194, %195
br i1 %196, label %197, label %215
197: ; preds = %193
%198 = load i32, ptr %25, align 4
%199 = load i32, ptr %28, align 4
%200 = add nsw i32 %198, %199
%201 = sext i32 %200 to i64
%202 = mul nsw i64 %201, %47
%203 = getelementptr inbounds i32, ptr %50, i64 %202
%204 = load i32, ptr %26, align 4
%205 = load i32, ptr %28, align 4
%206 = add nsw i32 %204, %205
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds i32, ptr %203, i64 %207
%209 = load i32, ptr %208, align 4
%210 = load i32, ptr %27, align 4
%211 = mul nsw i32 %210, %209
store i32 %211, ptr %27, align 4
br label %212
212: ; preds = %197
%213 = load i32, ptr %28, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %28, align 4
br label %193, !llvm.loop !15
215: ; preds = %193
%216 = load i32, ptr %27, align 4
%217 = load i32, ptr %16, align 4
%218 = icmp sgt i32 %216, %217
br i1 %218, label %219, label %221
219: ; preds = %215
%220 = load i32, ptr %27, align 4
store i32 %220, ptr %16, align 4
br label %221
221: ; preds = %219, %215
br label %222
222: ; preds = %221
%223 = load i32, ptr %26, align 4
%224 = add nsw i32 %223, 1
store i32 %224, ptr %26, align 4
br label %186, !llvm.loop !16
225: ; preds = %186
br label %226
226: ; preds = %225
%227 = load i32, ptr %25, align 4
%228 = add nsw i32 %227, 1
store i32 %228, ptr %25, align 4
br label %179, !llvm.loop !17
229: ; preds = %179
store i32 0, ptr %29, align 4
br label %230
230: ; preds = %277, %229
%231 = load i32, ptr %29, align 4
%232 = load i32, ptr %7, align 4
%233 = load i32, ptr %5, align 4
%234 = sub i32 %232, %233
%235 = icmp ult i32 %231, %234
br i1 %235, label %236, label %280
236: ; preds = %230
%237 = load i32, ptr %5, align 4
%238 = sub i32 %237, 1
store i32 %238, ptr %30, align 4
br label %239
239: ; preds = %273, %236
%240 = load i32, ptr %30, align 4
%241 = load i32, ptr %8, align 4
%242 = icmp ult i32 %240, %241
br i1 %242, label %243, label %276
243: ; preds = %239
store i32 1, ptr %31, align 4
store i32 0, ptr %32, align 4
br label %244
244: ; preds = %263, %243
%245 = load i32, ptr %32, align 4
%246 = load i32, ptr %5, align 4
%247 = icmp ult i32 %245, %246
br i1 %247, label %248, label %266
248: ; preds = %244
%249 = load i32, ptr %29, align 4
%250 = load i32, ptr %32, align 4
%251 = add nsw i32 %249, %250
%252 = sext i32 %251 to i64
%253 = mul nsw i64 %252, %47
%254 = getelementptr inbounds i32, ptr %50, i64 %253
%255 = load i32, ptr %30, align 4
%256 = load i32, ptr %32, align 4
%257 = sub nsw i32 %255, %256
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i32, ptr %254, i64 %258
%260 = load i32, ptr %259, align 4
%261 = load i32, ptr %31, align 4
%262 = mul nsw i32 %261, %260
store i32 %262, ptr %31, align 4
br label %263
263: ; preds = %248
%264 = load i32, ptr %32, align 4
%265 = add nsw i32 %264, 1
store i32 %265, ptr %32, align 4
br label %244, !llvm.loop !18
266: ; preds = %244
%267 = load i32, ptr %31, align 4
%268 = load i32, ptr %16, align 4
%269 = icmp sgt i32 %267, %268
br i1 %269, label %270, label %272
270: ; preds = %266
%271 = load i32, ptr %31, align 4
store i32 %271, ptr %16, align 4
br label %272
272: ; preds = %270, %266
br label %273
273: ; preds = %272
%274 = load i32, ptr %30, align 4
%275 = add nsw i32 %274, 1
store i32 %275, ptr %30, align 4
br label %239, !llvm.loop !19
276: ; preds = %239
br label %277
277: ; preds = %276
%278 = load i32, ptr %29, align 4
%279 = add nsw i32 %278, 1
store i32 %279, ptr %29, align 4
br label %230, !llvm.loop !20
280: ; preds = %230
%281 = load i32, ptr %5, align 4
%282 = load ptr, ptr %6, align 8
%283 = load i32, ptr %16, align 4
%284 = call i32 @printf(ptr noundef @.str.2, i32 noundef %281, ptr noundef %282, i32 noundef %283)
%285 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %285)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #3
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpadollkdx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [42 x i8] c"Error: the file \22%s\22 could not be opened.\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [76 x i8] c"Problem 11: The largest sum of %u colinear integers in the grid \22%s\22 is %u\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @problem11(i32 noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca [3 x i8], align 1
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
%30 = alloca i32, align 4
%31 = alloca i32, align 4
%32 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%33 = load ptr, ptr %6, align 8
%34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str)
store ptr %34, ptr %9, align 8
%35 = load ptr, ptr %9, align 8
%36 = icmp ne ptr %35, null
br i1 %36, label %43, label %37
37: ; preds = %4
%38 = load i32, ptr @stderr, align 4
%39 = load ptr, ptr %6, align 8
%40 = call i32 @fprintf(i32 noundef %38, ptr noundef @.str.1, ptr noundef %39)
%41 = load i32, ptr @EXIT_FAILURE, align 4
%42 = call i32 @exit(i32 noundef %41) #4
unreachable
43: ; preds = %4
%44 = load i32, ptr %7, align 4
%45 = zext i32 %44 to i64
%46 = load i32, ptr %8, align 4
%47 = zext i32 %46 to i64
%48 = call ptr @llvm.stacksave()
store ptr %48, ptr %11, align 8
%49 = mul nuw i64 %45, %47
%50 = alloca i32, i64 %49, align 16
store i64 %45, ptr %12, align 8
store i64 %47, ptr %13, align 8
store i32 0, ptr %14, align 4
%51 = load i32, ptr %14, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp ult i32 %51, %52
br i1 %53, label %.lr.ph2, label %86
.lr.ph2: ; preds = %43
br label %54
54: ; preds = %.lr.ph2, %80
store i32 0, ptr %15, align 4
%55 = load i32, ptr %15, align 4
%56 = load i32, ptr %8, align 4
%57 = icmp ult i32 %55, %56
br i1 %57, label %.lr.ph, label %79
.lr.ph: ; preds = %54
br label %58
58: ; preds = %.lr.ph, %73
%59 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%60 = load ptr, ptr %9, align 8
%61 = call i32 @fgets(ptr noundef %59, i32 noundef 3, ptr noundef %60)
%62 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0
%63 = call i32 @atoi(ptr noundef %62)
%64 = load i32, ptr %14, align 4
%65 = sext i32 %64 to i64
%66 = mul nsw i64 %65, %47
%67 = getelementptr inbounds i32, ptr %50, i64 %66
%68 = load i32, ptr %15, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i32, ptr %67, i64 %69
store i32 %63, ptr %70, align 4
%71 = load ptr, ptr %9, align 8
%72 = call i32 @fgetc(ptr noundef %71)
br label %73
73: ; preds = %58
%74 = load i32, ptr %15, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %15, align 4
%76 = load i32, ptr %15, align 4
%77 = load i32, ptr %8, align 4
%78 = icmp ult i32 %76, %77
br i1 %78, label %58, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %73
br label %79
79: ; preds = %._crit_edge, %54
br label %80
80: ; preds = %79
%81 = load i32, ptr %14, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %14, align 4
%83 = load i32, ptr %14, align 4
%84 = load i32, ptr %7, align 4
%85 = icmp ult i32 %83, %84
br i1 %85, label %54, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %80
br label %86
86: ; preds = %._crit_edge3, %43
%87 = load ptr, ptr %9, align 8
%88 = call i32 @fclose(ptr noundef %87)
store i32 0, ptr %16, align 4
store i32 0, ptr %17, align 4
%89 = load i32, ptr %17, align 4
%90 = load i32, ptr %7, align 4
%91 = icmp ult i32 %89, %90
br i1 %91, label %.lr.ph11, label %143
.lr.ph11: ; preds = %86
br label %92
92: ; preds = %.lr.ph11, %137
store i32 0, ptr %18, align 4
%93 = load i32, ptr %18, align 4
%94 = load i32, ptr %8, align 4
%95 = load i32, ptr %5, align 4
%96 = sub i32 %94, %95
%97 = icmp ult i32 %93, %96
br i1 %97, label %.lr.ph8, label %136
.lr.ph8: ; preds = %92
br label %98
98: ; preds = %.lr.ph8, %128
store i32 1, ptr %19, align 4
store i32 0, ptr %20, align 4
%99 = load i32, ptr %20, align 4
%100 = load i32, ptr %5, align 4
%101 = icmp ult i32 %99, %100
br i1 %101, label %.lr.ph5, label %121
.lr.ph5: ; preds = %98
br label %102
102: ; preds = %.lr.ph5, %115
%103 = load i32, ptr %17, align 4
%104 = sext i32 %103 to i64
%105 = mul nsw i64 %104, %47
%106 = getelementptr inbounds i32, ptr %50, i64 %105
%107 = load i32, ptr %18, align 4
%108 = load i32, ptr %20, align 4
%109 = add nsw i32 %107, %108
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds i32, ptr %106, i64 %110
%112 = load i32, ptr %111, align 4
%113 = load i32, ptr %19, align 4
%114 = mul nsw i32 %113, %112
store i32 %114, ptr %19, align 4
br label %115
115: ; preds = %102
%116 = load i32, ptr %20, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %20, align 4
%118 = load i32, ptr %20, align 4
%119 = load i32, ptr %5, align 4
%120 = icmp ult i32 %118, %119
br i1 %120, label %102, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %115
br label %121
121: ; preds = %._crit_edge6, %98
%122 = load i32, ptr %19, align 4
%123 = load i32, ptr %16, align 4
%124 = icmp sgt i32 %122, %123
br i1 %124, label %125, label %127
125: ; preds = %121
%126 = load i32, ptr %19, align 4
store i32 %126, ptr %16, align 4
br label %127
127: ; preds = %125, %121
br label %128
128: ; preds = %127
%129 = load i32, ptr %18, align 4
%130 = add nsw i32 %129, 1
store i32 %130, ptr %18, align 4
%131 = load i32, ptr %18, align 4
%132 = load i32, ptr %8, align 4
%133 = load i32, ptr %5, align 4
%134 = sub i32 %132, %133
%135 = icmp ult i32 %131, %134
br i1 %135, label %98, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %128
br label %136
136: ; preds = %._crit_edge9, %92
br label %137
137: ; preds = %136
%138 = load i32, ptr %17, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %17, align 4
%140 = load i32, ptr %17, align 4
%141 = load i32, ptr %7, align 4
%142 = icmp ult i32 %140, %141
br i1 %142, label %92, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %137
br label %143
143: ; preds = %._crit_edge12, %86
store i32 0, ptr %21, align 4
%144 = load i32, ptr %21, align 4
%145 = load i32, ptr %7, align 4
%146 = load i32, ptr %5, align 4
%147 = sub i32 %145, %146
%148 = icmp ult i32 %144, %147
br i1 %148, label %.lr.ph20, label %198
.lr.ph20: ; preds = %143
br label %149
149: ; preds = %.lr.ph20, %190
store i32 0, ptr %22, align 4
%150 = load i32, ptr %22, align 4
%151 = load i32, ptr %8, align 4
%152 = icmp ult i32 %150, %151
br i1 %152, label %.lr.ph17, label %189
.lr.ph17: ; preds = %149
br label %153
153: ; preds = %.lr.ph17, %183
store i32 1, ptr %23, align 4
store i32 0, ptr %24, align 4
%154 = load i32, ptr %24, align 4
%155 = load i32, ptr %5, align 4
%156 = icmp ult i32 %154, %155
br i1 %156, label %.lr.ph14, label %176
.lr.ph14: ; preds = %153
br label %157
157: ; preds = %.lr.ph14, %170
%158 = load i32, ptr %21, align 4
%159 = load i32, ptr %24, align 4
%160 = add nsw i32 %158, %159
%161 = sext i32 %160 to i64
%162 = mul nsw i64 %161, %47
%163 = getelementptr inbounds i32, ptr %50, i64 %162
%164 = load i32, ptr %22, align 4
%165 = sext i32 %164 to i64
%166 = getelementptr inbounds i32, ptr %163, i64 %165
%167 = load i32, ptr %166, align 4
%168 = load i32, ptr %23, align 4
%169 = mul nsw i32 %168, %167
store i32 %169, ptr %23, align 4
br label %170
170: ; preds = %157
%171 = load i32, ptr %24, align 4
%172 = add nsw i32 %171, 1
store i32 %172, ptr %24, align 4
%173 = load i32, ptr %24, align 4
%174 = load i32, ptr %5, align 4
%175 = icmp ult i32 %173, %174
br i1 %175, label %157, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %170
br label %176
176: ; preds = %._crit_edge15, %153
%177 = load i32, ptr %23, align 4
%178 = load i32, ptr %16, align 4
%179 = icmp sgt i32 %177, %178
br i1 %179, label %180, label %182
180: ; preds = %176
%181 = load i32, ptr %23, align 4
store i32 %181, ptr %16, align 4
br label %182
182: ; preds = %180, %176
br label %183
183: ; preds = %182
%184 = load i32, ptr %22, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %22, align 4
%186 = load i32, ptr %22, align 4
%187 = load i32, ptr %8, align 4
%188 = icmp ult i32 %186, %187
br i1 %188, label %153, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %183
br label %189
189: ; preds = %._crit_edge18, %149
br label %190
190: ; preds = %189
%191 = load i32, ptr %21, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %21, align 4
%193 = load i32, ptr %21, align 4
%194 = load i32, ptr %7, align 4
%195 = load i32, ptr %5, align 4
%196 = sub i32 %194, %195
%197 = icmp ult i32 %193, %196
br i1 %197, label %149, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %190
br label %198
198: ; preds = %._crit_edge21, %143
store i32 0, ptr %25, align 4
%199 = load i32, ptr %25, align 4
%200 = load i32, ptr %7, align 4
%201 = load i32, ptr %5, align 4
%202 = sub i32 %200, %201
%203 = icmp ult i32 %199, %202
br i1 %203, label %.lr.ph29, label %259
.lr.ph29: ; preds = %198
br label %204
204: ; preds = %.lr.ph29, %251
store i32 0, ptr %26, align 4
%205 = load i32, ptr %26, align 4
%206 = load i32, ptr %8, align 4
%207 = load i32, ptr %5, align 4
%208 = sub i32 %206, %207
%209 = icmp ult i32 %205, %208
br i1 %209, label %.lr.ph26, label %250
.lr.ph26: ; preds = %204
br label %210
210: ; preds = %.lr.ph26, %242
store i32 1, ptr %27, align 4
store i32 0, ptr %28, align 4
%211 = load i32, ptr %28, align 4
%212 = load i32, ptr %5, align 4
%213 = icmp ult i32 %211, %212
br i1 %213, label %.lr.ph23, label %235
.lr.ph23: ; preds = %210
br label %214
214: ; preds = %.lr.ph23, %229
%215 = load i32, ptr %25, align 4
%216 = load i32, ptr %28, align 4
%217 = add nsw i32 %215, %216
%218 = sext i32 %217 to i64
%219 = mul nsw i64 %218, %47
%220 = getelementptr inbounds i32, ptr %50, i64 %219
%221 = load i32, ptr %26, align 4
%222 = load i32, ptr %28, align 4
%223 = add nsw i32 %221, %222
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds i32, ptr %220, i64 %224
%226 = load i32, ptr %225, align 4
%227 = load i32, ptr %27, align 4
%228 = mul nsw i32 %227, %226
store i32 %228, ptr %27, align 4
br label %229
229: ; preds = %214
%230 = load i32, ptr %28, align 4
%231 = add nsw i32 %230, 1
store i32 %231, ptr %28, align 4
%232 = load i32, ptr %28, align 4
%233 = load i32, ptr %5, align 4
%234 = icmp ult i32 %232, %233
br i1 %234, label %214, label %._crit_edge24, !llvm.loop !15
._crit_edge24: ; preds = %229
br label %235
235: ; preds = %._crit_edge24, %210
%236 = load i32, ptr %27, align 4
%237 = load i32, ptr %16, align 4
%238 = icmp sgt i32 %236, %237
br i1 %238, label %239, label %241
239: ; preds = %235
%240 = load i32, ptr %27, align 4
store i32 %240, ptr %16, align 4
br label %241
241: ; preds = %239, %235
br label %242
242: ; preds = %241
%243 = load i32, ptr %26, align 4
%244 = add nsw i32 %243, 1
store i32 %244, ptr %26, align 4
%245 = load i32, ptr %26, align 4
%246 = load i32, ptr %8, align 4
%247 = load i32, ptr %5, align 4
%248 = sub i32 %246, %247
%249 = icmp ult i32 %245, %248
br i1 %249, label %210, label %._crit_edge27, !llvm.loop !16
._crit_edge27: ; preds = %242
br label %250
250: ; preds = %._crit_edge27, %204
br label %251
251: ; preds = %250
%252 = load i32, ptr %25, align 4
%253 = add nsw i32 %252, 1
store i32 %253, ptr %25, align 4
%254 = load i32, ptr %25, align 4
%255 = load i32, ptr %7, align 4
%256 = load i32, ptr %5, align 4
%257 = sub i32 %255, %256
%258 = icmp ult i32 %254, %257
br i1 %258, label %204, label %._crit_edge30, !llvm.loop !17
._crit_edge30: ; preds = %251
br label %259
259: ; preds = %._crit_edge30, %198
store i32 0, ptr %29, align 4
%260 = load i32, ptr %29, align 4
%261 = load i32, ptr %7, align 4
%262 = load i32, ptr %5, align 4
%263 = sub i32 %261, %262
%264 = icmp ult i32 %260, %263
br i1 %264, label %.lr.ph38, label %318
.lr.ph38: ; preds = %259
br label %265
265: ; preds = %.lr.ph38, %310
%266 = load i32, ptr %5, align 4
%267 = sub i32 %266, 1
store i32 %267, ptr %30, align 4
%268 = load i32, ptr %30, align 4
%269 = load i32, ptr %8, align 4
%270 = icmp ult i32 %268, %269
br i1 %270, label %.lr.ph35, label %309
.lr.ph35: ; preds = %265
br label %271
271: ; preds = %.lr.ph35, %303
store i32 1, ptr %31, align 4
store i32 0, ptr %32, align 4
%272 = load i32, ptr %32, align 4
%273 = load i32, ptr %5, align 4
%274 = icmp ult i32 %272, %273
br i1 %274, label %.lr.ph32, label %296
.lr.ph32: ; preds = %271
br label %275
275: ; preds = %.lr.ph32, %290
%276 = load i32, ptr %29, align 4
%277 = load i32, ptr %32, align 4
%278 = add nsw i32 %276, %277
%279 = sext i32 %278 to i64
%280 = mul nsw i64 %279, %47
%281 = getelementptr inbounds i32, ptr %50, i64 %280
%282 = load i32, ptr %30, align 4
%283 = load i32, ptr %32, align 4
%284 = sub nsw i32 %282, %283
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds i32, ptr %281, i64 %285
%287 = load i32, ptr %286, align 4
%288 = load i32, ptr %31, align 4
%289 = mul nsw i32 %288, %287
store i32 %289, ptr %31, align 4
br label %290
290: ; preds = %275
%291 = load i32, ptr %32, align 4
%292 = add nsw i32 %291, 1
store i32 %292, ptr %32, align 4
%293 = load i32, ptr %32, align 4
%294 = load i32, ptr %5, align 4
%295 = icmp ult i32 %293, %294
br i1 %295, label %275, label %._crit_edge33, !llvm.loop !18
._crit_edge33: ; preds = %290
br label %296
296: ; preds = %._crit_edge33, %271
%297 = load i32, ptr %31, align 4
%298 = load i32, ptr %16, align 4
%299 = icmp sgt i32 %297, %298
br i1 %299, label %300, label %302
300: ; preds = %296
%301 = load i32, ptr %31, align 4
store i32 %301, ptr %16, align 4
br label %302
302: ; preds = %300, %296
br label %303
303: ; preds = %302
%304 = load i32, ptr %30, align 4
%305 = add nsw i32 %304, 1
store i32 %305, ptr %30, align 4
%306 = load i32, ptr %30, align 4
%307 = load i32, ptr %8, align 4
%308 = icmp ult i32 %306, %307
br i1 %308, label %271, label %._crit_edge36, !llvm.loop !19
._crit_edge36: ; preds = %303
br label %309
309: ; preds = %._crit_edge36, %265
br label %310
310: ; preds = %309
%311 = load i32, ptr %29, align 4
%312 = add nsw i32 %311, 1
store i32 %312, ptr %29, align 4
%313 = load i32, ptr %29, align 4
%314 = load i32, ptr %7, align 4
%315 = load i32, ptr %5, align 4
%316 = sub i32 %314, %315
%317 = icmp ult i32 %313, %316
br i1 %317, label %265, label %._crit_edge39, !llvm.loop !20
._crit_edge39: ; preds = %310
br label %318
318: ; preds = %._crit_edge39, %259
%319 = load i32, ptr %5, align 4
%320 = load ptr, ptr %6, align 8
%321 = load i32, ptr %16, align 4
%322 = call i32 @printf(ptr noundef @.str.2, i32 noundef %319, ptr noundef %320, i32 noundef %321)
%323 = load ptr, ptr %11, align 8
call void @llvm.stackrestore(ptr %323)
ret void
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #3
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @fgetc(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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}
!15 = distinct !{!15, !7}
!16 = distinct !{!16, !7}
!17 = distinct !{!17, !7}
!18 = distinct !{!18, !7}
!19 = distinct !{!19, !7}
!20 = distinct !{!20, !7}
|
; ModuleID = '/tmp/tmpq14admq5.c'
source_filename = "/tmp/tmpq14admq5.c"
target datalayout = "e-m:e-p270: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/tmpq14admq5.c"
target datalayout = "e-m:e-p270: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/tmprv_ygj0o.c'
source_filename = "/tmp/tmprv_ygj0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lisp_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @read(i32 noundef %7, ptr noundef %8, i64 noundef %9)
ret i32 %10
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprv_ygj0o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lisp_read(i32 noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @read(i32 noundef %7, ptr noundef %8, i64 noundef %9)
ret i32 %10
}
declare i32 @read(i32 noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpllhxuy0t.c'
source_filename = "/tmp/tmpllhxuy0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @av_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/tmpllhxuy0t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @av_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/tmpfeq9ucb5.c'
source_filename = "/tmp/tmpfeq9ucb5.c"
target datalayout = "e-m:e-p270: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.rpc_msg = type { %struct.TYPE_4__, %struct.TYPE_3__, i32 }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32 }
@REPLY = dso_local global i32 0, align 4
@MSG_DENIED = dso_local global i32 0, align 4
@AUTH_ERROR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @svcerr_auth(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.rpc_msg, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr @REPLY, align 4
%7 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 2
store i32 %6, ptr %7, align 4
%8 = load i32, ptr @MSG_DENIED, align 4
%9 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load i32, ptr @AUTH_ERROR, align 4
%12 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 1
store i32 %11, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i32 @SVC_REPLY(ptr noundef %17, ptr noundef %5)
ret void
}
declare i32 @SVC_REPLY(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/tmpfeq9ucb5.c"
target datalayout = "e-m:e-p270: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.rpc_msg = type { %struct.TYPE_4__, %struct.TYPE_3__, i32 }
%struct.TYPE_4__ = type { i32, i32 }
%struct.TYPE_3__ = type { i32 }
@REPLY = dso_local global i32 0, align 4
@MSG_DENIED = dso_local global i32 0, align 4
@AUTH_ERROR = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @svcerr_auth(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca %struct.rpc_msg, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load i32, ptr @REPLY, align 4
%7 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 2
store i32 %6, ptr %7, align 4
%8 = load i32, ptr @MSG_DENIED, align 4
%9 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 1
%10 = getelementptr inbounds %struct.TYPE_3__, ptr %9, i32 0, i32 0
store i32 %8, ptr %10, align 4
%11 = load i32, ptr @AUTH_ERROR, align 4
%12 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 0
%13 = getelementptr inbounds %struct.TYPE_4__, ptr %12, i32 0, i32 1
store i32 %11, ptr %13, align 4
%14 = load i32, ptr %4, align 4
%15 = getelementptr inbounds %struct.rpc_msg, ptr %5, i32 0, i32 0
%16 = getelementptr inbounds %struct.TYPE_4__, ptr %15, i32 0, i32 0
store i32 %14, ptr %16, align 4
%17 = load ptr, ptr %3, align 8
%18 = call i32 @SVC_REPLY(ptr noundef %17, ptr noundef %5)
ret void
}
declare i32 @SVC_REPLY(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/tmpenybtn_6.c'
source_filename = "/tmp/tmpenybtn_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpenybtn_6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7i92fftd.c'
source_filename = "/tmp/tmp7i92fftd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"How many Fibonacci numbers do you want (between 1 and 75)? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Bad number sorry!\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%llu \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 1
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 75
br i1 %12, label %13, label %15
13: ; preds = %10, %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %61
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %4, align 8
%19 = alloca i64, i64 %17, align 16
store i64 %17, ptr %5, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 0
store i64 0, ptr %20, align 16
%21 = getelementptr inbounds i64, ptr %19, i64 1
store i64 1, ptr %21, align 8
store i32 2, ptr %2, align 4
br label %22
22: ; preds = %41, %15
%23 = load i32, ptr %2, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %44
26: ; preds = %22
%27 = load i32, ptr %2, align 4
%28 = sub nsw i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds i64, ptr %19, i64 %29
%31 = load i64, ptr %30, align 8
%32 = load i32, ptr %2, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i64, ptr %19, i64 %34
%36 = load i64, ptr %35, align 8
%37 = add i64 %31, %36
%38 = load i32, ptr %2, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i64, ptr %19, i64 %39
store i64 %37, ptr %40, align 8
br label %41
41: ; preds = %26
%42 = load i32, ptr %2, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %2, align 4
br label %22, !llvm.loop !6
44: ; preds = %22
store i32 0, ptr %2, align 4
br label %45
45: ; preds = %55, %44
%46 = load i32, ptr %2, align 4
%47 = load i32, ptr %3, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %58
49: ; preds = %45
%50 = load i32, ptr %2, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i64, ptr %19, i64 %51
%53 = load i64, ptr %52, align 8
%54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %53)
br label %55
55: ; preds = %49
%56 = load i32, ptr %2, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %2, align 4
br label %45, !llvm.loop !8
58: ; preds = %45
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %1, align 4
%60 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %60)
br label %61
61: ; preds = %58, %13
%62 = load i32, ptr %1, align 4
ret i32 %62
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7i92fftd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [60 x i8] c"How many Fibonacci numbers do you want (between 1 and 75)? \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1
@.str.2 = private unnamed_addr constant [19 x i8] c"Bad number sorry!\0A\00", align 1
@.str.3 = private unnamed_addr constant [6 x i8] c"%llu \00", align 1
@.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 1
br i1 %9, label %13, label %10
10: ; preds = %0
%11 = load i32, ptr %3, align 4
%12 = icmp sgt i32 %11, 75
br i1 %12, label %13, label %15
13: ; preds = %10, %0
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 1, ptr %1, align 4
br label %65
15: ; preds = %10
%16 = load i32, ptr %3, align 4
%17 = zext i32 %16 to i64
%18 = call ptr @llvm.stacksave()
store ptr %18, ptr %4, align 8
%19 = alloca i64, i64 %17, align 16
store i64 %17, ptr %5, align 8
%20 = getelementptr inbounds i64, ptr %19, i64 0
store i64 0, ptr %20, align 16
%21 = getelementptr inbounds i64, ptr %19, i64 1
store i64 1, ptr %21, align 8
store i32 2, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %.lr.ph, label %46
.lr.ph: ; preds = %15
br label %25
25: ; preds = %.lr.ph, %40
%26 = load i32, ptr %2, align 4
%27 = sub nsw i32 %26, 2
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i64, ptr %19, i64 %28
%30 = load i64, ptr %29, align 8
%31 = load i32, ptr %2, align 4
%32 = sub nsw i32 %31, 1
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i64, ptr %19, i64 %33
%35 = load i64, ptr %34, align 8
%36 = add i64 %30, %35
%37 = load i32, ptr %2, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i64, ptr %19, i64 %38
store i64 %36, ptr %39, align 8
br label %40
40: ; preds = %25
%41 = load i32, ptr %2, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %2, align 4
%43 = load i32, ptr %2, align 4
%44 = load i32, ptr %3, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %46
46: ; preds = %._crit_edge, %15
store i32 0, ptr %2, align 4
%47 = load i32, ptr %2, align 4
%48 = load i32, ptr %3, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %.lr.ph2, label %62
.lr.ph2: ; preds = %46
br label %50
50: ; preds = %.lr.ph2, %56
%51 = load i32, ptr %2, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i64, ptr %19, i64 %52
%54 = load i64, ptr %53, align 8
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i64 noundef %54)
br label %56
56: ; preds = %50
%57 = load i32, ptr %2, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %2, align 4
%59 = load i32, ptr %2, align 4
%60 = load i32, ptr %3, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %50, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %46
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
store i32 0, ptr %1, align 4
%64 = load ptr, ptr %4, align 8
call void @llvm.stackrestore(ptr %64)
br label %65
65: ; preds = %62, %13
%66 = load i32, ptr %1, align 4
ret i32 %66
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp474wt4qf.c'
source_filename = "/tmp/tmp474wt4qf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pythag2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%10 = load double, ptr %4, align 8
%11 = call double @llvm.fabs.f64(double %10)
store double %11, ptr %6, align 8
%12 = load double, ptr %5, align 8
%13 = call double @llvm.fabs.f64(double %12)
store double %13, ptr %7, align 8
%14 = load double, ptr %6, align 8
%15 = fcmp oeq double 0.000000e+00, %14
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load double, ptr %7, align 8
%18 = fcmp oeq double 0.000000e+00, %17
br i1 %18, label %19, label %20
19: ; preds = %16
store double 0.000000e+00, ptr %3, align 8
br label %46
20: ; preds = %16, %2
%21 = load double, ptr %6, align 8
%22 = load double, ptr %7, align 8
%23 = fcmp ogt double %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load double, ptr %7, align 8
%26 = load double, ptr %6, align 8
%27 = fdiv double %25, %26
store double %27, ptr %8, align 8
%28 = load double, ptr %6, align 8
%29 = load double, ptr %8, align 8
%30 = load double, ptr %8, align 8
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double 1.000000e+00)
%32 = fptosi double %31 to i32
%33 = call double @sqrt(i32 noundef %32)
%34 = fmul double %28, %33
store double %34, ptr %3, align 8
br label %46
35: ; preds = %20
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
store double %38, ptr %9, align 8
%39 = load double, ptr %7, align 8
%40 = load double, ptr %9, align 8
%41 = load double, ptr %9, align 8
%42 = call double @llvm.fmuladd.f64(double %40, double %41, double 1.000000e+00)
%43 = fptosi double %42 to i32
%44 = call double @sqrt(i32 noundef %43)
%45 = fmul double %39, %44
store double %45, ptr %3, align 8
br label %46
46: ; preds = %35, %24, %19
%47 = load double, ptr %3, align 8
ret double %47
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @sqrt(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 nosync nounwind speculatable willreturn memory(none) }
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/tmp474wt4qf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pythag2(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
%10 = load double, ptr %4, align 8
%11 = call double @llvm.fabs.f64(double %10)
store double %11, ptr %6, align 8
%12 = load double, ptr %5, align 8
%13 = call double @llvm.fabs.f64(double %12)
store double %13, ptr %7, align 8
%14 = load double, ptr %6, align 8
%15 = fcmp oeq double 0.000000e+00, %14
br i1 %15, label %16, label %20
16: ; preds = %2
%17 = load double, ptr %7, align 8
%18 = fcmp oeq double 0.000000e+00, %17
br i1 %18, label %19, label %20
19: ; preds = %16
store double 0.000000e+00, ptr %3, align 8
br label %46
20: ; preds = %16, %2
%21 = load double, ptr %6, align 8
%22 = load double, ptr %7, align 8
%23 = fcmp ogt double %21, %22
br i1 %23, label %24, label %35
24: ; preds = %20
%25 = load double, ptr %7, align 8
%26 = load double, ptr %6, align 8
%27 = fdiv double %25, %26
store double %27, ptr %8, align 8
%28 = load double, ptr %6, align 8
%29 = load double, ptr %8, align 8
%30 = load double, ptr %8, align 8
%31 = call double @llvm.fmuladd.f64(double %29, double %30, double 1.000000e+00)
%32 = fptosi double %31 to i32
%33 = call double @sqrt(i32 noundef %32)
%34 = fmul double %28, %33
store double %34, ptr %3, align 8
br label %46
35: ; preds = %20
%36 = load double, ptr %6, align 8
%37 = load double, ptr %7, align 8
%38 = fdiv double %36, %37
store double %38, ptr %9, align 8
%39 = load double, ptr %7, align 8
%40 = load double, ptr %9, align 8
%41 = load double, ptr %9, align 8
%42 = call double @llvm.fmuladd.f64(double %40, double %41, double 1.000000e+00)
%43 = fptosi double %42 to i32
%44 = call double @sqrt(i32 noundef %43)
%45 = fmul double %39, %44
store double %45, ptr %3, align 8
br label %46
46: ; preds = %35, %24, %19
%47 = load double, ptr %3, align 8
ret double %47
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
declare double @sqrt(i32 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 nosync nounwind speculatable willreturn memory(none) }
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/tmpa80y0de5.c'
source_filename = "/tmp/tmpa80y0de5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"begin_date\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"end_date\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hydrology_library_get_clean_begin_end_date(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %5
%15 = load ptr, ptr %9, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %5
br label %67
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr %29, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %39
33: ; preds = %28, %23, %19
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %9, align 8
%36 = load ptr, ptr %10, align 8
%37 = call ptr @hydrology_library_get_period_of_record_begin_date(ptr noundef %34, ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %6, align 8
store ptr %37, ptr %38, align 8
store i32 1, ptr %11, align 4
br label %39
39: ; preds = %33, %28
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %40, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %53
43: ; preds = %39
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %44, align 8
%46 = load i8, ptr %45, align 1
%47 = icmp ne i8 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %43
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %49, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.1)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %67
53: ; preds = %48, %43, %39
%54 = load i32, ptr %11, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %53
%57 = load ptr, ptr %8, align 8
%58 = load ptr, ptr %9, align 8
%59 = load ptr, ptr %10, align 8
%60 = call ptr @hydrology_library_get_period_of_record_end_date(ptr noundef %57, ptr noundef %58, ptr noundef %59)
%61 = load ptr, ptr %7, align 8
store ptr %60, ptr %61, align 8
br label %66
62: ; preds = %53
%63 = load ptr, ptr %6, align 8
%64 = load ptr, ptr %63, align 8
%65 = load ptr, ptr %7, align 8
store ptr %64, ptr %65, align 8
br label %66
66: ; preds = %62, %56
br label %67
67: ; preds = %18, %66, %48
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @hydrology_library_get_period_of_record_begin_date(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @hydrology_library_get_period_of_record_end_date(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/tmpa80y0de5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"begin_date\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"end_date\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hydrology_library_get_clean_begin_end_date(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
store i32 0, ptr %11, align 4
%12 = load ptr, ptr %9, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %18
14: ; preds = %5
%15 = load ptr, ptr %9, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %19, label %18
18: ; preds = %14, %5
br label %67
19: ; preds = %14
%20 = load ptr, ptr %6, align 8
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = load ptr, ptr %6, align 8
%25 = load ptr, ptr %24, align 8
%26 = load i8, ptr %25, align 1
%27 = icmp ne i8 %26, 0
br i1 %27, label %28, label %33
28: ; preds = %23
%29 = load ptr, ptr %6, align 8
%30 = load ptr, ptr %29, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %39
33: ; preds = %28, %23, %19
%34 = load ptr, ptr %8, align 8
%35 = load ptr, ptr %9, align 8
%36 = load ptr, ptr %10, align 8
%37 = call ptr @hydrology_library_get_period_of_record_begin_date(ptr noundef %34, ptr noundef %35, ptr noundef %36)
%38 = load ptr, ptr %6, align 8
store ptr %37, ptr %38, align 8
store i32 1, ptr %11, align 4
br label %39
39: ; preds = %33, %28
%40 = load ptr, ptr %7, align 8
%41 = load ptr, ptr %40, align 8
%42 = icmp ne ptr %41, null
br i1 %42, label %43, label %53
43: ; preds = %39
%44 = load ptr, ptr %7, align 8
%45 = load ptr, ptr %44, align 8
%46 = load i8, ptr %45, align 1
%47 = icmp ne i8 %46, 0
br i1 %47, label %48, label %53
48: ; preds = %43
%49 = load ptr, ptr %7, align 8
%50 = load ptr, ptr %49, align 8
%51 = call i64 @strcmp(ptr noundef %50, ptr noundef @.str.1)
%52 = icmp eq i64 %51, 0
br i1 %52, label %53, label %67
53: ; preds = %48, %43, %39
%54 = load i32, ptr %11, align 4
%55 = icmp ne i32 %54, 0
br i1 %55, label %56, label %62
56: ; preds = %53
%57 = load ptr, ptr %8, align 8
%58 = load ptr, ptr %9, align 8
%59 = load ptr, ptr %10, align 8
%60 = call ptr @hydrology_library_get_period_of_record_end_date(ptr noundef %57, ptr noundef %58, ptr noundef %59)
%61 = load ptr, ptr %7, align 8
store ptr %60, ptr %61, align 8
br label %66
62: ; preds = %53
%63 = load ptr, ptr %6, align 8
%64 = load ptr, ptr %63, align 8
%65 = load ptr, ptr %7, align 8
store ptr %64, ptr %65, align 8
br label %66
66: ; preds = %62, %56
br label %67
67: ; preds = %66, %48, %18
ret void
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare ptr @hydrology_library_get_period_of_record_begin_date(ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @hydrology_library_get_period_of_record_end_date(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/tmpg8xgldtp.c'
source_filename = "/tmp/tmpg8xgldtp.c"
target datalayout = "e-m:e-p270: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.texto = private unnamed_addr constant [13 x i8] c" : Bom dia!\00\00", align 1
@.str = private unnamed_addr constant [3 x i8] c"oi\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 [13 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.texto, i64 13, i1 false)
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 2
%9 = load ptr, ptr %8, align 8
%10 = call signext i8 @atoi(ptr noundef %9)
%11 = sext i8 %10 to i32
%12 = add nsw i32 65, %11
%13 = sub nsw i32 %12, 1
%14 = trunc i32 %13 to i8
%15 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
store i8 %14, ptr %15, align 1
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call signext i8 @atoi(ptr noundef %18)
%20 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @write(i8 noundef signext %19, ptr noundef %20, i32 noundef 13)
%22 = call i32 @printf(ptr noundef @.str)
%23 = call i32 @_exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare signext i8 @atoi(ptr noundef) #2
declare i32 @write(i8 noundef signext, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg8xgldtp.c"
target datalayout = "e-m:e-p270: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.texto = private unnamed_addr constant [13 x i8] c" : Bom dia!\00\00", align 1
@.str = private unnamed_addr constant [3 x i8] c"oi\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 [13 x i8], align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %6, ptr align 1 @__const.main.texto, i64 13, i1 false)
%7 = load ptr, ptr %5, align 8
%8 = getelementptr inbounds ptr, ptr %7, i64 2
%9 = load ptr, ptr %8, align 8
%10 = call signext i8 @atoi(ptr noundef %9)
%11 = sext i8 %10 to i32
%12 = add nsw i32 65, %11
%13 = sub nsw i32 %12, 1
%14 = trunc i32 %13 to i8
%15 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
store i8 %14, ptr %15, align 1
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call signext i8 @atoi(ptr noundef %18)
%20 = getelementptr inbounds [13 x i8], ptr %6, i64 0, i64 0
%21 = call i32 @write(i8 noundef signext %19, ptr noundef %20, i32 noundef 13)
%22 = call i32 @printf(ptr noundef @.str)
%23 = call i32 @_exit(i32 noundef 0) #4
unreachable
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare signext i8 @atoi(ptr noundef) #2
declare i32 @write(i8 noundef signext, ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef) #2
; Function Attrs: noreturn
declare i32 @_exit(i32 noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkqeu3tiu.c'
source_filename = "/tmp/tmpkqeu3tiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"(le(n,i,k,l),le(n,i,k,l))\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @tmpl(ptr noundef @.str)
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
%9 = call i32 @assume(i32 noundef %8)
store i32 1, ptr %2, align 4
br label %10
10: ; preds = %39, %0
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %42
14: ; preds = %10
%15 = load i32, ptr %4, align 4
store i32 %15, ptr %1, align 4
br label %16
16: ; preds = %21, %14
%17 = load i32, ptr %1, align 4
%18 = load i32, ptr %3, align 4
%19 = icmp slt i32 %17, %18
br i1 %19, label %20, label %24
20: ; preds = %16
br label %21
21: ; preds = %20
%22 = load i32, ptr %1, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %1, align 4
br label %16, !llvm.loop !6
24: ; preds = %16
%25 = load i32, ptr %4, align 4
store i32 %25, ptr %1, align 4
br label %26
26: ; preds = %35, %24
%27 = load i32, ptr %1, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %30, label %38
30: ; preds = %26
%31 = load i32, ptr %1, align 4
%32 = icmp sle i32 1, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
br label %35
35: ; preds = %30
%36 = load i32, ptr %1, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %1, align 4
br label %26, !llvm.loop !8
38: ; preds = %26
br label %39
39: ; preds = %38
%40 = load i32, ptr %2, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %2, align 4
br label %10, !llvm.loop !9
42: ; preds = %10
ret void
}
declare i32 @tmpl(ptr noundef) #1
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkqeu3tiu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"(le(n,i,k,l),le(n,i,k,l))\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = call i32 @tmpl(ptr noundef @.str)
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 0
%8 = zext i1 %7 to i32
%9 = call i32 @assume(i32 noundef %8)
store i32 1, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph5, label %48
.lr.ph5: ; preds = %0
br label %13
13: ; preds = %.lr.ph5, %42
%14 = load i32, ptr %4, align 4
store i32 %14, ptr %1, align 4
%15 = load i32, ptr %1, align 4
%16 = load i32, ptr %3, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %.lr.ph, label %25
.lr.ph: ; preds = %13
br label %18
18: ; preds = %.lr.ph, %19
br label %19
19: ; preds = %18
%20 = load i32, ptr %1, align 4
%21 = add nsw i32 %20, 1
store i32 %21, ptr %1, align 4
%22 = load i32, ptr %1, align 4
%23 = load i32, ptr %3, align 4
%24 = icmp slt i32 %22, %23
br i1 %24, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %25
25: ; preds = %._crit_edge, %13
%26 = load i32, ptr %4, align 4
store i32 %26, ptr %1, align 4
%27 = load i32, ptr %1, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph2, label %41
.lr.ph2: ; preds = %25
br label %30
30: ; preds = %.lr.ph2, %35
%31 = load i32, ptr %1, align 4
%32 = icmp sle i32 1, %31
%33 = zext i1 %32 to i32
%34 = call i32 @assert(i32 noundef %33)
br label %35
35: ; preds = %30
%36 = load i32, ptr %1, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %1, align 4
%38 = load i32, ptr %1, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %35
br label %41
41: ; preds = %._crit_edge3, %25
br label %42
42: ; preds = %41
%43 = load i32, ptr %2, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %2, align 4
%45 = load i32, ptr %2, align 4
%46 = load i32, ptr %3, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %13, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %42
br label %48
48: ; preds = %._crit_edge6, %0
ret void
}
declare i32 @tmpl(ptr noundef) #1
declare i32 @assume(i32 noundef) #1
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpi_pl4zy_.c'
source_filename = "/tmp/tmpi_pl4zy_.c"
target datalayout = "e-m:e-p270: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/tmpi_pl4zy_.c"
target datalayout = "e-m:e-p270: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/tmpeewqvoov.c'
source_filename = "/tmp/tmpeewqvoov.c"
target datalayout = "e-m:e-p270: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/tmpeewqvoov.c"
target datalayout = "e-m:e-p270: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/tmpk_418ekj.c'
source_filename = "/tmp/tmpk_418ekj.c"
target datalayout = "e-m:e-p270: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/tmpk_418ekj.c"
target datalayout = "e-m:e-p270: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/tmpykmr3klw.c'
source_filename = "/tmp/tmpykmr3klw.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [7 x i32] [i32 32, i32 12, i32 56, i32 78, i32 76, i32 45, i32 36], align 16
@.str = private unnamed_addr constant [15 x i8] c"Before sort: \0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0AAfter sort: \0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [7 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 28, i1 false)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %14, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 7
br i1 %7, label %8, label %17
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %10
%12 = load i32, ptr %11, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %8
%15 = load i32, ptr %2, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %2, align 4
br label %5, !llvm.loop !6
17: ; preds = %5
%18 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0
%19 = call i32 @merge_sort(ptr noundef %18, i32 noundef 0, i32 noundef 6)
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
br label %21
21: ; preds = %30, %17
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 7
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
br label %21, !llvm.loop !8
33: ; preds = %21
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
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 @printf(ptr noundef, ...) #2
declare i32 @merge_sort(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpykmr3klw.c"
target datalayout = "e-m:e-p270: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.a = private unnamed_addr constant [7 x i32] [i32 32, i32 12, i32 56, i32 78, i32 76, i32 45, i32 36], align 16
@.str = private unnamed_addr constant [15 x i8] c"Before sort: \0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\09\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"\0AAfter sort: \0A\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca [7 x i32], align 16
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.main.a, i64 28, i1 false)
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 7
br i1 %6, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %13
%8 = load i32, ptr %2, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %9
%11 = load i32, ptr %10, align 4
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %16, 7
br i1 %17, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %18
18: ; preds = %._crit_edge, %0
%19 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0
%20 = call i32 @merge_sort(ptr noundef %19, i32 noundef 0, i32 noundef 6)
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %2, align 4
%22 = load i32, ptr %2, align 4
%23 = icmp slt i32 %22, 7
br i1 %23, label %.lr.ph2, label %35
.lr.ph2: ; preds = %18
br label %24
24: ; preds = %.lr.ph2, %30
%25 = load i32, ptr %2, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %26
%28 = load i32, ptr %27, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
br label %30
30: ; preds = %24
%31 = load i32, ptr %2, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 7
br i1 %34, label %24, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %18
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
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 @printf(ptr noundef, ...) #2
declare i32 @merge_sort(ptr noundef, i32 noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpboyoh2ls.c'
source_filename = "/tmp/tmpboyoh2ls.c"
target datalayout = "e-m:e-p270: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/tmpboyoh2ls.c"
target datalayout = "e-m:e-p270: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/tmpw_fjf49_.c'
source_filename = "/tmp/tmpw_fjf49_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsulexfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw_fjf49_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @wcsulexfree(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw6ebmjvc.c'
source_filename = "/tmp/tmpw6ebmjvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @climbStairs(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %3, align 8
store i32 0, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
store i32 0, ptr %14, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sge i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
store i32 1, ptr %19, align 4
br label %20
20: ; preds = %17, %1
%21 = load i32, ptr %2, align 4
%22 = icmp sge i32 %21, 2
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 2
store i32 2, ptr %25, align 4
br label %26
26: ; preds = %23, %20
store i32 3, ptr %5, align 4
br label %27
27: ; preds = %49, %26
%28 = load i32, ptr %5, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp sle i32 %28, %29
br i1 %30, label %31, label %52
31: ; preds = %27
%32 = load ptr, ptr %3, align 8
%33 = load i32, ptr %5, align 4
%34 = sub nsw i32 %33, 1
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds i32, ptr %32, i64 %35
%37 = load i32, ptr %36, align 4
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sub nsw i32 %39, 2
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i32, ptr %38, i64 %41
%43 = load i32, ptr %42, align 4
%44 = add nsw i32 %37, %43
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %5, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i32, ptr %45, i64 %47
store i32 %44, ptr %48, align 4
br label %49
49: ; preds = %31
%50 = load i32, ptr %5, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %5, align 4
br label %27, !llvm.loop !6
52: ; preds = %27
%53 = load ptr, ptr %3, align 8
%54 = load i32, ptr %2, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %53, i64 %55
%57 = load i32, ptr %56, align 4
store i32 %57, ptr %4, align 4
%58 = load i32, ptr %4, align 4
ret i32 %58
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw6ebmjvc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @climbStairs(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = add nsw i32 %6, 1
%8 = sext i32 %7 to i64
%9 = mul i64 %8, 4
%10 = trunc i64 %9 to i32
%11 = call i64 @malloc(i32 noundef %10)
%12 = inttoptr i64 %11 to ptr
store ptr %12, ptr %3, align 8
store i32 0, ptr %4, align 4
%13 = load ptr, ptr %3, align 8
%14 = getelementptr inbounds i32, ptr %13, i64 0
store i32 0, ptr %14, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp sge i32 %15, 1
br i1 %16, label %17, label %20
17: ; preds = %1
%18 = load ptr, ptr %3, align 8
%19 = getelementptr inbounds i32, ptr %18, i64 1
store i32 1, ptr %19, align 4
br label %20
20: ; preds = %17, %1
%21 = load i32, ptr %2, align 4
%22 = icmp sge i32 %21, 2
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i32, ptr %24, i64 2
store i32 2, ptr %25, align 4
br label %26
26: ; preds = %23, %20
store i32 3, ptr %5, align 4
%27 = load i32, ptr %5, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp sle i32 %27, %28
br i1 %29, label %.lr.ph, label %54
.lr.ph: ; preds = %26
br label %30
30: ; preds = %.lr.ph, %48
%31 = load ptr, ptr %3, align 8
%32 = load i32, ptr %5, align 4
%33 = sub nsw i32 %32, 1
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32, ptr %31, i64 %34
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %3, align 8
%38 = load i32, ptr %5, align 4
%39 = sub nsw i32 %38, 2
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %37, i64 %40
%42 = load i32, ptr %41, align 4
%43 = add nsw i32 %36, %42
%44 = load ptr, ptr %3, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
store i32 %43, ptr %47, align 4
br label %48
48: ; preds = %30
%49 = load i32, ptr %5, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %5, align 4
%51 = load i32, ptr %5, align 4
%52 = load i32, ptr %2, align 4
%53 = icmp sle i32 %51, %52
br i1 %53, label %30, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %48
br label %54
54: ; preds = %._crit_edge, %26
%55 = load ptr, ptr %3, align 8
%56 = load i32, ptr %2, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
store i32 %59, ptr %4, align 4
%60 = load i32, ptr %4, align 4
ret i32 %60
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp8zflbwl3.c'
source_filename = "/tmp/tmp8zflbwl3.c"
target datalayout = "e-m:e-p270: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/tmp8zflbwl3.c"
target datalayout = "e-m:e-p270: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/tmp868ramyc.c'
source_filename = "/tmp/tmp868ramyc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @close_log()
%4 = load i32, ptr %2, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @close_log(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp868ramyc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @die(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @close_log()
%4 = load i32, ptr %2, align 4
%5 = call i32 @exit(i32 noundef %4) #3
unreachable
}
declare i32 @close_log(...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp02qcws27.c'
source_filename = "/tmp/tmp02qcws27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overhandShuffle(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %13, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %14, align 8
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %131, %3
%28 = load i32, ptr %7, align 4
%29 = load i32, ptr %6, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %134
31: ; preds = %27
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %32
32: ; preds = %122, %31
%33 = load i32, ptr %9, align 4
%34 = load i32, ptr %5, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %123
36: ; preds = %32
%37 = load i32, ptr %5, align 4
%38 = sdiv i32 %37, 5
%39 = call i32 @random(i32 noundef 0, i32 noundef %38)
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
store i32 0, ptr %12, align 4
br label %41
41: ; preds = %63, %36
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %49
45: ; preds = %41
%46 = load i32, ptr %9, align 4
%47 = load i32, ptr %5, align 4
%48 = icmp slt i32 %46, %47
br label %49
49: ; preds = %45, %41
%50 = phi i1 [ false, %41 ], [ %48, %45 ]
br i1 %50, label %51, label %66
51: ; preds = %49
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %9, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %9, align 4
%55 = sext i32 %53 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load ptr, ptr %14, align 8
%59 = load i32, ptr %11, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %11, align 4
%61 = sext i32 %59 to i64
%62 = getelementptr inbounds i32, ptr %58, i64 %61
store i32 %57, ptr %62, align 4
br label %63
63: ; preds = %51
%64 = load i32, ptr %12, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %12, align 4
br label %41, !llvm.loop !6
66: ; preds = %49
%67 = call i32 @random(i32 noundef 0, i32 noundef 10)
%68 = icmp sge i32 %67, 1
br i1 %68, label %69, label %101
69: ; preds = %66
%70 = load i32, ptr %10, align 4
%71 = sub nsw i32 %70, 1
store i32 %71, ptr %12, align 4
br label %72
72: ; preds = %87, %69
%73 = load i32, ptr %12, align 4
%74 = icmp sge i32 %73, 0
br i1 %74, label %75, label %90
75: ; preds = %72
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %12, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i32, ptr %76, i64 %78
%80 = load i32, ptr %79, align 4
%81 = load ptr, ptr %13, align 8
%82 = load i32, ptr %12, align 4
%83 = load i32, ptr %11, align 4
%84 = add nsw i32 %82, %83
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds i32, ptr %81, i64 %85
store i32 %80, ptr %86, align 4
br label %87
87: ; preds = %75
%88 = load i32, ptr %12, align 4
%89 = add nsw i32 %88, -1
store i32 %89, ptr %12, align 4
br label %72, !llvm.loop !8
90: ; preds = %72
%91 = load ptr, ptr %13, align 8
%92 = load ptr, ptr %14, align 8
%93 = load i32, ptr %11, align 4
%94 = sext i32 %93 to i64
%95 = mul i64 %94, 4
%96 = trunc i64 %95 to i32
%97 = call i32 @memcpy(ptr noundef %91, ptr noundef %92, i32 noundef %96)
%98 = load i32, ptr %11, align 4
%99 = load i32, ptr %10, align 4
%100 = add nsw i32 %99, %98
store i32 %100, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %122
101: ; preds = %66
store i32 0, ptr %12, align 4
br label %102
102: ; preds = %116, %101
%103 = load i32, ptr %12, align 4
%104 = load i32, ptr %11, align 4
%105 = icmp slt i32 %103, %104
br i1 %105, label %106, label %121
106: ; preds = %102
%107 = load ptr, ptr %14, align 8
%108 = load i32, ptr %12, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
%111 = load i32, ptr %110, align 4
%112 = load ptr, ptr %13, align 8
%113 = load i32, ptr %10, align 4
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds i32, ptr %112, i64 %114
store i32 %111, ptr %115, align 4
br label %116
116: ; preds = %106
%117 = load i32, ptr %12, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %12, align 4
%119 = load i32, ptr %10, align 4
%120 = add nsw i32 %119, 1
store i32 %120, ptr %10, align 4
br label %102, !llvm.loop !9
121: ; preds = %102
store i32 0, ptr %11, align 4
br label %122
122: ; preds = %121, %90
br label %32, !llvm.loop !10
123: ; preds = %32
%124 = load ptr, ptr %4, align 8
%125 = load ptr, ptr %13, align 8
%126 = load i32, ptr %5, align 4
%127 = sext i32 %126 to i64
%128 = mul i64 %127, 4
%129 = trunc i64 %128 to i32
%130 = call i32 @memcpy(ptr noundef %124, ptr noundef %125, i32 noundef %129)
br label %131
131: ; preds = %123
%132 = load i32, ptr %7, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %7, align 4
br label %27, !llvm.loop !11
134: ; preds = %27
%135 = load ptr, ptr %13, align 8
%136 = call i32 @free(ptr noundef %135)
%137 = load ptr, ptr %14, align 8
%138 = call i32 @free(ptr noundef %137)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @random(i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp02qcws27.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @overhandShuffle(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = mul i64 %16, 4
%18 = trunc i64 %17 to i32
%19 = call i64 @malloc(i32 noundef %18)
%20 = inttoptr i64 %19 to ptr
store ptr %20, ptr %13, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 4
%24 = trunc i64 %23 to i32
%25 = call i64 @malloc(i32 noundef %24)
%26 = inttoptr i64 %25 to ptr
store ptr %26, ptr %14, align 8
store i32 0, ptr %7, align 4
%27 = load i32, ptr %7, align 4
%28 = load i32, ptr %6, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %.lr.ph8, label %141
.lr.ph8: ; preds = %3
br label %30
30: ; preds = %.lr.ph8, %135
store i32 0, ptr %9, align 4
store i32 0, ptr %10, align 4
store i32 0, ptr %11, align 4
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %5, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph5, label %127
.lr.ph5: ; preds = %30
br label %34
34: ; preds = %.lr.ph5, %123
%35 = load i32, ptr %5, align 4
%36 = sdiv i32 %35, 5
%37 = call i32 @random(i32 noundef 0, i32 noundef %36)
%38 = add nsw i32 %37, 1
store i32 %38, ptr %8, align 4
store i32 0, ptr %12, align 4
br label %39
39: ; preds = %61, %34
%40 = load i32, ptr %12, align 4
%41 = load i32, ptr %8, align 4
%42 = icmp slt i32 %40, %41
br i1 %42, label %43, label %47
43: ; preds = %39
%44 = load i32, ptr %9, align 4
%45 = load i32, ptr %5, align 4
%46 = icmp slt i32 %44, %45
br label %47
47: ; preds = %43, %39
%48 = phi i1 [ false, %39 ], [ %46, %43 ]
br i1 %48, label %49, label %64
49: ; preds = %47
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %9, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %9, align 4
%53 = sext i32 %51 to i64
%54 = getelementptr inbounds i32, ptr %50, i64 %53
%55 = load i32, ptr %54, align 4
%56 = load ptr, ptr %14, align 8
%57 = load i32, ptr %11, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %11, align 4
%59 = sext i32 %57 to i64
%60 = getelementptr inbounds i32, ptr %56, i64 %59
store i32 %55, ptr %60, align 4
br label %61
61: ; preds = %49
%62 = load i32, ptr %12, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %12, align 4
br label %39, !llvm.loop !6
64: ; preds = %47
%65 = call i32 @random(i32 noundef 0, i32 noundef 10)
%66 = icmp sge i32 %65, 1
br i1 %66, label %67, label %100
67: ; preds = %64
%68 = load i32, ptr %10, align 4
%69 = sub nsw i32 %68, 1
store i32 %69, ptr %12, align 4
%70 = load i32, ptr %12, align 4
%71 = icmp sge i32 %70, 0
br i1 %71, label %.lr.ph2, label %89
.lr.ph2: ; preds = %67
br label %72
72: ; preds = %.lr.ph2, %84
%73 = load ptr, ptr %13, align 8
%74 = load i32, ptr %12, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i32, ptr %73, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load ptr, ptr %13, align 8
%79 = load i32, ptr %12, align 4
%80 = load i32, ptr %11, align 4
%81 = add nsw i32 %79, %80
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds i32, ptr %78, i64 %82
store i32 %77, ptr %83, align 4
br label %84
84: ; preds = %72
%85 = load i32, ptr %12, align 4
%86 = add nsw i32 %85, -1
store i32 %86, ptr %12, align 4
%87 = load i32, ptr %12, align 4
%88 = icmp sge i32 %87, 0
br i1 %88, label %72, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %84
br label %89
89: ; preds = %._crit_edge3, %67
%90 = load ptr, ptr %13, align 8
%91 = load ptr, ptr %14, align 8
%92 = load i32, ptr %11, align 4
%93 = sext i32 %92 to i64
%94 = mul i64 %93, 4
%95 = trunc i64 %94 to i32
%96 = call i32 @memcpy(ptr noundef %90, ptr noundef %91, i32 noundef %95)
%97 = load i32, ptr %11, align 4
%98 = load i32, ptr %10, align 4
%99 = add nsw i32 %98, %97
store i32 %99, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %123
100: ; preds = %64
store i32 0, ptr %12, align 4
%101 = load i32, ptr %12, align 4
%102 = load i32, ptr %11, align 4
%103 = icmp slt i32 %101, %102
br i1 %103, label %.lr.ph, label %122
.lr.ph: ; preds = %100
br label %104
104: ; preds = %.lr.ph, %114
%105 = load ptr, ptr %14, align 8
%106 = load i32, ptr %12, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i32, ptr %105, i64 %107
%109 = load i32, ptr %108, align 4
%110 = load ptr, ptr %13, align 8
%111 = load i32, ptr %10, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
store i32 %109, ptr %113, align 4
br label %114
114: ; preds = %104
%115 = load i32, ptr %12, align 4
%116 = add nsw i32 %115, 1
store i32 %116, ptr %12, align 4
%117 = load i32, ptr %10, align 4
%118 = add nsw i32 %117, 1
store i32 %118, ptr %10, align 4
%119 = load i32, ptr %12, align 4
%120 = load i32, ptr %11, align 4
%121 = icmp slt i32 %119, %120
br i1 %121, label %104, label %._crit_edge, !llvm.loop !9
._crit_edge: ; preds = %114
br label %122
122: ; preds = %._crit_edge, %100
store i32 0, ptr %11, align 4
br label %123
123: ; preds = %122, %89
%124 = load i32, ptr %9, align 4
%125 = load i32, ptr %5, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %34, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %123
br label %127
127: ; preds = %._crit_edge6, %30
%128 = load ptr, ptr %4, align 8
%129 = load ptr, ptr %13, align 8
%130 = load i32, ptr %5, align 4
%131 = sext i32 %130 to i64
%132 = mul i64 %131, 4
%133 = trunc i64 %132 to i32
%134 = call i32 @memcpy(ptr noundef %128, ptr noundef %129, i32 noundef %133)
br label %135
135: ; preds = %127
%136 = load i32, ptr %7, align 4
%137 = add nsw i32 %136, 1
store i32 %137, ptr %7, align 4
%138 = load i32, ptr %7, align 4
%139 = load i32, ptr %6, align 4
%140 = icmp slt i32 %138, %139
br i1 %140, label %30, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %135
br label %141
141: ; preds = %._crit_edge9, %3
%142 = load ptr, ptr %13, align 8
%143 = call i32 @free(ptr noundef %142)
%144 = load ptr, ptr %14, align 8
%145 = call i32 @free(ptr noundef %144)
ret void
}
declare i64 @malloc(i32 noundef) #1
declare i32 @random(i32 noundef, i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmp0sr79rln.c'
source_filename = "/tmp/tmp0sr79rln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @exact_square(i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @exact_square(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/tmp0sr79rln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Enter a number: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = call i32 @exact_square(i32 noundef %5)
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @exact_square(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.