llvm-ir stringlengths 479 303k | llvm-optimized-ir stringlengths 468 303k |
|---|---|
; ModuleID = '/tmp/tmphvhcg4f3.c'
source_filename = "/tmp/tmphvhcg4f3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, double }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @timerGet(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%10 = load i64, ptr %9, align 8
%11 = icmp slt i64 %7, %10
br i1 %11, label %12, label %19
12: ; preds = %1
%13 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%14 = load i64, ptr %13, align 8
%15 = add nsw i64 %14, 1000000
store i64 %15, ptr %13, align 8
%16 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%17 = load double, ptr %16, align 8
%18 = fsub double %17, 1.000000e+00
store double %18, ptr %16, align 8
br label %19
19: ; preds = %12, %1
%20 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%21 = load double, ptr %20, align 8
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds %struct.timeval, ptr %22, i32 0, i32 1
%24 = load double, ptr %23, align 8
%25 = fsub double %21, %24
store double %25, ptr %4, align 8
%26 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0
%30 = load i64, ptr %29, align 8
%31 = sub nsw i64 %27, %30
%32 = sitofp i64 %31 to double
%33 = fdiv double %32, 1.000000e+06
%34 = load double, ptr %4, align 8
%35 = fadd double %34, %33
store double %35, ptr %4, align 8
%36 = load double, ptr %4, align 8
ret double %36
}
declare i32 @gettimeofday(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/tmphvhcg4f3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.timeval = type { i64, double }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @timerGet(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca %struct.timeval, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @gettimeofday(ptr noundef %3, ptr noundef null)
%6 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%7 = load i64, ptr %6, align 8
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds %struct.timeval, ptr %8, i32 0, i32 0
%10 = load i64, ptr %9, align 8
%11 = icmp slt i64 %7, %10
br i1 %11, label %12, label %19
12: ; preds = %1
%13 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%14 = load i64, ptr %13, align 8
%15 = add nsw i64 %14, 1000000
store i64 %15, ptr %13, align 8
%16 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%17 = load double, ptr %16, align 8
%18 = fsub double %17, 1.000000e+00
store double %18, ptr %16, align 8
br label %19
19: ; preds = %12, %1
%20 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 1
%21 = load double, ptr %20, align 8
%22 = load ptr, ptr %2, align 8
%23 = getelementptr inbounds %struct.timeval, ptr %22, i32 0, i32 1
%24 = load double, ptr %23, align 8
%25 = fsub double %21, %24
store double %25, ptr %4, align 8
%26 = getelementptr inbounds %struct.timeval, ptr %3, i32 0, i32 0
%27 = load i64, ptr %26, align 8
%28 = load ptr, ptr %2, align 8
%29 = getelementptr inbounds %struct.timeval, ptr %28, i32 0, i32 0
%30 = load i64, ptr %29, align 8
%31 = sub nsw i64 %27, %30
%32 = sitofp i64 %31 to double
%33 = fdiv double %32, 1.000000e+06
%34 = load double, ptr %4, align 8
%35 = fadd double %34, %33
store double %35, ptr %4, align 8
%36 = load double, ptr %4, align 8
ret double %36
}
declare i32 @gettimeofday(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/tmpy9zkg628.c'
source_filename = "/tmp/tmpy9zkg628.c"
target datalayout = "e-m:e-p270: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/tmpy9zkg628.c"
target datalayout = "e-m:e-p270: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/tmp3l6w_uyl.c'
source_filename = "/tmp/tmp3l6w_uyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @data_prepare(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %12
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %2, align 8
br label %12
12: ; preds = %10, %9
%13 = load ptr, ptr %2, align 8
ret ptr %13
}
declare ptr @fopen(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/tmp3l6w_uyl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @data_prepare(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%5 = load ptr, ptr %3, align 8
%6 = call ptr @fopen(ptr noundef %5, ptr noundef @.str)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %10, label %9
9: ; preds = %1
store ptr null, ptr %2, align 8
br label %12
10: ; preds = %1
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %2, align 8
br label %12
12: ; preds = %10, %9
%13 = load ptr, ptr %2, align 8
ret ptr %13
}
declare ptr @fopen(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/tmpz1kdkg84.c'
source_filename = "/tmp/tmpz1kdkg84.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LLbitReversalTblM(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @LLIntegerLog2M(i32 noundef %7)
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %13, label %24
13: ; preds = %9
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = call i32 @LLRevBitsM(i32 noundef %14, i32 noundef %15)
%17 = load ptr, ptr %3, align 8
%18 = load i32, ptr %6, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, ptr %17, i64 %19
store i32 %16, ptr %20, align 4
br label %21
21: ; preds = %13
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %9, !llvm.loop !6
24: ; preds = %9
ret void
}
declare i32 @LLIntegerLog2M(i32 noundef) #1
declare i32 @LLRevBitsM(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/tmpz1kdkg84.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LLbitReversalTblM(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @LLIntegerLog2M(i32 noundef %7)
store i32 %8, ptr %5, align 4
store i32 0, ptr %6, align 4
%9 = load i32, ptr %6, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp ult i32 %9, %10
br i1 %11, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %12
12: ; preds = %.lr.ph, %20
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %5, align 4
%15 = call i32 @LLRevBitsM(i32 noundef %13, i32 noundef %14)
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
store i32 %15, ptr %19, align 4
br label %20
20: ; preds = %12
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %4, align 4
%25 = icmp ult i32 %23, %24
br i1 %25, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
declare i32 @LLIntegerLog2M(i32 noundef) #1
declare i32 @LLRevBitsM(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/tmps_n4_bil.c'
source_filename = "/tmp/tmps_n4_bil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = sub nsw i32 %4, 1
%6 = mul nsw i32 %3, %5
%7 = load i32, ptr %1, align 4
%8 = sub nsw i32 %7, 2
%9 = mul nsw i32 %6, %8
%10 = load i32, ptr %1, align 4
%11 = sub nsw i32 %10, 3
%12 = mul nsw i32 %9, %11
%13 = sdiv i32 %12, 24
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_n4_bil.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = call i32 @scanf(ptr noundef @.str, ptr noundef %1)
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %1, align 4
%5 = sub nsw i32 %4, 1
%6 = mul nsw i32 %3, %5
%7 = load i32, ptr %1, align 4
%8 = sub nsw i32 %7, 2
%9 = mul nsw i32 %6, %8
%10 = load i32, ptr %1, align 4
%11 = sub nsw i32 %10, 3
%12 = mul nsw i32 %9, %11
%13 = sdiv i32 %12, 24
%14 = call i32 @printf(ptr noundef @.str.1, i32 noundef %13)
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"}
|
; ModuleID = '/tmp/tmpdydcb3u8.c'
source_filename = "/tmp/tmpdydcb3u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test60(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_sll_pi32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_sll_pi32(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/tmpdydcb3u8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test60(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %4, align 4
%7 = call i32 @_mm_sll_pi32(i32 noundef %5, i32 noundef %6)
ret i32 %7
}
declare i32 @_mm_sll_pi32(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/tmp033bvixc.c'
source_filename = "/tmp/tmp033bvixc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @pprint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = ptrtoint ptr %5 to i64
store i64 %6, ptr %4, align 8
%7 = call i32 @kprint(ptr noundef @.str)
store i32 7, ptr %3, align 4
br label %8
8: ; preds = %19, %1
%9 = load i32, ptr %3, align 4
%10 = icmp sge i32 %9, 0
br i1 %10, label %11, label %22
11: ; preds = %8
%12 = load i64, ptr %4, align 8
%13 = load i32, ptr %3, align 4
%14 = mul nsw i32 4, %13
%15 = zext i32 %14 to i64
%16 = ashr i64 %12, %15
%17 = and i64 %16, 15
%18 = call i32 @puthexdig(i64 noundef %17)
br label %19
19: ; preds = %11
%20 = load i32, ptr %3, align 4
%21 = add nsw i32 %20, -1
store i32 %21, ptr %3, align 4
br label %8, !llvm.loop !6
22: ; preds = %8
ret void
}
declare i32 @kprint(ptr noundef) #1
declare i32 @puthexdig(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp033bvixc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @pprint(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i64, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = ptrtoint ptr %5 to i64
store i64 %6, ptr %4, align 8
%7 = call i32 @kprint(ptr noundef @.str)
store i32 7, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sge i32 %8, 0
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i64, ptr %4, align 8
%12 = load i32, ptr %3, align 4
%13 = mul nsw i32 4, %12
%14 = zext i32 %13 to i64
%15 = ashr i64 %11, %14
%16 = and i64 %15, 15
%17 = call i32 @puthexdig(i64 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp sge i32 %21, 0
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %1
ret void
}
declare i32 @kprint(ptr noundef) #1
declare i32 @puthexdig(i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdbcqtqb2.c'
source_filename = "/tmp/tmpdbcqtqb2.c"
target datalayout = "e-m:e-p270: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/tmpdbcqtqb2.c"
target datalayout = "e-m:e-p270: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/tmpu_68i2je.c'
source_filename = "/tmp/tmpu_68i2je.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_remote_s2() #0 section ".test.b" {
%1 = call ptr (...) @remote_s2()
%2 = getelementptr inbounds i8, ptr %1, i64 1
ret ptr %2
}
declare ptr @remote_s2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu_68i2je.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @call_remote_s2() #0 section ".test.b" {
%1 = call ptr (...) @remote_s2()
%2 = getelementptr inbounds i8, ptr %1, i64 1
ret ptr %2
}
declare ptr @remote_s2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpulzbg77j.c'
source_filename = "/tmp/tmpulzbg77j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"\0Avalues : a = %d and b = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tester() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 50, ptr %1, align 4
store i32 80, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpulzbg77j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [29 x i8] c"\0Avalues : a = %d and b = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @tester() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 50, ptr %1, align 4
store i32 80, ptr %2, align 4
%3 = load i32, ptr %1, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %4)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmptzsymisw.c'
source_filename = "/tmp/tmptzsymisw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_fpu_state(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 @fesetenv(ptr noundef %3)
ret void
}
declare i32 @fesetenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptzsymisw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @set_fpu_state(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 @fesetenv(ptr noundef %3)
ret void
}
declare i32 @fesetenv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyrtcsnkq.c'
source_filename = "/tmp/tmpyrtcsnkq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do0x38() #0 {
%1 = call i32 (...) @_I8080_()
ret void
}
declare i32 @_I8080_(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyrtcsnkq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @do0x38() #0 {
%1 = call i32 (...) @_I8080_()
ret void
}
declare i32 @_I8080_(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp730mcg1n.c'
source_filename = "/tmp/tmp730mcg1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"res/file.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [72 x i8] c"This is the first line of my file.\0AThis is the second line of my file.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Assertion failed: \22%s\22 != \22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_read_file() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
store ptr @.str.2, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @read_file(ptr noundef %6)
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %0
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strcmp(ptr noundef %9, ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.3, ptr noundef %15, ptr noundef %16)
store i32 32, ptr %1, align 4
br label %24
18: ; preds = %8
br label %19
19: ; preds = %18
%20 = load ptr, ptr %4, align 8
%21 = call i32 @smb___free(ptr noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = call i32 @fclose(ptr noundef %22)
store i32 0, ptr %1, align 4
br label %24
24: ; preds = %19, %13
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @read_file(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @smb___free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp730mcg1n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"res/file.txt\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [72 x i8] c"This is the first line of my file.\0AThis is the second line of my file.\0A\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [32 x i8] c"Assertion failed: \22%s\22 != \22%s\22\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @test_read_file() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %5, ptr %2, align 8
store ptr @.str.2, ptr %3, align 8
%6 = load ptr, ptr %2, align 8
%7 = call ptr @read_file(ptr noundef %6)
store ptr %7, ptr %4, align 8
br label %8
8: ; preds = %0
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %4, align 8
%11 = call i64 @strcmp(ptr noundef %9, ptr noundef %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %13, label %18
13: ; preds = %8
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %3, align 8
%16 = load ptr, ptr %4, align 8
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str.3, ptr noundef %15, ptr noundef %16)
store i32 32, ptr %1, align 4
br label %24
18: ; preds = %8
br label %19
19: ; preds = %18
%20 = load ptr, ptr %4, align 8
%21 = call i32 @smb___free(ptr noundef %20)
%22 = load ptr, ptr %2, align 8
%23 = call i32 @fclose(ptr noundef %22)
store i32 0, ptr %1, align 4
br label %24
24: ; preds = %19, %13
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare ptr @read_file(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @smb___free(ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjm0pmgli.c'
source_filename = "/tmp/tmpjm0pmgli.c"
target datalayout = "e-m:e-p270: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/tmpjm0pmgli.c"
target datalayout = "e-m:e-p270: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/tmpws1m9bgm.c'
source_filename = "/tmp/tmpws1m9bgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"rho_mo: error invalid molecular orbital index\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rhf_mo(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca double, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store double %4, ptr %12, align 8
store double %5, ptr %13, align 8
store double %6, ptr %14, align 8
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp sge i32 %17, %18
br i1 %19, label %23, label %20
20: ; preds = %7
%21 = load i32, ptr %11, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20, %7
%24 = call i32 @printf(ptr noundef @.str)
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = call i32 @exit(i32 noundef %25) #4
unreachable
27: ; preds = %20
store double 0.000000e+00, ptr %16, align 8
store i32 0, ptr %15, align 4
br label %28
28: ; preds = %50, %27
%29 = load i32, ptr %15, align 4
%30 = load i32, ptr %8, align 4
%31 = icmp slt i32 %29, %30
br i1 %31, label %32, label %53
32: ; preds = %28
%33 = load ptr, ptr %10, align 8
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %8, align 4
%36 = mul nsw i32 %34, %35
%37 = load i32, ptr %15, align 4
%38 = add nsw i32 %36, %37
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds double, ptr %33, i64 %39
%41 = load double, ptr %40, align 8
%42 = load i32, ptr %15, align 4
%43 = load ptr, ptr %9, align 8
%44 = load double, ptr %12, align 8
%45 = load double, ptr %13, align 8
%46 = load double, ptr %14, align 8
%47 = call double @eval_chi(i32 noundef %42, ptr noundef %43, double noundef %44, double noundef %45, double noundef %46)
%48 = load double, ptr %16, align 8
%49 = call double @llvm.fmuladd.f64(double %41, double %47, double %48)
store double %49, ptr %16, align 8
br label %50
50: ; preds = %32
%51 = load i32, ptr %15, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %15, align 4
br label %28, !llvm.loop !6
53: ; preds = %28
%54 = load double, ptr %16, align 8
ret double %54
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @eval_chi(i32 noundef, ptr noundef, double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpws1m9bgm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [47 x i8] c"rho_mo: error invalid molecular orbital index\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rhf_mo(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, double noundef %4, double noundef %5, double noundef %6) #0 {
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca i32, align 4
%16 = alloca double, align 8
store i32 %0, ptr %8, align 4
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store double %4, ptr %12, align 8
store double %5, ptr %13, align 8
store double %6, ptr %14, align 8
%17 = load i32, ptr %11, align 4
%18 = load i32, ptr %8, align 4
%19 = icmp sge i32 %17, %18
br i1 %19, label %23, label %20
20: ; preds = %7
%21 = load i32, ptr %11, align 4
%22 = icmp slt i32 %21, 0
br i1 %22, label %23, label %27
23: ; preds = %20, %7
%24 = call i32 @printf(ptr noundef @.str)
%25 = load i32, ptr @EXIT_FAILURE, align 4
%26 = call i32 @exit(i32 noundef %25) #4
unreachable
27: ; preds = %20
store double 0.000000e+00, ptr %16, align 8
store i32 0, ptr %15, align 4
%28 = load i32, ptr %15, align 4
%29 = load i32, ptr %8, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %.lr.ph, label %55
.lr.ph: ; preds = %27
br label %31
31: ; preds = %.lr.ph, %49
%32 = load ptr, ptr %10, align 8
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %8, align 4
%35 = mul nsw i32 %33, %34
%36 = load i32, ptr %15, align 4
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, ptr %32, i64 %38
%40 = load double, ptr %39, align 8
%41 = load i32, ptr %15, align 4
%42 = load ptr, ptr %9, align 8
%43 = load double, ptr %12, align 8
%44 = load double, ptr %13, align 8
%45 = load double, ptr %14, align 8
%46 = call double @eval_chi(i32 noundef %41, ptr noundef %42, double noundef %43, double noundef %44, double noundef %45)
%47 = load double, ptr %16, align 8
%48 = call double @llvm.fmuladd.f64(double %40, double %46, double %47)
store double %48, ptr %16, align 8
br label %49
49: ; preds = %31
%50 = load i32, ptr %15, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %15, align 4
%52 = load i32, ptr %15, align 4
%53 = load i32, ptr %8, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %31, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %27
%56 = load double, ptr %16, align 8
ret double %56
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @eval_chi(i32 noundef, ptr noundef, double noundef, double noundef, double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvfazykx_.c'
source_filename = "/tmp/tmpvfazykx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RSA_padding_add_PKCS1_PSS(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @RSA_padding_add_PKCS1_PSS_mgf1(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef null, i32 noundef %15)
ret i32 %16
}
declare i32 @RSA_padding_add_PKCS1_PSS_mgf1(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvfazykx_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @RSA_padding_add_PKCS1_PSS(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load ptr, ptr %9, align 8
%15 = load i32, ptr %10, align 4
%16 = call i32 @RSA_padding_add_PKCS1_PSS_mgf1(ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef null, i32 noundef %15)
ret i32 %16
}
declare i32 @RSA_padding_add_PKCS1_PSS_mgf1(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpydkyzt54.c'
source_filename = "/tmp/tmpydkyzt54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINPROGRESS = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"connect()\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"took %.3fms\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"min=%.3fms tot=%.3fms\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"min %.3f avg %.3f var %.3f\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 %struct.sockaddr_in, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 1025, ptr %2, align 4
%23 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12)
%24 = load i32, ptr @AF_INET, align 4
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @htons(i32 noundef %26)
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %27, ptr %28, align 4
%29 = load i32, ptr @AF_INET, align 4
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%31 = call i32 @inet_pton(i32 noundef %29, ptr noundef @.str, ptr noundef %30)
store ptr %3, ptr %4, align 8
store i32 12, ptr %5, align 4
%32 = call i32 (...) @realtime_now()
store i32 %32, ptr %6, align 4
store i32 -1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 16, ptr %10, align 4
store i32 0, ptr %11, align 4
br label %33
33: ; preds = %100, %0
%34 = load i32, ptr %11, align 4
%35 = load i32, ptr %10, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %37, label %103
37: ; preds = %33
%38 = load i32, ptr @PF_INET, align 4
%39 = load i32, ptr @SOCK_STREAM, align 4
%40 = load i32, ptr @IPPROTO_TCP, align 4
%41 = call i32 @socket(i32 noundef %38, i32 noundef %39, i32 noundef %40)
store i32 %41, ptr %12, align 4
%42 = load i32, ptr %12, align 4
%43 = load i32, ptr @F_GETFL, align 4
%44 = call i32 @fcntl(i32 noundef %42, i32 noundef %43, i32 noundef 0)
store i32 %44, ptr %13, align 4
%45 = load i32, ptr %12, align 4
%46 = load i32, ptr @F_SETFL, align 4
%47 = load i32, ptr %13, align 4
%48 = load i32, ptr @O_NONBLOCK, align 4
%49 = or i32 %47, %48
%50 = call i32 @fcntl(i32 noundef %45, i32 noundef %46, i32 noundef %49)
%51 = call i32 (...) @realtime_now()
store i32 %51, ptr %14, align 4
%52 = load i32, ptr %12, align 4
%53 = load ptr, ptr %4, align 8
%54 = load i32, ptr %5, align 4
%55 = call i32 @connect(i32 noundef %52, ptr noundef %53, i32 noundef %54)
store i32 %55, ptr %15, align 4
%56 = call i32 (...) @realtime_now()
store i32 %56, ptr %16, align 4
%57 = load i32, ptr %15, align 4
%58 = icmp slt i32 %57, 0
br i1 %58, label %59, label %65
59: ; preds = %37
%60 = load i64, ptr @errno, align 8
%61 = load i64, ptr @EINPROGRESS, align 8
%62 = icmp ne i64 %60, %61
br i1 %62, label %63, label %65
63: ; preds = %59
%64 = call i32 @perror(ptr noundef @.str.1)
br label %65
65: ; preds = %63, %59, %37
%66 = load i32, ptr %12, align 4
%67 = call i32 @close(i32 noundef %66)
store i32 0, ptr %17, align 4
br label %68
68: ; preds = %73, %65
%69 = load i32, ptr %17, align 4
%70 = icmp slt i32 %69, 1000
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = call i32 (...) @sched_yield()
br label %73
73: ; preds = %71
%74 = load i32, ptr %17, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %17, align 4
br label %68, !llvm.loop !6
76: ; preds = %68
%77 = call i32 @sleep(i32 noundef 1)
%78 = load i32, ptr %16, align 4
%79 = load i32, ptr %14, align 4
%80 = sub nsw i32 %78, %79
store i32 %80, ptr %18, align 4
%81 = load i32, ptr %7, align 4
%82 = load i32, ptr %18, align 4
%83 = icmp sgt i32 %81, %82
br i1 %83, label %84, label %86
84: ; preds = %76
%85 = load i32, ptr %18, align 4
store i32 %85, ptr %7, align 4
br label %86
86: ; preds = %84, %76
%87 = load i32, ptr %18, align 4
%88 = sitofp i32 %87 to double
%89 = fdiv double %88, 1.000000e+06
%90 = fptosi double %89 to i32
%91 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %90)
%92 = load i32, ptr %18, align 4
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %8, align 4
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %18, align 4
%97 = mul nsw i32 %95, %96
%98 = load i32, ptr %9, align 4
%99 = add nsw i32 %98, %97
store i32 %99, ptr %9, align 4
br label %100
100: ; preds = %86
%101 = load i32, ptr %11, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %11, align 4
br label %33, !llvm.loop !8
103: ; preds = %33
%104 = call i32 (...) @realtime_now()
%105 = load i32, ptr %6, align 4
%106 = sub nsw i32 %104, %105
store i32 %106, ptr %19, align 4
%107 = load i32, ptr %7, align 4
%108 = sitofp i32 %107 to double
%109 = fdiv double %108, 1.000000e+06
%110 = fptosi double %109 to i32
%111 = load i32, ptr %19, align 4
%112 = sitofp i32 %111 to double
%113 = fdiv double %112, 1.000000e+06
%114 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %110, double noundef %113)
%115 = load i32, ptr %8, align 4
%116 = sitofp i32 %115 to double
%117 = load i32, ptr %10, align 4
%118 = sitofp i32 %117 to double
%119 = fdiv double %116, %118
store double %119, ptr %20, align 8
%120 = load i32, ptr %9, align 4
%121 = sitofp i32 %120 to double
%122 = load i32, ptr %10, align 4
%123 = sitofp i32 %122 to double
%124 = fdiv double %121, %123
%125 = load double, ptr %20, align 8
%126 = load double, ptr %20, align 8
%127 = fneg double %125
%128 = call double @llvm.fmuladd.f64(double %127, double %126, double %124)
store double %128, ptr %22, align 8
%129 = load double, ptr %22, align 8
%130 = call double @sqrt(double noundef %129) #4
store double %130, ptr %21, align 8
%131 = load i32, ptr %7, align 4
%132 = sitofp i32 %131 to double
%133 = fdiv double %132, 1.000000e+06
%134 = fptosi double %133 to i32
%135 = load double, ptr %20, align 8
%136 = fdiv double %135, 1.000000e+06
%137 = load double, ptr %21, align 8
%138 = fdiv double %137, 1.000000e+06
%139 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %134, double noundef %136, double noundef %138)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @realtime_now(...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sched_yield(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydkyzt54.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i32, i32, i32 }
@AF_INET = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [10 x i8] c"127.0.0.1\00", align 1
@PF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
@IPPROTO_TCP = dso_local global i32 0, align 4
@F_GETFL = dso_local global i32 0, align 4
@F_SETFL = dso_local global i32 0, align 4
@O_NONBLOCK = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@EINPROGRESS = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [10 x i8] c"connect()\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"took %.3fms\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"min=%.3fms tot=%.3fms\0A\00", align 1
@.str.4 = private unnamed_addr constant [28 x i8] c"min %.3f avg %.3f var %.3f\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 %struct.sockaddr_in, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca i32, align 4
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store i32 0, ptr %1, align 4
store i32 1025, ptr %2, align 4
%23 = call i32 @memset(ptr noundef %3, i32 noundef 0, i32 noundef 12)
%24 = load i32, ptr @AF_INET, align 4
%25 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 2
store i32 %24, ptr %25, align 4
%26 = load i32, ptr %2, align 4
%27 = call i32 @htons(i32 noundef %26)
%28 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 1
store i32 %27, ptr %28, align 4
%29 = load i32, ptr @AF_INET, align 4
%30 = getelementptr inbounds %struct.sockaddr_in, ptr %3, i32 0, i32 0
%31 = call i32 @inet_pton(i32 noundef %29, ptr noundef @.str, ptr noundef %30)
store ptr %3, ptr %4, align 8
store i32 12, ptr %5, align 4
%32 = call i32 (...) @realtime_now()
store i32 %32, ptr %6, align 4
store i32 -1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
store i32 16, ptr %10, align 4
store i32 0, ptr %11, align 4
%33 = load i32, ptr %11, align 4
%34 = load i32, ptr %10, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %.lr.ph2, label %106
.lr.ph2: ; preds = %0
br label %36
36: ; preds = %.lr.ph2, %100
%37 = load i32, ptr @PF_INET, align 4
%38 = load i32, ptr @SOCK_STREAM, align 4
%39 = load i32, ptr @IPPROTO_TCP, align 4
%40 = call i32 @socket(i32 noundef %37, i32 noundef %38, i32 noundef %39)
store i32 %40, ptr %12, align 4
%41 = load i32, ptr %12, align 4
%42 = load i32, ptr @F_GETFL, align 4
%43 = call i32 @fcntl(i32 noundef %41, i32 noundef %42, i32 noundef 0)
store i32 %43, ptr %13, align 4
%44 = load i32, ptr %12, align 4
%45 = load i32, ptr @F_SETFL, align 4
%46 = load i32, ptr %13, align 4
%47 = load i32, ptr @O_NONBLOCK, align 4
%48 = or i32 %46, %47
%49 = call i32 @fcntl(i32 noundef %44, i32 noundef %45, i32 noundef %48)
%50 = call i32 (...) @realtime_now()
store i32 %50, ptr %14, align 4
%51 = load i32, ptr %12, align 4
%52 = load ptr, ptr %4, align 8
%53 = load i32, ptr %5, align 4
%54 = call i32 @connect(i32 noundef %51, ptr noundef %52, i32 noundef %53)
store i32 %54, ptr %15, align 4
%55 = call i32 (...) @realtime_now()
store i32 %55, ptr %16, align 4
%56 = load i32, ptr %15, align 4
%57 = icmp slt i32 %56, 0
br i1 %57, label %58, label %64
58: ; preds = %36
%59 = load i64, ptr @errno, align 8
%60 = load i64, ptr @EINPROGRESS, align 8
%61 = icmp ne i64 %59, %60
br i1 %61, label %62, label %64
62: ; preds = %58
%63 = call i32 @perror(ptr noundef @.str.1)
br label %64
64: ; preds = %62, %58, %36
%65 = load i32, ptr %12, align 4
%66 = call i32 @close(i32 noundef %65)
store i32 0, ptr %17, align 4
%67 = load i32, ptr %17, align 4
%68 = icmp slt i32 %67, 1000
br i1 %68, label %.lr.ph, label %76
.lr.ph: ; preds = %64
br label %69
69: ; preds = %.lr.ph, %71
%70 = call i32 (...) @sched_yield()
br label %71
71: ; preds = %69
%72 = load i32, ptr %17, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %17, align 4
%74 = load i32, ptr %17, align 4
%75 = icmp slt i32 %74, 1000
br i1 %75, label %69, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %76
76: ; preds = %._crit_edge, %64
%77 = call i32 @sleep(i32 noundef 1)
%78 = load i32, ptr %16, align 4
%79 = load i32, ptr %14, align 4
%80 = sub nsw i32 %78, %79
store i32 %80, ptr %18, align 4
%81 = load i32, ptr %7, align 4
%82 = load i32, ptr %18, align 4
%83 = icmp sgt i32 %81, %82
br i1 %83, label %84, label %86
84: ; preds = %76
%85 = load i32, ptr %18, align 4
store i32 %85, ptr %7, align 4
br label %86
86: ; preds = %84, %76
%87 = load i32, ptr %18, align 4
%88 = sitofp i32 %87 to double
%89 = fdiv double %88, 1.000000e+06
%90 = fptosi double %89 to i32
%91 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %90)
%92 = load i32, ptr %18, align 4
%93 = load i32, ptr %8, align 4
%94 = add nsw i32 %93, %92
store i32 %94, ptr %8, align 4
%95 = load i32, ptr %18, align 4
%96 = load i32, ptr %18, align 4
%97 = mul nsw i32 %95, %96
%98 = load i32, ptr %9, align 4
%99 = add nsw i32 %98, %97
store i32 %99, ptr %9, align 4
br label %100
100: ; preds = %86
%101 = load i32, ptr %11, align 4
%102 = add nsw i32 %101, 1
store i32 %102, ptr %11, align 4
%103 = load i32, ptr %11, align 4
%104 = load i32, ptr %10, align 4
%105 = icmp slt i32 %103, %104
br i1 %105, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %100
br label %106
106: ; preds = %._crit_edge3, %0
%107 = call i32 (...) @realtime_now()
%108 = load i32, ptr %6, align 4
%109 = sub nsw i32 %107, %108
store i32 %109, ptr %19, align 4
%110 = load i32, ptr %7, align 4
%111 = sitofp i32 %110 to double
%112 = fdiv double %111, 1.000000e+06
%113 = fptosi double %112 to i32
%114 = load i32, ptr %19, align 4
%115 = sitofp i32 %114 to double
%116 = fdiv double %115, 1.000000e+06
%117 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %113, double noundef %116)
%118 = load i32, ptr %8, align 4
%119 = sitofp i32 %118 to double
%120 = load i32, ptr %10, align 4
%121 = sitofp i32 %120 to double
%122 = fdiv double %119, %121
store double %122, ptr %20, align 8
%123 = load i32, ptr %9, align 4
%124 = sitofp i32 %123 to double
%125 = load i32, ptr %10, align 4
%126 = sitofp i32 %125 to double
%127 = fdiv double %124, %126
%128 = load double, ptr %20, align 8
%129 = load double, ptr %20, align 8
%130 = fneg double %128
%131 = call double @llvm.fmuladd.f64(double %130, double %129, double %127)
store double %131, ptr %22, align 8
%132 = load double, ptr %22, align 8
%133 = call double @sqrt(double noundef %132) #4
store double %133, ptr %21, align 8
%134 = load i32, ptr %7, align 4
%135 = sitofp i32 %134 to double
%136 = fdiv double %135, 1.000000e+06
%137 = fptosi double %136 to i32
%138 = load double, ptr %20, align 8
%139 = fdiv double %138, 1.000000e+06
%140 = load double, ptr %21, align 8
%141 = fdiv double %140, 1.000000e+06
%142 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %137, double noundef %139, double noundef %141)
ret i32 0
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @htons(i32 noundef) #1
declare i32 @inet_pton(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @realtime_now(...) #1
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fcntl(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @connect(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sched_yield(...) #1
declare i32 @sleep(i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpmm8vk6nf.c'
source_filename = "/tmp/tmpmm8vk6nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"kernel panic: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @KERN_panic(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(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/tmpmm8vk6nf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [18 x i8] c"kernel panic: %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @KERN_panic(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str, ptr noundef %3)
%5 = call i32 @exit(i32 noundef 1) #3
unreachable
}
declare i32 @printf(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/tmpo6h48gsd.c'
source_filename = "/tmp/tmpo6h48gsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_fsopen(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i64 @shim_enosys(i32 noundef 0, ptr noundef %5, i32 noundef %6)
%8 = trunc i64 %7 to i32
ret i32 %8
}
declare i64 @shim_enosys(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/tmpo6h48gsd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shim_fsopen(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load ptr, ptr %3, align 8
%6 = load i32, ptr %4, align 4
%7 = call i64 @shim_enosys(i32 noundef 0, ptr noundef %5, i32 noundef %6)
%8 = trunc i64 %7 to i32
ret i32 %8
}
declare i64 @shim_enosys(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/tmpon_3i_rg.c'
source_filename = "/tmp/tmpon_3i_rg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@qmf_stop_channel.stopMinTable = internal constant [12 x i8] c"\0D\0F\14\15\17 #0@F`", align 1
@qmf_stop_channel.offset = internal constant [12 x [14 x i8]] [[14 x i8] c"\00\02\04\06\08\0B\0E\12\16\1A\1F%,3", [14 x i8] c"\00\02\04\06\08\0B\0E\12\16\1A\1F$*1", [14 x i8] c"\00\02\04\06\08\0B\0E\11\15\19\1D\22',", [14 x i8] c"\00\02\04\06\08\0B\0E\11\14\18\1C!&+", [14 x i8] c"\00\02\04\06\08\0B\0E\11\14\18\1C $)", [14 x i8] c"\00\02\04\06\08\0A\0C\0E\11\14\17\1A\1D ", [14 x i8] c"\00\02\04\06\08\0A\0C\0E\11\14\17\1A\1D ", [14 x i8] c"\00\01\03\05\07\09\0B\0D\0F\11\14\17\1A\1D", [14 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A\0C\0E\10", [14 x i8] zeroinitializer, [14 x i8] c"\00\FF\FE\FD\FC\FB\FA\FA\FA\FA\FA\FA\FA\FA", [14 x i8] c"\00\FD\FA\F7\F4\F1\EE\EC\EA\E8\E6\E4\E2\E0"], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @qmf_stop_channel(i8 noundef zeroext %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i8 %2, ptr %7, align 1
%9 = load i8, ptr %5, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 %10, 15
br i1 %11, label %12, label %25
12: ; preds = %3
%13 = load i8, ptr %7, align 1
%14 = zext i8 %13 to i32
%15 = mul nsw i32 %14, 3
%16 = icmp slt i32 64, %15
br i1 %16, label %17, label %18
17: ; preds = %12
br label %22
18: ; preds = %12
%19 = load i8, ptr %7, align 1
%20 = zext i8 %19 to i32
%21 = mul nsw i32 %20, 3
br label %22
22: ; preds = %18, %17
%23 = phi i32 [ 64, %17 ], [ %21, %18 ]
%24 = trunc i32 %23 to i8
store i8 %24, ptr %4, align 1
br label %91
25: ; preds = %3
%26 = load i8, ptr %5, align 1
%27 = zext i8 %26 to i32
%28 = icmp eq i32 %27, 14
br i1 %28, label %29, label %42
29: ; preds = %25
%30 = load i8, ptr %7, align 1
%31 = zext i8 %30 to i32
%32 = mul nsw i32 %31, 2
%33 = icmp slt i32 64, %32
br i1 %33, label %34, label %35
34: ; preds = %29
br label %39
35: ; preds = %29
%36 = load i8, ptr %7, align 1
%37 = zext i8 %36 to i32
%38 = mul nsw i32 %37, 2
br label %39
39: ; preds = %35, %34
%40 = phi i32 [ 64, %34 ], [ %38, %35 ]
%41 = trunc i32 %40 to i8
store i8 %41, ptr %4, align 1
br label %91
42: ; preds = %25
%43 = load i32, ptr %6, align 4
%44 = call i64 @get_sr_index(i32 noundef %43)
%45 = getelementptr inbounds [12 x i8], ptr @qmf_stop_channel.stopMinTable, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
store i8 %46, ptr %8, align 1
%47 = load i8, ptr %8, align 1
%48 = zext i8 %47 to i32
%49 = load i32, ptr %6, align 4
%50 = call i64 @get_sr_index(i32 noundef %49)
%51 = getelementptr inbounds [12 x [14 x i8]], ptr @qmf_stop_channel.offset, i64 0, i64 %50
%52 = load i8, ptr %5, align 1
%53 = zext i8 %52 to i32
%54 = icmp slt i32 %53, 13
br i1 %54, label %55, label %58
55: ; preds = %42
%56 = load i8, ptr %5, align 1
%57 = zext i8 %56 to i32
br label %59
58: ; preds = %42
br label %59
59: ; preds = %58, %55
%60 = phi i32 [ %57, %55 ], [ 13, %58 ]
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [14 x i8], ptr %51, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = add nsw i32 %48, %64
%66 = icmp slt i32 64, %65
br i1 %66, label %67, label %68
67: ; preds = %59
br label %88
68: ; preds = %59
%69 = load i8, ptr %8, align 1
%70 = zext i8 %69 to i32
%71 = load i32, ptr %6, align 4
%72 = call i64 @get_sr_index(i32 noundef %71)
%73 = getelementptr inbounds [12 x [14 x i8]], ptr @qmf_stop_channel.offset, i64 0, i64 %72
%74 = load i8, ptr %5, align 1
%75 = zext i8 %74 to i32
%76 = icmp slt i32 %75, 13
br i1 %76, label %77, label %80
77: ; preds = %68
%78 = load i8, ptr %5, align 1
%79 = zext i8 %78 to i32
br label %81
80: ; preds = %68
br label %81
81: ; preds = %80, %77
%82 = phi i32 [ %79, %77 ], [ 13, %80 ]
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [14 x i8], ptr %73, i64 0, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = add nsw i32 %70, %86
br label %88
88: ; preds = %81, %67
%89 = phi i32 [ 64, %67 ], [ %87, %81 ]
%90 = trunc i32 %89 to i8
store i8 %90, ptr %4, align 1
br label %91
91: ; preds = %88, %39, %22
%92 = load i8, ptr %4, align 1
ret i8 %92
}
declare i64 @get_sr_index(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/tmpon_3i_rg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@qmf_stop_channel.stopMinTable = internal constant [12 x i8] c"\0D\0F\14\15\17 #0@F`", align 1
@qmf_stop_channel.offset = internal constant [12 x [14 x i8]] [[14 x i8] c"\00\02\04\06\08\0B\0E\12\16\1A\1F%,3", [14 x i8] c"\00\02\04\06\08\0B\0E\12\16\1A\1F$*1", [14 x i8] c"\00\02\04\06\08\0B\0E\11\15\19\1D\22',", [14 x i8] c"\00\02\04\06\08\0B\0E\11\14\18\1C!&+", [14 x i8] c"\00\02\04\06\08\0B\0E\11\14\18\1C $)", [14 x i8] c"\00\02\04\06\08\0A\0C\0E\11\14\17\1A\1D ", [14 x i8] c"\00\02\04\06\08\0A\0C\0E\11\14\17\1A\1D ", [14 x i8] c"\00\01\03\05\07\09\0B\0D\0F\11\14\17\1A\1D", [14 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A\0C\0E\10", [14 x i8] zeroinitializer, [14 x i8] c"\00\FF\FE\FD\FC\FB\FA\FA\FA\FA\FA\FA\FA\FA", [14 x i8] c"\00\FD\FA\F7\F4\F1\EE\EC\EA\E8\E6\E4\E2\E0"], align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @qmf_stop_channel(i8 noundef zeroext %0, i32 noundef %1, i8 noundef zeroext %2) #0 {
%4 = alloca i8, align 1
%5 = alloca i8, align 1
%6 = alloca i32, align 4
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store i8 %0, ptr %5, align 1
store i32 %1, ptr %6, align 4
store i8 %2, ptr %7, align 1
%9 = load i8, ptr %5, align 1
%10 = zext i8 %9 to i32
%11 = icmp eq i32 %10, 15
br i1 %11, label %12, label %25
12: ; preds = %3
%13 = load i8, ptr %7, align 1
%14 = zext i8 %13 to i32
%15 = mul nsw i32 %14, 3
%16 = icmp slt i32 64, %15
br i1 %16, label %17, label %18
17: ; preds = %12
br label %22
18: ; preds = %12
%19 = load i8, ptr %7, align 1
%20 = zext i8 %19 to i32
%21 = mul nsw i32 %20, 3
br label %22
22: ; preds = %18, %17
%23 = phi i32 [ 64, %17 ], [ %21, %18 ]
%24 = trunc i32 %23 to i8
store i8 %24, ptr %4, align 1
br label %91
25: ; preds = %3
%26 = load i8, ptr %5, align 1
%27 = zext i8 %26 to i32
%28 = icmp eq i32 %27, 14
br i1 %28, label %29, label %42
29: ; preds = %25
%30 = load i8, ptr %7, align 1
%31 = zext i8 %30 to i32
%32 = mul nsw i32 %31, 2
%33 = icmp slt i32 64, %32
br i1 %33, label %34, label %35
34: ; preds = %29
br label %39
35: ; preds = %29
%36 = load i8, ptr %7, align 1
%37 = zext i8 %36 to i32
%38 = mul nsw i32 %37, 2
br label %39
39: ; preds = %35, %34
%40 = phi i32 [ 64, %34 ], [ %38, %35 ]
%41 = trunc i32 %40 to i8
store i8 %41, ptr %4, align 1
br label %91
42: ; preds = %25
%43 = load i32, ptr %6, align 4
%44 = call i64 @get_sr_index(i32 noundef %43)
%45 = getelementptr inbounds [12 x i8], ptr @qmf_stop_channel.stopMinTable, i64 0, i64 %44
%46 = load i8, ptr %45, align 1
store i8 %46, ptr %8, align 1
%47 = load i8, ptr %8, align 1
%48 = zext i8 %47 to i32
%49 = load i32, ptr %6, align 4
%50 = call i64 @get_sr_index(i32 noundef %49)
%51 = getelementptr inbounds [12 x [14 x i8]], ptr @qmf_stop_channel.offset, i64 0, i64 %50
%52 = load i8, ptr %5, align 1
%53 = zext i8 %52 to i32
%54 = icmp slt i32 %53, 13
br i1 %54, label %55, label %58
55: ; preds = %42
%56 = load i8, ptr %5, align 1
%57 = zext i8 %56 to i32
br label %59
58: ; preds = %42
br label %59
59: ; preds = %58, %55
%60 = phi i32 [ %57, %55 ], [ 13, %58 ]
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [14 x i8], ptr %51, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = add nsw i32 %48, %64
%66 = icmp slt i32 64, %65
br i1 %66, label %67, label %68
67: ; preds = %59
br label %88
68: ; preds = %59
%69 = load i8, ptr %8, align 1
%70 = zext i8 %69 to i32
%71 = load i32, ptr %6, align 4
%72 = call i64 @get_sr_index(i32 noundef %71)
%73 = getelementptr inbounds [12 x [14 x i8]], ptr @qmf_stop_channel.offset, i64 0, i64 %72
%74 = load i8, ptr %5, align 1
%75 = zext i8 %74 to i32
%76 = icmp slt i32 %75, 13
br i1 %76, label %77, label %80
77: ; preds = %68
%78 = load i8, ptr %5, align 1
%79 = zext i8 %78 to i32
br label %81
80: ; preds = %68
br label %81
81: ; preds = %80, %77
%82 = phi i32 [ %79, %77 ], [ 13, %80 ]
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [14 x i8], ptr %73, i64 0, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = add nsw i32 %70, %86
br label %88
88: ; preds = %81, %67
%89 = phi i32 [ 64, %67 ], [ %87, %81 ]
%90 = trunc i32 %89 to i8
store i8 %90, ptr %4, align 1
br label %91
91: ; preds = %88, %39, %22
%92 = load i8, ptr %4, align 1
ret i8 %92
}
declare i64 @get_sr_index(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/tmpplbbf540.c'
source_filename = "/tmp/tmpplbbf540.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Button1 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clickXY(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 4
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 4
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %16, %17
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = call i32 @moveTo(ptr noundef %15, i32 noundef %18, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr @Button1, align 4
%25 = call i32 @click(ptr noundef %23, i32 noundef %24)
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @moveTo(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @click(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/tmpplbbf540.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@Button1 = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clickXY(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%9 = call i32 @time(ptr noundef null)
%10 = call i32 @srand(i32 noundef %9)
%11 = call i32 (...) @rand()
%12 = srem i32 %11, 4
store i32 %12, ptr %7, align 4
%13 = call i32 (...) @rand()
%14 = srem i32 %13, 4
store i32 %14, ptr %8, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %7, align 4
%18 = add nsw i32 %16, %17
%19 = load i32, ptr %6, align 4
%20 = load i32, ptr %8, align 4
%21 = add nsw i32 %19, %20
%22 = call i32 @moveTo(ptr noundef %15, i32 noundef %18, i32 noundef %21)
%23 = load ptr, ptr %4, align 8
%24 = load i32, ptr @Button1, align 4
%25 = call i32 @click(ptr noundef %23, i32 noundef %24)
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @rand(...) #1
declare i32 @moveTo(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @click(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/tmpn2p17grg.c'
source_filename = "/tmp/tmpn2p17grg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @device_get_nameunit() #0 {
%1 = call i32 @nsc_assert(i32 noundef 0)
ret void
}
declare i32 @nsc_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpn2p17grg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @device_get_nameunit() #0 {
%1 = call i32 @nsc_assert(i32 noundef 0)
ret void
}
declare i32 @nsc_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpxyt1qgtb.c'
source_filename = "/tmp/tmpxyt1qgtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_euclidean_distance(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = fsub double %15, %20
store double %21, ptr %9, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = fsub double %26, %31
store double %32, ptr %10, align 8
%33 = load double, ptr %9, align 8
%34 = load double, ptr %9, align 8
%35 = load double, ptr %10, align 8
%36 = load double, ptr %10, align 8
%37 = fmul double %35, %36
%38 = call double @llvm.fmuladd.f64(double %33, double %34, double %37)
%39 = call i64 @sqrt(double noundef %38)
%40 = sitofp i64 %39 to double
%41 = fadd double %40, 5.000000e-01
%42 = fptosi double %41 to i32
ret i32 %42
}
declare i64 @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxyt1qgtb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_euclidean_distance(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca double, align 8
%10 = alloca double, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %7, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = load ptr, ptr %5, align 8
%17 = load i32, ptr %8, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
%20 = load double, ptr %19, align 8
%21 = fsub double %15, %20
store double %21, ptr %9, align 8
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %7, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = load ptr, ptr %6, align 8
%28 = load i32, ptr %8, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, ptr %27, i64 %29
%31 = load double, ptr %30, align 8
%32 = fsub double %26, %31
store double %32, ptr %10, align 8
%33 = load double, ptr %9, align 8
%34 = load double, ptr %9, align 8
%35 = load double, ptr %10, align 8
%36 = load double, ptr %10, align 8
%37 = fmul double %35, %36
%38 = call double @llvm.fmuladd.f64(double %33, double %34, double %37)
%39 = call i64 @sqrt(double noundef %38)
%40 = sitofp i64 %39 to double
%41 = fadd double %40, 5.000000e-01
%42 = fptosi double %41 to i32
ret i32 %42
}
declare i64 @sqrt(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplgyzlirg.c'
source_filename = "/tmp/tmplgyzlirg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@string_atof.funcname = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [12 x i8] c"string_atof\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @string_atof(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = load ptr, ptr @string_atof.funcname, align 8
%11 = call i32 @willus_mem_alloc_warn(ptr noundef %4, i64 noundef %9, ptr noundef %10, i32 noundef 10)
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call double @atof(ptr noundef %15)
store double %16, ptr %2, align 8
br label %61
17: ; preds = %1
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
store i32 0, ptr %5, align 4
br label %21
21: ; preds = %52, %17
%22 = load ptr, ptr %4, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %55
29: ; preds = %21
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = call signext i8 @tolower(i8 noundef signext %34)
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 100
br i1 %37, label %38, label %51
38: ; preds = %29
%39 = load ptr, ptr %4, align 8
%40 = load i32, ptr %5, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds i8, ptr %39, i64 %41
%43 = load i8, ptr %42, align 1
%44 = sext i8 %43 to i32
%45 = add nsw i32 %44, 1
%46 = trunc i32 %45 to i8
%47 = load ptr, ptr %4, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
store i8 %46, ptr %50, align 1
br label %51
51: ; preds = %38, %29
br label %52
52: ; preds = %51
%53 = load i32, ptr %5, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %5, align 4
br label %21, !llvm.loop !6
55: ; preds = %21
%56 = load ptr, ptr %4, align 8
%57 = call double @atof(ptr noundef %56)
store double %57, ptr %6, align 8
%58 = load ptr, ptr @string_atof.funcname, align 8
%59 = call i32 @willus_mem_free(ptr noundef %4, ptr noundef %58)
%60 = load double, ptr %6, align 8
store double %60, ptr %2, align 8
br label %61
61: ; preds = %55, %14
%62 = load double, ptr %2, align 8
ret double %62
}
declare i32 @willus_mem_alloc_warn(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @willus_mem_free(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplgyzlirg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@string_atof.funcname = internal global ptr @.str, align 8
@.str = private unnamed_addr constant [12 x i8] c"string_atof\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @string_atof(ptr noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca double, align 8
store ptr %0, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i64 @strlen(ptr noundef %7)
%9 = add nsw i64 %8, 1
%10 = load ptr, ptr @string_atof.funcname, align 8
%11 = call i32 @willus_mem_alloc_warn(ptr noundef %4, i64 noundef %9, ptr noundef %10, i32 noundef 10)
%12 = load ptr, ptr %4, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %17
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call double @atof(ptr noundef %15)
store double %16, ptr %2, align 8
br label %67
17: ; preds = %1
%18 = load ptr, ptr %4, align 8
%19 = load ptr, ptr %3, align 8
%20 = call i32 @strcpy(ptr noundef %18, ptr noundef %19)
store i32 0, ptr %5, align 4
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %5, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp ne i32 %26, 0
br i1 %27, label %.lr.ph, label %61
.lr.ph: ; preds = %17
br label %28
28: ; preds = %.lr.ph, %51
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i8, ptr %29, i64 %31
%33 = load i8, ptr %32, align 1
%34 = call signext i8 @tolower(i8 noundef signext %33)
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 100
br i1 %36, label %37, label %50
37: ; preds = %28
%38 = load ptr, ptr %4, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = add nsw i32 %43, 1
%45 = trunc i32 %44 to i8
%46 = load ptr, ptr %4, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 %45, ptr %49, align 1
br label %50
50: ; preds = %37, %28
br label %51
51: ; preds = %50
%52 = load i32, ptr %5, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %5, align 4
%54 = load ptr, ptr %4, align 8
%55 = load i32, ptr %5, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %54, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp ne i32 %59, 0
br i1 %60, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %61
61: ; preds = %._crit_edge, %17
%62 = load ptr, ptr %4, align 8
%63 = call double @atof(ptr noundef %62)
store double %63, ptr %6, align 8
%64 = load ptr, ptr @string_atof.funcname, align 8
%65 = call i32 @willus_mem_free(ptr noundef %4, ptr noundef %64)
%66 = load double, ptr %6, align 8
store double %66, ptr %2, align 8
br label %67
67: ; preds = %61, %14
%68 = load double, ptr %2, align 8
ret double %68
}
declare i32 @willus_mem_alloc_warn(ptr noundef, i64 noundef, ptr noundef, i32 noundef) #1
declare i64 @strlen(ptr noundef) #1
declare double @atof(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare signext i8 @tolower(i8 noundef signext) #1
declare i32 @willus_mem_free(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp95qgwahx.c'
source_filename = "/tmp/tmp95qgwahx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_base(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca [100 x i64], align 16
%11 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i64 0, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 800, i1 false)
store i64 -1, ptr %11, align 8
%12 = load i64, ptr %4, align 8
store i64 %12, ptr %7, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %36
16: ; preds = %3
br label %17
17: ; preds = %20, %16
%18 = load i64, ptr %7, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %33
20: ; preds = %17
%21 = load i64, ptr %7, align 8
%22 = srem i64 %21, 10
store i64 %22, ptr %9, align 8
%23 = load i64, ptr %7, align 8
%24 = sdiv i64 %23, 10
store i64 %24, ptr %7, align 8
%25 = load i64, ptr %9, align 8
%26 = load i32, ptr %5, align 4
%27 = load i64, ptr %11, align 8
%28 = add nsw i64 %27, 1
store i64 %28, ptr %11, align 8
%29 = call i64 @pow(i32 noundef %26, i64 noundef %28)
%30 = mul nsw i64 %25, %29
%31 = load i64, ptr %8, align 8
%32 = add nsw i64 %31, %30
store i64 %32, ptr %8, align 8
br label %17, !llvm.loop !6
33: ; preds = %17
%34 = load i64, ptr %8, align 8
%35 = call i32 @printf(ptr noundef @.str, i64 noundef %34)
br label %57
36: ; preds = %3
br label %37
37: ; preds = %40, %36
%38 = load i64, ptr %7, align 8
%39 = icmp ne i64 %38, 0
br i1 %39, label %40, label %53
40: ; preds = %37
%41 = load i64, ptr %7, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = srem i64 %41, %43
store i64 %44, ptr %9, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = load i64, ptr %7, align 8
%48 = sdiv i64 %47, %46
store i64 %48, ptr %7, align 8
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %11, align 8
%51 = add nsw i64 %50, 1
store i64 %51, ptr %11, align 8
%52 = getelementptr inbounds [100 x i64], ptr %10, i64 0, i64 %51
store i64 %49, ptr %52, align 8
br label %37, !llvm.loop !8
53: ; preds = %37
%54 = getelementptr inbounds [100 x i64], ptr %10, i64 0, i64 0
%55 = load i64, ptr %11, align 8
%56 = call i32 @print_back(ptr noundef %54, i64 noundef %55)
br label %57
57: ; preds = %53, %33
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @pow(i32 noundef, i64 noundef) #2
declare i32 @printf(ptr noundef, i64 noundef) #2
declare i32 @print_back(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp95qgwahx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%ld\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @convert_base(i64 noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i64, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
%10 = alloca [100 x i64], align 16
%11 = alloca i64, align 8
store i64 %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i64 0, ptr %8, align 8
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 800, i1 false)
store i64 -1, ptr %11, align 8
%12 = load i64, ptr %4, align 8
store i64 %12, ptr %7, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = icmp slt i32 %13, %14
br i1 %15, label %16, label %37
16: ; preds = %3
%17 = load i64, ptr %7, align 8
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph2, label %34
.lr.ph2: ; preds = %16
br label %19
19: ; preds = %.lr.ph2, %19
%20 = load i64, ptr %7, align 8
%21 = srem i64 %20, 10
store i64 %21, ptr %9, align 8
%22 = load i64, ptr %7, align 8
%23 = sdiv i64 %22, 10
store i64 %23, ptr %7, align 8
%24 = load i64, ptr %9, align 8
%25 = load i32, ptr %5, align 4
%26 = load i64, ptr %11, align 8
%27 = add nsw i64 %26, 1
store i64 %27, ptr %11, align 8
%28 = call i64 @pow(i32 noundef %25, i64 noundef %27)
%29 = mul nsw i64 %24, %28
%30 = load i64, ptr %8, align 8
%31 = add nsw i64 %30, %29
store i64 %31, ptr %8, align 8
%32 = load i64, ptr %7, align 8
%33 = icmp ne i64 %32, 0
br i1 %33, label %19, label %._crit_edge3, !llvm.loop !6
._crit_edge3: ; preds = %19
br label %34
34: ; preds = %._crit_edge3, %16
%35 = load i64, ptr %8, align 8
%36 = call i32 @printf(ptr noundef @.str, i64 noundef %35)
br label %59
37: ; preds = %3
%38 = load i64, ptr %7, align 8
%39 = icmp ne i64 %38, 0
br i1 %39, label %.lr.ph, label %55
.lr.ph: ; preds = %37
br label %40
40: ; preds = %.lr.ph, %40
%41 = load i64, ptr %7, align 8
%42 = load i32, ptr %6, align 4
%43 = sext i32 %42 to i64
%44 = srem i64 %41, %43
store i64 %44, ptr %9, align 8
%45 = load i32, ptr %6, align 4
%46 = sext i32 %45 to i64
%47 = load i64, ptr %7, align 8
%48 = sdiv i64 %47, %46
store i64 %48, ptr %7, align 8
%49 = load i64, ptr %9, align 8
%50 = load i64, ptr %11, align 8
%51 = add nsw i64 %50, 1
store i64 %51, ptr %11, align 8
%52 = getelementptr inbounds [100 x i64], ptr %10, i64 0, i64 %51
store i64 %49, ptr %52, align 8
%53 = load i64, ptr %7, align 8
%54 = icmp ne i64 %53, 0
br i1 %54, label %40, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %40
br label %55
55: ; preds = %._crit_edge, %37
%56 = getelementptr inbounds [100 x i64], ptr %10, i64 0, i64 0
%57 = load i64, ptr %11, align 8
%58 = call i32 @print_back(ptr noundef %56, i64 noundef %57)
br label %59
59: ; preds = %55, %34
ret void
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i64 @pow(i32 noundef, i64 noundef) #2
declare i32 @printf(ptr noundef, i64 noundef) #2
declare i32 @print_back(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpndh96651.c'
source_filename = "/tmp/tmpndh96651.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xproperty_send_event(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpndh96651.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_4__ = type { %struct.TYPE_3__ }
%struct.TYPE_3__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XEvent_xproperty_send_event(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i32 0, i32 0
%8 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i32 0, i32 0
store i32 %5, ptr %8, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2zzrng1d.c'
source_filename = "/tmp/tmp2zzrng1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @a2i(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 10, ptr %5, align 4
store i64 0, ptr %6, align 8
br label %9
9: ; preds = %14, %1
%10 = load ptr, ptr %3, align 8
%11 = load i8, ptr %10, align 1
%12 = call i64 @isspace(i8 noundef signext %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %17
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = getelementptr inbounds i8, ptr %15, i32 1
store ptr %16, ptr %3, align 8
br label %9, !llvm.loop !6
17: ; preds = %9
%18 = load ptr, ptr %3, align 8
%19 = call i64 @strcmp(ptr noundef %18, ptr noundef @.str)
%20 = icmp eq i64 %19, 0
br i1 %20, label %25, label %21
21: ; preds = %17
%22 = load ptr, ptr %3, align 8
%23 = call i64 @strcmp(ptr noundef %22, ptr noundef @.str.1)
%24 = icmp eq i64 %23, 0
br i1 %24, label %25, label %26
25: ; preds = %21, %17
store i64 1, ptr %2, align 8
br label %191
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str.2)
%29 = icmp eq i64 %28, 0
br i1 %29, label %34, label %30
30: ; preds = %26
%31 = load ptr, ptr %3, align 8
%32 = call i64 @strcmp(ptr noundef %31, ptr noundef @.str.2)
%33 = icmp eq i64 %32, 0
br i1 %33, label %34, label %35
34: ; preds = %30, %26
store i64 0, ptr %2, align 8
br label %191
35: ; preds = %30
%36 = load ptr, ptr %3, align 8
%37 = load i8, ptr %36, align 1
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 45
br i1 %39, label %40, label %43
40: ; preds = %35
store i32 1, ptr %4, align 4
%41 = load ptr, ptr %3, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %3, align 8
br label %43
43: ; preds = %40, %35
%44 = load ptr, ptr %3, align 8
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 48
br i1 %47, label %48, label %81
48: ; preds = %43
%49 = load ptr, ptr %3, align 8
%50 = getelementptr inbounds i8, ptr %49, i64 1
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp eq i32 %52, 120
br i1 %53, label %60, label %54
54: ; preds = %48
%55 = load ptr, ptr %3, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 1
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 88
br i1 %59, label %60, label %63
60: ; preds = %54, %48
%61 = load ptr, ptr %3, align 8
%62 = getelementptr inbounds i8, ptr %61, i64 2
store ptr %62, ptr %3, align 8
store i32 16, ptr %5, align 4
br label %80
63: ; preds = %54
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 1
%66 = load i8, ptr %65, align 1
%67 = sext i8 %66 to i32
%68 = icmp eq i32 %67, 98
br i1 %68, label %75, label %69
69: ; preds = %63
%70 = load ptr, ptr %3, align 8
%71 = getelementptr inbounds i8, ptr %70, i64 1
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp eq i32 %73, 98
br i1 %74, label %75, label %78
75: ; preds = %69, %63
%76 = load ptr, ptr %3, align 8
%77 = getelementptr inbounds i8, ptr %76, i64 2
store ptr %77, ptr %3, align 8
store i32 2, ptr %5, align 4
br label %79
78: ; preds = %69
store i32 8, ptr %5, align 4
br label %79
79: ; preds = %78, %75
br label %80
80: ; preds = %79, %60
br label %81
81: ; preds = %80, %43
store i32 1, ptr %7, align 4
br label %82
82: ; preds = %182, %81
%83 = load i32, ptr %7, align 4
%84 = icmp ne i32 %83, 0
br i1 %84, label %85, label %183
85: ; preds = %82
%86 = load ptr, ptr %3, align 8
%87 = getelementptr inbounds i8, ptr %86, i32 1
store ptr %87, ptr %3, align 8
%88 = load i8, ptr %86, align 1
%89 = sext i8 %88 to i32
store i32 %89, ptr %8, align 4
%90 = load i32, ptr %5, align 4
switch i32 %90, label %91 [
i32 2, label %92
i32 10, label %107
i32 8, label %122
i32 16, label %137
]
91: ; preds = %85
store i32 0, ptr %7, align 4
br label %182
92: ; preds = %85
%93 = load i32, ptr %8, align 4
%94 = icmp sge i32 %93, 48
br i1 %94, label %95, label %105
95: ; preds = %92
%96 = load i32, ptr %8, align 4
%97 = icmp sle i32 %96, 49
br i1 %97, label %98, label %105
98: ; preds = %95
%99 = load i64, ptr %6, align 8
%100 = mul i64 %99, 2
%101 = load i32, ptr %8, align 4
%102 = sub nsw i32 %101, 48
%103 = sext i32 %102 to i64
%104 = add i64 %100, %103
store i64 %104, ptr %6, align 8
br label %106
105: ; preds = %95, %92
store i32 0, ptr %7, align 4
br label %106
106: ; preds = %105, %98
br label %182
107: ; preds = %85
%108 = load i32, ptr %8, align 4
%109 = icmp sge i32 %108, 48
br i1 %109, label %110, label %120
110: ; preds = %107
%111 = load i32, ptr %8, align 4
%112 = icmp sle i32 %111, 57
br i1 %112, label %113, label %120
113: ; preds = %110
%114 = load i64, ptr %6, align 8
%115 = mul i64 %114, 10
%116 = load i32, ptr %8, align 4
%117 = sub nsw i32 %116, 48
%118 = sext i32 %117 to i64
%119 = add i64 %115, %118
store i64 %119, ptr %6, align 8
br label %121
120: ; preds = %110, %107
store i32 0, ptr %7, align 4
br label %121
121: ; preds = %120, %113
br label %182
122: ; preds = %85
%123 = load i32, ptr %8, align 4
%124 = icmp sge i32 %123, 48
br i1 %124, label %125, label %135
125: ; preds = %122
%126 = load i32, ptr %8, align 4
%127 = icmp sle i32 %126, 55
br i1 %127, label %128, label %135
128: ; preds = %125
%129 = load i64, ptr %6, align 8
%130 = mul i64 %129, 8
%131 = load i32, ptr %8, align 4
%132 = sub nsw i32 %131, 48
%133 = sext i32 %132 to i64
%134 = add i64 %130, %133
store i64 %134, ptr %6, align 8
br label %136
135: ; preds = %125, %122
store i32 0, ptr %7, align 4
br label %136
136: ; preds = %135, %128
br label %182
137: ; preds = %85
%138 = load i32, ptr %8, align 4
%139 = icmp sge i32 %138, 48
br i1 %139, label %140, label %150
140: ; preds = %137
%141 = load i32, ptr %8, align 4
%142 = icmp sle i32 %141, 57
br i1 %142, label %143, label %150
143: ; preds = %140
%144 = load i64, ptr %6, align 8
%145 = mul i64 %144, 16
%146 = load i32, ptr %8, align 4
%147 = sub nsw i32 %146, 48
%148 = sext i32 %147 to i64
%149 = add i64 %145, %148
store i64 %149, ptr %6, align 8
br label %181
150: ; preds = %140, %137
%151 = load i32, ptr %8, align 4
%152 = icmp sge i32 %151, 97
br i1 %152, label %153, label %164
153: ; preds = %150
%154 = load i32, ptr %8, align 4
%155 = icmp sle i32 %154, 102
br i1 %155, label %156, label %164
156: ; preds = %153
%157 = load i64, ptr %6, align 8
%158 = mul i64 %157, 16
%159 = load i32, ptr %8, align 4
%160 = sub nsw i32 %159, 97
%161 = add nsw i32 %160, 10
%162 = sext i32 %161 to i64
%163 = add i64 %158, %162
store i64 %163, ptr %6, align 8
br label %180
164: ; preds = %153, %150
%165 = load i32, ptr %8, align 4
%166 = icmp sge i32 %165, 65
br i1 %166, label %167, label %178
167: ; preds = %164
%168 = load i32, ptr %8, align 4
%169 = icmp sle i32 %168, 70
br i1 %169, label %170, label %178
170: ; preds = %167
%171 = load i64, ptr %6, align 8
%172 = mul i64 %171, 16
%173 = load i32, ptr %8, align 4
%174 = sub nsw i32 %173, 65
%175 = add nsw i32 %174, 10
%176 = sext i32 %175 to i64
%177 = add i64 %172, %176
store i64 %177, ptr %6, align 8
br label %179
178: ; preds = %167, %164
store i32 0, ptr %7, align 4
br label %179
179: ; preds = %178, %170
br label %180
180: ; preds = %179, %156
br label %181
181: ; preds = %180, %143
br label %182
182: ; preds = %181, %136, %121, %106, %91
br label %82, !llvm.loop !8
183: ; preds = %82
%184 = load i32, ptr %4, align 4
%185 = icmp ne i32 %184, 0
br i1 %185, label %186, label %189
186: ; preds = %183
%187 = load i64, ptr %6, align 8
%188 = sub i64 0, %187
store i64 %188, ptr %6, align 8
br label %189
189: ; preds = %186, %183
%190 = load i64, ptr %6, align 8
store i64 %190, ptr %2, align 8
br label %191
191: ; preds = %189, %34, %25
%192 = load i64, ptr %2, align 8
ret i64 %192
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2zzrng1d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"true\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"TRUE\00", align 1
@.str.2 = private unnamed_addr constant [6 x i8] c"false\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @a2i(ptr noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i64, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
store i32 10, ptr %5, align 4
store i64 0, ptr %6, align 8
%9 = load ptr, ptr %3, align 8
%10 = load i8, ptr %9, align 1
%11 = call i64 @isspace(i8 noundef signext %10)
%12 = icmp ne i64 %11, 0
br i1 %12, label %.lr.ph, label %20
.lr.ph: ; preds = %1
br label %13
13: ; preds = %.lr.ph, %13
%14 = load ptr, ptr %3, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %3, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i8, ptr %16, align 1
%18 = call i64 @isspace(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %20
20: ; preds = %._crit_edge, %1
%21 = load ptr, ptr %3, align 8
%22 = call i64 @strcmp(ptr noundef %21, ptr noundef @.str)
%23 = icmp eq i64 %22, 0
br i1 %23, label %28, label %24
24: ; preds = %20
%25 = load ptr, ptr %3, align 8
%26 = call i64 @strcmp(ptr noundef %25, ptr noundef @.str.1)
%27 = icmp eq i64 %26, 0
br i1 %27, label %28, label %29
28: ; preds = %24, %20
store i64 1, ptr %2, align 8
br label %195
29: ; preds = %24
%30 = load ptr, ptr %3, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.2)
%32 = icmp eq i64 %31, 0
br i1 %32, label %37, label %33
33: ; preds = %29
%34 = load ptr, ptr %3, align 8
%35 = call i64 @strcmp(ptr noundef %34, ptr noundef @.str.2)
%36 = icmp eq i64 %35, 0
br i1 %36, label %37, label %38
37: ; preds = %33, %29
store i64 0, ptr %2, align 8
br label %195
38: ; preds = %33
%39 = load ptr, ptr %3, align 8
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp eq i32 %41, 45
br i1 %42, label %43, label %46
43: ; preds = %38
store i32 1, ptr %4, align 4
%44 = load ptr, ptr %3, align 8
%45 = getelementptr inbounds i8, ptr %44, i32 1
store ptr %45, ptr %3, align 8
br label %46
46: ; preds = %43, %38
%47 = load ptr, ptr %3, align 8
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 48
br i1 %50, label %51, label %84
51: ; preds = %46
%52 = load ptr, ptr %3, align 8
%53 = getelementptr inbounds i8, ptr %52, i64 1
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = icmp eq i32 %55, 120
br i1 %56, label %63, label %57
57: ; preds = %51
%58 = load ptr, ptr %3, align 8
%59 = getelementptr inbounds i8, ptr %58, i64 1
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 88
br i1 %62, label %63, label %66
63: ; preds = %57, %51
%64 = load ptr, ptr %3, align 8
%65 = getelementptr inbounds i8, ptr %64, i64 2
store ptr %65, ptr %3, align 8
store i32 16, ptr %5, align 4
br label %83
66: ; preds = %57
%67 = load ptr, ptr %3, align 8
%68 = getelementptr inbounds i8, ptr %67, i64 1
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 98
br i1 %71, label %78, label %72
72: ; preds = %66
%73 = load ptr, ptr %3, align 8
%74 = getelementptr inbounds i8, ptr %73, i64 1
%75 = load i8, ptr %74, align 1
%76 = sext i8 %75 to i32
%77 = icmp eq i32 %76, 98
br i1 %77, label %78, label %81
78: ; preds = %72, %66
%79 = load ptr, ptr %3, align 8
%80 = getelementptr inbounds i8, ptr %79, i64 2
store ptr %80, ptr %3, align 8
store i32 2, ptr %5, align 4
br label %82
81: ; preds = %72
store i32 8, ptr %5, align 4
br label %82
82: ; preds = %81, %78
br label %83
83: ; preds = %82, %63
br label %84
84: ; preds = %83, %46
store i32 1, ptr %7, align 4
%85 = load i32, ptr %7, align 4
%86 = icmp ne i32 %85, 0
br i1 %86, label %.lr.ph2, label %187
.lr.ph2: ; preds = %84
br label %87
87: ; preds = %.lr.ph2, %184
%88 = load ptr, ptr %3, align 8
%89 = getelementptr inbounds i8, ptr %88, i32 1
store ptr %89, ptr %3, align 8
%90 = load i8, ptr %88, align 1
%91 = sext i8 %90 to i32
store i32 %91, ptr %8, align 4
%92 = load i32, ptr %5, align 4
switch i32 %92, label %93 [
i32 2, label %94
i32 10, label %109
i32 8, label %124
i32 16, label %139
]
93: ; preds = %87
store i32 0, ptr %7, align 4
br label %184
94: ; preds = %87
%95 = load i32, ptr %8, align 4
%96 = icmp sge i32 %95, 48
br i1 %96, label %97, label %107
97: ; preds = %94
%98 = load i32, ptr %8, align 4
%99 = icmp sle i32 %98, 49
br i1 %99, label %100, label %107
100: ; preds = %97
%101 = load i64, ptr %6, align 8
%102 = mul i64 %101, 2
%103 = load i32, ptr %8, align 4
%104 = sub nsw i32 %103, 48
%105 = sext i32 %104 to i64
%106 = add i64 %102, %105
store i64 %106, ptr %6, align 8
br label %108
107: ; preds = %97, %94
store i32 0, ptr %7, align 4
br label %108
108: ; preds = %107, %100
br label %184
109: ; preds = %87
%110 = load i32, ptr %8, align 4
%111 = icmp sge i32 %110, 48
br i1 %111, label %112, label %122
112: ; preds = %109
%113 = load i32, ptr %8, align 4
%114 = icmp sle i32 %113, 57
br i1 %114, label %115, label %122
115: ; preds = %112
%116 = load i64, ptr %6, align 8
%117 = mul i64 %116, 10
%118 = load i32, ptr %8, align 4
%119 = sub nsw i32 %118, 48
%120 = sext i32 %119 to i64
%121 = add i64 %117, %120
store i64 %121, ptr %6, align 8
br label %123
122: ; preds = %112, %109
store i32 0, ptr %7, align 4
br label %123
123: ; preds = %122, %115
br label %184
124: ; preds = %87
%125 = load i32, ptr %8, align 4
%126 = icmp sge i32 %125, 48
br i1 %126, label %127, label %137
127: ; preds = %124
%128 = load i32, ptr %8, align 4
%129 = icmp sle i32 %128, 55
br i1 %129, label %130, label %137
130: ; preds = %127
%131 = load i64, ptr %6, align 8
%132 = mul i64 %131, 8
%133 = load i32, ptr %8, align 4
%134 = sub nsw i32 %133, 48
%135 = sext i32 %134 to i64
%136 = add i64 %132, %135
store i64 %136, ptr %6, align 8
br label %138
137: ; preds = %127, %124
store i32 0, ptr %7, align 4
br label %138
138: ; preds = %137, %130
br label %184
139: ; preds = %87
%140 = load i32, ptr %8, align 4
%141 = icmp sge i32 %140, 48
br i1 %141, label %142, label %152
142: ; preds = %139
%143 = load i32, ptr %8, align 4
%144 = icmp sle i32 %143, 57
br i1 %144, label %145, label %152
145: ; preds = %142
%146 = load i64, ptr %6, align 8
%147 = mul i64 %146, 16
%148 = load i32, ptr %8, align 4
%149 = sub nsw i32 %148, 48
%150 = sext i32 %149 to i64
%151 = add i64 %147, %150
store i64 %151, ptr %6, align 8
br label %183
152: ; preds = %142, %139
%153 = load i32, ptr %8, align 4
%154 = icmp sge i32 %153, 97
br i1 %154, label %155, label %166
155: ; preds = %152
%156 = load i32, ptr %8, align 4
%157 = icmp sle i32 %156, 102
br i1 %157, label %158, label %166
158: ; preds = %155
%159 = load i64, ptr %6, align 8
%160 = mul i64 %159, 16
%161 = load i32, ptr %8, align 4
%162 = sub nsw i32 %161, 97
%163 = add nsw i32 %162, 10
%164 = sext i32 %163 to i64
%165 = add i64 %160, %164
store i64 %165, ptr %6, align 8
br label %182
166: ; preds = %155, %152
%167 = load i32, ptr %8, align 4
%168 = icmp sge i32 %167, 65
br i1 %168, label %169, label %180
169: ; preds = %166
%170 = load i32, ptr %8, align 4
%171 = icmp sle i32 %170, 70
br i1 %171, label %172, label %180
172: ; preds = %169
%173 = load i64, ptr %6, align 8
%174 = mul i64 %173, 16
%175 = load i32, ptr %8, align 4
%176 = sub nsw i32 %175, 65
%177 = add nsw i32 %176, 10
%178 = sext i32 %177 to i64
%179 = add i64 %174, %178
store i64 %179, ptr %6, align 8
br label %181
180: ; preds = %169, %166
store i32 0, ptr %7, align 4
br label %181
181: ; preds = %180, %172
br label %182
182: ; preds = %181, %158
br label %183
183: ; preds = %182, %145
br label %184
184: ; preds = %183, %138, %123, %108, %93
%185 = load i32, ptr %7, align 4
%186 = icmp ne i32 %185, 0
br i1 %186, label %87, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %184
br label %187
187: ; preds = %._crit_edge3, %84
%188 = load i32, ptr %4, align 4
%189 = icmp ne i32 %188, 0
br i1 %189, label %190, label %193
190: ; preds = %187
%191 = load i64, ptr %6, align 8
%192 = sub i64 0, %191
store i64 %192, ptr %6, align 8
br label %193
193: ; preds = %190, %187
%194 = load i64, ptr %6, align 8
store i64 %194, ptr %2, align 8
br label %195
195: ; preds = %193, %37, %28
%196 = load i64, ptr %2, align 8
ret i64 %196
}
declare i64 @isspace(i8 noundef signext) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8fsimf2j.c'
source_filename = "/tmp/tmp8fsimf2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexdump(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load i64, ptr %6, align 8
%19 = icmp ugt i64 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = load i64, ptr %8, align 8
%23 = load i64, ptr %6, align 8
%24 = udiv i64 %22, %23
%25 = add i64 %24, 1
%26 = trunc i64 %25 to i32
store i32 %26, ptr %9, align 4
%27 = load i64, ptr %6, align 8
%28 = mul i64 %27, 3
store i64 %28, ptr %11, align 8
%29 = load i64, ptr %11, align 8
%30 = call ptr @llvm.stacksave()
store ptr %30, ptr %12, align 8
%31 = alloca i8, i64 %29, align 16
store i64 %29, ptr %13, align 8
store i32 0, ptr %10, align 4
br label %32
32: ; preds = %45, %4
%33 = load i32, ptr %10, align 4
%34 = load i32, ptr %9, align 4
%35 = icmp slt i32 %33, %34
br i1 %35, label %36, label %48
36: ; preds = %32
%37 = load i64, ptr %6, align 8
%38 = mul i64 %37, 3
%39 = call i32 @memset(ptr noundef %31, i32 noundef 0, i64 noundef %38)
%40 = load ptr, ptr %7, align 8
%41 = load i64, ptr %8, align 8
%42 = call i32 @bytes_to_hex(ptr noundef %40, i64 noundef %41, ptr noundef %31)
%43 = load ptr, ptr %5, align 8
%44 = call i32 @printf(ptr noundef @.str, ptr noundef %43, ptr noundef %31)
br label %45
45: ; preds = %36
%46 = load i32, ptr %10, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %10, align 4
br label %32, !llvm.loop !6
48: ; preds = %32
%49 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %49)
ret void
}
declare i32 @assert(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @bytes_to_hex(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp8fsimf2j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @hexdump(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i64, align 8
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 noundef %16)
%18 = load i64, ptr %6, align 8
%19 = icmp ugt i64 %18, 0
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 noundef %20)
%22 = load i64, ptr %8, align 8
%23 = load i64, ptr %6, align 8
%24 = udiv i64 %22, %23
%25 = add i64 %24, 1
%26 = trunc i64 %25 to i32
store i32 %26, ptr %9, align 4
%27 = load i64, ptr %6, align 8
%28 = mul i64 %27, 3
store i64 %28, ptr %11, align 8
%29 = load i64, ptr %11, align 8
%30 = call ptr @llvm.stacksave()
store ptr %30, ptr %12, align 8
%31 = alloca i8, i64 %29, align 16
store i64 %29, ptr %13, align 8
store i32 0, ptr %10, align 4
%32 = load i32, ptr %10, align 4
%33 = load i32, ptr %9, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %.lr.ph, label %50
.lr.ph: ; preds = %4
br label %35
35: ; preds = %.lr.ph, %44
%36 = load i64, ptr %6, align 8
%37 = mul i64 %36, 3
%38 = call i32 @memset(ptr noundef %31, i32 noundef 0, i64 noundef %37)
%39 = load ptr, ptr %7, align 8
%40 = load i64, ptr %8, align 8
%41 = call i32 @bytes_to_hex(ptr noundef %39, i64 noundef %40, ptr noundef %31)
%42 = load ptr, ptr %5, align 8
%43 = call i32 @printf(ptr noundef @.str, ptr noundef %42, ptr noundef %31)
br label %44
44: ; preds = %35
%45 = load i32, ptr %10, align 4
%46 = add nsw i32 %45, 1
store i32 %46, ptr %10, align 4
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %9, align 4
%49 = icmp slt i32 %47, %48
br i1 %49, label %35, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %44
br label %50
50: ; preds = %._crit_edge, %4
%51 = load ptr, ptr %12, align 8
call void @llvm.stackrestore(ptr %51)
ret void
}
declare i32 @assert(i32 noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #2
declare i32 @memset(ptr noundef, i32 noundef, i64 noundef) #1
declare i32 @bytes_to_hex(ptr noundef, i64 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpw1fsxncp.c'
source_filename = "/tmp/tmpw1fsxncp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @swap_registers_test()
ret i32 0
}
declare i32 @swap_registers_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1fsxncp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @swap_registers_test()
ret i32 0
}
declare i32 @swap_registers_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp50ieegac.c'
source_filename = "/tmp/tmp50ieegac.c"
target datalayout = "e-m:e-p270: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.ifconf = type { i32, i64 }
%struct.ifreq = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@SIOCGIFCONF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%d - %d - %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c" %d %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"%2d %d %d %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @listifaces() #0 {
%1 = alloca %struct.ifconf, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
%8 = alloca ptr, align 8
store ptr null, ptr %2, align 8
store i32 480, ptr %3, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %42, %0
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %3, align 4
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = call ptr @realloc(ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
store i32 %19, ptr %20, align 8
%21 = load ptr, ptr %2, align 8
%22 = ptrtoint ptr %21 to i64
%23 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 1
store i64 %22, ptr %23, align 8
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr @SIOCGIFCONF, align 4
%26 = call i64 @ioctl(i32 noundef %24, i32 noundef %25, ptr noundef %1)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %12
%29 = call i32 @perror(ptr noundef @.str)
%30 = load i32, ptr %4, align 4
%31 = call i32 @close(i32 noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = call i32 @free(ptr noundef %32)
br label %97
34: ; preds = %12
%35 = load i32, ptr %3, align 4
%36 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%37 = load i32, ptr %36, align 8
%38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %37, i32 noundef 24)
%39 = load i32, ptr @IFNAMSIZ, align 4
%40 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %39)
%41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef 4, i32 noundef 4)
br label %42
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%45 = load i32, ptr %44, align 8
%46 = icmp eq i32 %43, %45
br i1 %46, label %12, label %47, !llvm.loop !6
47: ; preds = %42
%48 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 1
%49 = load i64, ptr %48, align 8
%50 = inttoptr i64 %49 to ptr
%51 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%52 = load i32, ptr %51, align 8
%53 = call i32 @printhex(ptr noundef %50, i32 noundef %52)
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %54
54: ; preds = %59, %47
%55 = load i32, ptr %5, align 4
%56 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%57 = load i32, ptr %56, align 8
%58 = icmp slt i32 %55, %57
br i1 %58, label %59, label %92
59: ; preds = %54
%60 = load ptr, ptr %2, align 8
%61 = load i32, ptr %5, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
store ptr %63, ptr %8, align 8
%64 = load i32, ptr %5, align 4
%65 = sext i32 %64 to i64
%66 = add i64 %65, 24
%67 = trunc i64 %66 to i32
store i32 %67, ptr %5, align 4
%68 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %68, align 16
%69 = load ptr, ptr %8, align 8
%70 = getelementptr inbounds %struct.ifreq, ptr %69, i32 0, i32 1
%71 = getelementptr inbounds %struct.TYPE_2__, ptr %70, i32 0, i32 0
%72 = load i32, ptr %71, align 8
%73 = load ptr, ptr %8, align 8
%74 = getelementptr inbounds %struct.ifreq, ptr %73, i32 0, i32 1
%75 = getelementptr inbounds %struct.TYPE_2__, ptr %74, i32 0, i32 1
%76 = load ptr, ptr %75, align 8
%77 = getelementptr inbounds i32, ptr %76, i64 2
%78 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%79 = call i32 @inet_ntop(i32 noundef %72, ptr noundef %77, ptr noundef %78, i32 noundef 256)
%80 = load i32, ptr %6, align 4
%81 = load ptr, ptr %8, align 8
%82 = getelementptr inbounds %struct.ifreq, ptr %81, i32 0, i32 1
%83 = getelementptr inbounds %struct.TYPE_2__, ptr %82, i32 0, i32 0
%84 = load i32, ptr %83, align 8
%85 = load ptr, ptr %8, align 8
%86 = getelementptr inbounds %struct.ifreq, ptr %85, i32 0, i32 0
%87 = load ptr, ptr %86, align 8
%88 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%89 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %80, i32 noundef %84, i32 noundef -1, ptr noundef %87, ptr noundef %88)
%90 = load i32, ptr %6, align 4
%91 = add nsw i32 %90, 1
store i32 %91, ptr %6, align 4
br label %54, !llvm.loop !8
92: ; preds = %54
%93 = load ptr, ptr %2, align 8
%94 = call i32 @free(ptr noundef %93)
%95 = load i32, ptr %4, align 4
%96 = call i32 @close(i32 noundef %95)
br label %97
97: ; preds = %92, %28
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @printhex(ptr noundef, i32 noundef) #1
declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp50ieegac.c"
target datalayout = "e-m:e-p270: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.ifconf = type { i32, i64 }
%struct.ifreq = type { ptr, %struct.TYPE_2__ }
%struct.TYPE_2__ = type { i32, ptr }
@AF_INET = dso_local global i32 0, align 4
@SOCK_DGRAM = dso_local global i32 0, align 4
@SIOCGIFCONF = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [6 x i8] c"ioctl\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%d - %d - %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c" %d\0A\00", align 1
@IFNAMSIZ = dso_local global i32 0, align 4
@.str.3 = private unnamed_addr constant [8 x i8] c" %d %d\0A\00", align 1
@.str.4 = private unnamed_addr constant [17 x i8] c"%2d %d %d %s %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @listifaces() #0 {
%1 = alloca %struct.ifconf, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca [256 x i8], align 16
%8 = alloca ptr, align 8
store ptr null, ptr %2, align 8
store i32 480, ptr %3, align 4
%9 = load i32, ptr @AF_INET, align 4
%10 = load i32, ptr @SOCK_DGRAM, align 4
%11 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef 0)
store i32 %11, ptr %4, align 4
br label %12
12: ; preds = %42, %0
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, %13
store i32 %15, ptr %3, align 4
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = call ptr @realloc(ptr noundef %16, i32 noundef %17)
store ptr %18, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
store i32 %19, ptr %20, align 8
%21 = load ptr, ptr %2, align 8
%22 = ptrtoint ptr %21 to i64
%23 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 1
store i64 %22, ptr %23, align 8
%24 = load i32, ptr %4, align 4
%25 = load i32, ptr @SIOCGIFCONF, align 4
%26 = call i64 @ioctl(i32 noundef %24, i32 noundef %25, ptr noundef %1)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %34
28: ; preds = %12
%29 = call i32 @perror(ptr noundef @.str)
%30 = load i32, ptr %4, align 4
%31 = call i32 @close(i32 noundef %30)
%32 = load ptr, ptr %2, align 8
%33 = call i32 @free(ptr noundef %32)
br label %99
34: ; preds = %12
%35 = load i32, ptr %3, align 4
%36 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%37 = load i32, ptr %36, align 8
%38 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %35, i32 noundef %37, i32 noundef 24)
%39 = load i32, ptr @IFNAMSIZ, align 4
%40 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %39)
%41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef 4, i32 noundef 4)
br label %42
42: ; preds = %34
%43 = load i32, ptr %3, align 4
%44 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%45 = load i32, ptr %44, align 8
%46 = icmp eq i32 %43, %45
br i1 %46, label %12, label %47, !llvm.loop !6
47: ; preds = %42
%48 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 1
%49 = load i64, ptr %48, align 8
%50 = inttoptr i64 %49 to ptr
%51 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%52 = load i32, ptr %51, align 8
%53 = call i32 @printhex(ptr noundef %50, i32 noundef %52)
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%54 = load i32, ptr %5, align 4
%55 = getelementptr inbounds %struct.ifconf, ptr %1, i32 0, i32 0
%56 = load i32, ptr %55, align 8
%57 = icmp slt i32 %54, %56
br i1 %57, label %.lr.ph, label %94
.lr.ph: ; preds = %47
br label %58
58: ; preds = %.lr.ph, %58
%59 = load ptr, ptr %2, align 8
%60 = load i32, ptr %5, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i8, ptr %59, i64 %61
store ptr %62, ptr %8, align 8
%63 = load i32, ptr %5, align 4
%64 = sext i32 %63 to i64
%65 = add i64 %64, 24
%66 = trunc i64 %65 to i32
store i32 %66, ptr %5, align 4
%67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
store i8 0, ptr %67, align 16
%68 = load ptr, ptr %8, align 8
%69 = getelementptr inbounds %struct.ifreq, ptr %68, i32 0, i32 1
%70 = getelementptr inbounds %struct.TYPE_2__, ptr %69, i32 0, i32 0
%71 = load i32, ptr %70, align 8
%72 = load ptr, ptr %8, align 8
%73 = getelementptr inbounds %struct.ifreq, ptr %72, i32 0, i32 1
%74 = getelementptr inbounds %struct.TYPE_2__, ptr %73, i32 0, i32 1
%75 = load ptr, ptr %74, align 8
%76 = getelementptr inbounds i32, ptr %75, i64 2
%77 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%78 = call i32 @inet_ntop(i32 noundef %71, ptr noundef %76, ptr noundef %77, i32 noundef 256)
%79 = load i32, ptr %6, align 4
%80 = load ptr, ptr %8, align 8
%81 = getelementptr inbounds %struct.ifreq, ptr %80, i32 0, i32 1
%82 = getelementptr inbounds %struct.TYPE_2__, ptr %81, i32 0, i32 0
%83 = load i32, ptr %82, align 8
%84 = load ptr, ptr %8, align 8
%85 = getelementptr inbounds %struct.ifreq, ptr %84, i32 0, i32 0
%86 = load ptr, ptr %85, align 8
%87 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%88 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %79, i32 noundef %83, i32 noundef -1, ptr noundef %86, ptr noundef %87)
%89 = load i32, ptr %6, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %6, align 4
%91 = load i32, ptr %5, align 4
%92 = load i32, ptr %55, align 8
%93 = icmp slt i32 %91, %92
br i1 %93, label %58, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %58
br label %94
94: ; preds = %._crit_edge, %47
%95 = load ptr, ptr %2, align 8
%96 = call i32 @free(ptr noundef %95)
%97 = load i32, ptr %4, align 4
%98 = call i32 @close(i32 noundef %97)
br label %99
99: ; preds = %94, %28
ret void
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, ...) #1
declare i32 @printhex(ptr noundef, i32 noundef) #1
declare i32 @inet_ntop(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpg9ar3hai.c'
source_filename = "/tmp/tmpg9ar3hai.c"
target datalayout = "e-m:e-p270: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/tmpg9ar3hai.c"
target datalayout = "e-m:e-p270: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/tmpxrfcrfwr.c'
source_filename = "/tmp/tmpxrfcrfwr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = 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/tmpxrfcrfwr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@AF_INET6 = 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/tmpxd0u_626.c'
source_filename = "/tmp/tmpxd0u_626.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_timezone() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxd0u_626.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @get_timezone() #0 {
ret i32 0
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvufa8tfo.c'
source_filename = "/tmp/tmpvufa8tfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_set_memory_funcs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @set_memory_funcs(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @set_memory_funcs(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/tmpvufa8tfo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ft_set_memory_funcs(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @set_memory_funcs(ptr noundef %5, ptr noundef %6)
ret void
}
declare i32 @set_memory_funcs(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/tmpc1el1l7r.c'
source_filename = "/tmp/tmpc1el1l7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handlemsg_worker(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @netd_sendmsg(i32 noundef %9, ptr noundef %10, i32 noundef %11)
ret i32 0
}
declare i32 @netd_sendmsg(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/tmpc1el1l7r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @handlemsg_worker(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load i32, ptr %7, align 4
%12 = call i32 @netd_sendmsg(i32 noundef %9, ptr noundef %10, i32 noundef %11)
ret i32 0
}
declare i32 @netd_sendmsg(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/tmp89cwxokb.c'
source_filename = "/tmp/tmp89cwxokb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fontrender_close() #0 {
%1 = call i32 (...) @fontcache_free()
ret void
}
declare i32 @fontcache_free(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp89cwxokb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fontrender_close() #0 {
%1 = call i32 (...) @fontcache_free()
ret void
}
declare i32 @fontcache_free(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr5a_0asu.c'
source_filename = "/tmp/tmpr5a_0asu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"%d is (2 power n)\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"%d is NOT (2 power n)\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"%d is (2 power n) - 1\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"%d is NOT (2 power n) - 1\0A\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 void @checkValue(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sub nsw i32 %4, 1
%6 = and i32 %3, %5
%7 = icmp eq i32 0, %6
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
br label %14
11: ; preds = %1
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %11, %8
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
%18 = and i32 %15, %17
%19 = icmp eq i32 0, %18
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, ptr %2, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
br label %26
23: ; preds = %14
%24 = load i32, ptr %2, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
br label %26
26: ; preds = %23, %20
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
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/tmpr5a_0asu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [19 x i8] c"%d is (2 power n)\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"%d is NOT (2 power n)\0A\00", align 1
@.str.2 = private unnamed_addr constant [23 x i8] c"%d is (2 power n) - 1\0A\00", align 1
@.str.3 = private unnamed_addr constant [27 x i8] c"%d is NOT (2 power n) - 1\0A\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 void @checkValue(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = sub nsw i32 %4, 1
%6 = and i32 %3, %5
%7 = icmp eq i32 0, %6
br i1 %7, label %8, label %11
8: ; preds = %1
%9 = load i32, ptr %2, align 4
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %9)
br label %14
11: ; preds = %1
%12 = load i32, ptr %2, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %12)
br label %14
14: ; preds = %11, %8
%15 = load i32, ptr %2, align 4
%16 = load i32, ptr %2, align 4
%17 = add nsw i32 %16, 1
%18 = and i32 %15, %17
%19 = icmp eq i32 0, %18
br i1 %19, label %20, label %23
20: ; preds = %14
%21 = load i32, ptr %2, align 4
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21)
br label %26
23: ; preds = %14
%24 = load i32, ptr %2, align 4
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %24)
br label %26
26: ; preds = %23, %20
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
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/tmpv_qz82n0.c'
source_filename = "/tmp/tmpv_qz82n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Expected \22%s\22 not to have \22%s\22 in it\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stic_assert_string_doesnt_contain(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [100000 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strstr(ptr noundef %14, ptr noundef %15)
%17 = icmp eq i64 %16, 0
%18 = zext i1 %17 to i32
%19 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %8, align 4
%22 = call i32 @stic_simple_test_result(i32 noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @stic_simple_test_result(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strstr(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/tmpv_qz82n0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [37 x i8] c"Expected \22%s\22 not to have \22%s\22 in it\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @stic_assert_string_doesnt_contain(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca [100000 x i8], align 16
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%10 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0
%11 = load ptr, ptr %6, align 8
%12 = load ptr, ptr %5, align 8
%13 = call i32 @sprintf(ptr noundef %10, ptr noundef @.str, ptr noundef %11, ptr noundef %12)
%14 = load ptr, ptr %6, align 8
%15 = load ptr, ptr %5, align 8
%16 = call i64 @strstr(ptr noundef %14, ptr noundef %15)
%17 = icmp eq i64 %16, 0
%18 = zext i1 %17 to i32
%19 = getelementptr inbounds [100000 x i8], ptr %9, i64 0, i64 0
%20 = load ptr, ptr %7, align 8
%21 = load i32, ptr %8, align 4
%22 = call i32 @stic_simple_test_result(i32 noundef %18, ptr noundef %19, ptr noundef %20, i32 noundef %21)
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @stic_simple_test_result(i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
declare i64 @strstr(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/tmpti3d7qlc.c'
source_filename = "/tmp/tmpti3d7qlc.c"
target datalayout = "e-m:e-p270: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/tmpti3d7qlc.c"
target datalayout = "e-m:e-p270: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/tmpj3854lcp.c'
source_filename = "/tmp/tmpj3854lcp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"my_cd <tartget path>\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"getcwd\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = 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
%8 = load i32, ptr @PATH_MAX, align 4
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %7, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @chdir(ptr noundef %21)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = call i32 @my_err(ptr noundef @.str.1, i32 noundef 38)
br label %26
26: ; preds = %24, %18
%27 = call i64 @getcwd(ptr noundef %12, i32 noundef 512)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @my_err(ptr noundef @.str.2, i32 noundef 41)
br label %31
31: ; preds = %29, %26
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12)
store i32 0, ptr %3, align 4
%33 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %33)
%34 = load i32, ptr %3, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @chdir(ptr noundef) #2
declare i32 @my_err(ptr noundef, i32 noundef) #2
declare i64 @getcwd(ptr noundef, i32 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj3854lcp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PATH_MAX = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [22 x i8] c"my_cd <tartget path>\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"chdir\00", align 1
@.str.2 = private unnamed_addr constant [7 x i8] c"getcwd\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = 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
%8 = load i32, ptr @PATH_MAX, align 4
%9 = add nsw i32 %8, 1
%10 = zext i32 %9 to i64
%11 = call ptr @llvm.stacksave()
store ptr %11, ptr %6, align 8
%12 = alloca i8, i64 %10, align 16
store i64 %10, ptr %7, align 8
%13 = load i32, ptr %4, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label %15, label %18
15: ; preds = %2
%16 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%17 = call i32 @exit(i32 noundef 1) #4
unreachable
18: ; preds = %2
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 1
%21 = load ptr, ptr %20, align 8
%22 = call i64 @chdir(ptr noundef %21)
%23 = icmp slt i64 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %18
%25 = call i32 @my_err(ptr noundef @.str.1, i32 noundef 38)
br label %26
26: ; preds = %24, %18
%27 = call i64 @getcwd(ptr noundef %12, i32 noundef 512)
%28 = icmp slt i64 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %26
%30 = call i32 @my_err(ptr noundef @.str.2, i32 noundef 41)
br label %31
31: ; preds = %29, %26
%32 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %12)
store i32 0, ptr %3, align 4
%33 = load ptr, ptr %6, align 8
call void @llvm.stackrestore(ptr %33)
%34 = load i32, ptr %3, align 4
ret i32 %34
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @printf(ptr noundef, ...) #2
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #3
declare i64 @chdir(ptr noundef) #2
declare i32 @my_err(ptr noundef, i32 noundef) #2
declare i64 @getcwd(ptr noundef, i32 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" }
attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpq33lfrqd.c'
source_filename = "/tmp/tmpq33lfrqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"\0ACanFestival kernel test example console\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"start - start example\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"stop - stop example\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"quit - quit console\0A\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 void @showhelp() #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)
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/tmpq33lfrqd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [43 x i8] c"\0ACanFestival kernel test example console\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"start - start example\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"stop - stop example\0A\00", align 1
@.str.3 = private unnamed_addr constant [22 x i8] c"quit - quit console\0A\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 void @showhelp() #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)
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/tmpm3ockm9q.c'
source_filename = "/tmp/tmpm3ockm9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %35, %4
%11 = load i32, ptr %9, align 4
%12 = load i32, ptr %8, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %38
14: ; preds = %10
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %9, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i64, ptr %15, i64 %17
%19 = load i64, ptr %18, align 8
%20 = icmp ne i64 %19, 0
br i1 %20, label %21, label %28
21: ; preds = %14
%22 = load ptr, ptr %6, align 8
%23 = load i32, ptr %9, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, ptr %22, i64 %24
%26 = load double, ptr %25, align 8
%27 = fptosi double %26 to i64
br label %29
28: ; preds = %14
br label %29
29: ; preds = %28, %21
%30 = phi i64 [ %27, %21 ], [ 0, %28 ]
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds i64, ptr %31, i64 %33
store i64 %30, ptr %34, align 8
br label %35
35: ; preds = %29
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
br label %10, !llvm.loop !6
38: ; preds = %10
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm3ockm9q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test_uint64_t(ptr noalias noundef %0, ptr noalias noundef %1, ptr noalias noundef %2, i32 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = load i32, ptr %8, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %40
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %34
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i64, ptr %14, i64 %16
%18 = load i64, ptr %17, align 8
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %27
20: ; preds = %13
%21 = load ptr, ptr %6, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
%25 = load double, ptr %24, align 8
%26 = fptosi double %25 to i64
br label %28
27: ; preds = %13
br label %28
28: ; preds = %27, %20
%29 = phi i64 [ %26, %20 ], [ 0, %27 ]
%30 = load ptr, ptr %5, align 8
%31 = load i32, ptr %9, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i64, ptr %30, i64 %32
store i64 %29, ptr %33, align 8
br label %34
34: ; preds = %28
%35 = load i32, ptr %9, align 4
%36 = add nsw i32 %35, 1
store i32 %36, ptr %9, align 4
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %8, align 4
%39 = icmp slt i32 %37, %38
br i1 %39, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %40
40: ; preds = %._crit_edge, %4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoztqa3bl.c'
source_filename = "/tmp/tmpoztqa3bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpsetfldcolr(double noundef %0, double noundef %1, double noundef %2, double noundef %3, i8 noundef signext %4, ptr noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca float, align 4
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store i8 %4, ptr %11, align 1
store ptr %5, ptr %12, align 8
%15 = load double, ptr %10, align 8
%16 = fcmp olt double %15, 0x3BC79CA10C924223
br i1 %16, label %17, label %19
17: ; preds = %6
%18 = load ptr, ptr %12, align 8
store i32 1400, ptr %18, align 4
br label %67
19: ; preds = %6
%20 = load double, ptr %10, align 8
%21 = fdiv double 2.530000e+02, %20
%22 = fptrunc double %21 to float
store float %22, ptr %14, align 4
store i32 0, ptr %13, align 4
%23 = load i8, ptr %11, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %25, label %39
25: ; preds = %19
%26 = load double, ptr %7, align 8
%27 = load double, ptr %8, align 8
%28 = fcmp oge double %26, %27
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load double, ptr %7, align 8
%31 = call float @log10(double noundef %30)
%32 = load double, ptr %8, align 8
%33 = call float @log10(double noundef %32)
%34 = fsub float %31, %33
%35 = load float, ptr %14, align 4
%36 = fmul float %34, %35
%37 = fptosi float %36 to i32
store i32 %37, ptr %13, align 4
br label %38
38: ; preds = %29, %25
br label %47
39: ; preds = %19
%40 = load double, ptr %7, align 8
%41 = load double, ptr %8, align 8
%42 = fsub double %40, %41
%43 = load float, ptr %14, align 4
%44 = fpext float %43 to double
%45 = fmul double %42, %44
%46 = fptosi double %45 to i32
store i32 %46, ptr %13, align 4
br label %47
47: ; preds = %39, %38
%48 = load i32, ptr %13, align 4
%49 = add nsw i32 %48, 400
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = icmp slt i32 %50, 300
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 300, ptr %13, align 4
br label %53
53: ; preds = %52, %47
%54 = load double, ptr %7, align 8
%55 = load double, ptr %8, align 8
%56 = fcmp olt double %54, %55
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 300, ptr %13, align 4
br label %58
58: ; preds = %57, %53
%59 = load double, ptr %7, align 8
%60 = load double, ptr %9, align 8
%61 = fcmp ogt double %59, %60
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 655, ptr %13, align 4
br label %63
63: ; preds = %62, %58
%64 = load i32, ptr %13, align 4
%65 = add nsw i32 %64, 1000
%66 = load ptr, ptr %12, align 8
store i32 %65, ptr %66, align 4
br label %67
67: ; preds = %63, %17
ret void
}
declare float @log10(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/tmpoztqa3bl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpsetfldcolr(double noundef %0, double noundef %1, double noundef %2, double noundef %3, i8 noundef signext %4, ptr noundef %5) #0 {
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca i8, align 1
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
%14 = alloca float, align 4
store double %0, ptr %7, align 8
store double %1, ptr %8, align 8
store double %2, ptr %9, align 8
store double %3, ptr %10, align 8
store i8 %4, ptr %11, align 1
store ptr %5, ptr %12, align 8
%15 = load double, ptr %10, align 8
%16 = fcmp olt double %15, 0x3BC79CA10C924223
br i1 %16, label %17, label %19
17: ; preds = %6
%18 = load ptr, ptr %12, align 8
store i32 1400, ptr %18, align 4
br label %67
19: ; preds = %6
%20 = load double, ptr %10, align 8
%21 = fdiv double 2.530000e+02, %20
%22 = fptrunc double %21 to float
store float %22, ptr %14, align 4
store i32 0, ptr %13, align 4
%23 = load i8, ptr %11, align 1
%24 = icmp ne i8 %23, 0
br i1 %24, label %25, label %39
25: ; preds = %19
%26 = load double, ptr %7, align 8
%27 = load double, ptr %8, align 8
%28 = fcmp oge double %26, %27
br i1 %28, label %29, label %38
29: ; preds = %25
%30 = load double, ptr %7, align 8
%31 = call float @log10(double noundef %30)
%32 = load double, ptr %8, align 8
%33 = call float @log10(double noundef %32)
%34 = fsub float %31, %33
%35 = load float, ptr %14, align 4
%36 = fmul float %34, %35
%37 = fptosi float %36 to i32
store i32 %37, ptr %13, align 4
br label %38
38: ; preds = %29, %25
br label %47
39: ; preds = %19
%40 = load double, ptr %7, align 8
%41 = load double, ptr %8, align 8
%42 = fsub double %40, %41
%43 = load float, ptr %14, align 4
%44 = fpext float %43 to double
%45 = fmul double %42, %44
%46 = fptosi double %45 to i32
store i32 %46, ptr %13, align 4
br label %47
47: ; preds = %39, %38
%48 = load i32, ptr %13, align 4
%49 = add nsw i32 %48, 400
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = icmp slt i32 %50, 300
br i1 %51, label %52, label %53
52: ; preds = %47
store i32 300, ptr %13, align 4
br label %53
53: ; preds = %52, %47
%54 = load double, ptr %7, align 8
%55 = load double, ptr %8, align 8
%56 = fcmp olt double %54, %55
br i1 %56, label %57, label %58
57: ; preds = %53
store i32 300, ptr %13, align 4
br label %58
58: ; preds = %57, %53
%59 = load double, ptr %7, align 8
%60 = load double, ptr %9, align 8
%61 = fcmp ogt double %59, %60
br i1 %61, label %62, label %63
62: ; preds = %58
store i32 655, ptr %13, align 4
br label %63
63: ; preds = %62, %58
%64 = load i32, ptr %13, align 4
%65 = add nsw i32 %64, 1000
%66 = load ptr, ptr %12, align 8
store i32 %65, ptr %66, align 4
br label %67
67: ; preds = %63, %17
ret void
}
declare float @log10(double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_zp_5jq_.c'
source_filename = "/tmp/tmp_zp_5jq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
14: ; preds = %13, %8
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_zp_5jq_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %13
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i32 @atoi(ptr noundef %11)
store i32 %12, ptr %3, align 4
br label %14
13: ; preds = %2
store i32 1, ptr %3, align 4
br label %14
14: ; preds = %13, %8
%15 = load i32, ptr %3, align 4
ret i32 %15
}
declare i32 @atoi(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjtrpmloo.c'
source_filename = "/tmp/tmpjtrpmloo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.5f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = load double, ptr %2, align 8
%8 = load double, ptr %3, align 8
%9 = fmul double %8, 7.500000e+00
%10 = call double @llvm.fmuladd.f64(double %7, double 3.500000e+00, double %9)
%11 = fdiv double %10, 1.100000e+01
store double %11, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpjtrpmloo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%lf\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"MEDIA = %.5f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %3)
%7 = load double, ptr %2, align 8
%8 = load double, ptr %3, align 8
%9 = fmul double %8, 7.500000e+00
%10 = call double @llvm.fmuladd.f64(double %7, double 3.500000e+00, double %9)
%11 = fdiv double %10, 1.100000e+01
store double %11, ptr %4, align 8
%12 = load double, ptr %4, align 8
%13 = call i32 @printf(ptr noundef @.str.1, double noundef %12)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare i32 @printf(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpjapkz83d.c'
source_filename = "/tmp/tmpjapkz83d.c"
target datalayout = "e-m:e-p270: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/tmpjapkz83d.c"
target datalayout = "e-m:e-p270: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/tmp1_7ciz7z.c'
source_filename = "/tmp/tmp1_7ciz7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %4, align 8
%9 = call i64 @strnlen(ptr noundef %7, i64 noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = add i64 %10, 1
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %6, align 8
%18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
store i8 0, ptr %21, align 1
br label %22
22: ; preds = %14, %2
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare i64 @strnlen(ptr noundef, i64 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1_7ciz7z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%7 = load ptr, ptr %3, align 8
%8 = load i64, ptr %4, align 8
%9 = call i64 @strnlen(ptr noundef %7, i64 noundef %8)
store i64 %9, ptr %6, align 8
%10 = load i64, ptr %6, align 8
%11 = add i64 %10, 1
%12 = call ptr @malloc(i64 noundef %11)
store ptr %12, ptr %5, align 8
%13 = icmp ne ptr %12, null
br i1 %13, label %14, label %22
14: ; preds = %2
%15 = load ptr, ptr %5, align 8
%16 = load ptr, ptr %3, align 8
%17 = load i64, ptr %6, align 8
%18 = call i32 @memcpy(ptr noundef %15, ptr noundef %16, i64 noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
store i8 0, ptr %21, align 1
br label %22
22: ; preds = %14, %2
%23 = load ptr, ptr %5, align 8
ret ptr %23
}
declare i64 @strnlen(ptr noundef, i64 noundef) #1
declare ptr @malloc(i64 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvz_knkre.c'
source_filename = "/tmp/tmpvz_knkre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createDisruption_Six() #0 {
%1 = call i32 @LCD_WriteData(i32 noundef 0)
%2 = call i32 @LCD_WriteData(i32 noundef 8)
%3 = call i32 @LCD_WriteData(i32 noundef 12)
%4 = call i32 @LCD_WriteData(i32 noundef 14)
%5 = call i32 @LCD_WriteData(i32 noundef 14)
%6 = call i32 @LCD_WriteData(i32 noundef 12)
%7 = call i32 @LCD_WriteData(i32 noundef 8)
%8 = call i32 @LCD_WriteData(i32 noundef 0)
ret void
}
declare i32 @LCD_WriteData(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/tmpvz_knkre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @createDisruption_Six() #0 {
%1 = call i32 @LCD_WriteData(i32 noundef 0)
%2 = call i32 @LCD_WriteData(i32 noundef 8)
%3 = call i32 @LCD_WriteData(i32 noundef 12)
%4 = call i32 @LCD_WriteData(i32 noundef 14)
%5 = call i32 @LCD_WriteData(i32 noundef 14)
%6 = call i32 @LCD_WriteData(i32 noundef 12)
%7 = call i32 @LCD_WriteData(i32 noundef 8)
%8 = call i32 @LCD_WriteData(i32 noundef 0)
ret void
}
declare i32 @LCD_WriteData(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/tmpz7ezpysx.c'
source_filename = "/tmp/tmpz7ezpysx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"iteration:%4d thetalist: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%4.4lf, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @IKinSpaceNR(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, i32 noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca [4 x [4 x double]], align 16
%23 = alloca [4 x [4 x double]], align 16
%24 = alloca [4 x [4 x double]], align 16
%25 = alloca [6 x [6 x double]], align 16
%26 = alloca [4 x [4 x double]], align 16
%27 = alloca [6 x double], align 16
%28 = alloca [6 x double], align 16
%29 = alloca i32, align 4
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca i32, align 4
store i32 %0, ptr %11, align 4
store ptr %1, ptr %12, align 8
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store double %5, ptr %16, align 8
store double %6, ptr %17, align 8
store i32 %7, ptr %18, align 4
store ptr %8, ptr %19, align 8
%34 = load i32, ptr %11, align 4
%35 = mul nsw i32 %34, 6
%36 = sext i32 %35 to i64
%37 = mul i64 %36, 8
%38 = trunc i64 %37 to i32
%39 = call i64 @malloc(i32 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %30, align 8
%41 = load ptr, ptr %30, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %44
43: ; preds = %9
store i32 2, ptr %10, align 4
br label %246
44: ; preds = %9
%45 = load i32, ptr %11, align 4
%46 = mul nsw i32 %45, 6
%47 = sext i32 %46 to i64
%48 = mul i64 %47, 8
%49 = trunc i64 %48 to i32
%50 = call i64 @malloc(i32 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %31, align 8
%52 = load ptr, ptr %31, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %57
54: ; preds = %44
%55 = load ptr, ptr %30, align 8
%56 = call i32 @free(ptr noundef %55)
store i32 2, ptr %10, align 4
br label %246
57: ; preds = %44
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = mul i64 %59, 8
%61 = trunc i64 %60 to i32
%62 = call i64 @malloc(i32 noundef %61)
%63 = inttoptr i64 %62 to ptr
store ptr %63, ptr %32, align 8
%64 = load ptr, ptr %32, align 8
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %71
66: ; preds = %57
%67 = load ptr, ptr %30, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load ptr, ptr %31, align 8
%70 = call i32 @free(ptr noundef %69)
store i32 2, ptr %10, align 4
br label %246
71: ; preds = %57
%72 = load ptr, ptr %15, align 8
%73 = load i32, ptr %11, align 4
%74 = load ptr, ptr %19, align 8
%75 = call i32 @MatrixCopy(ptr noundef %72, i32 noundef %73, i32 noundef 1, ptr noundef %74)
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %11, align 4
%78 = load ptr, ptr %12, align 8
%79 = load ptr, ptr %19, align 8
%80 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%81 = call i32 @FKinSpace(ptr noundef %76, i32 noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80)
%82 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%83 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%84 = call i32 @TransInv(ptr noundef %82, ptr noundef %83)
%85 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%86 = load ptr, ptr %14, align 8
%87 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%88 = call i32 @Matrix4Mult(ptr noundef %85, ptr noundef %86, ptr noundef %87)
%89 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%90 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%91 = call i32 @MatrixLog6(ptr noundef %89, ptr noundef %90)
%92 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%93 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%94 = call i32 @se3ToVec(ptr noundef %92, ptr noundef %93)
%95 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%96 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%97 = call i32 @Adjoint(ptr noundef %95, ptr noundef %96)
%98 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%99 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%100 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%101 = call i32 @MatrixMult(ptr noundef %98, i32 noundef 6, i32 noundef 6, ptr noundef %99, i32 noundef 1, ptr noundef %100)
%102 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%103 = call double @VecNorm2(i32 noundef 3, ptr noundef %102)
%104 = load double, ptr %16, align 8
%105 = fcmp ogt double %103, %104
br i1 %105, label %111, label %106
106: ; preds = %71
%107 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 3
%108 = call double @VecNorm2(i32 noundef 3, ptr noundef %107)
%109 = load double, ptr %17, align 8
%110 = fcmp ogt double %108, %109
br label %111
111: ; preds = %106, %71
%112 = phi i1 [ true, %71 ], [ %110, %106 ]
%113 = zext i1 %112 to i32
store i32 %113, ptr %29, align 4
store i32 0, ptr %20, align 4
%114 = load i32, ptr %20, align 4
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %114)
store i32 0, ptr %33, align 4
br label %116
116: ; preds = %127, %111
%117 = load i32, ptr %33, align 4
%118 = load i32, ptr %11, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %120, label %130
120: ; preds = %116
%121 = load ptr, ptr %19, align 8
%122 = load i32, ptr %33, align 4
%123 = sext i32 %122 to i64
%124 = getelementptr inbounds double, ptr %121, i64 %123
%125 = load double, ptr %124, align 8
%126 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %125)
br label %127
127: ; preds = %120
%128 = load i32, ptr %33, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %33, align 4
br label %116, !llvm.loop !6
130: ; preds = %116
%131 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %132
132: ; preds = %236, %130
%133 = load i32, ptr %29, align 4
%134 = icmp ne i32 %133, 0
br i1 %134, label %135, label %139
135: ; preds = %132
%136 = load i32, ptr %20, align 4
%137 = load i32, ptr %18, align 4
%138 = icmp slt i32 %136, %137
br label %139
139: ; preds = %135, %132
%140 = phi i1 [ false, %132 ], [ %138, %135 ]
br i1 %140, label %141, label %238
141: ; preds = %139
%142 = load i32, ptr %11, align 4
%143 = load ptr, ptr %12, align 8
%144 = load ptr, ptr %19, align 8
%145 = load ptr, ptr %30, align 8
%146 = call i32 @JacobianSpace(i32 noundef %142, ptr noundef %143, ptr noundef %144, ptr noundef %145)
%147 = load ptr, ptr %30, align 8
%148 = load i32, ptr %11, align 4
%149 = load ptr, ptr %31, align 8
%150 = call i32 @MatrixPinv(ptr noundef %147, i32 noundef 6, i32 noundef %148, double noundef 2.200000e-15, ptr noundef %149)
%151 = load ptr, ptr %31, align 8
%152 = load i32, ptr %11, align 4
%153 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%154 = load ptr, ptr %32, align 8
%155 = call i32 @MatrixMult(ptr noundef %151, i32 noundef %152, i32 noundef 6, ptr noundef %153, i32 noundef 1, ptr noundef %154)
store i32 0, ptr %21, align 4
br label %156
156: ; preds = %176, %141
%157 = load i32, ptr %21, align 4
%158 = load i32, ptr %11, align 4
%159 = icmp slt i32 %157, %158
br i1 %159, label %160, label %179
160: ; preds = %156
%161 = load ptr, ptr %19, align 8
%162 = load i32, ptr %21, align 4
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds double, ptr %161, i64 %163
%165 = load double, ptr %164, align 8
%166 = load ptr, ptr %32, align 8
%167 = load i32, ptr %21, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds double, ptr %166, i64 %168
%170 = load double, ptr %169, align 8
%171 = fadd double %165, %170
%172 = load ptr, ptr %19, align 8
%173 = load i32, ptr %21, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds double, ptr %172, i64 %174
store double %171, ptr %175, align 8
br label %176
176: ; preds = %160
%177 = load i32, ptr %21, align 4
%178 = add nsw i32 %177, 1
store i32 %178, ptr %21, align 4
br label %156, !llvm.loop !8
179: ; preds = %156
%180 = load i32, ptr %20, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %20, align 4
%182 = load ptr, ptr %13, align 8
%183 = load i32, ptr %11, align 4
%184 = load ptr, ptr %12, align 8
%185 = load ptr, ptr %19, align 8
%186 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%187 = call i32 @FKinSpace(ptr noundef %182, i32 noundef %183, ptr noundef %184, ptr noundef %185, ptr noundef %186)
%188 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%189 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%190 = call i32 @TransInv(ptr noundef %188, ptr noundef %189)
%191 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%192 = load ptr, ptr %14, align 8
%193 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%194 = call i32 @Matrix4Mult(ptr noundef %191, ptr noundef %192, ptr noundef %193)
%195 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%196 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%197 = call i32 @MatrixLog6(ptr noundef %195, ptr noundef %196)
%198 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%199 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%200 = call i32 @se3ToVec(ptr noundef %198, ptr noundef %199)
%201 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%202 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%203 = call i32 @Adjoint(ptr noundef %201, ptr noundef %202)
%204 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%205 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%206 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%207 = call i32 @MatrixMult(ptr noundef %204, i32 noundef 6, i32 noundef 6, ptr noundef %205, i32 noundef 1, ptr noundef %206)
%208 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%209 = call double @VecNorm2(i32 noundef 3, ptr noundef %208)
%210 = load double, ptr %16, align 8
%211 = fcmp ogt double %209, %210
br i1 %211, label %217, label %212
212: ; preds = %179
%213 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 3
%214 = call double @VecNorm2(i32 noundef 3, ptr noundef %213)
%215 = load double, ptr %17, align 8
%216 = fcmp ogt double %214, %215
br label %217
217: ; preds = %212, %179
%218 = phi i1 [ true, %179 ], [ %216, %212 ]
%219 = zext i1 %218 to i32
store i32 %219, ptr %29, align 4
%220 = load i32, ptr %20, align 4
%221 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %220)
store i32 0, ptr %33, align 4
br label %222
222: ; preds = %233, %217
%223 = load i32, ptr %33, align 4
%224 = load i32, ptr %11, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %226, label %236
226: ; preds = %222
%227 = load ptr, ptr %19, align 8
%228 = load i32, ptr %33, align 4
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds double, ptr %227, i64 %229
%231 = load double, ptr %230, align 8
%232 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %231)
br label %233
233: ; preds = %226
%234 = load i32, ptr %33, align 4
%235 = add nsw i32 %234, 1
store i32 %235, ptr %33, align 4
br label %222, !llvm.loop !9
236: ; preds = %222
%237 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %132, !llvm.loop !10
238: ; preds = %139
%239 = load ptr, ptr %30, align 8
%240 = call i32 @free(ptr noundef %239)
%241 = load ptr, ptr %31, align 8
%242 = call i32 @free(ptr noundef %241)
%243 = load ptr, ptr %32, align 8
%244 = call i32 @free(ptr noundef %243)
%245 = load i32, ptr %29, align 4
store i32 %245, ptr %10, align 4
br label %246
246: ; preds = %238, %66, %54, %43
%247 = load i32, ptr %10, align 4
ret i32 %247
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @MatrixCopy(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @FKinSpace(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @TransInv(ptr noundef, ptr noundef) #1
declare i32 @Matrix4Mult(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @MatrixLog6(ptr noundef, ptr noundef) #1
declare i32 @se3ToVec(ptr noundef, ptr noundef) #1
declare i32 @Adjoint(ptr noundef, ptr noundef) #1
declare i32 @MatrixMult(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare double @VecNorm2(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @JacobianSpace(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @MatrixPinv(ptr noundef, i32 noundef, i32 noundef, double 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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz7ezpysx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [28 x i8] c"iteration:%4d thetalist: \00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%4.4lf, \00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @IKinSpaceNR(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, double noundef %5, double noundef %6, i32 noundef %7, ptr noundef %8) #0 {
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca ptr, align 8
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca [4 x [4 x double]], align 16
%23 = alloca [4 x [4 x double]], align 16
%24 = alloca [4 x [4 x double]], align 16
%25 = alloca [6 x [6 x double]], align 16
%26 = alloca [4 x [4 x double]], align 16
%27 = alloca [6 x double], align 16
%28 = alloca [6 x double], align 16
%29 = alloca i32, align 4
%30 = alloca ptr, align 8
%31 = alloca ptr, align 8
%32 = alloca ptr, align 8
%33 = alloca i32, align 4
store i32 %0, ptr %11, align 4
store ptr %1, ptr %12, align 8
store ptr %2, ptr %13, align 8
store ptr %3, ptr %14, align 8
store ptr %4, ptr %15, align 8
store double %5, ptr %16, align 8
store double %6, ptr %17, align 8
store i32 %7, ptr %18, align 4
store ptr %8, ptr %19, align 8
%34 = load i32, ptr %11, align 4
%35 = mul nsw i32 %34, 6
%36 = sext i32 %35 to i64
%37 = mul i64 %36, 8
%38 = trunc i64 %37 to i32
%39 = call i64 @malloc(i32 noundef %38)
%40 = inttoptr i64 %39 to ptr
store ptr %40, ptr %30, align 8
%41 = load ptr, ptr %30, align 8
%42 = icmp eq ptr %41, null
br i1 %42, label %43, label %44
43: ; preds = %9
store i32 2, ptr %10, align 4
br label %252
44: ; preds = %9
%45 = load i32, ptr %11, align 4
%46 = mul nsw i32 %45, 6
%47 = sext i32 %46 to i64
%48 = mul i64 %47, 8
%49 = trunc i64 %48 to i32
%50 = call i64 @malloc(i32 noundef %49)
%51 = inttoptr i64 %50 to ptr
store ptr %51, ptr %31, align 8
%52 = load ptr, ptr %31, align 8
%53 = icmp eq ptr %52, null
br i1 %53, label %54, label %57
54: ; preds = %44
%55 = load ptr, ptr %30, align 8
%56 = call i32 @free(ptr noundef %55)
store i32 2, ptr %10, align 4
br label %252
57: ; preds = %44
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = mul i64 %59, 8
%61 = trunc i64 %60 to i32
%62 = call i64 @malloc(i32 noundef %61)
%63 = inttoptr i64 %62 to ptr
store ptr %63, ptr %32, align 8
%64 = load ptr, ptr %32, align 8
%65 = icmp eq ptr %64, null
br i1 %65, label %66, label %71
66: ; preds = %57
%67 = load ptr, ptr %30, align 8
%68 = call i32 @free(ptr noundef %67)
%69 = load ptr, ptr %31, align 8
%70 = call i32 @free(ptr noundef %69)
store i32 2, ptr %10, align 4
br label %252
71: ; preds = %57
%72 = load ptr, ptr %15, align 8
%73 = load i32, ptr %11, align 4
%74 = load ptr, ptr %19, align 8
%75 = call i32 @MatrixCopy(ptr noundef %72, i32 noundef %73, i32 noundef 1, ptr noundef %74)
%76 = load ptr, ptr %13, align 8
%77 = load i32, ptr %11, align 4
%78 = load ptr, ptr %12, align 8
%79 = load ptr, ptr %19, align 8
%80 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%81 = call i32 @FKinSpace(ptr noundef %76, i32 noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80)
%82 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%83 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%84 = call i32 @TransInv(ptr noundef %82, ptr noundef %83)
%85 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%86 = load ptr, ptr %14, align 8
%87 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%88 = call i32 @Matrix4Mult(ptr noundef %85, ptr noundef %86, ptr noundef %87)
%89 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%90 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%91 = call i32 @MatrixLog6(ptr noundef %89, ptr noundef %90)
%92 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%93 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%94 = call i32 @se3ToVec(ptr noundef %92, ptr noundef %93)
%95 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%96 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%97 = call i32 @Adjoint(ptr noundef %95, ptr noundef %96)
%98 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%99 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%100 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%101 = call i32 @MatrixMult(ptr noundef %98, i32 noundef 6, i32 noundef 6, ptr noundef %99, i32 noundef 1, ptr noundef %100)
%102 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%103 = call double @VecNorm2(i32 noundef 3, ptr noundef %102)
%104 = load double, ptr %16, align 8
%105 = fcmp ogt double %103, %104
br i1 %105, label %111, label %106
106: ; preds = %71
%107 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 3
%108 = call double @VecNorm2(i32 noundef 3, ptr noundef %107)
%109 = load double, ptr %17, align 8
%110 = fcmp ogt double %108, %109
br label %111
111: ; preds = %106, %71
%112 = phi i1 [ true, %71 ], [ %110, %106 ]
%113 = zext i1 %112 to i32
store i32 %113, ptr %29, align 4
store i32 0, ptr %20, align 4
%114 = load i32, ptr %20, align 4
%115 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %114)
store i32 0, ptr %33, align 4
%116 = load i32, ptr %33, align 4
%117 = load i32, ptr %11, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %.lr.ph, label %132
.lr.ph: ; preds = %111
br label %119
119: ; preds = %.lr.ph, %126
%120 = load ptr, ptr %19, align 8
%121 = load i32, ptr %33, align 4
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, ptr %120, i64 %122
%124 = load double, ptr %123, align 8
%125 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %124)
br label %126
126: ; preds = %119
%127 = load i32, ptr %33, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %33, align 4
%129 = load i32, ptr %33, align 4
%130 = load i32, ptr %11, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %119, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %126
br label %132
132: ; preds = %._crit_edge, %111
%133 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %134
134: ; preds = %242, %132
%135 = load i32, ptr %29, align 4
%136 = icmp ne i32 %135, 0
br i1 %136, label %137, label %141
137: ; preds = %134
%138 = load i32, ptr %20, align 4
%139 = load i32, ptr %18, align 4
%140 = icmp slt i32 %138, %139
br label %141
141: ; preds = %137, %134
%142 = phi i1 [ false, %134 ], [ %140, %137 ]
br i1 %142, label %143, label %244
143: ; preds = %141
%144 = load i32, ptr %11, align 4
%145 = load ptr, ptr %12, align 8
%146 = load ptr, ptr %19, align 8
%147 = load ptr, ptr %30, align 8
%148 = call i32 @JacobianSpace(i32 noundef %144, ptr noundef %145, ptr noundef %146, ptr noundef %147)
%149 = load ptr, ptr %30, align 8
%150 = load i32, ptr %11, align 4
%151 = load ptr, ptr %31, align 8
%152 = call i32 @MatrixPinv(ptr noundef %149, i32 noundef 6, i32 noundef %150, double noundef 2.200000e-15, ptr noundef %151)
%153 = load ptr, ptr %31, align 8
%154 = load i32, ptr %11, align 4
%155 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%156 = load ptr, ptr %32, align 8
%157 = call i32 @MatrixMult(ptr noundef %153, i32 noundef %154, i32 noundef 6, ptr noundef %155, i32 noundef 1, ptr noundef %156)
store i32 0, ptr %21, align 4
%158 = load i32, ptr %21, align 4
%159 = load i32, ptr %11, align 4
%160 = icmp slt i32 %158, %159
br i1 %160, label %.lr.ph2, label %183
.lr.ph2: ; preds = %143
br label %161
161: ; preds = %.lr.ph2, %177
%162 = load ptr, ptr %19, align 8
%163 = load i32, ptr %21, align 4
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds double, ptr %162, i64 %164
%166 = load double, ptr %165, align 8
%167 = load ptr, ptr %32, align 8
%168 = load i32, ptr %21, align 4
%169 = sext i32 %168 to i64
%170 = getelementptr inbounds double, ptr %167, i64 %169
%171 = load double, ptr %170, align 8
%172 = fadd double %166, %171
%173 = load ptr, ptr %19, align 8
%174 = load i32, ptr %21, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds double, ptr %173, i64 %175
store double %172, ptr %176, align 8
br label %177
177: ; preds = %161
%178 = load i32, ptr %21, align 4
%179 = add nsw i32 %178, 1
store i32 %179, ptr %21, align 4
%180 = load i32, ptr %21, align 4
%181 = load i32, ptr %11, align 4
%182 = icmp slt i32 %180, %181
br i1 %182, label %161, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %177
br label %183
183: ; preds = %._crit_edge3, %143
%184 = load i32, ptr %20, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %20, align 4
%186 = load ptr, ptr %13, align 8
%187 = load i32, ptr %11, align 4
%188 = load ptr, ptr %12, align 8
%189 = load ptr, ptr %19, align 8
%190 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%191 = call i32 @FKinSpace(ptr noundef %186, i32 noundef %187, ptr noundef %188, ptr noundef %189, ptr noundef %190)
%192 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%193 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%194 = call i32 @TransInv(ptr noundef %192, ptr noundef %193)
%195 = getelementptr inbounds [4 x [4 x double]], ptr %23, i64 0, i64 0
%196 = load ptr, ptr %14, align 8
%197 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%198 = call i32 @Matrix4Mult(ptr noundef %195, ptr noundef %196, ptr noundef %197)
%199 = getelementptr inbounds [4 x [4 x double]], ptr %24, i64 0, i64 0
%200 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%201 = call i32 @MatrixLog6(ptr noundef %199, ptr noundef %200)
%202 = getelementptr inbounds [4 x [4 x double]], ptr %26, i64 0, i64 0
%203 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%204 = call i32 @se3ToVec(ptr noundef %202, ptr noundef %203)
%205 = getelementptr inbounds [4 x [4 x double]], ptr %22, i64 0, i64 0
%206 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%207 = call i32 @Adjoint(ptr noundef %205, ptr noundef %206)
%208 = getelementptr inbounds [6 x [6 x double]], ptr %25, i64 0, i64 0
%209 = getelementptr inbounds [6 x double], ptr %27, i64 0, i64 0
%210 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%211 = call i32 @MatrixMult(ptr noundef %208, i32 noundef 6, i32 noundef 6, ptr noundef %209, i32 noundef 1, ptr noundef %210)
%212 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 0
%213 = call double @VecNorm2(i32 noundef 3, ptr noundef %212)
%214 = load double, ptr %16, align 8
%215 = fcmp ogt double %213, %214
br i1 %215, label %221, label %216
216: ; preds = %183
%217 = getelementptr inbounds [6 x double], ptr %28, i64 0, i64 3
%218 = call double @VecNorm2(i32 noundef 3, ptr noundef %217)
%219 = load double, ptr %17, align 8
%220 = fcmp ogt double %218, %219
br label %221
221: ; preds = %216, %183
%222 = phi i1 [ true, %183 ], [ %220, %216 ]
%223 = zext i1 %222 to i32
store i32 %223, ptr %29, align 4
%224 = load i32, ptr %20, align 4
%225 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %224)
store i32 0, ptr %33, align 4
%226 = load i32, ptr %33, align 4
%227 = load i32, ptr %11, align 4
%228 = icmp slt i32 %226, %227
br i1 %228, label %.lr.ph5, label %242
.lr.ph5: ; preds = %221
br label %229
229: ; preds = %.lr.ph5, %236
%230 = load ptr, ptr %19, align 8
%231 = load i32, ptr %33, align 4
%232 = sext i32 %231 to i64
%233 = getelementptr inbounds double, ptr %230, i64 %232
%234 = load double, ptr %233, align 8
%235 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %234)
br label %236
236: ; preds = %229
%237 = load i32, ptr %33, align 4
%238 = add nsw i32 %237, 1
store i32 %238, ptr %33, align 4
%239 = load i32, ptr %33, align 4
%240 = load i32, ptr %11, align 4
%241 = icmp slt i32 %239, %240
br i1 %241, label %229, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %236
br label %242
242: ; preds = %._crit_edge6, %221
%243 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %134, !llvm.loop !10
244: ; preds = %141
%245 = load ptr, ptr %30, align 8
%246 = call i32 @free(ptr noundef %245)
%247 = load ptr, ptr %31, align 8
%248 = call i32 @free(ptr noundef %247)
%249 = load ptr, ptr %32, align 8
%250 = call i32 @free(ptr noundef %249)
%251 = load i32, ptr %29, align 4
store i32 %251, ptr %10, align 4
br label %252
252: ; preds = %244, %66, %54, %43
%253 = load i32, ptr %10, align 4
ret i32 %253
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @MatrixCopy(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @FKinSpace(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @TransInv(ptr noundef, ptr noundef) #1
declare i32 @Matrix4Mult(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @MatrixLog6(ptr noundef, ptr noundef) #1
declare i32 @se3ToVec(ptr noundef, ptr noundef) #1
declare i32 @Adjoint(ptr noundef, ptr noundef) #1
declare i32 @MatrixMult(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
declare double @VecNorm2(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @JacobianSpace(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @MatrixPinv(ptr noundef, i32 noundef, i32 noundef, double 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}
|
; ModuleID = '/tmp/tmpe_8xzssz.c'
source_filename = "/tmp/tmpe_8xzssz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@ULONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_passwd_entry(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%6 = call ptr @malloc(i64 noundef 4) #3
store ptr %6, ptr %3, align 8
%7 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4
%8 = call i64 @sysconf(i32 noundef %7)
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp eq i64 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %1
store i64 1024, ptr %5, align 8
br label %12
12: ; preds = %11, %1
%13 = load i64, ptr %5, align 8
%14 = call ptr @malloc(i64 noundef %13) #3
store ptr %14, ptr %4, align 8
br label %15
15: ; preds = %12, %38
%16 = load i32, ptr %2, align 4
%17 = load ptr, ptr %3, align 8
%18 = load ptr, ptr %4, align 8
%19 = load i64, ptr %5, align 8
%20 = call i32 @getpwuid_r(i32 noundef %16, ptr noundef %17, ptr noundef %18, i64 noundef %19, ptr noundef %3)
%21 = load i64, ptr @errno, align 8
%22 = load i64, ptr @ERANGE, align 8
%23 = icmp eq i64 %21, %22
br i1 %23, label %24, label %37
24: ; preds = %15
%25 = load i64, ptr %5, align 8
%26 = load i64, ptr @ULONG_MAX, align 8
%27 = icmp ult i64 %25, %26
br i1 %27, label %28, label %37
28: ; preds = %24
%29 = load i64, ptr %5, align 8
%30 = load i64, ptr %5, align 8
%31 = mul i64 %30, 2
%32 = load i64, ptr @ULONG_MAX, align 8
%33 = call i64 @get_max_value(i64 noundef %29, i64 noundef %31, i64 noundef %32)
store i64 %33, ptr %5, align 8
%34 = load ptr, ptr %4, align 8
%35 = load i64, ptr %5, align 8
%36 = call ptr @realloc(ptr noundef %34, i64 noundef %35)
store ptr %36, ptr %4, align 8
br label %38
37: ; preds = %24, %15
br label %39
38: ; preds = %28
br label %15
39: ; preds = %37
%40 = load ptr, ptr %3, align 8
ret ptr %40
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i64 @sysconf(i32 noundef) #2
declare i32 @getpwuid_r(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2
declare i64 @get_max_value(i64 noundef, i64 noundef, i64 noundef) #2
declare ptr @realloc(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpe_8xzssz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@_SC_GETPW_R_SIZE_MAX = dso_local global i32 0, align 4
@errno = dso_local global i64 0, align 8
@ERANGE = dso_local global i64 0, align 8
@ULONG_MAX = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @get_passwd_entry(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i64, align 8
store i32 %0, ptr %2, align 4
%6 = call ptr @malloc(i64 noundef 4) #3
store ptr %6, ptr %3, align 8
%7 = load i32, ptr @_SC_GETPW_R_SIZE_MAX, align 4
%8 = call i64 @sysconf(i32 noundef %7)
store i64 %8, ptr %5, align 8
%9 = load i64, ptr %5, align 8
%10 = icmp eq i64 %9, -1
br i1 %10, label %11, label %12
11: ; preds = %1
store i64 1024, ptr %5, align 8
br label %12
12: ; preds = %11, %1
%13 = load i64, ptr %5, align 8
%14 = call ptr @malloc(i64 noundef %13) #3
store ptr %14, ptr %4, align 8
%15 = load i32, ptr %2, align 4
%16 = load ptr, ptr %3, align 8
%17 = load ptr, ptr %4, align 8
%18 = load i64, ptr %5, align 8
%19 = call i32 @getpwuid_r(i32 noundef %15, ptr noundef %16, ptr noundef %17, i64 noundef %18, ptr noundef %3)
%20 = load i64, ptr @errno, align 8
%21 = load i64, ptr @ERANGE, align 8
%22 = icmp eq i64 %20, %21
br i1 %22, label %.lr.ph, label %36
.lr.ph: ; preds = %12
br label %23
23: ; preds = %.lr.ph, %37
%24 = load i64, ptr %5, align 8
%25 = load i64, ptr @ULONG_MAX, align 8
%26 = icmp ult i64 %24, %25
br i1 %26, label %27, label %._crit_edge
27: ; preds = %23
%28 = load i64, ptr %5, align 8
%29 = load i64, ptr %5, align 8
%30 = mul i64 %29, 2
%31 = load i64, ptr @ULONG_MAX, align 8
%32 = call i64 @get_max_value(i64 noundef %28, i64 noundef %30, i64 noundef %31)
store i64 %32, ptr %5, align 8
%33 = load ptr, ptr %4, align 8
%34 = load i64, ptr %5, align 8
%35 = call ptr @realloc(ptr noundef %33, i64 noundef %34)
store ptr %35, ptr %4, align 8
br label %37
._crit_edge: ; preds = %23
br label %36
._crit_edge1: ; preds = %37
br label %36
36: ; preds = %._crit_edge1, %._crit_edge, %12
br label %46
37: ; preds = %27
%38 = load i32, ptr %2, align 4
%39 = load ptr, ptr %3, align 8
%40 = load ptr, ptr %4, align 8
%41 = load i64, ptr %5, align 8
%42 = call i32 @getpwuid_r(i32 noundef %38, ptr noundef %39, ptr noundef %40, i64 noundef %41, ptr noundef %3)
%43 = load i64, ptr @errno, align 8
%44 = load i64, ptr @ERANGE, align 8
%45 = icmp eq i64 %43, %44
br i1 %45, label %23, label %._crit_edge1
46: ; preds = %36
%47 = load ptr, ptr %3, align 8
ret ptr %47
}
; Function Attrs: allocsize(0)
declare ptr @malloc(i64 noundef) #1
declare i64 @sysconf(i32 noundef) #2
declare i32 @getpwuid_r(i32 noundef, ptr noundef, ptr noundef, i64 noundef, ptr noundef) #2
declare i64 @get_max_value(i64 noundef, i64 noundef, i64 noundef) #2
declare ptr @realloc(ptr noundef, i64 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmdq4m_gn.c'
source_filename = "/tmp/tmpmdq4m_gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %5
5: ; preds = %9, %0
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp sle i32 %6, %7
br i1 %8, label %9, label %14
9: ; preds = %5
%10 = load i32, ptr %3, align 4
%11 = call i32 @printf(ptr noundef @.str.1, i32 noundef %10)
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
br label %5, !llvm.loop !6
14: ; preds = %5
%15 = load i32, ptr %1, align 4
ret i32 %15
}
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/tmpmdq4m_gn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %5, %6
br i1 %7, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %8
%9 = load i32, ptr %3, align 4
%10 = call i32 @printf(ptr noundef @.str.1, i32 noundef %9)
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sle i32 %13, %14
br i1 %15, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %8
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %1, align 4
ret i32 %17
}
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/tmpiyp33k5e.c'
source_filename = "/tmp/tmpiyp33k5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @darray_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i32 @strncmp(ptr noundef %6, ptr noundef %8, i32 noundef %11)
ret i32 %12
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiyp33k5e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @darray_strcmp(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %3, align 8
%10 = load ptr, ptr %9, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = call i32 @strncmp(ptr noundef %6, ptr noundef %8, i32 noundef %11)
ret i32 %12
}
declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7oyeqr4m.c'
source_filename = "/tmp/tmp7oyeqr4m.c"
target datalayout = "e-m:e-p270: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/tmp7oyeqr4m.c"
target datalayout = "e-m:e-p270: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/tmps_lgkmie.c'
source_filename = "/tmp/tmps_lgkmie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"El numero de iteraciones realizadas es: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"El valor final de la aproximacion de la raiz es: %lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"El error relativo es: %lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"El valor de |f(%lf)| es: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newton(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store double 0.000000e+00, ptr %10, align 8
br label %11
11: ; preds = %36, %4
%12 = load double, ptr %6, align 8
%13 = load double, ptr %10, align 8
%14 = fsub double %12, %13
%15 = call float @fabs(double noundef %14)
%16 = load double, ptr %6, align 8
%17 = call float @fabs(double noundef %16)
%18 = fdiv float %15, %17
%19 = fpext float %18 to double
%20 = load double, ptr %7, align 8
%21 = fcmp oge double %19, %20
br i1 %21, label %22, label %34
22: ; preds = %11
%23 = load double, ptr %5, align 8
%24 = load double, ptr %6, align 8
%25 = call double @g(double noundef %23, double noundef %24)
%26 = call float @fabs(double noundef %25)
%27 = fpext float %26 to double
%28 = load double, ptr %7, align 8
%29 = fcmp oge double %27, %28
br i1 %29, label %30, label %34
30: ; preds = %22
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br label %34
34: ; preds = %30, %22, %11
%35 = phi i1 [ false, %22 ], [ false, %11 ], [ %33, %30 ]
br i1 %35, label %36, label %48
36: ; preds = %34
%37 = load double, ptr %6, align 8
store double %37, ptr %10, align 8
%38 = load double, ptr %10, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %10, align 8
%41 = call double @g(double noundef %39, double noundef %40)
%42 = load double, ptr %10, align 8
%43 = call double @gprima(double noundef %42)
%44 = fdiv double %41, %43
%45 = fsub double %38, %44
store double %45, ptr %6, align 8
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %11, !llvm.loop !6
48: ; preds = %34
%49 = load i32, ptr %9, align 4
%50 = sitofp i32 %49 to double
%51 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %50)
%52 = load double, ptr %6, align 8
%53 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %52)
%54 = load double, ptr %6, align 8
%55 = load double, ptr %10, align 8
%56 = fsub double %54, %55
%57 = call float @fabs(double noundef %56)
%58 = load double, ptr %6, align 8
%59 = call float @fabs(double noundef %58)
%60 = fdiv float %57, %59
%61 = fpext float %60 to double
%62 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %61)
%63 = load double, ptr %6, align 8
%64 = load double, ptr %5, align 8
%65 = load double, ptr %6, align 8
%66 = call double @g(double noundef %64, double noundef %65)
%67 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %63, double noundef %66)
ret void
}
declare float @fabs(double noundef) #1
declare double @g(double noundef, double noundef) #1
declare double @gprima(double noundef) #1
declare i32 @printf(ptr noundef, double noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_lgkmie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [44 x i8] c"El numero de iteraciones realizadas es: %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [54 x i8] c"El valor final de la aproximacion de la raiz es: %lf\0A\00", align 1
@.str.2 = private unnamed_addr constant [27 x i8] c"El error relativo es: %lf\0A\00", align 1
@.str.3 = private unnamed_addr constant [30 x i8] c"El valor de |f(%lf)| es: %lf\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @newton(double noundef %0, double noundef %1, double noundef %2, i32 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
store i32 0, ptr %9, align 4
store double 0.000000e+00, ptr %10, align 8
br label %11
11: ; preds = %36, %4
%12 = load double, ptr %6, align 8
%13 = load double, ptr %10, align 8
%14 = fsub double %12, %13
%15 = call float @fabs(double noundef %14)
%16 = load double, ptr %6, align 8
%17 = call float @fabs(double noundef %16)
%18 = fdiv float %15, %17
%19 = fpext float %18 to double
%20 = load double, ptr %7, align 8
%21 = fcmp oge double %19, %20
br i1 %21, label %22, label %34
22: ; preds = %11
%23 = load double, ptr %5, align 8
%24 = load double, ptr %6, align 8
%25 = call double @g(double noundef %23, double noundef %24)
%26 = call float @fabs(double noundef %25)
%27 = fpext float %26 to double
%28 = load double, ptr %7, align 8
%29 = fcmp oge double %27, %28
br i1 %29, label %30, label %34
30: ; preds = %22
%31 = load i32, ptr %9, align 4
%32 = load i32, ptr %8, align 4
%33 = icmp slt i32 %31, %32
br label %34
34: ; preds = %30, %22, %11
%35 = phi i1 [ false, %22 ], [ false, %11 ], [ %33, %30 ]
br i1 %35, label %36, label %48
36: ; preds = %34
%37 = load double, ptr %6, align 8
store double %37, ptr %10, align 8
%38 = load double, ptr %10, align 8
%39 = load double, ptr %5, align 8
%40 = load double, ptr %10, align 8
%41 = call double @g(double noundef %39, double noundef %40)
%42 = load double, ptr %10, align 8
%43 = call double @gprima(double noundef %42)
%44 = fdiv double %41, %43
%45 = fsub double %38, %44
store double %45, ptr %6, align 8
%46 = load i32, ptr %9, align 4
%47 = add nsw i32 %46, 1
store i32 %47, ptr %9, align 4
br label %11, !llvm.loop !6
48: ; preds = %34
%49 = load i32, ptr %9, align 4
%50 = sitofp i32 %49 to double
%51 = call i32 (ptr, double, ...) @printf(ptr noundef @.str, double noundef %50)
%52 = load double, ptr %6, align 8
%53 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.1, double noundef %52)
%54 = load double, ptr %6, align 8
%55 = load double, ptr %10, align 8
%56 = fsub double %54, %55
%57 = call float @fabs(double noundef %56)
%58 = load double, ptr %6, align 8
%59 = call float @fabs(double noundef %58)
%60 = fdiv float %57, %59
%61 = fpext float %60 to double
%62 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.2, double noundef %61)
%63 = load double, ptr %6, align 8
%64 = load double, ptr %5, align 8
%65 = load double, ptr %6, align 8
%66 = call double @g(double noundef %64, double noundef %65)
%67 = call i32 (ptr, double, ...) @printf(ptr noundef @.str.3, double noundef %63, double noundef %66)
ret void
}
declare float @fabs(double noundef) #1
declare double @g(double noundef, double noundef) #1
declare double @gprima(double noundef) #1
declare i32 @printf(ptr noundef, double noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplsnc2qyk.c'
source_filename = "/tmp/tmplsnc2qyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds i32, ptr %5, i64 %7
%9 = load i32, ptr %8, align 4
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %19
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = sext i32 %13 to i64
%16 = getelementptr inbounds i32, ptr %12, i64 %15
%17 = load i32, ptr %16, align 4
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %17)
br label %4, !llvm.loop !6
19: ; preds = %4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplsnc2qyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_array(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds i32, ptr %4, i64 %6
%8 = load i32, ptr %7, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %.lr.ph, label %24
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds i32, ptr %11, i64 %14
%16 = load i32, ptr %15, align 4
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16)
%18 = load ptr, ptr %2, align 8
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i32, ptr %18, i64 %20
%22 = load i32, ptr %21, align 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %24
24: ; preds = %._crit_edge, %1
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp5ym8m7l8.c'
source_filename = "/tmp/tmp5ym8m7l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"!!! Exit !!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmd_exit(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @exit(i32 noundef 0) #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/tmp5ym8m7l8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"!!! Exit !!!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @cmd_exit(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @printf(ptr noundef @.str)
%6 = call i32 @exit(i32 noundef 0) #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/tmp9hov_dve.c'
source_filename = "/tmp/tmp9hov_dve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PARENTIZACAO_RECURSIVA(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %5
store i32 0, ptr %6, align 4
br label %112
18: ; preds = %5
%19 = load i32, ptr @INT_MAX, align 4
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 %19, ptr %27, align 4
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %13, align 4
br label %29
29: ; preds = %99, %18
%30 = load i32, ptr %13, align 4
%31 = load i32, ptr %9, align 4
%32 = sub nsw i32 %31, 1
%33 = icmp slt i32 %30, %32
br i1 %33, label %34, label %102
34: ; preds = %29
%35 = load ptr, ptr %7, align 8
%36 = load i32, ptr %8, align 4
%37 = load i32, ptr %13, align 4
%38 = load ptr, ptr %10, align 8
%39 = load ptr, ptr %11, align 8
%40 = call i32 @PARENTIZACAO_RECURSIVA(ptr noundef %35, i32 noundef %36, i32 noundef %37, ptr noundef %38, ptr noundef %39)
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr %13, align 4
%43 = add nsw i32 %42, 1
%44 = load i32, ptr %9, align 4
%45 = load ptr, ptr %10, align 8
%46 = load ptr, ptr %11, align 8
%47 = call i32 @PARENTIZACAO_RECURSIVA(ptr noundef %41, i32 noundef %43, i32 noundef %44, ptr noundef %45, ptr noundef %46)
%48 = add nsw i32 %40, %47
%49 = load ptr, ptr %7, align 8
%50 = load i32, ptr %8, align 4
%51 = sub nsw i32 %50, 1
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %49, i64 %52
%54 = load i32, ptr %53, align 4
%55 = load ptr, ptr %7, align 8
%56 = load i32, ptr %13, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = mul nsw i32 %54, %59
%61 = load ptr, ptr %7, align 8
%62 = load i32, ptr %9, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds i32, ptr %61, i64 %63
%65 = load i32, ptr %64, align 4
%66 = mul nsw i32 %60, %65
%67 = add nsw i32 %48, %66
store i32 %67, ptr %12, align 4
%68 = load ptr, ptr %10, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds ptr, ptr %68, i64 %70
%72 = load ptr, ptr %71, align 8
%73 = load i32, ptr %9, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
%76 = load i32, ptr %75, align 4
%77 = load i32, ptr %12, align 4
%78 = icmp sgt i32 %76, %77
br i1 %78, label %79, label %98
79: ; preds = %34
%80 = load i32, ptr %12, align 4
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %8, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds ptr, ptr %81, i64 %83
%85 = load ptr, ptr %84, align 8
%86 = load i32, ptr %9, align 4
%87 = sext i32 %86 to i64
%88 = getelementptr inbounds i32, ptr %85, i64 %87
store i32 %80, ptr %88, align 4
%89 = load i32, ptr %13, align 4
%90 = load ptr, ptr %11, align 8
%91 = load i32, ptr %8, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %9, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
store i32 %89, ptr %97, align 4
br label %98
98: ; preds = %79, %34
br label %99
99: ; preds = %98
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %13, align 4
br label %29, !llvm.loop !6
102: ; preds = %29
%103 = load ptr, ptr %10, align 8
%104 = load i32, ptr %8, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds ptr, ptr %103, i64 %105
%107 = load ptr, ptr %106, align 8
%108 = load i32, ptr %9, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds i32, ptr %107, i64 %109
%111 = load i32, ptr %110, align 4
store i32 %111, ptr %6, align 4
br label %112
112: ; preds = %102, %17
%113 = load i32, ptr %6, align 4
ret i32 %113
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp9hov_dve.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@INT_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @PARENTIZACAO_RECURSIVA(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 {
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store i32 %1, ptr %8, align 4
store i32 %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i32, ptr %8, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %18
17: ; preds = %5
store i32 0, ptr %6, align 4
br label %115
18: ; preds = %5
%19 = load i32, ptr @INT_MAX, align 4
%20 = load ptr, ptr %10, align 8
%21 = load i32, ptr %8, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds ptr, ptr %20, i64 %22
%24 = load ptr, ptr %23, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
store i32 %19, ptr %27, align 4
%28 = load i32, ptr %8, align 4
store i32 %28, ptr %13, align 4
%29 = load i32, ptr %13, align 4
%30 = load i32, ptr %9, align 4
%31 = sub nsw i32 %30, 1
%32 = icmp slt i32 %29, %31
br i1 %32, label %.lr.ph, label %105
.lr.ph: ; preds = %18
br label %33
33: ; preds = %.lr.ph, %98
%34 = load ptr, ptr %7, align 8
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %13, align 4
%37 = load ptr, ptr %10, align 8
%38 = load ptr, ptr %11, align 8
%39 = call i32 @PARENTIZACAO_RECURSIVA(ptr noundef %34, i32 noundef %35, i32 noundef %36, ptr noundef %37, ptr noundef %38)
%40 = load ptr, ptr %7, align 8
%41 = load i32, ptr %13, align 4
%42 = add nsw i32 %41, 1
%43 = load i32, ptr %9, align 4
%44 = load ptr, ptr %10, align 8
%45 = load ptr, ptr %11, align 8
%46 = call i32 @PARENTIZACAO_RECURSIVA(ptr noundef %40, i32 noundef %42, i32 noundef %43, ptr noundef %44, ptr noundef %45)
%47 = add nsw i32 %39, %46
%48 = load ptr, ptr %7, align 8
%49 = load i32, ptr %8, align 4
%50 = sub nsw i32 %49, 1
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds i32, ptr %48, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load ptr, ptr %7, align 8
%55 = load i32, ptr %13, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i32, ptr %54, i64 %56
%58 = load i32, ptr %57, align 4
%59 = mul nsw i32 %53, %58
%60 = load ptr, ptr %7, align 8
%61 = load i32, ptr %9, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
%64 = load i32, ptr %63, align 4
%65 = mul nsw i32 %59, %64
%66 = add nsw i32 %47, %65
store i32 %66, ptr %12, align 4
%67 = load ptr, ptr %10, align 8
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds ptr, ptr %67, i64 %69
%71 = load ptr, ptr %70, align 8
%72 = load i32, ptr %9, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
%75 = load i32, ptr %74, align 4
%76 = load i32, ptr %12, align 4
%77 = icmp sgt i32 %75, %76
br i1 %77, label %78, label %97
78: ; preds = %33
%79 = load i32, ptr %12, align 4
%80 = load ptr, ptr %10, align 8
%81 = load i32, ptr %8, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = load i32, ptr %9, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i32, ptr %84, i64 %86
store i32 %79, ptr %87, align 4
%88 = load i32, ptr %13, align 4
%89 = load ptr, ptr %11, align 8
%90 = load i32, ptr %8, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds ptr, ptr %89, i64 %91
%93 = load ptr, ptr %92, align 8
%94 = load i32, ptr %9, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
store i32 %88, ptr %96, align 4
br label %97
97: ; preds = %78, %33
br label %98
98: ; preds = %97
%99 = load i32, ptr %13, align 4
%100 = add nsw i32 %99, 1
store i32 %100, ptr %13, align 4
%101 = load i32, ptr %13, align 4
%102 = load i32, ptr %9, align 4
%103 = sub nsw i32 %102, 1
%104 = icmp slt i32 %101, %103
br i1 %104, label %33, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %98
br label %105
105: ; preds = %._crit_edge, %18
%106 = load ptr, ptr %10, align 8
%107 = load i32, ptr %8, align 4
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds ptr, ptr %106, i64 %108
%110 = load ptr, ptr %109, align 8
%111 = load i32, ptr %9, align 4
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds i32, ptr %110, i64 %112
%114 = load i32, ptr %113, align 4
store i32 %114, ptr %6, align 4
br label %115
115: ; preds = %105, %17
%116 = load i32, ptr %6, align 4
ret i32 %116
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp5ygbnhd1.c'
source_filename = "/tmp/tmp5ygbnhd1.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"cannot close()\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sclose(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
13: ; preds = %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @fprintf(i32 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/tmp5ygbnhd1.c"
target datalayout = "e-m:e-p270: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 [16 x i8] c"cannot close()\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sclose(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
store i32 %5, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = icmp eq i32 %6, -1
br i1 %7, label %8, label %13
8: ; preds = %1
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str)
%11 = load i32, ptr @EXIT_FAILURE, align 4
%12 = call i32 @exit(i32 noundef %11) #3
unreachable
13: ; preds = %1
ret void
}
declare i32 @close(i32 noundef) #1
declare i32 @fprintf(i32 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/tmpwg0xkdqj.c'
source_filename = "/tmp/tmpwg0xkdqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cut_up(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 = call ptr @malloc(i32 noundef 8)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strtok(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %12, %1
%10 = load ptr, ptr %4, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %12, label %22
12: ; preds = %9
%13 = load ptr, ptr %4, align 8
%14 = call i32 @strtol(ptr noundef %13, ptr noundef null, i32 noundef 10)
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
store i32 %14, ptr %18, align 4
%19 = load i32, ptr %5, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %5, align 4
%21 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %21, ptr %4, align 8
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare ptr @malloc(i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwg0xkdqj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @cut_up(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 = call ptr @malloc(i32 noundef 8)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call ptr @strtok(ptr noundef %7, ptr noundef @.str)
store ptr %8, ptr %4, align 8
store i32 0, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %11
11: ; preds = %.lr.ph, %11
%12 = load ptr, ptr %4, align 8
%13 = call i32 @strtol(ptr noundef %12, ptr noundef null, i32 noundef 10)
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
store i32 %13, ptr %17, align 4
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
%20 = call ptr @strtok(ptr noundef null, ptr noundef @.str)
store ptr %20, ptr %4, align 8
%21 = load ptr, ptr %4, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %23
23: ; preds = %._crit_edge, %1
%24 = load ptr, ptr %3, align 8
ret ptr %24
}
declare ptr @malloc(i32 noundef) #1
declare ptr @strtok(ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqedz3trv.c'
source_filename = "/tmp/tmpqedz3trv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqedz3trv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpylh7egpl.c'
source_filename = "/tmp/tmpylh7egpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 i32 @_kill(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = call i32 @_exit(i32 noundef %8) #2
unreachable
10: ; preds = %2
ret i32 0
}
; Function Attrs: noreturn
declare i32 @_exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmpylh7egpl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64: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 i32 @_kill(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp eq i32 %5, 1
br i1 %6, label %7, label %10
7: ; preds = %2
%8 = load i32, ptr %4, align 4
%9 = call i32 @_exit(i32 noundef %8) #2
unreachable
10: ; preds = %2
ret i32 0
}
; Function Attrs: noreturn
declare i32 @_exit(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 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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/tmp9f5ubc2k.c'
source_filename = "/tmp/tmp9f5ubc2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rndt2() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = call double (...) @rndu()
%4 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %3, double -1.000000e+00)
store double %4, ptr %1, align 8
%5 = load double, ptr %1, align 8
%6 = load double, ptr %1, align 8
%7 = fmul double %6, %5
store double %7, ptr %1, align 8
%8 = load double, ptr %1, align 8
%9 = fmul double 2.000000e+00, %8
%10 = load double, ptr %1, align 8
%11 = fsub double 1.000000e+00, %10
%12 = fdiv double %9, %11
%13 = fptosi double %12 to i32
%14 = call double @sqrt(i32 noundef %13)
store double %14, ptr %2, align 8
%15 = call double (...) @rndu()
%16 = fcmp olt double %15, 5.000000e-01
br i1 %16, label %17, label %20
17: ; preds = %0
%18 = load double, ptr %2, align 8
%19 = fneg double %18
store double %19, ptr %2, align 8
br label %20
20: ; preds = %17, %0
%21 = load double, ptr %2, align 8
ret double %21
}
declare double @rndu(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9f5ubc2k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @rndt2() #0 {
%1 = alloca double, align 8
%2 = alloca double, align 8
%3 = call double (...) @rndu()
%4 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %3, double -1.000000e+00)
store double %4, ptr %1, align 8
%5 = load double, ptr %1, align 8
%6 = load double, ptr %1, align 8
%7 = fmul double %6, %5
store double %7, ptr %1, align 8
%8 = load double, ptr %1, align 8
%9 = fmul double 2.000000e+00, %8
%10 = load double, ptr %1, align 8
%11 = fsub double 1.000000e+00, %10
%12 = fdiv double %9, %11
%13 = fptosi double %12 to i32
%14 = call double @sqrt(i32 noundef %13)
store double %14, ptr %2, align 8
%15 = call double (...) @rndu()
%16 = fcmp olt double %15, 5.000000e-01
br i1 %16, label %17, label %20
17: ; preds = %0
%18 = load double, ptr %2, align 8
%19 = fneg double %18
store double %19, ptr %2, align 8
br label %20
20: ; preds = %17, %0
%21 = load double, ptr %2, align 8
ret double %21
}
declare double @rndu(...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
declare double @sqrt(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyk70so__.c'
source_filename = "/tmp/tmpyk70so__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @xClose(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
br label %3
3: ; preds = %12, %1
%4 = load i32, ptr %2, align 4
%5 = call i32 @close(i32 noundef %4)
%6 = icmp eq i32 %5, -1
br i1 %6, label %7, label %13
7: ; preds = %3
%8 = load i64, ptr @errno, align 8
%9 = load i64, ptr @EINTR, align 8
%10 = icmp ne i64 %8, %9
br i1 %10, label %11, label %12
11: ; preds = %7
br label %13
12: ; preds = %7
br label %3, !llvm.loop !6
13: ; preds = %11, %3
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyk70so__.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@errno = dso_local global i64 0, align 8
@EINTR = dso_local global i64 0, align 8
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @xClose(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 @close(i32 noundef %3)
%5 = icmp eq i32 %4, -1
br i1 %5, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %1
br label %10
6: ; preds = %10
%7 = load i32, ptr %2, align 4
%8 = call i32 @close(i32 noundef %7)
%9 = icmp eq i32 %8, -1
br i1 %9, label %10, label %..loopexit_crit_edge, !llvm.loop !6
10: ; preds = %.lr.ph, %6
%11 = load i64, ptr @errno, align 8
%12 = load i64, ptr @EINTR, align 8
%13 = icmp ne i64 %11, %12
br i1 %13, label %14, label %6
14: ; preds = %10
br label %15
..loopexit_crit_edge: ; preds = %6
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %1
br label %15
15: ; preds = %.loopexit, %14
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpio_bkeai.c'
source_filename = "/tmp/tmpio_bkeai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mls_type_data_ushort_to_str(ptr noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
store i32 2, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %8
8: ; preds = %28, %2
%9 = load i32, ptr %5, align 4
%10 = load i32, ptr %6, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %12, label %31
12: ; preds = %8
%13 = load i16, ptr %4, align 2
%14 = zext i16 %13 to i32
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %15, %16
%18 = sub nsw i32 %17, 1
%19 = mul nsw i32 %18, 8
%20 = ashr i32 %14, %19
%21 = and i32 %20, 255
%22 = trunc i32 %21 to i8
store i8 %22, ptr %7, align 1
%23 = load ptr, ptr %3, align 8
%24 = load i8, ptr %7, align 1
%25 = call i32 @sprintf(ptr noundef %23, ptr noundef @.str, i8 noundef zeroext %24)
%26 = load ptr, ptr %3, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 2
store ptr %27, ptr %3, align 8
br label %28
28: ; preds = %12
%29 = load i32, ptr %5, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %5, align 4
br label %8, !llvm.loop !6
31: ; preds = %8
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpio_bkeai.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%02X\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @mls_type_data_ushort_to_str(ptr noundef %0, i16 noundef zeroext %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i16, align 2
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i16 %1, ptr %4, align 2
store i32 2, ptr %6, align 4
store i32 0, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %.lr.ph, label %33
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %27
%12 = load i16, ptr %4, align 2
%13 = zext i16 %12 to i32
%14 = load i32, ptr %6, align 4
%15 = load i32, ptr %5, align 4
%16 = sub nsw i32 %14, %15
%17 = sub nsw i32 %16, 1
%18 = mul nsw i32 %17, 8
%19 = ashr i32 %13, %18
%20 = and i32 %19, 255
%21 = trunc i32 %20 to i8
store i8 %21, ptr %7, align 1
%22 = load ptr, ptr %3, align 8
%23 = load i8, ptr %7, align 1
%24 = call i32 @sprintf(ptr noundef %22, ptr noundef @.str, i8 noundef zeroext %23)
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 2
store ptr %26, ptr %3, align 8
br label %27
27: ; preds = %11
%28 = load i32, ptr %5, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load i32, ptr %5, align 4
%31 = load i32, ptr %6, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %2
ret void
}
declare i32 @sprintf(ptr noundef, ptr noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpg6uldgyf.c'
source_filename = "/tmp/tmpg6uldgyf.c"
target datalayout = "e-m:e-p270: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/tmpg6uldgyf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp__dhriwz.c'
source_filename = "/tmp/tmp__dhriwz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__dhriwz.c"
target datalayout = "e-m:e-p270: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/tmpdegmtb5a.c'
source_filename = "/tmp/tmpdegmtb5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BotChangeViewAngle(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
%9 = load float, ptr %5, align 4
%10 = call float @AngleMod(float noundef %9)
store float %10, ptr %5, align 4
%11 = load float, ptr %6, align 4
%12 = call float @AngleMod(float noundef %11)
store float %12, ptr %6, align 4
%13 = load float, ptr %5, align 4
%14 = load float, ptr %6, align 4
%15 = fcmp oeq float %13, %14
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load float, ptr %5, align 4
store float %17, ptr %4, align 4
br label %69
18: ; preds = %3
%19 = load float, ptr %6, align 4
%20 = load float, ptr %5, align 4
%21 = fsub float %19, %20
store float %21, ptr %8, align 4
%22 = load float, ptr %6, align 4
%23 = load float, ptr %5, align 4
%24 = fcmp ogt float %22, %23
br i1 %24, label %25, label %35
25: ; preds = %18
%26 = load float, ptr %8, align 4
%27 = fpext float %26 to double
%28 = fcmp ogt double %27, 1.800000e+02
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load float, ptr %8, align 4
%31 = fpext float %30 to double
%32 = fsub double %31, 3.600000e+02
%33 = fptrunc double %32 to float
store float %33, ptr %8, align 4
br label %34
34: ; preds = %29, %25
br label %45
35: ; preds = %18
%36 = load float, ptr %8, align 4
%37 = fpext float %36 to double
%38 = fcmp olt double %37, -1.800000e+02
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load float, ptr %8, align 4
%41 = fpext float %40 to double
%42 = fadd double %41, 3.600000e+02
%43 = fptrunc double %42 to float
store float %43, ptr %8, align 4
br label %44
44: ; preds = %39, %35
br label %45
45: ; preds = %44, %34
%46 = load float, ptr %8, align 4
%47 = fcmp ogt float %46, 0.000000e+00
br i1 %47, label %48, label %55
48: ; preds = %45
%49 = load float, ptr %8, align 4
%50 = load float, ptr %7, align 4
%51 = fcmp ogt float %49, %50
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = load float, ptr %7, align 4
store float %53, ptr %8, align 4
br label %54
54: ; preds = %52, %48
br label %64
55: ; preds = %45
%56 = load float, ptr %8, align 4
%57 = load float, ptr %7, align 4
%58 = fneg float %57
%59 = fcmp olt float %56, %58
br i1 %59, label %60, label %63
60: ; preds = %55
%61 = load float, ptr %7, align 4
%62 = fneg float %61
store float %62, ptr %8, align 4
br label %63
63: ; preds = %60, %55
br label %64
64: ; preds = %63, %54
%65 = load float, ptr %5, align 4
%66 = load float, ptr %8, align 4
%67 = fadd float %65, %66
%68 = call float @AngleMod(float noundef %67)
store float %68, ptr %4, align 4
br label %69
69: ; preds = %64, %16
%70 = load float, ptr %4, align 4
ret float %70
}
declare float @AngleMod(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpdegmtb5a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @BotChangeViewAngle(float noundef %0, float noundef %1, float noundef %2) #0 {
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store float %0, ptr %5, align 4
store float %1, ptr %6, align 4
store float %2, ptr %7, align 4
%9 = load float, ptr %5, align 4
%10 = call float @AngleMod(float noundef %9)
store float %10, ptr %5, align 4
%11 = load float, ptr %6, align 4
%12 = call float @AngleMod(float noundef %11)
store float %12, ptr %6, align 4
%13 = load float, ptr %5, align 4
%14 = load float, ptr %6, align 4
%15 = fcmp oeq float %13, %14
br i1 %15, label %16, label %18
16: ; preds = %3
%17 = load float, ptr %5, align 4
store float %17, ptr %4, align 4
br label %69
18: ; preds = %3
%19 = load float, ptr %6, align 4
%20 = load float, ptr %5, align 4
%21 = fsub float %19, %20
store float %21, ptr %8, align 4
%22 = load float, ptr %6, align 4
%23 = load float, ptr %5, align 4
%24 = fcmp ogt float %22, %23
br i1 %24, label %25, label %35
25: ; preds = %18
%26 = load float, ptr %8, align 4
%27 = fpext float %26 to double
%28 = fcmp ogt double %27, 1.800000e+02
br i1 %28, label %29, label %34
29: ; preds = %25
%30 = load float, ptr %8, align 4
%31 = fpext float %30 to double
%32 = fsub double %31, 3.600000e+02
%33 = fptrunc double %32 to float
store float %33, ptr %8, align 4
br label %34
34: ; preds = %29, %25
br label %45
35: ; preds = %18
%36 = load float, ptr %8, align 4
%37 = fpext float %36 to double
%38 = fcmp olt double %37, -1.800000e+02
br i1 %38, label %39, label %44
39: ; preds = %35
%40 = load float, ptr %8, align 4
%41 = fpext float %40 to double
%42 = fadd double %41, 3.600000e+02
%43 = fptrunc double %42 to float
store float %43, ptr %8, align 4
br label %44
44: ; preds = %39, %35
br label %45
45: ; preds = %44, %34
%46 = load float, ptr %8, align 4
%47 = fcmp ogt float %46, 0.000000e+00
br i1 %47, label %48, label %55
48: ; preds = %45
%49 = load float, ptr %8, align 4
%50 = load float, ptr %7, align 4
%51 = fcmp ogt float %49, %50
br i1 %51, label %52, label %54
52: ; preds = %48
%53 = load float, ptr %7, align 4
store float %53, ptr %8, align 4
br label %54
54: ; preds = %52, %48
br label %64
55: ; preds = %45
%56 = load float, ptr %8, align 4
%57 = load float, ptr %7, align 4
%58 = fneg float %57
%59 = fcmp olt float %56, %58
br i1 %59, label %60, label %63
60: ; preds = %55
%61 = load float, ptr %7, align 4
%62 = fneg float %61
store float %62, ptr %8, align 4
br label %63
63: ; preds = %60, %55
br label %64
64: ; preds = %63, %54
%65 = load float, ptr %5, align 4
%66 = load float, ptr %8, align 4
%67 = fadd float %65, %66
%68 = call float @AngleMod(float noundef %67)
store float %68, ptr %4, align 4
br label %69
69: ; preds = %64, %16
%70 = load float, ptr %4, align 4
ret float %70
}
declare float @AngleMod(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"}
|
; ModuleID = '/tmp/tmptu6i9eac.c'
source_filename = "/tmp/tmptu6i9eac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.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"#\00", align 1
@.str.5 = 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
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
br label %11
11: ; preds = %16, %0
%12 = load i32, ptr %7, align 4
%13 = load i32, ptr %2, align 4
%14 = sub nsw i32 %13, 2
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %24
16: ; preds = %11
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %17, %18
store i32 %19, ptr %8, align 4
%20 = load i32, ptr %9, align 4
%21 = add nsw i32 %20, 2
store i32 %21, ptr %9, align 4
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %7, align 4
br label %11, !llvm.loop !6
24: ; preds = %11
%25 = load i32, ptr %8, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %25)
br label %27
27: ; preds = %74, %24
%28 = load i32, ptr %3, align 4
%29 = load i32, ptr %2, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %78
31: ; preds = %27
br label %32
32: ; preds = %37, %31
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %2, align 4
%35 = sub nsw i32 %34, 1
%36 = icmp slt i32 %33, %35
br i1 %36, label %37, label %41
37: ; preds = %32
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%39 = load i32, ptr %4, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %4, align 4
br label %32, !llvm.loop !8
41: ; preds = %32
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %43
43: ; preds = %56, %41
%44 = load i32, ptr %5, align 4
%45 = load i32, ptr %6, align 4
%46 = icmp slt i32 %44, %45
br i1 %46, label %47, label %59
47: ; preds = %43
%48 = load i32, ptr %3, align 4
%49 = load i32, ptr %2, align 4
%50 = sub nsw i32 %49, 1
%51 = icmp eq i32 %48, %50
br i1 %51, label %52, label %54
52: ; preds = %47
%53 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %56
54: ; preds = %47
%55 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %56
56: ; preds = %54, %52
%57 = load i32, ptr %5, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %5, align 4
br label %43, !llvm.loop !9
59: ; preds = %43
%60 = load i32, ptr %3, align 4
%61 = icmp sgt i32 %60, 0
br i1 %61, label %62, label %64
62: ; preds = %59
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %64
64: ; preds = %62, %59
%65 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%66 = load i32, ptr %6, align 4
%67 = icmp eq i32 %66, 0
br i1 %67, label %68, label %71
68: ; preds = %64
%69 = load i32, ptr %6, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %6, align 4
br label %74
71: ; preds = %64
%72 = load i32, ptr %6, align 4
%73 = add nsw i32 %72, 2
store i32 %73, ptr %6, align 4
br label %74
74: ; preds = %71, %68
%75 = load i32, ptr %3, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %3, align 4
%77 = load i32, ptr %3, align 4
store i32 %77, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %27, !llvm.loop !10
78: ; preds = %27
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptu6i9eac.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
@.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"#\00", align 1
@.str.5 = 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
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %6, align 4
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 1, ptr %9, align 4
%10 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%11 = load i32, ptr %7, align 4
%12 = load i32, ptr %2, align 4
%13 = sub nsw i32 %12, 2
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph, label %27
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %15
%16 = load i32, ptr %8, align 4
%17 = load i32, ptr %9, align 4
%18 = add nsw i32 %16, %17
store i32 %18, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, 2
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %7, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %7, align 4
%23 = load i32, ptr %7, align 4
%24 = load i32, ptr %2, align 4
%25 = sub nsw i32 %24, 2
%26 = icmp slt i32 %23, %25
br i1 %26, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %27
27: ; preds = %._crit_edge, %0
%28 = load i32, ptr %8, align 4
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
%30 = load i32, ptr %3, align 4
%31 = load i32, ptr %2, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph8, label %88
.lr.ph8: ; preds = %27
br label %33
33: ; preds = %.lr.ph8, %81
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %2, align 4
%36 = sub nsw i32 %35, 1
%37 = icmp slt i32 %34, %36
br i1 %37, label %.lr.ph2, label %46
.lr.ph2: ; preds = %33
br label %38
38: ; preds = %.lr.ph2, %38
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%40 = load i32, ptr %4, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %4, align 4
%42 = load i32, ptr %4, align 4
%43 = load i32, ptr %2, align 4
%44 = sub nsw i32 %43, 1
%45 = icmp slt i32 %42, %44
br i1 %45, label %38, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %38
br label %46
46: ; preds = %._crit_edge3, %33
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%48 = load i32, ptr %5, align 4
%49 = load i32, ptr %6, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %.lr.ph5, label %66
.lr.ph5: ; preds = %46
br label %51
51: ; preds = %.lr.ph5, %60
%52 = load i32, ptr %3, align 4
%53 = load i32, ptr %2, align 4
%54 = sub nsw i32 %53, 1
%55 = icmp eq i32 %52, %54
br i1 %55, label %56, label %58
56: ; preds = %51
%57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %60
58: ; preds = %51
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
br label %60
60: ; preds = %58, %56
%61 = load i32, ptr %5, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %5, align 4
%63 = load i32, ptr %5, align 4
%64 = load i32, ptr %6, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %60
br label %66
66: ; preds = %._crit_edge6, %46
%67 = load i32, ptr %3, align 4
%68 = icmp sgt i32 %67, 0
br i1 %68, label %69, label %71
69: ; preds = %66
%70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %71
71: ; preds = %69, %66
%72 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%73 = load i32, ptr %6, align 4
%74 = icmp eq i32 %73, 0
br i1 %74, label %75, label %78
75: ; preds = %71
%76 = load i32, ptr %6, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %6, align 4
br label %81
78: ; preds = %71
%79 = load i32, ptr %6, align 4
%80 = add nsw i32 %79, 2
store i32 %80, ptr %6, align 4
br label %81
81: ; preds = %78, %75
%82 = load i32, ptr %3, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %3, align 4
%84 = load i32, ptr %3, align 4
store i32 %84, ptr %4, align 4
store i32 0, ptr %5, align 4
%85 = load i32, ptr %3, align 4
%86 = load i32, ptr %2, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %33, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %81
br label %88
88: ; preds = %._crit_edge9, %27
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpaqibot8w.c'
source_filename = "/tmp/tmpaqibot8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unlink_wrap(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 @unlink(ptr noundef %3)
ret void
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaqibot8w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @unlink_wrap(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 @unlink(ptr noundef %3)
ret void
}
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnhg76ll5.c'
source_filename = "/tmp/tmpnhg76ll5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_permute(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = zext i32 %12 to i64
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %5
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
%23 = call i32 @printf(ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %17, %5
store i32 0, ptr %11, align 4
br label %25
25: ; preds = %61, %24
%26 = load i32, ptr %11, align 4
%27 = load i32, ptr %8, align 4
%28 = icmp slt i32 %26, %27
br i1 %28, label %29, label %64
29: ; preds = %25
%30 = load ptr, ptr %9, align 8
%31 = load i32, ptr %11, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i32, ptr %30, i64 %32
%34 = load i32, ptr %33, align 4
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %29
br label %61
37: ; preds = %29
%38 = load ptr, ptr %6, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = load ptr, ptr %7, align 8
%44 = load i32, ptr %10, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds i8, ptr %43, i64 %45
store i8 %42, ptr %46, align 1
%47 = load ptr, ptr %9, align 8
%48 = load i32, ptr %11, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
store i32 1, ptr %50, align 4
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %7, align 8
%53 = load i32, ptr %8, align 4
%54 = load ptr, ptr %9, align 8
%55 = load i32, ptr %10, align 4
%56 = add nsw i32 %55, 1
call void @do_permute(ptr noundef %51, ptr noundef %52, i32 noundef %53, ptr noundef %54, i32 noundef %56)
%57 = load ptr, ptr %9, align 8
%58 = load i32, ptr %11, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds i32, ptr %57, i64 %59
store i32 0, ptr %60, align 4
br label %61
61: ; preds = %37, %36
%62 = load i32, ptr %11, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %11, align 4
br label %25, !llvm.loop !6
64: ; preds = %25
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnhg76ll5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @do_permute(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, i32 noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store ptr %1, ptr %7, align 8
store i32 %2, ptr %8, align 4
store ptr %3, ptr %9, align 8
store i32 %4, ptr %10, align 4
%12 = load i32, ptr %8, align 4
%13 = zext i32 %12 to i64
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %8, align 4
%16 = icmp eq i32 %14, %15
br i1 %16, label %17, label %24
17: ; preds = %5
%18 = load ptr, ptr %7, align 8
%19 = load i32, ptr %8, align 4
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, ptr %18, i64 %20
store i8 0, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
%23 = call i32 @printf(ptr noundef @.str, ptr noundef %22)
br label %24
24: ; preds = %17, %5
store i32 0, ptr %11, align 4
%25 = load i32, ptr %11, align 4
%26 = load i32, ptr %8, align 4
%27 = icmp slt i32 %25, %26
br i1 %27, label %.lr.ph, label %66
.lr.ph: ; preds = %24
br label %28
28: ; preds = %.lr.ph, %60
%29 = load ptr, ptr %9, align 8
%30 = load i32, ptr %11, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, ptr %29, i64 %31
%33 = load i32, ptr %32, align 4
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %36
35: ; preds = %28
br label %60
36: ; preds = %28
%37 = load ptr, ptr %6, align 8
%38 = load i32, ptr %11, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i8, ptr %37, i64 %39
%41 = load i8, ptr %40, align 1
%42 = load ptr, ptr %7, align 8
%43 = load i32, ptr %10, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
store i8 %41, ptr %45, align 1
%46 = load ptr, ptr %9, align 8
%47 = load i32, ptr %11, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i32, ptr %46, i64 %48
store i32 1, ptr %49, align 4
%50 = load ptr, ptr %6, align 8
%51 = load ptr, ptr %7, align 8
%52 = load i32, ptr %8, align 4
%53 = load ptr, ptr %9, align 8
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
call void @do_permute(ptr noundef %50, ptr noundef %51, i32 noundef %52, ptr noundef %53, i32 noundef %55)
%56 = load ptr, ptr %9, align 8
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds i32, ptr %56, i64 %58
store i32 0, ptr %59, align 4
br label %60
60: ; preds = %36, %35
%61 = load i32, ptr %11, align 4
%62 = add nsw i32 %61, 1
store i32 %62, ptr %11, align 4
%63 = load i32, ptr %11, align 4
%64 = load i32, ptr %8, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %60
br label %66
66: ; preds = %._crit_edge, %24
ret void
}
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmiozemds.c'
source_filename = "/tmp/tmpmiozemds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_container_to_target_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 6, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmiozemds.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @copy_container_to_target_solutions() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = load ptr, ptr %1, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @_ada_use_c2phc(i32 noundef 6, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 0)
store i32 %8, ptr %3, align 4
%9 = load i32, ptr %3, align 4
ret i32 %9
}
declare i32 @_ada_use_c2phc(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqg69tquj.c'
source_filename = "/tmp/tmpqg69tquj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"Usage: AppendeNs <additional-namespace-name> [ ... ] <mof-file-name>\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Namespaces\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"namespaces\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [4 x i8] c", \22\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" };\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 3, %12
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %18, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp eq ptr null, %25
br i1 %26, label %27, label %36
27: ; preds = %17
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %4, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %28, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = call i32 @perror(ptr noundef %33)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %17
br label %37
37: ; preds = %91, %53, %36
%38 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%39 = load ptr, ptr %6, align 8
%40 = call ptr @fgets(ptr noundef %38, i32 noundef 4096, ptr noundef %39)
%41 = icmp ne ptr null, %40
br i1 %41, label %42, label %97
42: ; preds = %37
%43 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
store ptr %43, ptr %9, align 8
%44 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%45 = call i32 @gettoken(ptr noundef %9, ptr noundef %44)
%46 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%47 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %46)
%48 = icmp ne i64 0, %47
br i1 %48, label %53, label %49
49: ; preds = %42
%50 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%51 = call i64 @strcmp(ptr noundef @.str.4, ptr noundef %50)
%52 = icmp ne i64 0, %51
br i1 %52, label %53, label %57
53: ; preds = %49, %42
%54 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%55 = load i32, ptr @stdout, align 4
%56 = call i32 @fputs(ptr noundef %54, i32 noundef %55)
br label %37, !llvm.loop !6
57: ; preds = %49
%58 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%59 = call i32 @gettoken(ptr noundef %9, ptr noundef %58)
%60 = icmp eq i32 100, %59
%61 = zext i1 %60 to i32
%62 = call i32 @assert(i32 noundef %61)
br label %63
63: ; preds = %67, %57
%64 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%65 = call i32 @gettoken(ptr noundef %9, ptr noundef %64)
%66 = icmp ne i32 102, %65
br i1 %66, label %67, label %69
67: ; preds = %63
%68 = load ptr, ptr %9, align 8
store ptr %68, ptr %10, align 8
br label %63, !llvm.loop !8
69: ; preds = %63
%70 = load ptr, ptr %10, align 8
store i8 0, ptr %70, align 1
store i32 1, ptr %11, align 4
br label %71
71: ; preds = %88, %69
%72 = load i32, ptr %11, align 4
%73 = load i32, ptr %4, align 4
%74 = sub nsw i32 %73, 1
%75 = icmp slt i32 %72, %74
br i1 %75, label %76, label %91
76: ; preds = %71
%77 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%78 = call i32 @strcat(ptr noundef %77, ptr noundef @.str.5)
%79 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%80 = load ptr, ptr %5, align 8
%81 = load i32, ptr %11, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds ptr, ptr %80, i64 %82
%84 = load ptr, ptr %83, align 8
%85 = call i32 @strcat(ptr noundef %79, ptr noundef %84)
%86 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%87 = call i32 @strcat(ptr noundef %86, ptr noundef @.str.6)
br label %88
88: ; preds = %76
%89 = load i32, ptr %11, align 4
%90 = add nsw i32 %89, 1
store i32 %90, ptr %11, align 4
br label %71, !llvm.loop !9
91: ; preds = %71
%92 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%93 = call i32 @strcat(ptr noundef %92, ptr noundef @.str.7)
%94 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%95 = load i32, ptr @stdout, align 4
%96 = call i32 @fputs(ptr noundef %94, i32 noundef %95)
br label %37, !llvm.loop !6
97: ; preds = %37
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @gettoken(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqg69tquj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [69 x i8] c"Usage: AppendeNs <additional-namespace-name> [ ... ] <mof-file-name>\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"Namespaces\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"namespaces\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [4 x i8] c", \22\00", align 1
@.str.6 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
@.str.7 = private unnamed_addr constant [5 x i8] c" };\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [4096 x i8], align 16
%8 = alloca [1024 x i8], align 16
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = 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
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 3, %12
br i1 %13, label %14, label %17
14: ; preds = %2
%15 = call i32 @printf(ptr noundef @.str, ptr noundef @.str.1)
%16 = call i32 @exit(i32 noundef 1) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %19, 1
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds ptr, ptr %18, i64 %21
%23 = load ptr, ptr %22, align 8
%24 = call ptr @fopen(ptr noundef %23, ptr noundef @.str.2)
store ptr %24, ptr %6, align 8
%25 = load ptr, ptr %6, align 8
%26 = icmp eq ptr null, %25
br i1 %26, label %27, label %36
27: ; preds = %17
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %4, align 4
%30 = sub nsw i32 %29, 1
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %28, i64 %31
%33 = load ptr, ptr %32, align 8
%34 = call i32 @perror(ptr noundef %33)
%35 = call i32 @exit(i32 noundef 1) #3
unreachable
36: ; preds = %17
%37 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%38 = load ptr, ptr %6, align 8
%39 = call ptr @fgets(ptr noundef %37, i32 noundef 4096, ptr noundef %38)
%40 = icmp ne ptr null, %39
br i1 %40, label %.lr.ph5, label %103
.lr.ph5: ; preds = %36
br label %41
41: ; preds = %.lr.ph5, %.backedge
%42 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
store ptr %42, ptr %9, align 8
%43 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%44 = call i32 @gettoken(ptr noundef %9, ptr noundef %43)
%45 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%46 = call i64 @strcmp(ptr noundef @.str.3, ptr noundef %45)
%47 = icmp ne i64 0, %46
br i1 %47, label %52, label %48
48: ; preds = %41
%49 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%50 = call i64 @strcmp(ptr noundef @.str.4, ptr noundef %49)
%51 = icmp ne i64 0, %50
br i1 %51, label %52, label %59
52: ; preds = %48, %41
%53 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%54 = load i32, ptr @stdout, align 4
%55 = call i32 @fputs(ptr noundef %53, i32 noundef %54)
br label %.backedge
.backedge: ; preds = %52, %97
%56 = load ptr, ptr %6, align 8
%57 = call ptr @fgets(ptr noundef %37, i32 noundef 4096, ptr noundef %56)
%58 = icmp ne ptr null, %57
br i1 %58, label %41, label %._crit_edge6, !llvm.loop !6
59: ; preds = %48
%60 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%61 = call i32 @gettoken(ptr noundef %9, ptr noundef %60)
%62 = icmp eq i32 100, %61
%63 = zext i1 %62 to i32
%64 = call i32 @assert(i32 noundef %63)
%65 = getelementptr inbounds [1024 x i8], ptr %8, i64 0, i64 0
%66 = call i32 @gettoken(ptr noundef %9, ptr noundef %65)
%67 = icmp ne i32 102, %66
br i1 %67, label %.lr.ph, label %72
.lr.ph: ; preds = %59
br label %68
68: ; preds = %.lr.ph, %68
%69 = load ptr, ptr %9, align 8
store ptr %69, ptr %10, align 8
%70 = call i32 @gettoken(ptr noundef %9, ptr noundef %65)
%71 = icmp ne i32 102, %70
br i1 %71, label %68, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %68
br label %72
72: ; preds = %._crit_edge, %59
%73 = load ptr, ptr %10, align 8
store i8 0, ptr %73, align 1
store i32 1, ptr %11, align 4
%74 = load i32, ptr %11, align 4
%75 = load i32, ptr %4, align 4
%76 = sub nsw i32 %75, 1
%77 = icmp slt i32 %74, %76
br i1 %77, label %.lr.ph2, label %97
.lr.ph2: ; preds = %72
br label %78
78: ; preds = %.lr.ph2, %90
%79 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%80 = call i32 @strcat(ptr noundef %79, ptr noundef @.str.5)
%81 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%82 = load ptr, ptr %5, align 8
%83 = load i32, ptr %11, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
%86 = load ptr, ptr %85, align 8
%87 = call i32 @strcat(ptr noundef %81, ptr noundef %86)
%88 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%89 = call i32 @strcat(ptr noundef %88, ptr noundef @.str.6)
br label %90
90: ; preds = %78
%91 = load i32, ptr %11, align 4
%92 = add nsw i32 %91, 1
store i32 %92, ptr %11, align 4
%93 = load i32, ptr %11, align 4
%94 = load i32, ptr %4, align 4
%95 = sub nsw i32 %94, 1
%96 = icmp slt i32 %93, %95
br i1 %96, label %78, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %90
br label %97
97: ; preds = %._crit_edge3, %72
%98 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%99 = call i32 @strcat(ptr noundef %98, ptr noundef @.str.7)
%100 = getelementptr inbounds [4096 x i8], ptr %7, i64 0, i64 0
%101 = load i32, ptr @stdout, align 4
%102 = call i32 @fputs(ptr noundef %100, i32 noundef %101)
br label %.backedge
._crit_edge6: ; preds = %.backedge
br label %103
103: ; preds = %._crit_edge6, %36
ret i32 0
}
declare i32 @printf(ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @perror(ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @gettoken(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @fputs(ptr noundef, i32 noundef) #1
declare i32 @assert(i32 noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpy82qupy6.c'
source_filename = "/tmp/tmpy82qupy6.c"
target datalayout = "e-m:e-p270: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/tmpy82qupy6.c"
target datalayout = "e-m:e-p270: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/tmpypydcreq.c'
source_filename = "/tmp/tmpypydcreq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_file(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load i32, ptr %9, align 4
%13 = call i32 @print_progress_bar(i32 noundef 0, i32 noundef %12)
br label %14
14: ; preds = %57, %4
%15 = load i32, ptr %10, align 4
%16 = load i32, ptr %9, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %18, label %64
18: ; preds = %14
%19 = load i32, ptr %9, align 4
%20 = load i32, ptr %10, align 4
%21 = sub nsw i32 %19, %20
store i32 %21, ptr %11, align 4
%22 = load i32, ptr %11, align 4
%23 = icmp sgt i32 %22, 1024
br i1 %23, label %24, label %25
24: ; preds = %18
store i32 1024, ptr %11, align 4
br label %25
25: ; preds = %24, %18
%26 = load ptr, ptr %8, align 8
%27 = load i32, ptr %10, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i8, ptr %26, i64 %28
%30 = load i32, ptr %11, align 4
%31 = call i64 @is_empty(ptr noundef %29, i32 noundef %30)
%32 = icmp ne i64 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %25
%34 = load i32, ptr %6, align 4
%35 = load i32, ptr %7, align 4
%36 = load i32, ptr %10, align 4
%37 = add i32 %35, %36
%38 = load i32, ptr %11, align 4
%39 = call i32 @clear_memory(i32 noundef %34, i32 noundef %37, i32 noundef %38)
%40 = icmp ne i32 %39, 0
br i1 %40, label %42, label %41
41: ; preds = %33
store i32 0, ptr %5, align 4
br label %65
42: ; preds = %33
br label %57
43: ; preds = %25
%44 = load i32, ptr %6, align 4
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %10, align 4
%47 = add i32 %45, %46
%48 = load ptr, ptr %8, align 8
%49 = load i32, ptr %10, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i8, ptr %48, i64 %50
%52 = load i32, ptr %11, align 4
%53 = call i32 @fill_memory(i32 noundef %44, i32 noundef %47, ptr noundef %51, i32 noundef %52)
%54 = icmp ne i32 %53, 0
br i1 %54, label %56, label %55
55: ; preds = %43
store i32 0, ptr %5, align 4
br label %65
56: ; preds = %43
br label %57
57: ; preds = %56, %42
%58 = load i32, ptr %11, align 4
%59 = load i32, ptr %10, align 4
%60 = add nsw i32 %59, %58
store i32 %60, ptr %10, align 4
%61 = load i32, ptr %10, align 4
%62 = load i32, ptr %9, align 4
%63 = call i32 @print_progress_bar(i32 noundef %61, i32 noundef %62)
br label %14, !llvm.loop !6
64: ; preds = %14
store i32 1, ptr %5, align 4
br label %65
65: ; preds = %64, %55, %41
%66 = load i32, ptr %5, align 4
ret i32 %66
}
declare i32 @print_progress_bar(i32 noundef, i32 noundef) #1
declare i64 @is_empty(ptr noundef, i32 noundef) #1
declare i32 @clear_memory(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fill_memory(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpypydcreq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @send_file(i32 noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 %0, ptr %6, align 4
store i32 %1, ptr %7, align 4
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
store i32 0, ptr %10, align 4
%12 = load i32, ptr %9, align 4
%13 = call i32 @print_progress_bar(i32 noundef 0, i32 noundef %12)
%14 = load i32, ptr %10, align 4
%15 = load i32, ptr %9, align 4
%16 = icmp slt i32 %14, %15
br i1 %16, label %.lr.ph, label %66
.lr.ph: ; preds = %4
br label %17
17: ; preds = %.lr.ph, %56
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %10, align 4
%20 = sub nsw i32 %18, %19
store i32 %20, ptr %11, align 4
%21 = load i32, ptr %11, align 4
%22 = icmp sgt i32 %21, 1024
br i1 %22, label %23, label %24
23: ; preds = %17
store i32 1024, ptr %11, align 4
br label %24
24: ; preds = %23, %17
%25 = load ptr, ptr %8, align 8
%26 = load i32, ptr %10, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i32, ptr %11, align 4
%30 = call i64 @is_empty(ptr noundef %28, i32 noundef %29)
%31 = icmp ne i64 %30, 0
br i1 %31, label %32, label %42
32: ; preds = %24
%33 = load i32, ptr %6, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %10, align 4
%36 = add i32 %34, %35
%37 = load i32, ptr %11, align 4
%38 = call i32 @clear_memory(i32 noundef %33, i32 noundef %36, i32 noundef %37)
%39 = icmp ne i32 %38, 0
br i1 %39, label %41, label %40
40: ; preds = %32
store i32 0, ptr %5, align 4
br label %67
41: ; preds = %32
br label %56
42: ; preds = %24
%43 = load i32, ptr %6, align 4
%44 = load i32, ptr %7, align 4
%45 = load i32, ptr %10, align 4
%46 = add i32 %44, %45
%47 = load ptr, ptr %8, align 8
%48 = load i32, ptr %10, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i8, ptr %47, i64 %49
%51 = load i32, ptr %11, align 4
%52 = call i32 @fill_memory(i32 noundef %43, i32 noundef %46, ptr noundef %50, i32 noundef %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %55, label %54
54: ; preds = %42
store i32 0, ptr %5, align 4
br label %67
55: ; preds = %42
br label %56
56: ; preds = %55, %41
%57 = load i32, ptr %11, align 4
%58 = load i32, ptr %10, align 4
%59 = add nsw i32 %58, %57
store i32 %59, ptr %10, align 4
%60 = load i32, ptr %10, align 4
%61 = load i32, ptr %9, align 4
%62 = call i32 @print_progress_bar(i32 noundef %60, i32 noundef %61)
%63 = load i32, ptr %10, align 4
%64 = load i32, ptr %9, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %56
br label %66
66: ; preds = %._crit_edge, %4
store i32 1, ptr %5, align 4
br label %67
67: ; preds = %66, %54, %40
%68 = load i32, ptr %5, align 4
ret i32 %68
}
declare i32 @print_progress_bar(i32 noundef, i32 noundef) #1
declare i64 @is_empty(ptr noundef, i32 noundef) #1
declare i32 @clear_memory(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fill_memory(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy0xk845d.c'
source_filename = "/tmp/tmpy0xk845d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ta_unique(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br label %13
13: ; preds = %10, %2
%14 = phi i1 [ false, %2 ], [ %12, %10 ]
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = icmp sle i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %3, align 4
br label %49
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
store ptr %22, ptr %6, align 8
store ptr %22, ptr %7, align 8
br label %23
23: ; preds = %39, %21
%24 = load i32, ptr %5, align 4
%25 = add nsw i32 %24, -1
store i32 %25, ptr %5, align 4
%26 = icmp sgt i32 %25, 0
br i1 %26, label %27, label %40
27: ; preds = %23
%28 = load ptr, ptr %6, align 8
%29 = getelementptr inbounds i32, ptr %28, i32 1
store ptr %29, ptr %6, align 8
%30 = load i32, ptr %29, align 4
%31 = load ptr, ptr %7, align 8
%32 = load i32, ptr %31, align 4
%33 = icmp ne i32 %30, %32
br i1 %33, label %34, label %39
34: ; preds = %27
%35 = load ptr, ptr %6, align 8
%36 = load i32, ptr %35, align 4
%37 = load ptr, ptr %7, align 8
%38 = getelementptr inbounds i32, ptr %37, i32 1
store ptr %38, ptr %7, align 8
store i32 %36, ptr %38, align 4
br label %39
39: ; preds = %34, %27
br label %23, !llvm.loop !6
40: ; preds = %23
%41 = load ptr, ptr %7, align 8
%42 = getelementptr inbounds i32, ptr %41, i32 1
store ptr %42, ptr %7, align 8
%43 = load ptr, ptr %4, align 8
%44 = ptrtoint ptr %42 to i64
%45 = ptrtoint ptr %43 to i64
%46 = sub i64 %44, %45
%47 = sdiv exact i64 %46, 4
%48 = trunc i64 %47 to i32
store i32 %48, ptr %3, align 4
br label %49
49: ; preds = %40, %19
%50 = load i32, ptr %3, align 4
ret i32 %50
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy0xk845d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @ta_unique(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %10, label %13
10: ; preds = %2
%11 = load i32, ptr %5, align 4
%12 = icmp sge i32 %11, 0
br label %13
13: ; preds = %10, %2
%14 = phi i1 [ false, %2 ], [ %12, %10 ]
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 noundef %15)
%17 = load i32, ptr %5, align 4
%18 = icmp sle i32 %17, 1
br i1 %18, label %19, label %21
19: ; preds = %13
%20 = load i32, ptr %5, align 4
store i32 %20, ptr %3, align 4
br label %51
21: ; preds = %13
%22 = load ptr, ptr %4, align 8
store ptr %22, ptr %6, align 8
store ptr %22, ptr %7, align 8
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %5, align 4
%25 = icmp sgt i32 %24, 0
br i1 %25, label %.lr.ph, label %42
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %38
%27 = load ptr, ptr %6, align 8
%28 = getelementptr inbounds i32, ptr %27, i32 1
store ptr %28, ptr %6, align 8
%29 = load i32, ptr %28, align 4
%30 = load ptr, ptr %7, align 8
%31 = load i32, ptr %30, align 4
%32 = icmp ne i32 %29, %31
br i1 %32, label %33, label %38
33: ; preds = %26
%34 = load ptr, ptr %6, align 8
%35 = load i32, ptr %34, align 4
%36 = load ptr, ptr %7, align 8
%37 = getelementptr inbounds i32, ptr %36, i32 1
store ptr %37, ptr %7, align 8
store i32 %35, ptr %37, align 4
br label %38
38: ; preds = %33, %26
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, -1
store i32 %40, ptr %5, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %38
br label %42
42: ; preds = %._crit_edge, %21
%43 = load ptr, ptr %7, align 8
%44 = getelementptr inbounds i32, ptr %43, i32 1
store ptr %44, ptr %7, align 8
%45 = load ptr, ptr %4, align 8
%46 = ptrtoint ptr %44 to i64
%47 = ptrtoint ptr %45 to i64
%48 = sub i64 %46, %47
%49 = sdiv exact i64 %48, 4
%50 = trunc i64 %49 to i32
store i32 %50, ptr %3, align 4
br label %51
51: ; preds = %42, %19
%52 = load i32, ptr %3, align 4
ret i32 %52
}
declare i32 @assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpqcwasc72.c'
source_filename = "/tmp/tmpqcwasc72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_assert_int_equal(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i32 @values_equal_display_error(i64 noundef %9, i64 noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %8, align 4
%16 = call i32 @_fail(ptr noundef %14, i32 noundef %15)
br label %17
17: ; preds = %13, %4
ret void
}
declare i32 @values_equal_display_error(i64 noundef, i64 noundef) #1
declare i32 @_fail(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/tmpqcwasc72.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_assert_int_equal(i64 noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i64, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i64 %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i64, ptr %5, align 8
%10 = load i64, ptr %6, align 8
%11 = call i32 @values_equal_display_error(i64 noundef %9, i64 noundef %10)
%12 = icmp ne i32 %11, 0
br i1 %12, label %17, label %13
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %8, align 4
%16 = call i32 @_fail(ptr noundef %14, i32 noundef %15)
br label %17
17: ; preds = %13, %4
ret void
}
declare i32 @values_equal_display_error(i64 noundef, i64 noundef) #1
declare i32 @_fail(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/tmp3ugfzwem.c'
source_filename = "/tmp/tmp3ugfzwem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @zero(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%23 = load double, ptr %5, align 8
store double %23, ptr %20, align 8
%24 = load double, ptr %6, align 8
store double %24, ptr %21, align 8
%25 = load double, ptr %20, align 8
%26 = call double @DoubleFunctionOfDouble(double noundef %25)
store double %26, ptr %12, align 8
%27 = load double, ptr %21, align 8
%28 = call double @DoubleFunctionOfDouble(double noundef %27)
store double %28, ptr %13, align 8
%29 = load double, ptr %20, align 8
store double %29, ptr %9, align 8
%30 = load double, ptr %12, align 8
store double %30, ptr %14, align 8
%31 = load double, ptr %21, align 8
%32 = load double, ptr %20, align 8
%33 = fsub double %31, %32
store double %33, ptr %11, align 8
%34 = load double, ptr %11, align 8
store double %34, ptr %10, align 8
br label %35
35: ; preds = %211, %4
%36 = load double, ptr %14, align 8
%37 = call double @r8_abs(double noundef %36)
%38 = load double, ptr %13, align 8
%39 = call double @r8_abs(double noundef %38)
%40 = fcmp olt double %37, %39
br i1 %40, label %41, label %48
41: ; preds = %35
%42 = load double, ptr %21, align 8
store double %42, ptr %20, align 8
%43 = load double, ptr %9, align 8
store double %43, ptr %21, align 8
%44 = load double, ptr %20, align 8
store double %44, ptr %9, align 8
%45 = load double, ptr %13, align 8
store double %45, ptr %12, align 8
%46 = load double, ptr %14, align 8
store double %46, ptr %13, align 8
%47 = load double, ptr %12, align 8
store double %47, ptr %14, align 8
br label %48
48: ; preds = %41, %35
%49 = load double, ptr %7, align 8
%50 = fmul double 2.000000e+00, %49
%51 = load double, ptr %21, align 8
%52 = call double @r8_abs(double noundef %51)
%53 = load double, ptr %8, align 8
%54 = call double @llvm.fmuladd.f64(double %50, double %52, double %53)
store double %54, ptr %22, align 8
%55 = load double, ptr %9, align 8
%56 = load double, ptr %21, align 8
%57 = fsub double %55, %56
%58 = fmul double 5.000000e-01, %57
store double %58, ptr %15, align 8
%59 = load double, ptr %15, align 8
%60 = call double @r8_abs(double noundef %59)
%61 = load double, ptr %22, align 8
%62 = fcmp ole double %60, %61
br i1 %62, label %66, label %63
63: ; preds = %48
%64 = load double, ptr %13, align 8
%65 = fcmp oeq double %64, 0.000000e+00
br i1 %65, label %66, label %67
66: ; preds = %63, %48
br label %212
67: ; preds = %63
%68 = load double, ptr %11, align 8
%69 = call double @r8_abs(double noundef %68)
%70 = load double, ptr %22, align 8
%71 = fcmp olt double %69, %70
br i1 %71, label %78, label %72
72: ; preds = %67
%73 = load double, ptr %12, align 8
%74 = call double @r8_abs(double noundef %73)
%75 = load double, ptr %13, align 8
%76 = call double @r8_abs(double noundef %75)
%77 = fcmp ole double %74, %76
br i1 %77, label %78, label %81
78: ; preds = %72, %67
%79 = load double, ptr %15, align 8
store double %79, ptr %11, align 8
%80 = load double, ptr %11, align 8
store double %80, ptr %10, align 8
br label %167
81: ; preds = %72
%82 = load double, ptr %13, align 8
%83 = load double, ptr %12, align 8
%84 = fdiv double %82, %83
store double %84, ptr %19, align 8
%85 = load double, ptr %20, align 8
%86 = load double, ptr %9, align 8
%87 = fcmp oeq double %85, %86
br i1 %87, label %88, label %95
88: ; preds = %81
%89 = load double, ptr %15, align 8
%90 = fmul double 2.000000e+00, %89
%91 = load double, ptr %19, align 8
%92 = fmul double %90, %91
store double %92, ptr %16, align 8
%93 = load double, ptr %19, align 8
%94 = fsub double 1.000000e+00, %93
store double %94, ptr %17, align 8
br label %127
95: ; preds = %81
%96 = load double, ptr %12, align 8
%97 = load double, ptr %14, align 8
%98 = fdiv double %96, %97
store double %98, ptr %17, align 8
%99 = load double, ptr %13, align 8
%100 = load double, ptr %14, align 8
%101 = fdiv double %99, %100
store double %101, ptr %18, align 8
%102 = load double, ptr %19, align 8
%103 = load double, ptr %15, align 8
%104 = fmul double 2.000000e+00, %103
%105 = load double, ptr %5, align 8
%106 = fmul double %104, %105
%107 = load double, ptr %17, align 8
%108 = load double, ptr %18, align 8
%109 = fsub double %107, %108
%110 = load double, ptr %21, align 8
%111 = load double, ptr %20, align 8
%112 = fsub double %110, %111
%113 = load double, ptr %18, align 8
%114 = fsub double %113, 1.000000e+00
%115 = fmul double %112, %114
%116 = fneg double %115
%117 = call double @llvm.fmuladd.f64(double %106, double %109, double %116)
%118 = fmul double %102, %117
store double %118, ptr %16, align 8
%119 = load double, ptr %17, align 8
%120 = fsub double %119, 1.000000e+00
%121 = load double, ptr %18, align 8
%122 = fsub double %121, 1.000000e+00
%123 = fmul double %120, %122
%124 = load double, ptr %19, align 8
%125 = fsub double %124, 1.000000e+00
%126 = fmul double %123, %125
store double %126, ptr %17, align 8
br label %127
127: ; preds = %95, %88
%128 = load double, ptr %16, align 8
%129 = fcmp olt double 0.000000e+00, %128
br i1 %129, label %130, label %133
130: ; preds = %127
%131 = load double, ptr %17, align 8
%132 = fneg double %131
store double %132, ptr %17, align 8
br label %136
133: ; preds = %127
%134 = load double, ptr %16, align 8
%135 = fneg double %134
store double %135, ptr %16, align 8
br label %136
136: ; preds = %133, %130
%137 = load double, ptr %11, align 8
store double %137, ptr %19, align 8
%138 = load double, ptr %10, align 8
store double %138, ptr %11, align 8
%139 = load double, ptr %16, align 8
%140 = fmul double 2.000000e+00, %139
%141 = load double, ptr %15, align 8
%142 = fmul double 3.000000e+00, %141
%143 = load double, ptr %17, align 8
%144 = load double, ptr %22, align 8
%145 = load double, ptr %17, align 8
%146 = fmul double %144, %145
%147 = call double @r8_abs(double noundef %146)
%148 = fneg double %147
%149 = call double @llvm.fmuladd.f64(double %142, double %143, double %148)
%150 = fcmp olt double %140, %149
br i1 %150, label %151, label %163
151: ; preds = %136
%152 = load double, ptr %16, align 8
%153 = load double, ptr %19, align 8
%154 = fmul double 5.000000e-01, %153
%155 = load double, ptr %17, align 8
%156 = fmul double %154, %155
%157 = call double @r8_abs(double noundef %156)
%158 = fcmp olt double %152, %157
br i1 %158, label %159, label %163
159: ; preds = %151
%160 = load double, ptr %16, align 8
%161 = load double, ptr %17, align 8
%162 = fdiv double %160, %161
store double %162, ptr %10, align 8
br label %166
163: ; preds = %151, %136
%164 = load double, ptr %15, align 8
store double %164, ptr %11, align 8
%165 = load double, ptr %11, align 8
store double %165, ptr %10, align 8
br label %166
166: ; preds = %163, %159
br label %167
167: ; preds = %166, %78
%168 = load double, ptr %21, align 8
store double %168, ptr %20, align 8
%169 = load double, ptr %13, align 8
store double %169, ptr %12, align 8
%170 = load double, ptr %22, align 8
%171 = load double, ptr %10, align 8
%172 = call double @r8_abs(double noundef %171)
%173 = fcmp olt double %170, %172
br i1 %173, label %174, label %178
174: ; preds = %167
%175 = load double, ptr %21, align 8
%176 = load double, ptr %10, align 8
%177 = fadd double %175, %176
store double %177, ptr %21, align 8
br label %190
178: ; preds = %167
%179 = load double, ptr %15, align 8
%180 = fcmp olt double 0.000000e+00, %179
br i1 %180, label %181, label %185
181: ; preds = %178
%182 = load double, ptr %21, align 8
%183 = load double, ptr %22, align 8
%184 = fadd double %182, %183
store double %184, ptr %21, align 8
br label %189
185: ; preds = %178
%186 = load double, ptr %21, align 8
%187 = load double, ptr %22, align 8
%188 = fsub double %186, %187
store double %188, ptr %21, align 8
br label %189
189: ; preds = %185, %181
br label %190
190: ; preds = %189, %174
%191 = load double, ptr %21, align 8
%192 = call double @DoubleFunctionOfDouble(double noundef %191)
store double %192, ptr %13, align 8
%193 = load double, ptr %13, align 8
%194 = fcmp olt double 0.000000e+00, %193
br i1 %194, label %195, label %198
195: ; preds = %190
%196 = load double, ptr %14, align 8
%197 = fcmp olt double 0.000000e+00, %196
br i1 %197, label %204, label %198
198: ; preds = %195, %190
%199 = load double, ptr %13, align 8
%200 = fcmp ole double %199, 0.000000e+00
br i1 %200, label %201, label %211
201: ; preds = %198
%202 = load double, ptr %14, align 8
%203 = fcmp ole double %202, 0.000000e+00
br i1 %203, label %204, label %211
204: ; preds = %201, %195
%205 = load double, ptr %20, align 8
store double %205, ptr %9, align 8
%206 = load double, ptr %12, align 8
store double %206, ptr %14, align 8
%207 = load double, ptr %21, align 8
%208 = load double, ptr %20, align 8
%209 = fsub double %207, %208
store double %209, ptr %11, align 8
%210 = load double, ptr %11, align 8
store double %210, ptr %10, align 8
br label %211
211: ; preds = %204, %201, %198
br label %35
212: ; preds = %66
%213 = load double, ptr %21, align 8
ret double %213
}
declare double @DoubleFunctionOfDouble(double noundef) #1
declare double @r8_abs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ugfzwem.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @zero(double noundef %0, double noundef %1, double noundef %2, double noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca double, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
%11 = alloca double, align 8
%12 = alloca double, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
%20 = alloca double, align 8
%21 = alloca double, align 8
%22 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store double %3, ptr %8, align 8
%23 = load double, ptr %5, align 8
store double %23, ptr %20, align 8
%24 = load double, ptr %6, align 8
store double %24, ptr %21, align 8
%25 = load double, ptr %20, align 8
%26 = call double @DoubleFunctionOfDouble(double noundef %25)
store double %26, ptr %12, align 8
%27 = load double, ptr %21, align 8
%28 = call double @DoubleFunctionOfDouble(double noundef %27)
store double %28, ptr %13, align 8
%29 = load double, ptr %20, align 8
store double %29, ptr %9, align 8
%30 = load double, ptr %12, align 8
store double %30, ptr %14, align 8
%31 = load double, ptr %21, align 8
%32 = load double, ptr %20, align 8
%33 = fsub double %31, %32
store double %33, ptr %11, align 8
%34 = load double, ptr %11, align 8
store double %34, ptr %10, align 8
br label %35
35: ; preds = %211, %4
%36 = load double, ptr %14, align 8
%37 = call double @r8_abs(double noundef %36)
%38 = load double, ptr %13, align 8
%39 = call double @r8_abs(double noundef %38)
%40 = fcmp olt double %37, %39
br i1 %40, label %41, label %48
41: ; preds = %35
%42 = load double, ptr %21, align 8
store double %42, ptr %20, align 8
%43 = load double, ptr %9, align 8
store double %43, ptr %21, align 8
%44 = load double, ptr %20, align 8
store double %44, ptr %9, align 8
%45 = load double, ptr %13, align 8
store double %45, ptr %12, align 8
%46 = load double, ptr %14, align 8
store double %46, ptr %13, align 8
%47 = load double, ptr %12, align 8
store double %47, ptr %14, align 8
br label %48
48: ; preds = %41, %35
%49 = load double, ptr %7, align 8
%50 = fmul double 2.000000e+00, %49
%51 = load double, ptr %21, align 8
%52 = call double @r8_abs(double noundef %51)
%53 = load double, ptr %8, align 8
%54 = call double @llvm.fmuladd.f64(double %50, double %52, double %53)
store double %54, ptr %22, align 8
%55 = load double, ptr %9, align 8
%56 = load double, ptr %21, align 8
%57 = fsub double %55, %56
%58 = fmul double 5.000000e-01, %57
store double %58, ptr %15, align 8
%59 = load double, ptr %15, align 8
%60 = call double @r8_abs(double noundef %59)
%61 = load double, ptr %22, align 8
%62 = fcmp ole double %60, %61
br i1 %62, label %66, label %63
63: ; preds = %48
%64 = load double, ptr %13, align 8
%65 = fcmp oeq double %64, 0.000000e+00
br i1 %65, label %66, label %67
66: ; preds = %63, %48
br label %212
67: ; preds = %63
%68 = load double, ptr %11, align 8
%69 = call double @r8_abs(double noundef %68)
%70 = load double, ptr %22, align 8
%71 = fcmp olt double %69, %70
br i1 %71, label %78, label %72
72: ; preds = %67
%73 = load double, ptr %12, align 8
%74 = call double @r8_abs(double noundef %73)
%75 = load double, ptr %13, align 8
%76 = call double @r8_abs(double noundef %75)
%77 = fcmp ole double %74, %76
br i1 %77, label %78, label %81
78: ; preds = %72, %67
%79 = load double, ptr %15, align 8
store double %79, ptr %11, align 8
%80 = load double, ptr %11, align 8
store double %80, ptr %10, align 8
br label %167
81: ; preds = %72
%82 = load double, ptr %13, align 8
%83 = load double, ptr %12, align 8
%84 = fdiv double %82, %83
store double %84, ptr %19, align 8
%85 = load double, ptr %20, align 8
%86 = load double, ptr %9, align 8
%87 = fcmp oeq double %85, %86
br i1 %87, label %88, label %95
88: ; preds = %81
%89 = load double, ptr %15, align 8
%90 = fmul double 2.000000e+00, %89
%91 = load double, ptr %19, align 8
%92 = fmul double %90, %91
store double %92, ptr %16, align 8
%93 = load double, ptr %19, align 8
%94 = fsub double 1.000000e+00, %93
store double %94, ptr %17, align 8
br label %127
95: ; preds = %81
%96 = load double, ptr %12, align 8
%97 = load double, ptr %14, align 8
%98 = fdiv double %96, %97
store double %98, ptr %17, align 8
%99 = load double, ptr %13, align 8
%100 = load double, ptr %14, align 8
%101 = fdiv double %99, %100
store double %101, ptr %18, align 8
%102 = load double, ptr %19, align 8
%103 = load double, ptr %15, align 8
%104 = fmul double 2.000000e+00, %103
%105 = load double, ptr %5, align 8
%106 = fmul double %104, %105
%107 = load double, ptr %17, align 8
%108 = load double, ptr %18, align 8
%109 = fsub double %107, %108
%110 = load double, ptr %21, align 8
%111 = load double, ptr %20, align 8
%112 = fsub double %110, %111
%113 = load double, ptr %18, align 8
%114 = fsub double %113, 1.000000e+00
%115 = fmul double %112, %114
%116 = fneg double %115
%117 = call double @llvm.fmuladd.f64(double %106, double %109, double %116)
%118 = fmul double %102, %117
store double %118, ptr %16, align 8
%119 = load double, ptr %17, align 8
%120 = fsub double %119, 1.000000e+00
%121 = load double, ptr %18, align 8
%122 = fsub double %121, 1.000000e+00
%123 = fmul double %120, %122
%124 = load double, ptr %19, align 8
%125 = fsub double %124, 1.000000e+00
%126 = fmul double %123, %125
store double %126, ptr %17, align 8
br label %127
127: ; preds = %95, %88
%128 = load double, ptr %16, align 8
%129 = fcmp olt double 0.000000e+00, %128
br i1 %129, label %130, label %133
130: ; preds = %127
%131 = load double, ptr %17, align 8
%132 = fneg double %131
store double %132, ptr %17, align 8
br label %136
133: ; preds = %127
%134 = load double, ptr %16, align 8
%135 = fneg double %134
store double %135, ptr %16, align 8
br label %136
136: ; preds = %133, %130
%137 = load double, ptr %11, align 8
store double %137, ptr %19, align 8
%138 = load double, ptr %10, align 8
store double %138, ptr %11, align 8
%139 = load double, ptr %16, align 8
%140 = fmul double 2.000000e+00, %139
%141 = load double, ptr %15, align 8
%142 = fmul double 3.000000e+00, %141
%143 = load double, ptr %17, align 8
%144 = load double, ptr %22, align 8
%145 = load double, ptr %17, align 8
%146 = fmul double %144, %145
%147 = call double @r8_abs(double noundef %146)
%148 = fneg double %147
%149 = call double @llvm.fmuladd.f64(double %142, double %143, double %148)
%150 = fcmp olt double %140, %149
br i1 %150, label %151, label %163
151: ; preds = %136
%152 = load double, ptr %16, align 8
%153 = load double, ptr %19, align 8
%154 = fmul double 5.000000e-01, %153
%155 = load double, ptr %17, align 8
%156 = fmul double %154, %155
%157 = call double @r8_abs(double noundef %156)
%158 = fcmp olt double %152, %157
br i1 %158, label %159, label %163
159: ; preds = %151
%160 = load double, ptr %16, align 8
%161 = load double, ptr %17, align 8
%162 = fdiv double %160, %161
store double %162, ptr %10, align 8
br label %166
163: ; preds = %151, %136
%164 = load double, ptr %15, align 8
store double %164, ptr %11, align 8
%165 = load double, ptr %11, align 8
store double %165, ptr %10, align 8
br label %166
166: ; preds = %163, %159
br label %167
167: ; preds = %166, %78
%168 = load double, ptr %21, align 8
store double %168, ptr %20, align 8
%169 = load double, ptr %13, align 8
store double %169, ptr %12, align 8
%170 = load double, ptr %22, align 8
%171 = load double, ptr %10, align 8
%172 = call double @r8_abs(double noundef %171)
%173 = fcmp olt double %170, %172
br i1 %173, label %174, label %178
174: ; preds = %167
%175 = load double, ptr %21, align 8
%176 = load double, ptr %10, align 8
%177 = fadd double %175, %176
store double %177, ptr %21, align 8
br label %190
178: ; preds = %167
%179 = load double, ptr %15, align 8
%180 = fcmp olt double 0.000000e+00, %179
br i1 %180, label %181, label %185
181: ; preds = %178
%182 = load double, ptr %21, align 8
%183 = load double, ptr %22, align 8
%184 = fadd double %182, %183
store double %184, ptr %21, align 8
br label %189
185: ; preds = %178
%186 = load double, ptr %21, align 8
%187 = load double, ptr %22, align 8
%188 = fsub double %186, %187
store double %188, ptr %21, align 8
br label %189
189: ; preds = %185, %181
br label %190
190: ; preds = %189, %174
%191 = load double, ptr %21, align 8
%192 = call double @DoubleFunctionOfDouble(double noundef %191)
store double %192, ptr %13, align 8
%193 = load double, ptr %13, align 8
%194 = fcmp olt double 0.000000e+00, %193
br i1 %194, label %195, label %198
195: ; preds = %190
%196 = load double, ptr %14, align 8
%197 = fcmp olt double 0.000000e+00, %196
br i1 %197, label %204, label %198
198: ; preds = %195, %190
%199 = load double, ptr %13, align 8
%200 = fcmp ole double %199, 0.000000e+00
br i1 %200, label %201, label %211
201: ; preds = %198
%202 = load double, ptr %14, align 8
%203 = fcmp ole double %202, 0.000000e+00
br i1 %203, label %204, label %211
204: ; preds = %201, %195
%205 = load double, ptr %20, align 8
store double %205, ptr %9, align 8
%206 = load double, ptr %12, align 8
store double %206, ptr %14, align 8
%207 = load double, ptr %21, align 8
%208 = load double, ptr %20, align 8
%209 = fsub double %207, %208
store double %209, ptr %11, align 8
%210 = load double, ptr %11, align 8
store double %210, ptr %10, align 8
br label %211
211: ; preds = %204, %201, %198
br label %35
212: ; preds = %66
%213 = load double, ptr %21, align 8
ret double %213
}
declare double @DoubleFunctionOfDouble(double noundef) #1
declare double @r8_abs(double noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpzh0gkdxz.c'
source_filename = "/tmp/tmpzh0gkdxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i64, i32, i32, i32, i32, i64 }
@.str = private unnamed_addr constant [32 x i8] c"%d-%400[a-zA-Z]-%d %d:%d:%d GMT\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"%d %400[a-zA-Z] %d %d:%d:%d GMT\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"%d:%d:%d GMT %d-%400[a-zA-Z]-%d\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"%d:%d:%d GMT %d %400[a-zA-Z] %d\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"%400[a-zA-Z], %d-%400[a-zA-Z]-%d %d:%d:%d GMT\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"%400[a-zA-Z], %d %400[a-zA-Z] %d %d:%d:%d GMT\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"%400[a-zA-Z] %400[a-zA-Z] %d %d:%d:%d GMT %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tdate_parse(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.tm, align 8
%5 = alloca ptr, align 8
%6 = alloca [500 x i8], align 16
%7 = alloca [500 x i8], align 16
%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 i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%16 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 40)
%17 = load ptr, ptr %3, align 8
store ptr %17, ptr %5, align 8
br label %18
18: ; preds = %31, %1
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 32
br i1 %22, label %28, label %23
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 9
br label %28
28: ; preds = %23, %18
%29 = phi i1 [ true, %18 ], [ %27, %23 ]
br i1 %29, label %30, label %34
30: ; preds = %28
br label %31
31: ; preds = %30
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
br label %18, !llvm.loop !6
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%37 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %35, ptr noundef @.str, ptr noundef %11, ptr noundef %36, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%38 = icmp eq i32 %37, 6
br i1 %38, label %39, label %56
39: ; preds = %34
%40 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%41 = call i64 @scan_mon(ptr noundef %40, ptr noundef %13)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = load i32, ptr %11, align 4
%45 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %44, ptr %45, align 8
%46 = load i64, ptr %13, align 8
%47 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %46, ptr %47, align 8
%48 = load i32, ptr %12, align 4
%49 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %48, ptr %49, align 8
%50 = load i32, ptr %10, align 4
%51 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %50, ptr %51, align 4
%52 = load i32, ptr %9, align 4
%53 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %52, ptr %53, align 8
%54 = load i32, ptr %8, align 4
%55 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %54, ptr %55, align 4
br label %216
56: ; preds = %39, %34
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%59 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %57, ptr noundef @.str.1, ptr noundef %11, ptr noundef %58, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%60 = icmp eq i32 %59, 6
br i1 %60, label %61, label %78
61: ; preds = %56
%62 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%63 = call i64 @scan_mon(ptr noundef %62, ptr noundef %13)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %78
65: ; preds = %61
%66 = load i32, ptr %11, align 4
%67 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %66, ptr %67, align 8
%68 = load i64, ptr %13, align 8
%69 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %68, ptr %69, align 8
%70 = load i32, ptr %12, align 4
%71 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %70, ptr %71, align 8
%72 = load i32, ptr %10, align 4
%73 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %72, ptr %73, align 4
%74 = load i32, ptr %9, align 4
%75 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %74, ptr %75, align 8
%76 = load i32, ptr %8, align 4
%77 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %76, ptr %77, align 4
br label %215
78: ; preds = %61, %56
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%81 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %79, ptr noundef @.str.2, ptr noundef %10, ptr noundef %9, ptr noundef %8, ptr noundef %11, ptr noundef %80, ptr noundef %12)
%82 = icmp eq i32 %81, 6
br i1 %82, label %83, label %100
83: ; preds = %78
%84 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%85 = call i64 @scan_mon(ptr noundef %84, ptr noundef %13)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %100
87: ; preds = %83
%88 = load i32, ptr %10, align 4
%89 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %88, ptr %89, align 4
%90 = load i32, ptr %9, align 4
%91 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %90, ptr %91, align 8
%92 = load i32, ptr %8, align 4
%93 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %92, ptr %93, align 4
%94 = load i32, ptr %11, align 4
%95 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %94, ptr %95, align 8
%96 = load i64, ptr %13, align 8
%97 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %96, ptr %97, align 8
%98 = load i32, ptr %12, align 4
%99 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %98, ptr %99, align 8
br label %214
100: ; preds = %83, %78
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%103 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %101, ptr noundef @.str.3, ptr noundef %10, ptr noundef %9, ptr noundef %8, ptr noundef %11, ptr noundef %102, ptr noundef %12)
%104 = icmp eq i32 %103, 6
br i1 %104, label %105, label %122
105: ; preds = %100
%106 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%107 = call i64 @scan_mon(ptr noundef %106, ptr noundef %13)
%108 = icmp ne i64 %107, 0
br i1 %108, label %109, label %122
109: ; preds = %105
%110 = load i32, ptr %10, align 4
%111 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %110, ptr %111, align 4
%112 = load i32, ptr %9, align 4
%113 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %112, ptr %113, align 8
%114 = load i32, ptr %8, align 4
%115 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %114, ptr %115, align 4
%116 = load i32, ptr %11, align 4
%117 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %116, ptr %117, align 8
%118 = load i64, ptr %13, align 8
%119 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %118, ptr %119, align 8
%120 = load i32, ptr %12, align 4
%121 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %120, ptr %121, align 8
br label %213
122: ; preds = %105, %100
%123 = load ptr, ptr %5, align 8
%124 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%125 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%126 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %123, ptr noundef @.str.4, ptr noundef %124, ptr noundef %11, ptr noundef %125, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%127 = icmp eq i32 %126, 7
br i1 %127, label %128, label %151
128: ; preds = %122
%129 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%130 = call i64 @scan_wday(ptr noundef %129, ptr noundef %14)
%131 = icmp ne i64 %130, 0
br i1 %131, label %132, label %151
132: ; preds = %128
%133 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%134 = call i64 @scan_mon(ptr noundef %133, ptr noundef %13)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %151
136: ; preds = %132
%137 = load i64, ptr %14, align 8
%138 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6
store i64 %137, ptr %138, align 8
%139 = load i32, ptr %11, align 4
%140 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %139, ptr %140, align 8
%141 = load i64, ptr %13, align 8
%142 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %141, ptr %142, align 8
%143 = load i32, ptr %12, align 4
%144 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %143, ptr %144, align 8
%145 = load i32, ptr %10, align 4
%146 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %145, ptr %146, align 4
%147 = load i32, ptr %9, align 4
%148 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %147, ptr %148, align 8
%149 = load i32, ptr %8, align 4
%150 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %149, ptr %150, align 4
br label %212
151: ; preds = %132, %128, %122
%152 = load ptr, ptr %5, align 8
%153 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%154 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%155 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %152, ptr noundef @.str.5, ptr noundef %153, ptr noundef %11, ptr noundef %154, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%156 = icmp eq i32 %155, 7
br i1 %156, label %157, label %180
157: ; preds = %151
%158 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%159 = call i64 @scan_wday(ptr noundef %158, ptr noundef %14)
%160 = icmp ne i64 %159, 0
br i1 %160, label %161, label %180
161: ; preds = %157
%162 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%163 = call i64 @scan_mon(ptr noundef %162, ptr noundef %13)
%164 = icmp ne i64 %163, 0
br i1 %164, label %165, label %180
165: ; preds = %161
%166 = load i64, ptr %14, align 8
%167 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6
store i64 %166, ptr %167, align 8
%168 = load i32, ptr %11, align 4
%169 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %168, ptr %169, align 8
%170 = load i64, ptr %13, align 8
%171 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %170, ptr %171, align 8
%172 = load i32, ptr %12, align 4
%173 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %172, ptr %173, align 8
%174 = load i32, ptr %10, align 4
%175 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %174, ptr %175, align 4
%176 = load i32, ptr %9, align 4
%177 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %176, ptr %177, align 8
%178 = load i32, ptr %8, align 4
%179 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %178, ptr %179, align 4
br label %211
180: ; preds = %161, %157, %151
%181 = load ptr, ptr %5, align 8
%182 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%183 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%184 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %181, ptr noundef @.str.6, ptr noundef %182, ptr noundef %183, ptr noundef %11, ptr noundef %10, ptr noundef %9, ptr noundef %8, ptr noundef %12)
%185 = icmp eq i32 %184, 7
br i1 %185, label %186, label %209
186: ; preds = %180
%187 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%188 = call i64 @scan_wday(ptr noundef %187, ptr noundef %14)
%189 = icmp ne i64 %188, 0
br i1 %189, label %190, label %209
190: ; preds = %186
%191 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%192 = call i64 @scan_mon(ptr noundef %191, ptr noundef %13)
%193 = icmp ne i64 %192, 0
br i1 %193, label %194, label %209
194: ; preds = %190
%195 = load i64, ptr %14, align 8
%196 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6
store i64 %195, ptr %196, align 8
%197 = load i64, ptr %13, align 8
%198 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %197, ptr %198, align 8
%199 = load i32, ptr %11, align 4
%200 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %199, ptr %200, align 8
%201 = load i32, ptr %10, align 4
%202 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %201, ptr %202, align 4
%203 = load i32, ptr %9, align 4
%204 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %203, ptr %204, align 8
%205 = load i32, ptr %8, align 4
%206 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %205, ptr %206, align 4
%207 = load i32, ptr %12, align 4
%208 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %207, ptr %208, align 8
br label %210
209: ; preds = %190, %186, %180
store i32 -1, ptr %2, align 4
br label %236
210: ; preds = %194
br label %211
211: ; preds = %210, %165
br label %212
212: ; preds = %211, %136
br label %213
213: ; preds = %212, %109
br label %214
214: ; preds = %213, %87
br label %215
215: ; preds = %214, %65
br label %216
216: ; preds = %215, %43
%217 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%218 = load i32, ptr %217, align 8
%219 = icmp sgt i32 %218, 1900
br i1 %219, label %220, label %224
220: ; preds = %216
%221 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%222 = load i32, ptr %221, align 8
%223 = sub nsw i32 %222, 1900
store i32 %223, ptr %221, align 8
br label %233
224: ; preds = %216
%225 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%226 = load i32, ptr %225, align 8
%227 = icmp slt i32 %226, 70
br i1 %227, label %228, label %232
228: ; preds = %224
%229 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%230 = load i32, ptr %229, align 8
%231 = add nsw i32 %230, 100
store i32 %231, ptr %229, align 8
br label %232
232: ; preds = %228, %224
br label %233
233: ; preds = %232, %220
%234 = call i32 @tm_to_time(ptr noundef %4)
store i32 %234, ptr %15, align 4
%235 = load i32, ptr %15, align 4
store i32 %235, ptr %2, align 4
br label %236
236: ; preds = %233, %209
%237 = load i32, ptr %2, align 4
ret i32 %237
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1
declare i64 @scan_mon(ptr noundef, ptr noundef) #1
declare i64 @scan_wday(ptr noundef, ptr noundef) #1
declare i32 @tm_to_time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpzh0gkdxz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i64, i32, i32, i32, i32, i64 }
@.str = private unnamed_addr constant [32 x i8] c"%d-%400[a-zA-Z]-%d %d:%d:%d GMT\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"%d %400[a-zA-Z] %d %d:%d:%d GMT\00", align 1
@.str.2 = private unnamed_addr constant [32 x i8] c"%d:%d:%d GMT %d-%400[a-zA-Z]-%d\00", align 1
@.str.3 = private unnamed_addr constant [32 x i8] c"%d:%d:%d GMT %d %400[a-zA-Z] %d\00", align 1
@.str.4 = private unnamed_addr constant [46 x i8] c"%400[a-zA-Z], %d-%400[a-zA-Z]-%d %d:%d:%d GMT\00", align 1
@.str.5 = private unnamed_addr constant [46 x i8] c"%400[a-zA-Z], %d %400[a-zA-Z] %d %d:%d:%d GMT\00", align 1
@.str.6 = private unnamed_addr constant [45 x i8] c"%400[a-zA-Z] %400[a-zA-Z] %d %d:%d:%d GMT %d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tdate_parse(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.tm, align 8
%5 = alloca ptr, align 8
%6 = alloca [500 x i8], align 16
%7 = alloca [500 x i8], align 16
%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 i64, align 8
%14 = alloca i64, align 8
%15 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%16 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 40)
%17 = load ptr, ptr %3, align 8
store ptr %17, ptr %5, align 8
br label %18
18: ; preds = %31, %1
%19 = load ptr, ptr %5, align 8
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 32
br i1 %22, label %28, label %23
23: ; preds = %18
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 9
br label %28
28: ; preds = %23, %18
%29 = phi i1 [ true, %18 ], [ %27, %23 ]
br i1 %29, label %30, label %34
30: ; preds = %28
br label %31
31: ; preds = %30
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
br label %18, !llvm.loop !6
34: ; preds = %28
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%37 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %35, ptr noundef @.str, ptr noundef %11, ptr noundef %36, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%38 = icmp eq i32 %37, 6
br i1 %38, label %39, label %56
39: ; preds = %34
%40 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%41 = call i64 @scan_mon(ptr noundef %40, ptr noundef %13)
%42 = icmp ne i64 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %39
%44 = load i32, ptr %11, align 4
%45 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %44, ptr %45, align 8
%46 = load i64, ptr %13, align 8
%47 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %46, ptr %47, align 8
%48 = load i32, ptr %12, align 4
%49 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %48, ptr %49, align 8
%50 = load i32, ptr %10, align 4
%51 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %50, ptr %51, align 4
%52 = load i32, ptr %9, align 4
%53 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %52, ptr %53, align 8
%54 = load i32, ptr %8, align 4
%55 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %54, ptr %55, align 4
br label %216
56: ; preds = %39, %34
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%59 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %57, ptr noundef @.str.1, ptr noundef %11, ptr noundef %58, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%60 = icmp eq i32 %59, 6
br i1 %60, label %61, label %78
61: ; preds = %56
%62 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%63 = call i64 @scan_mon(ptr noundef %62, ptr noundef %13)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %78
65: ; preds = %61
%66 = load i32, ptr %11, align 4
%67 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %66, ptr %67, align 8
%68 = load i64, ptr %13, align 8
%69 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %68, ptr %69, align 8
%70 = load i32, ptr %12, align 4
%71 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %70, ptr %71, align 8
%72 = load i32, ptr %10, align 4
%73 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %72, ptr %73, align 4
%74 = load i32, ptr %9, align 4
%75 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %74, ptr %75, align 8
%76 = load i32, ptr %8, align 4
%77 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %76, ptr %77, align 4
br label %215
78: ; preds = %61, %56
%79 = load ptr, ptr %5, align 8
%80 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%81 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %79, ptr noundef @.str.2, ptr noundef %10, ptr noundef %9, ptr noundef %8, ptr noundef %11, ptr noundef %80, ptr noundef %12)
%82 = icmp eq i32 %81, 6
br i1 %82, label %83, label %100
83: ; preds = %78
%84 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%85 = call i64 @scan_mon(ptr noundef %84, ptr noundef %13)
%86 = icmp ne i64 %85, 0
br i1 %86, label %87, label %100
87: ; preds = %83
%88 = load i32, ptr %10, align 4
%89 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %88, ptr %89, align 4
%90 = load i32, ptr %9, align 4
%91 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %90, ptr %91, align 8
%92 = load i32, ptr %8, align 4
%93 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %92, ptr %93, align 4
%94 = load i32, ptr %11, align 4
%95 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %94, ptr %95, align 8
%96 = load i64, ptr %13, align 8
%97 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %96, ptr %97, align 8
%98 = load i32, ptr %12, align 4
%99 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %98, ptr %99, align 8
br label %214
100: ; preds = %83, %78
%101 = load ptr, ptr %5, align 8
%102 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%103 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %101, ptr noundef @.str.3, ptr noundef %10, ptr noundef %9, ptr noundef %8, ptr noundef %11, ptr noundef %102, ptr noundef %12)
%104 = icmp eq i32 %103, 6
br i1 %104, label %105, label %122
105: ; preds = %100
%106 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%107 = call i64 @scan_mon(ptr noundef %106, ptr noundef %13)
%108 = icmp ne i64 %107, 0
br i1 %108, label %109, label %122
109: ; preds = %105
%110 = load i32, ptr %10, align 4
%111 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %110, ptr %111, align 4
%112 = load i32, ptr %9, align 4
%113 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %112, ptr %113, align 8
%114 = load i32, ptr %8, align 4
%115 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %114, ptr %115, align 4
%116 = load i32, ptr %11, align 4
%117 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %116, ptr %117, align 8
%118 = load i64, ptr %13, align 8
%119 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %118, ptr %119, align 8
%120 = load i32, ptr %12, align 4
%121 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %120, ptr %121, align 8
br label %213
122: ; preds = %105, %100
%123 = load ptr, ptr %5, align 8
%124 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%125 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%126 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %123, ptr noundef @.str.4, ptr noundef %124, ptr noundef %11, ptr noundef %125, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%127 = icmp eq i32 %126, 7
br i1 %127, label %128, label %151
128: ; preds = %122
%129 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%130 = call i64 @scan_wday(ptr noundef %129, ptr noundef %14)
%131 = icmp ne i64 %130, 0
br i1 %131, label %132, label %151
132: ; preds = %128
%133 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%134 = call i64 @scan_mon(ptr noundef %133, ptr noundef %13)
%135 = icmp ne i64 %134, 0
br i1 %135, label %136, label %151
136: ; preds = %132
%137 = load i64, ptr %14, align 8
%138 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6
store i64 %137, ptr %138, align 8
%139 = load i32, ptr %11, align 4
%140 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %139, ptr %140, align 8
%141 = load i64, ptr %13, align 8
%142 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %141, ptr %142, align 8
%143 = load i32, ptr %12, align 4
%144 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %143, ptr %144, align 8
%145 = load i32, ptr %10, align 4
%146 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %145, ptr %146, align 4
%147 = load i32, ptr %9, align 4
%148 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %147, ptr %148, align 8
%149 = load i32, ptr %8, align 4
%150 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %149, ptr %150, align 4
br label %212
151: ; preds = %132, %128, %122
%152 = load ptr, ptr %5, align 8
%153 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%154 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%155 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %152, ptr noundef @.str.5, ptr noundef %153, ptr noundef %11, ptr noundef %154, ptr noundef %12, ptr noundef %10, ptr noundef %9, ptr noundef %8)
%156 = icmp eq i32 %155, 7
br i1 %156, label %157, label %180
157: ; preds = %151
%158 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%159 = call i64 @scan_wday(ptr noundef %158, ptr noundef %14)
%160 = icmp ne i64 %159, 0
br i1 %160, label %161, label %180
161: ; preds = %157
%162 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%163 = call i64 @scan_mon(ptr noundef %162, ptr noundef %13)
%164 = icmp ne i64 %163, 0
br i1 %164, label %165, label %180
165: ; preds = %161
%166 = load i64, ptr %14, align 8
%167 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6
store i64 %166, ptr %167, align 8
%168 = load i32, ptr %11, align 4
%169 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %168, ptr %169, align 8
%170 = load i64, ptr %13, align 8
%171 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %170, ptr %171, align 8
%172 = load i32, ptr %12, align 4
%173 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %172, ptr %173, align 8
%174 = load i32, ptr %10, align 4
%175 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %174, ptr %175, align 4
%176 = load i32, ptr %9, align 4
%177 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %176, ptr %177, align 8
%178 = load i32, ptr %8, align 4
%179 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %178, ptr %179, align 4
br label %211
180: ; preds = %161, %157, %151
%181 = load ptr, ptr %5, align 8
%182 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%183 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%184 = call i32 (ptr, ptr, ...) @sscanf(ptr noundef %181, ptr noundef @.str.6, ptr noundef %182, ptr noundef %183, ptr noundef %11, ptr noundef %10, ptr noundef %9, ptr noundef %8, ptr noundef %12)
%185 = icmp eq i32 %184, 7
br i1 %185, label %186, label %209
186: ; preds = %180
%187 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0
%188 = call i64 @scan_wday(ptr noundef %187, ptr noundef %14)
%189 = icmp ne i64 %188, 0
br i1 %189, label %190, label %209
190: ; preds = %186
%191 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0
%192 = call i64 @scan_mon(ptr noundef %191, ptr noundef %13)
%193 = icmp ne i64 %192, 0
br i1 %193, label %194, label %209
194: ; preds = %190
%195 = load i64, ptr %14, align 8
%196 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 6
store i64 %195, ptr %196, align 8
%197 = load i64, ptr %13, align 8
%198 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 1
store i64 %197, ptr %198, align 8
%199 = load i32, ptr %11, align 4
%200 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 0
store i32 %199, ptr %200, align 8
%201 = load i32, ptr %10, align 4
%202 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 3
store i32 %201, ptr %202, align 4
%203 = load i32, ptr %9, align 4
%204 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 4
store i32 %203, ptr %204, align 8
%205 = load i32, ptr %8, align 4
%206 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 5
store i32 %205, ptr %206, align 4
%207 = load i32, ptr %12, align 4
%208 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
store i32 %207, ptr %208, align 8
br label %210
209: ; preds = %190, %186, %180
store i32 -1, ptr %2, align 4
br label %236
210: ; preds = %194
br label %211
211: ; preds = %210, %165
br label %212
212: ; preds = %211, %136
br label %213
213: ; preds = %212, %109
br label %214
214: ; preds = %213, %87
br label %215
215: ; preds = %214, %65
br label %216
216: ; preds = %215, %43
%217 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%218 = load i32, ptr %217, align 8
%219 = icmp sgt i32 %218, 1900
br i1 %219, label %220, label %224
220: ; preds = %216
%221 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%222 = load i32, ptr %221, align 8
%223 = sub nsw i32 %222, 1900
store i32 %223, ptr %221, align 8
br label %233
224: ; preds = %216
%225 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%226 = load i32, ptr %225, align 8
%227 = icmp slt i32 %226, 70
br i1 %227, label %228, label %232
228: ; preds = %224
%229 = getelementptr inbounds %struct.tm, ptr %4, i32 0, i32 2
%230 = load i32, ptr %229, align 8
%231 = add nsw i32 %230, 100
store i32 %231, ptr %229, align 8
br label %232
232: ; preds = %228, %224
br label %233
233: ; preds = %232, %220
%234 = call i32 @tm_to_time(ptr noundef %4)
store i32 %234, ptr %15, align 4
%235 = load i32, ptr %15, align 4
store i32 %235, ptr %2, align 4
br label %236
236: ; preds = %233, %209
%237 = load i32, ptr %2, align 4
ret i32 %237
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ...) #1
declare i64 @scan_mon(ptr noundef, ptr noundef) #1
declare i64 @scan_wday(ptr noundef, ptr noundef) #1
declare i32 @tm_to_time(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_d6rh4bc.c'
source_filename = "/tmp/tmp_d6rh4bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_d6rh4bc.c"
target datalayout = "e-m:e-p270: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/tmp08kxxxuc.c'
source_filename = "/tmp/tmp08kxxxuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @squeeze(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %36, %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %5, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds i8, ptr %8, i64 %10
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br i1 %14, label %15, label %39
15: ; preds = %7
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %4, align 8
%22 = call i64 @cnotint(i8 noundef signext %20, ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %35
24: ; preds = %15
%25 = load ptr, ptr %3, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = load ptr, ptr %3, align 8
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
%33 = sext i32 %31 to i64
%34 = getelementptr inbounds i8, ptr %30, i64 %33
store i8 %29, ptr %34, align 1
br label %35
35: ; preds = %24, %15
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
br label %7, !llvm.loop !6
39: ; preds = %7
%40 = load ptr, ptr %3, align 8
%41 = load i32, ptr %6, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
store i8 0, ptr %43, align 1
ret void
}
declare i64 @cnotint(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp08kxxxuc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @squeeze(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%7 = load ptr, ptr %3, align 8
%8 = load i32, ptr %5, align 4
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %7, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp ne i32 %12, 0
br i1 %13, label %.lr.ph, label %45
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %35
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %4, align 8
%21 = call i64 @cnotint(i8 noundef signext %19, ptr noundef %20)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %34
23: ; preds = %14
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = load ptr, ptr %3, align 8
%30 = load i32, ptr %6, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %6, align 4
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds i8, ptr %29, i64 %32
store i8 %28, ptr %33, align 1
br label %34
34: ; preds = %23, %14
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load ptr, ptr %3, align 8
%39 = load i32, ptr %5, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i8, ptr %38, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp ne i32 %43, 0
br i1 %44, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %45
45: ; preds = %._crit_edge, %2
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %6, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
store i8 0, ptr %49, align 1
ret void
}
declare i64 @cnotint(i8 noundef signext, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp54mzkn0y.c'
source_filename = "/tmp/tmp54mzkn0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__memoria_liberar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp54mzkn0y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__memoria_liberar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
br i1 %4, label %5, label %8
5: ; preds = %1
%6 = load ptr, ptr %2, align 8
%7 = call i32 @free(ptr noundef %6)
br label %8
8: ; preds = %5, %1
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpnbdra87f.c'
source_filename = "/tmp/tmpnbdra87f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logger_platform_out(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call i32 @write(i32 noundef 1, ptr noundef %3, i32 noundef %5)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnbdra87f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @logger_platform_out(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
%6 = call i32 @write(i32 noundef 1, ptr noundef %3, i32 noundef %5)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpt7jc7ij4.c'
source_filename = "/tmp/tmpt7jc7ij4.c"
target datalayout = "e-m:e-p270: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/tmpt7jc7ij4.c"
target datalayout = "e-m:e-p270: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/tmp1lnabapt.c'
source_filename = "/tmp/tmp1lnabapt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UCHAR_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi4i1(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef zeroext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i8, align 1
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i8 %6, ptr %18, align 1
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %122
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %78
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %78
33: ; preds = %30
store i64 0, ptr %23, align 8
br label %34
34: ; preds = %74, %33
%35 = load i64, ptr %23, align 8
%36 = load i64, ptr %13, align 8
%37 = icmp slt i64 %35, %36
br i1 %37, label %38, label %77
38: ; preds = %34
%39 = load ptr, ptr %12, align 8
%40 = load i64, ptr %23, align 8
%41 = getelementptr inbounds i32, ptr %39, i64 %40
%42 = load i32, ptr %41, align 4
%43 = icmp slt i32 %42, 0
br i1 %43, label %44, label %49
44: ; preds = %38
%45 = load ptr, ptr %22, align 8
store i32 -11, ptr %45, align 4
%46 = load ptr, ptr %21, align 8
%47 = load i64, ptr %23, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
store i8 0, ptr %48, align 1
br label %73
49: ; preds = %38
%50 = load ptr, ptr %12, align 8
%51 = load i64, ptr %23, align 8
%52 = getelementptr inbounds i32, ptr %50, i64 %51
%53 = load i32, ptr %52, align 4
%54 = load i32, ptr @UCHAR_MAX, align 4
%55 = icmp sgt i32 %53, %54
br i1 %55, label %56, label %63
56: ; preds = %49
%57 = load ptr, ptr %22, align 8
store i32 -11, ptr %57, align 4
%58 = load i32, ptr @UCHAR_MAX, align 4
%59 = trunc i32 %58 to i8
%60 = load ptr, ptr %21, align 8
%61 = load i64, ptr %23, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
store i8 %59, ptr %62, align 1
br label %72
63: ; preds = %49
%64 = load ptr, ptr %12, align 8
%65 = load i64, ptr %23, align 8
%66 = getelementptr inbounds i32, ptr %64, i64 %65
%67 = load i32, ptr %66, align 4
%68 = trunc i32 %67 to i8
%69 = load ptr, ptr %21, align 8
%70 = load i64, ptr %23, align 8
%71 = getelementptr inbounds i8, ptr %69, i64 %70
store i8 %68, ptr %71, align 1
br label %72
72: ; preds = %63, %56
br label %73
73: ; preds = %72, %44
br label %74
74: ; preds = %73
%75 = load i64, ptr %23, align 8
%76 = add nsw i64 %75, 1
store i64 %76, ptr %23, align 8
br label %34, !llvm.loop !6
77: ; preds = %34
br label %121
78: ; preds = %30, %27
store i64 0, ptr %23, align 8
br label %79
79: ; preds = %117, %78
%80 = load i64, ptr %23, align 8
%81 = load i64, ptr %13, align 8
%82 = icmp slt i64 %80, %81
br i1 %82, label %83, label %120
83: ; preds = %79
%84 = load ptr, ptr %12, align 8
%85 = load i64, ptr %23, align 8
%86 = getelementptr inbounds i32, ptr %84, i64 %85
%87 = load i32, ptr %86, align 4
%88 = sitofp i32 %87 to double
%89 = load double, ptr %14, align 8
%90 = load double, ptr %15, align 8
%91 = call double @llvm.fmuladd.f64(double %88, double %89, double %90)
store double %91, ptr %24, align 8
%92 = load double, ptr %24, align 8
%93 = fcmp olt double %92, -4.900000e-01
br i1 %93, label %94, label %99
94: ; preds = %83
%95 = load ptr, ptr %22, align 8
store i32 -11, ptr %95, align 4
%96 = load ptr, ptr %21, align 8
%97 = load i64, ptr %23, align 8
%98 = getelementptr inbounds i8, ptr %96, i64 %97
store i8 0, ptr %98, align 1
br label %116
99: ; preds = %83
%100 = load double, ptr %24, align 8
%101 = fcmp ogt double %100, 2.554900e+02
br i1 %101, label %102, label %109
102: ; preds = %99
%103 = load ptr, ptr %22, align 8
store i32 -11, ptr %103, align 4
%104 = load i32, ptr @UCHAR_MAX, align 4
%105 = trunc i32 %104 to i8
%106 = load ptr, ptr %21, align 8
%107 = load i64, ptr %23, align 8
%108 = getelementptr inbounds i8, ptr %106, i64 %107
store i8 %105, ptr %108, align 1
br label %115
109: ; preds = %99
%110 = load double, ptr %24, align 8
%111 = fptoui double %110 to i8
%112 = load ptr, ptr %21, align 8
%113 = load i64, ptr %23, align 8
%114 = getelementptr inbounds i8, ptr %112, i64 %113
store i8 %111, ptr %114, align 1
br label %115
115: ; preds = %109, %102
br label %116
116: ; preds = %115, %94
br label %117
117: ; preds = %116
%118 = load i64, ptr %23, align 8
%119 = add nsw i64 %118, 1
store i64 %119, ptr %23, align 8
br label %79, !llvm.loop !8
120: ; preds = %79
br label %121
121: ; preds = %120, %77
br label %261
122: ; preds = %11
%123 = load double, ptr %14, align 8
%124 = fcmp oeq double %123, 1.000000e+00
br i1 %124, label %125, label %195
125: ; preds = %122
%126 = load double, ptr %15, align 8
%127 = fcmp oeq double %126, 0.000000e+00
br i1 %127, label %128, label %195
128: ; preds = %125
store i64 0, ptr %23, align 8
br label %129
129: ; preds = %191, %128
%130 = load i64, ptr %23, align 8
%131 = load i64, ptr %13, align 8
%132 = icmp slt i64 %130, %131
br i1 %132, label %133, label %194
133: ; preds = %129
%134 = load ptr, ptr %12, align 8
%135 = load i64, ptr %23, align 8
%136 = getelementptr inbounds i32, ptr %134, i64 %135
%137 = load i32, ptr %136, align 4
%138 = load i32, ptr %17, align 4
%139 = icmp eq i32 %137, %138
br i1 %139, label %140, label %154
140: ; preds = %133
%141 = load ptr, ptr %20, align 8
store i32 1, ptr %141, align 4
%142 = load i32, ptr %16, align 4
%143 = icmp eq i32 %142, 1
br i1 %143, label %144, label %149
144: ; preds = %140
%145 = load i8, ptr %18, align 1
%146 = load ptr, ptr %21, align 8
%147 = load i64, ptr %23, align 8
%148 = getelementptr inbounds i8, ptr %146, i64 %147
store i8 %145, ptr %148, align 1
br label %153
149: ; preds = %140
%150 = load ptr, ptr %19, align 8
%151 = load i64, ptr %23, align 8
%152 = getelementptr inbounds i8, ptr %150, i64 %151
store i8 1, ptr %152, align 1
br label %153
153: ; preds = %149, %144
br label %190
154: ; preds = %133
%155 = load ptr, ptr %12, align 8
%156 = load i64, ptr %23, align 8
%157 = getelementptr inbounds i32, ptr %155, i64 %156
%158 = load i32, ptr %157, align 4
%159 = icmp slt i32 %158, 0
br i1 %159, label %160, label %165
160: ; preds = %154
%161 = load ptr, ptr %22, align 8
store i32 -11, ptr %161, align 4
%162 = load ptr, ptr %21, align 8
%163 = load i64, ptr %23, align 8
%164 = getelementptr inbounds i8, ptr %162, i64 %163
store i8 0, ptr %164, align 1
br label %189
165: ; preds = %154
%166 = load ptr, ptr %12, align 8
%167 = load i64, ptr %23, align 8
%168 = getelementptr inbounds i32, ptr %166, i64 %167
%169 = load i32, ptr %168, align 4
%170 = load i32, ptr @UCHAR_MAX, align 4
%171 = icmp sgt i32 %169, %170
br i1 %171, label %172, label %179
172: ; preds = %165
%173 = load ptr, ptr %22, align 8
store i32 -11, ptr %173, align 4
%174 = load i32, ptr @UCHAR_MAX, align 4
%175 = trunc i32 %174 to i8
%176 = load ptr, ptr %21, align 8
%177 = load i64, ptr %23, align 8
%178 = getelementptr inbounds i8, ptr %176, i64 %177
store i8 %175, ptr %178, align 1
br label %188
179: ; preds = %165
%180 = load ptr, ptr %12, align 8
%181 = load i64, ptr %23, align 8
%182 = getelementptr inbounds i32, ptr %180, i64 %181
%183 = load i32, ptr %182, align 4
%184 = trunc i32 %183 to i8
%185 = load ptr, ptr %21, align 8
%186 = load i64, ptr %23, align 8
%187 = getelementptr inbounds i8, ptr %185, i64 %186
store i8 %184, ptr %187, align 1
br label %188
188: ; preds = %179, %172
br label %189
189: ; preds = %188, %160
br label %190
190: ; preds = %189, %153
br label %191
191: ; preds = %190
%192 = load i64, ptr %23, align 8
%193 = add nsw i64 %192, 1
store i64 %193, ptr %23, align 8
br label %129, !llvm.loop !9
194: ; preds = %129
br label %260
195: ; preds = %125, %122
store i64 0, ptr %23, align 8
br label %196
196: ; preds = %256, %195
%197 = load i64, ptr %23, align 8
%198 = load i64, ptr %13, align 8
%199 = icmp slt i64 %197, %198
br i1 %199, label %200, label %259
200: ; preds = %196
%201 = load ptr, ptr %12, align 8
%202 = load i64, ptr %23, align 8
%203 = getelementptr inbounds i32, ptr %201, i64 %202
%204 = load i32, ptr %203, align 4
%205 = load i32, ptr %17, align 4
%206 = icmp eq i32 %204, %205
br i1 %206, label %207, label %221
207: ; preds = %200
%208 = load ptr, ptr %20, align 8
store i32 1, ptr %208, align 4
%209 = load i32, ptr %16, align 4
%210 = icmp eq i32 %209, 1
br i1 %210, label %211, label %216
211: ; preds = %207
%212 = load i8, ptr %18, align 1
%213 = load ptr, ptr %21, align 8
%214 = load i64, ptr %23, align 8
%215 = getelementptr inbounds i8, ptr %213, i64 %214
store i8 %212, ptr %215, align 1
br label %220
216: ; preds = %207
%217 = load ptr, ptr %19, align 8
%218 = load i64, ptr %23, align 8
%219 = getelementptr inbounds i8, ptr %217, i64 %218
store i8 1, ptr %219, align 1
br label %220
220: ; preds = %216, %211
br label %255
221: ; preds = %200
%222 = load ptr, ptr %12, align 8
%223 = load i64, ptr %23, align 8
%224 = getelementptr inbounds i32, ptr %222, i64 %223
%225 = load i32, ptr %224, align 4
%226 = sitofp i32 %225 to double
%227 = load double, ptr %14, align 8
%228 = load double, ptr %15, align 8
%229 = call double @llvm.fmuladd.f64(double %226, double %227, double %228)
store double %229, ptr %24, align 8
%230 = load double, ptr %24, align 8
%231 = fcmp olt double %230, -4.900000e-01
br i1 %231, label %232, label %237
232: ; preds = %221
%233 = load ptr, ptr %22, align 8
store i32 -11, ptr %233, align 4
%234 = load ptr, ptr %21, align 8
%235 = load i64, ptr %23, align 8
%236 = getelementptr inbounds i8, ptr %234, i64 %235
store i8 0, ptr %236, align 1
br label %254
237: ; preds = %221
%238 = load double, ptr %24, align 8
%239 = fcmp ogt double %238, 2.554900e+02
br i1 %239, label %240, label %247
240: ; preds = %237
%241 = load ptr, ptr %22, align 8
store i32 -11, ptr %241, align 4
%242 = load i32, ptr @UCHAR_MAX, align 4
%243 = trunc i32 %242 to i8
%244 = load ptr, ptr %21, align 8
%245 = load i64, ptr %23, align 8
%246 = getelementptr inbounds i8, ptr %244, i64 %245
store i8 %243, ptr %246, align 1
br label %253
247: ; preds = %237
%248 = load double, ptr %24, align 8
%249 = fptoui double %248 to i8
%250 = load ptr, ptr %21, align 8
%251 = load i64, ptr %23, align 8
%252 = getelementptr inbounds i8, ptr %250, i64 %251
store i8 %249, ptr %252, align 1
br label %253
253: ; preds = %247, %240
br label %254
254: ; preds = %253, %232
br label %255
255: ; preds = %254, %220
br label %256
256: ; preds = %255
%257 = load i64, ptr %23, align 8
%258 = add nsw i64 %257, 1
store i64 %258, ptr %23, align 8
br label %196, !llvm.loop !10
259: ; preds = %196
br label %260
260: ; preds = %259, %194
br label %261
261: ; preds = %260, %121
%262 = load ptr, ptr %22, align 8
%263 = load i32, ptr %262, align 4
ret i32 %263
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1lnabapt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UCHAR_MAX = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @fffi4i1(ptr noundef %0, i64 noundef %1, double noundef %2, double noundef %3, i32 noundef %4, i32 noundef %5, i8 noundef zeroext %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10) #0 {
%12 = alloca ptr, align 8
%13 = alloca i64, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i8, align 1
%19 = alloca ptr, align 8
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca ptr, align 8
%23 = alloca i64, align 8
%24 = alloca double, align 8
store ptr %0, ptr %12, align 8
store i64 %1, ptr %13, align 8
store double %2, ptr %14, align 8
store double %3, ptr %15, align 8
store i32 %4, ptr %16, align 4
store i32 %5, ptr %17, align 4
store i8 %6, ptr %18, align 1
store ptr %7, ptr %19, align 8
store ptr %8, ptr %20, align 8
store ptr %9, ptr %21, align 8
store ptr %10, ptr %22, align 8
%25 = load i32, ptr %16, align 4
%26 = icmp eq i32 %25, 0
br i1 %26, label %27, label %126
27: ; preds = %11
%28 = load double, ptr %14, align 8
%29 = fcmp oeq double %28, 1.000000e+00
br i1 %29, label %30, label %80
30: ; preds = %27
%31 = load double, ptr %15, align 8
%32 = fcmp oeq double %31, 0.000000e+00
br i1 %32, label %33, label %80
33: ; preds = %30
store i64 0, ptr %23, align 8
%34 = load i64, ptr %23, align 8
%35 = load i64, ptr %13, align 8
%36 = icmp slt i64 %34, %35
br i1 %36, label %.lr.ph8, label %79
.lr.ph8: ; preds = %33
br label %37
37: ; preds = %.lr.ph8, %73
%38 = load ptr, ptr %12, align 8
%39 = load i64, ptr %23, align 8
%40 = getelementptr inbounds i32, ptr %38, i64 %39
%41 = load i32, ptr %40, align 4
%42 = icmp slt i32 %41, 0
br i1 %42, label %43, label %48
43: ; preds = %37
%44 = load ptr, ptr %22, align 8
store i32 -11, ptr %44, align 4
%45 = load ptr, ptr %21, align 8
%46 = load i64, ptr %23, align 8
%47 = getelementptr inbounds i8, ptr %45, i64 %46
store i8 0, ptr %47, align 1
br label %72
48: ; preds = %37
%49 = load ptr, ptr %12, align 8
%50 = load i64, ptr %23, align 8
%51 = getelementptr inbounds i32, ptr %49, i64 %50
%52 = load i32, ptr %51, align 4
%53 = load i32, ptr @UCHAR_MAX, align 4
%54 = icmp sgt i32 %52, %53
br i1 %54, label %55, label %62
55: ; preds = %48
%56 = load ptr, ptr %22, align 8
store i32 -11, ptr %56, align 4
%57 = load i32, ptr @UCHAR_MAX, align 4
%58 = trunc i32 %57 to i8
%59 = load ptr, ptr %21, align 8
%60 = load i64, ptr %23, align 8
%61 = getelementptr inbounds i8, ptr %59, i64 %60
store i8 %58, ptr %61, align 1
br label %71
62: ; preds = %48
%63 = load ptr, ptr %12, align 8
%64 = load i64, ptr %23, align 8
%65 = getelementptr inbounds i32, ptr %63, i64 %64
%66 = load i32, ptr %65, align 4
%67 = trunc i32 %66 to i8
%68 = load ptr, ptr %21, align 8
%69 = load i64, ptr %23, align 8
%70 = getelementptr inbounds i8, ptr %68, i64 %69
store i8 %67, ptr %70, align 1
br label %71
71: ; preds = %62, %55
br label %72
72: ; preds = %71, %43
br label %73
73: ; preds = %72
%74 = load i64, ptr %23, align 8
%75 = add nsw i64 %74, 1
store i64 %75, ptr %23, align 8
%76 = load i64, ptr %23, align 8
%77 = load i64, ptr %13, align 8
%78 = icmp slt i64 %76, %77
br i1 %78, label %37, label %._crit_edge9, !llvm.loop !6
._crit_edge9: ; preds = %73
br label %79
79: ; preds = %._crit_edge9, %33
br label %125
80: ; preds = %30, %27
store i64 0, ptr %23, align 8
%81 = load i64, ptr %23, align 8
%82 = load i64, ptr %13, align 8
%83 = icmp slt i64 %81, %82
br i1 %83, label %.lr.ph5, label %124
.lr.ph5: ; preds = %80
br label %84
84: ; preds = %.lr.ph5, %118
%85 = load ptr, ptr %12, align 8
%86 = load i64, ptr %23, align 8
%87 = getelementptr inbounds i32, ptr %85, i64 %86
%88 = load i32, ptr %87, align 4
%89 = sitofp i32 %88 to double
%90 = load double, ptr %14, align 8
%91 = load double, ptr %15, align 8
%92 = call double @llvm.fmuladd.f64(double %89, double %90, double %91)
store double %92, ptr %24, align 8
%93 = load double, ptr %24, align 8
%94 = fcmp olt double %93, -4.900000e-01
br i1 %94, label %95, label %100
95: ; preds = %84
%96 = load ptr, ptr %22, align 8
store i32 -11, ptr %96, align 4
%97 = load ptr, ptr %21, align 8
%98 = load i64, ptr %23, align 8
%99 = getelementptr inbounds i8, ptr %97, i64 %98
store i8 0, ptr %99, align 1
br label %117
100: ; preds = %84
%101 = load double, ptr %24, align 8
%102 = fcmp ogt double %101, 2.554900e+02
br i1 %102, label %103, label %110
103: ; preds = %100
%104 = load ptr, ptr %22, align 8
store i32 -11, ptr %104, align 4
%105 = load i32, ptr @UCHAR_MAX, align 4
%106 = trunc i32 %105 to i8
%107 = load ptr, ptr %21, align 8
%108 = load i64, ptr %23, align 8
%109 = getelementptr inbounds i8, ptr %107, i64 %108
store i8 %106, ptr %109, align 1
br label %116
110: ; preds = %100
%111 = load double, ptr %24, align 8
%112 = fptoui double %111 to i8
%113 = load ptr, ptr %21, align 8
%114 = load i64, ptr %23, align 8
%115 = getelementptr inbounds i8, ptr %113, i64 %114
store i8 %112, ptr %115, align 1
br label %116
116: ; preds = %110, %103
br label %117
117: ; preds = %116, %95
br label %118
118: ; preds = %117
%119 = load i64, ptr %23, align 8
%120 = add nsw i64 %119, 1
store i64 %120, ptr %23, align 8
%121 = load i64, ptr %23, align 8
%122 = load i64, ptr %13, align 8
%123 = icmp slt i64 %121, %122
br i1 %123, label %84, label %._crit_edge6, !llvm.loop !8
._crit_edge6: ; preds = %118
br label %124
124: ; preds = %._crit_edge6, %80
br label %125
125: ; preds = %124, %79
br label %269
126: ; preds = %11
%127 = load double, ptr %14, align 8
%128 = fcmp oeq double %127, 1.000000e+00
br i1 %128, label %129, label %201
129: ; preds = %126
%130 = load double, ptr %15, align 8
%131 = fcmp oeq double %130, 0.000000e+00
br i1 %131, label %132, label %201
132: ; preds = %129
store i64 0, ptr %23, align 8
%133 = load i64, ptr %23, align 8
%134 = load i64, ptr %13, align 8
%135 = icmp slt i64 %133, %134
br i1 %135, label %.lr.ph2, label %200
.lr.ph2: ; preds = %132
br label %136
136: ; preds = %.lr.ph2, %194
%137 = load ptr, ptr %12, align 8
%138 = load i64, ptr %23, align 8
%139 = getelementptr inbounds i32, ptr %137, i64 %138
%140 = load i32, ptr %139, align 4
%141 = load i32, ptr %17, align 4
%142 = icmp eq i32 %140, %141
br i1 %142, label %143, label %157
143: ; preds = %136
%144 = load ptr, ptr %20, align 8
store i32 1, ptr %144, align 4
%145 = load i32, ptr %16, align 4
%146 = icmp eq i32 %145, 1
br i1 %146, label %147, label %152
147: ; preds = %143
%148 = load i8, ptr %18, align 1
%149 = load ptr, ptr %21, align 8
%150 = load i64, ptr %23, align 8
%151 = getelementptr inbounds i8, ptr %149, i64 %150
store i8 %148, ptr %151, align 1
br label %156
152: ; preds = %143
%153 = load ptr, ptr %19, align 8
%154 = load i64, ptr %23, align 8
%155 = getelementptr inbounds i8, ptr %153, i64 %154
store i8 1, ptr %155, align 1
br label %156
156: ; preds = %152, %147
br label %193
157: ; preds = %136
%158 = load ptr, ptr %12, align 8
%159 = load i64, ptr %23, align 8
%160 = getelementptr inbounds i32, ptr %158, i64 %159
%161 = load i32, ptr %160, align 4
%162 = icmp slt i32 %161, 0
br i1 %162, label %163, label %168
163: ; preds = %157
%164 = load ptr, ptr %22, align 8
store i32 -11, ptr %164, align 4
%165 = load ptr, ptr %21, align 8
%166 = load i64, ptr %23, align 8
%167 = getelementptr inbounds i8, ptr %165, i64 %166
store i8 0, ptr %167, align 1
br label %192
168: ; preds = %157
%169 = load ptr, ptr %12, align 8
%170 = load i64, ptr %23, align 8
%171 = getelementptr inbounds i32, ptr %169, i64 %170
%172 = load i32, ptr %171, align 4
%173 = load i32, ptr @UCHAR_MAX, align 4
%174 = icmp sgt i32 %172, %173
br i1 %174, label %175, label %182
175: ; preds = %168
%176 = load ptr, ptr %22, align 8
store i32 -11, ptr %176, align 4
%177 = load i32, ptr @UCHAR_MAX, align 4
%178 = trunc i32 %177 to i8
%179 = load ptr, ptr %21, align 8
%180 = load i64, ptr %23, align 8
%181 = getelementptr inbounds i8, ptr %179, i64 %180
store i8 %178, ptr %181, align 1
br label %191
182: ; preds = %168
%183 = load ptr, ptr %12, align 8
%184 = load i64, ptr %23, align 8
%185 = getelementptr inbounds i32, ptr %183, i64 %184
%186 = load i32, ptr %185, align 4
%187 = trunc i32 %186 to i8
%188 = load ptr, ptr %21, align 8
%189 = load i64, ptr %23, align 8
%190 = getelementptr inbounds i8, ptr %188, i64 %189
store i8 %187, ptr %190, align 1
br label %191
191: ; preds = %182, %175
br label %192
192: ; preds = %191, %163
br label %193
193: ; preds = %192, %156
br label %194
194: ; preds = %193
%195 = load i64, ptr %23, align 8
%196 = add nsw i64 %195, 1
store i64 %196, ptr %23, align 8
%197 = load i64, ptr %23, align 8
%198 = load i64, ptr %13, align 8
%199 = icmp slt i64 %197, %198
br i1 %199, label %136, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %194
br label %200
200: ; preds = %._crit_edge3, %132
br label %268
201: ; preds = %129, %126
store i64 0, ptr %23, align 8
%202 = load i64, ptr %23, align 8
%203 = load i64, ptr %13, align 8
%204 = icmp slt i64 %202, %203
br i1 %204, label %.lr.ph, label %267
.lr.ph: ; preds = %201
br label %205
205: ; preds = %.lr.ph, %261
%206 = load ptr, ptr %12, align 8
%207 = load i64, ptr %23, align 8
%208 = getelementptr inbounds i32, ptr %206, i64 %207
%209 = load i32, ptr %208, align 4
%210 = load i32, ptr %17, align 4
%211 = icmp eq i32 %209, %210
br i1 %211, label %212, label %226
212: ; preds = %205
%213 = load ptr, ptr %20, align 8
store i32 1, ptr %213, align 4
%214 = load i32, ptr %16, align 4
%215 = icmp eq i32 %214, 1
br i1 %215, label %216, label %221
216: ; preds = %212
%217 = load i8, ptr %18, align 1
%218 = load ptr, ptr %21, align 8
%219 = load i64, ptr %23, align 8
%220 = getelementptr inbounds i8, ptr %218, i64 %219
store i8 %217, ptr %220, align 1
br label %225
221: ; preds = %212
%222 = load ptr, ptr %19, align 8
%223 = load i64, ptr %23, align 8
%224 = getelementptr inbounds i8, ptr %222, i64 %223
store i8 1, ptr %224, align 1
br label %225
225: ; preds = %221, %216
br label %260
226: ; preds = %205
%227 = load ptr, ptr %12, align 8
%228 = load i64, ptr %23, align 8
%229 = getelementptr inbounds i32, ptr %227, i64 %228
%230 = load i32, ptr %229, align 4
%231 = sitofp i32 %230 to double
%232 = load double, ptr %14, align 8
%233 = load double, ptr %15, align 8
%234 = call double @llvm.fmuladd.f64(double %231, double %232, double %233)
store double %234, ptr %24, align 8
%235 = load double, ptr %24, align 8
%236 = fcmp olt double %235, -4.900000e-01
br i1 %236, label %237, label %242
237: ; preds = %226
%238 = load ptr, ptr %22, align 8
store i32 -11, ptr %238, align 4
%239 = load ptr, ptr %21, align 8
%240 = load i64, ptr %23, align 8
%241 = getelementptr inbounds i8, ptr %239, i64 %240
store i8 0, ptr %241, align 1
br label %259
242: ; preds = %226
%243 = load double, ptr %24, align 8
%244 = fcmp ogt double %243, 2.554900e+02
br i1 %244, label %245, label %252
245: ; preds = %242
%246 = load ptr, ptr %22, align 8
store i32 -11, ptr %246, align 4
%247 = load i32, ptr @UCHAR_MAX, align 4
%248 = trunc i32 %247 to i8
%249 = load ptr, ptr %21, align 8
%250 = load i64, ptr %23, align 8
%251 = getelementptr inbounds i8, ptr %249, i64 %250
store i8 %248, ptr %251, align 1
br label %258
252: ; preds = %242
%253 = load double, ptr %24, align 8
%254 = fptoui double %253 to i8
%255 = load ptr, ptr %21, align 8
%256 = load i64, ptr %23, align 8
%257 = getelementptr inbounds i8, ptr %255, i64 %256
store i8 %254, ptr %257, align 1
br label %258
258: ; preds = %252, %245
br label %259
259: ; preds = %258, %237
br label %260
260: ; preds = %259, %225
br label %261
261: ; preds = %260
%262 = load i64, ptr %23, align 8
%263 = add nsw i64 %262, 1
store i64 %263, ptr %23, align 8
%264 = load i64, ptr %23, align 8
%265 = load i64, ptr %13, align 8
%266 = icmp slt i64 %264, %265
br i1 %266, label %205, label %._crit_edge, !llvm.loop !10
._crit_edge: ; preds = %261
br label %267
267: ; preds = %._crit_edge, %201
br label %268
268: ; preds = %267, %200
br label %269
269: ; preds = %268, %125
%270 = load ptr, ptr %22, align 8
%271 = load i32, ptr %270, align 4
ret i32 %271
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmpd8ibvq1u.c'
source_filename = "/tmp/tmpd8ibvq1u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_nl = type { i32, i32, i32 }
@PF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"socket(PF_NETLINK): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@AF_NETLINK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"bind(): %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @netlink_open(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_nl, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr @PF_NETLINK, align 4
%9 = load i32, ptr @SOCK_RAW, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %6, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load i32, ptr @errno, align 4
%16 = call ptr @strerror(i32 noundef %15)
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %3, align 4
br label %38
19: ; preds = %2
%20 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%21 = load i32, ptr @AF_NETLINK, align 4
%22 = getelementptr inbounds %struct.sockaddr_nl, ptr %7, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = call i32 (...) @getpid()
%24 = getelementptr inbounds %struct.sockaddr_nl, ptr %7, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %5, align 4
%26 = getelementptr inbounds %struct.sockaddr_nl, ptr %7, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %6, align 4
%28 = call i64 @bind(i32 noundef %27, ptr noundef %7, i32 noundef 12)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %19
%31 = load i32, ptr @stderr, align 4
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %33)
%35 = load i32, ptr %6, align 4
store i32 %35, ptr %3, align 4
br label %38
36: ; preds = %19
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %36, %30, %13
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i64 @bind(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/tmpd8ibvq1u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_nl = type { i32, i32, i32 }
@PF_NETLINK = dso_local global i32 0, align 4
@SOCK_RAW = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [24 x i8] c"socket(PF_NETLINK): %s\0A\00", align 1
@errno = dso_local global i32 0, align 4
@AF_NETLINK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"bind(): %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @netlink_open(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca %struct.sockaddr_nl, align 4
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
%8 = load i32, ptr @PF_NETLINK, align 4
%9 = load i32, ptr @SOCK_RAW, align 4
%10 = load i32, ptr %4, align 4
%11 = call i32 @socket(i32 noundef %8, i32 noundef %9, i32 noundef %10)
store i32 %11, ptr %6, align 4
%12 = icmp slt i32 %11, 0
br i1 %12, label %13, label %19
13: ; preds = %2
%14 = load i32, ptr @stderr, align 4
%15 = load i32, ptr @errno, align 4
%16 = call ptr @strerror(i32 noundef %15)
%17 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %16)
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %3, align 4
br label %38
19: ; preds = %2
%20 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 12)
%21 = load i32, ptr @AF_NETLINK, align 4
%22 = getelementptr inbounds %struct.sockaddr_nl, ptr %7, i32 0, i32 2
store i32 %21, ptr %22, align 4
%23 = call i32 (...) @getpid()
%24 = getelementptr inbounds %struct.sockaddr_nl, ptr %7, i32 0, i32 1
store i32 %23, ptr %24, align 4
%25 = load i32, ptr %5, align 4
%26 = getelementptr inbounds %struct.sockaddr_nl, ptr %7, i32 0, i32 0
store i32 %25, ptr %26, align 4
%27 = load i32, ptr %6, align 4
%28 = call i64 @bind(i32 noundef %27, ptr noundef %7, i32 noundef 12)
%29 = icmp slt i64 %28, 0
br i1 %29, label %30, label %36
30: ; preds = %19
%31 = load i32, ptr @stderr, align 4
%32 = load i32, ptr @errno, align 4
%33 = call ptr @strerror(i32 noundef %32)
%34 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str.1, ptr noundef %33)
%35 = load i32, ptr %6, align 4
store i32 %35, ptr %3, align 4
br label %38
36: ; preds = %19
%37 = load i32, ptr %6, align 4
store i32 %37, ptr %3, align 4
br label %38
38: ; preds = %36, %30, %13
%39 = load i32, ptr %3, align 4
ret i32 %39
}
declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @strerror(i32 noundef) #1
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @getpid(...) #1
declare i64 @bind(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/tmpkxjkejm1.c'
source_filename = "/tmp/tmpkxjkejm1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Cannot get page size\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_synchronization(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr @O_WRONLY, align 4
%13 = load i32, ptr @O_CREAT, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @O_APPEND, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef %11, i32 noundef %16, i32 noundef 432)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = call i32 @perror(ptr noundef @.str)
br label %41
22: ; preds = %4
store i32 0, ptr %10, align 4
br label %23
23: ; preds = %31, %22
%24 = load i32, ptr %10, align 4
%25 = icmp slt i32 %24, 10000
br i1 %25, label %26, label %34
26: ; preds = %23
%27 = load i32, ptr %9, align 4
%28 = load ptr, ptr %6, align 8
%29 = load i64, ptr %7, align 8
%30 = call i32 @write(i32 noundef %27, ptr noundef %28, i64 noundef %29)
br label %31
31: ; preds = %26
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %10, align 4
br label %23, !llvm.loop !6
34: ; preds = %23
%35 = load ptr, ptr %8, align 8
%36 = load i32, ptr %9, align 4
%37 = call i32 %35(i32 noundef %36)
%38 = load i32, ptr %9, align 4
%39 = call i32 @close(i32 noundef %38)
%40 = call i32 @sleep(i32 noundef 5)
br label %41
41: ; preds = %34, %20
ret void
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sleep(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/tmpkxjkejm1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@O_WRONLY = dso_local global i32 0, align 4
@O_CREAT = dso_local global i32 0, align 4
@O_APPEND = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [21 x i8] c"Cannot get page size\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_synchronization(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr @O_WRONLY, align 4
%13 = load i32, ptr @O_CREAT, align 4
%14 = or i32 %12, %13
%15 = load i32, ptr @O_APPEND, align 4
%16 = or i32 %14, %15
%17 = call i32 @open(ptr noundef %11, i32 noundef %16, i32 noundef 432)
store i32 %17, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = icmp slt i32 %18, 0
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = call i32 @perror(ptr noundef @.str)
br label %42
22: ; preds = %4
store i32 0, ptr %10, align 4
%23 = load i32, ptr %10, align 4
%24 = icmp slt i32 %23, 10000
br i1 %24, label %.lr.ph, label %35
.lr.ph: ; preds = %22
br label %25
25: ; preds = %.lr.ph, %30
%26 = load i32, ptr %9, align 4
%27 = load ptr, ptr %6, align 8
%28 = load i64, ptr %7, align 8
%29 = call i32 @write(i32 noundef %26, ptr noundef %27, i64 noundef %28)
br label %30
30: ; preds = %25
%31 = load i32, ptr %10, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %10, align 4
%33 = load i32, ptr %10, align 4
%34 = icmp slt i32 %33, 10000
br i1 %34, label %25, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %22
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %9, align 4
%38 = call i32 %36(i32 noundef %37)
%39 = load i32, ptr %9, align 4
%40 = call i32 @close(i32 noundef %39)
%41 = call i32 @sleep(i32 noundef 5)
br label %42
42: ; preds = %35, %20
ret void
}
declare i32 @open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @write(i32 noundef, ptr noundef, i64 noundef) #1
declare i32 @close(i32 noundef) #1
declare i32 @sleep(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/tmpawrhty5p.c'
source_filename = "/tmp/tmpawrhty5p.c"
target datalayout = "e-m:e-p270: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/tmpawrhty5p.c"
target datalayout = "e-m:e-p270: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/tmpveb0m6kk.c'
source_filename = "/tmp/tmpveb0m6kk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = add i32 %7, 1
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %6, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %22
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %5, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
store ptr %21, ptr %3, align 8
br label %22
22: ; preds = %12, %11
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpveb0m6kk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strndup(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = add i32 %7, 1
%9 = call ptr @malloc(i32 noundef %8)
store ptr %9, ptr %6, align 8
%10 = icmp eq ptr %9, null
br i1 %10, label %11, label %12
11: ; preds = %2
store ptr null, ptr %3, align 8
br label %22
12: ; preds = %2
%13 = load ptr, ptr %6, align 8
%14 = load ptr, ptr %4, align 8
%15 = load i32, ptr %5, align 4
%16 = call i32 @memcpy(ptr noundef %13, ptr noundef %14, i32 noundef %15)
%17 = load ptr, ptr %6, align 8
%18 = load i32, ptr %5, align 4
%19 = zext i32 %18 to i64
%20 = getelementptr inbounds i8, ptr %17, i64 %19
store i8 0, ptr %20, align 1
%21 = load ptr, ptr %6, align 8
store ptr %21, ptr %3, align 8
br label %22
22: ; preds = %12, %11
%23 = load ptr, ptr %3, align 8
ret ptr %23
}
declare ptr @malloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpa2h38wrr.c'
source_filename = "/tmp/tmpa2h38wrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"recv() failed\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"send() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HandleTCPClient(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @recv(i32 noundef %5, ptr noundef %6, i32 noundef 32, i32 noundef 0)
store i32 %7, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @DieWithError(ptr noundef @.str)
br label %11
11: ; preds = %9, %1
br label %12
12: ; preds = %31, %11
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %32
15: ; preds = %12
%16 = load i32, ptr %2, align 4
%17 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%18 = load i32, ptr %4, align 4
%19 = call i32 @send(i32 noundef %16, ptr noundef %17, i32 noundef %18, i32 noundef 0)
%20 = load i32, ptr %4, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %22, label %24
22: ; preds = %15
%23 = call i32 @DieWithError(ptr noundef @.str.1)
br label %24
24: ; preds = %22, %15
%25 = load i32, ptr %2, align 4
%26 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%27 = call i32 @recv(i32 noundef %25, ptr noundef %26, i32 noundef 32, i32 noundef 0)
store i32 %27, ptr %4, align 4
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %31
29: ; preds = %24
%30 = call i32 @DieWithError(ptr noundef @.str)
br label %31
31: ; preds = %29, %24
br label %12, !llvm.loop !6
32: ; preds = %12
%33 = load i32, ptr %2, align 4
%34 = call i32 @close(i32 noundef %33)
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @DieWithError(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa2h38wrr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"recv() failed\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"send() failed\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @HandleTCPClient(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [32 x i8], align 16
%4 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%7 = call i32 @recv(i32 noundef %5, ptr noundef %6, i32 noundef 32, i32 noundef 0)
store i32 %7, ptr %4, align 4
%8 = icmp slt i32 %7, 0
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @DieWithError(ptr noundef @.str)
br label %11
11: ; preds = %9, %1
%12 = load i32, ptr %4, align 4
%13 = icmp sgt i32 %12, 0
br i1 %13, label %.lr.ph, label %33
.lr.ph: ; preds = %11
br label %14
14: ; preds = %.lr.ph, %30
%15 = load i32, ptr %2, align 4
%16 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%17 = load i32, ptr %4, align 4
%18 = call i32 @send(i32 noundef %15, ptr noundef %16, i32 noundef %17, i32 noundef 0)
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %18, %19
br i1 %20, label %21, label %23
21: ; preds = %14
%22 = call i32 @DieWithError(ptr noundef @.str.1)
br label %23
23: ; preds = %21, %14
%24 = load i32, ptr %2, align 4
%25 = getelementptr inbounds [32 x i8], ptr %3, i64 0, i64 0
%26 = call i32 @recv(i32 noundef %24, ptr noundef %25, i32 noundef 32, i32 noundef 0)
store i32 %26, ptr %4, align 4
%27 = icmp slt i32 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %23
%29 = call i32 @DieWithError(ptr noundef @.str)
br label %30
30: ; preds = %28, %23
%31 = load i32, ptr %4, align 4
%32 = icmp sgt i32 %31, 0
br i1 %32, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %30
br label %33
33: ; preds = %._crit_edge, %11
%34 = load i32, ptr %2, align 4
%35 = call i32 @close(i32 noundef %34)
ret void
}
declare i32 @recv(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @DieWithError(ptr noundef) #1
declare i32 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp45oq4k5s.c'
source_filename = "/tmp/tmp45oq4k5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_parse_uint16(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @try_parse_int_imp(ptr noundef %5, ptr noundef %6, i32 noundef 4, i32 noundef 0)
ret i32 %7
}
declare i32 @try_parse_int_imp(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp45oq4k5s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @try_parse_uint16(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @try_parse_int_imp(ptr noundef %5, ptr noundef %6, i32 noundef 4, i32 noundef 0)
ret i32 %7
}
declare i32 @try_parse_int_imp(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqisbxgle.c'
source_filename = "/tmp/tmpqisbxgle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = call i32 (...) @a()
%2 = call i32 (...) @b()
%3 = mul nsw i32 %1, %2
ret i32 %3
}
declare i32 @a(...) #1
declare i32 @b(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqisbxgle.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @c() #0 {
%1 = call i32 (...) @a()
%2 = call i32 (...) @b()
%3 = mul nsw i32 %1, %2
ret i32 %3
}
declare i32 @a(...) #1
declare i32 @b(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4pp7sw_v.c'
source_filename = "/tmp/tmp4pp7sw_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"*Error*: singular matrix found \00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"while deprojecting\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @poly_solve(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i64 @cholsolve(ptr noundef %9, ptr noundef %10, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @qerror(ptr noundef @.str, ptr noundef @.str.1)
br label %16
16: ; preds = %14, %3
ret void
}
declare i64 @cholsolve(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @qerror(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/tmp4pp7sw_v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [32 x i8] c"*Error*: singular matrix found \00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"while deprojecting\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @poly_solve(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = load ptr, ptr %5, align 8
%11 = load i32, ptr %6, align 4
%12 = call i64 @cholsolve(ptr noundef %9, ptr noundef %10, i32 noundef %11)
%13 = icmp ne i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %3
%15 = call i32 @qerror(ptr noundef @.str, ptr noundef @.str.1)
br label %16
16: ; preds = %14, %3
ret void
}
declare i64 @cholsolve(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @qerror(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/tmptxy2va15.c'
source_filename = "/tmp/tmptxy2va15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Message_can_read_delimited_from(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sle i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 0, ptr %4, align 4
br label %35
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @can_read_raw_varint32(ptr noundef %14, i32 noundef %15, i32 noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %13
store i32 0, ptr %4, align 4
br label %35
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = call i32 @read_raw_varint32(ptr noundef %8, ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %25, %26
%28 = sub nsw i32 %24, %27
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %8, align 8
%32 = icmp uge i64 %30, %31
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 1, i32 0
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %20, %19, %12
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @can_read_raw_varint32(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read_raw_varint32(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmptxy2va15.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Message_can_read_delimited_from(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp sle i32 %10, 0
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 0, ptr %4, align 4
br label %35
13: ; preds = %3
%14 = load ptr, ptr %5, align 8
%15 = load i32, ptr %6, align 4
%16 = load i32, ptr %7, align 4
%17 = call i32 @can_read_raw_varint32(ptr noundef %14, i32 noundef %15, i32 noundef %16)
%18 = icmp ne i32 %17, 0
br i1 %18, label %20, label %19
19: ; preds = %13
store i32 0, ptr %4, align 4
br label %35
20: ; preds = %13
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %6, align 4
%23 = call i32 @read_raw_varint32(ptr noundef %8, ptr noundef %21, i32 noundef %22)
store i32 %23, ptr %9, align 4
%24 = load i32, ptr %7, align 4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %6, align 4
%27 = sub nsw i32 %25, %26
%28 = sub nsw i32 %24, %27
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %7, align 4
%30 = sext i32 %29 to i64
%31 = load i64, ptr %8, align 8
%32 = icmp uge i64 %30, %31
%33 = zext i1 %32 to i64
%34 = select i1 %32, i32 1, i32 0
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %20, %19, %12
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @can_read_raw_varint32(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @read_raw_varint32(ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4j0_6z05.c'
source_filename = "/tmp/tmp4j0_6z05.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isprint should be 1 for M\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x4d() #0 {
%1 = call i32 @isprint(i32 noundef 77) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 390, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isprint(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4j0_6z05.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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_isprint.c\00", align 1
@.str.1 = private unnamed_addr constant [26 x i8] c"isprint should be 1 for M\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @t_isprint_0x4d() #0 {
%1 = call i32 @isprint(i32 noundef 77) #3
%2 = call i32 @Assert_real(i32 noundef %1, ptr noundef @.str, i32 noundef 390, ptr noundef @.str.1)
ret void
}
declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1
; Function Attrs: nounwind willreturn memory(read)
declare i32 @isprint(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-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 willreturn memory(read) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcqwa_m0_.c'
source_filename = "/tmp/tmpcqwa_m0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Indexs(i16 noundef signext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = call i32 @glIndexs(i16 noundef signext %3)
ret void
}
declare i32 @glIndexs(i16 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/tmpcqwa_m0_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Indexs(i16 noundef signext %0) #0 {
%2 = alloca i16, align 2
store i16 %0, ptr %2, align 2
%3 = load i16, ptr %2, align 2
%4 = call i32 @glIndexs(i16 noundef signext %3)
ret void
}
declare i32 @glIndexs(i16 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/tmp8pgxhix6.c'
source_filename = "/tmp/tmp8pgxhix6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"->%02d<-\0A\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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
br label %4
4: ; preds = %13, %0
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 20
br i1 %6, label %7, label %16
7: ; preds = %4
%8 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%9 = load i32, ptr %3, align 4
%10 = call i32 @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%12 = call i32 @printf(ptr noundef @.str.1, ptr noundef %11)
br label %13
13: ; preds = %7
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %4, !llvm.loop !6
16: ; preds = %4
ret i32 0
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8pgxhix6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"->%02d<-\0A\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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [100 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = icmp sle i32 %4, 20
br i1 %5, label %.lr.ph, label %17
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %12
%7 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%8 = load i32, ptr %3, align 4
%9 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %8)
%10 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0
%11 = call i32 @printf(ptr noundef @.str.1, ptr noundef %10)
br label %12
12: ; preds = %6
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = icmp sle i32 %15, 20
br i1 %16, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwwcj9qid.c'
source_filename = "/tmp/tmpwwcj9qid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = 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/tmpwwcj9qid.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ENOSYS = 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/tmp0z9tja7s.c'
source_filename = "/tmp/tmp0z9tja7s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = 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/tmp0z9tja7s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EACCES = 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/tmp0k1emyg4.c'
source_filename = "/tmp/tmp0k1emyg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sys_Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = mul i32 %7, 1000
%9 = call i32 @usleep(i32 noundef %8)
br label %10
10: ; preds = %6, %5
ret void
}
declare i32 @usleep(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/tmp0k1emyg4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Sys_Sleep(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = icmp slt i32 %3, 0
br i1 %4, label %5, label %6
5: ; preds = %1
br label %10
6: ; preds = %1
%7 = load i32, ptr %2, align 4
%8 = mul i32 %7, 1000
%9 = call i32 @usleep(i32 noundef %8)
br label %10
10: ; preds = %6, %5
ret void
}
declare i32 @usleep(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/tmphwhx2fv7.c'
source_filename = "/tmp/tmphwhx2fv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Aquest programa funciona\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %8, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @atoi(ptr noundef %14)
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %11
%18 = phi i32 [ %15, %11 ], [ 1, %16 ]
store i32 %18, ptr %7, align 4
br label %19
19: ; preds = %32, %17
%20 = load ptr, ptr %8, align 8
%21 = load i8, ptr %20, align 1
%22 = icmp ne i8 %21, 0
br i1 %22, label %23, label %35
23: ; preds = %19
%24 = load i32, ptr %7, align 4
%25 = call i32 @wait(i32 noundef %24)
%26 = load ptr, ptr %8, align 8
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %28)
%30 = load i32, ptr @stdout, align 4
%31 = call i32 @fflush(i32 noundef %30)
br label %32
32: ; preds = %23
%33 = load ptr, ptr %8, align 8
%34 = getelementptr inbounds i8, ptr %33, i32 1
store ptr %34, ptr %8, align 8
br label %19, !llvm.loop !6
35: ; preds = %19
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @wait(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(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/tmphwhx2fv7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Aquest programa funciona\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
@stdout = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr @.str, ptr %8, align 8
%9 = load i32, ptr %4, align 4
%10 = icmp eq i32 %9, 2
br i1 %10, label %11, label %16
11: ; preds = %2
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
%15 = call i32 @atoi(ptr noundef %14)
br label %17
16: ; preds = %2
br label %17
17: ; preds = %16, %11
%18 = phi i32 [ %15, %11 ], [ 1, %16 ]
store i32 %18, ptr %7, align 4
%19 = load ptr, ptr %8, align 8
%20 = load i8, ptr %19, align 1
%21 = icmp ne i8 %20, 0
br i1 %21, label %.lr.ph, label %37
.lr.ph: ; preds = %17
br label %22
22: ; preds = %.lr.ph, %31
%23 = load i32, ptr %7, align 4
%24 = call i32 @wait(i32 noundef %23)
%25 = load ptr, ptr %8, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr @stdout, align 4
%30 = call i32 @fflush(i32 noundef %29)
br label %31
31: ; preds = %22
%32 = load ptr, ptr %8, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %8, align 8
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %34, align 1
%36 = icmp ne i8 %35, 0
br i1 %36, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %31
br label %37
37: ; preds = %._crit_edge, %17
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret i32 0
}
declare i32 @atoi(ptr noundef) #1
declare i32 @wait(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fflush(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"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.