llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
|---|---|
; ModuleID = '/tmp/tmpbsazrk0n.c'
source_filename = "/tmp/tmpbsazrk0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"streamingsound <soundfile> [entnum channel attenuation]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @S_StreamingSound_f() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @Cmd_Argc()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp eq i32 %3, 2
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 @Cmd_Argv(i32 noundef 1)
%7 = call i32 @S_StartStreamingSound(i32 noundef %6, i32 noundef 0, i32 noundef -1, i32 noundef 0, i32 noundef 0)
br label %23
8: ; preds = %0
%9 = load i32, ptr %1, align 4
%10 = icmp eq i32 %9, 5
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = call i32 @Cmd_Argv(i32 noundef 1)
%13 = call i32 @Cmd_Argv(i32 noundef 2)
%14 = call i32 @atoi(i32 noundef %13)
%15 = call i32 @Cmd_Argv(i32 noundef 3)
%16 = call i32 @atoi(i32 noundef %15)
%17 = call i32 @Cmd_Argv(i32 noundef 4)
%18 = call i32 @atoi(i32 noundef %17)
%19 = call i32 @S_StartStreamingSound(i32 noundef %12, i32 noundef 0, i32 noundef %14, i32 noundef %16, i32 noundef %18)
br label %22
20: ; preds = %8
%21 = call i32 @Com_Printf(ptr noundef @.str)
br label %23
22: ; preds = %11
br label %23
23: ; preds = %20, %22, %5
ret void
}
declare i32 @Cmd_Argc(...) #1
declare i32 @S_StartStreamingSound(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @Cmd_Argv(i32 noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @Com_Printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbsazrk0n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [57 x i8] c"streamingsound <soundfile> [entnum channel attenuation]\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @S_StreamingSound_f() #0 {
%1 = alloca i32, align 4
%2 = call i32 (...) @Cmd_Argc()
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = icmp eq i32 %3, 2
br i1 %4, label %5, label %8
5: ; preds = %0
%6 = call i32 @Cmd_Argv(i32 noundef 1)
%7 = call i32 @S_StartStreamingSound(i32 noundef %6, i32 noundef 0, i32 noundef -1, i32 noundef 0, i32 noundef 0)
br label %23
8: ; preds = %0
%9 = load i32, ptr %1, align 4
%10 = icmp eq i32 %9, 5
br i1 %10, label %11, label %20
11: ; preds = %8
%12 = call i32 @Cmd_Argv(i32 noundef 1)
%13 = call i32 @Cmd_Argv(i32 noundef 2)
%14 = call i32 @atoi(i32 noundef %13)
%15 = call i32 @Cmd_Argv(i32 noundef 3)
%16 = call i32 @atoi(i32 noundef %15)
%17 = call i32 @Cmd_Argv(i32 noundef 4)
%18 = call i32 @atoi(i32 noundef %17)
%19 = call i32 @S_StartStreamingSound(i32 noundef %12, i32 noundef 0, i32 noundef %14, i32 noundef %16, i32 noundef %18)
br label %22
20: ; preds = %8
%21 = call i32 @Com_Printf(ptr noundef @.str)
br label %23
22: ; preds = %11
br label %23
23: ; preds = %22, %20, %5
ret void
}
declare i32 @Cmd_Argc(...) #1
declare i32 @S_StartStreamingSound(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @Cmd_Argv(i32 noundef) #1
declare i32 @atoi(i32 noundef) #1
declare i32 @Com_Printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcy5k4f86.c'
source_filename = "/tmp/tmpcy5k4f86.c"
target datalayout = "e-m:e-p270: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/tmpcy5k4f86.c"
target datalayout = "e-m:e-p270: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/tmpla6kzeml.c'
source_filename = "/tmp/tmpla6kzeml.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imul_hi_op_08(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
store i32 0, ptr %5, align 4
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = mul nsw i32 %7, %9
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = ashr i32 %11, 8
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpla6kzeml.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @imul_hi_op_08(i8 noundef signext %0, i8 noundef signext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
%5 = alloca i32, align 4
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
store i32 0, ptr %5, align 4
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = load i8, ptr %4, align 1
%9 = sext i8 %8 to i32
%10 = mul nsw i32 %7, %9
store i32 %10, ptr %5, align 4
%11 = load i32, ptr %5, align 4
%12 = ashr i32 %11, 8
ret i32 %12
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpiame5v15.c'
source_filename = "/tmp/tmpiame5v15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mac_hmac_md2(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%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 %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i64, ptr %10, align 8
%16 = call ptr @hmac_md2(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, i64 noundef %15)
ret ptr %16
}
declare ptr @hmac_md2(ptr noundef, ptr noundef, i64 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/tmpiame5v15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mac_hmac_md2(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3, i64 noundef %4) #0 {
%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 %6, align 8
store ptr %1, ptr %7, align 8
store i64 %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i64 %4, ptr %10, align 8
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load i64, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i64, ptr %10, align 8
%16 = call ptr @hmac_md2(ptr noundef %11, ptr noundef %12, i64 noundef %13, ptr noundef %14, i64 noundef %15)
ret ptr %16
}
declare ptr @hmac_md2(ptr noundef, ptr noundef, i64 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/tmpeczo8i63.c'
source_filename = "/tmp/tmpeczo8i63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeczo8i63.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy9mn_z70.c'
source_filename = "/tmp/tmpy9mn_z70.c"
target datalayout = "e-m:e-p270: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/tmpy9mn_z70.c"
target datalayout = "e-m:e-p270: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/tmp7y573vui.c'
source_filename = "/tmp/tmp7y573vui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Usage: makeSphereNektar <options>\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Where <options> are one or more of the following:\0A\00", align 1
@.str.2 = private unnamed_addr constant [85 x i8] c"\09<-NameFile n> Name of the output file containg the sphere (default=\22toto.xml\22)\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"\09<-Radius n> Radius of the sphere (default=1.)\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c"\09<-MaxLength n> Maximum length allowed for an edge (default=0.5)\0A\00", align 1
@.str.5 = private unnamed_addr constant [86 x i8] c"\09<-NbSubdiv n> Number of subdivisions of each edge to make it curved (default=1)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7y573vui.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [35 x i8] c"Usage: makeSphereNektar <options>\0A\00", align 1
@.str.1 = private unnamed_addr constant [51 x i8] c"Where <options> are one or more of the following:\0A\00", align 1
@.str.2 = private unnamed_addr constant [85 x i8] c"\09<-NameFile n> Name of the output file containg the sphere (default=\22toto.xml\22)\0A\00", align 1
@.str.3 = private unnamed_addr constant [54 x i8] c"\09<-Radius n> Radius of the sphere (default=1.)\0A\00", align 1
@.str.4 = private unnamed_addr constant [69 x i8] c"\09<-MaxLength n> Maximum length allowed for an edge (default=0.5)\0A\00", align 1
@.str.5 = private unnamed_addr constant [86 x i8] c"\09<-NbSubdiv n> Number of subdivisions of each edge to make it curved (default=1)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = call i32 @printf(ptr noundef @.str)
%2 = call i32 @printf(ptr noundef @.str.1)
%3 = call i32 @printf(ptr noundef @.str.2)
%4 = call i32 @printf(ptr noundef @.str.3)
%5 = call i32 @printf(ptr noundef @.str.4)
%6 = call i32 @printf(ptr noundef @.str.5)
%7 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6j6nu7ro.c'
source_filename = "/tmp/tmp6j6nu7ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = call double (...) @tic()
store double %5, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %6
6: ; preds = %17, %0
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 1000000
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = call double (...) @rand_double()
store double %10, ptr %2, align 8
%11 = load double, ptr %2, align 8
%12 = load double, ptr %2, align 8
%13 = fcmp une double %11, %12
br i1 %13, label %14, label %16
14: ; preds = %9
%15 = call i32 @printf(ptr noundef @.str)
br label %20
16: ; preds = %9
br label %17
17: ; preds = %16
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
br label %6, !llvm.loop !6
20: ; preds = %14, %6
%21 = call double (...) @tic()
%22 = load double, ptr %3, align 8
%23 = fsub double %21, %22
store double %23, ptr %1, align 8
%24 = load double, ptr %2, align 8
%25 = load double, ptr %2, align 8
%26 = fcmp une double %24, %25
br i1 %26, label %27, label %29
27: ; preds = %20
%28 = call i32 @printf(ptr noundef @.str)
br label %29
29: ; preds = %27, %20
%30 = load double, ptr %1, align 8
ret double %30
}
declare double @tic(...) #1
declare double @rand_double(...) #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/tmp6j6nu7ro.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"should not return NaN\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @benchmark() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca i32, align 4
%5 = call double (...) @tic()
store double %5, ptr %3, align 8
store i32 0, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp slt i32 %6, 1000000
br i1 %7, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %16
%9 = call double (...) @rand_double()
store double %9, ptr %2, align 8
%10 = load double, ptr %2, align 8
%11 = load double, ptr %2, align 8
%12 = fcmp une double %10, %11
br i1 %12, label %13, label %15
13: ; preds = %8
%14 = call i32 @printf(ptr noundef @.str)
br label %21
15: ; preds = %8
br label %16
16: ; preds = %15
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
%19 = load i32, ptr %4, align 4
%20 = icmp slt i32 %19, 1000000
br i1 %20, label %8, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %16
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %0
br label %21
21: ; preds = %.loopexit, %13
%22 = call double (...) @tic()
%23 = load double, ptr %3, align 8
%24 = fsub double %22, %23
store double %24, ptr %1, align 8
%25 = load double, ptr %2, align 8
%26 = load double, ptr %2, align 8
%27 = fcmp une double %25, %26
br i1 %27, label %28, label %30
28: ; preds = %21
%29 = call i32 @printf(ptr noundef @.str)
br label %30
30: ; preds = %28, %21
%31 = load double, ptr %1, align 8
ret double %31
}
declare double @tic(...) #1
declare double @rand_double(...) #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/tmpzm_0pmid.c'
source_filename = "/tmp/tmpzm_0pmid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @branchfree_search4(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca i64, align 8
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store i32 %2, ptr %13, align 4
store i32 %3, ptr %14, align 4
store i32 %4, ptr %15, align 4
store i32 %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%26 = load ptr, ptr %11, align 8
store ptr %26, ptr %21, align 8
%27 = load ptr, ptr %11, align 8
store ptr %27, ptr %22, align 8
%28 = load ptr, ptr %11, align 8
store ptr %28, ptr %23, align 8
%29 = load ptr, ptr %11, align 8
store ptr %29, ptr %24, align 8
%30 = load i64, ptr %12, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %10
br label %156
33: ; preds = %10
br label %34
34: ; preds = %94, %33
%35 = load i64, ptr %12, align 8
%36 = icmp ugt i64 %35, 1
br i1 %36, label %37, label %99
37: ; preds = %34
%38 = load i64, ptr %12, align 8
%39 = lshr i64 %38, 1
store i64 %39, ptr %25, align 8
%40 = load ptr, ptr %21, align 8
%41 = load i64, ptr %25, align 8
%42 = getelementptr inbounds i32, ptr %40, i64 %41
%43 = load i32, ptr %42, align 4
%44 = load i32, ptr %13, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %50
46: ; preds = %37
%47 = load ptr, ptr %21, align 8
%48 = load i64, ptr %25, align 8
%49 = getelementptr inbounds i32, ptr %47, i64 %48
br label %52
50: ; preds = %37
%51 = load ptr, ptr %21, align 8
br label %52
52: ; preds = %50, %46
%53 = phi ptr [ %49, %46 ], [ %51, %50 ]
store ptr %53, ptr %21, align 8
%54 = load ptr, ptr %22, align 8
%55 = load i64, ptr %25, align 8
%56 = getelementptr inbounds i32, ptr %54, i64 %55
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr %14, align 4
%59 = icmp slt i32 %57, %58
br i1 %59, label %60, label %64
60: ; preds = %52
%61 = load ptr, ptr %22, align 8
%62 = load i64, ptr %25, align 8
%63 = getelementptr inbounds i32, ptr %61, i64 %62
br label %66
64: ; preds = %52
%65 = load ptr, ptr %22, align 8
br label %66
66: ; preds = %64, %60
%67 = phi ptr [ %63, %60 ], [ %65, %64 ]
store ptr %67, ptr %22, align 8
%68 = load ptr, ptr %23, align 8
%69 = load i64, ptr %25, align 8
%70 = getelementptr inbounds i32, ptr %68, i64 %69
%71 = load i32, ptr %70, align 4
%72 = load i32, ptr %15, align 4
%73 = icmp slt i32 %71, %72
br i1 %73, label %74, label %78
74: ; preds = %66
%75 = load ptr, ptr %23, align 8
%76 = load i64, ptr %25, align 8
%77 = getelementptr inbounds i32, ptr %75, i64 %76
br label %80
78: ; preds = %66
%79 = load ptr, ptr %23, align 8
br label %80
80: ; preds = %78, %74
%81 = phi ptr [ %77, %74 ], [ %79, %78 ]
store ptr %81, ptr %23, align 8
%82 = load ptr, ptr %24, align 8
%83 = load i64, ptr %25, align 8
%84 = getelementptr inbounds i32, ptr %82, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %16, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %88, label %92
88: ; preds = %80
%89 = load ptr, ptr %24, align 8
%90 = load i64, ptr %25, align 8
%91 = getelementptr inbounds i32, ptr %89, i64 %90
br label %94
92: ; preds = %80
%93 = load ptr, ptr %24, align 8
br label %94
94: ; preds = %92, %88
%95 = phi ptr [ %91, %88 ], [ %93, %92 ]
store ptr %95, ptr %24, align 8
%96 = load i64, ptr %25, align 8
%97 = load i64, ptr %12, align 8
%98 = sub i64 %97, %96
store i64 %98, ptr %12, align 8
br label %34, !llvm.loop !6
99: ; preds = %34
%100 = load ptr, ptr %21, align 8
%101 = load i32, ptr %100, align 4
%102 = load i32, ptr %13, align 4
%103 = icmp slt i32 %101, %102
%104 = zext i1 %103 to i32
%105 = load ptr, ptr %21, align 8
%106 = sext i32 %104 to i64
%107 = getelementptr inbounds i32, ptr %105, i64 %106
%108 = load ptr, ptr %11, align 8
%109 = ptrtoint ptr %107 to i64
%110 = ptrtoint ptr %108 to i64
%111 = sub i64 %109, %110
%112 = sdiv exact i64 %111, 4
%113 = load ptr, ptr %17, align 8
store i64 %112, ptr %113, align 8
%114 = load ptr, ptr %22, align 8
%115 = load i32, ptr %114, align 4
%116 = load i32, ptr %14, align 4
%117 = icmp slt i32 %115, %116
%118 = zext i1 %117 to i32
%119 = load ptr, ptr %22, align 8
%120 = sext i32 %118 to i64
%121 = getelementptr inbounds i32, ptr %119, i64 %120
%122 = load ptr, ptr %11, align 8
%123 = ptrtoint ptr %121 to i64
%124 = ptrtoint ptr %122 to i64
%125 = sub i64 %123, %124
%126 = sdiv exact i64 %125, 4
%127 = load ptr, ptr %18, align 8
store i64 %126, ptr %127, align 8
%128 = load ptr, ptr %23, align 8
%129 = load i32, ptr %128, align 4
%130 = load i32, ptr %15, align 4
%131 = icmp slt i32 %129, %130
%132 = zext i1 %131 to i32
%133 = load ptr, ptr %23, align 8
%134 = sext i32 %132 to i64
%135 = getelementptr inbounds i32, ptr %133, i64 %134
%136 = load ptr, ptr %11, align 8
%137 = ptrtoint ptr %135 to i64
%138 = ptrtoint ptr %136 to i64
%139 = sub i64 %137, %138
%140 = sdiv exact i64 %139, 4
%141 = load ptr, ptr %19, align 8
store i64 %140, ptr %141, align 8
%142 = load ptr, ptr %24, align 8
%143 = load i32, ptr %142, align 4
%144 = load i32, ptr %16, align 4
%145 = icmp slt i32 %143, %144
%146 = zext i1 %145 to i32
%147 = load ptr, ptr %24, align 8
%148 = sext i32 %146 to i64
%149 = getelementptr inbounds i32, ptr %147, i64 %148
%150 = load ptr, ptr %11, align 8
%151 = ptrtoint ptr %149 to i64
%152 = ptrtoint ptr %150 to i64
%153 = sub i64 %151, %152
%154 = sdiv exact i64 %153, 4
%155 = load ptr, ptr %20, align 8
store i64 %154, ptr %155, align 8
br label %156
156: ; preds = %99, %32
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzm_0pmid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @branchfree_search4(ptr noundef %0, i64 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9) #0 {
%11 = alloca ptr, align 8
%12 = alloca i64, align 8
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca ptr, align 8
%18 = alloca ptr, align 8
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca ptr, align 8
%24 = alloca ptr, align 8
%25 = alloca i64, align 8
store ptr %0, ptr %11, align 8
store i64 %1, ptr %12, align 8
store i32 %2, ptr %13, align 4
store i32 %3, ptr %14, align 4
store i32 %4, ptr %15, align 4
store i32 %5, ptr %16, align 4
store ptr %6, ptr %17, align 8
store ptr %7, ptr %18, align 8
store ptr %8, ptr %19, align 8
store ptr %9, ptr %20, align 8
%26 = load ptr, ptr %11, align 8
store ptr %26, ptr %21, align 8
%27 = load ptr, ptr %11, align 8
store ptr %27, ptr %22, align 8
%28 = load ptr, ptr %11, align 8
store ptr %28, ptr %23, align 8
%29 = load ptr, ptr %11, align 8
store ptr %29, ptr %24, align 8
%30 = load i64, ptr %12, align 8
%31 = icmp eq i64 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %10
br label %157
33: ; preds = %10
%34 = load i64, ptr %12, align 8
%35 = icmp ugt i64 %34, 1
br i1 %35, label %.lr.ph, label %100
.lr.ph: ; preds = %33
br label %36
36: ; preds = %.lr.ph, %93
%37 = load i64, ptr %12, align 8
%38 = lshr i64 %37, 1
store i64 %38, ptr %25, align 8
%39 = load ptr, ptr %21, align 8
%40 = load i64, ptr %25, align 8
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4
%43 = load i32, ptr %13, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %45, label %49
45: ; preds = %36
%46 = load ptr, ptr %21, align 8
%47 = load i64, ptr %25, align 8
%48 = getelementptr inbounds i32, ptr %46, i64 %47
br label %51
49: ; preds = %36
%50 = load ptr, ptr %21, align 8
br label %51
51: ; preds = %49, %45
%52 = phi ptr [ %48, %45 ], [ %50, %49 ]
store ptr %52, ptr %21, align 8
%53 = load ptr, ptr %22, align 8
%54 = load i64, ptr %25, align 8
%55 = getelementptr inbounds i32, ptr %53, i64 %54
%56 = load i32, ptr %55, align 4
%57 = load i32, ptr %14, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %63
59: ; preds = %51
%60 = load ptr, ptr %22, align 8
%61 = load i64, ptr %25, align 8
%62 = getelementptr inbounds i32, ptr %60, i64 %61
br label %65
63: ; preds = %51
%64 = load ptr, ptr %22, align 8
br label %65
65: ; preds = %63, %59
%66 = phi ptr [ %62, %59 ], [ %64, %63 ]
store ptr %66, ptr %22, align 8
%67 = load ptr, ptr %23, align 8
%68 = load i64, ptr %25, align 8
%69 = getelementptr inbounds i32, ptr %67, i64 %68
%70 = load i32, ptr %69, align 4
%71 = load i32, ptr %15, align 4
%72 = icmp slt i32 %70, %71
br i1 %72, label %73, label %77
73: ; preds = %65
%74 = load ptr, ptr %23, align 8
%75 = load i64, ptr %25, align 8
%76 = getelementptr inbounds i32, ptr %74, i64 %75
br label %79
77: ; preds = %65
%78 = load ptr, ptr %23, align 8
br label %79
79: ; preds = %77, %73
%80 = phi ptr [ %76, %73 ], [ %78, %77 ]
store ptr %80, ptr %23, align 8
%81 = load ptr, ptr %24, align 8
%82 = load i64, ptr %25, align 8
%83 = getelementptr inbounds i32, ptr %81, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %16, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %91
87: ; preds = %79
%88 = load ptr, ptr %24, align 8
%89 = load i64, ptr %25, align 8
%90 = getelementptr inbounds i32, ptr %88, i64 %89
br label %93
91: ; preds = %79
%92 = load ptr, ptr %24, align 8
br label %93
93: ; preds = %91, %87
%94 = phi ptr [ %90, %87 ], [ %92, %91 ]
store ptr %94, ptr %24, align 8
%95 = load i64, ptr %25, align 8
%96 = load i64, ptr %12, align 8
%97 = sub i64 %96, %95
store i64 %97, ptr %12, align 8
%98 = load i64, ptr %12, align 8
%99 = icmp ugt i64 %98, 1
br i1 %99, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %93
br label %100
100: ; preds = %._crit_edge, %33
%101 = load ptr, ptr %21, align 8
%102 = load i32, ptr %101, align 4
%103 = load i32, ptr %13, align 4
%104 = icmp slt i32 %102, %103
%105 = zext i1 %104 to i32
%106 = load ptr, ptr %21, align 8
%107 = sext i32 %105 to i64
%108 = getelementptr inbounds i32, ptr %106, i64 %107
%109 = load ptr, ptr %11, align 8
%110 = ptrtoint ptr %108 to i64
%111 = ptrtoint ptr %109 to i64
%112 = sub i64 %110, %111
%113 = sdiv exact i64 %112, 4
%114 = load ptr, ptr %17, align 8
store i64 %113, ptr %114, align 8
%115 = load ptr, ptr %22, align 8
%116 = load i32, ptr %115, align 4
%117 = load i32, ptr %14, align 4
%118 = icmp slt i32 %116, %117
%119 = zext i1 %118 to i32
%120 = load ptr, ptr %22, align 8
%121 = sext i32 %119 to i64
%122 = getelementptr inbounds i32, ptr %120, i64 %121
%123 = load ptr, ptr %11, align 8
%124 = ptrtoint ptr %122 to i64
%125 = ptrtoint ptr %123 to i64
%126 = sub i64 %124, %125
%127 = sdiv exact i64 %126, 4
%128 = load ptr, ptr %18, align 8
store i64 %127, ptr %128, align 8
%129 = load ptr, ptr %23, align 8
%130 = load i32, ptr %129, align 4
%131 = load i32, ptr %15, align 4
%132 = icmp slt i32 %130, %131
%133 = zext i1 %132 to i32
%134 = load ptr, ptr %23, align 8
%135 = sext i32 %133 to i64
%136 = getelementptr inbounds i32, ptr %134, i64 %135
%137 = load ptr, ptr %11, align 8
%138 = ptrtoint ptr %136 to i64
%139 = ptrtoint ptr %137 to i64
%140 = sub i64 %138, %139
%141 = sdiv exact i64 %140, 4
%142 = load ptr, ptr %19, align 8
store i64 %141, ptr %142, align 8
%143 = load ptr, ptr %24, align 8
%144 = load i32, ptr %143, align 4
%145 = load i32, ptr %16, align 4
%146 = icmp slt i32 %144, %145
%147 = zext i1 %146 to i32
%148 = load ptr, ptr %24, align 8
%149 = sext i32 %147 to i64
%150 = getelementptr inbounds i32, ptr %148, i64 %149
%151 = load ptr, ptr %11, align 8
%152 = ptrtoint ptr %150 to i64
%153 = ptrtoint ptr %151 to i64
%154 = sub i64 %152, %153
%155 = sdiv exact i64 %154, 4
%156 = load ptr, ptr %20, align 8
store i64 %155, ptr %156, align 8
br label %157
157: ; preds = %100, %32
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp06tjcqx9.c'
source_filename = "/tmp/tmp06tjcqx9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rot13(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @xstrdup(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %78, %1
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %12, %9
%18 = phi i1 [ false, %9 ], [ %16, %12 ]
br i1 %18, label %19, label %81
19: ; preds = %17
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %71
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 91
br i1 %26, label %27, label %28
27: ; preds = %22
store i32 0, ptr %5, align 4
br label %70
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp sge i32 %31, 65
br i1 %32, label %33, label %48
33: ; preds = %28
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp sle i32 %36, 90
br i1 %37, label %38, label %48
38: ; preds = %33
%39 = load ptr, ptr %4, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 65
%43 = add nsw i32 %42, 13
%44 = srem i32 %43, 26
%45 = add nsw i32 65, %44
%46 = trunc i32 %45 to i8
%47 = load ptr, ptr %4, align 8
store i8 %46, ptr %47, align 1
br label %69
48: ; preds = %33, %28
%49 = load ptr, ptr %4, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp sge i32 %51, 97
br i1 %52, label %53, label %68
53: ; preds = %48
%54 = load ptr, ptr %4, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp sle i32 %56, 122
br i1 %57, label %58, label %68
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %61, 97
%63 = add nsw i32 %62, 13
%64 = srem i32 %63, 26
%65 = add nsw i32 97, %64
%66 = trunc i32 %65 to i8
%67 = load ptr, ptr %4, align 8
store i8 %66, ptr %67, align 1
br label %68
68: ; preds = %58, %53, %48
br label %69
69: ; preds = %68, %38
br label %70
70: ; preds = %69, %27
br label %78
71: ; preds = %19
%72 = load ptr, ptr %4, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 93
br i1 %75, label %76, label %77
76: ; preds = %71
store i32 1, ptr %5, align 4
br label %77
77: ; preds = %76, %71
br label %78
78: ; preds = %77, %70
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %4, align 8
br label %9, !llvm.loop !6
81: ; preds = %17
%82 = load ptr, ptr %3, align 8
ret ptr %82
}
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp06tjcqx9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @rot13(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @xstrdup(ptr noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
store ptr %8, ptr %4, align 8
store i32 1, ptr %5, align 4
br label %9
9: ; preds = %78, %1
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br label %17
17: ; preds = %12, %9
%18 = phi i1 [ false, %9 ], [ %16, %12 ]
br i1 %18, label %19, label %81
19: ; preds = %17
%20 = load i32, ptr %5, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %71
22: ; preds = %19
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 91
br i1 %26, label %27, label %28
27: ; preds = %22
store i32 0, ptr %5, align 4
br label %70
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
%30 = load i8, ptr %29, align 1
%31 = sext i8 %30 to i32
%32 = icmp sge i32 %31, 65
br i1 %32, label %33, label %48
33: ; preds = %28
%34 = load ptr, ptr %4, align 8
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp sle i32 %36, 90
br i1 %37, label %38, label %48
38: ; preds = %33
%39 = load ptr, ptr %4, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = sub nsw i32 %41, 65
%43 = add nsw i32 %42, 13
%44 = srem i32 %43, 26
%45 = add nsw i32 65, %44
%46 = trunc i32 %45 to i8
%47 = load ptr, ptr %4, align 8
store i8 %46, ptr %47, align 1
br label %69
48: ; preds = %33, %28
%49 = load ptr, ptr %4, align 8
%50 = load i8, ptr %49, align 1
%51 = sext i8 %50 to i32
%52 = icmp sge i32 %51, 97
br i1 %52, label %53, label %68
53: ; preds = %48
%54 = load ptr, ptr %4, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp sle i32 %56, 122
br i1 %57, label %58, label %68
58: ; preds = %53
%59 = load ptr, ptr %4, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %61, 97
%63 = add nsw i32 %62, 13
%64 = srem i32 %63, 26
%65 = add nsw i32 97, %64
%66 = trunc i32 %65 to i8
%67 = load ptr, ptr %4, align 8
store i8 %66, ptr %67, align 1
br label %68
68: ; preds = %58, %53, %48
br label %69
69: ; preds = %68, %38
br label %70
70: ; preds = %69, %27
br label %78
71: ; preds = %19
%72 = load ptr, ptr %4, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 93
br i1 %75, label %76, label %77
76: ; preds = %71
store i32 1, ptr %5, align 4
br label %77
77: ; preds = %76, %71
br label %78
78: ; preds = %77, %70
%79 = load ptr, ptr %4, align 8
%80 = getelementptr inbounds i8, ptr %79, i32 1
store ptr %80, ptr %4, align 8
br label %9, !llvm.loop !6
81: ; preds = %17
%82 = load ptr, ptr %3, align 8
ret ptr %82
}
declare ptr @xstrdup(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpkvv7dr1o.c'
source_filename = "/tmp/tmpkvv7dr1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @truncf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__nv_truncf(float noundef %3)
ret float %4
}
declare float @__nv_truncf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkvv7dr1o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong willreturn memory(none) uwtable
define dso_local float @truncf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @__nv_truncf(float noundef %3)
ret float %4
}
declare float @__nv_truncf(float noundef) #1
attributes #0 = { noinline nounwind sspstrong willreturn memory(none) uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr829g0xv.c'
source_filename = "/tmp/tmpr829g0xv.c"
target datalayout = "e-m:e-p270: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/tmpr829g0xv.c"
target datalayout = "e-m:e-p270: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/tmpx_gth9rh.c'
source_filename = "/tmp/tmpx_gth9rh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socket_udp() #0 {
%1 = load i32, ptr @PF_INET, align 4
%2 = load i32, ptr @SOCK_DGRAM, align 4
%3 = call i32 @socket(i32 noundef %1, i32 noundef %2, i32 noundef 0)
ret i32 %3
}
declare i32 @socket(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/tmpx_gth9rh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @socket_udp() #0 {
%1 = load i32, ptr @PF_INET, align 4
%2 = load i32, ptr @SOCK_DGRAM, align 4
%3 = call i32 @socket(i32 noundef %1, i32 noundef %2, i32 noundef 0)
ret i32 %3
}
declare i32 @socket(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/tmpuli9tght.c'
source_filename = "/tmp/tmpuli9tght.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAXPATHLEN = dso_local global i32 0, align 4
@MS_BIND = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuli9tght.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@MAXPATHLEN = dso_local global i32 0, align 4
@MS_BIND = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdrla2qif.c'
source_filename = "/tmp/tmpdrla2qif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"usage : <port>\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"ERROR : create_and_bind\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"ERROR : make_sokcet_non_binding\0A\00", align 1
@SOMAXCONN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"ERROR : listen\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"ERROR : fork\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"worker process started, pid = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @create_and_bind(ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = call i32 @perror(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %15
%26 = load i32, ptr %6, align 4
%27 = call i32 @make_socket_non_binding(i32 noundef %26)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = call i32 @perror(ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %25
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr @SOMAXCONN, align 4
%36 = call i32 @listen(i32 noundef %34, i32 noundef %35)
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %42
39: ; preds = %33
%40 = call i32 @perror(ptr noundef @.str.3)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %33
store i32 0, ptr %8, align 4
br label %43
43: ; preds = %63, %42
%44 = load i32, ptr %8, align 4
%45 = icmp slt i32 %44, 4
br i1 %45, label %46, label %66
46: ; preds = %43
%47 = call i64 (...) @fork()
store i64 %47, ptr %9, align 8
%48 = icmp slt i64 %47, 0
br i1 %48, label %49, label %52
49: ; preds = %46
%50 = call i32 @perror(ptr noundef @.str.4)
%51 = call i32 @exit(i32 noundef 1) #3
unreachable
52: ; preds = %46
%53 = load i64, ptr %9, align 8
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %52
%56 = load i32, ptr %6, align 4
%57 = call i32 @process_work_process(i32 noundef %56)
br label %61
58: ; preds = %52
%59 = load i64, ptr %9, align 8
%60 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %59)
br label %61
61: ; preds = %58, %55
br label %62
62: ; preds = %61
br label %63
63: ; preds = %62
%64 = load i32, ptr %8, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %8, align 4
br label %43, !llvm.loop !6
66: ; preds = %43
br label %67
67: ; preds = %70, %66
%68 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
%69 = icmp ne i64 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %67
br label %67, !llvm.loop !8
71: ; preds = %67
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @create_and_bind(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @make_socket_non_binding(i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @process_work_process(i32 noundef) #1
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdrla2qif.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"usage : <port>\0A\00", align 1
@.str.1 = private unnamed_addr constant [25 x i8] c"ERROR : create_and_bind\0A\00", align 1
@.str.2 = private unnamed_addr constant [33 x i8] c"ERROR : make_sokcet_non_binding\0A\00", align 1
@SOMAXCONN = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [16 x i8] c"ERROR : listen\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"ERROR : fork\0A\00", align 1
@.str.5 = private unnamed_addr constant [34 x i8] c"worker process started, pid = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load i32, ptr %4, align 4
%11 = icmp ne i32 %10, 2
br i1 %11, label %12, label %15
12: ; preds = %2
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%14 = call i32 @exit(i32 noundef 0) #3
unreachable
15: ; preds = %2
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 1
%18 = load ptr, ptr %17, align 8
%19 = call i32 @create_and_bind(ptr noundef %18)
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %6, align 4
%21 = icmp eq i32 %20, -1
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = call i32 @perror(ptr noundef @.str.1)
%24 = call i32 @exit(i32 noundef 1) #3
unreachable
25: ; preds = %15
%26 = load i32, ptr %6, align 4
%27 = call i32 @make_socket_non_binding(i32 noundef %26)
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %7, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %25
%31 = call i32 @perror(ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %25
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr @SOMAXCONN, align 4
%36 = call i32 @listen(i32 noundef %34, i32 noundef %35)
store i32 %36, ptr %7, align 4
%37 = load i32, ptr %7, align 4
%38 = icmp eq i32 %37, -1
br i1 %38, label %39, label %42
39: ; preds = %33
%40 = call i32 @perror(ptr noundef @.str.3)
%41 = call i32 @exit(i32 noundef 1) #3
unreachable
42: ; preds = %33
store i32 0, ptr %8, align 4
%43 = load i32, ptr %8, align 4
%44 = icmp slt i32 %43, 4
br i1 %44, label %.lr.ph, label %67
.lr.ph: ; preds = %42
br label %45
45: ; preds = %.lr.ph, %62
%46 = call i64 (...) @fork()
store i64 %46, ptr %9, align 8
%47 = icmp slt i64 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %45
%49 = call i32 @perror(ptr noundef @.str.4)
%50 = call i32 @exit(i32 noundef 1) #3
unreachable
51: ; preds = %45
%52 = load i64, ptr %9, align 8
%53 = icmp eq i64 %52, 0
br i1 %53, label %54, label %57
54: ; preds = %51
%55 = load i32, ptr %6, align 4
%56 = call i32 @process_work_process(i32 noundef %55)
br label %60
57: ; preds = %51
%58 = load i64, ptr %9, align 8
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i64 noundef %58)
br label %60
60: ; preds = %57, %54
br label %61
61: ; preds = %60
br label %62
62: ; preds = %61
%63 = load i32, ptr %8, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %8, align 4
%65 = load i32, ptr %8, align 4
%66 = icmp slt i32 %65, 4
br i1 %66, label %45, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %67
67: ; preds = %._crit_edge, %42
br label %68
68: ; preds = %68, %67
%69 = call i64 @waitpid(i32 noundef -1, ptr noundef null, i32 noundef 0)
%70 = icmp ne i64 %69, 0
br i1 %70, label %68, label %71, !llvm.loop !8
71: ; preds = %68
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @create_and_bind(ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @make_socket_non_binding(i32 noundef) #1
declare i32 @listen(i32 noundef, i32 noundef) #1
declare i64 @fork(...) #1
declare i32 @process_work_process(i32 noundef) #1
declare i64 @waitpid(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmplsfu3j5d.c'
source_filename = "/tmp/tmplsfu3j5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"groups\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Unknown command\0AUse help merge\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @terminal_stark_hierarchical_assembler_test_and_merge_groups(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %6, align 4
%9 = icmp sge i32 %8, 1
br i1 %9, label %10, label %22
10: ; preds = %3
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %22, label %15
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = call i32 @terminal_stark_hierarchical_assembler_test_and_merge_groups_alias(ptr noundef %16, i32 noundef %18, ptr noundef %20)
store i32 %21, ptr %4, align 4
br label %24
22: ; preds = %10, %3
%23 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %24
24: ; preds = %22, %15
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @terminal_stark_hierarchical_assembler_test_and_merge_groups_alias(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsfu3j5d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"groups\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"Unknown command\0AUse help merge\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @terminal_stark_hierarchical_assembler_test_and_merge_groups(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store ptr %2, ptr %7, align 8
%8 = load i32, ptr %6, align 4
%9 = icmp sge i32 %8, 1
br i1 %9, label %10, label %22
10: ; preds = %3
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %11, align 8
%13 = call i32 @strcmp(ptr noundef %12, ptr noundef @.str)
%14 = icmp ne i32 %13, 0
br i1 %14, label %22, label %15
15: ; preds = %10
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = load ptr, ptr %7, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = call i32 @terminal_stark_hierarchical_assembler_test_and_merge_groups_alias(ptr noundef %16, i32 noundef %18, ptr noundef %20)
store i32 %21, ptr %4, align 4
br label %24
22: ; preds = %10, %3
%23 = call i32 @printf(ptr noundef @.str.1)
store i32 -1, ptr %4, align 4
br label %24
24: ; preds = %22, %15
%25 = load i32, ptr %4, align 4
ret i32 %25
}
declare i32 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @terminal_stark_hierarchical_assembler_test_and_merge_groups_alias(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy9blwqu1.c'
source_filename = "/tmp/tmpy9blwqu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_BLEND = dso_local global i32 0, align 4
@GL_SRC_ALPHA = dso_local global i32 0, align 4
@GL_ONE_MINUS_SRC_ALPHA = dso_local global i32 0, align 4
@GL_PROJECTION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_window() #0 {
%1 = load i32, ptr @GL_BLEND, align 4
%2 = call i32 @glEnable(i32 noundef %1)
%3 = load i32, ptr @GL_SRC_ALPHA, align 4
%4 = load i32, ptr @GL_ONE_MINUS_SRC_ALPHA, align 4
%5 = call i32 @glBlendFunc(i32 noundef %3, i32 noundef %4)
%6 = call i32 @glClearColor(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%7 = load i32, ptr @GL_PROJECTION, align 4
%8 = call i32 @glMatrixMode(i32 noundef %7)
%9 = call i32 (...) @glLoadIdentity()
%10 = call i32 @gluOrtho2D(double noundef 0.000000e+00, i32 noundef 500, i32 noundef 600, double noundef 0.000000e+00)
ret void
}
declare i32 @glEnable(i32 noundef) #1
declare i32 @glBlendFunc(i32 noundef, i32 noundef) #1
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluOrtho2D(double noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy9blwqu1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_BLEND = dso_local global i32 0, align 4
@GL_SRC_ALPHA = dso_local global i32 0, align 4
@GL_ONE_MINUS_SRC_ALPHA = dso_local global i32 0, align 4
@GL_PROJECTION = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_window() #0 {
%1 = load i32, ptr @GL_BLEND, align 4
%2 = call i32 @glEnable(i32 noundef %1)
%3 = load i32, ptr @GL_SRC_ALPHA, align 4
%4 = load i32, ptr @GL_ONE_MINUS_SRC_ALPHA, align 4
%5 = call i32 @glBlendFunc(i32 noundef %3, i32 noundef %4)
%6 = call i32 @glClearColor(double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 1.000000e+00, double noundef 0.000000e+00)
%7 = load i32, ptr @GL_PROJECTION, align 4
%8 = call i32 @glMatrixMode(i32 noundef %7)
%9 = call i32 (...) @glLoadIdentity()
%10 = call i32 @gluOrtho2D(double noundef 0.000000e+00, i32 noundef 500, i32 noundef 600, double noundef 0.000000e+00)
ret void
}
declare i32 @glEnable(i32 noundef) #1
declare i32 @glBlendFunc(i32 noundef, i32 noundef) #1
declare i32 @glClearColor(double noundef, double noundef, double noundef, double noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluOrtho2D(double noundef, i32 noundef, i32 noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgvjqlfnw.c'
source_filename = "/tmp/tmpgvjqlfnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sleep %.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Dormi(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [10 x i8], align 1
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = sitofp i32 %5 to double
%7 = fdiv double %6, 1.000000e+03
%8 = fptosi double %7 to i32
%9 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @system(ptr noundef %10)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgvjqlfnw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"sleep %.2f\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Dormi(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [10 x i8], align 1
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%5 = load i32, ptr %2, align 4
%6 = sitofp i32 %5 to double
%7 = fdiv double %6, 1.000000e+03
%8 = fptosi double %7 to i32
%9 = call i32 @sprintf(ptr noundef %4, ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [10 x i8], ptr %3, i64 0, i64 0
%11 = call i32 @system(ptr noundef %10)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpdjs67_4e.c'
source_filename = "/tmp/tmpdjs67_4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @rect_dist(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %11, %12
%14 = sitofp i32 %13 to float
store float %14, ptr %10, align 4
%15 = load float, ptr %10, align 4
%16 = load float, ptr %10, align 4
%17 = fmul float %15, %16
store float %17, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %18, %19
%21 = sitofp i32 %20 to float
store float %21, ptr %10, align 4
%22 = load float, ptr %10, align 4
%23 = load float, ptr %10, align 4
%24 = load float, ptr %9, align 4
%25 = call float @llvm.fmuladd.f32(float %22, float %23, float %24)
store float %25, ptr %9, align 4
%26 = load float, ptr %9, align 4
%27 = fpext float %26 to double
%28 = call i64 @sqrt(double noundef %27)
%29 = sitofp i64 %28 to float
store float %29, ptr %9, align 4
%30 = load float, ptr %9, align 4
ret float %30
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare i64 @sqrt(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 = { 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/tmpdjs67_4e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local float @rect_dist(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %7, align 4
%13 = sub nsw i32 %11, %12
%14 = sitofp i32 %13 to float
store float %14, ptr %10, align 4
%15 = load float, ptr %10, align 4
%16 = load float, ptr %10, align 4
%17 = fmul float %15, %16
store float %17, ptr %9, align 4
%18 = load i32, ptr %6, align 4
%19 = load i32, ptr %8, align 4
%20 = sub nsw i32 %18, %19
%21 = sitofp i32 %20 to float
store float %21, ptr %10, align 4
%22 = load float, ptr %10, align 4
%23 = load float, ptr %10, align 4
%24 = load float, ptr %9, align 4
%25 = call float @llvm.fmuladd.f32(float %22, float %23, float %24)
store float %25, ptr %9, align 4
%26 = load float, ptr %9, align 4
%27 = fpext float %26 to double
%28 = call i64 @sqrt(double noundef %27)
%29 = sitofp i64 %28 to float
store float %29, ptr %9, align 4
%30 = load float, ptr %9, align 4
ret float %30
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1
declare i64 @sqrt(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 = { 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/tmpvgfmh93w.c'
source_filename = "/tmp/tmpvgfmh93w.c"
target datalayout = "e-m:e-p270: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/tmpvgfmh93w.c"
target datalayout = "e-m:e-p270: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/tmpiyw2zfvk.c'
source_filename = "/tmp/tmpiyw2zfvk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INET6_ADDRSTRLEN = dso_local global i32 0, align 4
@INET_ADDRSTRLEN = dso_local global i32 0, align 4
@MAX_GATEWAY_SIZE = dso_local global i32 0, align 4
@MAX_IP_ADDR_SIZE = 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/tmpiyw2zfvk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INET6_ADDRSTRLEN = dso_local global i32 0, align 4
@INET_ADDRSTRLEN = dso_local global i32 0, align 4
@MAX_GATEWAY_SIZE = dso_local global i32 0, align 4
@MAX_IP_ADDR_SIZE = 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/tmpjjtsh1g0.c'
source_filename = "/tmp/tmpjjtsh1g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Own pid: %d, parent pid: %d, fork returned: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_pids(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @getpid()
%4 = call i32 (...) @getppid()
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjjtsh1g0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [48 x i8] c"Own pid: %d, parent pid: %d, fork returned: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_pids(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @getpid()
%4 = call i32 (...) @getppid()
%5 = load i32, ptr %2, align 4
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4, i32 noundef %5)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i32 @getppid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprdvcljcu.c'
source_filename = "/tmp/tmprdvcljcu.c"
target datalayout = "e-m:e-p270: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/tmprdvcljcu.c"
target datalayout = "e-m:e-p270: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/tmp6buo_vf0.c'
source_filename = "/tmp/tmp6buo_vf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WNOHANG = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Script: [%d] exited\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_script(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca [30 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %6, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = load i64, ptr %10, align 8
%12 = load i32, ptr @WNOHANG, align 4
%13 = call i64 @waitpid(i64 noundef %11, ptr noundef %3, i32 noundef %12)
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %4, align 8
%15 = load ptr, ptr %2, align 8
%16 = load i64, ptr %15, align 8
%17 = icmp eq i64 %14, %16
br i1 %17, label %18, label %26
18: ; preds = %9
%19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%20 = load ptr, ptr %2, align 8
%21 = load i64, ptr %20, align 8
%22 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, i64 noundef %21)
%23 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%24 = call i32 @do_log(ptr noundef %23)
%25 = load ptr, ptr %2, align 8
store i64 0, ptr %25, align 8
br label %26
26: ; preds = %18, %9
br label %27
27: ; preds = %26, %1
ret void
}
declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @do_log(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6buo_vf0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@WNOHANG = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [20 x i8] c"Script: [%d] exited\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @check_script(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
%5 = alloca [30 x i8], align 16
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load i64, ptr %6, align 8
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %27
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = load i64, ptr %10, align 8
%12 = load i32, ptr @WNOHANG, align 4
%13 = call i64 @waitpid(i64 noundef %11, ptr noundef %3, i32 noundef %12)
store i64 %13, ptr %4, align 8
%14 = load i64, ptr %4, align 8
%15 = load ptr, ptr %2, align 8
%16 = load i64, ptr %15, align 8
%17 = icmp eq i64 %14, %16
br i1 %17, label %18, label %26
18: ; preds = %9
%19 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%20 = load ptr, ptr %2, align 8
%21 = load i64, ptr %20, align 8
%22 = call i32 @sprintf(ptr noundef %19, ptr noundef @.str, i64 noundef %21)
%23 = getelementptr inbounds [30 x i8], ptr %5, i64 0, i64 0
%24 = call i32 @do_log(ptr noundef %23)
%25 = load ptr, ptr %2, align 8
store i64 0, ptr %25, align 8
br label %26
26: ; preds = %18, %9
br label %27
27: ; preds = %26, %1
ret void
}
declare i64 @waitpid(i64 noundef, ptr noundef, i32 noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i64 noundef) #1
declare i32 @do_log(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpe1fbritp.c'
source_filename = "/tmp/tmpe1fbritp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"0x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putbase(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp uge i32 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = udiv i32 %10, %11
%13 = load i32, ptr %4, align 4
call void @ft_putbase(i32 noundef %12, i32 noundef %13)
br label %26
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 8
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @ft_putchar(i32 noundef 48)
br label %25
19: ; preds = %14
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 16
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @ft_putstr(ptr noundef @.str)
br label %24
24: ; preds = %22, %19
br label %25
25: ; preds = %24, %17
br label %26
26: ; preds = %25, %9
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = urem i32 %27, %28
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp ule i32 %30, 9
br i1 %31, label %32, label %36
32: ; preds = %26
%33 = load i32, ptr %5, align 4
%34 = add i32 %33, 48
%35 = call i32 @ft_putchar(i32 noundef %34)
br label %48
36: ; preds = %26
%37 = load i32, ptr %5, align 4
%38 = icmp ugt i32 %37, 9
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load i32, ptr %5, align 4
%41 = icmp ule i32 %40, 35
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = add i32 %43, 65
%45 = sub i32 %44, 10
%46 = call i32 @ft_putchar(i32 noundef %45)
br label %47
47: ; preds = %42, %39, %36
br label %48
48: ; preds = %47, %32
ret void
}
declare i32 @ft_putchar(i32 noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe1fbritp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"0x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_putbase(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp uge i32 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = udiv i32 %10, %11
%13 = load i32, ptr %4, align 4
call void @ft_putbase(i32 noundef %12, i32 noundef %13)
br label %26
14: ; preds = %2
%15 = load i32, ptr %4, align 4
%16 = icmp eq i32 %15, 8
br i1 %16, label %17, label %19
17: ; preds = %14
%18 = call i32 @ft_putchar(i32 noundef 48)
br label %25
19: ; preds = %14
%20 = load i32, ptr %4, align 4
%21 = icmp eq i32 %20, 16
br i1 %21, label %22, label %24
22: ; preds = %19
%23 = call i32 @ft_putstr(ptr noundef @.str)
br label %24
24: ; preds = %22, %19
br label %25
25: ; preds = %24, %17
br label %26
26: ; preds = %25, %9
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %4, align 4
%29 = urem i32 %27, %28
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = icmp ule i32 %30, 9
br i1 %31, label %32, label %36
32: ; preds = %26
%33 = load i32, ptr %5, align 4
%34 = add i32 %33, 48
%35 = call i32 @ft_putchar(i32 noundef %34)
br label %48
36: ; preds = %26
%37 = load i32, ptr %5, align 4
%38 = icmp ugt i32 %37, 9
br i1 %38, label %39, label %47
39: ; preds = %36
%40 = load i32, ptr %5, align 4
%41 = icmp ule i32 %40, 35
br i1 %41, label %42, label %47
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = add i32 %43, 65
%45 = sub i32 %44, 10
%46 = call i32 @ft_putchar(i32 noundef %45)
br label %47
47: ; preds = %42, %39, %36
br label %48
48: ; preds = %47, %32
ret void
}
declare i32 @ft_putchar(i32 noundef) #1
declare i32 @ft_putstr(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqvy52rme.c'
source_filename = "/tmp/tmpqvy52rme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"hey i am PrefixToPostfix\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrefixToPostfix() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqvy52rme.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"hey i am PrefixToPostfix\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @PrefixToPostfix() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3pk0ctrl.c'
source_filename = "/tmp/tmp3pk0ctrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mypaint_init() #0 {
%1 = call i32 (...) @ensure_max_threads_not_exceeded()
ret void
}
declare i32 @ensure_max_threads_not_exceeded(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3pk0ctrl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mypaint_init() #0 {
%1 = call i32 (...) @ensure_max_threads_not_exceeded()
ret void
}
declare i32 @ensure_max_threads_not_exceeded(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7fn81kou.c'
source_filename = "/tmp/tmp7fn81kou.c"
target datalayout = "e-m:e-p270: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/tmp7fn81kou.c"
target datalayout = "e-m:e-p270: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/tmp5w9bamyk.c'
source_filename = "/tmp/tmp5w9bamyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Please enter the starting year: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Please enter the starting month: \00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"Please enter the starting day: \00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Please enter the ending month: \00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"Please enter the ending day: \00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"There are %d days until that date.\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"That date has already passed.\0A\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"It was %d days ago.\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"The entered dates are the same.\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 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %10
10: ; preds = %18, %0
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 12
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 1
br label %16
16: ; preds = %13, %10
%17 = phi i1 [ true, %10 ], [ %15, %13 ]
br i1 %17, label %18, label %21
18: ; preds = %16
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %10, !llvm.loop !6
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %42, label %24
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 3
br i1 %26, label %42, label %27
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 5
br i1 %29, label %42, label %30
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 7
br i1 %32, label %42, label %33
33: ; preds = %30
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, 8
br i1 %35, label %42, label %36
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 10
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %40, 12
br i1 %41, label %42, label %43
42: ; preds = %39, %36, %33, %30, %27, %24, %21
store i32 31, ptr %7, align 4
br label %43
43: ; preds = %42, %39
%44 = load i32, ptr %2, align 4
%45 = icmp eq i32 %44, 4
br i1 %45, label %55, label %46
46: ; preds = %43
%47 = load i32, ptr %2, align 4
%48 = icmp eq i32 %47, 6
br i1 %48, label %55, label %49
49: ; preds = %46
%50 = load i32, ptr %2, align 4
%51 = icmp eq i32 %50, 9
br i1 %51, label %55, label %52
52: ; preds = %49
%53 = load i32, ptr %2, align 4
%54 = icmp eq i32 %53, 11
br i1 %54, label %55, label %56
55: ; preds = %52, %49, %46, %43
store i32 30, ptr %7, align 4
br label %56
56: ; preds = %55, %52
%57 = load i32, ptr %2, align 4
%58 = icmp eq i32 %57, 2
br i1 %58, label %59, label %66
59: ; preds = %56
%60 = load i32, ptr %3, align 4
%61 = srem i32 %60, 4
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %59
store i32 29, ptr %7, align 4
br label %65
64: ; preds = %59
store i32 28, ptr %7, align 4
br label %65
65: ; preds = %64, %63
br label %66
66: ; preds = %65, %56
br label %67
67: ; preds = %76, %66
%68 = load i32, ptr %1, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp sgt i32 %68, %69
br i1 %70, label %74, label %71
71: ; preds = %67
%72 = load i32, ptr %1, align 4
%73 = icmp slt i32 %72, 1
br label %74
74: ; preds = %71, %67
%75 = phi i1 [ true, %67 ], [ %73, %71 ]
br i1 %75, label %76, label %79
76: ; preds = %74
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%78 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %67, !llvm.loop !8
79: ; preds = %74
br label %80
80: ; preds = %88, %79
%81 = load i32, ptr %5, align 4
%82 = icmp sgt i32 %81, 12
br i1 %82, label %86, label %83
83: ; preds = %80
%84 = load i32, ptr %5, align 4
%85 = icmp slt i32 %84, 1
br label %86
86: ; preds = %83, %80
%87 = phi i1 [ true, %80 ], [ %85, %83 ]
br i1 %87, label %88, label %91
88: ; preds = %86
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%90 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
br label %80, !llvm.loop !9
91: ; preds = %86
%92 = load i32, ptr %5, align 4
%93 = icmp eq i32 %92, 1
br i1 %93, label %112, label %94
94: ; preds = %91
%95 = load i32, ptr %5, align 4
%96 = icmp eq i32 %95, 3
br i1 %96, label %112, label %97
97: ; preds = %94
%98 = load i32, ptr %5, align 4
%99 = icmp eq i32 %98, 5
br i1 %99, label %112, label %100
100: ; preds = %97
%101 = load i32, ptr %5, align 4
%102 = icmp eq i32 %101, 7
br i1 %102, label %112, label %103
103: ; preds = %100
%104 = load i32, ptr %5, align 4
%105 = icmp eq i32 %104, 8
br i1 %105, label %112, label %106
106: ; preds = %103
%107 = load i32, ptr %5, align 4
%108 = icmp eq i32 %107, 10
br i1 %108, label %112, label %109
109: ; preds = %106
%110 = load i32, ptr %5, align 4
%111 = icmp eq i32 %110, 12
br i1 %111, label %112, label %113
112: ; preds = %109, %106, %103, %100, %97, %94, %91
store i32 31, ptr %7, align 4
br label %113
113: ; preds = %112, %109
%114 = load i32, ptr %5, align 4
%115 = icmp eq i32 %114, 4
br i1 %115, label %125, label %116
116: ; preds = %113
%117 = load i32, ptr %5, align 4
%118 = icmp eq i32 %117, 6
br i1 %118, label %125, label %119
119: ; preds = %116
%120 = load i32, ptr %5, align 4
%121 = icmp eq i32 %120, 9
br i1 %121, label %125, label %122
122: ; preds = %119
%123 = load i32, ptr %5, align 4
%124 = icmp eq i32 %123, 11
br i1 %124, label %125, label %126
125: ; preds = %122, %119, %116, %113
store i32 30, ptr %7, align 4
br label %126
126: ; preds = %125, %122
%127 = load i32, ptr %5, align 4
%128 = icmp eq i32 %127, 2
br i1 %128, label %129, label %136
129: ; preds = %126
%130 = load i32, ptr %3, align 4
%131 = srem i32 %130, 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %129
store i32 29, ptr %7, align 4
br label %135
134: ; preds = %129
store i32 28, ptr %7, align 4
br label %135
135: ; preds = %134, %133
br label %136
136: ; preds = %135, %126
br label %137
137: ; preds = %146, %136
%138 = load i32, ptr %4, align 4
%139 = load i32, ptr %7, align 4
%140 = icmp sgt i32 %138, %139
br i1 %140, label %144, label %141
141: ; preds = %137
%142 = load i32, ptr %4, align 4
%143 = icmp slt i32 %142, 1
br label %144
144: ; preds = %141, %137
%145 = phi i1 [ true, %137 ], [ %143, %141 ]
br i1 %145, label %146, label %149
146: ; preds = %144
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%148 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %137, !llvm.loop !10
149: ; preds = %144
%150 = load i32, ptr %2, align 4
%151 = load i32, ptr %5, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %161, label %153
153: ; preds = %149
%154 = load i32, ptr %2, align 4
%155 = load i32, ptr %5, align 4
%156 = icmp eq i32 %154, %155
br i1 %156, label %157, label %233
157: ; preds = %153
%158 = load i32, ptr %1, align 4
%159 = load i32, ptr %4, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %161, label %233
161: ; preds = %157, %149
br label %162
162: ; preds = %219, %161
%163 = load i32, ptr %2, align 4
%164 = load i32, ptr %5, align 4
%165 = icmp ne i32 %163, %164
br i1 %165, label %166, label %222
166: ; preds = %162
%167 = load i32, ptr %2, align 4
%168 = icmp eq i32 %167, 1
br i1 %168, label %187, label %169
169: ; preds = %166
%170 = load i32, ptr %2, align 4
%171 = icmp eq i32 %170, 3
br i1 %171, label %187, label %172
172: ; preds = %169
%173 = load i32, ptr %2, align 4
%174 = icmp eq i32 %173, 5
br i1 %174, label %187, label %175
175: ; preds = %172
%176 = load i32, ptr %2, align 4
%177 = icmp eq i32 %176, 7
br i1 %177, label %187, label %178
178: ; preds = %175
%179 = load i32, ptr %2, align 4
%180 = icmp eq i32 %179, 8
br i1 %180, label %187, label %181
181: ; preds = %178
%182 = load i32, ptr %2, align 4
%183 = icmp eq i32 %182, 10
br i1 %183, label %187, label %184
184: ; preds = %181
%185 = load i32, ptr %2, align 4
%186 = icmp eq i32 %185, 12
br i1 %186, label %187, label %190
187: ; preds = %184, %181, %178, %175, %172, %169, %166
%188 = load i32, ptr %6, align 4
%189 = add nsw i32 %188, 31
store i32 %189, ptr %6, align 4
br label %190
190: ; preds = %187, %184
%191 = load i32, ptr %2, align 4
%192 = icmp eq i32 %191, 4
br i1 %192, label %202, label %193
193: ; preds = %190
%194 = load i32, ptr %2, align 4
%195 = icmp eq i32 %194, 6
br i1 %195, label %202, label %196
196: ; preds = %193
%197 = load i32, ptr %2, align 4
%198 = icmp eq i32 %197, 9
br i1 %198, label %202, label %199
199: ; preds = %196
%200 = load i32, ptr %2, align 4
%201 = icmp eq i32 %200, 11
br i1 %201, label %202, label %205
202: ; preds = %199, %196, %193, %190
%203 = load i32, ptr %6, align 4
%204 = add nsw i32 %203, 30
store i32 %204, ptr %6, align 4
br label %205
205: ; preds = %202, %199
%206 = load i32, ptr %2, align 4
%207 = icmp eq i32 %206, 2
br i1 %207, label %208, label %219
208: ; preds = %205
%209 = load i32, ptr %3, align 4
%210 = srem i32 %209, 4
%211 = icmp eq i32 %210, 0
br i1 %211, label %212, label %215
212: ; preds = %208
%213 = load i32, ptr %6, align 4
%214 = add nsw i32 %213, 29
store i32 %214, ptr %6, align 4
br label %218
215: ; preds = %208
%216 = load i32, ptr %6, align 4
%217 = add nsw i32 %216, 28
store i32 %217, ptr %6, align 4
br label %218
218: ; preds = %215, %212
br label %219
219: ; preds = %218, %205
%220 = load i32, ptr %2, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %2, align 4
br label %162, !llvm.loop !11
222: ; preds = %162
%223 = load i32, ptr %2, align 4
%224 = load i32, ptr %5, align 4
%225 = icmp eq i32 %223, %224
br i1 %225, label %226, label %232
226: ; preds = %222
%227 = load i32, ptr %4, align 4
%228 = load i32, ptr %1, align 4
%229 = sub nsw i32 %227, %228
%230 = load i32, ptr %6, align 4
%231 = add nsw i32 %230, %229
store i32 %231, ptr %6, align 4
br label %232
232: ; preds = %226, %222
br label %305
233: ; preds = %157, %153
br label %234
234: ; preds = %291, %233
%235 = load i32, ptr %5, align 4
%236 = load i32, ptr %2, align 4
%237 = icmp ne i32 %235, %236
br i1 %237, label %238, label %294
238: ; preds = %234
%239 = load i32, ptr %5, align 4
%240 = icmp eq i32 %239, 1
br i1 %240, label %259, label %241
241: ; preds = %238
%242 = load i32, ptr %5, align 4
%243 = icmp eq i32 %242, 3
br i1 %243, label %259, label %244
244: ; preds = %241
%245 = load i32, ptr %5, align 4
%246 = icmp eq i32 %245, 5
br i1 %246, label %259, label %247
247: ; preds = %244
%248 = load i32, ptr %5, align 4
%249 = icmp eq i32 %248, 7
br i1 %249, label %259, label %250
250: ; preds = %247
%251 = load i32, ptr %5, align 4
%252 = icmp eq i32 %251, 8
br i1 %252, label %259, label %253
253: ; preds = %250
%254 = load i32, ptr %5, align 4
%255 = icmp eq i32 %254, 10
br i1 %255, label %259, label %256
256: ; preds = %253
%257 = load i32, ptr %5, align 4
%258 = icmp eq i32 %257, 12
br i1 %258, label %259, label %262
259: ; preds = %256, %253, %250, %247, %244, %241, %238
%260 = load i32, ptr %6, align 4
%261 = sub nsw i32 %260, 31
store i32 %261, ptr %6, align 4
br label %262
262: ; preds = %259, %256
%263 = load i32, ptr %5, align 4
%264 = icmp eq i32 %263, 4
br i1 %264, label %274, label %265
265: ; preds = %262
%266 = load i32, ptr %5, align 4
%267 = icmp eq i32 %266, 6
br i1 %267, label %274, label %268
268: ; preds = %265
%269 = load i32, ptr %5, align 4
%270 = icmp eq i32 %269, 9
br i1 %270, label %274, label %271
271: ; preds = %268
%272 = load i32, ptr %5, align 4
%273 = icmp eq i32 %272, 11
br i1 %273, label %274, label %277
274: ; preds = %271, %268, %265, %262
%275 = load i32, ptr %6, align 4
%276 = sub nsw i32 %275, 30
store i32 %276, ptr %6, align 4
br label %277
277: ; preds = %274, %271
%278 = load i32, ptr %5, align 4
%279 = icmp eq i32 %278, 2
br i1 %279, label %280, label %291
280: ; preds = %277
%281 = load i32, ptr %3, align 4
%282 = srem i32 %281, 4
%283 = icmp eq i32 %282, 0
br i1 %283, label %284, label %287
284: ; preds = %280
%285 = load i32, ptr %6, align 4
%286 = sub nsw i32 %285, 29
store i32 %286, ptr %6, align 4
br label %290
287: ; preds = %280
%288 = load i32, ptr %6, align 4
%289 = sub nsw i32 %288, 28
store i32 %289, ptr %6, align 4
br label %290
290: ; preds = %287, %284
br label %291
291: ; preds = %290, %277
%292 = load i32, ptr %5, align 4
%293 = add nsw i32 %292, 1
store i32 %293, ptr %5, align 4
br label %234, !llvm.loop !12
294: ; preds = %234
%295 = load i32, ptr %2, align 4
%296 = load i32, ptr %5, align 4
%297 = icmp eq i32 %295, %296
br i1 %297, label %298, label %304
298: ; preds = %294
%299 = load i32, ptr %4, align 4
%300 = load i32, ptr %1, align 4
%301 = sub nsw i32 %299, %300
%302 = load i32, ptr %6, align 4
%303 = add nsw i32 %302, %301
store i32 %303, ptr %6, align 4
br label %304
304: ; preds = %298, %294
br label %305
305: ; preds = %304, %232
%306 = load i32, ptr %6, align 4
%307 = icmp sgt i32 %306, 0
br i1 %307, label %308, label %311
308: ; preds = %305
%309 = load i32, ptr %6, align 4
%310 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %309)
br label %327
311: ; preds = %305
%312 = load i32, ptr %6, align 4
%313 = icmp slt i32 %312, 0
br i1 %313, label %314, label %320
314: ; preds = %311
%315 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%316 = load i32, ptr %6, align 4
%317 = mul nsw i32 %316, -1
store i32 %317, ptr %6, align 4
%318 = load i32, ptr %6, align 4
%319 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %318)
br label %326
320: ; preds = %311
%321 = load i32, ptr %6, align 4
%322 = icmp eq i32 %321, 0
br i1 %322, label %323, label %325
323: ; preds = %320
%324 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %325
325: ; preds = %323, %320
br label %326
326: ; preds = %325, %314
br label %327
327: ; preds = %326, %308
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5w9bamyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Please enter the starting year: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [34 x i8] c"Please enter the starting month: \00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"Please enter the starting day: \00", align 1
@.str.4 = private unnamed_addr constant [32 x i8] c"Please enter the ending month: \00", align 1
@.str.5 = private unnamed_addr constant [30 x i8] c"Please enter the ending day: \00", align 1
@.str.6 = private unnamed_addr constant [35 x i8] c"There are %d days until that date.\00", align 1
@.str.7 = private unnamed_addr constant [31 x i8] c"That date has already passed.\0A\00", align 1
@.str.8 = private unnamed_addr constant [20 x i8] c"It was %d days ago.\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"The entered dates are the same.\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 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
br label %10
10: ; preds = %18, %0
%11 = load i32, ptr %2, align 4
%12 = icmp sgt i32 %11, 12
br i1 %12, label %16, label %13
13: ; preds = %10
%14 = load i32, ptr %2, align 4
%15 = icmp slt i32 %14, 1
br label %16
16: ; preds = %13, %10
%17 = phi i1 [ true, %10 ], [ %15, %13 ]
br i1 %17, label %18, label %21
18: ; preds = %16
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
br label %10, !llvm.loop !6
21: ; preds = %16
%22 = load i32, ptr %2, align 4
%23 = icmp eq i32 %22, 1
br i1 %23, label %42, label %24
24: ; preds = %21
%25 = load i32, ptr %2, align 4
%26 = icmp eq i32 %25, 3
br i1 %26, label %42, label %27
27: ; preds = %24
%28 = load i32, ptr %2, align 4
%29 = icmp eq i32 %28, 5
br i1 %29, label %42, label %30
30: ; preds = %27
%31 = load i32, ptr %2, align 4
%32 = icmp eq i32 %31, 7
br i1 %32, label %42, label %33
33: ; preds = %30
%34 = load i32, ptr %2, align 4
%35 = icmp eq i32 %34, 8
br i1 %35, label %42, label %36
36: ; preds = %33
%37 = load i32, ptr %2, align 4
%38 = icmp eq i32 %37, 10
br i1 %38, label %42, label %39
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = icmp eq i32 %40, 12
br i1 %41, label %42, label %43
42: ; preds = %39, %36, %33, %30, %27, %24, %21
store i32 31, ptr %7, align 4
br label %43
43: ; preds = %42, %39
%44 = load i32, ptr %2, align 4
%45 = icmp eq i32 %44, 4
br i1 %45, label %55, label %46
46: ; preds = %43
%47 = load i32, ptr %2, align 4
%48 = icmp eq i32 %47, 6
br i1 %48, label %55, label %49
49: ; preds = %46
%50 = load i32, ptr %2, align 4
%51 = icmp eq i32 %50, 9
br i1 %51, label %55, label %52
52: ; preds = %49
%53 = load i32, ptr %2, align 4
%54 = icmp eq i32 %53, 11
br i1 %54, label %55, label %56
55: ; preds = %52, %49, %46, %43
store i32 30, ptr %7, align 4
br label %56
56: ; preds = %55, %52
%57 = load i32, ptr %2, align 4
%58 = icmp eq i32 %57, 2
br i1 %58, label %59, label %66
59: ; preds = %56
%60 = load i32, ptr %3, align 4
%61 = srem i32 %60, 4
%62 = icmp eq i32 %61, 0
br i1 %62, label %63, label %64
63: ; preds = %59
store i32 29, ptr %7, align 4
br label %65
64: ; preds = %59
store i32 28, ptr %7, align 4
br label %65
65: ; preds = %64, %63
br label %66
66: ; preds = %65, %56
br label %67
67: ; preds = %76, %66
%68 = load i32, ptr %1, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp sgt i32 %68, %69
br i1 %70, label %74, label %71
71: ; preds = %67
%72 = load i32, ptr %1, align 4
%73 = icmp slt i32 %72, 1
br label %74
74: ; preds = %71, %67
%75 = phi i1 [ true, %67 ], [ %73, %71 ]
br i1 %75, label %76, label %79
76: ; preds = %74
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%78 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %1)
br label %67, !llvm.loop !8
79: ; preds = %74
br label %80
80: ; preds = %88, %79
%81 = load i32, ptr %5, align 4
%82 = icmp sgt i32 %81, 12
br i1 %82, label %86, label %83
83: ; preds = %80
%84 = load i32, ptr %5, align 4
%85 = icmp slt i32 %84, 1
br label %86
86: ; preds = %83, %80
%87 = phi i1 [ true, %80 ], [ %85, %83 ]
br i1 %87, label %88, label %91
88: ; preds = %86
%89 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%90 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %5)
br label %80, !llvm.loop !9
91: ; preds = %86
%92 = load i32, ptr %5, align 4
%93 = icmp eq i32 %92, 1
br i1 %93, label %112, label %94
94: ; preds = %91
%95 = load i32, ptr %5, align 4
%96 = icmp eq i32 %95, 3
br i1 %96, label %112, label %97
97: ; preds = %94
%98 = load i32, ptr %5, align 4
%99 = icmp eq i32 %98, 5
br i1 %99, label %112, label %100
100: ; preds = %97
%101 = load i32, ptr %5, align 4
%102 = icmp eq i32 %101, 7
br i1 %102, label %112, label %103
103: ; preds = %100
%104 = load i32, ptr %5, align 4
%105 = icmp eq i32 %104, 8
br i1 %105, label %112, label %106
106: ; preds = %103
%107 = load i32, ptr %5, align 4
%108 = icmp eq i32 %107, 10
br i1 %108, label %112, label %109
109: ; preds = %106
%110 = load i32, ptr %5, align 4
%111 = icmp eq i32 %110, 12
br i1 %111, label %112, label %113
112: ; preds = %109, %106, %103, %100, %97, %94, %91
store i32 31, ptr %7, align 4
br label %113
113: ; preds = %112, %109
%114 = load i32, ptr %5, align 4
%115 = icmp eq i32 %114, 4
br i1 %115, label %125, label %116
116: ; preds = %113
%117 = load i32, ptr %5, align 4
%118 = icmp eq i32 %117, 6
br i1 %118, label %125, label %119
119: ; preds = %116
%120 = load i32, ptr %5, align 4
%121 = icmp eq i32 %120, 9
br i1 %121, label %125, label %122
122: ; preds = %119
%123 = load i32, ptr %5, align 4
%124 = icmp eq i32 %123, 11
br i1 %124, label %125, label %126
125: ; preds = %122, %119, %116, %113
store i32 30, ptr %7, align 4
br label %126
126: ; preds = %125, %122
%127 = load i32, ptr %5, align 4
%128 = icmp eq i32 %127, 2
br i1 %128, label %129, label %136
129: ; preds = %126
%130 = load i32, ptr %3, align 4
%131 = srem i32 %130, 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %129
store i32 29, ptr %7, align 4
br label %135
134: ; preds = %129
store i32 28, ptr %7, align 4
br label %135
135: ; preds = %134, %133
br label %136
136: ; preds = %135, %126
br label %137
137: ; preds = %146, %136
%138 = load i32, ptr %4, align 4
%139 = load i32, ptr %7, align 4
%140 = icmp sgt i32 %138, %139
br i1 %140, label %144, label %141
141: ; preds = %137
%142 = load i32, ptr %4, align 4
%143 = icmp slt i32 %142, 1
br label %144
144: ; preds = %141, %137
%145 = phi i1 [ true, %137 ], [ %143, %141 ]
br i1 %145, label %146, label %149
146: ; preds = %144
%147 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%148 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %137, !llvm.loop !10
149: ; preds = %144
%150 = load i32, ptr %2, align 4
%151 = load i32, ptr %5, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %161, label %153
153: ; preds = %149
%154 = load i32, ptr %2, align 4
%155 = load i32, ptr %5, align 4
%156 = icmp eq i32 %154, %155
br i1 %156, label %157, label %235
157: ; preds = %153
%158 = load i32, ptr %1, align 4
%159 = load i32, ptr %4, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %161, label %235
161: ; preds = %157, %149
%162 = load i32, ptr %2, align 4
%163 = load i32, ptr %5, align 4
%164 = icmp ne i32 %162, %163
br i1 %164, label %.lr.ph2, label %224
.lr.ph2: ; preds = %161
br label %165
165: ; preds = %.lr.ph2, %218
%166 = load i32, ptr %2, align 4
%167 = icmp eq i32 %166, 1
br i1 %167, label %186, label %168
168: ; preds = %165
%169 = load i32, ptr %2, align 4
%170 = icmp eq i32 %169, 3
br i1 %170, label %186, label %171
171: ; preds = %168
%172 = load i32, ptr %2, align 4
%173 = icmp eq i32 %172, 5
br i1 %173, label %186, label %174
174: ; preds = %171
%175 = load i32, ptr %2, align 4
%176 = icmp eq i32 %175, 7
br i1 %176, label %186, label %177
177: ; preds = %174
%178 = load i32, ptr %2, align 4
%179 = icmp eq i32 %178, 8
br i1 %179, label %186, label %180
180: ; preds = %177
%181 = load i32, ptr %2, align 4
%182 = icmp eq i32 %181, 10
br i1 %182, label %186, label %183
183: ; preds = %180
%184 = load i32, ptr %2, align 4
%185 = icmp eq i32 %184, 12
br i1 %185, label %186, label %189
186: ; preds = %183, %180, %177, %174, %171, %168, %165
%187 = load i32, ptr %6, align 4
%188 = add nsw i32 %187, 31
store i32 %188, ptr %6, align 4
br label %189
189: ; preds = %186, %183
%190 = load i32, ptr %2, align 4
%191 = icmp eq i32 %190, 4
br i1 %191, label %201, label %192
192: ; preds = %189
%193 = load i32, ptr %2, align 4
%194 = icmp eq i32 %193, 6
br i1 %194, label %201, label %195
195: ; preds = %192
%196 = load i32, ptr %2, align 4
%197 = icmp eq i32 %196, 9
br i1 %197, label %201, label %198
198: ; preds = %195
%199 = load i32, ptr %2, align 4
%200 = icmp eq i32 %199, 11
br i1 %200, label %201, label %204
201: ; preds = %198, %195, %192, %189
%202 = load i32, ptr %6, align 4
%203 = add nsw i32 %202, 30
store i32 %203, ptr %6, align 4
br label %204
204: ; preds = %201, %198
%205 = load i32, ptr %2, align 4
%206 = icmp eq i32 %205, 2
br i1 %206, label %207, label %218
207: ; preds = %204
%208 = load i32, ptr %3, align 4
%209 = srem i32 %208, 4
%210 = icmp eq i32 %209, 0
br i1 %210, label %211, label %214
211: ; preds = %207
%212 = load i32, ptr %6, align 4
%213 = add nsw i32 %212, 29
store i32 %213, ptr %6, align 4
br label %217
214: ; preds = %207
%215 = load i32, ptr %6, align 4
%216 = add nsw i32 %215, 28
store i32 %216, ptr %6, align 4
br label %217
217: ; preds = %214, %211
br label %218
218: ; preds = %217, %204
%219 = load i32, ptr %2, align 4
%220 = add nsw i32 %219, 1
store i32 %220, ptr %2, align 4
%221 = load i32, ptr %2, align 4
%222 = load i32, ptr %5, align 4
%223 = icmp ne i32 %221, %222
br i1 %223, label %165, label %._crit_edge3, !llvm.loop !11
._crit_edge3: ; preds = %218
br label %224
224: ; preds = %._crit_edge3, %161
%225 = load i32, ptr %2, align 4
%226 = load i32, ptr %5, align 4
%227 = icmp eq i32 %225, %226
br i1 %227, label %228, label %234
228: ; preds = %224
%229 = load i32, ptr %4, align 4
%230 = load i32, ptr %1, align 4
%231 = sub nsw i32 %229, %230
%232 = load i32, ptr %6, align 4
%233 = add nsw i32 %232, %231
store i32 %233, ptr %6, align 4
br label %234
234: ; preds = %228, %224
br label %309
235: ; preds = %157, %153
%236 = load i32, ptr %5, align 4
%237 = load i32, ptr %2, align 4
%238 = icmp ne i32 %236, %237
br i1 %238, label %.lr.ph, label %298
.lr.ph: ; preds = %235
br label %239
239: ; preds = %.lr.ph, %292
%240 = load i32, ptr %5, align 4
%241 = icmp eq i32 %240, 1
br i1 %241, label %260, label %242
242: ; preds = %239
%243 = load i32, ptr %5, align 4
%244 = icmp eq i32 %243, 3
br i1 %244, label %260, label %245
245: ; preds = %242
%246 = load i32, ptr %5, align 4
%247 = icmp eq i32 %246, 5
br i1 %247, label %260, label %248
248: ; preds = %245
%249 = load i32, ptr %5, align 4
%250 = icmp eq i32 %249, 7
br i1 %250, label %260, label %251
251: ; preds = %248
%252 = load i32, ptr %5, align 4
%253 = icmp eq i32 %252, 8
br i1 %253, label %260, label %254
254: ; preds = %251
%255 = load i32, ptr %5, align 4
%256 = icmp eq i32 %255, 10
br i1 %256, label %260, label %257
257: ; preds = %254
%258 = load i32, ptr %5, align 4
%259 = icmp eq i32 %258, 12
br i1 %259, label %260, label %263
260: ; preds = %257, %254, %251, %248, %245, %242, %239
%261 = load i32, ptr %6, align 4
%262 = sub nsw i32 %261, 31
store i32 %262, ptr %6, align 4
br label %263
263: ; preds = %260, %257
%264 = load i32, ptr %5, align 4
%265 = icmp eq i32 %264, 4
br i1 %265, label %275, label %266
266: ; preds = %263
%267 = load i32, ptr %5, align 4
%268 = icmp eq i32 %267, 6
br i1 %268, label %275, label %269
269: ; preds = %266
%270 = load i32, ptr %5, align 4
%271 = icmp eq i32 %270, 9
br i1 %271, label %275, label %272
272: ; preds = %269
%273 = load i32, ptr %5, align 4
%274 = icmp eq i32 %273, 11
br i1 %274, label %275, label %278
275: ; preds = %272, %269, %266, %263
%276 = load i32, ptr %6, align 4
%277 = sub nsw i32 %276, 30
store i32 %277, ptr %6, align 4
br label %278
278: ; preds = %275, %272
%279 = load i32, ptr %5, align 4
%280 = icmp eq i32 %279, 2
br i1 %280, label %281, label %292
281: ; preds = %278
%282 = load i32, ptr %3, align 4
%283 = srem i32 %282, 4
%284 = icmp eq i32 %283, 0
br i1 %284, label %285, label %288
285: ; preds = %281
%286 = load i32, ptr %6, align 4
%287 = sub nsw i32 %286, 29
store i32 %287, ptr %6, align 4
br label %291
288: ; preds = %281
%289 = load i32, ptr %6, align 4
%290 = sub nsw i32 %289, 28
store i32 %290, ptr %6, align 4
br label %291
291: ; preds = %288, %285
br label %292
292: ; preds = %291, %278
%293 = load i32, ptr %5, align 4
%294 = add nsw i32 %293, 1
store i32 %294, ptr %5, align 4
%295 = load i32, ptr %5, align 4
%296 = load i32, ptr %2, align 4
%297 = icmp ne i32 %295, %296
br i1 %297, label %239, label %._crit_edge, !llvm.loop !12
._crit_edge: ; preds = %292
br label %298
298: ; preds = %._crit_edge, %235
%299 = load i32, ptr %2, align 4
%300 = load i32, ptr %5, align 4
%301 = icmp eq i32 %299, %300
br i1 %301, label %302, label %308
302: ; preds = %298
%303 = load i32, ptr %4, align 4
%304 = load i32, ptr %1, align 4
%305 = sub nsw i32 %303, %304
%306 = load i32, ptr %6, align 4
%307 = add nsw i32 %306, %305
store i32 %307, ptr %6, align 4
br label %308
308: ; preds = %302, %298
br label %309
309: ; preds = %308, %234
%310 = load i32, ptr %6, align 4
%311 = icmp sgt i32 %310, 0
br i1 %311, label %312, label %315
312: ; preds = %309
%313 = load i32, ptr %6, align 4
%314 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %313)
br label %331
315: ; preds = %309
%316 = load i32, ptr %6, align 4
%317 = icmp slt i32 %316, 0
br i1 %317, label %318, label %324
318: ; preds = %315
%319 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
%320 = load i32, ptr %6, align 4
%321 = mul nsw i32 %320, -1
store i32 %321, ptr %6, align 4
%322 = load i32, ptr %6, align 4
%323 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %322)
br label %330
324: ; preds = %315
%325 = load i32, ptr %6, align 4
%326 = icmp eq i32 %325, 0
br i1 %326, label %327, label %329
327: ; preds = %324
%328 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %329
329: ; preds = %327, %324
br label %330
330: ; preds = %329, %318
br label %331
331: ; preds = %330, %312
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
|
; ModuleID = '/tmp/tmp742h1p3r.c'
source_filename = "/tmp/tmp742h1p3r.c"
target datalayout = "e-m:e-p270: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/tmp742h1p3r.c"
target datalayout = "e-m:e-p270: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/tmp0snwu1s8.c'
source_filename = "/tmp/tmp0snwu1s8.c"
target datalayout = "e-m:e-p270: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/tmp0snwu1s8.c"
target datalayout = "e-m:e-p270: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/tmpww3tf9rf.c'
source_filename = "/tmp/tmpww3tf9rf.c"
target datalayout = "e-m:e-p270: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/tmpww3tf9rf.c"
target datalayout = "e-m:e-p270: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/tmpofzgc4rp.c'
source_filename = "/tmp/tmpofzgc4rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_NOCTTY = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpofzgc4rp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_NOCTTY = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpgngq7ol0.c'
source_filename = "/tmp/tmpgngq7ol0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Ouch!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @trap() #0 {
%1 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 7)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgngq7ol0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"Ouch!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @trap() #0 {
%1 = call i32 @write(i32 noundef 1, ptr noundef @.str, i32 noundef 7)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpd635fiah.c'
source_filename = "/tmp/tmpd635fiah.c"
target datalayout = "e-m:e-p270: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/tmpd635fiah.c"
target datalayout = "e-m:e-p270: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/tmp3d9x96r_.c'
source_filename = "/tmp/tmp3d9x96r_.c"
target datalayout = "e-m:e-p270: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.soundex.out = private unnamed_addr constant [5 x i8] c"0000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @soundex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x i8], align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %1
store ptr null, ptr %2, align 8
br label %89
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call ptr @clean(ptr noundef %15)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
store ptr null, ptr %2, align 8
br label %89
23: ; preds = %14
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.soundex.out, i64 5, i1 false)
store i32 1, ptr %8, align 4
store i32 1, ptr %9, align 4
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
store i8 %26, ptr %27, align 1
%28 = load ptr, ptr %4, align 8
%29 = call signext i8 @get_mapping_code(ptr noundef %28, i32 noundef 0)
store i8 %29, ptr %6, align 1
br label %30
30: ; preds = %68, %23
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %4, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load i32, ptr %9, align 4
%37 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @strlen(ptr noundef %37)
%39 = icmp slt i32 %36, %38
br label %40
40: ; preds = %35, %30
%41 = phi i1 [ false, %30 ], [ %39, %35 ]
br i1 %41, label %42, label %69
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
%46 = call signext i8 @get_mapping_code(ptr noundef %43, i32 noundef %44)
store i8 %46, ptr %7, align 1
%47 = load i8, ptr %7, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %68
50: ; preds = %42
%51 = load i8, ptr %7, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 48
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load i8, ptr %7, align 1
%56 = sext i8 %55 to i32
%57 = load i8, ptr %6, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %56, %58
br i1 %59, label %60, label %66
60: ; preds = %54
%61 = load i8, ptr %7, align 1
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 %64
store i8 %61, ptr %65, align 1
br label %66
66: ; preds = %60, %54, %50
%67 = load i8, ptr %7, align 1
store i8 %67, ptr %6, align 1
br label %68
68: ; preds = %66, %42
br label %30, !llvm.loop !6
69: ; preds = %40
%70 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%71 = call i32 @strlen(ptr noundef %70)
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = mul i64 5, %73
%75 = trunc i64 %74 to i32
%76 = call ptr @malloc(i32 noundef %75)
store ptr %76, ptr %10, align 8
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%79 = call i32 @strlen(ptr noundef %78)
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %77, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %10, align 8
%84 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%85 = call i32 @strcpy(ptr noundef %83, ptr noundef %84)
%86 = load ptr, ptr %4, align 8
%87 = call i32 @free(ptr noundef %86)
%88 = load ptr, ptr %10, align 8
store ptr %88, ptr %2, align 8
br label %89
89: ; preds = %69, %20, %13
%90 = load ptr, ptr %2, align 8
ret ptr %90
}
declare ptr @clean(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare signext i8 @get_mapping_code(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3d9x96r_.c"
target datalayout = "e-m:e-p270: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.soundex.out = private unnamed_addr constant [5 x i8] c"0000\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @soundex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [5 x i8], align 1
%6 = alloca i8, align 1
%7 = alloca i8, align 1
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%11 = load ptr, ptr %3, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %13, label %14
13: ; preds = %1
store ptr null, ptr %2, align 8
br label %89
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call ptr @clean(ptr noundef %15)
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strlen(ptr noundef %17)
%19 = icmp eq i32 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load ptr, ptr %4, align 8
%22 = call i32 @free(ptr noundef %21)
store ptr null, ptr %2, align 8
br label %89
23: ; preds = %14
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %5, ptr align 1 @__const.soundex.out, i64 5, i1 false)
store i32 1, ptr %8, align 4
store i32 1, ptr %9, align 4
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
%26 = load i8, ptr %25, align 1
%27 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
store i8 %26, ptr %27, align 1
%28 = load ptr, ptr %4, align 8
%29 = call signext i8 @get_mapping_code(ptr noundef %28, i32 noundef 0)
store i8 %29, ptr %6, align 1
br label %30
30: ; preds = %68, %23
%31 = load i32, ptr %8, align 4
%32 = load ptr, ptr %4, align 8
%33 = call i32 @strlen(ptr noundef %32)
%34 = icmp slt i32 %31, %33
br i1 %34, label %35, label %40
35: ; preds = %30
%36 = load i32, ptr %9, align 4
%37 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%38 = call i32 @strlen(ptr noundef %37)
%39 = icmp slt i32 %36, %38
br label %40
40: ; preds = %35, %30
%41 = phi i1 [ false, %30 ], [ %39, %35 ]
br i1 %41, label %42, label %69
42: ; preds = %40
%43 = load ptr, ptr %4, align 8
%44 = load i32, ptr %8, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %8, align 4
%46 = call signext i8 @get_mapping_code(ptr noundef %43, i32 noundef %44)
store i8 %46, ptr %7, align 1
%47 = load i8, ptr %7, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %48, 0
br i1 %49, label %50, label %68
50: ; preds = %42
%51 = load i8, ptr %7, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %52, 48
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load i8, ptr %7, align 1
%56 = sext i8 %55 to i32
%57 = load i8, ptr %6, align 1
%58 = sext i8 %57 to i32
%59 = icmp ne i32 %56, %58
br i1 %59, label %60, label %66
60: ; preds = %54
%61 = load i8, ptr %7, align 1
%62 = load i32, ptr %9, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %9, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 %64
store i8 %61, ptr %65, align 1
br label %66
66: ; preds = %60, %54, %50
%67 = load i8, ptr %7, align 1
store i8 %67, ptr %6, align 1
br label %68
68: ; preds = %66, %42
br label %30, !llvm.loop !6
69: ; preds = %40
%70 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%71 = call i32 @strlen(ptr noundef %70)
%72 = add nsw i32 %71, 1
%73 = sext i32 %72 to i64
%74 = mul i64 5, %73
%75 = trunc i64 %74 to i32
%76 = call ptr @malloc(i32 noundef %75)
store ptr %76, ptr %10, align 8
%77 = load ptr, ptr %10, align 8
%78 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%79 = call i32 @strlen(ptr noundef %78)
%80 = add nsw i32 %79, 1
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i8, ptr %77, i64 %81
store i8 0, ptr %82, align 1
%83 = load ptr, ptr %10, align 8
%84 = getelementptr inbounds [5 x i8], ptr %5, i64 0, i64 0
%85 = call i32 @strcpy(ptr noundef %83, ptr noundef %84)
%86 = load ptr, ptr %4, align 8
%87 = call i32 @free(ptr noundef %86)
%88 = load ptr, ptr %10, align 8
store ptr %88, ptr %2, align 8
br label %89
89: ; preds = %69, %20, %13
%90 = load ptr, ptr %2, align 8
ret ptr %90
}
declare ptr @clean(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @free(ptr noundef) #1
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2
declare signext i8 @get_mapping_code(ptr noundef, i32 noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjv3sw36u.c'
source_filename = "/tmp/tmpjv3sw36u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @beep() #0 {
%1 = call i32 (...) @os_bell()
ret void
}
declare i32 @os_bell(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjv3sw36u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @beep() #0 {
%1 = call i32 (...) @os_bell()
ret void
}
declare i32 @os_bell(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprzn7wmn8.c'
source_filename = "/tmp/tmprzn7wmn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_contains(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
%9 = load ptr, ptr %6, align 8
%10 = call ptr @list_find(ptr noundef %7, ptr noundef %8, ptr noundef %9)
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
ret i32 %12
}
declare ptr @list_find(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/tmprzn7wmn8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @list_contains(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
%9 = load ptr, ptr %6, align 8
%10 = call ptr @list_find(ptr noundef %7, ptr noundef %8, ptr noundef %9)
%11 = icmp ne ptr %10, null
%12 = zext i1 %11 to i32
ret i32 %12
}
declare ptr @list_find(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/tmpzbaqzuco.c'
source_filename = "/tmp/tmpzbaqzuco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.winsize = type { i32, i32 }
@STDOUT_FILENO = dso_local global i32 0, align 4
@TIOCGWINSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"lines %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"columns %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.winsize, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @STDOUT_FILENO, align 4
%8 = load i32, ptr @TIOCGWINSZ, align 4
%9 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6)
%10 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
ret i32 0
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzbaqzuco.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.winsize = type { i32, i32 }
@STDOUT_FILENO = dso_local global i32 0, align 4
@TIOCGWINSZ = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"lines %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"columns %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca %struct.winsize, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr @STDOUT_FILENO, align 4
%8 = load i32, ptr @TIOCGWINSZ, align 4
%9 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6)
%10 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0
%11 = load i32, ptr %10, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
%13 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
ret i32 0
}
declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6n1o90is.c'
source_filename = "/tmp/tmp6n1o90is.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%9s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Enter yes or no.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getYes() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 -1, ptr %3, align 4
br label %4
4: ; preds = %22, %0
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %23
7: ; preds = %4
%8 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%9 = call i32 @scanf(ptr noundef @.str, ptr noundef %8)
%10 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%11 = call i64 @strcmp(ptr noundef %10, ptr noundef @.str.1)
%12 = icmp eq i64 %11, 0
br i1 %12, label %13, label %14
13: ; preds = %7
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %22
14: ; preds = %7
%15 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str.2)
%17 = icmp eq i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 -1, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %21
19: ; preds = %14
%20 = call i32 @printf(ptr noundef @.str.3)
br label %21
21: ; preds = %19, %18
br label %22
22: ; preds = %21, %13
br label %4, !llvm.loop !6
23: ; preds = %4
%24 = load i32, ptr %2, align 4
ret i32 %24
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6n1o90is.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%9s\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"yes\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"no\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"Enter yes or no.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @getYes() #0 {
%1 = alloca [10 x i8], align 1
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 -1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp eq i32 %4, -1
br i1 %5, label %.lr.ph, label %24
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %21
%7 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%10 = call i64 @strcmp(ptr noundef %9, ptr noundef @.str.1)
%11 = icmp eq i64 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %6
store i32 1, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %21
13: ; preds = %6
%14 = getelementptr inbounds [10 x i8], ptr %1, i64 0, i64 0
%15 = call i64 @strcmp(ptr noundef %14, ptr noundef @.str.2)
%16 = icmp eq i64 %15, 0
br i1 %16, label %17, label %18
17: ; preds = %13
store i32 -1, ptr %2, align 4
store i32 1, ptr %3, align 4
br label %20
18: ; preds = %13
%19 = call i32 @printf(ptr noundef @.str.3)
br label %20
20: ; preds = %18, %17
br label %21
21: ; preds = %20, %12
%22 = load i32, ptr %3, align 4
%23 = icmp eq i32 %22, -1
br i1 %23, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %24
24: ; preds = %._crit_edge, %0
%25 = load i32, ptr %2, align 4
ret i32 %25
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpn0us5eag.c'
source_filename = "/tmp/tmpn0us5eag.c"
target datalayout = "e-m:e-p270: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, i64, i32, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Usage: %s host service\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"getaddrinfo error: %s\0A\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"request done\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"cant connect\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 %struct.addrinfo, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%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 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @setbuf(i32 noundef %21, ptr noundef null)
%23 = load i32, ptr @stdout, align 4
%24 = call i32 @setbuf(i32 noundef %23, ptr noundef null)
%25 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 32)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
%32 = call i32 @getaddrinfo(ptr noundef %28, ptr noundef %31, ptr noundef %6, ptr noundef %7)
store i32 %32, ptr %9, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %20
%35 = load i32, ptr @stderr, align 4
%36 = load i32, ptr %9, align 4
%37 = call ptr @gai_strerror(i32 noundef %36)
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.1, ptr noundef %37)
%39 = call i32 @exit(i32 noundef 1) #3
unreachable
40: ; preds = %20
%41 = load ptr, ptr %7, align 8
store ptr %41, ptr %8, align 8
br label %42
42: ; preds = %66, %40
%43 = load ptr, ptr %8, align 8
%44 = icmp ne ptr %43, null
br i1 %44, label %45, label %70
45: ; preds = %42
%46 = load ptr, ptr %8, align 8
%47 = getelementptr inbounds %struct.addrinfo, ptr %46, i32 0, i32 2
%48 = load i32, ptr %47, align 8
%49 = load i32, ptr @SOCK_STREAM, align 4
%50 = load ptr, ptr %8, align 8
%51 = getelementptr inbounds %struct.addrinfo, ptr %50, i32 0, i32 1
%52 = load i64, ptr %51, align 8
%53 = inttoptr i64 %52 to ptr
%54 = load ptr, ptr %8, align 8
%55 = getelementptr inbounds %struct.addrinfo, ptr %54, i32 0, i32 0
%56 = load i32, ptr %55, align 8
%57 = call i32 @retry_connect(i32 noundef %48, i32 noundef %49, i32 noundef 0, ptr noundef %53, i32 noundef %56)
store i32 %57, ptr %10, align 4
%58 = icmp sge i32 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %45
%60 = load i32, ptr %10, align 4
%61 = call i32 @request(i32 noundef %60)
%62 = load i32, ptr @stderr, align 4
%63 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %62, ptr noundef @.str.2)
%64 = call i32 @exit(i32 noundef 0) #3
unreachable
65: ; preds = %45
br label %66
66: ; preds = %65
%67 = load ptr, ptr %8, align 8
%68 = getelementptr inbounds %struct.addrinfo, ptr %67, i32 0, i32 3
%69 = load ptr, ptr %68, align 8
store ptr %69, ptr %8, align 8
br label %42, !llvm.loop !6
70: ; preds = %42
%71 = load ptr, ptr %7, align 8
%72 = call i32 @freeaddrinfo(ptr noundef %71)
%73 = load i32, ptr @stderr, align 4
%74 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.3)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @retry_connect(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @request(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn0us5eag.c"
target datalayout = "e-m:e-p270: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, i64, i32, ptr }
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"Usage: %s host service\0A\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [23 x i8] c"getaddrinfo error: %s\0A\00", align 1
@SOCK_STREAM = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [14 x i8] c"request done\0A\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"cant connect\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 %struct.addrinfo, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%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 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 3
br i1 %12, label %13, label %20
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 0
%17 = load ptr, ptr %16, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %17)
%19 = call i32 @exit(i32 noundef 1) #3
unreachable
20: ; preds = %2
%21 = load i32, ptr @stderr, align 4
%22 = call i32 @setbuf(i32 noundef %21, ptr noundef null)
%23 = load i32, ptr @stdout, align 4
%24 = call i32 @setbuf(i32 noundef %23, ptr noundef null)
%25 = call i32 @memset(ptr noundef %6, i32 noundef 0, i32 noundef 32)
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 1
%28 = load ptr, ptr %27, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds ptr, ptr %29, i64 2
%31 = load ptr, ptr %30, align 8
%32 = call i32 @getaddrinfo(ptr noundef %28, ptr noundef %31, ptr noundef %6, ptr noundef %7)
store i32 %32, ptr %9, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %40
34: ; preds = %20
%35 = load i32, ptr @stderr, align 4
%36 = load i32, ptr %9, align 4
%37 = call ptr @gai_strerror(i32 noundef %36)
%38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef @.str.1, ptr noundef %37)
%39 = call i32 @exit(i32 noundef 1) #3
unreachable
40: ; preds = %20
%41 = load ptr, ptr %7, align 8
store ptr %41, ptr %8, align 8
%42 = load ptr, ptr %8, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %.lr.ph, label %71
.lr.ph: ; preds = %40
br label %44
44: ; preds = %.lr.ph, %65
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds %struct.addrinfo, ptr %45, i32 0, i32 2
%47 = load i32, ptr %46, align 8
%48 = load i32, ptr @SOCK_STREAM, align 4
%49 = load ptr, ptr %8, align 8
%50 = getelementptr inbounds %struct.addrinfo, ptr %49, i32 0, i32 1
%51 = load i64, ptr %50, align 8
%52 = inttoptr i64 %51 to ptr
%53 = load ptr, ptr %8, align 8
%54 = getelementptr inbounds %struct.addrinfo, ptr %53, i32 0, i32 0
%55 = load i32, ptr %54, align 8
%56 = call i32 @retry_connect(i32 noundef %47, i32 noundef %48, i32 noundef 0, ptr noundef %52, i32 noundef %55)
store i32 %56, ptr %10, align 4
%57 = icmp sge i32 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %44
%59 = load i32, ptr %10, align 4
%60 = call i32 @request(i32 noundef %59)
%61 = load i32, ptr @stderr, align 4
%62 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %61, ptr noundef @.str.2)
%63 = call i32 @exit(i32 noundef 0) #3
unreachable
64: ; preds = %44
br label %65
65: ; preds = %64
%66 = load ptr, ptr %8, align 8
%67 = getelementptr inbounds %struct.addrinfo, ptr %66, i32 0, i32 3
%68 = load ptr, ptr %67, align 8
store ptr %68, ptr %8, align 8
%69 = load ptr, ptr %8, align 8
%70 = icmp ne ptr %69, null
br i1 %70, label %44, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %65
br label %71
71: ; preds = %._crit_edge, %40
%72 = load ptr, ptr %7, align 8
%73 = call i32 @freeaddrinfo(ptr noundef %72)
%74 = load i32, ptr @stderr, align 4
%75 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %74, ptr noundef @.str.3)
ret i32 1
}
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @setbuf(i32 noundef, ptr noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare ptr @gai_strerror(i32 noundef) #1
declare i32 @retry_connect(i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @request(i32 noundef) #1
declare i32 @freeaddrinfo(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpct_qx6p9.c'
source_filename = "/tmp/tmpct_qx6p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGABRT = 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/tmpct_qx6p9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGABRT = 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/tmp9od9c90t.c'
source_filename = "/tmp/tmp9od9c90t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f5(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i64 10, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load i64, ptr %3, align 8
%9 = load i32, ptr %2, align 4
%10 = call ptr @calloc(i64 noundef %8, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @free(ptr noundef %11)
br label %13
13: ; preds = %7, %1
ret void
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9od9c90t.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f5(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
store i64 10, ptr %3, align 8
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %7, label %13
7: ; preds = %1
%8 = load i64, ptr %3, align 8
%9 = load i32, ptr %2, align 4
%10 = call ptr @calloc(i64 noundef %8, i32 noundef %9)
store ptr %10, ptr %4, align 8
%11 = load ptr, ptr %4, align 8
%12 = call i32 @free(ptr noundef %11)
br label %13
13: ; preds = %7, %1
ret void
}
declare ptr @calloc(i64 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpirya10th.c'
source_filename = "/tmp/tmpirya10th.c"
target datalayout = "e-m:e-p270: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/tmpirya10th.c"
target datalayout = "e-m:e-p270: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/tmpshxntcnc.c'
source_filename = "/tmp/tmpshxntcnc.c"
target datalayout = "e-m:e-p270: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/tmpshxntcnc.c"
target datalayout = "e-m:e-p270: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/tmpf4i5251m.c'
source_filename = "/tmp/tmpf4i5251m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WriteSync() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %2
2: ; preds = %7, %0
%3 = load i32, ptr %1, align 4
%4 = icmp slt i32 %3, 100
br i1 %4, label %5, label %10
5: ; preds = %2
%6 = call i32 @WriteByteManchester(i32 noundef 84, i32 noundef 0)
br label %7
7: ; preds = %5
%8 = load i32, ptr %1, align 4
%9 = add nsw i32 %8, 1
store i32 %9, ptr %1, align 4
br label %2, !llvm.loop !6
10: ; preds = %2
%11 = call i32 @WriteByteManchester(i32 noundef 195, i32 noundef 0)
ret void
}
declare i32 @WriteByteManchester(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/tmpf4i5251m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WriteSync() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = load i32, ptr %1, align 4
%3 = icmp slt i32 %2, 100
br i1 %3, label %.lr.ph, label %11
.lr.ph: ; preds = %0
br label %4
4: ; preds = %.lr.ph, %6
%5 = call i32 @WriteByteManchester(i32 noundef 84, i32 noundef 0)
br label %6
6: ; preds = %4
%7 = load i32, ptr %1, align 4
%8 = add nsw i32 %7, 1
store i32 %8, ptr %1, align 4
%9 = load i32, ptr %1, align 4
%10 = icmp slt i32 %9, 100
br i1 %10, label %4, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %11
11: ; preds = %._crit_edge, %0
%12 = call i32 @WriteByteManchester(i32 noundef 195, i32 noundef 0)
ret void
}
declare i32 @WriteByteManchester(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/tmpg15x7b07.c'
source_filename = "/tmp/tmpg15x7b07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @k_free(i32 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i16, align 2
store i32 %0, ptr %3, align 4
store i16 %1, ptr %4, align 2
%5 = load i32, ptr %3, align 4
%6 = load i16, ptr %4, align 2
%7 = call i32 @insert_entry(i32 noundef %5, i16 noundef zeroext %6)
ret i8 1
}
declare i32 @insert_entry(i32 noundef, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg15x7b07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @k_free(i32 noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i16, align 2
store i32 %0, ptr %3, align 4
store i16 %1, ptr %4, align 2
%5 = load i32, ptr %3, align 4
%6 = load i16, ptr %4, align 2
%7 = call i32 @insert_entry(i32 noundef %5, i16 noundef zeroext %6)
ret i8 1
}
declare i32 @insert_entry(i32 noundef, i16 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1j1ww0bu.c'
source_filename = "/tmp/tmp1j1ww0bu.c"
target datalayout = "e-m:e-p270: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/tmp1j1ww0bu.c"
target datalayout = "e-m:e-p270: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/tmp14fxzrca.c'
source_filename = "/tmp/tmp14fxzrca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @leggi_intero() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
br label %3
3: ; preds = %11, %0
%4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1)
%9 = call i32 @messaggi(i32 noundef 2)
br label %10
10: ; preds = %7, %3
br label %11
11: ; preds = %10
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %3, label %14, !llvm.loop !6
14: ; preds = %11
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @messaggi(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/tmp14fxzrca.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%u\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%*[^\0A]\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @leggi_intero() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
br label %3
3: ; preds = %11, %0
%4 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %1)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1)
%9 = call i32 @messaggi(i32 noundef 2)
br label %10
10: ; preds = %7, %3
br label %11
11: ; preds = %10
%12 = load i32, ptr %2, align 4
%13 = icmp eq i32 %12, 0
br i1 %13, label %3, label %14, !llvm.loop !6
14: ; preds = %11
%15 = load i32, ptr %1, align 4
ret i32 %15
}
declare i32 @scanf(ptr noundef, ...) #1
declare i32 @messaggi(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/tmp40snhb9q.c'
source_filename = "/tmp/tmp40snhb9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_ALL_EXCEPT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_fpu_except_flags() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @FE_ALL_EXCEPT, align 4
%4 = call i32 @fetestexcept(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @fetestexcept(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/tmp40snhb9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@FE_ALL_EXCEPT = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_fpu_except_flags() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = load i32, ptr @FE_ALL_EXCEPT, align 4
%4 = call i32 @fetestexcept(i32 noundef %3)
store i32 %4, ptr %2, align 4
%5 = load i32, ptr %1, align 4
ret i32 %5
}
declare i32 @fetestexcept(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/tmp2eo4kn3l.c'
source_filename = "/tmp/tmp2eo4kn3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sheng_F_value(double noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds double, ptr %8, i64 1
%10 = call i32 @power_1(ptr noundef %7, ptr noundef %4, ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
%13 = load double, ptr %12, align 8
%14 = load double, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds double, ptr %15, i64 2
%17 = load double, ptr %16, align 8
%18 = load double, ptr %4, align 8
%19 = fmul double %17, %18
%20 = call double @llvm.fmuladd.f64(double %13, double %14, double %19)
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds double, ptr %21, i64 3
%23 = load double, ptr %22, align 8
%24 = fadd double %20, %23
%25 = load ptr, ptr %6, align 8
store double %24, ptr %25, align 8
ret void
}
declare i32 @power_1(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2eo4kn3l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sheng_F_value(double noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
store double %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
store double 0.000000e+00, ptr %7, align 8
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds double, ptr %8, i64 1
%10 = call i32 @power_1(ptr noundef %7, ptr noundef %4, ptr noundef %9)
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds double, ptr %11, i64 0
%13 = load double, ptr %12, align 8
%14 = load double, ptr %7, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds double, ptr %15, i64 2
%17 = load double, ptr %16, align 8
%18 = load double, ptr %4, align 8
%19 = fmul double %17, %18
%20 = call double @llvm.fmuladd.f64(double %13, double %14, double %19)
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds double, ptr %21, i64 3
%23 = load double, ptr %22, align 8
%24 = fadd double %20, %23
%25 = load ptr, ptr %6, align 8
store double %24, ptr %25, align 8
ret void
}
declare i32 @power_1(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq12n94er.c'
source_filename = "/tmp/tmpq12n94er.c"
target datalayout = "e-m:e-p270: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/tmpq12n94er.c"
target datalayout = "e-m:e-p270: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/tmp2hhwr_zz.c'
source_filename = "/tmp/tmp2hhwr_zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %4, align 8
br label %105
17: ; preds = %3
%18 = load i32, ptr %6, align 4
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %7, align 8
%22 = sub i64 %21, 1
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
store i8 %19, ptr %25, align 1
%26 = load i64, ptr %7, align 8
%27 = icmp ule i64 %26, 2
br i1 %27, label %28, label %30
28: ; preds = %17
%29 = load ptr, ptr %5, align 8
store ptr %29, ptr %4, align 8
br label %105
30: ; preds = %17
%31 = load i32, ptr %6, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %8, align 8
%34 = load i64, ptr %7, align 8
%35 = sub i64 %34, 2
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
store i8 %32, ptr %38, align 1
%39 = load i32, ptr %6, align 4
%40 = trunc i32 %39 to i8
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %7, align 8
%43 = sub i64 %42, 3
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 %40, ptr %44, align 1
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 2
store i8 %40, ptr %46, align 1
%47 = load i64, ptr %7, align 8
%48 = icmp ule i64 %47, 6
br i1 %48, label %49, label %51
49: ; preds = %30
%50 = load ptr, ptr %5, align 8
store ptr %50, ptr %4, align 8
br label %105
51: ; preds = %30
%52 = load i32, ptr %6, align 4
%53 = trunc i32 %52 to i8
%54 = load ptr, ptr %8, align 8
%55 = load i64, ptr %7, align 8
%56 = sub i64 %55, 4
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 %53, ptr %57, align 1
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 3
store i8 %53, ptr %59, align 1
%60 = load i64, ptr %7, align 8
%61 = icmp ule i64 %60, 8
br i1 %61, label %62, label %64
62: ; preds = %51
%63 = load ptr, ptr %5, align 8
store ptr %63, ptr %4, align 8
br label %105
64: ; preds = %51
%65 = load ptr, ptr %8, align 8
%66 = ptrtoint ptr %65 to i64
%67 = sub i64 0, %66
%68 = and i64 %67, 3
store i64 %68, ptr %9, align 8
%69 = load i64, ptr %9, align 8
%70 = load ptr, ptr %8, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 %69
store ptr %71, ptr %8, align 8
%72 = load i64, ptr %9, align 8
%73 = load i64, ptr %7, align 8
%74 = sub i64 %73, %72
store i64 %74, ptr %7, align 8
%75 = load i64, ptr %7, align 8
%76 = and i64 %75, -4
store i64 %76, ptr %7, align 8
%77 = load i64, ptr %7, align 8
%78 = udiv i64 %77, 4
store i64 %78, ptr %7, align 8
%79 = load ptr, ptr %8, align 8
store ptr %79, ptr %10, align 8
%80 = load i32, ptr %6, align 4
%81 = and i32 %80, 255
store i32 %81, ptr %11, align 4
%82 = load i32, ptr %11, align 4
%83 = shl i32 %82, 8
%84 = load i32, ptr %11, align 4
%85 = shl i32 %84, 16
%86 = or i32 %83, %85
%87 = load i32, ptr %11, align 4
%88 = shl i32 %87, 24
%89 = or i32 %86, %88
%90 = load i32, ptr %11, align 4
%91 = or i32 %90, %89
store i32 %91, ptr %11, align 4
br label %92
92: ; preds = %98, %64
%93 = load i64, ptr %7, align 8
%94 = icmp ne i64 %93, 0
br i1 %94, label %95, label %103
95: ; preds = %92
%96 = load i32, ptr %11, align 4
%97 = load ptr, ptr %10, align 8
store i32 %96, ptr %97, align 4
br label %98
98: ; preds = %95
%99 = load i64, ptr %7, align 8
%100 = add i64 %99, -1
store i64 %100, ptr %7, align 8
%101 = load ptr, ptr %10, align 8
%102 = getelementptr inbounds i32, ptr %101, i32 1
store ptr %102, ptr %10, align 8
br label %92, !llvm.loop !6
103: ; preds = %92
%104 = load ptr, ptr %5, align 8
store ptr %104, ptr %4, align 8
br label %105
105: ; preds = %103, %62, %49, %28, %15
%106 = load ptr, ptr %4, align 8
ret ptr %106
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp2hhwr_zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define weak dso_local ptr @memset(ptr noundef %0, i32 noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load i64, ptr %7, align 8
%14 = icmp ne i64 %13, 0
br i1 %14, label %17, label %15
15: ; preds = %3
%16 = load ptr, ptr %5, align 8
store ptr %16, ptr %4, align 8
br label %106
17: ; preds = %3
%18 = load i32, ptr %6, align 4
%19 = trunc i32 %18 to i8
%20 = load ptr, ptr %8, align 8
%21 = load i64, ptr %7, align 8
%22 = sub i64 %21, 1
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
%24 = load ptr, ptr %8, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 0
store i8 %19, ptr %25, align 1
%26 = load i64, ptr %7, align 8
%27 = icmp ule i64 %26, 2
br i1 %27, label %28, label %30
28: ; preds = %17
%29 = load ptr, ptr %5, align 8
store ptr %29, ptr %4, align 8
br label %106
30: ; preds = %17
%31 = load i32, ptr %6, align 4
%32 = trunc i32 %31 to i8
%33 = load ptr, ptr %8, align 8
%34 = load i64, ptr %7, align 8
%35 = sub i64 %34, 2
%36 = getelementptr inbounds i8, ptr %33, i64 %35
store i8 %32, ptr %36, align 1
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
store i8 %32, ptr %38, align 1
%39 = load i32, ptr %6, align 4
%40 = trunc i32 %39 to i8
%41 = load ptr, ptr %8, align 8
%42 = load i64, ptr %7, align 8
%43 = sub i64 %42, 3
%44 = getelementptr inbounds i8, ptr %41, i64 %43
store i8 %40, ptr %44, align 1
%45 = load ptr, ptr %8, align 8
%46 = getelementptr inbounds i8, ptr %45, i64 2
store i8 %40, ptr %46, align 1
%47 = load i64, ptr %7, align 8
%48 = icmp ule i64 %47, 6
br i1 %48, label %49, label %51
49: ; preds = %30
%50 = load ptr, ptr %5, align 8
store ptr %50, ptr %4, align 8
br label %106
51: ; preds = %30
%52 = load i32, ptr %6, align 4
%53 = trunc i32 %52 to i8
%54 = load ptr, ptr %8, align 8
%55 = load i64, ptr %7, align 8
%56 = sub i64 %55, 4
%57 = getelementptr inbounds i8, ptr %54, i64 %56
store i8 %53, ptr %57, align 1
%58 = load ptr, ptr %8, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 3
store i8 %53, ptr %59, align 1
%60 = load i64, ptr %7, align 8
%61 = icmp ule i64 %60, 8
br i1 %61, label %62, label %64
62: ; preds = %51
%63 = load ptr, ptr %5, align 8
store ptr %63, ptr %4, align 8
br label %106
64: ; preds = %51
%65 = load ptr, ptr %8, align 8
%66 = ptrtoint ptr %65 to i64
%67 = sub i64 0, %66
%68 = and i64 %67, 3
store i64 %68, ptr %9, align 8
%69 = load i64, ptr %9, align 8
%70 = load ptr, ptr %8, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 %69
store ptr %71, ptr %8, align 8
%72 = load i64, ptr %9, align 8
%73 = load i64, ptr %7, align 8
%74 = sub i64 %73, %72
store i64 %74, ptr %7, align 8
%75 = load i64, ptr %7, align 8
%76 = and i64 %75, -4
store i64 %76, ptr %7, align 8
%77 = load i64, ptr %7, align 8
%78 = udiv i64 %77, 4
store i64 %78, ptr %7, align 8
%79 = load ptr, ptr %8, align 8
store ptr %79, ptr %10, align 8
%80 = load i32, ptr %6, align 4
%81 = and i32 %80, 255
store i32 %81, ptr %11, align 4
%82 = load i32, ptr %11, align 4
%83 = shl i32 %82, 8
%84 = load i32, ptr %11, align 4
%85 = shl i32 %84, 16
%86 = or i32 %83, %85
%87 = load i32, ptr %11, align 4
%88 = shl i32 %87, 24
%89 = or i32 %86, %88
%90 = load i32, ptr %11, align 4
%91 = or i32 %90, %89
store i32 %91, ptr %11, align 4
%92 = load i64, ptr %7, align 8
%93 = icmp ne i64 %92, 0
br i1 %93, label %.lr.ph, label %104
.lr.ph: ; preds = %64
br label %94
94: ; preds = %.lr.ph, %97
%95 = load i32, ptr %11, align 4
%96 = load ptr, ptr %10, align 8
store i32 %95, ptr %96, align 4
br label %97
97: ; preds = %94
%98 = load i64, ptr %7, align 8
%99 = add i64 %98, -1
store i64 %99, ptr %7, align 8
%100 = load ptr, ptr %10, align 8
%101 = getelementptr inbounds i32, ptr %100, i32 1
store ptr %101, ptr %10, align 8
%102 = load i64, ptr %7, align 8
%103 = icmp ne i64 %102, 0
br i1 %103, label %94, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %97
br label %104
104: ; preds = %._crit_edge, %64
%105 = load ptr, ptr %5, align 8
store ptr %105, ptr %4, align 8
br label %106
106: ; preds = %104, %62, %49, %28, %15
%107 = load ptr, ptr %4, align 8
ret ptr %107
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpjjochjy1.c'
source_filename = "/tmp/tmpjjochjy1.c"
target datalayout = "e-m:e-p270: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/tmpjjochjy1.c"
target datalayout = "e-m:e-p270: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/tmpzr3wpid5.c'
source_filename = "/tmp/tmpzr3wpid5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libopm_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
ret ptr %13
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @strcpy(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/tmpzr3wpid5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @libopm_strdup(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i64 @strlen(ptr noundef %4)
%6 = add nsw i64 %5, 1
%7 = call ptr @malloc(i64 noundef %6)
store ptr %7, ptr %3, align 8
%8 = load ptr, ptr %3, align 8
%9 = call i32 @assert(ptr noundef %8)
%10 = load ptr, ptr %3, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @strcpy(ptr noundef %10, ptr noundef %11)
%13 = load ptr, ptr %3, align 8
ret ptr %13
}
declare ptr @malloc(i64 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare i32 @assert(ptr noundef) #1
declare i32 @strcpy(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/tmps1jzm0gh.c'
source_filename = "/tmp/tmps1jzm0gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_configuration_values_delimiter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %22, label %13
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %13
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %23
22: ; preds = %19, %16, %13, %4
store ptr null, ptr %5, align 8
br label %35
23: ; preds = %19
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = call ptr @get_configuration_section(ptr noundef %24, ptr noundef %25)
store ptr %26, ptr %10, align 8
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %23
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %10, align 8
%32 = load ptr, ptr %9, align 8
%33 = call ptr @get_section_values_delimiter(ptr noundef %30, ptr noundef %31, ptr noundef %32)
store ptr %33, ptr %5, align 8
br label %35
34: ; preds = %23
store ptr null, ptr %5, align 8
br label %35
35: ; preds = %34, %29, %22
%36 = load ptr, ptr %5, align 8
ret ptr %36
}
declare ptr @get_configuration_section(ptr noundef, ptr noundef) #1
declare ptr @get_section_values_delimiter(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/tmps1jzm0gh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_configuration_values_delimiter(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
%11 = load ptr, ptr %6, align 8
%12 = icmp eq ptr %11, null
br i1 %12, label %22, label %13
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %22, label %16
16: ; preds = %13
%17 = load ptr, ptr %8, align 8
%18 = icmp eq ptr %17, null
br i1 %18, label %22, label %19
19: ; preds = %16
%20 = load ptr, ptr %9, align 8
%21 = icmp eq ptr %20, null
br i1 %21, label %22, label %23
22: ; preds = %19, %16, %13, %4
store ptr null, ptr %5, align 8
br label %35
23: ; preds = %19
%24 = load ptr, ptr %7, align 8
%25 = load ptr, ptr %8, align 8
%26 = call ptr @get_configuration_section(ptr noundef %24, ptr noundef %25)
store ptr %26, ptr %10, align 8
%27 = load ptr, ptr %10, align 8
%28 = icmp ne ptr %27, null
br i1 %28, label %29, label %34
29: ; preds = %23
%30 = load ptr, ptr %6, align 8
%31 = load ptr, ptr %10, align 8
%32 = load ptr, ptr %9, align 8
%33 = call ptr @get_section_values_delimiter(ptr noundef %30, ptr noundef %31, ptr noundef %32)
store ptr %33, ptr %5, align 8
br label %35
34: ; preds = %23
store ptr null, ptr %5, align 8
br label %35
35: ; preds = %34, %29, %22
%36 = load ptr, ptr %5, align 8
ret ptr %36
}
declare ptr @get_configuration_section(ptr noundef, ptr noundef) #1
declare ptr @get_section_values_delimiter(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/tmpzg7iofyh.c'
source_filename = "/tmp/tmpzg7iofyh.c"
target datalayout = "e-m:e-p270: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/tmpzg7iofyh.c"
target datalayout = "e-m:e-p270: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/tmp90h5ksmw.c'
source_filename = "/tmp/tmp90h5ksmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"forward ok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @forward_ref() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp90h5ksmw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"forward ok\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @forward_ref() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbzco4h_p.c'
source_filename = "/tmp/tmpbzco4h_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"dah \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @blink_long() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbzco4h_p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"dah \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @blink_long() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl8h249xk.c'
source_filename = "/tmp/tmpl8h249xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @lol()
ret i32 0
}
declare i32 @lol(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl8h249xk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @lol()
ret i32 0
}
declare i32 @lol(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpukjczki8.c'
source_filename = "/tmp/tmpukjczki8.c"
target datalayout = "e-m:e-p270: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/tmpukjczki8.c"
target datalayout = "e-m:e-p270: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/tmpcpm_6rr6.c'
source_filename = "/tmp/tmpcpm_6rr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"register\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"auto\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"static\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @statement_declare() #0 {
%1 = alloca i32, align 4
%2 = call i64 @amatch(ptr noundef @.str, i32 noundef 8)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i64 @do_local_declares(i32 noundef 7)
br label %24
6: ; preds = %0
%7 = call i64 @amatch(ptr noundef @.str.1, i32 noundef 4)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i64 @do_local_declares(i32 noundef 6)
br label %23
11: ; preds = %6
%12 = call i64 @amatch(ptr noundef @.str.2, i32 noundef 6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i64 @do_local_declares(i32 noundef 5)
br label %22
16: ; preds = %11
%17 = call i64 @do_local_declares(i32 noundef 2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16
br label %21
20: ; preds = %16
store i32 0, ptr %1, align 4
br label %25
21: ; preds = %19
br label %22
22: ; preds = %21, %14
br label %23
23: ; preds = %22, %9
br label %24
24: ; preds = %23, %4
store i32 1, ptr %1, align 4
br label %25
25: ; preds = %24, %20
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i64 @amatch(ptr noundef, i32 noundef) #1
declare i64 @do_local_declares(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/tmpcpm_6rr6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"register\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"auto\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"static\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @statement_declare() #0 {
%1 = alloca i32, align 4
%2 = call i64 @amatch(ptr noundef @.str, i32 noundef 8)
%3 = icmp ne i64 %2, 0
br i1 %3, label %4, label %6
4: ; preds = %0
%5 = call i64 @do_local_declares(i32 noundef 7)
br label %24
6: ; preds = %0
%7 = call i64 @amatch(ptr noundef @.str.1, i32 noundef 4)
%8 = icmp ne i64 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %6
%10 = call i64 @do_local_declares(i32 noundef 6)
br label %23
11: ; preds = %6
%12 = call i64 @amatch(ptr noundef @.str.2, i32 noundef 6)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %11
%15 = call i64 @do_local_declares(i32 noundef 5)
br label %22
16: ; preds = %11
%17 = call i64 @do_local_declares(i32 noundef 2)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16
br label %21
20: ; preds = %16
store i32 0, ptr %1, align 4
br label %25
21: ; preds = %19
br label %22
22: ; preds = %21, %14
br label %23
23: ; preds = %22, %9
br label %24
24: ; preds = %23, %4
store i32 1, ptr %1, align 4
br label %25
25: ; preds = %24, %20
%26 = load i32, ptr %1, align 4
ret i32 %26
}
declare i64 @amatch(ptr noundef, i32 noundef) #1
declare i64 @do_local_declares(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/tmpr7uyg_wg.c'
source_filename = "/tmp/tmpr7uyg_wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR2 = 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/tmpr7uyg_wg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGUSR2 = 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/tmpbbdbu2ce.c'
source_filename = "/tmp/tmpbbdbu2ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"CPU %d Wait Load\090\09100\09%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printCPUxWaitInfo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 7
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
%9 = call i32 @output(ptr noundef @.str.1, i32 noundef %8)
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @output(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/tmpbbdbu2ce.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [27 x i8] c"CPU %d Wait Load\090\09100\09%%\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printCPUxWaitInfo(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = getelementptr inbounds i8, ptr %4, i64 7
%6 = call i32 @sscanf(ptr noundef %5, ptr noundef @.str, ptr noundef %3)
%7 = load i32, ptr %3, align 4
%8 = add nsw i32 %7, 1
%9 = call i32 @output(ptr noundef @.str.1, i32 noundef %8)
ret void
}
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @output(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/tmpcxu0wwzv.c'
source_filename = "/tmp/tmpcxu0wwzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @computeSymbolIndex(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i32 -1, ptr %3, align 4
%4 = load i8, ptr %2, align 1
%5 = call i64 @islower(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = sub nsw i32 %9, 97
%11 = add nsw i32 %10, 26
store i32 %11, ptr %3, align 4
br label %21
12: ; preds = %1
%13 = load i8, ptr %2, align 1
%14 = call i64 @isupper(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = sub nsw i32 %18, 65
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %16, %12
br label %21
21: ; preds = %20, %7
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i64 @islower(i8 noundef signext) #1
declare i64 @isupper(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/tmpcxu0wwzv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @computeSymbolIndex(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i32, align 4
store i8 %0, ptr %2, align 1
store i32 -1, ptr %3, align 4
%4 = load i8, ptr %2, align 1
%5 = call i64 @islower(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %12
7: ; preds = %1
%8 = load i8, ptr %2, align 1
%9 = sext i8 %8 to i32
%10 = sub nsw i32 %9, 97
%11 = add nsw i32 %10, 26
store i32 %11, ptr %3, align 4
br label %21
12: ; preds = %1
%13 = load i8, ptr %2, align 1
%14 = call i64 @isupper(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %20
16: ; preds = %12
%17 = load i8, ptr %2, align 1
%18 = sext i8 %17 to i32
%19 = sub nsw i32 %18, 65
store i32 %19, ptr %3, align 4
br label %20
20: ; preds = %16, %12
br label %21
21: ; preds = %20, %7
%22 = load i32, ptr %3, align 4
ret i32 %22
}
declare i64 @islower(i8 noundef signext) #1
declare i64 @isupper(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/tmpg5g0wz3q.c'
source_filename = "/tmp/tmpg5g0wz3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sched_getscheduler(i32 noundef 0)
%3 = call i32 @sched_getscheduler(i32 noundef -1)
%4 = call i32 @sched_getscheduler(i32 noundef 999999)
ret i32 0
}
declare i32 @sched_getscheduler(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/tmpg5g0wz3q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @sched_getscheduler(i32 noundef 0)
%3 = call i32 @sched_getscheduler(i32 noundef -1)
%4 = call i32 @sched_getscheduler(i32 noundef 999999)
ret i32 0
}
declare i32 @sched_getscheduler(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/tmp5ovppqdw.c'
source_filename = "/tmp/tmp5ovppqdw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @cstrcat(ptr noundef %4, ptr noundef %5)
ret i32 0
}
declare i32 @cstrcat(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/tmp5ovppqdw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = load ptr, ptr %2, align 8
%5 = load ptr, ptr %3, align 8
%6 = call i32 @cstrcat(ptr noundef %4, ptr noundef %5)
ret i32 0
}
declare i32 @cstrcat(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/tmp49g0sf2h.c'
source_filename = "/tmp/tmp49g0sf2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_LESS = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
@GL_SMOOTH = dso_local global i32 0, align 4
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @InitGL(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 = call i32 @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
%6 = call i32 @glClearDepth(double noundef 1.000000e+00)
%7 = load i32, ptr @GL_LESS, align 4
%8 = call i32 @glDepthFunc(i32 noundef %7)
%9 = load i32, ptr @GL_DEPTH_TEST, align 4
%10 = call i32 @glEnable(i32 noundef %9)
%11 = load i32, ptr @GL_SMOOTH, align 4
%12 = call i32 @glShadeModel(i32 noundef %11)
%13 = load i32, ptr @GL_PROJECTION, align 4
%14 = call i32 @glMatrixMode(i32 noundef %13)
%15 = call i32 (...) @glLoadIdentity()
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = sdiv i32 %16, %17
%19 = call i32 @gluPerspective(float noundef 4.500000e+01, i32 noundef %18, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02)
%20 = load i32, ptr @GL_MODELVIEW, align 4
%21 = call i32 @glMatrixMode(i32 noundef %20)
%22 = call i32 @InitParticle(i32 noundef 0)
ret void
}
declare i32 @glClearColor(float noundef, float noundef, float noundef, float noundef) #1
declare i32 @glClearDepth(double noundef) #1
declare i32 @glDepthFunc(i32 noundef) #1
declare i32 @glEnable(i32 noundef) #1
declare i32 @glShadeModel(i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(float noundef, i32 noundef, float noundef, float noundef) #1
declare i32 @InitParticle(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/tmp49g0sf2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@GL_LESS = dso_local global i32 0, align 4
@GL_DEPTH_TEST = dso_local global i32 0, align 4
@GL_SMOOTH = dso_local global i32 0, align 4
@GL_PROJECTION = dso_local global i32 0, align 4
@GL_MODELVIEW = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @InitGL(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 = call i32 @glClearColor(float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00)
%6 = call i32 @glClearDepth(double noundef 1.000000e+00)
%7 = load i32, ptr @GL_LESS, align 4
%8 = call i32 @glDepthFunc(i32 noundef %7)
%9 = load i32, ptr @GL_DEPTH_TEST, align 4
%10 = call i32 @glEnable(i32 noundef %9)
%11 = load i32, ptr @GL_SMOOTH, align 4
%12 = call i32 @glShadeModel(i32 noundef %11)
%13 = load i32, ptr @GL_PROJECTION, align 4
%14 = call i32 @glMatrixMode(i32 noundef %13)
%15 = call i32 (...) @glLoadIdentity()
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = sdiv i32 %16, %17
%19 = call i32 @gluPerspective(float noundef 4.500000e+01, i32 noundef %18, float noundef 0x3FB99999A0000000, float noundef 1.000000e+02)
%20 = load i32, ptr @GL_MODELVIEW, align 4
%21 = call i32 @glMatrixMode(i32 noundef %20)
%22 = call i32 @InitParticle(i32 noundef 0)
ret void
}
declare i32 @glClearColor(float noundef, float noundef, float noundef, float noundef) #1
declare i32 @glClearDepth(double noundef) #1
declare i32 @glDepthFunc(i32 noundef) #1
declare i32 @glEnable(i32 noundef) #1
declare i32 @glShadeModel(i32 noundef) #1
declare i32 @glMatrixMode(i32 noundef) #1
declare i32 @glLoadIdentity(...) #1
declare i32 @gluPerspective(float noundef, i32 noundef, float noundef, float noundef) #1
declare i32 @InitParticle(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/tmp4m6zc3zd.c'
source_filename = "/tmp/tmp4m6zc3zd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Log0(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 @puts(ptr noundef %3)
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/tmp4m6zc3zd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Log0(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 @puts(ptr noundef %3)
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/tmp59xd5cdn.c'
source_filename = "/tmp/tmp59xd5cdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = call i32 (...) @getchar()
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 256, ptr %2, align 4
br label %28
13: ; preds = %8, %1
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 92
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %2, align 4
br label %28
18: ; preds = %13
%19 = call i32 (...) @getchar()
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
switch i32 %20, label %26 [
i32 98, label %21
i32 110, label %22
i32 114, label %23
i32 92, label %24
i32 48, label %25
]
21: ; preds = %18
store i32 8, ptr %4, align 4
br label %26
22: ; preds = %18
store i32 10, ptr %4, align 4
br label %26
23: ; preds = %18
store i32 13, ptr %4, align 4
br label %26
24: ; preds = %18
store i32 92, ptr %4, align 4
br label %26
25: ; preds = %18
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %18, %25, %24, %23, %22, %21
%27 = load i32, ptr %4, align 4
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %16, %12
%29 = load i32, ptr %2, align 4
ret i32 %29
}
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/tmp59xd5cdn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strchar(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = call i32 (...) @getchar()
store i32 %5, ptr %4, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp eq i32 %9, %10
br i1 %11, label %12, label %13
12: ; preds = %8
store i32 256, ptr %2, align 4
br label %28
13: ; preds = %8, %1
%14 = load i32, ptr %4, align 4
%15 = icmp ne i32 %14, 92
br i1 %15, label %16, label %18
16: ; preds = %13
%17 = load i32, ptr %4, align 4
store i32 %17, ptr %2, align 4
br label %28
18: ; preds = %13
%19 = call i32 (...) @getchar()
store i32 %19, ptr %4, align 4
%20 = load i32, ptr %4, align 4
switch i32 %20, label %26 [
i32 98, label %21
i32 110, label %22
i32 114, label %23
i32 92, label %24
i32 48, label %25
]
21: ; preds = %18
store i32 8, ptr %4, align 4
br label %26
22: ; preds = %18
store i32 10, ptr %4, align 4
br label %26
23: ; preds = %18
store i32 13, ptr %4, align 4
br label %26
24: ; preds = %18
store i32 92, ptr %4, align 4
br label %26
25: ; preds = %18
store i32 0, ptr %4, align 4
br label %26
26: ; preds = %25, %24, %23, %22, %21, %18
%27 = load i32, ptr %4, align 4
store i32 %27, ptr %2, align 4
br label %28
28: ; preds = %26, %16, %12
%29 = load i32, ptr %2, align 4
ret i32 %29
}
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/tmps4ytycg_.c'
source_filename = "/tmp/tmps4ytycg_.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 2) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4ytycg_.c"
target datalayout = "e-m:e-p270: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 [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @die(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load i32, ptr @stderr, align 4
%4 = load ptr, ptr %2, align 8
%5 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4)
%6 = call i32 @exit(i32 noundef 2) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4uj696kh.c'
source_filename = "/tmp/tmp4uj696kh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"$L%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenPrintLabel(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = call i64 @isdigit(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf2(ptr noundef @.str, ptr noundef %8)
br label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 @printf2(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %10, %7
ret void
}
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @printf2(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/tmp4uj696kh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"$L%s\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @GenPrintLabel(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = call i64 @isdigit(i8 noundef signext %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %1
%8 = load ptr, ptr %2, align 8
%9 = call i32 @printf2(ptr noundef @.str, ptr noundef %8)
br label %13
10: ; preds = %1
%11 = load ptr, ptr %2, align 8
%12 = call i32 @printf2(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %10, %7
ret void
}
declare i64 @isdigit(i8 noundef signext) #1
declare i32 @printf2(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/tmp_w9ecpdu.c'
source_filename = "/tmp/tmp_w9ecpdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello there!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_w9ecpdu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [14 x i8] c"Hello there!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkhex5aor.c'
source_filename = "/tmp/tmpkhex5aor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\\hline\0A\\end{tabular}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @latex_output_table_footer(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkhex5aor.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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\\hline\0A\\end{tabular}\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @latex_output_table_footer(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 @fprintf(ptr noundef %3, ptr noundef @.str)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_ryujvys.c'
source_filename = "/tmp/tmp_ryujvys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bondi_newt(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #0 {
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca i32, align 4
%23 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store i32 %8, ptr %18, align 4
%24 = load double, ptr %12, align 8
%25 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %24, double 5.000000e+00)
%26 = fdiv double 2.000000e+00, %25
%27 = load double, ptr %12, align 8
%28 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %27, double 5.000000e+00)
%29 = load double, ptr %12, align 8
%30 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %29, double -2.000000e+00)
%31 = fdiv double %28, %30
%32 = call double @pow(double noundef %26, double noundef %31) #4
%33 = fmul double 2.500000e-01, %32
store double %33, ptr %19, align 8
%34 = load double, ptr %19, align 8
%35 = fcmp olt double %34, 2.500000e-01
br i1 %35, label %41, label %36
36: ; preds = %9
%37 = load double, ptr %12, align 8
%38 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %37, double -5.000000e+00)
%39 = call double @llvm.fabs.f64(double %38)
%40 = fcmp olt double %39, 0x3EB0C6F7A0B5ED8D
br i1 %40, label %41, label %42
41: ; preds = %36, %9
store double 2.500000e-01, ptr %19, align 8
br label %56
42: ; preds = %36
%43 = load double, ptr %19, align 8
%44 = call double @exp(double noundef 1.500000e+00) #4
%45 = fmul double 2.500000e-01, %44
%46 = fcmp ogt double %43, %45
br i1 %46, label %52, label %47
47: ; preds = %42
%48 = load double, ptr %12, align 8
%49 = fsub double %48, 1.000000e+00
%50 = call double @llvm.fabs.f64(double %49)
%51 = fcmp olt double %50, 0x3EB0C6F7A0B5ED8D
br i1 %51, label %52, label %55
52: ; preds = %47, %42
%53 = call double @exp(double noundef 1.500000e+00) #4
%54 = fmul double 2.500000e-01, %53
store double %54, ptr %19, align 8
br label %55
55: ; preds = %52, %47
br label %56
56: ; preds = %55, %41
%57 = load i32, ptr @M_PI, align 4
%58 = mul nsw i32 4, %57
%59 = sitofp i32 %58 to double
%60 = load double, ptr %19, align 8
%61 = fmul double %59, %60
%62 = load double, ptr %11, align 8
%63 = fmul double %61, %62
%64 = load double, ptr %11, align 8
%65 = fmul double %63, %64
%66 = load double, ptr %13, align 8
%67 = fmul double %65, %66
%68 = load double, ptr %10, align 8
%69 = fdiv double %67, %68
%70 = call double @pow(double noundef %69, double noundef 0x3FD5555555555555) #4
store double %70, ptr %20, align 8
%71 = load double, ptr %20, align 8
%72 = load double, ptr %20, align 8
%73 = fmul double %71, %72
%74 = load double, ptr %13, align 8
%75 = load double, ptr %12, align 8
%76 = fneg double %75
%77 = fadd double %76, 1.000000e+00
%78 = call double @pow(double noundef %74, double noundef %77) #4
%79 = fmul double %73, %78
%80 = load double, ptr %12, align 8
%81 = fdiv double %79, %80
store double %81, ptr %21, align 8
store i32 0, ptr %22, align 4
br label %82
82: ; preds = %141, %56
%83 = load i32, ptr %22, align 4
%84 = load i32, ptr %18, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %144
86: ; preds = %82
%87 = load double, ptr %10, align 8
%88 = load double, ptr %11, align 8
%89 = load ptr, ptr %14, align 8
%90 = load i32, ptr %22, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds double, ptr %89, i64 %91
%93 = load double, ptr %92, align 8
%94 = load double, ptr %12, align 8
%95 = load double, ptr %13, align 8
%96 = load double, ptr %20, align 8
%97 = load double, ptr %21, align 8
%98 = call double @bondi_newt_solve(double noundef %87, double noundef %88, double noundef %93, double noundef %94, double noundef %95, double noundef %96, double noundef %97)
store double %98, ptr %23, align 8
%99 = load double, ptr %10, align 8
%100 = fneg double %99
%101 = load i32, ptr @M_PI, align 4
%102 = mul nsw i32 4, %101
%103 = sitofp i32 %102 to double
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %22, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
%108 = load double, ptr %107, align 8
%109 = fmul double %103, %108
%110 = load ptr, ptr %14, align 8
%111 = load i32, ptr %22, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds double, ptr %110, i64 %112
%114 = load double, ptr %113, align 8
%115 = fmul double %109, %114
%116 = load double, ptr %23, align 8
%117 = fmul double %115, %116
%118 = fdiv double %100, %117
%119 = load ptr, ptr %15, align 8
%120 = load i32, ptr %22, align 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, ptr %119, i64 %121
store double %118, ptr %122, align 8
%123 = load double, ptr %23, align 8
%124 = load ptr, ptr %16, align 8
%125 = load i32, ptr %22, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, ptr %124, i64 %126
store double %123, ptr %127, align 8
%128 = load double, ptr %21, align 8
%129 = load ptr, ptr %15, align 8
%130 = load i32, ptr %22, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds double, ptr %129, i64 %131
%133 = load double, ptr %132, align 8
%134 = load double, ptr %12, align 8
%135 = call double @pow(double noundef %133, double noundef %134) #4
%136 = fmul double %128, %135
%137 = load ptr, ptr %17, align 8
%138 = load i32, ptr %22, align 4
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, ptr %137, i64 %139
store double %136, ptr %140, align 8
br label %141
141: ; preds = %86
%142 = load i32, ptr %22, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %22, align 4
br label %82, !llvm.loop !6
144: ; preds = %82
ret i32 0
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #1
declare double @bondi_newt_solve(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_ryujvys.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @bondi_newt(double noundef %0, double noundef %1, double noundef %2, double noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #0 {
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca ptr, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca i32, align 4
%23 = alloca double, align 8
store double %0, ptr %10, align 8
store double %1, ptr %11, align 8
store double %2, ptr %12, align 8
store double %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store ptr %6, ptr %16, align 8
store ptr %7, ptr %17, align 8
store i32 %8, ptr %18, align 4
%24 = load double, ptr %12, align 8
%25 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %24, double 5.000000e+00)
%26 = fdiv double 2.000000e+00, %25
%27 = load double, ptr %12, align 8
%28 = call double @llvm.fmuladd.f64(double -3.000000e+00, double %27, double 5.000000e+00)
%29 = load double, ptr %12, align 8
%30 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %29, double -2.000000e+00)
%31 = fdiv double %28, %30
%32 = call double @pow(double noundef %26, double noundef %31) #4
%33 = fmul double 2.500000e-01, %32
store double %33, ptr %19, align 8
%34 = load double, ptr %19, align 8
%35 = fcmp olt double %34, 2.500000e-01
br i1 %35, label %41, label %36
36: ; preds = %9
%37 = load double, ptr %12, align 8
%38 = call double @llvm.fmuladd.f64(double 3.000000e+00, double %37, double -5.000000e+00)
%39 = call double @llvm.fabs.f64(double %38)
%40 = fcmp olt double %39, 0x3EB0C6F7A0B5ED8D
br i1 %40, label %41, label %42
41: ; preds = %36, %9
store double 2.500000e-01, ptr %19, align 8
br label %56
42: ; preds = %36
%43 = load double, ptr %19, align 8
%44 = call double @exp(double noundef 1.500000e+00) #4
%45 = fmul double 2.500000e-01, %44
%46 = fcmp ogt double %43, %45
br i1 %46, label %52, label %47
47: ; preds = %42
%48 = load double, ptr %12, align 8
%49 = fsub double %48, 1.000000e+00
%50 = call double @llvm.fabs.f64(double %49)
%51 = fcmp olt double %50, 0x3EB0C6F7A0B5ED8D
br i1 %51, label %52, label %55
52: ; preds = %47, %42
%53 = call double @exp(double noundef 1.500000e+00) #4
%54 = fmul double 2.500000e-01, %53
store double %54, ptr %19, align 8
br label %55
55: ; preds = %52, %47
br label %56
56: ; preds = %55, %41
%57 = load i32, ptr @M_PI, align 4
%58 = mul nsw i32 4, %57
%59 = sitofp i32 %58 to double
%60 = load double, ptr %19, align 8
%61 = fmul double %59, %60
%62 = load double, ptr %11, align 8
%63 = fmul double %61, %62
%64 = load double, ptr %11, align 8
%65 = fmul double %63, %64
%66 = load double, ptr %13, align 8
%67 = fmul double %65, %66
%68 = load double, ptr %10, align 8
%69 = fdiv double %67, %68
%70 = call double @pow(double noundef %69, double noundef 0x3FD5555555555555) #4
store double %70, ptr %20, align 8
%71 = load double, ptr %20, align 8
%72 = load double, ptr %20, align 8
%73 = fmul double %71, %72
%74 = load double, ptr %13, align 8
%75 = load double, ptr %12, align 8
%76 = fneg double %75
%77 = fadd double %76, 1.000000e+00
%78 = call double @pow(double noundef %74, double noundef %77) #4
%79 = fmul double %73, %78
%80 = load double, ptr %12, align 8
%81 = fdiv double %79, %80
store double %81, ptr %21, align 8
store i32 0, ptr %22, align 4
%82 = load i32, ptr %22, align 4
%83 = load i32, ptr %18, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %.lr.ph, label %146
.lr.ph: ; preds = %56
br label %85
85: ; preds = %.lr.ph, %140
%86 = load double, ptr %10, align 8
%87 = load double, ptr %11, align 8
%88 = load ptr, ptr %14, align 8
%89 = load i32, ptr %22, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, ptr %88, i64 %90
%92 = load double, ptr %91, align 8
%93 = load double, ptr %12, align 8
%94 = load double, ptr %13, align 8
%95 = load double, ptr %20, align 8
%96 = load double, ptr %21, align 8
%97 = call double @bondi_newt_solve(double noundef %86, double noundef %87, double noundef %92, double noundef %93, double noundef %94, double noundef %95, double noundef %96)
store double %97, ptr %23, align 8
%98 = load double, ptr %10, align 8
%99 = fneg double %98
%100 = load i32, ptr @M_PI, align 4
%101 = mul nsw i32 4, %100
%102 = sitofp i32 %101 to double
%103 = load ptr, ptr %14, align 8
%104 = load i32, ptr %22, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds double, ptr %103, i64 %105
%107 = load double, ptr %106, align 8
%108 = fmul double %102, %107
%109 = load ptr, ptr %14, align 8
%110 = load i32, ptr %22, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load double, ptr %112, align 8
%114 = fmul double %108, %113
%115 = load double, ptr %23, align 8
%116 = fmul double %114, %115
%117 = fdiv double %99, %116
%118 = load ptr, ptr %15, align 8
%119 = load i32, ptr %22, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, ptr %118, i64 %120
store double %117, ptr %121, align 8
%122 = load double, ptr %23, align 8
%123 = load ptr, ptr %16, align 8
%124 = load i32, ptr %22, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds double, ptr %123, i64 %125
store double %122, ptr %126, align 8
%127 = load double, ptr %21, align 8
%128 = load ptr, ptr %15, align 8
%129 = load i32, ptr %22, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds double, ptr %128, i64 %130
%132 = load double, ptr %131, align 8
%133 = load double, ptr %12, align 8
%134 = call double @pow(double noundef %132, double noundef %133) #4
%135 = fmul double %127, %134
%136 = load ptr, ptr %17, align 8
%137 = load i32, ptr %22, align 4
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds double, ptr %136, i64 %138
store double %135, ptr %139, align 8
br label %140
140: ; preds = %85
%141 = load i32, ptr %22, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %22, align 4
%143 = load i32, ptr %22, align 4
%144 = load i32, ptr %18, align 4
%145 = icmp slt i32 %143, %144
br i1 %145, label %85, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %140
br label %146
146: ; preds = %._crit_edge, %56
ret i32 0
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2
; Function Attrs: nounwind
declare double @exp(double noundef) #1
declare double @bondi_newt_solve(double noundef, double noundef, double noundef, double noundef, double noundef, double noundef, double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpcxc9vibv.c'
source_filename = "/tmp/tmpcxc9vibv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"faz\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @faz_command() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcxc9vibv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"faz\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @faz_command() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph6c5xzqp.c'
source_filename = "/tmp/tmph6c5xzqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Error in RLE compression!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dact_rle_decompress(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%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 i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 0, ptr %11, align 4
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %13, align 1
store i32 1, ptr %10, align 4
br label %19
19: ; preds = %80, %4
%20 = load i32, ptr %10, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp slt i32 %20, %21
br i1 %22, label %23, label %83
23: ; preds = %19
%24 = load ptr, ptr %6, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
store i8 %28, ptr %14, align 1
%29 = load i8, ptr %14, align 1
%30 = zext i8 %29 to i32
%31 = load i8, ptr %13, align 1
%32 = zext i8 %31 to i32
%33 = icmp eq i32 %30, %32
br i1 %33, label %34, label %72
34: ; preds = %23
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %10, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %35, i64 %38
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %14, align 1
%41 = load ptr, ptr %6, align 8
%42 = load i32, ptr %10, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
store i8 %46, ptr %15, align 1
%47 = load i32, ptr %11, align 4
%48 = load i8, ptr %15, align 1
%49 = zext i8 %48 to i32
%50 = add nsw i32 %47, %49
%51 = load i32, ptr %9, align 4
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %55
53: ; preds = %34
%54 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %85
55: ; preds = %34
store i32 0, ptr %12, align 4
br label %56
56: ; preds = %68, %55
%57 = load i32, ptr %12, align 4
%58 = load i8, ptr %15, align 1
%59 = zext i8 %58 to i32
%60 = icmp slt i32 %57, %59
br i1 %60, label %61, label %71
61: ; preds = %56
%62 = load i8, ptr %14, align 1
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %11, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %11, align 4
%66 = sext i32 %64 to i64
%67 = getelementptr inbounds i8, ptr %63, i64 %66
store i8 %62, ptr %67, align 1
br label %68
68: ; preds = %61
%69 = load i32, ptr %12, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %12, align 4
br label %56, !llvm.loop !6
71: ; preds = %56
br label %79
72: ; preds = %23
%73 = load i8, ptr %14, align 1
%74 = load ptr, ptr %7, align 8
%75 = load i32, ptr %11, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %11, align 4
%77 = sext i32 %75 to i64
%78 = getelementptr inbounds i8, ptr %74, i64 %77
store i8 %73, ptr %78, align 1
br label %79
79: ; preds = %72, %71
br label %80
80: ; preds = %79
%81 = load i32, ptr %10, align 4
%82 = add nsw i32 %81, 1
store i32 %82, ptr %10, align 4
br label %19, !llvm.loop !8
83: ; preds = %19
%84 = load i32, ptr %11, align 4
store i32 %84, ptr %5, align 4
br label %85
85: ; preds = %83, %53
%86 = load i32, ptr %5, align 4
ret i32 %86
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6c5xzqp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"Error in RLE compression!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dact_rle_decompress(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%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 i32, align 4
%12 = alloca i32, align 4
%13 = alloca i8, align 1
%14 = alloca i8, align 1
%15 = alloca i8, align 1
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store i32 %3, ptr %9, align 4
store i32 0, ptr %11, align 4
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 0
%18 = load i8, ptr %17, align 1
store i8 %18, ptr %13, align 1
store i32 1, ptr %10, align 4
%19 = load i32, ptr %10, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %.lr.ph2, label %88
.lr.ph2: ; preds = %4
br label %22
22: ; preds = %.lr.ph2, %82
%23 = load ptr, ptr %6, align 8
%24 = load i32, ptr %10, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %14, align 1
%28 = load i8, ptr %14, align 1
%29 = zext i8 %28 to i32
%30 = load i8, ptr %13, align 1
%31 = zext i8 %30 to i32
%32 = icmp eq i32 %29, %31
br i1 %32, label %33, label %74
33: ; preds = %22
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %10, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %34, i64 %37
%39 = load i8, ptr %38, align 1
store i8 %39, ptr %14, align 1
%40 = load ptr, ptr %6, align 8
%41 = load i32, ptr %10, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %10, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i8, ptr %40, i64 %43
%45 = load i8, ptr %44, align 1
store i8 %45, ptr %15, align 1
%46 = load i32, ptr %11, align 4
%47 = load i8, ptr %15, align 1
%48 = zext i8 %47 to i32
%49 = add nsw i32 %46, %48
%50 = load i32, ptr %9, align 4
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %54
52: ; preds = %33
%53 = call i32 @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %90
54: ; preds = %33
store i32 0, ptr %12, align 4
%55 = load i32, ptr %12, align 4
%56 = load i8, ptr %15, align 1
%57 = zext i8 %56 to i32
%58 = icmp slt i32 %55, %57
br i1 %58, label %.lr.ph, label %73
.lr.ph: ; preds = %54
br label %59
59: ; preds = %.lr.ph, %66
%60 = load i8, ptr %14, align 1
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
%64 = sext i32 %62 to i64
%65 = getelementptr inbounds i8, ptr %61, i64 %64
store i8 %60, ptr %65, align 1
br label %66
66: ; preds = %59
%67 = load i32, ptr %12, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %12, align 4
%69 = load i32, ptr %12, align 4
%70 = load i8, ptr %15, align 1
%71 = zext i8 %70 to i32
%72 = icmp slt i32 %69, %71
br i1 %72, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %66
br label %73
73: ; preds = %._crit_edge, %54
br label %81
74: ; preds = %22
%75 = load i8, ptr %14, align 1
%76 = load ptr, ptr %7, align 8
%77 = load i32, ptr %11, align 4
%78 = add nsw i32 %77, 1
store i32 %78, ptr %11, align 4
%79 = sext i32 %77 to i64
%80 = getelementptr inbounds i8, ptr %76, i64 %79
store i8 %75, ptr %80, align 1
br label %81
81: ; preds = %74, %73
br label %82
82: ; preds = %81
%83 = load i32, ptr %10, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %10, align 4
%85 = load i32, ptr %10, align 4
%86 = load i32, ptr %8, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %88
88: ; preds = %._crit_edge3, %4
%89 = load i32, ptr %11, align 4
store i32 %89, ptr %5, align 4
br label %90
90: ; preds = %88, %52
%91 = load i32, ptr %5, align 4
ret i32 %91
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpkufqof3l.c'
source_filename = "/tmp/tmpkufqof3l.c"
target datalayout = "e-m:e-p270: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/tmpkufqof3l.c"
target datalayout = "e-m:e-p270: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/tmpevhoo_va.c'
source_filename = "/tmp/tmpevhoo_va.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"mul\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__ubsan_handle_mul_overflow(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
%9 = load ptr, ptr %6, align 8
%10 = call i32 @ubsan_report_overflow(ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @ubsan_report_overflow(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpevhoo_va.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"mul\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"*\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @__ubsan_handle_mul_overflow(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
%9 = load ptr, ptr %6, align 8
%10 = call i32 @ubsan_report_overflow(ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef @.str, ptr noundef @.str.1)
ret void
}
declare i32 @ubsan_report_overflow(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8pvw70th.c'
source_filename = "/tmp/tmp8pvw70th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memfile_create(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 @os_create_anonymous_file(i32 noundef %3)
ret i32 %4
}
declare i32 @os_create_anonymous_file(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/tmp8pvw70th.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memfile_create(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 @os_create_anonymous_file(i32 noundef %3)
ret i32 %4
}
declare i32 @os_create_anonymous_file(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/tmphsg41_cx.c'
source_filename = "/tmp/tmphsg41_cx.c"
target datalayout = "e-m:e-p270: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/tmphsg41_cx.c"
target datalayout = "e-m:e-p270: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/tmpum4j42gy.c'
source_filename = "/tmp/tmpum4j42gy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %d %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [3 x float], align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %22, %0
%5 = load i32, ptr %3, align 4
%6 = icmp slt i32 %5, 3
br i1 %6, label %7, label %25
7: ; preds = %4
%8 = load i32, ptr %3, align 4
%9 = sitofp i32 %8 to float
%10 = fpext float %9 to double
%11 = fmul double 5.000000e-01, %10
%12 = fptrunc double %11 to float
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [3 x float], ptr %1, i64 0, i64 %14
store float %12, ptr %15, align 4
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [3 x float], ptr %1, i64 0, i64 %18
%20 = load float, ptr %19, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %16, float noundef %20)
br label %22
22: ; preds = %7
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
br label %4, !llvm.loop !6
25: ; preds = %4
%26 = getelementptr inbounds [3 x float], ptr %1, i64 0, i64 0
store ptr %26, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %38, %25
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %30, label %41
30: ; preds = %27
%31 = load i32, ptr %3, align 4
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %32, i64 %34
%36 = load float, ptr %35, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %31, float noundef %36)
br label %38
38: ; preds = %30
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
br label %27, !llvm.loop !8
41: ; preds = %27
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpum4j42gy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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" %d %f \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
%1 = alloca [3 x float], align 4
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp slt i32 %4, 3
br i1 %5, label %.lr.ph, label %26
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %21
%7 = load i32, ptr %3, align 4
%8 = sitofp i32 %7 to float
%9 = fpext float %8 to double
%10 = fmul double 5.000000e-01, %9
%11 = fptrunc double %10 to float
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [3 x float], ptr %1, i64 0, i64 %13
store float %11, ptr %14, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [3 x float], ptr %1, i64 0, i64 %17
%19 = load float, ptr %18, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %15, float noundef %19)
br label %21
21: ; preds = %6
%22 = load i32, ptr %3, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %3, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %24, 3
br i1 %25, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %0
%27 = getelementptr inbounds [3 x float], ptr %1, i64 0, i64 0
store ptr %27, ptr %2, align 8
store i32 0, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = icmp slt i32 %28, 3
br i1 %29, label %.lr.ph2, label %43
.lr.ph2: ; preds = %26
br label %30
30: ; preds = %.lr.ph2, %38
%31 = load i32, ptr %3, align 4
%32 = load ptr, ptr %2, align 8
%33 = load i32, ptr %3, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds float, ptr %32, i64 %34
%36 = load float, ptr %35, align 4
%37 = call i32 @printf(ptr noundef @.str, i32 noundef %31, float noundef %36)
br label %38
38: ; preds = %30
%39 = load i32, ptr %3, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %3, align 4
%41 = load i32, ptr %3, align 4
%42 = icmp slt i32 %41, 3
br i1 %42, label %30, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %43
43: ; preds = %._crit_edge3, %26
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, float noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpyulrw006.c'
source_filename = "/tmp/tmpyulrw006.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @_Z8swscalbnei(x86_fp80 noundef %0, i32 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca i32, align 4
store x86_fp80 %0, ptr %3, align 16
store i32 %1, ptr %4, align 4
%5 = load x86_fp80, ptr %3, align 16
%6 = load i32, ptr %4, align 4
%7 = call x86_fp80 @scalbnl(x86_fp80 noundef %5, i32 noundef %6) #2
ret x86_fp80 %7
}
; Function Attrs: nounwind
declare x86_fp80 @scalbnl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpyulrw006.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local x86_fp80 @_Z8swscalbnei(x86_fp80 noundef %0, i32 noundef %1) #0 {
%3 = alloca x86_fp80, align 16
%4 = alloca i32, align 4
store x86_fp80 %0, ptr %3, align 16
store i32 %1, ptr %4, align 4
%5 = load x86_fp80, ptr %3, align 16
%6 = load i32, ptr %4, align 4
%7 = call x86_fp80 @scalbnl(x86_fp80 noundef %5, i32 noundef %6) #2
ret x86_fp80 %7
}
; Function Attrs: nounwind
declare x86_fp80 @scalbnl(x86_fp80 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp7fid_3bx.c'
source_filename = "/tmp/tmp7fid_3bx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_fd_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.stat, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @fstat(i32 noundef %5, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = call i32 @perror(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef -1) #3
unreachable
12: ; preds = %1
%13 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%14 = load i32, ptr %13, align 4
ret i32 %14
}
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7fid_3bx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@.str = private unnamed_addr constant [6 x i8] c"fstat\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @get_fd_size(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca %struct.stat, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call i32 @fstat(i32 noundef %5, ptr noundef %3)
store i32 %6, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp eq i32 %7, -1
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = call i32 @perror(ptr noundef @.str)
%11 = call i32 @exit(i32 noundef -1) #3
unreachable
12: ; preds = %1
%13 = getelementptr inbounds %struct.stat, ptr %3, i32 0, i32 0
%14 = load i32, ptr %13, align 4
ret i32 %14
}
declare i32 @fstat(i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp6znd0jac.c'
source_filename = "/tmp/tmp6znd0jac.c"
target datalayout = "e-m:e-p270: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/tmp6znd0jac.c"
target datalayout = "e-m:e-p270: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/tmp9h4_gy0o.c'
source_filename = "/tmp/tmp9h4_gy0o.c"
target datalayout = "e-m:e-p270: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/tmp9h4_gy0o.c"
target datalayout = "e-m:e-p270: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/tmpfe_jwk7i.c'
source_filename = "/tmp/tmpfe_jwk7i.c"
target datalayout = "e-m:e-p270: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/tmpfe_jwk7i.c"
target datalayout = "e-m:e-p270: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/tmpcc46vwgw.c'
source_filename = "/tmp/tmpcc46vwgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_dobldobl_retrieve_tropism(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [2 x i32], align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
%18 = mul nsw i32 2, %17
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %14, align 8
%21 = alloca double, i64 %19, align 16
store i64 %19, ptr %15, align 8
%22 = load i32, ptr %6, align 4
%23 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %7, align 4
%25 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%27 = load ptr, ptr %8, align 8
%28 = call i32 @_ada_use_c2phc(i32 noundef 724, ptr noundef %26, ptr noundef %27, ptr noundef %21)
store i32 %28, ptr %11, align 4
store i32 0, ptr %12, align 4
br label %29
29: ; preds = %43, %5
%30 = load i32, ptr %12, align 4
%31 = load i32, ptr %6, align 4
%32 = mul nsw i32 2, %31
%33 = icmp slt i32 %30, %32
br i1 %33, label %34, label %46
34: ; preds = %29
%35 = load i32, ptr %12, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds double, ptr %21, i64 %36
%38 = load double, ptr %37, align 8
%39 = load ptr, ptr %9, align 8
%40 = load i32, ptr %12, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds double, ptr %39, i64 %41
store double %38, ptr %42, align 8
br label %43
43: ; preds = %34
%44 = load i32, ptr %12, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %12, align 4
br label %29, !llvm.loop !6
46: ; preds = %29
%47 = load i32, ptr %6, align 4
%48 = mul nsw i32 2, %47
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, ptr %21, i64 %49
%51 = load double, ptr %50, align 8
%52 = load ptr, ptr %10, align 8
%53 = getelementptr inbounds double, ptr %52, i64 0
store double %51, ptr %53, align 8
%54 = load i32, ptr %6, align 4
%55 = mul nsw i32 2, %54
%56 = add nsw i32 %55, 1
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds double, ptr %21, i64 %57
%59 = load double, ptr %58, align 8
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds double, ptr %60, i64 1
store double %59, ptr %61, align 8
%62 = load i32, ptr %11, align 4
%63 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %63)
ret i32 %62
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
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/tmpcc46vwgw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @numbtrop_dobldobl_retrieve_tropism(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca [2 x i32], align 4
%14 = alloca ptr, align 8
%15 = alloca i64, align 8
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store ptr %4, ptr %10, align 8
%16 = load i32, ptr %6, align 4
%17 = add nsw i32 %16, 1
%18 = mul nsw i32 2, %17
%19 = zext i32 %18 to i64
%20 = call ptr @llvm.stacksave()
store ptr %20, ptr %14, align 8
%21 = alloca double, i64 %19, align 16
store i64 %19, ptr %15, align 8
%22 = load i32, ptr %6, align 4
%23 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
store i32 %22, ptr %23, align 4
%24 = load i32, ptr %7, align 4
%25 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 1
store i32 %24, ptr %25, align 4
%26 = getelementptr inbounds [2 x i32], ptr %13, i64 0, i64 0
%27 = load ptr, ptr %8, align 8
%28 = call i32 @_ada_use_c2phc(i32 noundef 724, ptr noundef %26, ptr noundef %27, ptr noundef %21)
store i32 %28, ptr %11, align 4
store i32 0, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr %6, align 4
%31 = mul nsw i32 2, %30
%32 = icmp slt i32 %29, %31
br i1 %32, label %.lr.ph, label %49
.lr.ph: ; preds = %5
br label %33
33: ; preds = %.lr.ph, %42
%34 = load i32, ptr %12, align 4
%35 = sext i32 %34 to i64
%36 = getelementptr inbounds double, ptr %21, i64 %35
%37 = load double, ptr %36, align 8
%38 = load ptr, ptr %9, align 8
%39 = load i32, ptr %12, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds double, ptr %38, i64 %40
store double %37, ptr %41, align 8
br label %42
42: ; preds = %33
%43 = load i32, ptr %12, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %12, align 4
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr %6, align 4
%47 = mul nsw i32 2, %46
%48 = icmp slt i32 %45, %47
br i1 %48, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %49
49: ; preds = %._crit_edge, %5
%50 = load i32, ptr %6, align 4
%51 = mul nsw i32 2, %50
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds double, ptr %21, i64 %52
%54 = load double, ptr %53, align 8
%55 = load ptr, ptr %10, align 8
%56 = getelementptr inbounds double, ptr %55, i64 0
store double %54, ptr %56, align 8
%57 = load i32, ptr %6, align 4
%58 = mul nsw i32 2, %57
%59 = add nsw i32 %58, 1
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %21, i64 %60
%62 = load double, ptr %61, align 8
%63 = load ptr, ptr %10, align 8
%64 = getelementptr inbounds double, ptr %63, i64 1
store double %62, ptr %64, align 8
%65 = load i32, ptr %11, align 4
%66 = load ptr, ptr %14, align 8
call void @llvm.stackrestore(ptr %66)
ret i32 %65
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="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 willreturn }
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/tmpoqifohdh.c'
source_filename = "/tmp/tmpoqifohdh.c"
target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 }
@O_WRONLY = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"open\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@POLLIN = dso_local global i32 0, align 4
@POLLOUT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"poll\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%d seconds elapsed!\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"stdin is readable!\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"opened fd is writable!\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 [2 x %struct.pollfd], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr @O_WRONLY, align 4
%14 = load i32, ptr @O_EXCL, align 4
%15 = or i32 %13, %14
%16 = call i32 @open(ptr noundef %12, i32 noundef %15, i32 noundef 420)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %64
21: ; preds = %2
%22 = load i32, ptr @STDIN_FILENO, align 4
%23 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%24 = getelementptr inbounds %struct.pollfd, ptr %23, i32 0, i32 0
store i32 %22, ptr %24, align 16
%25 = load i32, ptr @POLLIN, align 4
%26 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%27 = getelementptr inbounds %struct.pollfd, ptr %26, i32 0, i32 1
store i32 %25, ptr %27, align 4
%28 = load i32, ptr %8, align 4
%29 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 1
%30 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 0
store i32 %28, ptr %30, align 4
%31 = load i32, ptr @POLLOUT, align 4
%32 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 1
%33 = getelementptr inbounds %struct.pollfd, ptr %32, i32 0, i32 1
store i32 %31, ptr %33, align 4
%34 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%35 = call i32 @poll(ptr noundef %34, i32 noundef 2, i32 noundef 5000)
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %40
38: ; preds = %21
%39 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %64
40: ; preds = %21
%41 = load i32, ptr %7, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %64
45: ; preds = %40
%46 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%47 = getelementptr inbounds %struct.pollfd, ptr %46, i32 0, i32 2
%48 = load i32, ptr %47, align 8
%49 = load i32, ptr @POLLIN, align 4
%50 = and i32 %48, %49
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %45
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %45
%55 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 1
%56 = getelementptr inbounds %struct.pollfd, ptr %55, i32 0, i32 2
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr @POLLOUT, align 4
%59 = and i32 %57, %58
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %54
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %63
63: ; preds = %61, %54
store i32 0, ptr %3, align 4
br label %64
64: ; preds = %63, %43, %38, %19
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoqifohdh.c"
target datalayout = "e-m:e-p270: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.pollfd = type { i32, i32, i32 }
@O_WRONLY = dso_local global i32 0, align 4
@O_EXCL = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [5 x i8] c"open\00", align 1
@STDIN_FILENO = dso_local global i32 0, align 4
@POLLIN = dso_local global i32 0, align 4
@POLLOUT = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [5 x i8] c"poll\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"%d seconds elapsed!\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"stdin is readable!\0A\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"opened fd is writable!\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 [2 x %struct.pollfd], align 16
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds ptr, ptr %10, i64 1
%12 = load ptr, ptr %11, align 8
%13 = load i32, ptr @O_WRONLY, align 4
%14 = load i32, ptr @O_EXCL, align 4
%15 = or i32 %13, %14
%16 = call i32 @open(ptr noundef %12, i32 noundef %15, i32 noundef 420)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = icmp eq i32 %17, -1
br i1 %18, label %19, label %21
19: ; preds = %2
%20 = call i32 @perror(ptr noundef @.str)
store i32 1, ptr %3, align 4
br label %64
21: ; preds = %2
%22 = load i32, ptr @STDIN_FILENO, align 4
%23 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%24 = getelementptr inbounds %struct.pollfd, ptr %23, i32 0, i32 0
store i32 %22, ptr %24, align 16
%25 = load i32, ptr @POLLIN, align 4
%26 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%27 = getelementptr inbounds %struct.pollfd, ptr %26, i32 0, i32 1
store i32 %25, ptr %27, align 4
%28 = load i32, ptr %8, align 4
%29 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 1
%30 = getelementptr inbounds %struct.pollfd, ptr %29, i32 0, i32 0
store i32 %28, ptr %30, align 4
%31 = load i32, ptr @POLLOUT, align 4
%32 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 1
%33 = getelementptr inbounds %struct.pollfd, ptr %32, i32 0, i32 1
store i32 %31, ptr %33, align 4
%34 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%35 = call i32 @poll(ptr noundef %34, i32 noundef 2, i32 noundef 5000)
store i32 %35, ptr %7, align 4
%36 = load i32, ptr %7, align 4
%37 = icmp eq i32 %36, -1
br i1 %37, label %38, label %40
38: ; preds = %21
%39 = call i32 @perror(ptr noundef @.str.1)
store i32 1, ptr %3, align 4
br label %64
40: ; preds = %21
%41 = load i32, ptr %7, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %45, label %43
43: ; preds = %40
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef 5)
store i32 0, ptr %3, align 4
br label %64
45: ; preds = %40
%46 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 0
%47 = getelementptr inbounds %struct.pollfd, ptr %46, i32 0, i32 2
%48 = load i32, ptr %47, align 8
%49 = load i32, ptr @POLLIN, align 4
%50 = and i32 %48, %49
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %54
52: ; preds = %45
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %54
54: ; preds = %52, %45
%55 = getelementptr inbounds [2 x %struct.pollfd], ptr %6, i64 0, i64 1
%56 = getelementptr inbounds %struct.pollfd, ptr %55, i32 0, i32 2
%57 = load i32, ptr %56, align 4
%58 = load i32, ptr @POLLOUT, align 4
%59 = and i32 %57, %58
%60 = icmp ne i32 %59, 0
br i1 %60, label %61, label %63
61: ; preds = %54
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %63
63: ; preds = %61, %54
store i32 0, ptr %3, align 4
br label %64
64: ; preds = %63, %43, %38, %19
%65 = load i32, ptr %3, align 4
ret i32 %65
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @poll(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeswdzsso.c'
source_filename = "/tmp/tmpeswdzsso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %13, %0
%8 = load i32, ptr %4, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp ne i32 %8, %9
br i1 %10, label %11, label %16
11: ; preds = %7
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %13
13: ; preds = %11
%14 = load i32, ptr %5, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %5, align 4
br label %7, !llvm.loop !6
16: ; preds = %7
%17 = load i32, ptr %5, align 4
%18 = call i32 @printf(ptr noundef @.str.2, i32 noundef %17)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeswdzsso.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%d%d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
store i32 0, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp ne i32 %7, %8
br i1 %9, label %.lr.ph, label %18
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %12
%11 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4)
br label %12
12: ; preds = %10
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %5, align 4
%15 = load i32, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %18
18: ; preds = %._crit_edge, %0
%19 = load i32, ptr %5, align 4
%20 = call i32 @printf(ptr noundef @.str.2, i32 noundef %19)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp2e5f23s2.c'
source_filename = "/tmp/tmp2e5f23s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2e5f23s2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@BUFSIZ = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpssb9guv6.c'
source_filename = "/tmp/tmpssb9guv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\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 [4 x [4 x i32]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %8
8: ; preds = %27, %0
%9 = load i32, ptr %2, align 4
%10 = icmp slt i32 %9, 4
br i1 %10, label %11, label %30
11: ; preds = %8
store i32 0, ptr %4, align 4
br label %12
12: ; preds = %23, %11
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 4
br i1 %14, label %15, label %26
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %17
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds [4 x i32], ptr %18, i64 0, i64 %20
%22 = call i32 @scanf(ptr noundef @.str, ptr noundef %21)
br label %23
23: ; preds = %15
%24 = load i32, ptr %4, align 4
%25 = add nsw i32 %24, 1
store i32 %25, ptr %4, align 4
br label %12, !llvm.loop !6
26: ; preds = %12
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
br label %8, !llvm.loop !8
30: ; preds = %8
store i32 0, ptr %2, align 4
br label %31
31: ; preds = %52, %30
%32 = load i32, ptr %2, align 4
%33 = icmp slt i32 %32, 4
br i1 %33, label %34, label %55
34: ; preds = %31
%35 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %36
36: ; preds = %48, %34
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 4
br i1 %38, label %39, label %51
39: ; preds = %36
%40 = load i32, ptr %2, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x i32], ptr %42, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 @printf(ptr noundef @.str.2, i32 noundef %46)
br label %48
48: ; preds = %39
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
br label %36, !llvm.loop !9
51: ; preds = %36
br label %52
52: ; preds = %51
%53 = load i32, ptr %2, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %2, align 4
br label %31, !llvm.loop !10
55: ; preds = %31
store i32 0, ptr %5, align 4
br label %56
56: ; preds = %97, %55
%57 = load i32, ptr %5, align 4
%58 = icmp slt i32 %57, 4
br i1 %58, label %59, label %100
59: ; preds = %56
store i32 1, ptr %2, align 4
store i32 1, ptr %4, align 4
br label %60
60: ; preds = %91, %59
%61 = load i32, ptr %2, align 4
%62 = icmp slt i32 %61, 4
br i1 %62, label %63, label %96
63: ; preds = %60
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %65
%67 = load i32, ptr %2, align 4
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds [4 x i32], ptr %66, i64 0, i64 %68
%70 = load i32, ptr %69, align 4
store i32 %70, ptr %6, align 4
%71 = load i32, ptr %4, align 4
%72 = sext i32 %71 to i64
%73 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %72
%74 = load i32, ptr %5, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [4 x i32], ptr %73, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load i32, ptr %5, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %79
%81 = load i32, ptr %2, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [4 x i32], ptr %80, i64 0, i64 %82
store i32 %77, ptr %83, align 4
%84 = load i32, ptr %6, align 4
%85 = load i32, ptr %4, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %86
%88 = load i32, ptr %5, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds [4 x i32], ptr %87, i64 0, i64 %89
store i32 %84, ptr %90, align 4
br label %91
91: ; preds = %63
%92 = load i32, ptr %2, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %2, align 4
%94 = load i32, ptr %4, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %4, align 4
br label %60, !llvm.loop !11
96: ; preds = %60
br label %97
97: ; preds = %96
%98 = load i32, ptr %5, align 4
%99 = add nsw i32 2, %98
store i32 %99, ptr %5, align 4
br label %56, !llvm.loop !12
100: ; preds = %56
%101 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 1
%102 = getelementptr inbounds [4 x i32], ptr %101, i64 0, i64 3
%103 = load i32, ptr %102, align 4
store i32 %103, ptr %7, align 4
%104 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 3
%105 = getelementptr inbounds [4 x i32], ptr %104, i64 0, i64 1
%106 = load i32, ptr %105, align 4
%107 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 1
%108 = getelementptr inbounds [4 x i32], ptr %107, i64 0, i64 3
store i32 %106, ptr %108, align 4
%109 = load i32, ptr %7, align 4
%110 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 3
%111 = getelementptr inbounds [4 x i32], ptr %110, i64 0, i64 1
store i32 %109, ptr %111, align 4
%112 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %2, align 4
br label %113
113: ; preds = %134, %100
%114 = load i32, ptr %2, align 4
%115 = icmp slt i32 %114, 4
br i1 %115, label %116, label %137
116: ; preds = %113
%117 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
br label %118
118: ; preds = %130, %116
%119 = load i32, ptr %4, align 4
%120 = icmp slt i32 %119, 4
br i1 %120, label %121, label %133
121: ; preds = %118
%122 = load i32, ptr %2, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %123
%125 = load i32, ptr %4, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds [4 x i32], ptr %124, i64 0, i64 %126
%128 = load i32, ptr %127, align 4
%129 = call i32 @printf(ptr noundef @.str.2, i32 noundef %128)
br label %130
130: ; preds = %121
%131 = load i32, ptr %4, align 4
%132 = add nsw i32 %131, 1
store i32 %132, ptr %4, align 4
br label %118, !llvm.loop !13
133: ; preds = %118
br label %134
134: ; preds = %133
%135 = load i32, ptr %2, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %2, align 4
br label %113, !llvm.loop !14
137: ; preds = %113
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpssb9guv6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"%d\09\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 [4 x [4 x i32]], align 16
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %8, 4
br i1 %9, label %.lr.ph2, label %32
.lr.ph2: ; preds = %0
br label %10
10: ; preds = %.lr.ph2, %27
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp slt i32 %11, 4
br i1 %12, label %.lr.ph, label %26
.lr.ph: ; preds = %10
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %15
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [4 x i32], ptr %16, i64 0, i64 %18
%20 = call i32 @scanf(ptr noundef @.str, ptr noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %4, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %4, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp slt i32 %24, 4
br i1 %25, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %26
26: ; preds = %._crit_edge, %10
br label %27
27: ; preds = %26
%28 = load i32, ptr %2, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %2, align 4
%30 = load i32, ptr %2, align 4
%31 = icmp slt i32 %30, 4
br i1 %31, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %27
br label %32
32: ; preds = %._crit_edge3, %0
store i32 0, ptr %2, align 4
%33 = load i32, ptr %2, align 4
%34 = icmp slt i32 %33, 4
br i1 %34, label %.lr.ph8, label %59
.lr.ph8: ; preds = %32
br label %35
35: ; preds = %.lr.ph8, %54
%36 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
%37 = load i32, ptr %4, align 4
%38 = icmp slt i32 %37, 4
br i1 %38, label %.lr.ph5, label %53
.lr.ph5: ; preds = %35
br label %39
39: ; preds = %.lr.ph5, %48
%40 = load i32, ptr %2, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %41
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [4 x i32], ptr %42, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
%47 = call i32 @printf(ptr noundef @.str.2, i32 noundef %46)
br label %48
48: ; preds = %39
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %4, align 4
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %51, 4
br i1 %52, label %39, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %48
br label %53
53: ; preds = %._crit_edge6, %35
br label %54
54: ; preds = %53
%55 = load i32, ptr %2, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %2, align 4
%57 = load i32, ptr %2, align 4
%58 = icmp slt i32 %57, 4
br i1 %58, label %35, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %54
br label %59
59: ; preds = %._crit_edge9, %32
store i32 0, ptr %5, align 4
%60 = load i32, ptr %5, align 4
%61 = icmp slt i32 %60, 4
br i1 %61, label %.lr.ph14, label %106
.lr.ph14: ; preds = %59
br label %62
62: ; preds = %.lr.ph14, %101
store i32 1, ptr %2, align 4
store i32 1, ptr %4, align 4
%63 = load i32, ptr %2, align 4
%64 = icmp slt i32 %63, 4
br i1 %64, label %.lr.ph11, label %100
.lr.ph11: ; preds = %62
br label %65
65: ; preds = %.lr.ph11, %93
%66 = load i32, ptr %5, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %67
%69 = load i32, ptr %2, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds [4 x i32], ptr %68, i64 0, i64 %70
%72 = load i32, ptr %71, align 4
store i32 %72, ptr %6, align 4
%73 = load i32, ptr %4, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %74
%76 = load i32, ptr %5, align 4
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds [4 x i32], ptr %75, i64 0, i64 %77
%79 = load i32, ptr %78, align 4
%80 = load i32, ptr %5, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %81
%83 = load i32, ptr %2, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds [4 x i32], ptr %82, i64 0, i64 %84
store i32 %79, ptr %85, align 4
%86 = load i32, ptr %6, align 4
%87 = load i32, ptr %4, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %88
%90 = load i32, ptr %5, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [4 x i32], ptr %89, i64 0, i64 %91
store i32 %86, ptr %92, align 4
br label %93
93: ; preds = %65
%94 = load i32, ptr %2, align 4
%95 = add nsw i32 %94, 1
store i32 %95, ptr %2, align 4
%96 = load i32, ptr %4, align 4
%97 = add nsw i32 %96, 1
store i32 %97, ptr %4, align 4
%98 = load i32, ptr %2, align 4
%99 = icmp slt i32 %98, 4
br i1 %99, label %65, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %93
br label %100
100: ; preds = %._crit_edge12, %62
br label %101
101: ; preds = %100
%102 = load i32, ptr %5, align 4
%103 = add nsw i32 2, %102
store i32 %103, ptr %5, align 4
%104 = load i32, ptr %5, align 4
%105 = icmp slt i32 %104, 4
br i1 %105, label %62, label %._crit_edge15, !llvm.loop !12
._crit_edge15: ; preds = %101
br label %106
106: ; preds = %._crit_edge15, %59
%107 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 1
%108 = getelementptr inbounds [4 x i32], ptr %107, i64 0, i64 3
%109 = load i32, ptr %108, align 4
store i32 %109, ptr %7, align 4
%110 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 3
%111 = getelementptr inbounds [4 x i32], ptr %110, i64 0, i64 1
%112 = load i32, ptr %111, align 4
%113 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 1
%114 = getelementptr inbounds [4 x i32], ptr %113, i64 0, i64 3
store i32 %112, ptr %114, align 4
%115 = load i32, ptr %7, align 4
%116 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 3
%117 = getelementptr inbounds [4 x i32], ptr %116, i64 0, i64 1
store i32 %115, ptr %117, align 4
%118 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %2, align 4
%119 = load i32, ptr %2, align 4
%120 = icmp slt i32 %119, 4
br i1 %120, label %.lr.ph20, label %145
.lr.ph20: ; preds = %106
br label %121
121: ; preds = %.lr.ph20, %140
%122 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %4, align 4
%123 = load i32, ptr %4, align 4
%124 = icmp slt i32 %123, 4
br i1 %124, label %.lr.ph17, label %139
.lr.ph17: ; preds = %121
br label %125
125: ; preds = %.lr.ph17, %134
%126 = load i32, ptr %2, align 4
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds [4 x [4 x i32]], ptr %3, i64 0, i64 %127
%129 = load i32, ptr %4, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [4 x i32], ptr %128, i64 0, i64 %130
%132 = load i32, ptr %131, align 4
%133 = call i32 @printf(ptr noundef @.str.2, i32 noundef %132)
br label %134
134: ; preds = %125
%135 = load i32, ptr %4, align 4
%136 = add nsw i32 %135, 1
store i32 %136, ptr %4, align 4
%137 = load i32, ptr %4, align 4
%138 = icmp slt i32 %137, 4
br i1 %138, label %125, label %._crit_edge18, !llvm.loop !13
._crit_edge18: ; preds = %134
br label %139
139: ; preds = %._crit_edge18, %121
br label %140
140: ; preds = %139
%141 = load i32, ptr %2, align 4
%142 = add nsw i32 %141, 1
store i32 %142, ptr %2, align 4
%143 = load i32, ptr %2, align 4
%144 = icmp slt i32 %143, 4
br i1 %144, label %121, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %140
br label %145
145: ; preds = %._crit_edge21, %106
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @puts(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpg_dzgjcr.c'
source_filename = "/tmp/tmpg_dzgjcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %s\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 void @disp_image(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 i8, align 1
%11 = alloca [8 x i8], align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
br label %12
12: ; preds = %45, %3
%13 = load i32, ptr %7, align 4
%14 = load i32, ptr %5, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %48
16: ; preds = %12
store i32 0, ptr %8, align 4
br label %17
17: ; preds = %40, %16
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %6, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %43
21: ; preds = %17
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %9, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %9, align 4
%25 = sext i32 %23 to i64
%26 = getelementptr inbounds i8, ptr %22, i64 %25
%27 = load i8, ptr %26, align 1
store i8 %27, ptr %10, align 1
%28 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%29 = load i8, ptr %10, align 1
%30 = call i32 @sprintf(ptr noundef %28, ptr noundef @.str, i8 noundef zeroext %29)
%31 = load i32, ptr %8, align 4
%32 = icmp eq i32 %31, 0
br i1 %32, label %33, label %36
33: ; preds = %21
%34 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %34)
br label %39
36: ; preds = %21
%37 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %37)
br label %39
39: ; preds = %36, %33
br label %40
40: ; preds = %39
%41 = load i32, ptr %8, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %8, align 4
br label %17, !llvm.loop !6
43: ; preds = %17
%44 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %45
45: ; preds = %43
%46 = load i32, ptr %7, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %7, align 4
br label %12, !llvm.loop !8
48: ; preds = %12
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg_dzgjcr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%3d\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c" %s\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 void @disp_image(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 i8, align 1
%11 = alloca [8 x i8], align 1
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %9, align 4
store i32 0, ptr %7, align 4
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %.lr.ph2, label %52
.lr.ph2: ; preds = %3
br label %15
15: ; preds = %.lr.ph2, %46
store i32 0, ptr %8, align 4
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %6, align 4
%18 = icmp slt i32 %16, %17
br i1 %18, label %.lr.ph, label %44
.lr.ph: ; preds = %15
br label %19
19: ; preds = %.lr.ph, %38
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %9, align 4
%23 = sext i32 %21 to i64
%24 = getelementptr inbounds i8, ptr %20, i64 %23
%25 = load i8, ptr %24, align 1
store i8 %25, ptr %10, align 1
%26 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%27 = load i8, ptr %10, align 1
%28 = call i32 @sprintf(ptr noundef %26, ptr noundef @.str, i8 noundef zeroext %27)
%29 = load i32, ptr %8, align 4
%30 = icmp eq i32 %29, 0
br i1 %30, label %31, label %34
31: ; preds = %19
%32 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%33 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %32)
br label %37
34: ; preds = %19
%35 = getelementptr inbounds [8 x i8], ptr %11, i64 0, i64 0
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %35)
br label %37
37: ; preds = %34, %31
br label %38
38: ; preds = %37
%39 = load i32, ptr %8, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %8, align 4
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %44
44: ; preds = %._crit_edge, %15
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %46
46: ; preds = %44
%47 = load i32, ptr %7, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp slt i32 %49, %50
br i1 %51, label %15, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %46
br label %52
52: ; preds = %._crit_edge3, %3
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpb230wucy.c'
source_filename = "/tmp/tmpb230wucy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt2sm(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds double, ptr %5, i64 0
%7 = load double, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds double, ptr %8, i64 0
%10 = load double, ptr %9, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds double, ptr %11, i64 1
%13 = load double, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = fmul double %13, %16
%18 = call double @llvm.fmuladd.f64(double %7, double %10, double %17)
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds double, ptr %19, i64 2
%21 = load double, ptr %20, align 8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds double, ptr %22, i64 2
%24 = load double, ptr %23, align 8
%25 = call double @llvm.fmuladd.f64(double %21, double %24, double %18)
%26 = load ptr, ptr %4, align 8
store double %25, ptr %26, align 8
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds double, ptr %27, i64 3
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds double, ptr %30, i64 3
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds double, ptr %33, i64 4
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds double, ptr %36, i64 4
%38 = load double, ptr %37, align 8
%39 = fmul double %35, %38
%40 = call double @llvm.fmuladd.f64(double %29, double %32, double %39)
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds double, ptr %41, i64 5
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds double, ptr %44, i64 5
%46 = load double, ptr %45, align 8
%47 = call double @llvm.fmuladd.f64(double %43, double %46, double %40)
%48 = load ptr, ptr %4, align 8
%49 = load double, ptr %48, align 8
%50 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double %49)
store double %50, ptr %48, align 8
%51 = load ptr, ptr %4, align 8
%52 = load double, ptr %51, align 8
%53 = fdiv double %52, 2.000000e+00
%54 = call double @sqrt(double noundef %53) #3
%55 = load ptr, ptr %4, align 8
store double %54, ptr %55, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmpb230wucy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mt2sm(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = getelementptr inbounds double, ptr %5, i64 0
%7 = load double, ptr %6, align 8
%8 = load ptr, ptr %3, align 8
%9 = getelementptr inbounds double, ptr %8, i64 0
%10 = load double, ptr %9, align 8
%11 = load ptr, ptr %3, align 8
%12 = getelementptr inbounds double, ptr %11, i64 1
%13 = load double, ptr %12, align 8
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds double, ptr %14, i64 1
%16 = load double, ptr %15, align 8
%17 = fmul double %13, %16
%18 = call double @llvm.fmuladd.f64(double %7, double %10, double %17)
%19 = load ptr, ptr %3, align 8
%20 = getelementptr inbounds double, ptr %19, i64 2
%21 = load double, ptr %20, align 8
%22 = load ptr, ptr %3, align 8
%23 = getelementptr inbounds double, ptr %22, i64 2
%24 = load double, ptr %23, align 8
%25 = call double @llvm.fmuladd.f64(double %21, double %24, double %18)
%26 = load ptr, ptr %4, align 8
store double %25, ptr %26, align 8
%27 = load ptr, ptr %3, align 8
%28 = getelementptr inbounds double, ptr %27, i64 3
%29 = load double, ptr %28, align 8
%30 = load ptr, ptr %3, align 8
%31 = getelementptr inbounds double, ptr %30, i64 3
%32 = load double, ptr %31, align 8
%33 = load ptr, ptr %3, align 8
%34 = getelementptr inbounds double, ptr %33, i64 4
%35 = load double, ptr %34, align 8
%36 = load ptr, ptr %3, align 8
%37 = getelementptr inbounds double, ptr %36, i64 4
%38 = load double, ptr %37, align 8
%39 = fmul double %35, %38
%40 = call double @llvm.fmuladd.f64(double %29, double %32, double %39)
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds double, ptr %41, i64 5
%43 = load double, ptr %42, align 8
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds double, ptr %44, i64 5
%46 = load double, ptr %45, align 8
%47 = call double @llvm.fmuladd.f64(double %43, double %46, double %40)
%48 = load ptr, ptr %4, align 8
%49 = load double, ptr %48, align 8
%50 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %47, double %49)
store double %50, ptr %48, align 8
%51 = load ptr, ptr %4, align 8
%52 = load double, ptr %51, align 8
%53 = fdiv double %52, 2.000000e+00
%54 = call double @sqrt(double noundef %53) #3
%55 = load ptr, ptr %4, align 8
store double %54, ptr %55, align 8
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
; Function Attrs: nounwind
declare double @sqrt(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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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/tmp42_0z1_r.c'
source_filename = "/tmp/tmp42_0z1_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmp42_0z1_r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9mw5baud.c'
source_filename = "/tmp/tmp9mw5baud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 0x8e\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x8e() #0 {
%1 = call i64 @isupper(i32 noundef 142)
%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 715, 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/tmp9mw5baud.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 0x8e\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isupper_0x8e() #0 {
%1 = call i64 @isupper(i32 noundef 142)
%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 715, 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/tmpdixr8srn.c'
source_filename = "/tmp/tmpdixr8srn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conn_closesocks() #0 {
%1 = call i32 (...) @conn_tun_close()
%2 = call i32 (...) @conn_udpcon_close()
%3 = call i32 (...) @conn_sslserv_close()
%4 = call i32 (...) @conn_sslcons_close()
ret void
}
declare i32 @conn_tun_close(...) #1
declare i32 @conn_udpcon_close(...) #1
declare i32 @conn_sslserv_close(...) #1
declare i32 @conn_sslcons_close(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdixr8srn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @conn_closesocks() #0 {
%1 = call i32 (...) @conn_tun_close()
%2 = call i32 (...) @conn_udpcon_close()
%3 = call i32 (...) @conn_sslserv_close()
%4 = call i32 (...) @conn_sslcons_close()
ret void
}
declare i32 @conn_tun_close(...) #1
declare i32 @conn_udpcon_close(...) #1
declare i32 @conn_sslserv_close(...) #1
declare i32 @conn_sslcons_close(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi4y9zntc.c'
source_filename = "/tmp/tmpi4y9zntc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%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 i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %92
13: ; preds = %2
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %6, align 4
br label %14
14: ; preds = %88, %13
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %91
18: ; preds = %14
%19 = load ptr, ptr %5, align 8
%20 = load i32, ptr %6, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %19, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
switch i32 %25, label %71 [
i32 45, label %26
]
26: ; preds = %18
store i32 0, ptr %7, align 4
br label %27
27: ; preds = %62, %26
%28 = load i32, ptr %7, align 4
%29 = sext i32 %28 to i64
%30 = icmp ult i64 %29, 8
br i1 %30, label %31, label %65
31: ; preds = %27
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %6, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds ptr, ptr %32, i64 %34
%36 = load ptr, ptr %35, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 118
br i1 %42, label %43, label %44
43: ; preds = %31
store i32 1, ptr %8, align 4
br label %45
44: ; preds = %31
br label %45
45: ; preds = %44, %43
%46 = phi i32 [ 1, %43 ], [ 0, %44 ]
%47 = load ptr, ptr %5, align 8
%48 = load i32, ptr %6, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %7, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 104
br i1 %57, label %58, label %59
58: ; preds = %45
store i32 1, ptr %9, align 4
br label %60
59: ; preds = %45
br label %60
60: ; preds = %59, %58
%61 = phi i32 [ 1, %58 ], [ 0, %59 ]
br label %62
62: ; preds = %60
%63 = load i32, ptr %7, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %7, align 4
br label %27, !llvm.loop !6
65: ; preds = %27
%66 = load i32, ptr %9, align 4
%67 = icmp ne i32 %66, 0
br i1 %67, label %68, label %70
68: ; preds = %65
%69 = call i32 (...) @printHelp()
store i32 0, ptr %3, align 4
br label %93
70: ; preds = %65
br label %87
71: ; preds = %18
%72 = load ptr, ptr %5, align 8
%73 = load i32, ptr %6, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds ptr, ptr %72, i64 %74
%76 = load ptr, ptr %75, align 8
store ptr %76, ptr %10, align 8
%77 = load i32, ptr %8, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %82, label %79
79: ; preds = %71
%80 = load ptr, ptr %10, align 8
%81 = call i32 @printHorizontal(ptr noundef %80)
br label %85
82: ; preds = %71
%83 = load ptr, ptr %10, align 8
%84 = call i32 @printVertical(ptr noundef %83)
br label %85
85: ; preds = %82, %79
%86 = phi i32 [ %81, %79 ], [ %84, %82 ]
br label %87
87: ; preds = %85, %70
br label %88
88: ; preds = %87
%89 = load i32, ptr %6, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %6, align 4
br label %14, !llvm.loop !8
91: ; preds = %14
br label %92
92: ; preds = %91, %2
store i32 0, ptr %3, align 4
br label %93
93: ; preds = %92, %68
%94 = load i32, ptr %3, align 4
ret i32 %94
}
declare i32 @printHelp(...) #1
declare i32 @printHorizontal(ptr noundef) #1
declare i32 @printVertical(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpi4y9zntc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%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 i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp sgt i32 %11, 1
br i1 %12, label %13, label %96
13: ; preds = %2
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %6, align 4
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph2, label %95
.lr.ph2: ; preds = %13
br label %17
17: ; preds = %.lr.ph2, %89
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %6, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds ptr, ptr %18, i64 %20
%22 = load ptr, ptr %21, align 8
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
switch i32 %24, label %72 [
i32 45, label %25
]
25: ; preds = %17
store i32 0, ptr %7, align 4
%26 = load i32, ptr %7, align 4
%27 = sext i32 %26 to i64
%28 = icmp ult i64 %27, 8
br i1 %28, label %.lr.ph, label %66
.lr.ph: ; preds = %25
br label %29
29: ; preds = %.lr.ph, %60
%30 = load ptr, ptr %5, 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 = load i32, ptr %7, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds i8, ptr %34, i64 %36
%38 = load i8, ptr %37, align 1
%39 = sext i8 %38 to i32
%40 = icmp eq i32 %39, 118
br i1 %40, label %41, label %42
41: ; preds = %29
store i32 1, ptr %8, align 4
br label %43
42: ; preds = %29
br label %43
43: ; preds = %42, %41
%44 = phi i32 [ 1, %41 ], [ 0, %42 ]
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %6, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds ptr, ptr %45, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i32, ptr %7, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i8, ptr %49, i64 %51
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 104
br i1 %55, label %56, label %57
56: ; preds = %43
store i32 1, ptr %9, align 4
br label %58
57: ; preds = %43
br label %58
58: ; preds = %57, %56
%59 = phi i32 [ 1, %56 ], [ 0, %57 ]
br label %60
60: ; preds = %58
%61 = load i32, ptr %7, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %7, align 4
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = icmp ult i64 %64, 8
br i1 %65, label %29, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %25
%67 = load i32, ptr %9, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %66
%70 = call i32 (...) @printHelp()
store i32 0, ptr %3, align 4
br label %97
71: ; preds = %66
br label %88
72: ; preds = %17
%73 = load ptr, ptr %5, align 8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds ptr, ptr %73, i64 %75
%77 = load ptr, ptr %76, align 8
store ptr %77, ptr %10, align 8
%78 = load i32, ptr %8, align 4
%79 = icmp ne i32 %78, 0
br i1 %79, label %83, label %80
80: ; preds = %72
%81 = load ptr, ptr %10, align 8
%82 = call i32 @printHorizontal(ptr noundef %81)
br label %86
83: ; preds = %72
%84 = load ptr, ptr %10, align 8
%85 = call i32 @printVertical(ptr noundef %84)
br label %86
86: ; preds = %83, %80
%87 = phi i32 [ %82, %80 ], [ %85, %83 ]
br label %88
88: ; preds = %86, %71
br label %89
89: ; preds = %88
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %6, align 4
%92 = load i32, ptr %6, align 4
%93 = load i32, ptr %4, align 4
%94 = icmp slt i32 %92, %93
br i1 %94, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %89
br label %95
95: ; preds = %._crit_edge3, %13
br label %96
96: ; preds = %95, %2
store i32 0, ptr %3, align 4
br label %97
97: ; preds = %96, %69
%98 = load i32, ptr %3, align 4
ret i32 %98
}
declare i32 @printHelp(...) #1
declare i32 @printHorizontal(ptr noundef) #1
declare i32 @printVertical(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpupomk8cp.c'
source_filename = "/tmp/tmpupomk8cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Input number of lines.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \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 i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
br label %8
8: ; preds = %43, %0
%9 = load i32, ptr %3, align 4
%10 = load i32, ptr %2, align 4
%11 = icmp sle i32 %9, %10
br i1 %11, label %12, label %46
12: ; preds = %8
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = sub nsw i32 %13, %14
store i32 %15, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %16
16: ; preds = %38, %12
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %2, align 4
%19 = mul nsw i32 %18, 2
%20 = icmp slt i32 %17, %19
br i1 %20, label %21, label %41
21: ; preds = %16
%22 = load i32, ptr %5, align 4
%23 = load i32, ptr %4, align 4
%24 = icmp sge i32 %22, %23
br i1 %24, label %25, label %35
25: ; preds = %21
%26 = load i32, ptr %2, align 4
%27 = mul nsw i32 %26, 2
%28 = sub nsw i32 %27, 1
%29 = load i32, ptr %5, align 4
%30 = sub nsw i32 %28, %29
%31 = load i32, ptr %4, align 4
%32 = icmp sgt i32 %30, %31
br i1 %32, label %33, label %35
33: ; preds = %25
%34 = call i32 @printf(ptr noundef @.str.2)
br label %37
35: ; preds = %25, %21
%36 = call i32 @printf(ptr noundef @.str.3)
br label %37
37: ; preds = %35, %33
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
br label %16, !llvm.loop !6
41: ; preds = %16
%42 = call i32 @printf(ptr noundef @.str.4)
br label %43
43: ; preds = %41
%44 = load i32, ptr %3, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %3, align 4
br label %8, !llvm.loop !8
46: ; preds = %8
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '<stdin>'
source_filename = "/tmp/tmpupomk8cp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"Input number of lines.\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"+\00", align 1
@.str.3 = private unnamed_addr constant [2 x i8] c" \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 i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
store i32 0, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %2, align 4
%10 = icmp sle i32 %8, %9
br i1 %10, label %.lr.ph2, label %51
.lr.ph2: ; preds = %0
br label %11
11: ; preds = %.lr.ph2, %45
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = sub nsw i32 %12, %13
store i32 %14, ptr %4, align 4
store i32 0, ptr %5, align 4
%15 = load i32, ptr %5, align 4
%16 = load i32, ptr %2, align 4
%17 = mul nsw i32 %16, 2
%18 = icmp slt i32 %15, %17
br i1 %18, label %.lr.ph, label %43
.lr.ph: ; preds = %11
br label %19
19: ; preds = %.lr.ph, %36
%20 = load i32, ptr %5, align 4
%21 = load i32, ptr %4, align 4
%22 = icmp sge i32 %20, %21
br i1 %22, label %23, label %33
23: ; preds = %19
%24 = load i32, ptr %2, align 4
%25 = mul nsw i32 %24, 2
%26 = sub nsw i32 %25, 1
%27 = load i32, ptr %5, align 4
%28 = sub nsw i32 %26, %27
%29 = load i32, ptr %4, align 4
%30 = icmp sgt i32 %28, %29
br i1 %30, label %31, label %33
31: ; preds = %23
%32 = call i32 @printf(ptr noundef @.str.2)
br label %35
33: ; preds = %23, %19
%34 = call i32 @printf(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %31
br label %36
36: ; preds = %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %2, align 4
%41 = mul nsw i32 %40, 2
%42 = icmp slt i32 %39, %41
br i1 %42, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %43
43: ; preds = %._crit_edge, %11
%44 = call i32 @printf(ptr noundef @.str.4)
br label %45
45: ; preds = %43
%46 = load i32, ptr %3, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = icmp sle i32 %48, %49
br i1 %50, label %11, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %45
br label %51
51: ; preds = %._crit_edge3, %0
%52 = load i32, ptr %1, align 4
ret i32 %52
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpkl4bl5zz.c'
source_filename = "/tmp/tmpkl4bl5zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Number 1 is %d\0ANumber 2 is %d\0ASum is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @sum(i32 noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %7, i32 noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sum(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/tmpkl4bl5zz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"Number 1 is %d\0ANumber 2 is %d\0ASum is %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%6 = load i32, ptr %2, align 4
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = load i32, ptr %3, align 4
%10 = call i32 @sum(i32 noundef %8, i32 noundef %9)
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %6, i32 noundef %7, i32 noundef %10)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @sum(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.