llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpbv9t2h36.c'
source_filename = "/tmp/tmpbv9t2h36.c"
target datalayout = "e-m:e-p270: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/tmpbv9t2h36.c"
target datalayout = "e-m:e-p270: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/tmplyyh7svi.c'
source_filename = "/tmp/tmplyyh7svi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntClear(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = icmp eq i64 %3, 1073741824
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i64, ptr %2, align 8
%7 = icmp eq i64 %6, 1073745920
br label %8
8: ; preds = %5, %1
%9 = phi i1 [ true, %1 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @DEBUG_ASSERT(i32 noundef %10)
%12 = load i64, ptr %2, align 8
%13 = add i64 %12, 12
%14 = inttoptr i64 %13 to ptr
store volatile i64 1, ptr %14, align 8
ret void
}
declare i32 @DEBUG_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/tmplyyh7svi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @WatchdogIntClear(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = icmp eq i64 %3, 1073741824
br i1 %4, label %8, label %5
5: ; preds = %1
%6 = load i64, ptr %2, align 8
%7 = icmp eq i64 %6, 1073745920
br label %8
8: ; preds = %5, %1
%9 = phi i1 [ true, %1 ], [ %7, %5 ]
%10 = zext i1 %9 to i32
%11 = call i32 @DEBUG_ASSERT(i32 noundef %10)
%12 = load i64, ptr %2, align 8
%13 = add i64 %12, 12
%14 = inttoptr i64 %13 to ptr
store volatile i64 1, ptr %14, align 8
ret void
}
declare i32 @DEBUG_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/tmp1iw9mxip.c'
source_filename = "/tmp/tmp1iw9mxip.c"
target datalayout = "e-m:e-p270: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/tmp1iw9mxip.c"
target datalayout = "e-m:e-p270: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/tmpktplr_hm.c'
source_filename = "/tmp/tmpktplr_hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EDOM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@DBL_DIG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @NewtonSquareRoot(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @EDOM, align 4
store i32 %9, ptr @errno, align 4
store double 0.000000e+00, ptr %2, align 8
br label %37
10: ; preds = %1
%11 = load i32, ptr @DBL_DIG, align 4
%12 = sub nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = fmul double -1.000000e+00, %13
%15 = call double @pow(double noundef 1.000000e+01, double noundef %14) #4
%16 = fmul double 1.000000e+00, %15
store double %16, ptr %4, align 8
%17 = load double, ptr %3, align 8
%18 = fdiv double %17, 2.000000e+00
store double %18, ptr %5, align 8
br label %19
19: ; preds = %28, %10
%20 = load double, ptr %5, align 8
%21 = load double, ptr %5, align 8
%22 = load double, ptr %3, align 8
%23 = fneg double %22
%24 = call double @llvm.fmuladd.f64(double %20, double %21, double %23)
%25 = call double @fabs(double noundef %24)
%26 = load double, ptr %4, align 8
%27 = fcmp ogt double %25, %26
br i1 %27, label %28, label %35
28: ; preds = %19
%29 = load double, ptr %5, align 8
%30 = load double, ptr %3, align 8
%31 = load double, ptr %5, align 8
%32 = fdiv double %30, %31
%33 = fadd double %29, %32
%34 = fdiv double %33, 2.000000e+00
store double %34, ptr %5, align 8
br label %19, !llvm.loop !6
35: ; preds = %19
%36 = load double, ptr %5, align 8
store double %36, ptr %2, align 8
br label %37
37: ; preds = %35, %8
%38 = load double, ptr %2, align 8
ret double %38
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
declare double @fabs(double noundef) #2
; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpktplr_hm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EDOM = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@DBL_DIG = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @NewtonSquareRoot(double noundef %0) #0 {
%2 = alloca double, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
%5 = alloca double, align 8
store double %0, ptr %3, align 8
%6 = load double, ptr %3, align 8
%7 = fcmp olt double %6, 0.000000e+00
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = load i32, ptr @EDOM, align 4
store i32 %9, ptr @errno, align 4
store double 0.000000e+00, ptr %2, align 8
br label %44
10: ; preds = %1
%11 = load i32, ptr @DBL_DIG, align 4
%12 = sub nsw i32 %11, 1
%13 = sitofp i32 %12 to double
%14 = fmul double -1.000000e+00, %13
%15 = call double @pow(double noundef 1.000000e+01, double noundef %14) #4
%16 = fmul double 1.000000e+00, %15
store double %16, ptr %4, align 8
%17 = load double, ptr %3, align 8
%18 = fdiv double %17, 2.000000e+00
store double %18, ptr %5, align 8
%19 = load double, ptr %5, align 8
%20 = load double, ptr %5, align 8
%21 = load double, ptr %3, align 8
%22 = fneg double %21
%23 = call double @llvm.fmuladd.f64(double %19, double %20, double %22)
%24 = call double @fabs(double noundef %23)
%25 = load double, ptr %4, align 8
%26 = fcmp ogt double %24, %25
br i1 %26, label %.lr.ph, label %42
.lr.ph: ; preds = %10
br label %27
27: ; preds = %.lr.ph, %27
%28 = load double, ptr %5, align 8
%29 = load double, ptr %3, align 8
%30 = load double, ptr %5, align 8
%31 = fdiv double %29, %30
%32 = fadd double %28, %31
%33 = fdiv double %32, 2.000000e+00
store double %33, ptr %5, align 8
%34 = load double, ptr %5, align 8
%35 = load double, ptr %5, align 8
%36 = load double, ptr %3, align 8
%37 = fneg double %36
%38 = call double @llvm.fmuladd.f64(double %34, double %35, double %37)
%39 = call double @fabs(double noundef %38)
%40 = load double, ptr %4, align 8
%41 = fcmp ogt double %39, %40
br i1 %41, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %42
42: ; preds = %._crit_edge, %10
%43 = load double, ptr %5, align 8
store double %43, ptr %2, align 8
br label %44
44: ; preds = %42, %8
%45 = load double, ptr %2, align 8
ret double %45
}
; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #1
declare double @fabs(double noundef) #2
; 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpoo24gsr6.c'
source_filename = "/tmp/tmpoo24gsr6.c"
target datalayout = "e-m:e-p270: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 [79 x i8] c"Privilege escalation failed. Is the setuid bit set (chmod u+s iolatency.elf)?\0A\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"/opt/circonus/nad/etc/node-agent.d/linux/bccbpf/iolatency.py\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @setuid(i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %11
9: ; preds = %0
%10 = call i32 @system(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @setuid(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoo24gsr6.c"
target datalayout = "e-m:e-p270: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 [79 x i8] c"Privilege escalation failed. Is the setuid bit set (chmod u+s iolatency.elf)?\0A\00", align 1
@.str.1 = private unnamed_addr constant [61 x i8] c"/opt/circonus/nad/etc/node-agent.d/linux/bccbpf/iolatency.py\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 @setuid(i32 noundef 0)
store i32 %3, ptr %2, align 4
%4 = load i32, ptr %2, align 4
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %9
6: ; preds = %0
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str)
store i32 -1, ptr %1, align 4
br label %11
9: ; preds = %0
%10 = call i32 @system(ptr noundef @.str.1)
store i32 0, ptr %1, align 4
br label %11
11: ; preds = %9, %6
%12 = load i32, ptr %1, align 4
ret i32 %12
}
declare i32 @setuid(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @system(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwsykzten.c'
source_filename = "/tmp/tmpwsykzten.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_idx_1n(ptr noalias noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
br label %6
6: ; preds = %15, %2
%7 = load i64, ptr %5, align 8
%8 = load i64, ptr %4, align 8
%9 = icmp ult i64 %7, %8
br i1 %9, label %10, label %18
10: ; preds = %6
%11 = load i64, ptr %5, align 8
%12 = load ptr, ptr %3, align 8
%13 = load i64, ptr %5, align 8
%14 = getelementptr inbounds i64, ptr %12, i64 %13
store i64 %11, ptr %14, align 8
br label %15
15: ; preds = %10
%16 = load i64, ptr %5, align 8
%17 = add i64 %16, 1
store i64 %17, ptr %5, align 8
br label %6, !llvm.loop !6
18: ; preds = %6
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/tmpwsykzten.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fill_idx_1n(ptr noalias noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
store i64 0, ptr %5, align 8
%6 = load i64, ptr %5, align 8
%7 = load i64, ptr %4, align 8
%8 = icmp ult i64 %6, %7
br i1 %8, label %.lr.ph, label %20
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i64, ptr %5, align 8
%11 = load ptr, ptr %3, align 8
%12 = load i64, ptr %5, align 8
%13 = getelementptr inbounds i64, ptr %11, i64 %12
store i64 %10, ptr %13, align 8
br label %14
14: ; preds = %9
%15 = load i64, ptr %5, align 8
%16 = add i64 %15, 1
store i64 %16, ptr %5, align 8
%17 = load i64, ptr %5, align 8
%18 = load i64, ptr %4, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %20
20: ; preds = %._crit_edge, %2
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/tmptxuzdh2d.c'
source_filename = "/tmp/tmptxuzdh2d.c"
target datalayout = "e-m:e-p270: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/tmptxuzdh2d.c"
target datalayout = "e-m:e-p270: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/tmp8d7bvwws.c'
source_filename = "/tmp/tmp8d7bvwws.c"
target datalayout = "e-m:e-p270: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/tmp8d7bvwws.c"
target datalayout = "e-m:e-p270: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/tmp1vulwi9x.c'
source_filename = "/tmp/tmp1vulwi9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"node (IP %s port %u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"node (IPv6 %s port %u)\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"node (hostname %s port %u)\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"unknown node address type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nodelist_cb(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
switch i32 %9, label %22 [
i32 160, label %10
i32 161, label %14
i32 162, label %18
]
10: ; preds = %4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %11, i32 noundef %12)
br label %24
14: ; preds = %4
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15, i32 noundef %16)
br label %24
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %8, align 4
%21 = call i32 @printf(ptr noundef @.str.2, ptr noundef %19, i32 noundef %20)
br label %24
22: ; preds = %4
%23 = call i32 @puts(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %18, %14, %10
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1vulwi9x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"node (IP %s port %u)\0A\00", align 1
@.str.1 = private unnamed_addr constant [23 x i8] c"node (IPv6 %s port %u)\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"node (hostname %s port %u)\0A\00", align 1
@.str.3 = private unnamed_addr constant [26 x i8] c"unknown node address type\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nodelist_cb(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
switch i32 %9, label %22 [
i32 160, label %10
i32 161, label %14
i32 162, label %18
]
10: ; preds = %4
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @printf(ptr noundef @.str, ptr noundef %11, i32 noundef %12)
br label %24
14: ; preds = %4
%15 = load ptr, ptr %7, align 8
%16 = load i32, ptr %8, align 4
%17 = call i32 @printf(ptr noundef @.str.1, ptr noundef %15, i32 noundef %16)
br label %24
18: ; preds = %4
%19 = load ptr, ptr %7, align 8
%20 = load i32, ptr %8, align 4
%21 = call i32 @printf(ptr noundef @.str.2, ptr noundef %19, i32 noundef %20)
br label %24
22: ; preds = %4
%23 = call i32 @puts(ptr noundef @.str.3)
br label %24
24: ; preds = %22, %18, %14, %10
ret void
}
declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @puts(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpymhhjhjo.c'
source_filename = "/tmp/tmpymhhjhjo.c"
target datalayout = "e-m:e-p270: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/tmpymhhjhjo.c"
target datalayout = "e-m:e-p270: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/tmpmctr40p2.c'
source_filename = "/tmp/tmpmctr40p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getArgs(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
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @firstWordIndex(ptr noundef %9)
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str)
br label %26
19: ; preds = %2
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = call i32 @strcpy(ptr noundef %20, ptr noundef %24)
br label %26
26: ; preds = %19, %16
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @firstWordIndex(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmctr40p2.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @getArgs(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
%7 = load ptr, ptr %3, align 8
%8 = call i32 @strlen(ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = load ptr, ptr %3, align 8
%10 = call i32 @firstWordIndex(ptr noundef %9)
%11 = add nsw i32 %10, 1
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %5, align 4
%14 = add nsw i32 %13, 1
%15 = icmp eq i32 %12, %14
br i1 %15, label %16, label %19
16: ; preds = %2
%17 = load ptr, ptr %4, align 8
%18 = call i32 @strcpy(ptr noundef %17, ptr noundef @.str)
br label %26
19: ; preds = %2
%20 = load ptr, ptr %4, align 8
%21 = load ptr, ptr %3, align 8
%22 = load i32, ptr %6, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
%25 = call i32 @strcpy(ptr noundef %20, ptr noundef %24)
br label %26
26: ; preds = %19, %16
ret void
}
declare i32 @strlen(ptr noundef) #1
declare i32 @firstWordIndex(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9qbvcohv.c'
source_filename = "/tmp/tmp9qbvcohv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bl_custom_ram_baseaddr() #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/tmp9qbvcohv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bl_custom_ram_baseaddr() #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/tmp6ux0fzo5.c'
source_filename = "/tmp/tmp6ux0fzo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @remove_new_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %14, label %20
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %14, %1
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
ret i64 %23
}
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/tmp6ux0fzo5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @remove_new_line(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call i32 @strlen(ptr noundef %4)
store i32 %5, ptr %3, align 4
%6 = load ptr, ptr %2, align 8
%7 = load i32, ptr %3, align 4
%8 = sub nsw i32 %7, 1
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
%11 = load i8, ptr %10, align 1
%12 = sext i8 %11 to i32
%13 = icmp eq i32 %12, 10
br i1 %13, label %14, label %20
14: ; preds = %1
%15 = load ptr, ptr %2, align 8
%16 = load i32, ptr %3, align 4
%17 = sub nsw i32 %16, 1
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %15, i64 %18
store i8 0, ptr %19, align 1
br label %20
20: ; preds = %14, %1
%21 = load i32, ptr %3, align 4
%22 = sub nsw i32 %21, 1
%23 = sext i32 %22 to i64
ret i64 %23
}
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/tmpyluge6o8.c'
source_filename = "/tmp/tmpyluge6o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"HAVE_MMX=1\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"HAVE_SSE=1\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"HAVE_SSE2=1\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"HAVE_SSE3=1\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"HAVE_SSSE3=1\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"HAVE_SSE4_1=1\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"HAVE_SSE4_2=1\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"HAVE_SSE4A=1\0A\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"HAVE_SSSE5=1\0A\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"HAVE_AVX=1\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"HAVE_3DNOWEX=1\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"HAVE_3DNOW=1\0A\00", align 1
@.str.12 = private unnamed_addr constant [13 x i8] c"HAVE_FMA4=1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_sse() #0 {
%1 = alloca i32, align 4
%2 = call i32 @get_cputype(i32 noundef 11)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = and i32 %3, 256
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %0
%9 = load i32, ptr %1, align 4
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %1, align 4
%16 = and i32 %15, 2
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %18, %14
%21 = load i32, ptr %1, align 4
%22 = and i32 %21, 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.3)
br label %26
26: ; preds = %24, %20
%27 = load i32, ptr %1, align 4
%28 = and i32 %27, 8
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(ptr noundef @.str.4)
br label %32
32: ; preds = %30, %26
%33 = load i32, ptr %1, align 4
%34 = and i32 %33, 16
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %32
%39 = load i32, ptr %1, align 4
%40 = and i32 %39, 32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @printf(ptr noundef @.str.6)
br label %44
44: ; preds = %42, %38
%45 = load i32, ptr %1, align 4
%46 = and i32 %45, 64
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.7)
br label %50
50: ; preds = %48, %44
%51 = load i32, ptr %1, align 4
%52 = and i32 %51, 128
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @printf(ptr noundef @.str.8)
br label %56
56: ; preds = %54, %50
%57 = load i32, ptr %1, align 4
%58 = and i32 %57, 262144
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @printf(ptr noundef @.str.9)
br label %62
62: ; preds = %60, %56
%63 = load i32, ptr %1, align 4
%64 = and i32 %63, 1024
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = call i32 @printf(ptr noundef @.str.10)
br label %68
68: ; preds = %66, %62
%69 = load i32, ptr %1, align 4
%70 = and i32 %69, 512
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = call i32 @printf(ptr noundef @.str.11)
br label %74
74: ; preds = %72, %68
%75 = load i32, ptr %1, align 4
%76 = and i32 %75, 524288
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = call i32 @printf(ptr noundef @.str.12)
br label %80
80: ; preds = %78, %74
ret void
}
declare i32 @get_cputype(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyluge6o8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"HAVE_MMX=1\0A\00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"HAVE_SSE=1\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"HAVE_SSE2=1\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"HAVE_SSE3=1\0A\00", align 1
@.str.4 = private unnamed_addr constant [14 x i8] c"HAVE_SSSE3=1\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"HAVE_SSE4_1=1\0A\00", align 1
@.str.6 = private unnamed_addr constant [15 x i8] c"HAVE_SSE4_2=1\0A\00", align 1
@.str.7 = private unnamed_addr constant [14 x i8] c"HAVE_SSE4A=1\0A\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"HAVE_SSSE5=1\0A\00", align 1
@.str.9 = private unnamed_addr constant [12 x i8] c"HAVE_AVX=1\0A\00", align 1
@.str.10 = private unnamed_addr constant [16 x i8] c"HAVE_3DNOWEX=1\0A\00", align 1
@.str.11 = private unnamed_addr constant [14 x i8] c"HAVE_3DNOW=1\0A\00", align 1
@.str.12 = private unnamed_addr constant [13 x i8] c"HAVE_FMA4=1\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @get_sse() #0 {
%1 = alloca i32, align 4
%2 = call i32 @get_cputype(i32 noundef 11)
store i32 %2, ptr %1, align 4
%3 = load i32, ptr %1, align 4
%4 = and i32 %3, 256
%5 = icmp ne i32 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %0
%7 = call i32 @printf(ptr noundef @.str)
br label %8
8: ; preds = %6, %0
%9 = load i32, ptr %1, align 4
%10 = and i32 %9, 1
%11 = icmp ne i32 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @printf(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = load i32, ptr %1, align 4
%16 = and i32 %15, 2
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @printf(ptr noundef @.str.2)
br label %20
20: ; preds = %18, %14
%21 = load i32, ptr %1, align 4
%22 = and i32 %21, 4
%23 = icmp ne i32 %22, 0
br i1 %23, label %24, label %26
24: ; preds = %20
%25 = call i32 @printf(ptr noundef @.str.3)
br label %26
26: ; preds = %24, %20
%27 = load i32, ptr %1, align 4
%28 = and i32 %27, 8
%29 = icmp ne i32 %28, 0
br i1 %29, label %30, label %32
30: ; preds = %26
%31 = call i32 @printf(ptr noundef @.str.4)
br label %32
32: ; preds = %30, %26
%33 = load i32, ptr %1, align 4
%34 = and i32 %33, 16
%35 = icmp ne i32 %34, 0
br i1 %35, label %36, label %38
36: ; preds = %32
%37 = call i32 @printf(ptr noundef @.str.5)
br label %38
38: ; preds = %36, %32
%39 = load i32, ptr %1, align 4
%40 = and i32 %39, 32
%41 = icmp ne i32 %40, 0
br i1 %41, label %42, label %44
42: ; preds = %38
%43 = call i32 @printf(ptr noundef @.str.6)
br label %44
44: ; preds = %42, %38
%45 = load i32, ptr %1, align 4
%46 = and i32 %45, 64
%47 = icmp ne i32 %46, 0
br i1 %47, label %48, label %50
48: ; preds = %44
%49 = call i32 @printf(ptr noundef @.str.7)
br label %50
50: ; preds = %48, %44
%51 = load i32, ptr %1, align 4
%52 = and i32 %51, 128
%53 = icmp ne i32 %52, 0
br i1 %53, label %54, label %56
54: ; preds = %50
%55 = call i32 @printf(ptr noundef @.str.8)
br label %56
56: ; preds = %54, %50
%57 = load i32, ptr %1, align 4
%58 = and i32 %57, 262144
%59 = icmp ne i32 %58, 0
br i1 %59, label %60, label %62
60: ; preds = %56
%61 = call i32 @printf(ptr noundef @.str.9)
br label %62
62: ; preds = %60, %56
%63 = load i32, ptr %1, align 4
%64 = and i32 %63, 1024
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %62
%67 = call i32 @printf(ptr noundef @.str.10)
br label %68
68: ; preds = %66, %62
%69 = load i32, ptr %1, align 4
%70 = and i32 %69, 512
%71 = icmp ne i32 %70, 0
br i1 %71, label %72, label %74
72: ; preds = %68
%73 = call i32 @printf(ptr noundef @.str.11)
br label %74
74: ; preds = %72, %68
%75 = load i32, ptr %1, align 4
%76 = and i32 %75, 524288
%77 = icmp ne i32 %76, 0
br i1 %77, label %78, label %80
78: ; preds = %74
%79 = call i32 @printf(ptr noundef @.str.12)
br label %80
80: ; preds = %78, %74
ret void
}
declare i32 @get_cputype(i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmprsalc6xz.c'
source_filename = "/tmp/tmprsalc6xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bp_sw_EVDDensity(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
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %6, align 4
%8 = load float, ptr %6, align 4
%9 = fpext float %8 to double
%10 = fmul double -1.000000e+00, %9
%11 = load float, ptr %4, align 4
%12 = load float, ptr %5, align 4
%13 = fsub float %11, %12
%14 = fpext float %13 to double
%15 = load float, ptr %6, align 4
%16 = fpext float %15 to double
%17 = fmul double -1.000000e+00, %16
%18 = load float, ptr %4, align 4
%19 = load float, ptr %5, align 4
%20 = fsub float %18, %19
%21 = fpext float %20 to double
%22 = fmul double %17, %21
%23 = fptosi double %22 to i32
%24 = call float @exp(i32 noundef %23)
%25 = fpext float %24 to double
%26 = fneg double %25
%27 = call double @llvm.fmuladd.f64(double %10, double %14, double %26)
%28 = fptosi double %27 to i32
%29 = call float @exp(i32 noundef %28)
%30 = fmul float %7, %29
%31 = fpext float %30 to double
ret double %31
}
declare float @exp(i32 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/tmprsalc6xz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bp_sw_EVDDensity(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
store float %0, ptr %4, align 4
store float %1, ptr %5, align 4
store float %2, ptr %6, align 4
%7 = load float, ptr %6, align 4
%8 = load float, ptr %6, align 4
%9 = fpext float %8 to double
%10 = fmul double -1.000000e+00, %9
%11 = load float, ptr %4, align 4
%12 = load float, ptr %5, align 4
%13 = fsub float %11, %12
%14 = fpext float %13 to double
%15 = load float, ptr %6, align 4
%16 = fpext float %15 to double
%17 = fmul double -1.000000e+00, %16
%18 = load float, ptr %4, align 4
%19 = load float, ptr %5, align 4
%20 = fsub float %18, %19
%21 = fpext float %20 to double
%22 = fmul double %17, %21
%23 = fptosi double %22 to i32
%24 = call float @exp(i32 noundef %23)
%25 = fpext float %24 to double
%26 = fneg double %25
%27 = call double @llvm.fmuladd.f64(double %10, double %14, double %26)
%28 = fptosi double %27 to i32
%29 = call float @exp(i32 noundef %28)
%30 = fmul float %7, %29
%31 = fpext float %30 to double
ret double %31
}
declare float @exp(i32 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/tmpfrb47ahq.c'
source_filename = "/tmp/tmpfrb47ahq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %5)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i8, ptr %5, align 1
%10 = call i32 @ComparaNum(i32 noundef %7, i32 noundef %8, i8 noundef signext %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @ComparaNum(i32 noundef, i32 noundef, i8 noundef signext) #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/tmpfrb47ahq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%d %d %c\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i8, align 1
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %5)
%7 = load i32, ptr %2, align 4
%8 = load i32, ptr %3, align 4
%9 = load i8, ptr %5, align 1
%10 = call i32 @ComparaNum(i32 noundef %7, i32 noundef %8, i8 noundef signext %9)
store i32 %10, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @printf(ptr noundef @.str.1, i32 noundef %11)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @ComparaNum(i32 noundef, i32 noundef, i8 noundef signext) #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/tmp8es30y9p.c'
source_filename = "/tmp/tmp8es30y9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Usage: %s levelfile\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"uint8_t data_%s[] = {\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"%s: Empty file?\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"%s: Invalid block count\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"\09\090x%02x,\0A\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"%s: Unexpected EOF\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"%d , %d , %d\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"\09\090x%02x, 0x%02x, 0x%02x, 0x%02x,\0A\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c"%s: Couldn't parse line\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"ascii %d %d\00", align 1
@.str.13 = private unnamed_addr constant [20 x i8] c"%s: Too many blocks\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"%s: Unsupported high-level format\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [128 x i8], align 16
%16 = alloca i32, align 4
%17 = alloca [262144 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%18 = call i32 @srand(i32 noundef 0)
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %26
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 @errx(i32 noundef 1, ptr noundef @.str, ptr noundef %24)
br label %26
26: ; preds = %21, %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %13, align 8
%30 = load ptr, ptr %13, align 8
store ptr %30, ptr %14, align 8
br label %31
31: ; preds = %35, %26
%32 = load ptr, ptr %14, align 8
%33 = call ptr @index(ptr noundef %32, i8 noundef signext 47)
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %39
35: ; preds = %31
%36 = load ptr, ptr %14, align 8
%37 = call ptr @index(ptr noundef %36, i8 noundef signext 47)
%38 = getelementptr inbounds i8, ptr %37, i64 1
store ptr %38, ptr %14, align 8
br label %31, !llvm.loop !6
39: ; preds = %31
%40 = load ptr, ptr %13, align 8
%41 = call ptr @fopen(ptr noundef %40, ptr noundef @.str.1)
store ptr %41, ptr %6, align 8
%42 = load ptr, ptr %6, align 8
%43 = icmp ne ptr %42, null
br i1 %43, label %47, label %44
44: ; preds = %39
%45 = load ptr, ptr %13, align 8
%46 = call i32 @err(i32 noundef 1, ptr noundef @.str.2, ptr noundef %45)
br label %47
47: ; preds = %44, %39
%48 = load ptr, ptr %14, align 8
%49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %48)
%50 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%51 = load ptr, ptr %6, align 8
%52 = call i32 @fgets(ptr noundef %50, i32 noundef 128, ptr noundef %51)
%53 = icmp ne i32 %52, 0
br i1 %53, label %57, label %54
54: ; preds = %47
%55 = load ptr, ptr %13, align 8
%56 = call i32 @err(i32 noundef 1, ptr noundef @.str.4, ptr noundef %55)
br label %57
57: ; preds = %54, %47
%58 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%59 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %58, ptr noundef @.str.5, ptr noundef %7)
%60 = icmp eq i32 1, %59
br i1 %60, label %61, label %108
61: ; preds = %57
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %62, 1
br i1 %63, label %67, label %64
64: ; preds = %61
%65 = load i32, ptr %7, align 4
%66 = icmp sgt i32 %65, 255
br i1 %66, label %67, label %70
67: ; preds = %64, %61
%68 = load ptr, ptr %13, align 8
%69 = call i32 @errx(i32 noundef 1, ptr noundef @.str.6, ptr noundef %68)
br label %70
70: ; preds = %67, %64
%71 = load i32, ptr %7, align 4
%72 = and i32 %71, 255
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %72)
%74 = load i32, ptr %7, align 4
%75 = ashr i32 %74, 8
%76 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %75)
store i32 0, ptr %16, align 4
br label %77
77: ; preds = %104, %70
%78 = load i32, ptr %16, align 4
%79 = load i32, ptr %7, align 4
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %107
81: ; preds = %77
%82 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%83 = load ptr, ptr %6, align 8
%84 = call i32 @fgets(ptr noundef %82, i32 noundef 128, ptr noundef %83)
%85 = icmp ne i32 %84, 0
br i1 %85, label %89, label %86
86: ; preds = %81
%87 = load ptr, ptr %13, align 8
%88 = call i32 @err(i32 noundef 1, ptr noundef @.str.8, ptr noundef %87)
br label %89
89: ; preds = %86, %81
%90 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%91 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %90, ptr noundef @.str.9, ptr noundef %8, ptr noundef %9, ptr noundef %10)
%92 = icmp eq i32 3, %91
br i1 %92, label %93, label %100
93: ; preds = %89
%94 = load i32, ptr %8, align 4
%95 = call i32 (...) @rand()
%96 = srem i32 %95, 6
%97 = load i32, ptr %9, align 4
%98 = load i32, ptr %10, align 4
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %94, i32 noundef %96, i32 noundef %97, i32 noundef %98)
br label %103
100: ; preds = %89
%101 = load ptr, ptr %13, align 8
%102 = call i32 @errx(i32 noundef 1, ptr noundef @.str.11, ptr noundef %101)
br label %103
103: ; preds = %100, %93
br label %104
104: ; preds = %103
%105 = load i32, ptr %16, align 4
%106 = add nsw i32 %105, 1
store i32 %106, ptr %16, align 4
br label %77, !llvm.loop !8
107: ; preds = %77
br label %263
108: ; preds = %57
%109 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%110 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %109, ptr noundef @.str.12, ptr noundef %11, ptr noundef %12)
%111 = icmp eq i32 2, %110
br i1 %111, label %112, label %259
112: ; preds = %108
store i32 0, ptr %7, align 4
store i32 0, ptr %10, align 4
br label %113
113: ; preds = %215, %112
%114 = load i32, ptr %10, align 4
%115 = load i32, ptr %12, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %117, label %218
117: ; preds = %113
%118 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%119 = load ptr, ptr %6, align 8
%120 = call i32 @fgets(ptr noundef %118, i32 noundef 128, ptr noundef %119)
%121 = icmp ne i32 %120, 0
br i1 %121, label %125, label %122
122: ; preds = %117
%123 = load ptr, ptr %13, align 8
%124 = call i32 @err(i32 noundef 1, ptr noundef @.str.8, ptr noundef %123)
br label %125
125: ; preds = %122, %117
store i32 0, ptr %9, align 4
br label %126
126: ; preds = %211, %125
%127 = load i32, ptr %9, align 4
%128 = load i32, ptr %11, align 4
%129 = icmp slt i32 %127, %128
br i1 %129, label %130, label %214
130: ; preds = %126
%131 = load i32, ptr %9, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %132
%134 = load i8, ptr %133, align 1
%135 = sext i8 %134 to i32
%136 = icmp ne i32 %135, 46
br i1 %136, label %137, label %210
137: ; preds = %130
%138 = load i32, ptr %7, align 4
%139 = icmp sge i32 %138, 65535
br i1 %139, label %140, label %143
140: ; preds = %137
%141 = load ptr, ptr %13, align 8
%142 = call i32 @errx(i32 noundef 1, ptr noundef @.str.13, ptr noundef %141)
br label %143
143: ; preds = %140, %137
%144 = load i32, ptr %9, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %145
%147 = load i8, ptr %146, align 1
%148 = sext i8 %147 to i32
switch i32 %148, label %173 [
i32 42, label %149
i32 82, label %160
]
149: ; preds = %143
%150 = load i32, ptr %7, align 4
%151 = mul nsw i32 %150, 4
%152 = add nsw i32 %151, 0
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %153
store i32 1, ptr %154, align 4
%155 = load i32, ptr %7, align 4
%156 = mul nsw i32 %155, 4
%157 = add nsw i32 %156, 1
%158 = sext i32 %157 to i64
%159 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %158
store i32 0, ptr %159, align 4
br label %190
160: ; preds = %143
%161 = load i32, ptr %7, align 4
%162 = mul nsw i32 %161, 4
%163 = add nsw i32 %162, 0
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %164
store i32 1, ptr %165, align 4
%166 = call i32 (...) @rand()
%167 = srem i32 %166, 6
%168 = load i32, ptr %7, align 4
%169 = mul nsw i32 %168, 4
%170 = add nsw i32 %169, 1
%171 = sext i32 %170 to i64
%172 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %171
store i32 %167, ptr %172, align 4
br label %190
173: ; preds = %143
%174 = load i32, ptr %7, align 4
%175 = mul nsw i32 %174, 4
%176 = add nsw i32 %175, 0
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %177
store i32 0, ptr %178, align 4
%179 = load i32, ptr %9, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %180
%182 = load i8, ptr %181, align 1
%183 = sext i8 %182 to i32
%184 = sub nsw i32 %183, 49
%185 = load i32, ptr %7, align 4
%186 = mul nsw i32 %185, 4
%187 = add nsw i32 %186, 1
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %188
store i32 %184, ptr %189, align 4
br label %190
190: ; preds = %173, %160, %149
%191 = load i32, ptr %9, align 4
%192 = mul nsw i32 %191, 16
%193 = load i32, ptr %7, align 4
%194 = mul nsw i32 %193, 4
%195 = add nsw i32 %194, 2
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %196
store i32 %192, ptr %197, align 4
%198 = load i32, ptr %12, align 4
%199 = sub nsw i32 %198, 1
%200 = load i32, ptr %10, align 4
%201 = sub nsw i32 %199, %200
%202 = mul nsw i32 %201, 16
%203 = load i32, ptr %7, align 4
%204 = mul nsw i32 %203, 4
%205 = add nsw i32 %204, 3
%206 = sext i32 %205 to i64
%207 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %206
store i32 %202, ptr %207, align 4
%208 = load i32, ptr %7, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %7, align 4
br label %210
210: ; preds = %190, %130
br label %211
211: ; preds = %210
%212 = load i32, ptr %9, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %9, align 4
br label %126, !llvm.loop !9
214: ; preds = %126
br label %215
215: ; preds = %214
%216 = load i32, ptr %10, align 4
%217 = add nsw i32 %216, 1
store i32 %217, ptr %10, align 4
br label %113, !llvm.loop !10
218: ; preds = %113
%219 = load i32, ptr %7, align 4
%220 = and i32 %219, 255
%221 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %220)
%222 = load i32, ptr %7, align 4
%223 = ashr i32 %222, 8
%224 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %223)
store i32 0, ptr %16, align 4
br label %225
225: ; preds = %255, %218
%226 = load i32, ptr %16, align 4
%227 = load i32, ptr %7, align 4
%228 = icmp slt i32 %226, %227
br i1 %228, label %229, label %258
229: ; preds = %225
%230 = load i32, ptr %16, align 4
%231 = mul nsw i32 %230, 4
%232 = add nsw i32 %231, 0
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %233
%235 = load i32, ptr %234, align 4
%236 = load i32, ptr %16, align 4
%237 = mul nsw i32 %236, 4
%238 = add nsw i32 %237, 1
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %239
%241 = load i32, ptr %240, align 4
%242 = load i32, ptr %16, align 4
%243 = mul nsw i32 %242, 4
%244 = add nsw i32 %243, 2
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %245
%247 = load i32, ptr %246, align 4
%248 = load i32, ptr %16, align 4
%249 = mul nsw i32 %248, 4
%250 = add nsw i32 %249, 3
%251 = sext i32 %250 to i64
%252 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %251
%253 = load i32, ptr %252, align 4
%254 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %235, i32 noundef %241, i32 noundef %247, i32 noundef %253)
br label %255
255: ; preds = %229
%256 = load i32, ptr %16, align 4
%257 = add nsw i32 %256, 1
store i32 %257, ptr %16, align 4
br label %225, !llvm.loop !11
258: ; preds = %225
br label %262
259: ; preds = %108
%260 = load ptr, ptr %13, align 8
%261 = call i32 @errx(i32 noundef 1, ptr noundef @.str.14, ptr noundef %260)
br label %262
262: ; preds = %259, %258
br label %263
263: ; preds = %262, %107
%264 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @index(ptr noundef, i8 noundef signext) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8es30y9p.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [20 x i8] c"Usage: %s levelfile\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"uint8_t data_%s[] = {\0A\00", align 1
@.str.4 = private unnamed_addr constant [16 x i8] c"%s: Empty file?\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.6 = private unnamed_addr constant [24 x i8] c"%s: Invalid block count\00", align 1
@.str.7 = private unnamed_addr constant [11 x i8] c"\09\090x%02x,\0A\00", align 1
@.str.8 = private unnamed_addr constant [19 x i8] c"%s: Unexpected EOF\00", align 1
@.str.9 = private unnamed_addr constant [13 x i8] c"%d , %d , %d\00", align 1
@.str.10 = private unnamed_addr constant [35 x i8] c"\09\090x%02x, 0x%02x, 0x%02x, 0x%02x,\0A\00", align 1
@.str.11 = private unnamed_addr constant [24 x i8] c"%s: Couldn't parse line\00", align 1
@.str.12 = private unnamed_addr constant [12 x i8] c"ascii %d %d\00", align 1
@.str.13 = private unnamed_addr constant [20 x i8] c"%s: Too many blocks\00", align 1
@.str.14 = private unnamed_addr constant [34 x i8] c"%s: Unsupported high-level format\00", align 1
@.str.15 = private unnamed_addr constant [4 x i8] c"};\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca [128 x i8], align 16
%16 = alloca i32, align 4
%17 = alloca [262144 x i32], align 16
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%18 = call i32 @srand(i32 noundef 0)
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 2
br i1 %20, label %21, label %26
21: ; preds = %2
%22 = load ptr, ptr %5, align 8
%23 = getelementptr inbounds ptr, ptr %22, i64 0
%24 = load ptr, ptr %23, align 8
%25 = call i32 @errx(i32 noundef 1, ptr noundef @.str, ptr noundef %24)
br label %26
26: ; preds = %21, %2
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
store ptr %29, ptr %13, align 8
%30 = load ptr, ptr %13, align 8
store ptr %30, ptr %14, align 8
%31 = load ptr, ptr %14, align 8
%32 = call ptr @index(ptr noundef %31, i8 noundef signext 47)
%33 = icmp ne ptr %32, null
br i1 %33, label %.lr.ph, label %41
.lr.ph: ; preds = %26
br label %34
34: ; preds = %.lr.ph, %34
%35 = load ptr, ptr %14, align 8
%36 = call ptr @index(ptr noundef %35, i8 noundef signext 47)
%37 = getelementptr inbounds i8, ptr %36, i64 1
store ptr %37, ptr %14, align 8
%38 = load ptr, ptr %14, align 8
%39 = call ptr @index(ptr noundef %38, i8 noundef signext 47)
%40 = icmp ne ptr %39, null
br i1 %40, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %34
br label %41
41: ; preds = %._crit_edge, %26
%42 = load ptr, ptr %13, align 8
%43 = call ptr @fopen(ptr noundef %42, ptr noundef @.str.1)
store ptr %43, ptr %6, align 8
%44 = load ptr, ptr %6, align 8
%45 = icmp ne ptr %44, null
br i1 %45, label %49, label %46
46: ; preds = %41
%47 = load ptr, ptr %13, align 8
%48 = call i32 @err(i32 noundef 1, ptr noundef @.str.2, ptr noundef %47)
br label %49
49: ; preds = %46, %41
%50 = load ptr, ptr %14, align 8
%51 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %50)
%52 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%53 = load ptr, ptr %6, align 8
%54 = call i32 @fgets(ptr noundef %52, i32 noundef 128, ptr noundef %53)
%55 = icmp ne i32 %54, 0
br i1 %55, label %59, label %56
56: ; preds = %49
%57 = load ptr, ptr %13, align 8
%58 = call i32 @err(i32 noundef 1, ptr noundef @.str.4, ptr noundef %57)
br label %59
59: ; preds = %56, %49
%60 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%61 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %60, ptr noundef @.str.5, ptr noundef %7)
%62 = icmp eq i32 1, %61
br i1 %62, label %63, label %112
63: ; preds = %59
%64 = load i32, ptr %7, align 4
%65 = icmp slt i32 %64, 1
br i1 %65, label %69, label %66
66: ; preds = %63
%67 = load i32, ptr %7, align 4
%68 = icmp sgt i32 %67, 255
br i1 %68, label %69, label %72
69: ; preds = %66, %63
%70 = load ptr, ptr %13, align 8
%71 = call i32 @errx(i32 noundef 1, ptr noundef @.str.6, ptr noundef %70)
br label %72
72: ; preds = %69, %66
%73 = load i32, ptr %7, align 4
%74 = and i32 %73, 255
%75 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %74)
%76 = load i32, ptr %7, align 4
%77 = ashr i32 %76, 8
%78 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %77)
store i32 0, ptr %16, align 4
%79 = load i32, ptr %16, align 4
%80 = load i32, ptr %7, align 4
%81 = icmp slt i32 %79, %80
br i1 %81, label %.lr.ph11, label %111
.lr.ph11: ; preds = %72
br label %82
82: ; preds = %.lr.ph11, %105
%83 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%84 = load ptr, ptr %6, align 8
%85 = call i32 @fgets(ptr noundef %83, i32 noundef 128, ptr noundef %84)
%86 = icmp ne i32 %85, 0
br i1 %86, label %90, label %87
87: ; preds = %82
%88 = load ptr, ptr %13, align 8
%89 = call i32 @err(i32 noundef 1, ptr noundef @.str.8, ptr noundef %88)
br label %90
90: ; preds = %87, %82
%91 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%92 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %91, ptr noundef @.str.9, ptr noundef %8, ptr noundef %9, ptr noundef %10)
%93 = icmp eq i32 3, %92
br i1 %93, label %94, label %101
94: ; preds = %90
%95 = load i32, ptr %8, align 4
%96 = call i32 (...) @rand()
%97 = srem i32 %96, 6
%98 = load i32, ptr %9, align 4
%99 = load i32, ptr %10, align 4
%100 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %95, i32 noundef %97, i32 noundef %98, i32 noundef %99)
br label %104
101: ; preds = %90
%102 = load ptr, ptr %13, align 8
%103 = call i32 @errx(i32 noundef 1, ptr noundef @.str.11, ptr noundef %102)
br label %104
104: ; preds = %101, %94
br label %105
105: ; preds = %104
%106 = load i32, ptr %16, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %16, align 4
%108 = load i32, ptr %16, align 4
%109 = load i32, ptr %7, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %82, label %._crit_edge12, !llvm.loop !8
._crit_edge12: ; preds = %105
br label %111
111: ; preds = %._crit_edge12, %72
br label %273
112: ; preds = %59
%113 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%114 = call i32 (ptr, ptr, ptr, ...) @sscanf(ptr noundef %113, ptr noundef @.str.12, ptr noundef %11, ptr noundef %12)
%115 = icmp eq i32 2, %114
br i1 %115, label %116, label %269
116: ; preds = %112
store i32 0, ptr %7, align 4
store i32 0, ptr %10, align 4
%117 = load i32, ptr %10, align 4
%118 = load i32, ptr %12, align 4
%119 = icmp slt i32 %117, %118
br i1 %119, label %.lr.ph5, label %226
.lr.ph5: ; preds = %116
br label %120
120: ; preds = %.lr.ph5, %220
%121 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 0
%122 = load ptr, ptr %6, align 8
%123 = call i32 @fgets(ptr noundef %121, i32 noundef 128, ptr noundef %122)
%124 = icmp ne i32 %123, 0
br i1 %124, label %128, label %125
125: ; preds = %120
%126 = load ptr, ptr %13, align 8
%127 = call i32 @err(i32 noundef 1, ptr noundef @.str.8, ptr noundef %126)
br label %128
128: ; preds = %125, %120
store i32 0, ptr %9, align 4
%129 = load i32, ptr %9, align 4
%130 = load i32, ptr %11, align 4
%131 = icmp slt i32 %129, %130
br i1 %131, label %.lr.ph2, label %219
.lr.ph2: ; preds = %128
br label %132
132: ; preds = %.lr.ph2, %213
%133 = load i32, ptr %9, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %134
%136 = load i8, ptr %135, align 1
%137 = sext i8 %136 to i32
%138 = icmp ne i32 %137, 46
br i1 %138, label %139, label %212
139: ; preds = %132
%140 = load i32, ptr %7, align 4
%141 = icmp sge i32 %140, 65535
br i1 %141, label %142, label %145
142: ; preds = %139
%143 = load ptr, ptr %13, align 8
%144 = call i32 @errx(i32 noundef 1, ptr noundef @.str.13, ptr noundef %143)
br label %145
145: ; preds = %142, %139
%146 = load i32, ptr %9, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %147
%149 = load i8, ptr %148, align 1
%150 = sext i8 %149 to i32
switch i32 %150, label %175 [
i32 42, label %151
i32 82, label %162
]
151: ; preds = %145
%152 = load i32, ptr %7, align 4
%153 = mul nsw i32 %152, 4
%154 = add nsw i32 %153, 0
%155 = sext i32 %154 to i64
%156 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %155
store i32 1, ptr %156, align 4
%157 = load i32, ptr %7, align 4
%158 = mul nsw i32 %157, 4
%159 = add nsw i32 %158, 1
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %160
store i32 0, ptr %161, align 4
br label %192
162: ; preds = %145
%163 = load i32, ptr %7, align 4
%164 = mul nsw i32 %163, 4
%165 = add nsw i32 %164, 0
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %166
store i32 1, ptr %167, align 4
%168 = call i32 (...) @rand()
%169 = srem i32 %168, 6
%170 = load i32, ptr %7, align 4
%171 = mul nsw i32 %170, 4
%172 = add nsw i32 %171, 1
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %173
store i32 %169, ptr %174, align 4
br label %192
175: ; preds = %145
%176 = load i32, ptr %7, align 4
%177 = mul nsw i32 %176, 4
%178 = add nsw i32 %177, 0
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %179
store i32 0, ptr %180, align 4
%181 = load i32, ptr %9, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds [128 x i8], ptr %15, i64 0, i64 %182
%184 = load i8, ptr %183, align 1
%185 = sext i8 %184 to i32
%186 = sub nsw i32 %185, 49
%187 = load i32, ptr %7, align 4
%188 = mul nsw i32 %187, 4
%189 = add nsw i32 %188, 1
%190 = sext i32 %189 to i64
%191 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %190
store i32 %186, ptr %191, align 4
br label %192
192: ; preds = %175, %162, %151
%193 = load i32, ptr %9, align 4
%194 = mul nsw i32 %193, 16
%195 = load i32, ptr %7, align 4
%196 = mul nsw i32 %195, 4
%197 = add nsw i32 %196, 2
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %198
store i32 %194, ptr %199, align 4
%200 = load i32, ptr %12, align 4
%201 = sub nsw i32 %200, 1
%202 = load i32, ptr %10, align 4
%203 = sub nsw i32 %201, %202
%204 = mul nsw i32 %203, 16
%205 = load i32, ptr %7, align 4
%206 = mul nsw i32 %205, 4
%207 = add nsw i32 %206, 3
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %208
store i32 %204, ptr %209, align 4
%210 = load i32, ptr %7, align 4
%211 = add nsw i32 %210, 1
store i32 %211, ptr %7, align 4
br label %212
212: ; preds = %192, %132
br label %213
213: ; preds = %212
%214 = load i32, ptr %9, align 4
%215 = add nsw i32 %214, 1
store i32 %215, ptr %9, align 4
%216 = load i32, ptr %9, align 4
%217 = load i32, ptr %11, align 4
%218 = icmp slt i32 %216, %217
br i1 %218, label %132, label %._crit_edge3, !llvm.loop !9
._crit_edge3: ; preds = %213
br label %219
219: ; preds = %._crit_edge3, %128
br label %220
220: ; preds = %219
%221 = load i32, ptr %10, align 4
%222 = add nsw i32 %221, 1
store i32 %222, ptr %10, align 4
%223 = load i32, ptr %10, align 4
%224 = load i32, ptr %12, align 4
%225 = icmp slt i32 %223, %224
br i1 %225, label %120, label %._crit_edge6, !llvm.loop !10
._crit_edge6: ; preds = %220
br label %226
226: ; preds = %._crit_edge6, %116
%227 = load i32, ptr %7, align 4
%228 = and i32 %227, 255
%229 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %228)
%230 = load i32, ptr %7, align 4
%231 = ashr i32 %230, 8
%232 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %231)
store i32 0, ptr %16, align 4
%233 = load i32, ptr %16, align 4
%234 = load i32, ptr %7, align 4
%235 = icmp slt i32 %233, %234
br i1 %235, label %.lr.ph8, label %268
.lr.ph8: ; preds = %226
br label %236
236: ; preds = %.lr.ph8, %262
%237 = load i32, ptr %16, align 4
%238 = mul nsw i32 %237, 4
%239 = add nsw i32 %238, 0
%240 = sext i32 %239 to i64
%241 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %240
%242 = load i32, ptr %241, align 4
%243 = load i32, ptr %16, align 4
%244 = mul nsw i32 %243, 4
%245 = add nsw i32 %244, 1
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %246
%248 = load i32, ptr %247, align 4
%249 = load i32, ptr %16, align 4
%250 = mul nsw i32 %249, 4
%251 = add nsw i32 %250, 2
%252 = sext i32 %251 to i64
%253 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %252
%254 = load i32, ptr %253, align 4
%255 = load i32, ptr %16, align 4
%256 = mul nsw i32 %255, 4
%257 = add nsw i32 %256, 3
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds [262144 x i32], ptr %17, i64 0, i64 %258
%260 = load i32, ptr %259, align 4
%261 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, i32 noundef %242, i32 noundef %248, i32 noundef %254, i32 noundef %260)
br label %262
262: ; preds = %236
%263 = load i32, ptr %16, align 4
%264 = add nsw i32 %263, 1
store i32 %264, ptr %16, align 4
%265 = load i32, ptr %16, align 4
%266 = load i32, ptr %7, align 4
%267 = icmp slt i32 %265, %266
br i1 %267, label %236, label %._crit_edge9, !llvm.loop !11
._crit_edge9: ; preds = %262
br label %268
268: ; preds = %._crit_edge9, %226
br label %272
269: ; preds = %112
%270 = load ptr, ptr %13, align 8
%271 = call i32 @errx(i32 noundef 1, ptr noundef @.str.14, ptr noundef %270)
br label %272
272: ; preds = %269, %268
br label %273
273: ; preds = %272, %111
%274 = call i32 (ptr, ...) @printf(ptr noundef @.str.15)
ret i32 0
}
declare i32 @srand(i32 noundef) #1
declare i32 @errx(i32 noundef, ptr noundef, ptr noundef) #1
declare ptr @index(ptr noundef, i8 noundef signext) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @err(i32 noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef, ...) #1
declare i32 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpcahi9whb.c'
source_filename = "/tmp/tmpcahi9whb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_void() #0 {
%1 = load i32, ptr @TRUE, align 4
ret i32 %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcahi9whb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TRUE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @xdr_void() #0 {
%1 = load i32, ptr @TRUE, align 4
ret i32 %1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5dq7qizt.c'
source_filename = "/tmp/tmp5dq7qizt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NETSCAPE_CERT_SEQUENCE_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @NETSCAPE_CERT_SEQUENCE_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @NETSCAPE_CERT_SEQUENCE_it)
ret void
}
declare i32 @ASN1_item_free(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5dq7qizt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@NETSCAPE_CERT_SEQUENCE_it = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @NETSCAPE_CERT_SEQUENCE_free(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @ASN1_item_free(ptr noundef %3, ptr noundef @NETSCAPE_CERT_SEQUENCE_it)
ret void
}
declare i32 @ASN1_item_free(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvlzdbq9a.c'
source_filename = "/tmp/tmpvlzdbq9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gets(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %2, align 8
br label %49
11: ; preds = %1
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @getc(i32 noundef %12)
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %23, %11
%15 = load i32, ptr @EOF, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 10, %19
br label %21
21: ; preds = %18, %14
%22 = phi i1 [ false, %14 ], [ %20, %18 ]
br i1 %22, label %23, label %30
23: ; preds = %21
%24 = load i32, ptr %4, align 4
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %5, align 8
store i8 %25, ptr %26, align 1
%28 = load i32, ptr @stdin, align 4
%29 = call i32 @getc(i32 noundef %28)
store i32 %29, ptr %4, align 4
br label %14, !llvm.loop !6
30: ; preds = %21
%31 = load i32, ptr @EOF, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = load i32, ptr @stdin, align 4
%36 = call i64 @feof(i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %3, align 8
%41 = icmp eq ptr %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
store ptr null, ptr %2, align 8
br label %49
43: ; preds = %38
br label %45
44: ; preds = %34
store ptr null, ptr %2, align 8
br label %49
45: ; preds = %43
br label %46
46: ; preds = %45, %30
%47 = load ptr, ptr %5, align 8
store i8 0, ptr %47, align 1
%48 = load ptr, ptr %3, align 8
store ptr %48, ptr %2, align 8
br label %49
49: ; preds = %46, %44, %42, %9
%50 = load ptr, ptr %2, align 8
ret ptr %50
}
declare i32 @getc(i32 noundef) #1
declare i64 @feof(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/tmpvlzdbq9a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @gets(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
store ptr %6, ptr %5, align 8
%7 = load ptr, ptr %3, align 8
%8 = icmp ne ptr %7, null
br i1 %8, label %11, label %9
9: ; preds = %1
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %2, align 8
br label %49
11: ; preds = %1
%12 = load i32, ptr @stdin, align 4
%13 = call i32 @getc(i32 noundef %12)
store i32 %13, ptr %4, align 4
br label %14
14: ; preds = %23, %11
%15 = load i32, ptr @EOF, align 4
%16 = load i32, ptr %4, align 4
%17 = icmp ne i32 %15, %16
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 10, %19
br label %21
21: ; preds = %18, %14
%22 = phi i1 [ false, %14 ], [ %20, %18 ]
br i1 %22, label %23, label %30
23: ; preds = %21
%24 = load i32, ptr %4, align 4
%25 = trunc i32 %24 to i8
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds i8, ptr %26, i32 1
store ptr %27, ptr %5, align 8
store i8 %25, ptr %26, align 1
%28 = load i32, ptr @stdin, align 4
%29 = call i32 @getc(i32 noundef %28)
store i32 %29, ptr %4, align 4
br label %14, !llvm.loop !6
30: ; preds = %21
%31 = load i32, ptr @EOF, align 4
%32 = load i32, ptr %4, align 4
%33 = icmp eq i32 %31, %32
br i1 %33, label %34, label %46
34: ; preds = %30
%35 = load i32, ptr @stdin, align 4
%36 = call i64 @feof(i32 noundef %35)
%37 = icmp ne i64 %36, 0
br i1 %37, label %38, label %44
38: ; preds = %34
%39 = load ptr, ptr %5, align 8
%40 = load ptr, ptr %3, align 8
%41 = icmp eq ptr %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38
store ptr null, ptr %2, align 8
br label %49
43: ; preds = %38
br label %45
44: ; preds = %34
store ptr null, ptr %2, align 8
br label %49
45: ; preds = %43
br label %46
46: ; preds = %45, %30
%47 = load ptr, ptr %5, align 8
store i8 0, ptr %47, align 1
%48 = load ptr, ptr %3, align 8
store ptr %48, ptr %2, align 8
br label %49
49: ; preds = %46, %44, %42, %9
%50 = load ptr, ptr %2, align 8
ret ptr %50
}
declare i32 @getc(i32 noundef) #1
declare i64 @feof(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/tmpzpa4wegs.c'
source_filename = "/tmp/tmpzpa4wegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"total = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store i32 9, ptr %2, align 4
br label %5
5: ; preds = %8, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sgt i32 %6, 0
br i1 %7, label %8, label %15
8: ; preds = %5
%9 = load i32, ptr %4, align 4
%10 = add nsw i32 %9, 1
%11 = mul nsw i32 %10, 2
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
store i32 %12, ptr %4, align 4
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
br label %5, !llvm.loop !6
15: ; preds = %5
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %16)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzpa4wegs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [12 x i8] c"total = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 1, ptr %4, align 4
store i32 9, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sgt i32 %5, 0
br i1 %6, label %.lr.ph, label %16
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %7
%8 = load i32, ptr %4, align 4
%9 = add nsw i32 %8, 1
%10 = mul nsw i32 %9, 2
store i32 %10, ptr %3, align 4
%11 = load i32, ptr %3, align 4
store i32 %11, ptr %4, align 4
%12 = load i32, ptr %2, align 4
%13 = add nsw i32 %12, -1
store i32 %13, ptr %2, align 4
%14 = load i32, ptr %2, align 4
%15 = icmp sgt i32 %14, 0
br i1 %15, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %7
br label %16
16: ; preds = %._crit_edge, %0
%17 = load i32, ptr %4, align 4
%18 = call i32 @printf(ptr noundef @.str, i32 noundef %17)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9opkd78m.c'
source_filename = "/tmp/tmp9opkd78m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
store i32 %11, ptr %12, 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/tmp9opkd78m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @swap(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = load i32, ptr %6, align 4
store i32 %7, ptr %5, align 4
%8 = load ptr, ptr %4, align 8
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
store i32 %9, ptr %10, align 4
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %4, align 8
store i32 %11, ptr %12, 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/tmpireqsh7y.c'
source_filename = "/tmp/tmpireqsh7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shr_r(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 15
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %5, align 4
br label %27
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @shr(i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = shl i32 1, %18
%20 = and i32 %16, %19
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %22, %15
br label %26
26: ; preds = %25, %9
br label %27
27: ; preds = %26, %8
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @shr(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/tmpireqsh7y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @shr_r(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = icmp sgt i32 %6, 15
br i1 %7, label %8, label %9
8: ; preds = %2
store i32 0, ptr %5, align 4
br label %27
9: ; preds = %2
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %4, align 4
%12 = call i32 @shr(i32 noundef %10, i32 noundef %11)
store i32 %12, ptr %5, align 4
%13 = load i32, ptr %4, align 4
%14 = icmp sgt i32 %13, 0
br i1 %14, label %15, label %26
15: ; preds = %9
%16 = load i32, ptr %3, align 4
%17 = load i32, ptr %4, align 4
%18 = sub nsw i32 %17, 1
%19 = shl i32 1, %18
%20 = and i32 %16, %19
%21 = icmp ne i32 %20, 0
br i1 %21, label %22, label %25
22: ; preds = %15
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %25
25: ; preds = %22, %15
br label %26
26: ; preds = %25, %9
br label %27
27: ; preds = %26, %8
%28 = load i32, ptr %5, align 4
ret i32 %28
}
declare i32 @shr(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/tmph6oqcbc1.c'
source_filename = "/tmp/tmph6oqcbc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRE0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMRE0_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph6oqcbc1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"U_WMRE0\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @U_WMRE0_set() #0 {
%1 = call ptr @U_WMRCORENONE_set(ptr noundef @.str)
ret ptr %1
}
declare ptr @U_WMRCORENONE_set(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8oomj_5o.c'
source_filename = "/tmp/tmp8oomj_5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_d7() #0 {
%1 = call i32 @rst(i32 noundef 16)
ret void
}
declare i32 @rst(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/tmp8oomj_5o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @opcode_d7() #0 {
%1 = call i32 @rst(i32 noundef 16)
ret void
}
declare i32 @rst(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/tmp3sdp7r7x.c'
source_filename = "/tmp/tmp3sdp7r7x.c"
target datalayout = "e-m:e-p270: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/tmp3sdp7r7x.c"
target datalayout = "e-m:e-p270: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/tmpxfw9536j.c'
source_filename = "/tmp/tmpxfw9536j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_builtin_j0l(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call i64 @__builtin_j0l(x86_fp80 noundef %3)
%5 = load x86_fp80, ptr %2, align 16
%6 = call i64 @__builtin_j0l(x86_fp80 noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_builtin_j0l()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @__builtin_j0l(x86_fp80 noundef) #1
declare i32 @link_failure_builtin_j0l(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxfw9536j.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_builtin_j0l(x86_fp80 noundef %0) #0 {
%2 = alloca x86_fp80, align 16
store x86_fp80 %0, ptr %2, align 16
%3 = load x86_fp80, ptr %2, align 16
%4 = call i64 @__builtin_j0l(x86_fp80 noundef %3)
%5 = load x86_fp80, ptr %2, align 16
%6 = call i64 @__builtin_j0l(x86_fp80 noundef %5)
%7 = icmp ne i64 %4, %6
br i1 %7, label %8, label %10
8: ; preds = %1
%9 = call i32 (...) @link_failure_builtin_j0l()
br label %10
10: ; preds = %8, %1
ret void
}
declare i64 @__builtin_j0l(x86_fp80 noundef) #1
declare i32 @link_failure_builtin_j0l(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp30_k5x42.c'
source_filename = "/tmp/tmp30_k5x42.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoSleep(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 @FrameDelay(i32 noundef %3)
ret void
}
declare i32 @FrameDelay(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/tmp30_k5x42.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @DoSleep(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 @FrameDelay(i32 noundef %3)
ret void
}
declare i32 @FrameDelay(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/tmpj36v5nnc.c'
source_filename = "/tmp/tmpj36v5nnc.c"
target datalayout = "e-m:e-p270: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/tmpj36v5nnc.c"
target datalayout = "e-m:e-p270: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/tmpy0gn7ui3.c'
source_filename = "/tmp/tmpy0gn7ui3.c"
target datalayout = "e-m:e-p270: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/tmpy0gn7ui3.c"
target datalayout = "e-m:e-p270: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/tmprjt1labh.c'
source_filename = "/tmp/tmprjt1labh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dAx_eq_b_Chol.buf = internal global ptr null, align 8
@dAx_eq_b_Chol.buf_sz = internal global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"memory allocation in dAx_eq_b_Chol() failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@.str.2 = private unnamed_addr constant [83 x i8] c"LAPACK error: illegal value for argument %d of dpotf2_/dpotrf_ in dAx_eq_b_Chol()\0A\00", align 1
@.str.3 = private unnamed_addr constant [151 x i8] c"LAPACK error: the leading minor of order %d is not positive definite,\0Athe factorization could not be completed for dpotf2_/dpotrf_ in dAx_eq_b_Chol()\0A\00", align 1
@.str.4 = private unnamed_addr constant [75 x i8] c"LAPACK error: illegal value for argument %d of dpotrs_ in dAx_eq_b_Chol()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dAx_eq_b_Chol(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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 i32 %3, ptr %9, align 4
store i32 1, ptr %14, align 4
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %24, label %17
17: ; preds = %4
%18 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%22 = call i32 @free(ptr noundef %21)
br label %23
23: ; preds = %20, %17
store ptr null, ptr @dAx_eq_b_Chol.buf, align 8
store i32 0, ptr @dAx_eq_b_Chol.buf_sz, align 4
store i32 1, ptr %5, align 4
br label %99
24: ; preds = %4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = mul nsw i32 %25, %26
store i32 %27, ptr %11, align 4
%28 = load i32, ptr %11, align 4
store i32 %28, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr @dAx_eq_b_Chol.buf_sz, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %53
32: ; preds = %24
%33 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%37 = call i32 @free(ptr noundef %36)
br label %38
38: ; preds = %35, %32
%39 = load i32, ptr %12, align 4
store i32 %39, ptr @dAx_eq_b_Chol.buf_sz, align 4
%40 = load i32, ptr @dAx_eq_b_Chol.buf_sz, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 8
%43 = trunc i64 %42 to i32
%44 = call i64 @malloc(i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr @dAx_eq_b_Chol.buf, align 8
%46 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %52, label %48
48: ; preds = %38
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str)
%51 = call i32 @exit(i32 noundef 1) #3
unreachable
52: ; preds = %38
br label %53
53: ; preds = %52, %24
%54 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
store ptr %54, ptr %10, align 8
%55 = load ptr, ptr %10, align 8
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 8
%60 = trunc i64 %59 to i32
%61 = call i32 @memcpy(ptr noundef %55, ptr noundef %56, i32 noundef %60)
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = mul i64 %65, 8
%67 = trunc i64 %66 to i32
%68 = call i32 @memcpy(ptr noundef %62, ptr noundef %63, i32 noundef %67)
%69 = load ptr, ptr %10, align 8
%70 = call i32 @dpotrf_(ptr noundef @.str.1, ptr noundef %9, ptr noundef %69, ptr noundef %9, ptr noundef %13)
%71 = load i32, ptr %13, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %86
73: ; preds = %53
%74 = load i32, ptr %13, align 4
%75 = icmp slt i32 %74, 0
br i1 %75, label %76, label %82
76: ; preds = %73
%77 = load i32, ptr @stderr, align 4
%78 = load i32, ptr %13, align 4
%79 = sub nsw i32 0, %78
%80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.2, i32 noundef %79)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %73
%83 = load i32, ptr @stderr, align 4
%84 = load i32, ptr %13, align 4
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.3, i32 noundef %84)
store i32 0, ptr %5, align 4
br label %99
86: ; preds = %53
%87 = load ptr, ptr %10, align 8
%88 = load ptr, ptr %8, align 8
%89 = call i32 @dpotrs_(ptr noundef @.str.1, ptr noundef %9, ptr noundef %14, ptr noundef %87, ptr noundef %9, ptr noundef %88, ptr noundef %9, ptr noundef %13)
%90 = load i32, ptr %13, align 4
%91 = icmp slt i32 %90, 0
br i1 %91, label %92, label %98
92: ; preds = %86
%93 = load i32, ptr @stderr, align 4
%94 = load i32, ptr %13, align 4
%95 = sub nsw i32 0, %94
%96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %93, ptr noundef @.str.4, i32 noundef %95)
%97 = call i32 @exit(i32 noundef 1) #3
unreachable
98: ; preds = %86
store i32 1, ptr %5, align 4
br label %99
99: ; preds = %98, %82, %23
%100 = load i32, ptr %5, align 4
ret i32 %100
}
declare i32 @free(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @dpotrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @dpotrs_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmprjt1labh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@dAx_eq_b_Chol.buf = internal global ptr null, align 8
@dAx_eq_b_Chol.buf_sz = internal global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [46 x i8] c"memory allocation in dAx_eq_b_Chol() failed!\0A\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"L\00", align 1
@.str.2 = private unnamed_addr constant [83 x i8] c"LAPACK error: illegal value for argument %d of dpotf2_/dpotrf_ in dAx_eq_b_Chol()\0A\00", align 1
@.str.3 = private unnamed_addr constant [151 x i8] c"LAPACK error: the leading minor of order %d is not positive definite,\0Athe factorization could not be completed for dpotf2_/dpotrf_ in dAx_eq_b_Chol()\0A\00", align 1
@.str.4 = private unnamed_addr constant [75 x i8] c"LAPACK error: illegal value for argument %d of dpotrs_ in dAx_eq_b_Chol()\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @dAx_eq_b_Chol(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = 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 i32 %3, ptr %9, align 4
store i32 1, ptr %14, align 4
%15 = load ptr, ptr %6, align 8
%16 = icmp ne ptr %15, null
br i1 %16, label %24, label %17
17: ; preds = %4
%18 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%19 = icmp ne ptr %18, null
br i1 %19, label %20, label %23
20: ; preds = %17
%21 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%22 = call i32 @free(ptr noundef %21)
br label %23
23: ; preds = %20, %17
store ptr null, ptr @dAx_eq_b_Chol.buf, align 8
store i32 0, ptr @dAx_eq_b_Chol.buf_sz, align 4
store i32 1, ptr %5, align 4
br label %99
24: ; preds = %4
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %9, align 4
%27 = mul nsw i32 %25, %26
store i32 %27, ptr %11, align 4
%28 = load i32, ptr %11, align 4
store i32 %28, ptr %12, align 4
%29 = load i32, ptr %12, align 4
%30 = load i32, ptr @dAx_eq_b_Chol.buf_sz, align 4
%31 = icmp sgt i32 %29, %30
br i1 %31, label %32, label %53
32: ; preds = %24
%33 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%34 = icmp ne ptr %33, null
br i1 %34, label %35, label %38
35: ; preds = %32
%36 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%37 = call i32 @free(ptr noundef %36)
br label %38
38: ; preds = %35, %32
%39 = load i32, ptr %12, align 4
store i32 %39, ptr @dAx_eq_b_Chol.buf_sz, align 4
%40 = load i32, ptr @dAx_eq_b_Chol.buf_sz, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 8
%43 = trunc i64 %42 to i32
%44 = call i64 @malloc(i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr @dAx_eq_b_Chol.buf, align 8
%46 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %52, label %48
48: ; preds = %38
%49 = load i32, ptr @stderr, align 4
%50 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef @.str)
%51 = call i32 @exit(i32 noundef 1) #3
unreachable
52: ; preds = %38
br label %53
53: ; preds = %52, %24
%54 = load ptr, ptr @dAx_eq_b_Chol.buf, align 8
store ptr %54, ptr %10, align 8
%55 = load ptr, ptr %10, align 8
%56 = load ptr, ptr %6, align 8
%57 = load i32, ptr %11, align 4
%58 = sext i32 %57 to i64
%59 = mul i64 %58, 8
%60 = trunc i64 %59 to i32
%61 = call i32 @memcpy(ptr noundef %55, ptr noundef %56, i32 noundef %60)
%62 = load ptr, ptr %8, align 8
%63 = load ptr, ptr %7, align 8
%64 = load i32, ptr %9, align 4
%65 = sext i32 %64 to i64
%66 = mul i64 %65, 8
%67 = trunc i64 %66 to i32
%68 = call i32 @memcpy(ptr noundef %62, ptr noundef %63, i32 noundef %67)
%69 = load ptr, ptr %10, align 8
%70 = call i32 @dpotrf_(ptr noundef @.str.1, ptr noundef %9, ptr noundef %69, ptr noundef %9, ptr noundef %13)
%71 = load i32, ptr %13, align 4
%72 = icmp ne i32 %71, 0
br i1 %72, label %73, label %86
73: ; preds = %53
%74 = load i32, ptr %13, align 4
%75 = icmp slt i32 %74, 0
br i1 %75, label %76, label %82
76: ; preds = %73
%77 = load i32, ptr @stderr, align 4
%78 = load i32, ptr %13, align 4
%79 = sub nsw i32 0, %78
%80 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %77, ptr noundef @.str.2, i32 noundef %79)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %73
%83 = load i32, ptr @stderr, align 4
%84 = load i32, ptr %13, align 4
%85 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %83, ptr noundef @.str.3, i32 noundef %84)
store i32 0, ptr %5, align 4
br label %99
86: ; preds = %53
%87 = load ptr, ptr %10, align 8
%88 = load ptr, ptr %8, align 8
%89 = call i32 @dpotrs_(ptr noundef @.str.1, ptr noundef %9, ptr noundef %14, ptr noundef %87, ptr noundef %9, ptr noundef %88, ptr noundef %9, ptr noundef %13)
%90 = load i32, ptr %13, align 4
%91 = icmp slt i32 %90, 0
br i1 %91, label %92, label %98
92: ; preds = %86
%93 = load i32, ptr @stderr, align 4
%94 = load i32, ptr %13, align 4
%95 = sub nsw i32 0, %94
%96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %93, ptr noundef @.str.4, i32 noundef %95)
%97 = call i32 @exit(i32 noundef 1) #3
unreachable
98: ; preds = %86
store i32 1, ptr %5, align 4
br label %99
99: ; preds = %98, %82, %23
%100 = load i32, ptr %5, align 4
ret i32 %100
}
declare i32 @free(ptr noundef) #1
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @dpotrf_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @dpotrs_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp9g5s5rtu.c'
source_filename = "/tmp/tmp9g5s5rtu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_putc(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @lcd_write(i8 noundef signext %3, i32 noundef 1)
ret void
}
declare i32 @lcd_write(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9g5s5rtu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcd_putc(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call i32 @lcd_write(i8 noundef signext %3, i32 noundef 1)
ret void
}
declare i32 @lcd_write(i8 noundef signext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpwjr6xmqr.c'
source_filename = "/tmp/tmpwjr6xmqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"In sub!\0Ax = %f\0Ay = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Sub(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, double noundef %5, double noundef %6)
%8 = load double, ptr %3, align 8
%9 = load double, ptr %4, align 8
%10 = fsub double %8, %9
ret double %10
}
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwjr6xmqr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [23 x i8] c"In sub!\0Ax = %f\0Ay = %f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @Sub(double noundef %0, double noundef %1) #0 {
%3 = alloca double, align 8
%4 = alloca double, align 8
store double %0, ptr %3, align 8
store double %1, ptr %4, align 8
%5 = load double, ptr %3, align 8
%6 = load double, ptr %4, align 8
%7 = call i32 @printf(ptr noundef @.str, double noundef %5, double noundef %6)
%8 = load double, ptr %3, align 8
%9 = load double, ptr %4, align 8
%10 = fsub double %8, %9
ret double %10
}
declare i32 @printf(ptr noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbz2gohm4.c'
source_filename = "/tmp/tmpbz2gohm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRWXU = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @makedir(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @S_IRWXU, align 4
%6 = call i64 @mkdir(ptr noundef %4, i32 noundef %5)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @perror(ptr noundef %9)
%11 = load i32, ptr @errno, align 4
store i32 %11, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbz2gohm4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@S_IRWXU = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @makedir(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
%4 = load ptr, ptr %3, align 8
%5 = load i32, ptr @S_IRWXU, align 4
%6 = call i64 @mkdir(ptr noundef %4, i32 noundef %5)
%7 = icmp slt i64 %6, 0
br i1 %7, label %8, label %12
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @perror(ptr noundef %9)
%11 = load i32, ptr @errno, align 4
store i32 %11, ptr %2, align 4
br label %13
12: ; preds = %1
store i32 0, ptr %2, align 4
br label %13
13: ; preds = %12, %8
%14 = load i32, ptr %2, align 4
ret i32 %14
}
declare i64 @mkdir(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpu0c959af.c'
source_filename = "/tmp/tmpu0c959af.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%hx (%hd) -> 0x%08x (%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"0x%hx (%hu) -> 0x%08x (%u)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
%3 = alloca i16, align 2
%4 = alloca i16, align 2
store i32 0, ptr %1, align 4
store i16 -32767, ptr %2, align 2
%5 = load i16, ptr %2, align 2
%6 = load i16, ptr %2, align 2
%7 = load i16, ptr %2, align 2
%8 = sext i16 %7 to i32
%9 = load i16, ptr %2, align 2
%10 = sext i16 %9 to i32
%11 = call i32 @printf(ptr noundef @.str, i16 noundef signext %5, i16 noundef signext %6, i32 noundef %8, i32 noundef %10)
%12 = load i16, ptr %2, align 2
%13 = load i16, ptr %2, align 2
%14 = load i16, ptr %2, align 2
%15 = sext i16 %14 to i32
%16 = load i16, ptr %2, align 2
%17 = sext i16 %16 to i32
%18 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %12, i16 noundef signext %13, i32 noundef %15, i32 noundef %17)
store i16 -32767, ptr %3, align 2
%19 = load i16, ptr %3, align 2
%20 = load i16, ptr %3, align 2
%21 = load i16, ptr %3, align 2
%22 = zext i16 %21 to i32
%23 = load i16, ptr %3, align 2
%24 = zext i16 %23 to i32
%25 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %19, i16 noundef signext %20, i32 noundef %22, i32 noundef %24)
store i16 28673, ptr %4, align 2
%26 = load i16, ptr %4, align 2
%27 = load i16, ptr %4, align 2
%28 = load i16, ptr %4, align 2
%29 = sext i16 %28 to i32
%30 = load i16, ptr %4, align 2
%31 = sext i16 %30 to i32
%32 = call i32 @printf(ptr noundef @.str, i16 noundef signext %26, i16 noundef signext %27, i32 noundef %29, i32 noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, i16 noundef signext, i16 noundef signext, 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/tmpu0c959af.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"0x%hx (%hd) -> 0x%08x (%d)\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"0x%hx (%hu) -> 0x%08x (%u)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i16, align 2
%3 = alloca i16, align 2
%4 = alloca i16, align 2
store i32 0, ptr %1, align 4
store i16 -32767, ptr %2, align 2
%5 = load i16, ptr %2, align 2
%6 = load i16, ptr %2, align 2
%7 = load i16, ptr %2, align 2
%8 = sext i16 %7 to i32
%9 = load i16, ptr %2, align 2
%10 = sext i16 %9 to i32
%11 = call i32 @printf(ptr noundef @.str, i16 noundef signext %5, i16 noundef signext %6, i32 noundef %8, i32 noundef %10)
%12 = load i16, ptr %2, align 2
%13 = load i16, ptr %2, align 2
%14 = load i16, ptr %2, align 2
%15 = sext i16 %14 to i32
%16 = load i16, ptr %2, align 2
%17 = sext i16 %16 to i32
%18 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %12, i16 noundef signext %13, i32 noundef %15, i32 noundef %17)
store i16 -32767, ptr %3, align 2
%19 = load i16, ptr %3, align 2
%20 = load i16, ptr %3, align 2
%21 = load i16, ptr %3, align 2
%22 = zext i16 %21 to i32
%23 = load i16, ptr %3, align 2
%24 = zext i16 %23 to i32
%25 = call i32 @printf(ptr noundef @.str.1, i16 noundef signext %19, i16 noundef signext %20, i32 noundef %22, i32 noundef %24)
store i16 28673, ptr %4, align 2
%26 = load i16, ptr %4, align 2
%27 = load i16, ptr %4, align 2
%28 = load i16, ptr %4, align 2
%29 = sext i16 %28 to i32
%30 = load i16, ptr %4, align 2
%31 = sext i16 %30 to i32
%32 = call i32 @printf(ptr noundef @.str, i16 noundef signext %26, i16 noundef signext %27, i32 noundef %29, i32 noundef %31)
ret i32 0
}
declare i32 @printf(ptr noundef, i16 noundef signext, i16 noundef signext, 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/tmpokkdzdb9.c'
source_filename = "/tmp/tmpokkdzdb9.c"
target datalayout = "e-m:e-p270: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/tmpokkdzdb9.c"
target datalayout = "e-m:e-p270: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/tmpf4ku9_8u.c'
source_filename = "/tmp/tmpf4ku9_8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%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(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %12, %2
%10 = call i64 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%11 = icmp sgt i64 %10, 0
br i1 %11, label %12, label %17
12: ; preds = %9
%13 = load i32, ptr %6, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %13, %14
%16 = call i32 @printf(ptr noundef @.str.1, i32 noundef %15)
br label %9, !llvm.loop !6
17: ; preds = %9
ret i32 0
}
declare i64 @scanf(ptr noundef, 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/tmpf4ku9_8u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d%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(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
%9 = call i64 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%10 = icmp sgt i64 %9, 0
br i1 %10, label %.lr.ph, label %18
.lr.ph: ; preds = %2
br label %11
11: ; preds = %.lr.ph, %11
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr %7, align 4
%14 = add nsw i32 %12, %13
%15 = call i32 @printf(ptr noundef @.str.1, i32 noundef %14)
%16 = call i64 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %7)
%17 = icmp sgt i64 %16, 0
br i1 %17, label %11, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %11
br label %18
18: ; preds = %._crit_edge, %2
ret i32 0
}
declare i64 @scanf(ptr noundef, 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/tmpj3b0v9vr.c'
source_filename = "/tmp/tmpj3b0v9vr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saturate(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @clamp(float noundef %3, double noundef 0.000000e+00, double noundef 1.000000e+00)
ret float %4
}
declare float @clamp(float noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpj3b0v9vr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @saturate(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = call float @clamp(float noundef %3, double noundef 0.000000e+00, double noundef 1.000000e+00)
ret float %4
}
declare float @clamp(float noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyitujwo1.c'
source_filename = "/tmp/tmpyitujwo1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"TRIANGULO: %.3f\0ACIRCULO: %.3f\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"TRAPEZIO: %.3f\0AQUADRADO: %.3f\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"RETANGULO: %.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %4, align 4
%8 = fmul float %6, %7
%9 = fdiv float %8, 2.000000e+00
%10 = load float, ptr %4, align 4
%11 = fpext float %10 to double
%12 = fmul double 3.141590e+00, %11
%13 = load float, ptr %4, align 4
%14 = fpext float %13 to double
%15 = fmul double %12, %14
%16 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %9, double noundef %15)
%17 = load float, ptr %2, align 4
%18 = load float, ptr %3, align 4
%19 = fadd float %17, %18
%20 = fdiv float %19, 2.000000e+00
%21 = load float, ptr %4, align 4
%22 = fmul float %20, %21
%23 = load float, ptr %3, align 4
%24 = load float, ptr %3, align 4
%25 = fmul float %23, %24
%26 = fpext float %25 to double
%27 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %22, double noundef %26)
%28 = load float, ptr %2, align 4
%29 = load float, ptr %3, align 4
%30 = fmul float %28, %29
%31 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.3, float noundef %30)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyitujwo1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%f %f %f\00", align 1
@.str.1 = private unnamed_addr constant [31 x i8] c"TRIANGULO: %.3f\0ACIRCULO: %.3f\0A\00", align 1
@.str.2 = private unnamed_addr constant [31 x i8] c"TRAPEZIO: %.3f\0AQUADRADO: %.3f\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"RETANGULO: %.3f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
store i32 0, ptr %1, align 4
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
%6 = load float, ptr %2, align 4
%7 = load float, ptr %4, align 4
%8 = fmul float %6, %7
%9 = fdiv float %8, 2.000000e+00
%10 = load float, ptr %4, align 4
%11 = fpext float %10 to double
%12 = fmul double 3.141590e+00, %11
%13 = load float, ptr %4, align 4
%14 = fpext float %13 to double
%15 = fmul double %12, %14
%16 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.1, float noundef %9, double noundef %15)
%17 = load float, ptr %2, align 4
%18 = load float, ptr %3, align 4
%19 = fadd float %17, %18
%20 = fdiv float %19, 2.000000e+00
%21 = load float, ptr %4, align 4
%22 = fmul float %20, %21
%23 = load float, ptr %3, align 4
%24 = load float, ptr %3, align 4
%25 = fmul float %23, %24
%26 = fpext float %25 to double
%27 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.2, float noundef %22, double noundef %26)
%28 = load float, ptr %2, align 4
%29 = load float, ptr %3, align 4
%30 = fmul float %28, %29
%31 = call i32 (ptr, float, ...) @printf(ptr noundef @.str.3, float noundef %30)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, float noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7ya04wpt.c'
source_filename = "/tmp/tmp7ya04wpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
br label %3
3: ; preds = %7, %0
%4 = call i32 (...) @getchar()
store i32 %4, ptr %2, align 4
%5 = load i32, ptr @EOF, align 4
%6 = icmp ne i32 %4, %5
br i1 %6, label %7, label %10
7: ; preds = %3
%8 = load i32, ptr %2, align 4
%9 = call i32 @putchar(i32 noundef %8)
br label %3, !llvm.loop !6
10: ; preds = %3
%11 = load i32, ptr @EOF, align 4
%12 = call i32 @putchar(i32 noundef %11)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7ya04wpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
%3 = call i32 (...) @getchar()
store i32 %3, ptr %2, align 4
%4 = load i32, ptr @EOF, align 4
%5 = icmp ne i32 %3, %4
br i1 %5, label %.lr.ph, label %12
.lr.ph: ; preds = %0
br label %6
6: ; preds = %.lr.ph, %6
%7 = load i32, ptr %2, align 4
%8 = call i32 @putchar(i32 noundef %7)
%9 = call i32 (...) @getchar()
store i32 %9, ptr %2, align 4
%10 = load i32, ptr @EOF, align 4
%11 = icmp ne i32 %9, %10
br i1 %11, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %12
12: ; preds = %._crit_edge, %0
%13 = load i32, ptr @EOF, align 4
%14 = call i32 @putchar(i32 noundef %13)
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpmq0ln_w5.c'
source_filename = "/tmp/tmpmq0ln_w5.c"
target datalayout = "e-m:e-p270: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/tmpmq0ln_w5.c"
target datalayout = "e-m:e-p270: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/tmp1aobttgj.c'
source_filename = "/tmp/tmp1aobttgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vscnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %9, align 4
%15 = call i32 @vsnprintf(ptr noundef %11, i64 noundef %12, ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = load i32, ptr %10, align 4
store i32 %21, ptr %5, align 4
br label %30
22: ; preds = %4
%23 = load i64, ptr %7, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = load i64, ptr %7, align 8
%27 = sub i64 %26, 1
%28 = trunc i64 %27 to i32
store i32 %28, ptr %5, align 4
br label %30
29: ; preds = %22
store i32 0, ptr %5, align 4
br label %30
30: ; preds = %29, %25, %20
%31 = load i32, ptr %5, align 4
ret i32 %31
}
declare i32 @vsnprintf(ptr noundef, i64 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/tmp1aobttgj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @vscnprintf(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %6, align 8
store i64 %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i32 %3, ptr %9, align 4
%11 = load ptr, ptr %6, align 8
%12 = load i64, ptr %7, align 8
%13 = load ptr, ptr %8, align 8
%14 = load i32, ptr %9, align 4
%15 = call i32 @vsnprintf(ptr noundef %11, i64 noundef %12, ptr noundef %13, i32 noundef %14)
store i32 %15, ptr %10, align 4
%16 = load i32, ptr %10, align 4
%17 = sext i32 %16 to i64
%18 = load i64, ptr %7, align 8
%19 = icmp ult i64 %17, %18
br i1 %19, label %20, label %22
20: ; preds = %4
%21 = load i32, ptr %10, align 4
store i32 %21, ptr %5, align 4
br label %30
22: ; preds = %4
%23 = load i64, ptr %7, align 8
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %29
25: ; preds = %22
%26 = load i64, ptr %7, align 8
%27 = sub i64 %26, 1
%28 = trunc i64 %27 to i32
store i32 %28, ptr %5, align 4
br label %30
29: ; preds = %22
store i32 0, ptr %5, align 4
br label %30
30: ; preds = %29, %25, %20
%31 = load i32, ptr %5, align 4
ret i32 %31
}
declare i32 @vsnprintf(ptr noundef, i64 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/tmp2hsrbk0e.c'
source_filename = "/tmp/tmp2hsrbk0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Press b\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fB() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2hsrbk0e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"Press b\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fB() #0 {
%1 = call i32 @printf(ptr noundef @.str)
ret void
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcf4ig1he.c'
source_filename = "/tmp/tmpcf4ig1he.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"usage: %s <filename>\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"attempting to sort file: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"error opening file\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [18 x i8] c"%d elements read\0A\00", align 1
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"shmget\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"done sorting\0A\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"shmdt\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [7 x i8] c"shmctl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 0, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 2
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20)
store i32 1, ptr %3, align 4
br label %126
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.2)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %35
33: ; preds = %22
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %126
35: ; preds = %22
br label %36
36: ; preds = %41, %35
%37 = load ptr, ptr %8, align 8
%38 = call i64 @fscanf(ptr noundef %37, ptr noundef @.str.4, ptr noundef %9)
%39 = load i64, ptr @EOF, align 8
%40 = icmp ne i64 %38, %39
br i1 %40, label %41, label %57
41: ; preds = %36
%42 = load i32, ptr %7, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %7, align 4
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr %7, align 4
%46 = sext i32 %45 to i64
%47 = mul i64 %46, 4
%48 = trunc i64 %47 to i32
%49 = call i64 @realloc(ptr noundef %44, i32 noundef %48)
%50 = inttoptr i64 %49 to ptr
store ptr %50, ptr %6, align 8
%51 = load i32, ptr %9, align 4
%52 = load ptr, ptr %6, align 8
%53 = load i32, ptr %7, align 4
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i32, ptr %52, i64 %55
store i32 %51, ptr %56, align 4
br label %36, !llvm.loop !6
57: ; preds = %36
%58 = load ptr, ptr %8, align 8
%59 = call i32 @fclose(ptr noundef %58)
%60 = load i32, ptr %7, align 4
%61 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %60)
%62 = load i32, ptr @IPC_PRIVATE, align 4
store i32 %62, ptr %12, align 4
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = mul i64 %64, 4
store i64 %65, ptr %14, align 8
%66 = load i32, ptr %12, align 4
%67 = load i64, ptr %14, align 8
%68 = load i32, ptr @IPC_CREAT, align 4
%69 = or i32 %68, 438
%70 = call i32 @shmget(i32 noundef %66, i64 noundef %67, i32 noundef %69)
store i32 %70, ptr %11, align 4
%71 = icmp eq i32 %70, -1
br i1 %71, label %72, label %75
72: ; preds = %57
%73 = call i32 @perror(ptr noundef @.str.6)
%74 = call i32 @exit(i32 noundef 1) #3
unreachable
75: ; preds = %57
%76 = load i32, ptr %11, align 4
%77 = call ptr @shmat(i32 noundef %76, ptr noundef null, i32 noundef 0)
store ptr %77, ptr %10, align 8
%78 = icmp eq ptr %77, inttoptr (i64 -1 to ptr)
br i1 %78, label %79, label %82
79: ; preds = %75
%80 = call i32 @perror(ptr noundef @.str.7)
%81 = call i32 @exit(i32 noundef 1) #3
unreachable
82: ; preds = %75
store i32 0, ptr %13, align 4
br label %83
83: ; preds = %97, %82
%84 = load i32, ptr %13, align 4
%85 = load i32, ptr %7, align 4
%86 = icmp slt i32 %84, %85
br i1 %86, label %87, label %100
87: ; preds = %83
%88 = load ptr, ptr %6, align 8
%89 = load i32, ptr %13, align 4
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i32, ptr %88, i64 %90
%92 = load i32, ptr %91, align 4
%93 = load ptr, ptr %10, align 8
%94 = load i32, ptr %13, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds i32, ptr %93, i64 %95
store i32 %92, ptr %96, align 4
br label %97
97: ; preds = %87
%98 = load i32, ptr %13, align 4
%99 = add nsw i32 %98, 1
store i32 %99, ptr %13, align 4
br label %83, !llvm.loop !8
100: ; preds = %83
%101 = load ptr, ptr %10, align 8
%102 = load i32, ptr %7, align 4
%103 = call i32 @display(ptr noundef %101, i32 noundef %102)
%104 = load ptr, ptr %10, align 8
%105 = load i32, ptr %7, align 4
%106 = call i32 @mergesort(ptr noundef %104, i32 noundef %105)
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%108 = load ptr, ptr %10, align 8
%109 = load i32, ptr %7, align 4
%110 = call i32 @display(ptr noundef %108, i32 noundef %109)
%111 = load ptr, ptr %10, align 8
%112 = call i32 @shmdt(ptr noundef %111)
%113 = icmp eq i32 %112, -1
br i1 %113, label %114, label %117
114: ; preds = %100
%115 = call i32 @perror(ptr noundef @.str.9)
%116 = call i32 @exit(i32 noundef 1) #3
unreachable
117: ; preds = %100
%118 = load i32, ptr %11, align 4
%119 = load i32, ptr @IPC_RMID, align 4
%120 = call i32 @shmctl(i32 noundef %118, i32 noundef %119, ptr noundef null)
%121 = icmp eq i32 %120, -1
br i1 %121, label %122, label %125
122: ; preds = %117
%123 = call i32 @perror(ptr noundef @.str.10)
%124 = call i32 @exit(i32 noundef 1) #3
unreachable
125: ; preds = %117
store i32 0, ptr %3, align 4
br label %126
126: ; preds = %125, %33, %17
%127 = load i32, ptr %3, align 4
ret i32 %127
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @shmget(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @display(ptr noundef, i32 noundef) #1
declare i32 @mergesort(ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcf4ig1he.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [22 x i8] c"usage: %s <filename>\0A\00", align 1
@.str.1 = private unnamed_addr constant [29 x i8] c"attempting to sort file: %s\0A\00", align 1
@.str.2 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"error opening file\0A\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@EOF = dso_local global i64 0, align 8
@.str.5 = private unnamed_addr constant [18 x i8] c"%d elements read\0A\00", align 1
@IPC_PRIVATE = dso_local global i32 0, align 4
@IPC_CREAT = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [7 x i8] c"shmget\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"shmat\00", align 1
@.str.8 = private unnamed_addr constant [14 x i8] c"done sorting\0A\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"shmdt\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
@.str.10 = private unnamed_addr constant [7 x i8] c"shmctl\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i64, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store ptr null, ptr %6, align 8
store i32 0, ptr %7, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp ne i32 %15, 2
br i1 %16, label %17, label %22
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 0
%20 = load ptr, ptr %19, align 8
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %20)
store i32 1, ptr %3, align 4
br label %131
22: ; preds = %2
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 1
%25 = load ptr, ptr %24, align 8
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 1
%29 = load ptr, ptr %28, align 8
%30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.2)
store ptr %30, ptr %8, align 8
%31 = load ptr, ptr %8, align 8
%32 = icmp eq ptr %31, null
br i1 %32, label %33, label %35
33: ; preds = %22
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
store i32 0, ptr %3, align 4
br label %131
35: ; preds = %22
%36 = load ptr, ptr %8, align 8
%37 = call i64 @fscanf(ptr noundef %36, ptr noundef @.str.4, ptr noundef %9)
%38 = load i64, ptr @EOF, align 8
%39 = icmp ne i64 %37, %38
br i1 %39, label %.lr.ph, label %60
.lr.ph: ; preds = %35
br label %40
40: ; preds = %.lr.ph, %40
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %7, align 4
%43 = load ptr, ptr %6, align 8
%44 = load i32, ptr %7, align 4
%45 = sext i32 %44 to i64
%46 = mul i64 %45, 4
%47 = trunc i64 %46 to i32
%48 = call i64 @realloc(ptr noundef %43, i32 noundef %47)
%49 = inttoptr i64 %48 to ptr
store ptr %49, ptr %6, align 8
%50 = load i32, ptr %9, align 4
%51 = load ptr, ptr %6, align 8
%52 = load i32, ptr %7, align 4
%53 = sub nsw i32 %52, 1
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds i32, ptr %51, i64 %54
store i32 %50, ptr %55, align 4
%56 = load ptr, ptr %8, align 8
%57 = call i64 @fscanf(ptr noundef %56, ptr noundef @.str.4, ptr noundef %9)
%58 = load i64, ptr @EOF, align 8
%59 = icmp ne i64 %57, %58
br i1 %59, label %40, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %60
60: ; preds = %._crit_edge, %35
%61 = load ptr, ptr %8, align 8
%62 = call i32 @fclose(ptr noundef %61)
%63 = load i32, ptr %7, align 4
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %63)
%65 = load i32, ptr @IPC_PRIVATE, align 4
store i32 %65, ptr %12, align 4
%66 = load i32, ptr %7, align 4
%67 = sext i32 %66 to i64
%68 = mul i64 %67, 4
store i64 %68, ptr %14, align 8
%69 = load i32, ptr %12, align 4
%70 = load i64, ptr %14, align 8
%71 = load i32, ptr @IPC_CREAT, align 4
%72 = or i32 %71, 438
%73 = call i32 @shmget(i32 noundef %69, i64 noundef %70, i32 noundef %72)
store i32 %73, ptr %11, align 4
%74 = icmp eq i32 %73, -1
br i1 %74, label %75, label %78
75: ; preds = %60
%76 = call i32 @perror(ptr noundef @.str.6)
%77 = call i32 @exit(i32 noundef 1) #3
unreachable
78: ; preds = %60
%79 = load i32, ptr %11, align 4
%80 = call ptr @shmat(i32 noundef %79, ptr noundef null, i32 noundef 0)
store ptr %80, ptr %10, align 8
%81 = icmp eq ptr %80, inttoptr (i64 -1 to ptr)
br i1 %81, label %82, label %85
82: ; preds = %78
%83 = call i32 @perror(ptr noundef @.str.7)
%84 = call i32 @exit(i32 noundef 1) #3
unreachable
85: ; preds = %78
store i32 0, ptr %13, align 4
%86 = load i32, ptr %13, align 4
%87 = load i32, ptr %7, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %.lr.ph2, label %105
.lr.ph2: ; preds = %85
br label %89
89: ; preds = %.lr.ph2, %99
%90 = load ptr, ptr %6, align 8
%91 = load i32, ptr %13, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %90, i64 %92
%94 = load i32, ptr %93, align 4
%95 = load ptr, ptr %10, align 8
%96 = load i32, ptr %13, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %95, i64 %97
store i32 %94, ptr %98, align 4
br label %99
99: ; preds = %89
%100 = load i32, ptr %13, align 4
%101 = add nsw i32 %100, 1
store i32 %101, ptr %13, align 4
%102 = load i32, ptr %13, align 4
%103 = load i32, ptr %7, align 4
%104 = icmp slt i32 %102, %103
br i1 %104, label %89, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %99
br label %105
105: ; preds = %._crit_edge3, %85
%106 = load ptr, ptr %10, align 8
%107 = load i32, ptr %7, align 4
%108 = call i32 @display(ptr noundef %106, i32 noundef %107)
%109 = load ptr, ptr %10, align 8
%110 = load i32, ptr %7, align 4
%111 = call i32 @mergesort(ptr noundef %109, i32 noundef %110)
%112 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%113 = load ptr, ptr %10, align 8
%114 = load i32, ptr %7, align 4
%115 = call i32 @display(ptr noundef %113, i32 noundef %114)
%116 = load ptr, ptr %10, align 8
%117 = call i32 @shmdt(ptr noundef %116)
%118 = icmp eq i32 %117, -1
br i1 %118, label %119, label %122
119: ; preds = %105
%120 = call i32 @perror(ptr noundef @.str.9)
%121 = call i32 @exit(i32 noundef 1) #3
unreachable
122: ; preds = %105
%123 = load i32, ptr %11, align 4
%124 = load i32, ptr @IPC_RMID, align 4
%125 = call i32 @shmctl(i32 noundef %123, i32 noundef %124, ptr noundef null)
%126 = icmp eq i32 %125, -1
br i1 %126, label %127, label %130
127: ; preds = %122
%128 = call i32 @perror(ptr noundef @.str.10)
%129 = call i32 @exit(i32 noundef 1) #3
unreachable
130: ; preds = %122
store i32 0, ptr %3, align 4
br label %131
131: ; preds = %130, %33, %17
%132 = load i32, ptr %3, align 4
ret i32 %132
}
declare i32 @printf(ptr noundef, ...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i64 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
declare i32 @shmget(i32 noundef, i64 noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @shmat(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @display(ptr noundef, i32 noundef) #1
declare i32 @mergesort(ptr noundef, i32 noundef) #1
declare i32 @shmdt(ptr noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp64trjdl7.c'
source_filename = "/tmp/tmp64trjdl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gemm_cpu(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, float noundef %10, ptr noundef %11, i32 noundef %12) #0 {
%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 float, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
store i32 %0, ptr %14, align 4
store i32 %1, ptr %15, align 4
store i32 %2, ptr %16, align 4
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store float %5, ptr %19, align 4
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store ptr %8, ptr %22, align 8
store i32 %9, ptr %23, align 4
store float %10, ptr %24, align 4
store ptr %11, ptr %25, align 8
store i32 %12, ptr %26, align 4
store i32 0, ptr %27, align 4
br label %30
30: ; preds = %55, %13
%31 = load i32, ptr %27, align 4
%32 = load i32, ptr %16, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %34, label %58
34: ; preds = %30
store i32 0, ptr %28, align 4
br label %35
35: ; preds = %51, %34
%36 = load i32, ptr %28, align 4
%37 = load i32, ptr %17, align 4
%38 = icmp slt i32 %36, %37
br i1 %38, label %39, label %54
39: ; preds = %35
%40 = load float, ptr %24, align 4
%41 = load ptr, ptr %25, align 8
%42 = load i32, ptr %27, align 4
%43 = load i32, ptr %26, align 4
%44 = mul nsw i32 %42, %43
%45 = load i32, ptr %28, align 4
%46 = add nsw i32 %44, %45
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds float, ptr %41, i64 %47
%49 = load float, ptr %48, align 4
%50 = fmul float %49, %40
store float %50, ptr %48, align 4
br label %51
51: ; preds = %39
%52 = load i32, ptr %28, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %28, align 4
br label %35, !llvm.loop !6
54: ; preds = %35
br label %55
55: ; preds = %54
%56 = load i32, ptr %27, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %27, align 4
br label %30, !llvm.loop !8
58: ; preds = %30
store i32 0, ptr %29, align 4
br label %59
59: ; preds = %164, %58
%60 = load i32, ptr %29, align 4
%61 = load i32, ptr %16, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %63, label %167
63: ; preds = %59
%64 = load i32, ptr %14, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %90, label %66
66: ; preds = %63
%67 = load i32, ptr %15, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %90, label %69
69: ; preds = %66
%70 = load i32, ptr %17, align 4
%71 = load i32, ptr %18, align 4
%72 = load float, ptr %19, align 4
%73 = load ptr, ptr %20, align 8
%74 = load i32, ptr %29, align 4
%75 = load i32, ptr %21, align 4
%76 = mul nsw i32 %74, %75
%77 = sext i32 %76 to i64
%78 = getelementptr inbounds float, ptr %73, i64 %77
%79 = load i32, ptr %21, align 4
%80 = load ptr, ptr %22, align 8
%81 = load i32, ptr %23, align 4
%82 = load ptr, ptr %25, align 8
%83 = load i32, ptr %29, align 4
%84 = load i32, ptr %26, align 4
%85 = mul nsw i32 %83, %84
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds float, ptr %82, i64 %86
%88 = load i32, ptr %26, align 4
%89 = call i32 @gemm_nn(i32 noundef 1, i32 noundef %70, i32 noundef %71, float noundef %72, ptr noundef %78, i32 noundef %79, ptr noundef %80, i32 noundef %81, ptr noundef %87, i32 noundef %88)
br label %163
90: ; preds = %66, %63
%91 = load i32, ptr %14, align 4
%92 = icmp ne i32 %91, 0
br i1 %92, label %93, label %115
93: ; preds = %90
%94 = load i32, ptr %15, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %115, label %96
96: ; preds = %93
%97 = load i32, ptr %17, align 4
%98 = load i32, ptr %18, align 4
%99 = load float, ptr %19, align 4
%100 = load ptr, ptr %20, align 8
%101 = load i32, ptr %29, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds float, ptr %100, i64 %102
%104 = load i32, ptr %21, align 4
%105 = load ptr, ptr %22, align 8
%106 = load i32, ptr %23, align 4
%107 = load ptr, ptr %25, align 8
%108 = load i32, ptr %29, align 4
%109 = load i32, ptr %26, align 4
%110 = mul nsw i32 %108, %109
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds float, ptr %107, i64 %111
%113 = load i32, ptr %26, align 4
%114 = call i32 @gemm_tn(i32 noundef 1, i32 noundef %97, i32 noundef %98, float noundef %99, ptr noundef %103, i32 noundef %104, ptr noundef %105, i32 noundef %106, ptr noundef %112, i32 noundef %113)
br label %162
115: ; preds = %93, %90
%116 = load i32, ptr %14, align 4
%117 = icmp ne i32 %116, 0
br i1 %117, label %142, label %118
118: ; preds = %115
%119 = load i32, ptr %15, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %121, label %142
121: ; preds = %118
%122 = load i32, ptr %17, align 4
%123 = load i32, ptr %18, align 4
%124 = load float, ptr %19, align 4
%125 = load ptr, ptr %20, align 8
%126 = load i32, ptr %29, align 4
%127 = load i32, ptr %21, align 4
%128 = mul nsw i32 %126, %127
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds float, ptr %125, i64 %129
%131 = load i32, ptr %21, align 4
%132 = load ptr, ptr %22, align 8
%133 = load i32, ptr %23, align 4
%134 = load ptr, ptr %25, align 8
%135 = load i32, ptr %29, align 4
%136 = load i32, ptr %26, align 4
%137 = mul nsw i32 %135, %136
%138 = sext i32 %137 to i64
%139 = getelementptr inbounds float, ptr %134, i64 %138
%140 = load i32, ptr %26, align 4
%141 = call i32 @gemm_nt(i32 noundef 1, i32 noundef %122, i32 noundef %123, float noundef %124, ptr noundef %130, i32 noundef %131, ptr noundef %132, i32 noundef %133, ptr noundef %139, i32 noundef %140)
br label %161
142: ; preds = %118, %115
%143 = load i32, ptr %17, align 4
%144 = load i32, ptr %18, align 4
%145 = load float, ptr %19, align 4
%146 = load ptr, ptr %20, align 8
%147 = load i32, ptr %29, align 4
%148 = sext i32 %147 to i64
%149 = getelementptr inbounds float, ptr %146, i64 %148
%150 = load i32, ptr %21, align 4
%151 = load ptr, ptr %22, align 8
%152 = load i32, ptr %23, align 4
%153 = load ptr, ptr %25, align 8
%154 = load i32, ptr %29, align 4
%155 = load i32, ptr %26, align 4
%156 = mul nsw i32 %154, %155
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds float, ptr %153, i64 %157
%159 = load i32, ptr %26, align 4
%160 = call i32 @gemm_tt(i32 noundef 1, i32 noundef %143, i32 noundef %144, float noundef %145, ptr noundef %149, i32 noundef %150, ptr noundef %151, i32 noundef %152, ptr noundef %158, i32 noundef %159)
br label %161
161: ; preds = %142, %121
br label %162
162: ; preds = %161, %96
br label %163
163: ; preds = %162, %69
br label %164
164: ; preds = %163
%165 = load i32, ptr %29, align 4
%166 = add nsw i32 %165, 1
store i32 %166, ptr %29, align 4
br label %59, !llvm.loop !9
167: ; preds = %59
ret void
}
declare i32 @gemm_nn(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gemm_tn(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gemm_nt(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gemm_tt(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp64trjdl7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gemm_cpu(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, float noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, i32 noundef %9, float noundef %10, ptr noundef %11, i32 noundef %12) #0 {
%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 float, align 4
%20 = alloca ptr, align 8
%21 = alloca i32, align 4
%22 = alloca ptr, align 8
%23 = alloca i32, align 4
%24 = alloca float, align 4
%25 = alloca ptr, align 8
%26 = alloca i32, align 4
%27 = alloca i32, align 4
%28 = alloca i32, align 4
%29 = alloca i32, align 4
store i32 %0, ptr %14, align 4
store i32 %1, ptr %15, align 4
store i32 %2, ptr %16, align 4
store i32 %3, ptr %17, align 4
store i32 %4, ptr %18, align 4
store float %5, ptr %19, align 4
store ptr %6, ptr %20, align 8
store i32 %7, ptr %21, align 4
store ptr %8, ptr %22, align 8
store i32 %9, ptr %23, align 4
store float %10, ptr %24, align 4
store ptr %11, ptr %25, align 8
store i32 %12, ptr %26, align 4
store i32 0, ptr %27, align 4
%30 = load i32, ptr %27, align 4
%31 = load i32, ptr %16, align 4
%32 = icmp slt i32 %30, %31
br i1 %32, label %.lr.ph2, label %62
.lr.ph2: ; preds = %13
br label %33
33: ; preds = %.lr.ph2, %56
store i32 0, ptr %28, align 4
%34 = load i32, ptr %28, align 4
%35 = load i32, ptr %17, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph, label %55
.lr.ph: ; preds = %33
br label %37
37: ; preds = %.lr.ph, %49
%38 = load float, ptr %24, align 4
%39 = load ptr, ptr %25, align 8
%40 = load i32, ptr %27, align 4
%41 = load i32, ptr %26, align 4
%42 = mul nsw i32 %40, %41
%43 = load i32, ptr %28, align 4
%44 = add nsw i32 %42, %43
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds float, ptr %39, i64 %45
%47 = load float, ptr %46, align 4
%48 = fmul float %47, %38
store float %48, ptr %46, align 4
br label %49
49: ; preds = %37
%50 = load i32, ptr %28, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %28, align 4
%52 = load i32, ptr %28, align 4
%53 = load i32, ptr %17, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %37, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %55
55: ; preds = %._crit_edge, %33
br label %56
56: ; preds = %55
%57 = load i32, ptr %27, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %27, align 4
%59 = load i32, ptr %27, align 4
%60 = load i32, ptr %16, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %33, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %62
62: ; preds = %._crit_edge3, %13
store i32 0, ptr %29, align 4
%63 = load i32, ptr %29, align 4
%64 = load i32, ptr %16, align 4
%65 = icmp slt i32 %63, %64
br i1 %65, label %.lr.ph5, label %173
.lr.ph5: ; preds = %62
br label %66
66: ; preds = %.lr.ph5, %167
%67 = load i32, ptr %14, align 4
%68 = icmp ne i32 %67, 0
br i1 %68, label %93, label %69
69: ; preds = %66
%70 = load i32, ptr %15, align 4
%71 = icmp ne i32 %70, 0
br i1 %71, label %93, label %72
72: ; preds = %69
%73 = load i32, ptr %17, align 4
%74 = load i32, ptr %18, align 4
%75 = load float, ptr %19, align 4
%76 = load ptr, ptr %20, align 8
%77 = load i32, ptr %29, align 4
%78 = load i32, ptr %21, align 4
%79 = mul nsw i32 %77, %78
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds float, ptr %76, i64 %80
%82 = load i32, ptr %21, align 4
%83 = load ptr, ptr %22, align 8
%84 = load i32, ptr %23, align 4
%85 = load ptr, ptr %25, align 8
%86 = load i32, ptr %29, align 4
%87 = load i32, ptr %26, align 4
%88 = mul nsw i32 %86, %87
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds float, ptr %85, i64 %89
%91 = load i32, ptr %26, align 4
%92 = call i32 @gemm_nn(i32 noundef 1, i32 noundef %73, i32 noundef %74, float noundef %75, ptr noundef %81, i32 noundef %82, ptr noundef %83, i32 noundef %84, ptr noundef %90, i32 noundef %91)
br label %166
93: ; preds = %69, %66
%94 = load i32, ptr %14, align 4
%95 = icmp ne i32 %94, 0
br i1 %95, label %96, label %118
96: ; preds = %93
%97 = load i32, ptr %15, align 4
%98 = icmp ne i32 %97, 0
br i1 %98, label %118, label %99
99: ; preds = %96
%100 = load i32, ptr %17, align 4
%101 = load i32, ptr %18, align 4
%102 = load float, ptr %19, align 4
%103 = load ptr, ptr %20, align 8
%104 = load i32, ptr %29, align 4
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds float, ptr %103, i64 %105
%107 = load i32, ptr %21, align 4
%108 = load ptr, ptr %22, align 8
%109 = load i32, ptr %23, align 4
%110 = load ptr, ptr %25, align 8
%111 = load i32, ptr %29, align 4
%112 = load i32, ptr %26, align 4
%113 = mul nsw i32 %111, %112
%114 = sext i32 %113 to i64
%115 = getelementptr inbounds float, ptr %110, i64 %114
%116 = load i32, ptr %26, align 4
%117 = call i32 @gemm_tn(i32 noundef 1, i32 noundef %100, i32 noundef %101, float noundef %102, ptr noundef %106, i32 noundef %107, ptr noundef %108, i32 noundef %109, ptr noundef %115, i32 noundef %116)
br label %165
118: ; preds = %96, %93
%119 = load i32, ptr %14, align 4
%120 = icmp ne i32 %119, 0
br i1 %120, label %145, label %121
121: ; preds = %118
%122 = load i32, ptr %15, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %145
124: ; preds = %121
%125 = load i32, ptr %17, align 4
%126 = load i32, ptr %18, align 4
%127 = load float, ptr %19, align 4
%128 = load ptr, ptr %20, align 8
%129 = load i32, ptr %29, align 4
%130 = load i32, ptr %21, align 4
%131 = mul nsw i32 %129, %130
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds float, ptr %128, i64 %132
%134 = load i32, ptr %21, align 4
%135 = load ptr, ptr %22, align 8
%136 = load i32, ptr %23, align 4
%137 = load ptr, ptr %25, align 8
%138 = load i32, ptr %29, align 4
%139 = load i32, ptr %26, align 4
%140 = mul nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds float, ptr %137, i64 %141
%143 = load i32, ptr %26, align 4
%144 = call i32 @gemm_nt(i32 noundef 1, i32 noundef %125, i32 noundef %126, float noundef %127, ptr noundef %133, i32 noundef %134, ptr noundef %135, i32 noundef %136, ptr noundef %142, i32 noundef %143)
br label %164
145: ; preds = %121, %118
%146 = load i32, ptr %17, align 4
%147 = load i32, ptr %18, align 4
%148 = load float, ptr %19, align 4
%149 = load ptr, ptr %20, align 8
%150 = load i32, ptr %29, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds float, ptr %149, i64 %151
%153 = load i32, ptr %21, align 4
%154 = load ptr, ptr %22, align 8
%155 = load i32, ptr %23, align 4
%156 = load ptr, ptr %25, align 8
%157 = load i32, ptr %29, align 4
%158 = load i32, ptr %26, align 4
%159 = mul nsw i32 %157, %158
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds float, ptr %156, i64 %160
%162 = load i32, ptr %26, align 4
%163 = call i32 @gemm_tt(i32 noundef 1, i32 noundef %146, i32 noundef %147, float noundef %148, ptr noundef %152, i32 noundef %153, ptr noundef %154, i32 noundef %155, ptr noundef %161, i32 noundef %162)
br label %164
164: ; preds = %145, %124
br label %165
165: ; preds = %164, %99
br label %166
166: ; preds = %165, %72
br label %167
167: ; preds = %166
%168 = load i32, ptr %29, align 4
%169 = add nsw i32 %168, 1
store i32 %169, ptr %29, align 4
%170 = load i32, ptr %29, align 4
%171 = load i32, ptr %16, align 4
%172 = icmp slt i32 %170, %171
br i1 %172, label %66, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %167
br label %173
173: ; preds = %._crit_edge6, %62
ret void
}
declare i32 @gemm_nn(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gemm_tn(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gemm_nt(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @gemm_tt(i32 noundef, i32 noundef, i32 noundef, float noundef, ptr noundef, i32 noundef, ptr 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"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp84n1ehct.c'
source_filename = "/tmp/tmp84n1ehct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%[^\0A]%*c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1001 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %28, %0
%7 = load i32, ptr %3, align 4
%8 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp slt i32 %7, %9
br i1 %10, label %11, label %31
11: ; preds = %6
%12 = load i32, ptr %3, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %20
18: ; preds = %11
%19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %27
20: ; preds = %11
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %25)
br label %27
27: ; preds = %20, %18
br label %28
28: ; preds = %27
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %6, !llvm.loop !6
31: ; preds = %6
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp84n1ehct.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [9 x i8] c"%[^\0A]%*c\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1001 x i8], align 16
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%5 = call i32 @scanf(ptr noundef @.str, ptr noundef %4)
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 0
%8 = call i32 @strlen(ptr noundef %7)
%9 = icmp slt i32 %6, %8
br i1 %9, label %.lr.ph, label %33
.lr.ph: ; preds = %0
br label %10
10: ; preds = %.lr.ph, %27
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %17, label %19
17: ; preds = %10
%18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %26
19: ; preds = %10
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [1001 x i8], ptr %2, i64 0, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %24)
br label %26
26: ; preds = %19, %17
br label %27
27: ; preds = %26
%28 = load i32, ptr %3, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %3, align 4
%30 = load i32, ptr %3, align 4
%31 = call i32 @strlen(ptr noundef %7)
%32 = icmp slt i32 %30, %31
br i1 %32, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %33
33: ; preds = %._crit_edge, %0
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpfouwkm9s.c'
source_filename = "/tmp/tmpfouwkm9s.c"
target datalayout = "e-m:e-p270: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/tmpfouwkm9s.c"
target datalayout = "e-m:e-p270: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/tmpnr6atktc.c'
source_filename = "/tmp/tmpnr6atktc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @server_destroy() #0 {
%1 = call i32 (...) @cmdline_destroy()
%2 = call i32 (...) @game_destroy()
ret void
}
declare i32 @cmdline_destroy(...) #1
declare i32 @game_destroy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpnr6atktc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @server_destroy() #0 {
%1 = call i32 (...) @cmdline_destroy()
%2 = call i32 (...) @game_destroy()
ret void
}
declare i32 @cmdline_destroy(...) #1
declare i32 @game_destroy(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuxhcy5jp.c'
source_filename = "/tmp/tmpuxhcy5jp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cbfetch(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = or i64 %3, 2147483648
%5 = and i64 %4, -4
%6 = call i32 @outl(i64 noundef %5, i32 noundef 3320)
%7 = load i64, ptr %2, align 8
%8 = and i64 %7, 3
%9 = add nsw i64 3324, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @inb(i32 noundef %10)
ret i64 %11
}
declare i32 @outl(i64 noundef, i32 noundef) #1
declare i64 @inb(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/tmpuxhcy5jp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @cbfetch(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = or i64 %3, 2147483648
%5 = and i64 %4, -4
%6 = call i32 @outl(i64 noundef %5, i32 noundef 3320)
%7 = load i64, ptr %2, align 8
%8 = and i64 %7, 3
%9 = add nsw i64 3324, %8
%10 = trunc i64 %9 to i32
%11 = call i64 @inb(i32 noundef %10)
ret i64 %11
}
declare i32 @outl(i64 noundef, i32 noundef) #1
declare i64 @inb(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/tmpcqkwa51w.c'
source_filename = "/tmp/tmpcqkwa51w.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpcqkwa51w.c"
target datalayout = "e-m:e-p270: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
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph1b4_1lx.c'
source_filename = "/tmp/tmph1b4_1lx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fnjoint.name4 = internal global [100 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fnjoint(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
store ptr @fnjoint.name4, ptr %10, align 8
br label %14
14: ; preds = %18, %3
%15 = load ptr, ptr %7, align 8
%16 = load i8, ptr %15, align 1
%17 = icmp ne i8 %16, 0
br i1 %17, label %18, label %28
18: ; preds = %14
%19 = load ptr, ptr %7, align 8
%20 = load i8, ptr %19, align 1
%21 = load ptr, ptr %10, align 8
store i8 %20, ptr %21, align 1
%22 = load ptr, ptr %7, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %7, align 8
%24 = load i8, ptr %22, align 1
%25 = load ptr, ptr %10, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %10, align 8
%27 = load i8, ptr %25, align 1
br label %14, !llvm.loop !6
28: ; preds = %14
br label %29
29: ; preds = %33, %28
%30 = load ptr, ptr %8, align 8
%31 = load i8, ptr %30, align 1
%32 = icmp ne i8 %31, 0
br i1 %32, label %33, label %43
33: ; preds = %29
%34 = load ptr, ptr %8, align 8
%35 = load i8, ptr %34, align 1
%36 = load ptr, ptr %10, align 8
store i8 %35, ptr %36, align 1
%37 = load ptr, ptr %8, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %8, align 8
%39 = load i8, ptr %37, align 1
%40 = load ptr, ptr %10, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %10, align 8
%42 = load i8, ptr %40, align 1
br label %29, !llvm.loop !8
43: ; preds = %29
br label %44
44: ; preds = %48, %43
%45 = load ptr, ptr %9, align 8
%46 = load i8, ptr %45, align 1
%47 = icmp ne i8 %46, 0
br i1 %47, label %48, label %58
48: ; preds = %44
%49 = load ptr, ptr %9, align 8
%50 = load i8, ptr %49, align 1
%51 = load ptr, ptr %10, align 8
store i8 %50, ptr %51, align 1
%52 = load ptr, ptr %9, align 8
%53 = getelementptr inbounds i8, ptr %52, i32 1
store ptr %53, ptr %9, align 8
%54 = load i8, ptr %52, align 1
%55 = load ptr, ptr %10, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %10, align 8
%57 = load i8, ptr %55, align 1
br label %44, !llvm.loop !9
58: ; preds = %44
%59 = load ptr, ptr %9, align 8
%60 = load i8, ptr %59, align 1
%61 = load ptr, ptr %10, align 8
store i8 %60, ptr %61, align 1
%62 = load ptr, ptr %6, align 8
%63 = call i32 @chcp(ptr noundef %62, ptr noundef @fnjoint.name4)
ret void
}
declare i32 @chcp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1b4_1lx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@fnjoint.name4 = internal global [100 x i8] zeroinitializer, align 16
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @fnjoint(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store ptr %2, ptr %6, align 8
%11 = load ptr, ptr %4, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
store ptr @fnjoint.name4, ptr %10, align 8
%14 = load ptr, ptr %7, align 8
%15 = load i8, ptr %14, align 1
%16 = icmp ne i8 %15, 0
br i1 %16, label %.lr.ph, label %30
.lr.ph: ; preds = %3
br label %17
17: ; preds = %.lr.ph, %17
%18 = load ptr, ptr %7, align 8
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %10, align 8
store i8 %19, ptr %20, align 1
%21 = load ptr, ptr %7, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %7, align 8
%23 = load i8, ptr %21, align 1
%24 = load ptr, ptr %10, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 1
store ptr %25, ptr %10, align 8
%26 = load i8, ptr %24, align 1
%27 = load ptr, ptr %7, align 8
%28 = load i8, ptr %27, align 1
%29 = icmp ne i8 %28, 0
br i1 %29, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %30
30: ; preds = %._crit_edge, %3
%31 = load ptr, ptr %8, align 8
%32 = load i8, ptr %31, align 1
%33 = icmp ne i8 %32, 0
br i1 %33, label %.lr.ph2, label %47
.lr.ph2: ; preds = %30
br label %34
34: ; preds = %.lr.ph2, %34
%35 = load ptr, ptr %8, align 8
%36 = load i8, ptr %35, align 1
%37 = load ptr, ptr %10, align 8
store i8 %36, ptr %37, align 1
%38 = load ptr, ptr %8, align 8
%39 = getelementptr inbounds i8, ptr %38, i32 1
store ptr %39, ptr %8, align 8
%40 = load i8, ptr %38, align 1
%41 = load ptr, ptr %10, align 8
%42 = getelementptr inbounds i8, ptr %41, i32 1
store ptr %42, ptr %10, align 8
%43 = load i8, ptr %41, align 1
%44 = load ptr, ptr %8, align 8
%45 = load i8, ptr %44, align 1
%46 = icmp ne i8 %45, 0
br i1 %46, label %34, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %34
br label %47
47: ; preds = %._crit_edge3, %30
%48 = load ptr, ptr %9, align 8
%49 = load i8, ptr %48, align 1
%50 = icmp ne i8 %49, 0
br i1 %50, label %.lr.ph5, label %64
.lr.ph5: ; preds = %47
br label %51
51: ; preds = %.lr.ph5, %51
%52 = load ptr, ptr %9, align 8
%53 = load i8, ptr %52, align 1
%54 = load ptr, ptr %10, align 8
store i8 %53, ptr %54, align 1
%55 = load ptr, ptr %9, align 8
%56 = getelementptr inbounds i8, ptr %55, i32 1
store ptr %56, ptr %9, align 8
%57 = load i8, ptr %55, align 1
%58 = load ptr, ptr %10, align 8
%59 = getelementptr inbounds i8, ptr %58, i32 1
store ptr %59, ptr %10, align 8
%60 = load i8, ptr %58, align 1
%61 = load ptr, ptr %9, align 8
%62 = load i8, ptr %61, align 1
%63 = icmp ne i8 %62, 0
br i1 %63, label %51, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %51
br label %64
64: ; preds = %._crit_edge6, %47
%65 = load ptr, ptr %9, align 8
%66 = load i8, ptr %65, align 1
%67 = load ptr, ptr %10, align 8
store i8 %66, ptr %67, align 1
%68 = load ptr, ptr %6, align 8
%69 = call i32 @chcp(ptr noundef %68, ptr noundef @fnjoint.name4)
ret void
}
declare i32 @chcp(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp6lixtvla.c'
source_filename = "/tmp/tmp6lixtvla.c"
target datalayout = "e-m:e-p270: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/tmp6lixtvla.c"
target datalayout = "e-m:e-p270: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/tmpydc9tbsy.c'
source_filename = "/tmp/tmpydc9tbsy.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aio_fsync(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 = load i32, ptr @ENOSYS, align 4
store i32 %5, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpydc9tbsy.c"
target datalayout = "e-m:e-p270: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
@errno = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @aio_fsync(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 = load i32, ptr @ENOSYS, align 4
store i32 %5, ptr @errno, align 4
ret i32 -1
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp53n8xjp9.c'
source_filename = "/tmp/tmp53n8xjp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setCWComplianceMargin(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %3, align 1
%6 = load i8, ptr %4, align 1
%7 = call i32 @dxl_write_byte(i8 noundef zeroext %5, i32 noundef 26, i8 noundef zeroext %6)
ret void
}
declare i32 @dxl_write_byte(i8 noundef zeroext, i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp53n8xjp9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @setCWComplianceMargin(i8 noundef zeroext %0, i8 noundef zeroext %1) #0 {
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 %1, ptr %4, align 1
%5 = load i8, ptr %3, align 1
%6 = load i8, ptr %4, align 1
%7 = call i32 @dxl_write_byte(i8 noundef zeroext %5, i32 noundef 26, i8 noundef zeroext %6)
ret void
}
declare i32 @dxl_write_byte(i8 noundef zeroext, i32 noundef, i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpff3ae7az.c'
source_filename = "/tmp/tmpff3ae7az.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetBrightness_GC306(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
switch i32 %4, label %15 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %11
i32 5, label %13
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 40)
br label %16
7: ; preds = %1
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 72)
br label %16
9: ; preds = %1
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 104)
br label %16
11: ; preds = %1
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 136)
br label %16
13: ; preds = %1
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 168)
br label %16
15: ; preds = %1
br label %16
16: ; preds = %15, %13, %11, %9, %7, %5
ret void
}
declare i32 @VIM_SIF_I2cWriteByte(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/tmpff3ae7az.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SensorSetBrightness_GC306(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
switch i32 %4, label %15 [
i32 1, label %5
i32 2, label %7
i32 3, label %9
i32 4, label %11
i32 5, label %13
]
5: ; preds = %1
%6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 40)
br label %16
7: ; preds = %1
%8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 72)
br label %16
9: ; preds = %1
%10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 104)
br label %16
11: ; preds = %1
%12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 136)
br label %16
13: ; preds = %1
%14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 209, i32 noundef 168)
br label %16
15: ; preds = %1
br label %16
16: ; preds = %15, %13, %11, %9, %7, %5
ret void
}
declare i32 @VIM_SIF_I2cWriteByte(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/tmpuniavc7v.c'
source_filename = "/tmp/tmpuniavc7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_to_be16(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 = call i32 @htobe16(i32 noundef %5)
store i32 %6, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @memcpy(ptr noundef %7, ptr noundef %4, i32 noundef 4)
ret void
}
declare i32 @htobe16(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/tmpuniavc7v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @pack_to_be16(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 = call i32 @htobe16(i32 noundef %5)
store i32 %6, ptr %4, align 4
%7 = load ptr, ptr %3, align 8
%8 = call i32 @memcpy(ptr noundef %7, ptr noundef %4, i32 noundef 4)
ret void
}
declare i32 @htobe16(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/tmp7tzep0vm.c'
source_filename = "/tmp/tmp7tzep0vm.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [12 x i8] c"Sysname:%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Nodename:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Release:%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Version:%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Machine:%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Domainname:%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"ARCH\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"ARCH\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"arch\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"arch\0A\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"Debian Based!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca %struct.utsname, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @uname(ptr noundef %4)
%6 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %10)
%12 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 2
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 3
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %16)
%18 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 4
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %19)
%21 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 5
%22 = load ptr, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %22)
%24 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%25 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcpy(ptr noundef %24, ptr noundef %26)
%28 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%29 = call ptr @strstr(ptr noundef %28, ptr noundef @.str.6)
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.6)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %44
35: ; preds = %0
%36 = load ptr, ptr %3, align 8
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.8)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %43
41: ; preds = %35
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %43
43: ; preds = %41, %39
br label %44
44: ; preds = %43, %33
%45 = load i32, ptr %1, align 4
ret i32 %45
}
declare i32 @uname(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7tzep0vm.c"
target datalayout = "e-m:e-p270: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.utsname = type { ptr, ptr, ptr, ptr, ptr, ptr }
@.str = private unnamed_addr constant [12 x i8] c"Sysname:%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"Nodename:%s\0A\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Release:%s\0A\00", align 1
@.str.3 = private unnamed_addr constant [12 x i8] c"Version:%s\0A\00", align 1
@.str.4 = private unnamed_addr constant [12 x i8] c"Machine:%s\0A\00", align 1
@.str.5 = private unnamed_addr constant [15 x i8] c"Domainname:%s\0A\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"ARCH\00", align 1
@.str.7 = private unnamed_addr constant [6 x i8] c"ARCH\0A\00", align 1
@.str.8 = private unnamed_addr constant [5 x i8] c"arch\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"arch\0A\00", align 1
@.str.10 = private unnamed_addr constant [15 x i8] c"Debian Based!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1024 x i8], align 16
%3 = alloca ptr, align 8
%4 = alloca %struct.utsname, align 8
store i32 0, ptr %1, align 4
%5 = call i32 @uname(ptr noundef %4)
%6 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 0
%7 = load ptr, ptr %6, align 8
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %7)
%9 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 1
%10 = load ptr, ptr %9, align 8
%11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %10)
%12 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 2
%13 = load ptr, ptr %12, align 8
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %13)
%15 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 3
%16 = load ptr, ptr %15, align 8
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %16)
%18 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 4
%19 = load ptr, ptr %18, align 8
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %19)
%21 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 5
%22 = load ptr, ptr %21, align 8
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %22)
%24 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%25 = getelementptr inbounds %struct.utsname, ptr %4, i32 0, i32 2
%26 = load ptr, ptr %25, align 8
%27 = call i32 @strcpy(ptr noundef %24, ptr noundef %26)
%28 = getelementptr inbounds [1024 x i8], ptr %2, i64 0, i64 0
%29 = call ptr @strstr(ptr noundef %28, ptr noundef @.str.6)
store ptr %29, ptr %3, align 8
%30 = load ptr, ptr %3, align 8
%31 = call i64 @strcmp(ptr noundef %30, ptr noundef @.str.6)
%32 = icmp eq i64 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %0
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
br label %44
35: ; preds = %0
%36 = load ptr, ptr %3, align 8
%37 = call i64 @strcmp(ptr noundef %36, ptr noundef @.str.8)
%38 = icmp eq i64 %37, 0
br i1 %38, label %39, label %41
39: ; preds = %35
%40 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
br label %43
41: ; preds = %35
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
br label %43
43: ; preds = %41, %39
br label %44
44: ; preds = %43, %33
%45 = load i32, ptr %1, align 4
ret i32 %45
}
declare i32 @uname(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #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"}
|
; ModuleID = '/tmp/tmpqkffy9t7.c'
source_filename = "/tmp/tmpqkffy9t7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_putstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
br label %3
3: ; preds = %7, %1
%4 = load ptr, ptr %2, align 8
%5 = load i8, ptr %4, align 1
%6 = icmp ne i8 %5, 0
br i1 %6, label %7, label %14
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i64 0
%10 = load i8, ptr %9, align 1
%11 = call i32 @ft_putchar(i8 noundef signext %10)
%12 = load ptr, ptr %2, align 8
%13 = getelementptr inbounds i8, ptr %12, i64 1
store ptr %13, ptr %2, align 8
br label %3, !llvm.loop !6
14: ; preds = %3
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqkffy9t7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_putstr(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = load i8, ptr %3, align 1
%5 = icmp ne i8 %4, 0
br i1 %5, label %.lr.ph, label %16
.lr.ph: ; preds = %1
br label %6
6: ; preds = %.lr.ph, %6
%7 = load ptr, ptr %2, align 8
%8 = getelementptr inbounds i8, ptr %7, i64 0
%9 = load i8, ptr %8, align 1
%10 = call i32 @ft_putchar(i8 noundef signext %9)
%11 = load ptr, ptr %2, align 8
%12 = getelementptr inbounds i8, ptr %11, i64 1
store ptr %12, ptr %2, align 8
%13 = load ptr, ptr %2, align 8
%14 = load i8, ptr %13, align 1
%15 = icmp ne i8 %14, 0
br i1 %15, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %16
16: ; preds = %._crit_edge, %1
ret void
}
declare i32 @ft_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpszz5k6ju.c'
source_filename = "/tmp/tmpszz5k6ju.c"
target datalayout = "e-m:e-p270: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/tmpszz5k6ju.c"
target datalayout = "e-m:e-p270: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/tmp8wj6_ypz.c'
source_filename = "/tmp/tmp8wj6_ypz.c"
target datalayout = "e-m:e-p270: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/tmp8wj6_ypz.c"
target datalayout = "e-m:e-p270: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/tmpxa5ziuwp.c'
source_filename = "/tmp/tmpxa5ziuwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_perfect_slice_dimension(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = mul nsw i32 %9, %12
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @sqrt(i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = srem i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %34, label %20
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr %6, align 4
%25 = srem i32 %23, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %20
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %6, align 4
%32 = srem i32 %30, %31
%33 = icmp ne i32 %32, 0
br label %34
34: ; preds = %27, %20, %2
%35 = phi i1 [ true, %20 ], [ true, %2 ], [ %33, %27 ]
%36 = xor i1 %35, true
%37 = zext i1 %36 to i32
ret i32 %37
}
declare i32 @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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxa5ziuwp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @is_perfect_slice_dimension(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = getelementptr inbounds i32, ptr %7, i64 0
%9 = load i32, ptr %8, align 4
%10 = load ptr, ptr %4, align 8
%11 = getelementptr inbounds i32, ptr %10, i64 1
%12 = load i32, ptr %11, align 4
%13 = mul nsw i32 %9, %12
store i32 %13, ptr %5, align 4
%14 = load i32, ptr %3, align 4
%15 = call i32 @sqrt(i32 noundef %14)
store i32 %15, ptr %6, align 4
%16 = load i32, ptr %5, align 4
%17 = load i32, ptr %3, align 4
%18 = srem i32 %16, %17
%19 = icmp ne i32 %18, 0
br i1 %19, label %34, label %20
20: ; preds = %2
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds i32, ptr %21, i64 0
%23 = load i32, ptr %22, align 4
%24 = load i32, ptr %6, align 4
%25 = srem i32 %23, %24
%26 = icmp ne i32 %25, 0
br i1 %26, label %34, label %27
27: ; preds = %20
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i32, ptr %28, i64 1
%30 = load i32, ptr %29, align 4
%31 = load i32, ptr %6, align 4
%32 = srem i32 %30, %31
%33 = icmp ne i32 %32, 0
br label %34
34: ; preds = %27, %20, %2
%35 = phi i1 [ true, %20 ], [ true, %2 ], [ %33, %27 ]
%36 = xor i1 %35, true
%37 = zext i1 %36 to i32
ret i32 %37
}
declare i32 @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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjemnodba.c'
source_filename = "/tmp/tmpjemnodba.c"
target datalayout = "e-m:e-p270: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/tmpjemnodba.c"
target datalayout = "e-m:e-p270: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/tmp22vrvzkd.c'
source_filename = "/tmp/tmp22vrvzkd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_mask32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 1
%5 = load i32, ptr %2, align 4
%6 = or i32 %5, %4
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = ashr i32 %7, 2
%9 = load i32, ptr %2, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = ashr i32 %11, 4
%13 = load i32, ptr %2, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = ashr i32 %15, 8
%17 = load i32, ptr %2, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = ashr i32 %19, 16
%21 = load i32, ptr %2, align 4
%22 = or i32 %21, %20
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp22vrvzkd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @make_mask32(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = ashr i32 %3, 1
%5 = load i32, ptr %2, align 4
%6 = or i32 %5, %4
store i32 %6, ptr %2, align 4
%7 = load i32, ptr %2, align 4
%8 = ashr i32 %7, 2
%9 = load i32, ptr %2, align 4
%10 = or i32 %9, %8
store i32 %10, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = ashr i32 %11, 4
%13 = load i32, ptr %2, align 4
%14 = or i32 %13, %12
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = ashr i32 %15, 8
%17 = load i32, ptr %2, align 4
%18 = or i32 %17, %16
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = ashr i32 %19, 16
%21 = load i32, ptr %2, align 4
%22 = or i32 %21, %20
store i32 %22, ptr %2, align 4
%23 = load i32, ptr %2, align 4
ret i32 %23
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE 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_158678k.c'
source_filename = "/tmp/tmp_158678k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"****************************************************************\1B[46m \1B[45m\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"** **\1B[46m \1B[45m\00", align 1
@.str.2 = private unnamed_addr constant [95 x i8] c"********************** \1B[32m\1B[1mMAIN MENU\1B[21m\1B[39m **********************\1B[46m \1B[45m\00", align 1
@.str.3 = private unnamed_addr constant [105 x i8] c"** 1. \1B[4mC\1B[24mreate a contact \1B[37m\1B[41m(Already Exist)\1B[45m\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.4 = private unnamed_addr constant [85 x i8] c"** 2. \1B[4mL\1B[24mist the contact **\1B[46m \1B[45m\00", align 1
@.str.5 = private unnamed_addr constant [85 x i8] c"** 3. \1B[4mA\1B[24mdd a member to the contacts **\1B[46m \1B[45m\00", align 1
@.str.6 = private unnamed_addr constant [85 x i8] c"** 4. \1B[4mD\1B[24melete a member form the contact **\1B[46m \1B[45m\00", align 1
@.str.7 = private unnamed_addr constant [85 x i8] c"** 5. \1B[4mF\1B[24mind and Edit a member from the contacts **\1B[46m \1B[45m\00", align 1
@.str.8 = private unnamed_addr constant [85 x i8] c"** 6: \1B[4mS\1B[24mort your contacts **\1B[46m \1B[45m\00", align 1
@.str.9 = private unnamed_addr constant [85 x i8] c"** 7: S\1B[4mt\1B[24matistics **\1B[46m \1B[45m\00", align 1
@.str.10 = private unnamed_addr constant [85 x i8] c"** 8: Sa\1B[4mv\1B[24me your contacts **\1B[46m \1B[45m\00", align 1
@.str.11 = private unnamed_addr constant [85 x i8] c"** 9: C\1B[4mh\1B[24mange user password **\1B[46m \1B[45m\00", align 1
@.str.12 = private unnamed_addr constant [85 x i8] c"** 0: \1B[4mE\1B[24mxit **\1B[46m \1B[45m\00", align 1
@.str.13 = private unnamed_addr constant [85 x i8] c"** Please select the number or enter \1B[4munderlined\1B[24m letter **\1B[46m \1B[45m\00", align 1
@.str.14 = private unnamed_addr constant [65 x i8] c" \00", align 1
@.str.15 = private unnamed_addr constant [76 x i8] c"** 1. Create a contact **\1B[46m \1B[45m\00", align 1
@.str.16 = private unnamed_addr constant [81 x i8] c"\1B[44m \1B[46m \1B[39m\00", align 1
@.str.17 = private unnamed_addr constant [95 x i8] c"** \1B[33m\1B[1mAbout:\1B[39m\1B[21m **\1B[46m \1B[45m\00", align 1
@.str.18 = private unnamed_addr constant [86 x i8] c"** \1B[32mThanks for using contacts manage system!\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.19 = private unnamed_addr constant [86 x i8] c"** \1B[33mContacts Manage System V1.00\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.20 = private unnamed_addr constant [86 x i8] c"** \1B[34mMade by Ruilx Alxa\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.21 = private unnamed_addr constant [86 x i8] c"** \1B[36min Xian University of Posts and Telecommunications\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.22 = private unnamed_addr constant [86 x i8] c"** \1B[37mCopyright (C) 2010-2013 GT-Soft Studio All Rights Reserved\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.23 = private unnamed_addr constant [100 x i8] c"** \1B[32mPlease E-mail bugs to: \1B[34m\1B[[email protected]\1B[24m\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.24 = private unnamed_addr constant [100 x i8] c"** \1B[32mPlease visit our Homepage: \1B[34m\1B[4mhttp://gtsoft.cwsurf.de\1B[24m\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.25 = private unnamed_addr constant [76 x i8] c"** You haven't save your contact yet, if you still **\1B[46m \1B[41m\00", align 1
@.str.26 = private unnamed_addr constant [76 x i8] c"** exit, you may lost all your changes, Sure? **\1B[46m \1B[41m\00", align 1
@.str.27 = private unnamed_addr constant [133 x i8] c"** \1B[33m1. \1B[4mS\1B[24mave & Exit\1B[39m ** \1B[32m2. \1B[4mM\1B[24main Menu\1B[39m ** \1B[35m3. \1B[4mD\1B[24miscard Exit\1B[39m ** **\1B[46m \1B[41m\00", align 1
@.str.28 = private unnamed_addr constant [76 x i8] c"****************************************************************\1B[46m \1B[41m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print64(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
switch i32 %4, label %63 [
i32 11, label %5
i32 12, label %7
i32 10, label %9
i32 1, label %11
i32 2, label %13
i32 3, label %15
i32 4, label %17
i32 5, label %19
i32 6, label %21
i32 7, label %23
i32 8, label %25
i32 9, label %27
i32 0, label %29
i32 13, label %31
i32 14, label %33
i32 15, label %35
i32 16, label %37
i32 17, label %39
i32 18, label %41
i32 19, label %43
i32 20, label %45
i32 21, label %47
i32 22, label %49
i32 23, label %51
i32 24, label %53
i32 25, label %55
i32 26, label %57
i32 27, label %59
i32 28, label %61
]
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %64
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %64
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.2)
br label %64
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str.3)
br label %64
13: ; preds = %1
%14 = call i32 @printf(ptr noundef @.str.4)
br label %64
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.5)
br label %64
17: ; preds = %1
%18 = call i32 @printf(ptr noundef @.str.6)
br label %64
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.7)
br label %64
21: ; preds = %1
%22 = call i32 @printf(ptr noundef @.str.8)
br label %64
23: ; preds = %1
%24 = call i32 @printf(ptr noundef @.str.9)
br label %64
25: ; preds = %1
%26 = call i32 @printf(ptr noundef @.str.10)
br label %64
27: ; preds = %1
%28 = call i32 @printf(ptr noundef @.str.11)
br label %64
29: ; preds = %1
%30 = call i32 @printf(ptr noundef @.str.12)
br label %64
31: ; preds = %1
%32 = call i32 @printf(ptr noundef @.str.13)
br label %64
33: ; preds = %1
%34 = call i32 @printf(ptr noundef @.str.14)
br label %64
35: ; preds = %1
%36 = call i32 @printf(ptr noundef @.str.15)
br label %64
37: ; preds = %1
%38 = call i32 @printf(ptr noundef @.str.16)
br label %64
39: ; preds = %1
%40 = call i32 @printf(ptr noundef @.str.17)
br label %64
41: ; preds = %1
%42 = call i32 @printf(ptr noundef @.str.18)
br label %64
43: ; preds = %1
%44 = call i32 @printf(ptr noundef @.str.19)
br label %64
45: ; preds = %1
%46 = call i32 @printf(ptr noundef @.str.20)
br label %64
47: ; preds = %1
%48 = call i32 @printf(ptr noundef @.str.21)
br label %64
49: ; preds = %1
%50 = call i32 @printf(ptr noundef @.str.22)
br label %64
51: ; preds = %1
%52 = call i32 @printf(ptr noundef @.str.23)
br label %64
53: ; preds = %1
%54 = call i32 @printf(ptr noundef @.str.24)
br label %64
55: ; preds = %1
%56 = call i32 @printf(ptr noundef @.str.25)
br label %64
57: ; preds = %1
%58 = call i32 @printf(ptr noundef @.str.26)
br label %64
59: ; preds = %1
%60 = call i32 @printf(ptr noundef @.str.27)
br label %64
61: ; preds = %1
%62 = call i32 @printf(ptr noundef @.str.28)
br label %64
63: ; preds = %1
br label %64
64: ; preds = %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
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/tmp_158678k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [76 x i8] c"****************************************************************\1B[46m \1B[45m\00", align 1
@.str.1 = private unnamed_addr constant [76 x i8] c"** **\1B[46m \1B[45m\00", align 1
@.str.2 = private unnamed_addr constant [95 x i8] c"********************** \1B[32m\1B[1mMAIN MENU\1B[21m\1B[39m **********************\1B[46m \1B[45m\00", align 1
@.str.3 = private unnamed_addr constant [105 x i8] c"** 1. \1B[4mC\1B[24mreate a contact \1B[37m\1B[41m(Already Exist)\1B[45m\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.4 = private unnamed_addr constant [85 x i8] c"** 2. \1B[4mL\1B[24mist the contact **\1B[46m \1B[45m\00", align 1
@.str.5 = private unnamed_addr constant [85 x i8] c"** 3. \1B[4mA\1B[24mdd a member to the contacts **\1B[46m \1B[45m\00", align 1
@.str.6 = private unnamed_addr constant [85 x i8] c"** 4. \1B[4mD\1B[24melete a member form the contact **\1B[46m \1B[45m\00", align 1
@.str.7 = private unnamed_addr constant [85 x i8] c"** 5. \1B[4mF\1B[24mind and Edit a member from the contacts **\1B[46m \1B[45m\00", align 1
@.str.8 = private unnamed_addr constant [85 x i8] c"** 6: \1B[4mS\1B[24mort your contacts **\1B[46m \1B[45m\00", align 1
@.str.9 = private unnamed_addr constant [85 x i8] c"** 7: S\1B[4mt\1B[24matistics **\1B[46m \1B[45m\00", align 1
@.str.10 = private unnamed_addr constant [85 x i8] c"** 8: Sa\1B[4mv\1B[24me your contacts **\1B[46m \1B[45m\00", align 1
@.str.11 = private unnamed_addr constant [85 x i8] c"** 9: C\1B[4mh\1B[24mange user password **\1B[46m \1B[45m\00", align 1
@.str.12 = private unnamed_addr constant [85 x i8] c"** 0: \1B[4mE\1B[24mxit **\1B[46m \1B[45m\00", align 1
@.str.13 = private unnamed_addr constant [85 x i8] c"** Please select the number or enter \1B[4munderlined\1B[24m letter **\1B[46m \1B[45m\00", align 1
@.str.14 = private unnamed_addr constant [65 x i8] c" \00", align 1
@.str.15 = private unnamed_addr constant [76 x i8] c"** 1. Create a contact **\1B[46m \1B[45m\00", align 1
@.str.16 = private unnamed_addr constant [81 x i8] c"\1B[44m \1B[46m \1B[39m\00", align 1
@.str.17 = private unnamed_addr constant [95 x i8] c"** \1B[33m\1B[1mAbout:\1B[39m\1B[21m **\1B[46m \1B[45m\00", align 1
@.str.18 = private unnamed_addr constant [86 x i8] c"** \1B[32mThanks for using contacts manage system!\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.19 = private unnamed_addr constant [86 x i8] c"** \1B[33mContacts Manage System V1.00\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.20 = private unnamed_addr constant [86 x i8] c"** \1B[34mMade by Ruilx Alxa\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.21 = private unnamed_addr constant [86 x i8] c"** \1B[36min Xian University of Posts and Telecommunications\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.22 = private unnamed_addr constant [86 x i8] c"** \1B[37mCopyright (C) 2010-2013 GT-Soft Studio All Rights Reserved\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.23 = private unnamed_addr constant [100 x i8] c"** \1B[32mPlease E-mail bugs to: \1B[34m\1B[[email protected]\1B[24m\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.24 = private unnamed_addr constant [100 x i8] c"** \1B[32mPlease visit our Homepage: \1B[34m\1B[4mhttp://gtsoft.cwsurf.de\1B[24m\1B[39m **\1B[46m \1B[45m\00", align 1
@.str.25 = private unnamed_addr constant [76 x i8] c"** You haven't save your contact yet, if you still **\1B[46m \1B[41m\00", align 1
@.str.26 = private unnamed_addr constant [76 x i8] c"** exit, you may lost all your changes, Sure? **\1B[46m \1B[41m\00", align 1
@.str.27 = private unnamed_addr constant [133 x i8] c"** \1B[33m1. \1B[4mS\1B[24mave & Exit\1B[39m ** \1B[32m2. \1B[4mM\1B[24main Menu\1B[39m ** \1B[35m3. \1B[4mD\1B[24miscard Exit\1B[39m ** **\1B[46m \1B[41m\00", align 1
@.str.28 = private unnamed_addr constant [76 x i8] c"****************************************************************\1B[46m \1B[41m\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print64(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = zext i8 %3 to i32
switch i32 %4, label %63 [
i32 11, label %5
i32 12, label %7
i32 10, label %9
i32 1, label %11
i32 2, label %13
i32 3, label %15
i32 4, label %17
i32 5, label %19
i32 6, label %21
i32 7, label %23
i32 8, label %25
i32 9, label %27
i32 0, label %29
i32 13, label %31
i32 14, label %33
i32 15, label %35
i32 16, label %37
i32 17, label %39
i32 18, label %41
i32 19, label %43
i32 20, label %45
i32 21, label %47
i32 22, label %49
i32 23, label %51
i32 24, label %53
i32 25, label %55
i32 26, label %57
i32 27, label %59
i32 28, label %61
]
5: ; preds = %1
%6 = call i32 @printf(ptr noundef @.str)
br label %64
7: ; preds = %1
%8 = call i32 @printf(ptr noundef @.str.1)
br label %64
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.2)
br label %64
11: ; preds = %1
%12 = call i32 @printf(ptr noundef @.str.3)
br label %64
13: ; preds = %1
%14 = call i32 @printf(ptr noundef @.str.4)
br label %64
15: ; preds = %1
%16 = call i32 @printf(ptr noundef @.str.5)
br label %64
17: ; preds = %1
%18 = call i32 @printf(ptr noundef @.str.6)
br label %64
19: ; preds = %1
%20 = call i32 @printf(ptr noundef @.str.7)
br label %64
21: ; preds = %1
%22 = call i32 @printf(ptr noundef @.str.8)
br label %64
23: ; preds = %1
%24 = call i32 @printf(ptr noundef @.str.9)
br label %64
25: ; preds = %1
%26 = call i32 @printf(ptr noundef @.str.10)
br label %64
27: ; preds = %1
%28 = call i32 @printf(ptr noundef @.str.11)
br label %64
29: ; preds = %1
%30 = call i32 @printf(ptr noundef @.str.12)
br label %64
31: ; preds = %1
%32 = call i32 @printf(ptr noundef @.str.13)
br label %64
33: ; preds = %1
%34 = call i32 @printf(ptr noundef @.str.14)
br label %64
35: ; preds = %1
%36 = call i32 @printf(ptr noundef @.str.15)
br label %64
37: ; preds = %1
%38 = call i32 @printf(ptr noundef @.str.16)
br label %64
39: ; preds = %1
%40 = call i32 @printf(ptr noundef @.str.17)
br label %64
41: ; preds = %1
%42 = call i32 @printf(ptr noundef @.str.18)
br label %64
43: ; preds = %1
%44 = call i32 @printf(ptr noundef @.str.19)
br label %64
45: ; preds = %1
%46 = call i32 @printf(ptr noundef @.str.20)
br label %64
47: ; preds = %1
%48 = call i32 @printf(ptr noundef @.str.21)
br label %64
49: ; preds = %1
%50 = call i32 @printf(ptr noundef @.str.22)
br label %64
51: ; preds = %1
%52 = call i32 @printf(ptr noundef @.str.23)
br label %64
53: ; preds = %1
%54 = call i32 @printf(ptr noundef @.str.24)
br label %64
55: ; preds = %1
%56 = call i32 @printf(ptr noundef @.str.25)
br label %64
57: ; preds = %1
%58 = call i32 @printf(ptr noundef @.str.26)
br label %64
59: ; preds = %1
%60 = call i32 @printf(ptr noundef @.str.27)
br label %64
61: ; preds = %1
%62 = call i32 @printf(ptr noundef @.str.28)
br label %64
63: ; preds = %1
br label %64
64: ; preds = %63, %61, %59, %57, %55, %53, %51, %49, %47, %45, %43, %41, %39, %37, %35, %33, %31, %29, %27, %25, %23, %21, %19, %17, %15, %13, %11, %9, %7, %5
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/tmp_z5ozuc8.c'
source_filename = "/tmp/tmp_z5ozuc8.c"
target datalayout = "e-m:e-p270: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_z5ozuc8.c"
target datalayout = "e-m:e-p270: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/tmpjuo099ga.c'
source_filename = "/tmp/tmpjuo099ga.c"
target datalayout = "e-m:e-p270: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/tmpjuo099ga.c"
target datalayout = "e-m:e-p270: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/tmpt5_b3k0_.c'
source_filename = "/tmp/tmpt5_b3k0_.c"
target datalayout = "e-m:e-p270: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/tmpt5_b3k0_.c"
target datalayout = "e-m:e-p270: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/tmpl3ckbnre.c'
source_filename = "/tmp/tmpl3ckbnre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @power(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call double @topDynArr(ptr noundef %5)
store double %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @popDynArr(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call double @topDynArr(ptr noundef %9)
store double %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @popDynArr(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = load double, ptr %4, align 8
%15 = load double, ptr %3, align 8
%16 = call i32 @pow(double noundef %14, double noundef %15)
%17 = call i32 @pushDynArr(ptr noundef %13, i32 noundef %16)
ret void
}
declare double @topDynArr(ptr noundef) #1
declare i32 @popDynArr(ptr noundef) #1
declare i32 @pushDynArr(ptr noundef, i32 noundef) #1
declare i32 @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3ckbnre.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @power(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca double, align 8
%4 = alloca double, align 8
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call double @topDynArr(ptr noundef %5)
store double %6, ptr %3, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @popDynArr(ptr noundef %7)
%9 = load ptr, ptr %2, align 8
%10 = call double @topDynArr(ptr noundef %9)
store double %10, ptr %4, align 8
%11 = load ptr, ptr %2, align 8
%12 = call i32 @popDynArr(ptr noundef %11)
%13 = load ptr, ptr %2, align 8
%14 = load double, ptr %4, align 8
%15 = load double, ptr %3, align 8
%16 = call i32 @pow(double noundef %14, double noundef %15)
%17 = call i32 @pushDynArr(ptr noundef %13, i32 noundef %16)
ret void
}
declare double @topDynArr(ptr noundef) #1
declare i32 @popDynArr(ptr noundef) #1
declare i32 @pushDynArr(ptr noundef, i32 noundef) #1
declare i32 @pow(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvvqt9nbb.c'
source_filename = "/tmp/tmpvvqt9nbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_double_zero(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 = %36, %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 %39
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 i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = icmp ne i32 %19, 1
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 = call i32 @__builtin_fmaxf64(double noundef %26, i32 noundef 0)
br label %29
28: ; preds = %14
br label %29
29: ; preds = %28, %21
%30 = phi i32 [ %27, %21 ], [ 4, %28 ]
%31 = sitofp i32 %30 to double
%32 = load ptr, ptr %5, align 8
%33 = load i32, ptr %9, align 4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, ptr %32, i64 %34
store double %31, ptr %35, align 8
br label %36
36: ; preds = %29
%37 = load i32, ptr %9, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %9, align 4
br label %10, !llvm.loop !6
39: ; preds = %10
ret void
}
declare i32 @__builtin_fmaxf64(double 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/tmpvvqt9nbb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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_double_zero(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 %41
.lr.ph: ; preds = %4
br label %13
13: ; preds = %.lr.ph, %35
%14 = load ptr, ptr %7, align 8
%15 = load i32, ptr %9, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i32, ptr %14, i64 %16
%18 = load i32, ptr %17, align 4
%19 = icmp ne i32 %18, 1
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 = call i32 @__builtin_fmaxf64(double noundef %25, i32 noundef 0)
br label %28
27: ; preds = %13
br label %28
28: ; preds = %27, %20
%29 = phi i32 [ %26, %20 ], [ 4, %27 ]
%30 = sitofp i32 %29 to double
%31 = load ptr, ptr %5, align 8
%32 = load i32, ptr %9, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds double, ptr %31, i64 %33
store double %30, ptr %34, align 8
br label %35
35: ; preds = %28
%36 = load i32, ptr %9, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %9, align 4
%38 = load i32, ptr %9, align 4
%39 = load i32, ptr %8, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %4
ret void
}
declare i32 @__builtin_fmaxf64(double 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/tmprxvmtlig.c'
source_filename = "/tmp/tmprxvmtlig.c"
target datalayout = "e-m:e-p270: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/tmprxvmtlig.c"
target datalayout = "e-m:e-p270: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/tmp62008qoc.c'
source_filename = "/tmp/tmp62008qoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy0(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %6, align 8
%13 = sub i64 %12, 1
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @strncpy(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/tmp62008qoc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strncpy0(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i64 %2, ptr %6, align 8
%7 = load ptr, ptr %4, align 8
%8 = load ptr, ptr %5, align 8
%9 = load i64, ptr %6, align 8
%10 = call i32 @strncpy(ptr noundef %7, ptr noundef %8, i64 noundef %9)
%11 = load ptr, ptr %4, align 8
%12 = load i64, ptr %6, align 8
%13 = sub i64 %12, 1
%14 = getelementptr inbounds i8, ptr %11, i64 %13
store i8 0, ptr %14, align 1
%15 = load ptr, ptr %4, align 8
ret ptr %15
}
declare i32 @strncpy(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/tmpqmk5g3it.c'
source_filename = "/tmp/tmpqmk5g3it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fract(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call float @floor(float noundef %4)
%6 = fsub float %3, %5
ret float %6
}
declare float @floor(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/tmpqmk5g3it.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fract(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = load float, ptr %2, align 4
%4 = load float, ptr %2, align 4
%5 = call float @floor(float noundef %4)
%6 = fsub float %3, %5
ret float %6
}
declare float @floor(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/tmp9uztn3hh.c'
source_filename = "/tmp/tmp9uztn3hh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs_dvec(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %21, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %24
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds double, ptr %11, i64 %13
%15 = load double, ptr %14, align 8
%16 = call double @llvm.fabs.f64(double %15)
%17 = load ptr, ptr %4, align 8
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds double, ptr %17, i64 %19
store double %16, ptr %20, align 8
br label %21
21: ; preds = %10
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %6, !llvm.loop !6
24: ; preds = %6
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9uztn3hh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @abs_dvec(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %20
%10 = load ptr, ptr %4, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds double, ptr %10, i64 %12
%14 = load double, ptr %13, align 8
%15 = call double @llvm.fabs.f64(double %14)
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds double, ptr %16, i64 %18
store double %15, ptr %19, align 8
br label %20
20: ; preds = %9
%21 = load i32, ptr %5, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %5, align 4
%23 = load i32, ptr %5, align 4
%24 = load i32, ptr %3, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(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"}
|
; ModuleID = '/tmp/tmpvipvwjjf.c'
source_filename = "/tmp/tmpvipvwjjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nanotest_putuint_hex.hexes = internal constant [17 x i8] c"0123456789ABCDEF\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"0x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nanotest_putuint_hex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @nanotest_putstr(ptr noundef @.str)
store i32 8, ptr %3, align 4
br label %5
5: ; preds = %18, %1
%6 = load i32, ptr %3, align 4
%7 = icmp ne i32 %6, 0
br i1 %7, label %8, label %21
8: ; preds = %5
%9 = load i32, ptr %2, align 4
%10 = lshr i32 %9, 28
%11 = and i32 %10, 15
%12 = zext i32 %11 to i64
%13 = getelementptr inbounds [17 x i8], ptr @nanotest_putuint_hex.hexes, i64 0, i64 %12
%14 = load i8, ptr %13, align 1
%15 = call i32 @nanotest_putchar(i8 noundef signext %14)
%16 = load i32, ptr %2, align 4
%17 = shl i32 %16, 4
store i32 %17, ptr %2, align 4
br label %18
18: ; preds = %8
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, -1
store i32 %20, ptr %3, align 4
br label %5, !llvm.loop !6
21: ; preds = %5
ret void
}
declare i32 @nanotest_putstr(ptr noundef) #1
declare i32 @nanotest_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvipvwjjf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@nanotest_putuint_hex.hexes = internal constant [17 x i8] c"0123456789ABCDEF\00", align 16
@.str = private unnamed_addr constant [3 x i8] c"0x\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @nanotest_putuint_hex(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%4 = call i32 @nanotest_putstr(ptr noundef @.str)
store i32 8, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp ne i32 %5, 0
br i1 %6, label %.lr.ph, label %22
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %17
%8 = load i32, ptr %2, align 4
%9 = lshr i32 %8, 28
%10 = and i32 %9, 15
%11 = zext i32 %10 to i64
%12 = getelementptr inbounds [17 x i8], ptr @nanotest_putuint_hex.hexes, i64 0, i64 %11
%13 = load i8, ptr %12, align 1
%14 = call i32 @nanotest_putchar(i8 noundef signext %13)
%15 = load i32, ptr %2, align 4
%16 = shl i32 %15, 4
store i32 %16, ptr %2, align 4
br label %17
17: ; preds = %7
%18 = load i32, ptr %3, align 4
%19 = add nsw i32 %18, -1
store i32 %19, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp ne i32 %20, 0
br i1 %21, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %22
22: ; preds = %._crit_edge, %1
ret void
}
declare i32 @nanotest_putstr(ptr noundef) #1
declare i32 @nanotest_putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpptagk6ln.c'
source_filename = "/tmp/tmpptagk6ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bow_random_01() #0 {
%1 = alloca double, align 8
br label %2
2: ; preds = %10, %0
%3 = call double @bow_random_double(double noundef 0.000000e+00, double noundef 1.000000e+00)
store double %3, ptr %1, align 8
%4 = fcmp ole double %3, 0.000000e+00
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load double, ptr %1, align 8
%7 = fcmp oge double %6, 1.000000e+00
br label %8
8: ; preds = %5, %2
%9 = phi i1 [ true, %2 ], [ %7, %5 ]
br i1 %9, label %10, label %11
10: ; preds = %8
br label %2, !llvm.loop !6
11: ; preds = %8
%12 = load double, ptr %1, align 8
ret double %12
}
declare double @bow_random_double(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpptagk6ln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bow_random_01() #0 {
%1 = alloca double, align 8
br label %2
2: ; preds = %8, %0
%3 = call double @bow_random_double(double noundef 0.000000e+00, double noundef 1.000000e+00)
store double %3, ptr %1, align 8
%4 = fcmp ole double %3, 0.000000e+00
br i1 %4, label %8, label %5
5: ; preds = %2
%6 = load double, ptr %1, align 8
%7 = fcmp oge double %6, 1.000000e+00
br label %8
8: ; preds = %5, %2
%9 = phi i1 [ true, %2 ], [ %7, %5 ]
br i1 %9, label %2, label %10, !llvm.loop !6
10: ; preds = %8
%11 = load double, ptr %1, align 8
ret double %11
}
declare double @bow_random_double(double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpf63luly7.c'
source_filename = "/tmp/tmpf63luly7.c"
target datalayout = "e-m:e-p270: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/tmpf63luly7.c"
target datalayout = "e-m:e-p270: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/tmpfuwwhgyi.c'
source_filename = "/tmp/tmpfuwwhgyi.c"
target datalayout = "e-m:e-p270: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/tmpfuwwhgyi.c"
target datalayout = "e-m:e-p270: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/tmp6_tfg9bp.c'
source_filename = "/tmp/tmp6_tfg9bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCGPGRP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcgetpgrp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @TIOCGPGRP, align 4
%7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %12
10: ; preds = %1
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %10, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6_tfg9bp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@TIOCGPGRP = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @tcgetpgrp(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr @TIOCGPGRP, align 4
%7 = call i64 @ioctl(i32 noundef %5, i32 noundef %6, ptr noundef %4)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %12
10: ; preds = %1
%11 = load i32, ptr %4, align 4
store i32 %11, ptr %2, align 4
br label %12
12: ; preds = %10, %9
%13 = load i32, ptr %2, align 4
ret i32 %13
}
declare i64 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg67oewqg.c'
source_filename = "/tmp/tmpg67oewqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpystr(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 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %20
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = mul i64 1, %12
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %3, align 8
%19 = call ptr @strcpy(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %2, align 8
br label %20
20: ; preds = %8, %7
%21 = load ptr, ptr %2, align 8
ret ptr %21
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg67oewqg.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cpystr(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 = icmp eq ptr %5, null
br i1 %6, label %7, label %8
7: ; preds = %1
store ptr null, ptr %2, align 8
br label %20
8: ; preds = %1
%9 = load ptr, ptr %3, align 8
%10 = call i32 @strlen(ptr noundef %9)
%11 = add nsw i32 %10, 1
%12 = sext i32 %11 to i64
%13 = mul i64 1, %12
%14 = trunc i64 %13 to i32
%15 = call i64 @malloc(i32 noundef %14)
%16 = inttoptr i64 %15 to ptr
store ptr %16, ptr %4, align 8
%17 = load ptr, ptr %4, align 8
%18 = load ptr, ptr %3, align 8
%19 = call ptr @strcpy(ptr noundef %17, ptr noundef %18)
store ptr %19, ptr %2, align 8
br label %20
20: ; preds = %8, %7
%21 = load ptr, ptr %2, align 8
ret ptr %21
}
declare i64 @malloc(i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare ptr @strcpy(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpahffuaex.c'
source_filename = "/tmp/tmpahffuaex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Failed to create mutex attribute\00", align 1
@PTHREAD_MUTEX_ERRORCHECK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Failed to set mutex type\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Failed to initialise mutex.\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Failed to delete mutex attribute.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @new_mutex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i64 @pthread_mutexattr_init(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @handle_error(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr @PTHREAD_MUTEX_ERRORCHECK, align 4
%10 = call i64 @pthread_mutexattr_settype(ptr noundef %3, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @handle_error(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = load ptr, ptr %2, align 8
%16 = call i64 @pthread_mutex_init(ptr noundef %15, ptr noundef %3)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @handle_error(ptr noundef @.str.2)
br label %20
20: ; preds = %18, %14
%21 = call i64 @pthread_mutexattr_destroy(ptr noundef %3)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @handle_error(ptr noundef @.str.3)
br label %25
25: ; preds = %23, %20
ret i32 0
}
declare i64 @pthread_mutexattr_init(ptr noundef) #1
declare i32 @handle_error(ptr noundef) #1
declare i64 @pthread_mutexattr_settype(ptr noundef, i32 noundef) #1
declare i64 @pthread_mutex_init(ptr noundef, ptr noundef) #1
declare i64 @pthread_mutexattr_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpahffuaex.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [33 x i8] c"Failed to create mutex attribute\00", align 1
@PTHREAD_MUTEX_ERRORCHECK = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [25 x i8] c"Failed to set mutex type\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"Failed to initialise mutex.\00", align 1
@.str.3 = private unnamed_addr constant [34 x i8] c"Failed to delete mutex attribute.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @new_mutex(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i64 @pthread_mutexattr_init(ptr noundef %3)
%5 = icmp ne i64 %4, 0
br i1 %5, label %6, label %8
6: ; preds = %1
%7 = call i32 @handle_error(ptr noundef @.str)
br label %8
8: ; preds = %6, %1
%9 = load i32, ptr @PTHREAD_MUTEX_ERRORCHECK, align 4
%10 = call i64 @pthread_mutexattr_settype(ptr noundef %3, i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %14
12: ; preds = %8
%13 = call i32 @handle_error(ptr noundef @.str.1)
br label %14
14: ; preds = %12, %8
%15 = load ptr, ptr %2, align 8
%16 = call i64 @pthread_mutex_init(ptr noundef %15, ptr noundef %3)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %20
18: ; preds = %14
%19 = call i32 @handle_error(ptr noundef @.str.2)
br label %20
20: ; preds = %18, %14
%21 = call i64 @pthread_mutexattr_destroy(ptr noundef %3)
%22 = icmp ne i64 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %20
%24 = call i32 @handle_error(ptr noundef @.str.3)
br label %25
25: ; preds = %23, %20
ret i32 0
}
declare i64 @pthread_mutexattr_init(ptr noundef) #1
declare i32 @handle_error(ptr noundef) #1
declare i64 @pthread_mutexattr_settype(ptr noundef, i32 noundef) #1
declare i64 @pthread_mutex_init(ptr noundef, ptr noundef) #1
declare i64 @pthread_mutexattr_destroy(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1tfu6qxv.c'
source_filename = "/tmp/tmp1tfu6qxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractExtension(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [100 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 100, i1 false)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @indexOfNameBegin(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
store i32 %11, ptr %6, align 4
br label %12
12: ; preds = %25, %2
%13 = load i32, ptr %6, align 4
%14 = icmp slt i32 %13, 100
br i1 %14, label %15, label %28
15: ; preds = %12
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %6, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i8, ptr %16, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 46
br i1 %22, label %23, label %24
23: ; preds = %15
br label %28
24: ; preds = %15
br label %25
25: ; preds = %24
%26 = load i32, ptr %6, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %6, align 4
br label %12, !llvm.loop !6
28: ; preds = %23, %12
%29 = load i32, ptr %6, align 4
store i32 %29, ptr %8, align 4
%30 = load i32, ptr %8, align 4
store i32 %30, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %31
31: ; preds = %53, %28
%32 = load i32, ptr %7, align 4
%33 = icmp slt i32 %32, 100
br i1 %33, label %34, label %42
34: ; preds = %31
%35 = load ptr, ptr %3, align 8
%36 = load i32, ptr %6, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds i8, ptr %35, i64 %37
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp ne i32 %40, 0
br label %42
42: ; preds = %34, %31
%43 = phi i1 [ false, %31 ], [ %41, %34 ]
br i1 %43, label %44, label %58
44: ; preds = %42
%45 = load ptr, ptr %3, align 8
%46 = load i32, ptr %7, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i8, ptr %45, i64 %47
%49 = load i8, ptr %48, align 1
%50 = load i32, ptr %6, align 4
%51 = sext i32 %50 to i64
%52 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %51
store i8 %49, ptr %52, align 1
br label %53
53: ; preds = %44
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
%56 = load i32, ptr %6, align 4
%57 = add nsw i32 %56, 1
store i32 %57, ptr %6, align 4
br label %31, !llvm.loop !8
58: ; preds = %42
%59 = load ptr, ptr %4, align 8
%60 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%61 = call i32 @strcpy(ptr noundef %59, ptr noundef %60)
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 i32 @indexOfNameBegin(ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1tfu6qxv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @extractExtension(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca [100 x i8], align 16
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 100, i1 false)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @indexOfNameBegin(ptr noundef %9)
store i32 %10, ptr %8, align 4
%11 = load i32, ptr %8, align 4
store i32 %11, ptr %6, align 4
%12 = load i32, ptr %6, align 4
%13 = icmp slt i32 %12, 100
br i1 %13, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %14
14: ; preds = %.lr.ph, %24
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp eq i32 %20, 46
br i1 %21, label %22, label %23
22: ; preds = %14
br label %29
23: ; preds = %14
br label %24
24: ; preds = %23
%25 = load i32, ptr %6, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %6, align 4
%27 = load i32, ptr %6, align 4
%28 = icmp slt i32 %27, 100
br i1 %28, label %14, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %24
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %29
29: ; preds = %.loopexit, %22
%30 = load i32, ptr %6, align 4
store i32 %30, ptr %8, align 4
%31 = load i32, ptr %8, align 4
store i32 %31, ptr %7, align 4
store i32 0, ptr %6, align 4
br label %32
32: ; preds = %54, %29
%33 = load i32, ptr %7, align 4
%34 = icmp slt i32 %33, 100
br i1 %34, label %35, label %43
35: ; preds = %32
%36 = load ptr, ptr %3, align 8
%37 = load i32, ptr %6, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i8, ptr %36, i64 %38
%40 = load i8, ptr %39, align 1
%41 = sext i8 %40 to i32
%42 = icmp ne i32 %41, 0
br label %43
43: ; preds = %35, %32
%44 = phi i1 [ false, %32 ], [ %42, %35 ]
br i1 %44, label %45, label %59
45: ; preds = %43
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %7, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds i8, ptr %46, i64 %48
%50 = load i8, ptr %49, align 1
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 %52
store i8 %50, ptr %53, align 1
br label %54
54: ; preds = %45
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
br label %32, !llvm.loop !8
59: ; preds = %43
%60 = load ptr, ptr %4, align 8
%61 = getelementptr inbounds [100 x i8], ptr %5, i64 0, i64 0
%62 = call i32 @strcpy(ptr noundef %60, ptr noundef %61)
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 i32 @indexOfNameBegin(ptr noundef) #2
declare i32 @strcpy(ptr noundef, ptr noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp8fsho200.c'
source_filename = "/tmp/tmp8fsho200.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lol?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_help(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 @send_msg(i32 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @send_msg(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8fsho200.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"lol?\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @send_help(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 @send_msg(i32 noundef %3, ptr noundef @.str)
ret void
}
declare i32 @send_msg(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8m6abrlm.c'
source_filename = "/tmp/tmp8m6abrlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chmod(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
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/tmp8m6abrlm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @chmod(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
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/tmp3guji6yn.c'
source_filename = "/tmp/tmp3guji6yn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LU_factor(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca double, align 8
%23 = 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 ptr %3, ptr %9, align 8
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %4
%28 = load i32, ptr %6, align 4
br label %31
29: ; preds = %4
%30 = load i32, ptr %7, align 4
br label %31
31: ; preds = %29, %27
%32 = phi i32 [ %28, %27 ], [ %30, %29 ]
store i32 %32, ptr %10, align 4
store i32 0, ptr %11, align 4
store i32 0, ptr %11, align 4
br label %33
33: ; preds = %212, %31
%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 %215
37: ; preds = %33
%38 = load i32, ptr %11, align 4
store i32 %38, ptr %12, align 4
%39 = load ptr, ptr %8, align 8
%40 = load i32, ptr %11, align 4
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds ptr, ptr %39, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i32, ptr %11, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds double, ptr %43, i64 %45
%47 = load double, ptr %46, align 8
%48 = call double @llvm.fabs.f64(double %47)
store double %48, ptr %14, align 8
%49 = load i32, ptr %11, align 4
%50 = add nsw i32 %49, 1
store i32 %50, ptr %13, align 4
br label %51
51: ; preds = %73, %37
%52 = load i32, ptr %13, align 4
%53 = load i32, ptr %6, align 4
%54 = icmp slt i32 %52, %53
br i1 %54, label %55, label %76
55: ; preds = %51
%56 = load ptr, ptr %8, align 8
%57 = load i32, ptr %13, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i32, ptr %11, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds double, ptr %60, i64 %62
%64 = load double, ptr %63, align 8
%65 = call double @llvm.fabs.f64(double %64)
store double %65, ptr %15, align 8
%66 = load double, ptr %15, align 8
%67 = load double, ptr %14, align 8
%68 = fcmp ogt double %66, %67
br i1 %68, label %69, label %72
69: ; preds = %55
%70 = load i32, ptr %13, align 4
store i32 %70, ptr %12, align 4
%71 = load double, ptr %15, align 8
store double %71, ptr %14, align 8
br label %72
72: ; preds = %69, %55
br label %73
73: ; preds = %72
%74 = load i32, ptr %13, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %13, align 4
br label %51, !llvm.loop !6
76: ; preds = %51
%77 = load i32, ptr %12, align 4
%78 = load ptr, ptr %9, align 8
%79 = load i32, ptr %11, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i32, ptr %78, i64 %80
store i32 %77, ptr %81, align 4
%82 = load ptr, ptr %8, align 8
%83 = load i32, ptr %12, align 4
%84 = sext i32 %83 to i64
%85 = getelementptr inbounds ptr, ptr %82, i64 %84
%86 = load ptr, ptr %85, align 8
%87 = load i32, ptr %11, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, ptr %86, i64 %88
%90 = load double, ptr %89, align 8
%91 = fcmp oeq double %90, 0.000000e+00
br i1 %91, label %92, label %93
92: ; preds = %76
store i32 1, ptr %5, align 4
br label %216
93: ; preds = %76
%94 = load i32, ptr %12, align 4
%95 = load i32, ptr %11, align 4
%96 = icmp ne i32 %94, %95
br i1 %96, label %97, label %117
97: ; preds = %93
%98 = load ptr, ptr %8, align 8
%99 = load i32, ptr %11, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
store ptr %102, ptr %16, align 8
%103 = load ptr, ptr %8, align 8
%104 = load i32, ptr %12, 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 ptr, ptr %8, align 8
%109 = load i32, ptr %11, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds ptr, ptr %108, i64 %110
store ptr %107, ptr %111, align 8
%112 = load ptr, ptr %16, align 8
%113 = load ptr, ptr %8, align 8
%114 = load i32, ptr %12, align 4
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds ptr, ptr %113, i64 %115
store ptr %112, ptr %116, align 8
br label %117
117: ; preds = %97, %93
%118 = load i32, ptr %11, align 4
%119 = load i32, ptr %6, align 4
%120 = sub nsw i32 %119, 1
%121 = icmp slt i32 %118, %120
br i1 %121, label %122, label %155
122: ; preds = %117
%123 = load ptr, ptr %8, align 8
%124 = load i32, ptr %11, align 4
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds ptr, ptr %123, i64 %125
%127 = load ptr, ptr %126, align 8
%128 = load i32, ptr %11, align 4
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds double, ptr %127, i64 %129
%131 = load double, ptr %130, align 8
%132 = fdiv double 1.000000e+00, %131
store double %132, ptr %17, align 8
%133 = load i32, ptr %11, align 4
%134 = add nsw i32 %133, 1
store i32 %134, ptr %18, align 4
br label %135
135: ; preds = %151, %122
%136 = load i32, ptr %18, align 4
%137 = load i32, ptr %6, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %139, label %154
139: ; preds = %135
%140 = load double, ptr %17, align 8
%141 = load ptr, ptr %8, align 8
%142 = load i32, ptr %18, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds ptr, ptr %141, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = load i32, ptr %11, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load double, ptr %148, align 8
%150 = fmul double %149, %140
store double %150, ptr %148, align 8
br label %151
151: ; preds = %139
%152 = load i32, ptr %18, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %18, align 4
br label %135, !llvm.loop !8
154: ; preds = %135
br label %155
155: ; preds = %154, %117
%156 = load i32, ptr %11, align 4
%157 = load i32, ptr %10, align 4
%158 = sub nsw i32 %157, 1
%159 = icmp slt i32 %156, %158
br i1 %159, label %160, label %211
160: ; preds = %155
%161 = load i32, ptr %11, align 4
%162 = add nsw i32 %161, 1
store i32 %162, ptr %19, align 4
br label %163
163: ; preds = %207, %160
%164 = load i32, ptr %19, align 4
%165 = load i32, ptr %6, align 4
%166 = icmp slt i32 %164, %165
br i1 %166, label %167, label %210
167: ; preds = %163
%168 = load ptr, ptr %8, align 8
%169 = load i32, ptr %19, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds ptr, ptr %168, i64 %170
%172 = load ptr, ptr %171, align 8
store ptr %172, ptr %20, align 8
%173 = load ptr, ptr %8, align 8
%174 = load i32, ptr %11, align 4
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds ptr, ptr %173, i64 %175
%177 = load ptr, ptr %176, align 8
store ptr %177, ptr %21, align 8
%178 = load ptr, ptr %20, align 8
%179 = load i32, ptr %11, align 4
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, ptr %178, i64 %180
%182 = load double, ptr %181, align 8
store double %182, ptr %22, align 8
%183 = load i32, ptr %11, align 4
%184 = add nsw i32 %183, 1
store i32 %184, ptr %23, align 4
br label %185
185: ; preds = %203, %167
%186 = load i32, ptr %23, align 4
%187 = load i32, ptr %7, align 4
%188 = icmp slt i32 %186, %187
br i1 %188, label %189, label %206
189: ; preds = %185
%190 = load double, ptr %22, align 8
%191 = load ptr, ptr %21, align 8
%192 = load i32, ptr %23, align 4
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, ptr %191, i64 %193
%195 = load double, ptr %194, align 8
%196 = load ptr, ptr %20, align 8
%197 = load i32, ptr %23, align 4
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds double, ptr %196, i64 %198
%200 = load double, ptr %199, align 8
%201 = fneg double %190
%202 = call double @llvm.fmuladd.f64(double %201, double %195, double %200)
store double %202, ptr %199, align 8
br label %203
203: ; preds = %189
%204 = load i32, ptr %23, align 4
%205 = add nsw i32 %204, 1
store i32 %205, ptr %23, align 4
br label %185, !llvm.loop !9
206: ; preds = %185
br label %207
207: ; preds = %206
%208 = load i32, ptr %19, align 4
%209 = add nsw i32 %208, 1
store i32 %209, ptr %19, align 4
br label %163, !llvm.loop !10
210: ; preds = %163
br label %211
211: ; preds = %210, %155
br label %212
212: ; preds = %211
%213 = load i32, ptr %11, align 4
%214 = add nsw i32 %213, 1
store i32 %214, ptr %11, align 4
br label %33, !llvm.loop !11
215: ; preds = %33
store i32 0, ptr %5, align 4
br label %216
216: ; preds = %215, %92
%217 = load i32, ptr %5, align 4
ret i32 %217
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; 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}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3guji6yn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @LU_factor(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr 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 ptr, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca ptr, align 8
%17 = alloca double, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca ptr, align 8
%21 = alloca ptr, align 8
%22 = alloca double, align 8
%23 = 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 ptr %3, ptr %9, align 8
%24 = load i32, ptr %6, align 4
%25 = load i32, ptr %7, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %27, label %29
27: ; preds = %4
%28 = load i32, ptr %6, align 4
br label %31
29: ; preds = %4
%30 = load i32, ptr %7, align 4
br label %31
31: ; preds = %29, %27
%32 = phi i32 [ %28, %27 ], [ %30, %29 ]
store i32 %32, ptr %10, align 4
store i32 0, ptr %11, 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.ph11, label %225
.lr.ph11: ; preds = %31
br label %36
36: ; preds = %.lr.ph11, %219
%37 = load i32, ptr %11, align 4
store i32 %37, ptr %12, align 4
%38 = load ptr, ptr %8, align 8
%39 = load i32, ptr %11, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds ptr, ptr %38, i64 %40
%42 = load ptr, ptr %41, align 8
%43 = load i32, ptr %11, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds double, ptr %42, i64 %44
%46 = load double, ptr %45, align 8
%47 = call double @llvm.fabs.f64(double %46)
store double %47, ptr %14, align 8
%48 = load i32, ptr %11, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %13, align 4
%50 = load i32, ptr %13, align 4
%51 = load i32, ptr %6, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph, label %77
.lr.ph: ; preds = %36
br label %53
53: ; preds = %.lr.ph, %71
%54 = load ptr, ptr %8, align 8
%55 = load i32, ptr %13, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds ptr, ptr %54, i64 %56
%58 = load ptr, ptr %57, align 8
%59 = load i32, ptr %11, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds double, ptr %58, i64 %60
%62 = load double, ptr %61, align 8
%63 = call double @llvm.fabs.f64(double %62)
store double %63, ptr %15, align 8
%64 = load double, ptr %15, align 8
%65 = load double, ptr %14, align 8
%66 = fcmp ogt double %64, %65
br i1 %66, label %67, label %70
67: ; preds = %53
%68 = load i32, ptr %13, align 4
store i32 %68, ptr %12, align 4
%69 = load double, ptr %15, align 8
store double %69, ptr %14, align 8
br label %70
70: ; preds = %67, %53
br label %71
71: ; preds = %70
%72 = load i32, ptr %13, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %13, align 4
%74 = load i32, ptr %13, align 4
%75 = load i32, ptr %6, align 4
%76 = icmp slt i32 %74, %75
br i1 %76, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %71
br label %77
77: ; preds = %._crit_edge, %36
%78 = load i32, ptr %12, align 4
%79 = load ptr, ptr %9, align 8
%80 = load i32, ptr %11, align 4
%81 = sext i32 %80 to i64
%82 = getelementptr inbounds i32, ptr %79, i64 %81
store i32 %78, ptr %82, align 4
%83 = load ptr, ptr %8, align 8
%84 = load i32, ptr %12, align 4
%85 = sext i32 %84 to i64
%86 = getelementptr inbounds ptr, ptr %83, i64 %85
%87 = load ptr, ptr %86, align 8
%88 = load i32, ptr %11, align 4
%89 = sext i32 %88 to i64
%90 = getelementptr inbounds double, ptr %87, i64 %89
%91 = load double, ptr %90, align 8
%92 = fcmp oeq double %91, 0.000000e+00
br i1 %92, label %93, label %94
93: ; preds = %77
store i32 1, ptr %5, align 4
br label %226
94: ; preds = %77
%95 = load i32, ptr %12, align 4
%96 = load i32, ptr %11, align 4
%97 = icmp ne i32 %95, %96
br i1 %97, label %98, label %118
98: ; preds = %94
%99 = load ptr, ptr %8, align 8
%100 = load i32, ptr %11, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds ptr, ptr %99, i64 %101
%103 = load ptr, ptr %102, align 8
store ptr %103, ptr %16, align 8
%104 = load ptr, ptr %8, align 8
%105 = load i32, ptr %12, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds ptr, ptr %104, i64 %106
%108 = load ptr, ptr %107, align 8
%109 = load ptr, ptr %8, align 8
%110 = load i32, ptr %11, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds ptr, ptr %109, i64 %111
store ptr %108, ptr %112, align 8
%113 = load ptr, ptr %16, align 8
%114 = load ptr, ptr %8, align 8
%115 = load i32, ptr %12, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds ptr, ptr %114, i64 %116
store ptr %113, ptr %117, align 8
br label %118
118: ; preds = %98, %94
%119 = load i32, ptr %11, align 4
%120 = load i32, ptr %6, align 4
%121 = sub nsw i32 %120, 1
%122 = icmp slt i32 %119, %121
br i1 %122, label %123, label %158
123: ; preds = %118
%124 = load ptr, ptr %8, align 8
%125 = load i32, ptr %11, align 4
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds ptr, ptr %124, i64 %126
%128 = load ptr, ptr %127, align 8
%129 = load i32, ptr %11, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds double, ptr %128, i64 %130
%132 = load double, ptr %131, align 8
%133 = fdiv double 1.000000e+00, %132
store double %133, ptr %17, align 8
%134 = load i32, ptr %11, align 4
%135 = add nsw i32 %134, 1
store i32 %135, ptr %18, align 4
%136 = load i32, ptr %18, align 4
%137 = load i32, ptr %6, align 4
%138 = icmp slt i32 %136, %137
br i1 %138, label %.lr.ph2, label %157
.lr.ph2: ; preds = %123
br label %139
139: ; preds = %.lr.ph2, %151
%140 = load double, ptr %17, align 8
%141 = load ptr, ptr %8, align 8
%142 = load i32, ptr %18, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds ptr, ptr %141, i64 %143
%145 = load ptr, ptr %144, align 8
%146 = load i32, ptr %11, align 4
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, ptr %145, i64 %147
%149 = load double, ptr %148, align 8
%150 = fmul double %149, %140
store double %150, ptr %148, align 8
br label %151
151: ; preds = %139
%152 = load i32, ptr %18, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %18, align 4
%154 = load i32, ptr %18, align 4
%155 = load i32, ptr %6, align 4
%156 = icmp slt i32 %154, %155
br i1 %156, label %139, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %151
br label %157
157: ; preds = %._crit_edge3, %123
br label %158
158: ; preds = %157, %118
%159 = load i32, ptr %11, align 4
%160 = load i32, ptr %10, align 4
%161 = sub nsw i32 %160, 1
%162 = icmp slt i32 %159, %161
br i1 %162, label %163, label %218
163: ; preds = %158
%164 = load i32, ptr %11, align 4
%165 = add nsw i32 %164, 1
store i32 %165, ptr %19, align 4
%166 = load i32, ptr %19, align 4
%167 = load i32, ptr %6, align 4
%168 = icmp slt i32 %166, %167
br i1 %168, label %.lr.ph8, label %217
.lr.ph8: ; preds = %163
br label %169
169: ; preds = %.lr.ph8, %211
%170 = load ptr, ptr %8, align 8
%171 = load i32, ptr %19, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds ptr, ptr %170, i64 %172
%174 = load ptr, ptr %173, align 8
store ptr %174, ptr %20, align 8
%175 = load ptr, ptr %8, align 8
%176 = load i32, ptr %11, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %175, i64 %177
%179 = load ptr, ptr %178, align 8
store ptr %179, ptr %21, align 8
%180 = load ptr, ptr %20, align 8
%181 = load i32, ptr %11, align 4
%182 = sext i32 %181 to i64
%183 = getelementptr inbounds double, ptr %180, i64 %182
%184 = load double, ptr %183, align 8
store double %184, ptr %22, align 8
%185 = load i32, ptr %11, align 4
%186 = add nsw i32 %185, 1
store i32 %186, ptr %23, align 4
%187 = load i32, ptr %23, align 4
%188 = load i32, ptr %7, align 4
%189 = icmp slt i32 %187, %188
br i1 %189, label %.lr.ph5, label %210
.lr.ph5: ; preds = %169
br label %190
190: ; preds = %.lr.ph5, %204
%191 = load double, ptr %22, align 8
%192 = load ptr, ptr %21, align 8
%193 = load i32, ptr %23, align 4
%194 = sext i32 %193 to i64
%195 = getelementptr inbounds double, ptr %192, i64 %194
%196 = load double, ptr %195, align 8
%197 = load ptr, ptr %20, align 8
%198 = load i32, ptr %23, align 4
%199 = sext i32 %198 to i64
%200 = getelementptr inbounds double, ptr %197, i64 %199
%201 = load double, ptr %200, align 8
%202 = fneg double %191
%203 = call double @llvm.fmuladd.f64(double %202, double %196, double %201)
store double %203, ptr %200, align 8
br label %204
204: ; preds = %190
%205 = load i32, ptr %23, align 4
%206 = add nsw i32 %205, 1
store i32 %206, ptr %23, align 4
%207 = load i32, ptr %23, align 4
%208 = load i32, ptr %7, align 4
%209 = icmp slt i32 %207, %208
br i1 %209, label %190, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %204
br label %210
210: ; preds = %._crit_edge6, %169
br label %211
211: ; preds = %210
%212 = load i32, ptr %19, align 4
%213 = add nsw i32 %212, 1
store i32 %213, ptr %19, align 4
%214 = load i32, ptr %19, align 4
%215 = load i32, ptr %6, align 4
%216 = icmp slt i32 %214, %215
br i1 %216, label %169, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %211
br label %217
217: ; preds = %._crit_edge9, %163
br label %218
218: ; preds = %217, %158
br label %219
219: ; preds = %218
%220 = load i32, ptr %11, align 4
%221 = add nsw i32 %220, 1
store i32 %221, ptr %11, align 4
%222 = load i32, ptr %11, align 4
%223 = load i32, ptr %10, align 4
%224 = icmp slt i32 %222, %223
br i1 %224, label %36, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %219
br label %225
225: ; preds = %._crit_edge12, %31
store i32 0, ptr %5, align 4
br label %226
226: ; preds = %225, %93
%227 = load i32, ptr %5, align 4
ret i32 %227
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #1
; 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}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpdzdudtns.c'
source_filename = "/tmp/tmpdzdudtns.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @str2ip(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.in_addr, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @inet_aton(ptr noundef %6, ptr noundef %4)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = getelementptr inbounds %struct.in_addr, ptr %4, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 @ntohl(i32 noundef %12)
store i32 %13, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %10
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i32 @ntohl(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/tmpdzdudtns.c"
target datalayout = "e-m:e-p270: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.in_addr = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @str2ip(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca %struct.in_addr, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @inet_aton(ptr noundef %6, ptr noundef %4)
store i32 %7, ptr %5, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = getelementptr inbounds %struct.in_addr, ptr %4, i32 0, i32 0
%12 = load i32, ptr %11, align 4
%13 = call i32 @ntohl(i32 noundef %12)
store i32 %13, ptr %2, align 4
br label %15
14: ; preds = %1
store i32 0, ptr %2, align 4
br label %15
15: ; preds = %14, %10
%16 = load i32, ptr %2, align 4
ret i32 %16
}
declare i32 @inet_aton(ptr noundef, ptr noundef) #1
declare i32 @ntohl(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/tmp4htm4r51.c'
source_filename = "/tmp/tmp4htm4r51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A--array begin--\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"value in array at index[%d]=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"--array end--\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"\0A--array NULL--\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %27
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
br label %10
10: ; preds = %22, %8
%11 = load i32, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = icmp ult i32 %11, %12
br i1 %13, label %14, label %25
14: ; preds = %10
%15 = load i32, ptr %5, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = zext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15, i32 noundef %20)
br label %22
22: ; preds = %14
%23 = load i32, ptr %5, align 4
%24 = add i32 %23, 1
store i32 %24, ptr %5, align 4
br label %10, !llvm.loop !6
25: ; preds = %10
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %29
27: ; preds = %2
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %29
29: ; preds = %27, %25
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/tmp4htm4r51.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A--array begin--\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"value in array at index[%d]=%d\0A\00", align 1
@.str.2 = private unnamed_addr constant [15 x i8] c"--array end--\0A\00", align 1
@.str.3 = private unnamed_addr constant [17 x i8] c"\0A--array NULL--\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @display_array(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = icmp ne ptr %6, null
br i1 %7, label %8, label %29
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %5, align 4
%10 = load i32, ptr %5, align 4
%11 = load i32, ptr %4, align 4
%12 = icmp ult i32 %10, %11
br i1 %12, label %.lr.ph, label %27
.lr.ph: ; preds = %8
br label %13
13: ; preds = %.lr.ph, %21
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = zext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14, i32 noundef %19)
br label %21
21: ; preds = %13
%22 = load i32, ptr %5, align 4
%23 = add i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp ult i32 %24, %25
br i1 %26, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %8
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %31
29: ; preds = %2
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %31
31: ; preds = %29, %27
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/tmpt_me5j7b.c'
source_filename = "/tmp/tmpt_me5j7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"ERROR al reservar la memoria.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ej1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call ptr @calloc(i32 noundef %5, i32 noundef 8)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str)
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %4, align 8
ret ptr %12
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpt_me5j7b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [31 x i8] c"ERROR al reservar la memoria.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @ej1(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = call ptr @calloc(i32 noundef %5, i32 noundef 8)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str)
br label %11
11: ; preds = %9, %1
%12 = load ptr, ptr %4, align 8
ret ptr %12
}
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpk0pmbr8k.c'
source_filename = "/tmp/tmpk0pmbr8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPointerValue(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 i32, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret void
}
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/tmpk0pmbr8k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @printPointerValue(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 i32, ptr %3, align 4
%5 = call i32 @printf(ptr noundef @.str, i32 noundef %4)
ret void
}
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/tmp7jxrvqg6.c'
source_filename = "/tmp/tmp7jxrvqg6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter new value\00", align 1
@O_ACTIVE = dso_local global i32 0, align 4
@O_EDIT = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@REQ_FIRST_FIELD = dso_local global i32 0, align 4
@KEY_ENTER = dso_local global i32 0, align 4
@REQ_VALIDATION = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_input(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [3 x ptr], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 2, ptr %9, align 4
store i32 16, ptr %10, align 4
store i32 0, ptr %13, align 4
%14 = call ptr @new_field(i32 noundef 1, i32 noundef 16, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%15 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
store ptr %14, ptr %15, align 16
%16 = call ptr @new_field(i32 noundef 1, i32 noundef 3, i32 noundef 1, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%17 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
store ptr %16, ptr %17, align 8
%18 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2
store ptr null, ptr %18, align 16
%19 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%20 = load ptr, ptr %19, align 16
%21 = call i32 @set_field_buffer(ptr noundef %20, i32 noundef 0, ptr noundef @.str)
%22 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%23 = load ptr, ptr %22, align 16
%24 = load i32, ptr @O_ACTIVE, align 4
%25 = call i32 @field_opts_off(ptr noundef %23, i32 noundef %24)
%26 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%27 = load ptr, ptr %26, align 16
%28 = load i32, ptr @O_EDIT, align 4
%29 = call i32 @field_opts_off(ptr noundef %27, i32 noundef %28)
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 2
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 2
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = call ptr @newwin(i32 noundef %31, i32 noundef %33, i32 noundef %35, i32 noundef 54)
store ptr %36, ptr %7, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %3, align 4
%40 = call ptr @newwin(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef 55)
store ptr %40, ptr %8, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr @ACS_VLINE, align 4
%43 = load i32, ptr @ACS_HLINE, align 4
%44 = call i32 @box(ptr noundef %41, i32 noundef %42, i32 noundef %43)
%45 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%46 = call ptr @new_form(ptr noundef %45)
store ptr %46, ptr %6, align 8
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
%49 = load ptr, ptr %48, align 8
%50 = call i32 @set_current_field(ptr noundef %47, ptr noundef %49)
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %8, align 8
%53 = call i32 @set_form_win(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %8, align 8
%56 = call i32 @set_form_sub(ptr noundef %54, ptr noundef %55)
%57 = load ptr, ptr %6, align 8
%58 = call i32 @post_form(ptr noundef %57)
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr @REQ_FIRST_FIELD, align 4
%61 = call i32 @form_driver(ptr noundef %59, i32 noundef %60)
%62 = load ptr, ptr %7, align 8
%63 = call i32 @wnoutrefresh(ptr noundef %62)
br label %64
64: ; preds = %2, %118
%65 = load ptr, ptr %8, align 8
%66 = call i32 @wnoutrefresh(ptr noundef %65)
%67 = call i32 (...) @doupdate()
%68 = call i32 (...) @getch()
store i32 %68, ptr %12, align 4
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr @KEY_ENTER, align 4
%71 = icmp eq i32 %69, %70
br i1 %71, label %75, label %72
72: ; preds = %64
%73 = load i32, ptr %12, align 4
%74 = icmp eq i32 %73, 10
br i1 %74, label %75, label %85
75: ; preds = %72, %64
%76 = load ptr, ptr %6, align 8
%77 = load i32, ptr @REQ_VALIDATION, align 4
%78 = call i32 @form_driver(ptr noundef %76, i32 noundef %77)
%79 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
%80 = load ptr, ptr %79, align 8
%81 = call ptr @field_buffer(ptr noundef %80, i32 noundef 0)
store ptr %81, ptr %11, align 8
%82 = load ptr, ptr %11, align 8
%83 = load ptr, ptr %4, align 8
%84 = call i32 @sscanf(ptr noundef %82, ptr noundef @.str.1, ptr noundef %83)
br label %119
85: ; preds = %72
%86 = load i32, ptr %12, align 4
%87 = call i32 @KEY_F(i32 noundef 3)
%88 = icmp eq i32 %86, %87
br i1 %88, label %95, label %89
89: ; preds = %85
%90 = load i32, ptr %12, align 4
%91 = icmp eq i32 %90, 101
br i1 %91, label %95, label %92
92: ; preds = %89
%93 = load i32, ptr %12, align 4
%94 = icmp eq i32 %93, 69
br i1 %94, label %95, label %96
95: ; preds = %92, %89, %85
store i32 32768, ptr %13, align 4
br label %119
96: ; preds = %92
%97 = load i32, ptr %12, align 4
%98 = call i32 @KEY_F(i32 noundef 12)
%99 = icmp eq i32 %97, %98
br i1 %99, label %106, label %100
100: ; preds = %96
%101 = load i32, ptr %12, align 4
%102 = icmp eq i32 %101, 113
br i1 %102, label %106, label %103
103: ; preds = %100
%104 = load i32, ptr %12, align 4
%105 = icmp eq i32 %104, 81
br i1 %105, label %106, label %107
106: ; preds = %103, %100, %96
store i32 16384, ptr %13, align 4
br label %119
107: ; preds = %103
%108 = load i32, ptr %12, align 4
%109 = call i64 @isascii(i32 noundef %108)
%110 = icmp ne i64 %109, 0
br i1 %110, label %111, label %115
111: ; preds = %107
%112 = load ptr, ptr %6, align 8
%113 = load i32, ptr %12, align 4
%114 = call i32 @form_driver(ptr noundef %112, i32 noundef %113)
br label %115
115: ; preds = %111, %107
br label %116
116: ; preds = %115
br label %117
117: ; preds = %116
br label %118
118: ; preds = %117
br label %64
119: ; preds = %106, %95, %75
%120 = load ptr, ptr %8, align 8
%121 = call i32 @wclear(ptr noundef %120)
%122 = load ptr, ptr %8, align 8
%123 = call i32 @wrefresh(ptr noundef %122)
%124 = load ptr, ptr %8, align 8
%125 = call i32 @delwin(ptr noundef %124)
%126 = load ptr, ptr %7, align 8
%127 = call i32 @wclear(ptr noundef %126)
%128 = load ptr, ptr %7, align 8
%129 = call i32 @wrefresh(ptr noundef %128)
%130 = load ptr, ptr %7, align 8
%131 = call i32 @delwin(ptr noundef %130)
%132 = load i32, ptr %13, align 4
ret i32 %132
}
declare ptr @new_field(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @set_field_buffer(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @field_opts_off(ptr noundef, i32 noundef) #1
declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @new_form(ptr noundef) #1
declare i32 @set_current_field(ptr noundef, ptr noundef) #1
declare i32 @set_form_win(ptr noundef, ptr noundef) #1
declare i32 @set_form_sub(ptr noundef, ptr noundef) #1
declare i32 @post_form(ptr noundef) #1
declare i32 @form_driver(ptr noundef, i32 noundef) #1
declare i32 @wnoutrefresh(ptr noundef) #1
declare i32 @doupdate(...) #1
declare i32 @getch(...) #1
declare ptr @field_buffer(ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @KEY_F(i32 noundef) #1
declare i64 @isascii(i32 noundef) #1
declare i32 @wclear(ptr noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @delwin(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7jxrvqg6.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"Enter new value\00", align 1
@O_ACTIVE = dso_local global i32 0, align 4
@O_EDIT = dso_local global i32 0, align 4
@ACS_VLINE = dso_local global i32 0, align 4
@ACS_HLINE = dso_local global i32 0, align 4
@REQ_FIRST_FIELD = dso_local global i32 0, align 4
@KEY_ENTER = dso_local global i32 0, align 4
@REQ_VALIDATION = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @display_input(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca [3 x ptr], align 16
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
store i32 2, ptr %9, align 4
store i32 16, ptr %10, align 4
store i32 0, ptr %13, align 4
%14 = call ptr @new_field(i32 noundef 1, i32 noundef 16, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%15 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
store ptr %14, ptr %15, align 16
%16 = call ptr @new_field(i32 noundef 1, i32 noundef 3, i32 noundef 1, i32 noundef 0, i32 noundef 0, i32 noundef 0)
%17 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
store ptr %16, ptr %17, align 8
%18 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 2
store ptr null, ptr %18, align 16
%19 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%20 = load ptr, ptr %19, align 16
%21 = call i32 @set_field_buffer(ptr noundef %20, i32 noundef 0, ptr noundef @.str)
%22 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%23 = load ptr, ptr %22, align 16
%24 = load i32, ptr @O_ACTIVE, align 4
%25 = call i32 @field_opts_off(ptr noundef %23, i32 noundef %24)
%26 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%27 = load ptr, ptr %26, align 16
%28 = load i32, ptr @O_EDIT, align 4
%29 = call i32 @field_opts_off(ptr noundef %27, i32 noundef %28)
%30 = load i32, ptr %9, align 4
%31 = add nsw i32 %30, 2
%32 = load i32, ptr %10, align 4
%33 = add nsw i32 %32, 2
%34 = load i32, ptr %3, align 4
%35 = sub nsw i32 %34, 1
%36 = call ptr @newwin(i32 noundef %31, i32 noundef %33, i32 noundef %35, i32 noundef 54)
store ptr %36, ptr %7, align 8
%37 = load i32, ptr %9, align 4
%38 = load i32, ptr %10, align 4
%39 = load i32, ptr %3, align 4
%40 = call ptr @newwin(i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef 55)
store ptr %40, ptr %8, align 8
%41 = load ptr, ptr %7, align 8
%42 = load i32, ptr @ACS_VLINE, align 4
%43 = load i32, ptr @ACS_HLINE, align 4
%44 = call i32 @box(ptr noundef %41, i32 noundef %42, i32 noundef %43)
%45 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 0
%46 = call ptr @new_form(ptr noundef %45)
store ptr %46, ptr %6, align 8
%47 = load ptr, ptr %6, align 8
%48 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
%49 = load ptr, ptr %48, align 8
%50 = call i32 @set_current_field(ptr noundef %47, ptr noundef %49)
%51 = load ptr, ptr %6, align 8
%52 = load ptr, ptr %8, align 8
%53 = call i32 @set_form_win(ptr noundef %51, ptr noundef %52)
%54 = load ptr, ptr %6, align 8
%55 = load ptr, ptr %8, align 8
%56 = call i32 @set_form_sub(ptr noundef %54, ptr noundef %55)
%57 = load ptr, ptr %6, align 8
%58 = call i32 @post_form(ptr noundef %57)
%59 = load ptr, ptr %6, align 8
%60 = load i32, ptr @REQ_FIRST_FIELD, align 4
%61 = call i32 @form_driver(ptr noundef %59, i32 noundef %60)
%62 = load ptr, ptr %7, align 8
%63 = call i32 @wnoutrefresh(ptr noundef %62)
%64 = load ptr, ptr %8, align 8
%65 = call i32 @wnoutrefresh(ptr noundef %64)
%66 = call i32 (...) @doupdate()
%67 = call i32 (...) @getch()
store i32 %67, ptr %12, align 4
%68 = load i32, ptr %12, align 4
%69 = load i32, ptr @KEY_ENTER, align 4
%70 = icmp eq i32 %68, %69
br i1 %70, label %74, label %.lr.ph
.lr.ph: ; preds = %2
br label %71
71: ; preds = %.lr.ph, %117
%72 = load i32, ptr %12, align 4
%73 = icmp eq i32 %72, 10
br i1 %73, label %._crit_edge, label %84
._crit_edge: ; preds = %71
br label %74
._crit_edge1: ; preds = %117
br label %74
74: ; preds = %._crit_edge1, %._crit_edge, %2
%75 = load ptr, ptr %6, align 8
%76 = load i32, ptr @REQ_VALIDATION, align 4
%77 = call i32 @form_driver(ptr noundef %75, i32 noundef %76)
%78 = getelementptr inbounds [3 x ptr], ptr %5, i64 0, i64 1
%79 = load ptr, ptr %78, align 8
%80 = call ptr @field_buffer(ptr noundef %79, i32 noundef 0)
store ptr %80, ptr %11, align 8
%81 = load ptr, ptr %11, align 8
%82 = load ptr, ptr %4, align 8
%83 = call i32 @sscanf(ptr noundef %81, ptr noundef @.str.1, ptr noundef %82)
br label %125
84: ; preds = %71
%85 = load i32, ptr %12, align 4
%86 = call i32 @KEY_F(i32 noundef 3)
%87 = icmp eq i32 %85, %86
br i1 %87, label %94, label %88
88: ; preds = %84
%89 = load i32, ptr %12, align 4
%90 = icmp eq i32 %89, 101
br i1 %90, label %94, label %91
91: ; preds = %88
%92 = load i32, ptr %12, align 4
%93 = icmp eq i32 %92, 69
br i1 %93, label %94, label %95
94: ; preds = %91, %88, %84
store i32 32768, ptr %13, align 4
br label %125
95: ; preds = %91
%96 = load i32, ptr %12, align 4
%97 = call i32 @KEY_F(i32 noundef 12)
%98 = icmp eq i32 %96, %97
br i1 %98, label %105, label %99
99: ; preds = %95
%100 = load i32, ptr %12, align 4
%101 = icmp eq i32 %100, 113
br i1 %101, label %105, label %102
102: ; preds = %99
%103 = load i32, ptr %12, align 4
%104 = icmp eq i32 %103, 81
br i1 %104, label %105, label %106
105: ; preds = %102, %99, %95
store i32 16384, ptr %13, align 4
br label %125
106: ; preds = %102
%107 = load i32, ptr %12, align 4
%108 = call i64 @isascii(i32 noundef %107)
%109 = icmp ne i64 %108, 0
br i1 %109, label %110, label %114
110: ; preds = %106
%111 = load ptr, ptr %6, align 8
%112 = load i32, ptr %12, align 4
%113 = call i32 @form_driver(ptr noundef %111, i32 noundef %112)
br label %114
114: ; preds = %110, %106
br label %115
115: ; preds = %114
br label %116
116: ; preds = %115
br label %117
117: ; preds = %116
%118 = load ptr, ptr %8, align 8
%119 = call i32 @wnoutrefresh(ptr noundef %118)
%120 = call i32 (...) @doupdate()
%121 = call i32 (...) @getch()
store i32 %121, ptr %12, align 4
%122 = load i32, ptr %12, align 4
%123 = load i32, ptr @KEY_ENTER, align 4
%124 = icmp eq i32 %122, %123
br i1 %124, label %._crit_edge1, label %71
125: ; preds = %105, %94, %74
%126 = load ptr, ptr %8, align 8
%127 = call i32 @wclear(ptr noundef %126)
%128 = load ptr, ptr %8, align 8
%129 = call i32 @wrefresh(ptr noundef %128)
%130 = load ptr, ptr %8, align 8
%131 = call i32 @delwin(ptr noundef %130)
%132 = load ptr, ptr %7, align 8
%133 = call i32 @wclear(ptr noundef %132)
%134 = load ptr, ptr %7, align 8
%135 = call i32 @wrefresh(ptr noundef %134)
%136 = load ptr, ptr %7, align 8
%137 = call i32 @delwin(ptr noundef %136)
%138 = load i32, ptr %13, align 4
ret i32 %138
}
declare ptr @new_field(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @set_field_buffer(ptr noundef, i32 noundef, ptr noundef) #1
declare i32 @field_opts_off(ptr noundef, i32 noundef) #1
declare ptr @newwin(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @box(ptr noundef, i32 noundef, i32 noundef) #1
declare ptr @new_form(ptr noundef) #1
declare i32 @set_current_field(ptr noundef, ptr noundef) #1
declare i32 @set_form_win(ptr noundef, ptr noundef) #1
declare i32 @set_form_sub(ptr noundef, ptr noundef) #1
declare i32 @post_form(ptr noundef) #1
declare i32 @form_driver(ptr noundef, i32 noundef) #1
declare i32 @wnoutrefresh(ptr noundef) #1
declare i32 @doupdate(...) #1
declare i32 @getch(...) #1
declare ptr @field_buffer(ptr noundef, i32 noundef) #1
declare i32 @sscanf(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @KEY_F(i32 noundef) #1
declare i64 @isascii(i32 noundef) #1
declare i32 @wclear(ptr noundef) #1
declare i32 @wrefresh(ptr noundef) #1
declare i32 @delwin(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpubpqeh5g.c'
source_filename = "/tmp/tmpubpqeh5g.c"
target datalayout = "e-m:e-p270: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 [100 x i8] c" matrix_mult needs 3 argument setting init core (i), run core (-rY) and size of square matrix (-l)\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c" -i indicates what core to use when initializing buffers\0A\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c" -r indicates what core to use when running the triad\0A\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c" -l value sets dimension of square matrix, buffer size = l*l*8 \0A\00", align 1
@.str.4 = private unnamed_addr constant [76 x i8] c" [-m] value increases the number of calls to triad by a multiplier = value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpubpqeh5g.c"
target datalayout = "e-m:e-p270: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 [100 x i8] c" matrix_mult needs 3 argument setting init core (i), run core (-rY) and size of square matrix (-l)\0A\00", align 1
@.str.1 = private unnamed_addr constant [58 x i8] c" -i indicates what core to use when initializing buffers\0A\00", align 1
@.str.2 = private unnamed_addr constant [55 x i8] c" -r indicates what core to use when running the triad\0A\00", align 1
@.str.3 = private unnamed_addr constant [65 x i8] c" -l value sets dimension of square matrix, buffer size = l*l*8 \0A\00", align 1
@.str.4 = private unnamed_addr constant [76 x i8] c" [-m] value increases the number of calls to triad by a multiplier = value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #0 {
%1 = load i32, ptr @stderr, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stderr, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stderr, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2)
%7 = load i32, ptr @stderr, align 4
%8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3)
%9 = load i32, ptr @stderr, align 4
%10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpvib7c5jh.c'
source_filename = "/tmp/tmpvib7c5jh.c"
target datalayout = "e-m:e-p270: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/tmpvib7c5jh.c"
target datalayout = "e-m:e-p270: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/tmpq5ku_07_.c'
source_filename = "/tmp/tmpq5ku_07_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"uid=%d euid=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 (...) @getuid()
%3 = trunc i64 %2 to i32
%4 = call i64 (...) @geteuid()
%5 = trunc i64 %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @getuid(...) #1
declare i64 @geteuid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpq5ku_07_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [16 x i8] c"uid=%d euid=%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i64 (...) @getuid()
%3 = trunc i64 %2 to i32
%4 = call i64 (...) @geteuid()
%5 = trunc i64 %4 to i32
%6 = call i32 @printf(ptr noundef @.str, i32 noundef %3, i32 noundef %5)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @getuid(...) #1
declare i64 @geteuid(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqg3mz6dr.c'
source_filename = "/tmp/tmpqg3mz6dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"/IP2location_Shm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @IP2Location_DB_del_shm() #0 {
%1 = call i32 @shm_unlink(ptr noundef @.str)
ret void
}
declare i32 @shm_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/tmpqg3mz6dr.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [17 x i8] c"/IP2location_Shm\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @IP2Location_DB_del_shm() #0 {
%1 = call i32 @shm_unlink(ptr noundef @.str)
ret void
}
declare i32 @shm_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/tmpym6oz0w4.c'
source_filename = "/tmp/tmpym6oz0w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"reset, device id = %02x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serio_reset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i64 @write_byte(i32 noundef %6, i32 noundef 255)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %30
10: ; preds = %1
br label %11
11: ; preds = %18, %10
%12 = load i32, ptr %3, align 4
%13 = call i32 @read_byte(i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 -1, ptr %2, align 4
br label %30
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 170
br i1 %20, label %11, label %21, !llvm.loop !6
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = call i32 @read_byte(i32 noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
store i32 -1, ptr %2, align 4
br label %30
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
store i32 0, ptr %2, align 4
br label %30
30: ; preds = %27, %26, %16, %9
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i64 @write_byte(i32 noundef, i32 noundef) #1
declare i32 @read_byte(i32 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/tmpym6oz0w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"reset, device id = %02x\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @serio_reset(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = call i64 @write_byte(i32 noundef %6, i32 noundef 255)
%8 = icmp slt i64 %7, 0
br i1 %8, label %9, label %10
9: ; preds = %1
store i32 -1, ptr %2, align 4
br label %30
10: ; preds = %1
br label %11
11: ; preds = %18, %10
%12 = load i32, ptr %3, align 4
%13 = call i32 @read_byte(i32 noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = icmp slt i32 %14, 0
br i1 %15, label %16, label %17
16: ; preds = %11
store i32 -1, ptr %2, align 4
br label %30
17: ; preds = %11
br label %18
18: ; preds = %17
%19 = load i32, ptr %4, align 4
%20 = icmp ne i32 %19, 170
br i1 %20, label %11, label %21, !llvm.loop !6
21: ; preds = %18
%22 = load i32, ptr %3, align 4
%23 = call i32 @read_byte(i32 noundef %22)
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %24, 0
br i1 %25, label %26, label %27
26: ; preds = %21
store i32 -1, ptr %2, align 4
br label %30
27: ; preds = %21
%28 = load i32, ptr %5, align 4
%29 = call i32 @printf(ptr noundef @.str, i32 noundef %28)
store i32 0, ptr %2, align 4
br label %30
30: ; preds = %27, %26, %16, %9
%31 = load i32, ptr %2, align 4
ret i32 %31
}
declare i64 @write_byte(i32 noundef, i32 noundef) #1
declare i32 @read_byte(i32 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/tmpru8sh7o5.c'
source_filename = "/tmp/tmpru8sh7o5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca [100 x i8], align 16
%8 = alloca [100 x i8], align 16
%9 = alloca [100 x i8], align 16
%10 = alloca [100 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %11, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %12, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %13, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %14, align 8
%24 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%25 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%28 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%29 = call i32 @loesche_eindimensionale_Arrays(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
%30 = call i32 (...) @testn_der_Dateien()
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %2
store i32 1, ptr %3, align 4
br label %66
33: ; preds = %2
%34 = load ptr, ptr %12, align 8
%35 = call i32 @pgp_Befehle_aufrufen(ptr noundef %34)
%36 = load ptr, ptr %13, align 8
%37 = call i32 @speichert_ldap_name_in_Datei(ptr noundef %36)
%38 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%39 = call i32 @fingerprint_aus_Datei_auslesen(ptr noundef %38)
store i32 %39, ptr %11, align 4
%40 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%41 = call i32 @name_aus_Datei_auslesen(ptr noundef %40)
%42 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%43 = call i32 @ldap_name_aus_Datei_auslesen(ptr noundef %42)
%44 = load ptr, ptr %14, align 8
%45 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%46 = load i32, ptr %11, align 4
%47 = call i32 @entferne_Zwischenzeichen_aus_Fingerprint(ptr noundef %44, ptr noundef %45, i32 noundef %46)
%48 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%49 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%50 = load i32, ptr %11, align 4
%51 = call i32 @vergleiche_fingerprint(ptr noundef %48, ptr noundef %49, i32 noundef %50)
%52 = icmp eq i32 %51, 3
br i1 %52, label %53, label %54
53: ; preds = %33
store i32 3, ptr %3, align 4
br label %66
54: ; preds = %33
%55 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%57 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%58 = call i32 @modifiziere_und_vergleiche_Namen(ptr noundef %55, ptr noundef %56, ptr noundef %57)
%59 = icmp slt i32 %58, 2
br i1 %59, label %60, label %61
60: ; preds = %54
store i32 2, ptr %3, align 4
br label %66
61: ; preds = %54
%62 = load ptr, ptr %12, align 8
%63 = call i32 @signing_sh_anlegen(ptr noundef %62)
%64 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%65 = call i32 @name_loggen(ptr noundef %64)
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %61, %60, %53, %32
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @loesche_eindimensionale_Arrays(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @testn_der_Dateien(...) #1
declare i32 @pgp_Befehle_aufrufen(ptr noundef) #1
declare i32 @speichert_ldap_name_in_Datei(ptr noundef) #1
declare i32 @fingerprint_aus_Datei_auslesen(ptr noundef) #1
declare i32 @name_aus_Datei_auslesen(ptr noundef) #1
declare i32 @ldap_name_aus_Datei_auslesen(ptr noundef) #1
declare i32 @entferne_Zwischenzeichen_aus_Fingerprint(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @vergleiche_fingerprint(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @modifiziere_und_vergleiche_Namen(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @signing_sh_anlegen(ptr noundef) #1
declare i32 @name_loggen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpru8sh7o5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [100 x i8], align 16
%7 = alloca [100 x i8], align 16
%8 = alloca [100 x i8], align 16
%9 = alloca [100 x i8], align 16
%10 = alloca [100 x i8], align 16
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %11, align 4
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
store ptr %17, ptr %12, align 8
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 3
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %13, align 8
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 2
%23 = load ptr, ptr %22, align 8
store ptr %23, ptr %14, align 8
%24 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%25 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%26 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%27 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%28 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%29 = call i32 @loesche_eindimensionale_Arrays(ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %28)
%30 = call i32 (...) @testn_der_Dateien()
%31 = icmp eq i32 %30, 1
br i1 %31, label %32, label %33
32: ; preds = %2
store i32 1, ptr %3, align 4
br label %66
33: ; preds = %2
%34 = load ptr, ptr %12, align 8
%35 = call i32 @pgp_Befehle_aufrufen(ptr noundef %34)
%36 = load ptr, ptr %13, align 8
%37 = call i32 @speichert_ldap_name_in_Datei(ptr noundef %36)
%38 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%39 = call i32 @fingerprint_aus_Datei_auslesen(ptr noundef %38)
store i32 %39, ptr %11, align 4
%40 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%41 = call i32 @name_aus_Datei_auslesen(ptr noundef %40)
%42 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%43 = call i32 @ldap_name_aus_Datei_auslesen(ptr noundef %42)
%44 = load ptr, ptr %14, align 8
%45 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%46 = load i32, ptr %11, align 4
%47 = call i32 @entferne_Zwischenzeichen_aus_Fingerprint(ptr noundef %44, ptr noundef %45, i32 noundef %46)
%48 = getelementptr inbounds [100 x i8], ptr %6, i64 0, i64 0
%49 = getelementptr inbounds [100 x i8], ptr %7, i64 0, i64 0
%50 = load i32, ptr %11, align 4
%51 = call i32 @vergleiche_fingerprint(ptr noundef %48, ptr noundef %49, i32 noundef %50)
%52 = icmp eq i32 %51, 3
br i1 %52, label %53, label %54
53: ; preds = %33
store i32 3, ptr %3, align 4
br label %66
54: ; preds = %33
%55 = getelementptr inbounds [100 x i8], ptr %10, i64 0, i64 0
%56 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%57 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%58 = call i32 @modifiziere_und_vergleiche_Namen(ptr noundef %55, ptr noundef %56, ptr noundef %57)
%59 = icmp slt i32 %58, 2
br i1 %59, label %60, label %61
60: ; preds = %54
store i32 2, ptr %3, align 4
br label %66
61: ; preds = %54
%62 = load ptr, ptr %12, align 8
%63 = call i32 @signing_sh_anlegen(ptr noundef %62)
%64 = getelementptr inbounds [100 x i8], ptr %9, i64 0, i64 0
%65 = call i32 @name_loggen(ptr noundef %64)
store i32 0, ptr %3, align 4
br label %66
66: ; preds = %61, %60, %53, %32
%67 = load i32, ptr %3, align 4
ret i32 %67
}
declare i32 @loesche_eindimensionale_Arrays(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @testn_der_Dateien(...) #1
declare i32 @pgp_Befehle_aufrufen(ptr noundef) #1
declare i32 @speichert_ldap_name_in_Datei(ptr noundef) #1
declare i32 @fingerprint_aus_Datei_auslesen(ptr noundef) #1
declare i32 @name_aus_Datei_auslesen(ptr noundef) #1
declare i32 @ldap_name_aus_Datei_auslesen(ptr noundef) #1
declare i32 @entferne_Zwischenzeichen_aus_Fingerprint(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @vergleiche_fingerprint(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @modifiziere_und_vergleiche_Namen(ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @signing_sh_anlegen(ptr noundef) #1
declare i32 @name_loggen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph49eqyyp.c'
source_filename = "/tmp/tmph49eqyyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_refute_null(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %3
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @refute_null_failed(ptr noundef %10, ptr noundef %11, i32 noundef %12)
br label %16
14: ; preds = %3
%15 = call i32 (...) @expectation_passed()
br label %16
16: ; preds = %14, %9
ret void
}
declare i32 @refute_null_failed(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @expectation_passed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph49eqyyp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_refute_null(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
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %14
9: ; preds = %3
%10 = load ptr, ptr %4, align 8
%11 = load ptr, ptr %5, align 8
%12 = load i32, ptr %6, align 4
%13 = call i32 @refute_null_failed(ptr noundef %10, ptr noundef %11, i32 noundef %12)
br label %16
14: ; preds = %3
%15 = call i32 (...) @expectation_passed()
br label %16
16: ; preds = %14, %9
ret void
}
declare i32 @refute_null_failed(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @expectation_passed(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7zmnix25.c'
source_filename = "/tmp/tmp7zmnix25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @hasRegisteredInstruction(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call zeroext i8 @dxl_read_byte(i8 noundef zeroext %3, i32 noundef 44)
ret i8 %4
}
declare zeroext i8 @dxl_read_byte(i8 noundef zeroext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7zmnix25.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local zeroext i8 @hasRegisteredInstruction(i8 noundef zeroext %0) #0 {
%2 = alloca i8, align 1
store i8 %0, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = call zeroext i8 @dxl_read_byte(i8 noundef zeroext %3, i32 noundef 44)
ret i8 %4
}
declare zeroext i8 @dxl_read_byte(i8 noundef zeroext, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr90r22ne.c'
source_filename = "/tmp/tmpr90r22ne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
br label %14
14: ; preds = %37, %3
%15 = load i64, ptr %7, align 8
%16 = add i64 %15, -1
store i64 %16, ptr %7, align 8
%17 = icmp ne i64 %15, 0
br i1 %17, label %18, label %38
18: ; preds = %14
%19 = load ptr, ptr %8, align 8
%20 = getelementptr inbounds i8, ptr %19, i32 1
store ptr %20, ptr %8, align 8
%21 = load i8, ptr %19, align 1
store i8 %21, ptr %11, align 1
%22 = load ptr, ptr %9, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %9, align 8
%24 = load i8, ptr %22, align 1
store i8 %24, ptr %10, align 1
%25 = load i8, ptr %11, align 1
%26 = sext i8 %25 to i32
%27 = load i8, ptr %10, align 1
%28 = sext i8 %27 to i32
%29 = sub nsw i32 %26, %28
%30 = icmp ne i32 %29, 0
br i1 %30, label %31, label %37
31: ; preds = %18
%32 = load i8, ptr %11, align 1
%33 = sext i8 %32 to i32
%34 = load i8, ptr %10, align 1
%35 = sext i8 %34 to i32
%36 = sub nsw i32 %33, %35
store i32 %36, ptr %4, align 4
br label %39
37: ; preds = %18
br label %14, !llvm.loop !6
38: ; preds = %14
store i32 0, ptr %4, align 4
br label %39
39: ; preds = %38, %31
%40 = load i32, ptr %4, align 4
ret i32 %40
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr90r22ne.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i8, align 1
%11 = alloca i8, align 1
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%12 = load ptr, ptr %5, align 8
store ptr %12, ptr %8, align 8
%13 = load ptr, ptr %6, align 8
store ptr %13, ptr %9, align 8
%14 = load i64, ptr %7, align 8
%15 = add i64 %14, -1
store i64 %15, ptr %7, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %.lr.ph, label %40
.lr.ph: ; preds = %3
br label %21
17: ; preds = %21
%18 = load i64, ptr %7, align 8
%19 = add i64 %18, -1
store i64 %19, ptr %7, align 8
%20 = icmp ne i64 %18, 0
br i1 %20, label %21, label %._crit_edge, !llvm.loop !6
21: ; preds = %.lr.ph, %17
%22 = load ptr, ptr %8, align 8
%23 = getelementptr inbounds i8, ptr %22, i32 1
store ptr %23, ptr %8, align 8
%24 = load i8, ptr %22, align 1
store i8 %24, ptr %11, align 1
%25 = load ptr, ptr %9, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %9, align 8
%27 = load i8, ptr %25, align 1
store i8 %27, ptr %10, align 1
%28 = load i8, ptr %11, align 1
%29 = sext i8 %28 to i32
%30 = load i8, ptr %10, align 1
%31 = sext i8 %30 to i32
%32 = sub nsw i32 %29, %31
%33 = icmp ne i32 %32, 0
br i1 %33, label %34, label %17
34: ; preds = %21
%35 = load i8, ptr %11, align 1
%36 = sext i8 %35 to i32
%37 = load i8, ptr %10, align 1
%38 = sext i8 %37 to i32
%39 = sub nsw i32 %36, %38
store i32 %39, ptr %4, align 4
br label %41
._crit_edge: ; preds = %17
br label %40
40: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %41
41: ; preds = %40, %34
%42 = load i32, ptr %4, align 4
ret i32 %42
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp3ochvd_f.c'
source_filename = "/tmp/tmp3ochvd_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @full_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %25, %3
%11 = load i32, ptr %7, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %13, label %33
13: ; preds = %10
%14 = load i32, ptr %5, align 4
%15 = load ptr, ptr %6, align 8
%16 = load i32, ptr %7, align 4
%17 = call i32 @recv(i32 noundef %14, ptr noundef %15, i32 noundef %16, i32 noundef 0)
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %8, align 4
%19 = load i32, ptr %9, align 4
%20 = add nsw i32 %19, %18
store i32 %20, ptr %9, align 4
%21 = load i32, ptr %8, align 4
%22 = icmp sle i32 %21, 0
br i1 %22, label %23, label %25
23: ; preds = %13
%24 = load i32, ptr %8, align 4
store i32 %24, ptr %4, align 4
br label %35
25: ; preds = %13
%26 = load i32, ptr %7, align 4
%27 = load i32, ptr %8, align 4
%28 = sub nsw i32 %26, %27
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = load ptr, ptr %6, align 8
%31 = sext i32 %29 to i64
%32 = getelementptr i8, ptr %30, i64 %31
store ptr %32, ptr %6, align 8
br label %10, !llvm.loop !6
33: ; preds = %10
%34 = load i32, ptr %9, align 4
store i32 %34, ptr %4, align 4
br label %35
35: ; preds = %33, %23
%36 = load i32, ptr %4, align 4
ret i32 %36
}
declare i32 @recv(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3ochvd_f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @full_recv(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %9, align 4
%10 = load i32, ptr %7, align 4
%11 = icmp ne i32 %10, 0
br i1 %11, label %.lr.ph, label %34
.lr.ph: ; preds = %3
br label %12
12: ; preds = %.lr.ph, %24
%13 = load i32, ptr %5, align 4
%14 = load ptr, ptr %6, align 8
%15 = load i32, ptr %7, align 4
%16 = call i32 @recv(i32 noundef %13, ptr noundef %14, i32 noundef %15, i32 noundef 0)
store i32 %16, ptr %8, align 4
%17 = load i32, ptr %8, align 4
%18 = load i32, ptr %9, align 4
%19 = add nsw i32 %18, %17
store i32 %19, ptr %9, align 4
%20 = load i32, ptr %8, align 4
%21 = icmp sle i32 %20, 0
br i1 %21, label %22, label %24
22: ; preds = %12
%23 = load i32, ptr %8, align 4
store i32 %23, ptr %4, align 4
br label %36
24: ; preds = %12
%25 = load i32, ptr %7, align 4
%26 = load i32, ptr %8, align 4
%27 = sub nsw i32 %25, %26
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = load ptr, ptr %6, align 8
%30 = sext i32 %28 to i64
%31 = getelementptr i8, ptr %29, i64 %30
store ptr %31, ptr %6, align 8
%32 = load i32, ptr %7, align 4
%33 = icmp ne i32 %32, 0
br i1 %33, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %34
34: ; preds = %._crit_edge, %3
%35 = load i32, ptr %9, align 4
store i32 %35, ptr %4, align 4
br label %36
36: ; preds = %34, %22
%37 = load i32, ptr %4, align 4
ret i32 %37
}
declare i32 @recv(i32 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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpepvt1evl.c'
source_filename = "/tmp/tmpepvt1evl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca x86_fp80, align 16
%7 = alloca i32, align 4
%8 = alloca x86_fp80, align 16
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %5, align 8
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
store i32 1, ptr %7, align 4
br label %11
11: ; preds = %16, %2
%12 = load ptr, ptr %5, align 8
%13 = load i8, ptr %12, align 1
%14 = call i64 @isspace(i8 noundef signext %13)
%15 = icmp ne i64 %14, 0
br i1 %15, label %16, label %19
16: ; preds = %11
%17 = load ptr, ptr %5, align 8
%18 = getelementptr inbounds i8, ptr %17, i32 1
store ptr %18, ptr %5, align 8
br label %11, !llvm.loop !6
19: ; preds = %11
%20 = load ptr, ptr %5, align 8
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
switch i32 %22, label %27 [
i32 45, label %23
i32 43, label %24
]
23: ; preds = %19
store i32 -1, ptr %7, align 4
br label %24
24: ; preds = %19, %23
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %5, align 8
br label %27
27: ; preds = %19, %24
br label %28
28: ; preds = %27
br label %29
29: ; preds = %35, %28
%30 = load ptr, ptr %5, align 8
%31 = load i8, ptr %30, align 1
%32 = sext i8 %31 to i32
%33 = sub nsw i32 %32, 48
%34 = icmp ult i32 %33, 10
br i1 %34, label %35, label %44
35: ; preds = %29
%36 = load x86_fp80, ptr %6, align 16
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
%39 = load i8, ptr %37, align 1
%40 = sext i8 %39 to i32
%41 = sub nsw i32 %40, 48
%42 = sitofp i32 %41 to x86_fp80
%43 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %36, x86_fp80 0xK4002A000000000000000, x86_fp80 %42)
store x86_fp80 %43, ptr %6, align 16
br label %29, !llvm.loop !8
44: ; preds = %29
%45 = load ptr, ptr %5, align 8
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 46
br i1 %48, label %49, label %71
49: ; preds = %44
store x86_fp80 0xK3FFF8000000000000000, ptr %8, align 16
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %5, align 8
br label %52
52: ; preds = %58, %49
%53 = load ptr, ptr %5, align 8
%54 = load i8, ptr %53, align 1
%55 = sext i8 %54 to i32
%56 = sub nsw i32 %55, 48
%57 = icmp ult i32 %56, 10
br i1 %57, label %58, label %70
58: ; preds = %52
%59 = load x86_fp80, ptr %8, align 16
%60 = fmul x86_fp80 %59, 0xK3FFBCCCCCCCCCCCCD000
store x86_fp80 %60, ptr %8, align 16
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
%63 = load i8, ptr %61, align 1
%64 = sext i8 %63 to i32
%65 = sub nsw i32 %64, 48
%66 = sitofp i32 %65 to x86_fp80
%67 = load x86_fp80, ptr %8, align 16
%68 = load x86_fp80, ptr %6, align 16
%69 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %66, x86_fp80 %67, x86_fp80 %68)
store x86_fp80 %69, ptr %6, align 16
br label %52, !llvm.loop !9
70: ; preds = %52
br label %71
71: ; preds = %70, %44
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = or i32 %74, 32
%76 = icmp eq i32 %75, 101
br i1 %76, label %77, label %124
77: ; preds = %71
store i32 0, ptr %9, align 4
store x86_fp80 0xK4002A000000000000000, ptr %8, align 16
%78 = load ptr, ptr %5, align 8
%79 = getelementptr inbounds i8, ptr %78, i32 1
store ptr %79, ptr %5, align 8
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
switch i32 %81, label %87 [
i32 45, label %82
i32 43, label %83
i32 48, label %86
i32 49, label %86
i32 50, label %86
i32 51, label %86
i32 52, label %86
i32 53, label %86
i32 54, label %86
i32 55, label %86
i32 56, label %86
i32 57, label %86
]
82: ; preds = %77
store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %8, align 16
br label %83
83: ; preds = %77, %82
%84 = load ptr, ptr %5, align 8
%85 = getelementptr inbounds i8, ptr %84, i32 1
store ptr %85, ptr %5, align 8
br label %89
86: ; preds = %77, %77, %77, %77, %77, %77, %77, %77, %77, %77
br label %89
87: ; preds = %77
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
%88 = load ptr, ptr %3, align 8
store ptr %88, ptr %5, align 8
br label %125
89: ; preds = %86, %83
br label %90
90: ; preds = %96, %89
%91 = load ptr, ptr %5, align 8
%92 = load i8, ptr %91, align 1
%93 = sext i8 %92 to i32
%94 = sub nsw i32 %93, 48
%95 = icmp ult i32 %94, 10
br i1 %95, label %96, label %105
96: ; preds = %90
%97 = load i32, ptr %9, align 4
%98 = mul i32 10, %97
%99 = load ptr, ptr %5, align 8
%100 = getelementptr inbounds i8, ptr %99, i32 1
store ptr %100, ptr %5, align 8
%101 = load i8, ptr %99, align 1
%102 = sext i8 %101 to i32
%103 = sub nsw i32 %102, 48
%104 = add i32 %98, %103
store i32 %104, ptr %9, align 4
br label %90, !llvm.loop !10
105: ; preds = %90
br label %106
106: ; preds = %105, %119
%107 = load i32, ptr %9, align 4
%108 = and i32 %107, 1
%109 = icmp ne i32 %108, 0
br i1 %109, label %110, label %114
110: ; preds = %106
%111 = load x86_fp80, ptr %8, align 16
%112 = load x86_fp80, ptr %6, align 16
%113 = fmul x86_fp80 %112, %111
store x86_fp80 %113, ptr %6, align 16
br label %114
114: ; preds = %110, %106
%115 = load i32, ptr %9, align 4
%116 = lshr i32 %115, 1
store i32 %116, ptr %9, align 4
%117 = icmp eq i32 %116, 0
br i1 %117, label %118, label %119
118: ; preds = %114
br label %123
119: ; preds = %114
%120 = load x86_fp80, ptr %8, align 16
%121 = load x86_fp80, ptr %8, align 16
%122 = fmul x86_fp80 %121, %120
store x86_fp80 %122, ptr %8, align 16
br label %106
123: ; preds = %118
br label %124
124: ; preds = %123, %71
br label %125
125: ; preds = %124, %87
%126 = load ptr, ptr %4, align 8
%127 = icmp ne ptr %126, null
br i1 %127, label %128, label %131
128: ; preds = %125
%129 = load ptr, ptr %5, align 8
%130 = load ptr, ptr %4, align 8
store ptr %129, ptr %130, align 8
br label %131
131: ; preds = %128, %125
%132 = load x86_fp80, ptr %6, align 16
%133 = load i32, ptr %7, align 4
%134 = sitofp i32 %133 to x86_fp80
%135 = fmul x86_fp80 %132, %134
%136 = fptrunc x86_fp80 %135 to double
ret double %136
}
declare i64 @isspace(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpepvt1evl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtod(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca x86_fp80, align 16
%7 = alloca i32, align 4
%8 = alloca x86_fp80, align 16
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%10 = load ptr, ptr %3, align 8
store ptr %10, ptr %5, align 8
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
store i32 1, ptr %7, align 4
%11 = load ptr, ptr %5, align 8
%12 = load i8, ptr %11, align 1
%13 = call i64 @isspace(i8 noundef signext %12)
%14 = icmp ne i64 %13, 0
br i1 %14, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %15
15: ; preds = %.lr.ph, %15
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %5, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i8, ptr %18, align 1
%20 = call i64 @isspace(i8 noundef signext %19)
%21 = icmp ne i64 %20, 0
br i1 %21, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %22
22: ; preds = %._crit_edge, %2
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
switch i32 %25, label %30 [
i32 45, label %26
i32 43, label %27
]
26: ; preds = %22
store i32 -1, ptr %7, align 4
br label %27
27: ; preds = %26, %22
%28 = load ptr, ptr %5, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %5, align 8
br label %30
30: ; preds = %27, %22
br label %31
31: ; preds = %30
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = sub nsw i32 %34, 48
%36 = icmp ult i32 %35, 10
br i1 %36, label %.lr.ph2, label %51
.lr.ph2: ; preds = %31
br label %37
37: ; preds = %.lr.ph2, %37
%38 = load x86_fp80, ptr %6, align 16
%39 = load ptr, ptr %5, align 8
%40 = getelementptr inbounds i8, ptr %39, i32 1
store ptr %40, ptr %5, align 8
%41 = load i8, ptr %39, align 1
%42 = sext i8 %41 to i32
%43 = sub nsw i32 %42, 48
%44 = sitofp i32 %43 to x86_fp80
%45 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %38, x86_fp80 0xK4002A000000000000000, x86_fp80 %44)
store x86_fp80 %45, ptr %6, align 16
%46 = load ptr, ptr %5, align 8
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = sub nsw i32 %48, 48
%50 = icmp ult i32 %49, 10
br i1 %50, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %51
51: ; preds = %._crit_edge3, %31
%52 = load ptr, ptr %5, align 8
%53 = load i8, ptr %52, align 1
%54 = sext i8 %53 to i32
%55 = icmp eq i32 %54, 46
br i1 %55, label %56, label %82
56: ; preds = %51
store x86_fp80 0xK3FFF8000000000000000, ptr %8, align 16
%57 = load ptr, ptr %5, align 8
%58 = getelementptr inbounds i8, ptr %57, i32 1
store ptr %58, ptr %5, align 8
%59 = load ptr, ptr %5, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = sub nsw i32 %61, 48
%63 = icmp ult i32 %62, 10
br i1 %63, label %.lr.ph5, label %81
.lr.ph5: ; preds = %56
br label %64
64: ; preds = %.lr.ph5, %64
%65 = load x86_fp80, ptr %8, align 16
%66 = fmul x86_fp80 %65, 0xK3FFBCCCCCCCCCCCCD000
store x86_fp80 %66, ptr %8, align 16
%67 = load ptr, ptr %5, align 8
%68 = getelementptr inbounds i8, ptr %67, i32 1
store ptr %68, ptr %5, align 8
%69 = load i8, ptr %67, align 1
%70 = sext i8 %69 to i32
%71 = sub nsw i32 %70, 48
%72 = sitofp i32 %71 to x86_fp80
%73 = load x86_fp80, ptr %8, align 16
%74 = load x86_fp80, ptr %6, align 16
%75 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %72, x86_fp80 %73, x86_fp80 %74)
store x86_fp80 %75, ptr %6, align 16
%76 = load ptr, ptr %5, align 8
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = sub nsw i32 %78, 48
%80 = icmp ult i32 %79, 10
br i1 %80, label %64, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %64
br label %81
81: ; preds = %._crit_edge6, %56
br label %82
82: ; preds = %81, %51
%83 = load ptr, ptr %5, align 8
%84 = load i8, ptr %83, align 1
%85 = sext i8 %84 to i32
%86 = or i32 %85, 32
%87 = icmp eq i32 %86, 101
br i1 %87, label %88, label %139
88: ; preds = %82
store i32 0, ptr %9, align 4
store x86_fp80 0xK4002A000000000000000, ptr %8, align 16
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds i8, ptr %89, i32 1
store ptr %90, ptr %5, align 8
%91 = load i8, ptr %90, align 1
%92 = sext i8 %91 to i32
switch i32 %92, label %98 [
i32 45, label %93
i32 43, label %94
i32 48, label %97
i32 49, label %97
i32 50, label %97
i32 51, label %97
i32 52, label %97
i32 53, label %97
i32 54, label %97
i32 55, label %97
i32 56, label %97
i32 57, label %97
]
93: ; preds = %88
store x86_fp80 0xK3FFBCCCCCCCCCCCCD000, ptr %8, align 16
br label %94
94: ; preds = %93, %88
%95 = load ptr, ptr %5, align 8
%96 = getelementptr inbounds i8, ptr %95, i32 1
store ptr %96, ptr %5, align 8
br label %100
97: ; preds = %88, %88, %88, %88, %88, %88, %88, %88, %88, %88
br label %100
98: ; preds = %88
store x86_fp80 0xK00000000000000000000, ptr %6, align 16
%99 = load ptr, ptr %3, align 8
store ptr %99, ptr %5, align 8
br label %140
100: ; preds = %97, %94
%101 = load ptr, ptr %5, align 8
%102 = load i8, ptr %101, align 1
%103 = sext i8 %102 to i32
%104 = sub nsw i32 %103, 48
%105 = icmp ult i32 %104, 10
br i1 %105, label %.lr.ph8, label %120
.lr.ph8: ; preds = %100
br label %106
106: ; preds = %.lr.ph8, %106
%107 = load i32, ptr %9, align 4
%108 = mul i32 10, %107
%109 = load ptr, ptr %5, align 8
%110 = getelementptr inbounds i8, ptr %109, i32 1
store ptr %110, ptr %5, align 8
%111 = load i8, ptr %109, align 1
%112 = sext i8 %111 to i32
%113 = sub nsw i32 %112, 48
%114 = add i32 %108, %113
store i32 %114, ptr %9, align 4
%115 = load ptr, ptr %5, align 8
%116 = load i8, ptr %115, align 1
%117 = sext i8 %116 to i32
%118 = sub nsw i32 %117, 48
%119 = icmp ult i32 %118, 10
br i1 %119, label %106, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %106
br label %120
120: ; preds = %._crit_edge9, %100
br label %121
121: ; preds = %134, %120
%122 = load i32, ptr %9, align 4
%123 = and i32 %122, 1
%124 = icmp ne i32 %123, 0
br i1 %124, label %125, label %129
125: ; preds = %121
%126 = load x86_fp80, ptr %8, align 16
%127 = load x86_fp80, ptr %6, align 16
%128 = fmul x86_fp80 %127, %126
store x86_fp80 %128, ptr %6, align 16
br label %129
129: ; preds = %125, %121
%130 = load i32, ptr %9, align 4
%131 = lshr i32 %130, 1
store i32 %131, ptr %9, align 4
%132 = icmp eq i32 %131, 0
br i1 %132, label %133, label %134
133: ; preds = %129
br label %138
134: ; preds = %129
%135 = load x86_fp80, ptr %8, align 16
%136 = load x86_fp80, ptr %8, align 16
%137 = fmul x86_fp80 %136, %135
store x86_fp80 %137, ptr %8, align 16
br label %121
138: ; preds = %133
br label %139
139: ; preds = %138, %82
br label %140
140: ; preds = %139, %98
%141 = load ptr, ptr %4, align 8
%142 = icmp ne ptr %141, null
br i1 %142, label %143, label %146
143: ; preds = %140
%144 = load ptr, ptr %5, align 8
%145 = load ptr, ptr %4, align 8
store ptr %144, ptr %145, align 8
br label %146
146: ; preds = %143, %140
%147 = load x86_fp80, ptr %6, align 16
%148 = load i32, ptr %7, align 4
%149 = sitofp i32 %148 to x86_fp80
%150 = fmul x86_fp80 %147, %149
%151 = fptrunc x86_fp80 %150 to double
ret double %151
}
declare i64 @isspace(i8 noundef signext) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
Subsets and Splits