llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmpmkngkxke.c'
source_filename = "/tmp/tmpmkngkxke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_libc_sin(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @sin(double noundef %3) #2
ret double %4
}
; Function Attrs: nounwind
declare double @sin(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpmkngkxke.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @module_libc_sin(double noundef %0) #0 {
%2 = alloca double, align 8
store double %0, ptr %2, align 8
%3 = load double, ptr %2, align 8
%4 = call double @sin(double noundef %3) #2
ret double %4
}
; Function Attrs: nounwind
declare double @sin(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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpak3ro69u.c'
source_filename = "/tmp/tmpak3ro69u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @debug_write(ptr noundef @.str)
br label %7
7: ; preds = %2, %7
br label %7
}
declare i32 @debug_write(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpak3ro69u.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [15 x i8] c"Hello, world!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @debug_write(ptr noundef @.str)
br label %7
7: ; preds = %7, %2
br label %7
}
declare i32 @debug_write(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmph_fgit4k.c'
source_filename = "/tmp/tmph_fgit4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%.2f\0A%.2f\0A%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [10000 x float], align 16
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store float 0.000000e+00, ptr %6, align 4
store float 0.000000e+00, ptr %8, align 4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %19, %0
%14 = load i32, ptr %3, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %15
%17 = load float, ptr %16, align 4
%18 = fcmp une float %17, -1.000000e+00
br i1 %18, label %19, label %32
19: ; preds = %13
%20 = load float, ptr %8, align 4
%21 = load i32, ptr %3, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %22
%24 = load float, ptr %23, align 4
%25 = fadd float %20, %24
store float %25, ptr %8, align 4
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
%28 = load i32, ptr %3, align 4
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %29
%31 = call i32 @scanf(ptr noundef @.str, ptr noundef %30)
br label %13, !llvm.loop !6
32: ; preds = %13
%33 = load float, ptr %8, align 4
%34 = load i32, ptr %3, align 4
%35 = sitofp i32 %34 to float
%36 = fdiv float %33, %35
store float %36, ptr %7, align 4
store i32 0, ptr %2, align 4
br label %37
37: ; preds = %66, %32
%38 = load i32, ptr %2, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %41, label %69
41: ; preds = %37
%42 = load float, ptr %6, align 4
%43 = load i32, ptr %2, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %44
%46 = load float, ptr %45, align 4
%47 = load float, ptr %7, align 4
%48 = fsub float %46, %47
%49 = load i32, ptr %2, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %50
%52 = load float, ptr %51, align 4
%53 = load float, ptr %7, align 4
%54 = fsub float %52, %53
%55 = call float @llvm.fmuladd.f32(float %48, float %54, float %42)
store float %55, ptr %6, align 4
%56 = load i32, ptr %2, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = load float, ptr %7, align 4
%61 = fcmp ogt float %59, %60
br i1 %61, label %62, label %65
62: ; preds = %41
%63 = load i32, ptr %4, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %4, align 4
br label %65
65: ; preds = %62, %41
br label %66
66: ; preds = %65
%67 = load i32, ptr %2, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %2, align 4
br label %37, !llvm.loop !8
69: ; preds = %37
%70 = load float, ptr %6, align 4
%71 = load i32, ptr %3, align 4
%72 = sub nsw i32 %71, 1
%73 = sitofp i32 %72 to float
%74 = fdiv float %70, %73
store float %74, ptr %6, align 4
%75 = load float, ptr %7, align 4
%76 = load float, ptr %6, align 4
%77 = call double @sqrt(float noundef %76)
%78 = load i32, ptr %4, align 4
%79 = call i32 @printf(ptr noundef @.str.1, float noundef %75, double noundef %77, i32 noundef %78)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @printf(ptr noundef, float noundef, double noundef, i32 noundef) #1
declare double @sqrt(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" }
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}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph_fgit4k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%f\0A\00", align 1
@.str.1 = private unnamed_addr constant [14 x i8] c"%.2f\0A%.2f\0A%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [10000 x float], align 16
%6 = alloca float, align 4
%7 = alloca float, align 4
%8 = alloca float, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %3, align 4
store i32 0, ptr %4, align 4
store float 0.000000e+00, ptr %6, align 4
store float 0.000000e+00, ptr %8, align 4
%9 = load i32, ptr %3, align 4
%10 = sext i32 %9 to i64
%11 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %10
%12 = call i32 @scanf(ptr noundef @.str, ptr noundef %11)
%13 = load i32, ptr %3, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %14
%16 = load float, ptr %15, align 4
%17 = fcmp une float %16, -1.000000e+00
br i1 %17, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %18
18: ; preds = %.lr.ph, %18
%19 = load float, ptr %8, align 4
%20 = load i32, ptr %3, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %21
%23 = load float, ptr %22, align 4
%24 = fadd float %19, %23
store float %24, ptr %8, align 4
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %28
%30 = call i32 @scanf(ptr noundef @.str, ptr noundef %29)
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %32
%34 = load float, ptr %33, align 4
%35 = fcmp une float %34, -1.000000e+00
br i1 %35, label %18, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %36
36: ; preds = %._crit_edge, %0
%37 = load float, ptr %8, align 4
%38 = load i32, ptr %3, align 4
%39 = sitofp i32 %38 to float
%40 = fdiv float %37, %39
store float %40, ptr %7, align 4
store i32 0, ptr %2, align 4
%41 = load i32, ptr %2, align 4
%42 = load i32, ptr %3, align 4
%43 = icmp slt i32 %41, %42
br i1 %43, label %.lr.ph2, label %75
.lr.ph2: ; preds = %36
br label %44
44: ; preds = %.lr.ph2, %69
%45 = load float, ptr %6, align 4
%46 = load i32, ptr %2, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %47
%49 = load float, ptr %48, align 4
%50 = load float, ptr %7, align 4
%51 = fsub float %49, %50
%52 = load i32, ptr %2, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %53
%55 = load float, ptr %54, align 4
%56 = load float, ptr %7, align 4
%57 = fsub float %55, %56
%58 = call float @llvm.fmuladd.f32(float %51, float %57, float %45)
store float %58, ptr %6, align 4
%59 = load i32, ptr %2, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10000 x float], ptr %5, i64 0, i64 %60
%62 = load float, ptr %61, align 4
%63 = load float, ptr %7, align 4
%64 = fcmp ogt float %62, %63
br i1 %64, label %65, label %68
65: ; preds = %44
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %4, align 4
br label %68
68: ; preds = %65, %44
br label %69
69: ; preds = %68
%70 = load i32, ptr %2, align 4
%71 = add nsw i32 %70, 1
store i32 %71, ptr %2, align 4
%72 = load i32, ptr %2, align 4
%73 = load i32, ptr %3, align 4
%74 = icmp slt i32 %72, %73
br i1 %74, label %44, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %69
br label %75
75: ; preds = %._crit_edge3, %36
%76 = load float, ptr %6, align 4
%77 = load i32, ptr %3, align 4
%78 = sub nsw i32 %77, 1
%79 = sitofp i32 %78 to float
%80 = fdiv float %76, %79
store float %80, ptr %6, align 4
%81 = load float, ptr %7, align 4
%82 = load float, ptr %6, align 4
%83 = call double @sqrt(float noundef %82)
%84 = load i32, ptr %4, align 4
%85 = call i32 @printf(ptr noundef @.str.1, float noundef %81, double noundef %83, i32 noundef %84)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2
declare i32 @printf(ptr noundef, float noundef, double noundef, i32 noundef) #1
declare double @sqrt(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" }
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}
|
; ModuleID = '/tmp/tmp78s_rxg0.c'
source_filename = "/tmp/tmp78s_rxg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Input 5 values for euro:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0ADollars: %.2f\09Euros: %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"\0A[Press ENTER to close] \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], align 16
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x3FF59999A0000000, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %15, %0
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %10, label %18
10: ; preds = %7
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %12
%14 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %13)
br label %15
15: ; preds = %10
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
br label %7, !llvm.loop !6
18: ; preds = %7
store i32 0, ptr %4, align 4
br label %19
19: ; preds = %30, %18
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 5
br i1 %21, label %22, label %33
22: ; preds = %19
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %24
%26 = load float, ptr %25, align 4
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %28
store float %26, ptr %29, align 4
br label %30
30: ; preds = %22
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
br label %19, !llvm.loop !8
33: ; preds = %19
store i32 0, ptr %4, align 4
br label %34
34: ; preds = %46, %33
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %35, 5
br i1 %36, label %37, label %49
37: ; preds = %34
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %39
%41 = load float, ptr %40, align 4
%42 = fmul float %41, 0x3FF59999A0000000
%43 = load i32, ptr %4, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %44
store float %42, ptr %45, align 4
br label %46
46: ; preds = %37
%47 = load i32, ptr %4, align 4
%48 = add nsw i32 %47, 1
store i32 %48, ptr %4, align 4
br label %34, !llvm.loop !9
49: ; preds = %34
store i32 0, ptr %4, align 4
br label %50
50: ; preds = %65, %49
%51 = load i32, ptr %4, align 4
%52 = icmp slt i32 %51, 5
br i1 %52, label %53, label %68
53: ; preds = %50
%54 = load i32, ptr %4, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %55
%57 = load float, ptr %56, align 4
%58 = fpext float %57 to double
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %60
%62 = load float, ptr %61, align 4
%63 = fpext float %62 to double
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %58, double noundef %63)
br label %65
65: ; preds = %53
%66 = load i32, ptr %4, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %4, align 4
br label %50, !llvm.loop !10
68: ; preds = %50
%69 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%70 = call i32 (...) @getchar()
%71 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmp78s_rxg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [26 x i8] c"Input 5 values for euro:\0A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.2 = private unnamed_addr constant [28 x i8] c"\0ADollars: %.2f\09Euros: %.2f\0A\00", align 1
@.str.3 = private unnamed_addr constant [25 x i8] c"\0A[Press ENTER to close] \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x float], align 16
%3 = alloca [5 x float], align 16
%4 = alloca i32, align 4
%5 = alloca float, align 4
store i32 0, ptr %1, align 4
store float 0x3FF59999A0000000, ptr %5, align 4
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %.lr.ph, label %19
.lr.ph: ; preds = %0
br label %9
9: ; preds = %.lr.ph, %14
%10 = load i32, ptr %4, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %11
%13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %12)
br label %14
14: ; preds = %9
%15 = load i32, ptr %4, align 4
%16 = add nsw i32 %15, 1
store i32 %16, ptr %4, align 4
%17 = load i32, ptr %4, align 4
%18 = icmp slt i32 %17, 5
br i1 %18, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %14
br label %19
19: ; preds = %._crit_edge, %0
store i32 0, ptr %4, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %20, 5
br i1 %21, label %.lr.ph2, label %35
.lr.ph2: ; preds = %19
br label %22
22: ; preds = %.lr.ph2, %30
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %24
%26 = load float, ptr %25, align 4
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %28
store float %26, ptr %29, align 4
br label %30
30: ; preds = %22
%31 = load i32, ptr %4, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %4, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %33, 5
br i1 %34, label %22, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %30
br label %35
35: ; preds = %._crit_edge3, %19
store i32 0, ptr %4, align 4
%36 = load i32, ptr %4, align 4
%37 = icmp slt i32 %36, 5
br i1 %37, label %.lr.ph5, label %52
.lr.ph5: ; preds = %35
br label %38
38: ; preds = %.lr.ph5, %47
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %40
%42 = load float, ptr %41, align 4
%43 = fmul float %42, 0x3FF59999A0000000
%44 = load i32, ptr %4, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %45
store float %43, ptr %46, align 4
br label %47
47: ; preds = %38
%48 = load i32, ptr %4, align 4
%49 = add nsw i32 %48, 1
store i32 %49, ptr %4, align 4
%50 = load i32, ptr %4, align 4
%51 = icmp slt i32 %50, 5
br i1 %51, label %38, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %47
br label %52
52: ; preds = %._crit_edge6, %35
store i32 0, ptr %4, align 4
%53 = load i32, ptr %4, align 4
%54 = icmp slt i32 %53, 5
br i1 %54, label %.lr.ph8, label %72
.lr.ph8: ; preds = %52
br label %55
55: ; preds = %.lr.ph8, %67
%56 = load i32, ptr %4, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 %57
%59 = load float, ptr %58, align 4
%60 = fpext float %59 to double
%61 = load i32, ptr %4, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds [5 x float], ptr %2, i64 0, i64 %62
%64 = load float, ptr %63, align 4
%65 = fpext float %64 to double
%66 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %60, double noundef %65)
br label %67
67: ; preds = %55
%68 = load i32, ptr %4, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %4, align 4
%70 = load i32, ptr %4, align 4
%71 = icmp slt i32 %70, 5
br i1 %71, label %55, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %67
br label %72
72: ; preds = %._crit_edge9, %52
%73 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%74 = call i32 (...) @getchar()
%75 = call i32 (...) @getchar()
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmp5n401eff.c'
source_filename = "/tmp/tmp5n401eff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [498 x i8] c"#include \22kernel.h\22\0A#include \22version.h\22\0A/* Format is version/sysname/release/system */\0A/* pack version first so we can use uname_str as a printf target */\0Astruct sysinfoblk sysinfo = {\0A\09sizeof(struct sysinfoblk),\0A\09CONFIG_BANKS,\0A\09UFTSIZE,\0A\09PTABSIZE,\0A\09TICKSPERSEC,\0A\090,\0A\090,\0A#ifdef CONFIG_PROFIL\0A\09CONF_PROFIL |\0A#endif\0A#ifdef CONFIG_LEVEL_2\0A\09CONF_LEVEL_2 |\0A#endif\0A\090,\0A\09{0, 0, 0},\0A\090,\0A\090,\0A\090,\0A\09{0, 0, 0},\0A\09{0, 0, 0, 0, 0, 0, 0, 0},\0A\09/* Quoting to work around cc65 bug */\0A\09\22%s\\0\22\22Fuzix\\0\22\22%s\\0\22\22%s\22\0A};\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_body(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5n401eff.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [498 x i8] c"#include \22kernel.h\22\0A#include \22version.h\22\0A/* Format is version/sysname/release/system */\0A/* pack version first so we can use uname_str as a printf target */\0Astruct sysinfoblk sysinfo = {\0A\09sizeof(struct sysinfoblk),\0A\09CONFIG_BANKS,\0A\09UFTSIZE,\0A\09PTABSIZE,\0A\09TICKSPERSEC,\0A\090,\0A\090,\0A#ifdef CONFIG_PROFIL\0A\09CONF_PROFIL |\0A#endif\0A#ifdef CONFIG_LEVEL_2\0A\09CONF_LEVEL_2 |\0A#endif\0A\090,\0A\09{0, 0, 0},\0A\090,\0A\090,\0A\090,\0A\09{0, 0, 0},\0A\09{0, 0, 0, 0, 0, 0, 0, 0},\0A\09/* Quoting to work around cc65 bug */\0A\09\22%s\\0\22\22Fuzix\\0\22\22%s\\0\22\22%s\22\0A};\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @write_body(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load ptr, ptr %8, align 8
%13 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str, ptr noundef %10, ptr noundef %11, ptr noundef %12)
ret void
}
declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl3uvrq0z.c'
source_filename = "/tmp/tmpl3uvrq0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fct(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 -1
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 28)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl3uvrq0z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fct(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = getelementptr inbounds i32, ptr %3, i64 -1
%5 = call i32 @memset(ptr noundef %4, i32 noundef 0, i32 noundef 28)
ret void
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp3kntn95.c'
source_filename = "/tmp/tmpp3kntn95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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%f\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"INF\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\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
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = load float, ptr %3, align 4
%10 = load float, ptr %4, align 4
%11 = fmul float %9, %10
%12 = load float, ptr %5, align 4
%13 = load float, ptr %2, align 4
%14 = fmul float %12, %13
%15 = fcmp oeq float %11, %14
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
18: ; preds = %0
%19 = load float, ptr %5, align 4
%20 = load float, ptr %3, align 4
%21 = fsub float %19, %20
%22 = load float, ptr %5, align 4
%23 = load float, ptr %2, align 4
%24 = load float, ptr %4, align 4
%25 = load float, ptr %3, align 4
%26 = fmul float %24, %25
%27 = fneg float %26
%28 = call float @llvm.fmuladd.f32(float %22, float %23, float %27)
%29 = fdiv float %21, %28
store float %29, ptr %6, align 4
%30 = load float, ptr %4, align 4
%31 = load float, ptr %2, align 4
%32 = fsub float %30, %31
%33 = load float, ptr %3, align 4
%34 = load float, ptr %4, align 4
%35 = load float, ptr %5, align 4
%36 = load float, ptr %2, align 4
%37 = fmul float %35, %36
%38 = fneg float %37
%39 = call float @llvm.fmuladd.f32(float %33, float %34, float %38)
%40 = fdiv float %32, %39
store float %40, ptr %7, align 4
%41 = load float, ptr %6, align 4
%42 = fpext float %41 to double
%43 = load float, ptr %7, align 4
%44 = fpext float %43 to double
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %42, double noundef %44)
br label %46
46: ; preds = %18, %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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/tmpp3kntn95.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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%f\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"INF\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"(%.3f,%.3f)\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
%5 = alloca float, align 4
%6 = alloca float, align 4
%7 = alloca float, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5)
%9 = load float, ptr %3, align 4
%10 = load float, ptr %4, align 4
%11 = fmul float %9, %10
%12 = load float, ptr %5, align 4
%13 = load float, ptr %2, align 4
%14 = fmul float %12, %13
%15 = fcmp oeq float %11, %14
br i1 %15, label %16, label %18
16: ; preds = %0
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %46
18: ; preds = %0
%19 = load float, ptr %5, align 4
%20 = load float, ptr %3, align 4
%21 = fsub float %19, %20
%22 = load float, ptr %5, align 4
%23 = load float, ptr %2, align 4
%24 = load float, ptr %4, align 4
%25 = load float, ptr %3, align 4
%26 = fmul float %24, %25
%27 = fneg float %26
%28 = call float @llvm.fmuladd.f32(float %22, float %23, float %27)
%29 = fdiv float %21, %28
store float %29, ptr %6, align 4
%30 = load float, ptr %4, align 4
%31 = load float, ptr %2, align 4
%32 = fsub float %30, %31
%33 = load float, ptr %3, align 4
%34 = load float, ptr %4, align 4
%35 = load float, ptr %5, align 4
%36 = load float, ptr %2, align 4
%37 = fmul float %35, %36
%38 = fneg float %37
%39 = call float @llvm.fmuladd.f32(float %33, float %34, float %38)
%40 = fdiv float %32, %39
store float %40, ptr %7, align 4
%41 = load float, ptr %6, align 4
%42 = fpext float %41 to double
%43 = load float, ptr %7, align 4
%44 = fpext float %43 to double
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %42, double noundef %44)
br label %46
46: ; preds = %18, %16
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #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/tmpunjxnzlq.c'
source_filename = "/tmp/tmpunjxnzlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YUV4\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_is_y4m(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 = call i64 @memcmp(ptr noundef %4, ptr noundef @.str, i32 noundef 4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i64 @memcmp(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/tmpunjxnzlq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"YUV4\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @file_is_y4m(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 = call i64 @memcmp(ptr noundef %4, ptr noundef @.str, i32 noundef 4)
%6 = icmp eq i64 %5, 0
br i1 %6, label %7, label %8
7: ; preds = %1
store i32 1, ptr %2, align 4
br label %9
8: ; preds = %1
store i32 0, ptr %2, align 4
br label %9
9: ; preds = %8, %7
%10 = load i32, ptr %2, align 4
ret i32 %10
}
declare i64 @memcmp(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/tmpch469jk3.c'
source_filename = "/tmp/tmpch469jk3.c"
target datalayout = "e-m:e-p270: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/tmpch469jk3.c"
target datalayout = "e-m:e-p270: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/tmp0mc6722q.c'
source_filename = "/tmp/tmp0mc6722q.c"
target datalayout = "e-m:e-p270: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
@S_IRWXG = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"/ainod_mutex_lock\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Failed to create shared memory.\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"Failed to set correct size of shared memory space.\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [44 x i8] c"Failed to map the mutex into shared memory.\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Failed to create mutex attribute\00", align 1
@PTHREAD_PROCESS_SHARED = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [23 x i8] c"Failed to share mutex.\00", align 1
@PTHREAD_MUTEX_ERRORCHECK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [26 x i8] c"Failed to set mutex type.\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Failed to initialise mutex.\00", align 1
@.str.8 = 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 ptr @setup_mutex() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i32, ptr @S_IRWXU, align 4
%6 = load i32, ptr @S_IRWXG, align 4
%7 = or i32 %5, %6
store i32 %7, ptr %3, align 4
%8 = load i32, ptr @O_CREAT, align 4
%9 = load i32, ptr @O_RDWR, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @O_TRUNC, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr %3, align 4
%14 = call i32 @shm_open(ptr noundef @.str, i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 @handle_error(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %0
%20 = load i32, ptr %2, align 4
%21 = call i32 @ftruncate(i32 noundef %20, i32 noundef 4)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 @handle_error(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %19
%26 = load i32, ptr @PROT_READ, align 4
%27 = load i32, ptr @PROT_WRITE, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @MAP_SHARED, align 4
%30 = load i32, ptr %2, align 4
%31 = call i64 @mmap(ptr noundef null, i32 noundef 4, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef 0)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %1, align 8
%33 = load ptr, ptr %1, align 8
%34 = load ptr, ptr @MAP_FAILED, align 8
%35 = icmp eq ptr %33, %34
br i1 %35, label %36, label %38
36: ; preds = %25
%37 = call i32 @handle_error(ptr noundef @.str.3)
br label %38
38: ; preds = %36, %25
%39 = call i64 @pthread_mutexattr_init(ptr noundef %4)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @handle_error(ptr noundef @.str.4)
br label %43
43: ; preds = %41, %38
%44 = load i32, ptr @PTHREAD_PROCESS_SHARED, align 4
%45 = call i64 @pthread_mutexattr_setpshared(ptr noundef %4, i32 noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32 @handle_error(ptr noundef @.str.5)
br label %49
49: ; preds = %47, %43
%50 = load i32, ptr @PTHREAD_MUTEX_ERRORCHECK, align 4
%51 = call i64 @pthread_mutexattr_settype(ptr noundef %4, i32 noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 @handle_error(ptr noundef @.str.6)
br label %55
55: ; preds = %53, %49
%56 = load ptr, ptr %1, align 8
%57 = call i64 @pthread_mutex_init(ptr noundef %56, ptr noundef %4)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %55
%60 = call i32 @handle_error(ptr noundef @.str.7)
br label %61
61: ; preds = %59, %55
%62 = call i64 @pthread_mutexattr_destroy(ptr noundef %4)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = call i32 @handle_error(ptr noundef @.str.8)
br label %66
66: ; preds = %64, %61
%67 = load ptr, ptr %1, align 8
ret ptr %67
}
declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @handle_error(ptr noundef) #1
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @pthread_mutexattr_init(ptr noundef) #1
declare i64 @pthread_mutexattr_setpshared(ptr noundef, i32 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/tmp0mc6722q.c"
target datalayout = "e-m:e-p270: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
@S_IRWXG = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [18 x i8] c"/ainod_mutex_lock\00", align 1
@O_CREAT = dso_local global i32 0, align 4
@O_RDWR = dso_local global i32 0, align 4
@O_TRUNC = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Failed to create shared memory.\00", align 1
@.str.2 = private unnamed_addr constant [51 x i8] c"Failed to set correct size of shared memory space.\00", align 1
@PROT_READ = dso_local global i32 0, align 4
@PROT_WRITE = dso_local global i32 0, align 4
@MAP_SHARED = dso_local global i32 0, align 4
@MAP_FAILED = dso_local global ptr null, align 8
@.str.3 = private unnamed_addr constant [44 x i8] c"Failed to map the mutex into shared memory.\00", align 1
@.str.4 = private unnamed_addr constant [33 x i8] c"Failed to create mutex attribute\00", align 1
@PTHREAD_PROCESS_SHARED = dso_local global i32 0, align 4
@.str.5 = private unnamed_addr constant [23 x i8] c"Failed to share mutex.\00", align 1
@PTHREAD_MUTEX_ERRORCHECK = dso_local global i32 0, align 4
@.str.6 = private unnamed_addr constant [26 x i8] c"Failed to set mutex type.\00", align 1
@.str.7 = private unnamed_addr constant [28 x i8] c"Failed to initialise mutex.\00", align 1
@.str.8 = 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 ptr @setup_mutex() #0 {
%1 = alloca ptr, align 8
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = load i32, ptr @S_IRWXU, align 4
%6 = load i32, ptr @S_IRWXG, align 4
%7 = or i32 %5, %6
store i32 %7, ptr %3, align 4
%8 = load i32, ptr @O_CREAT, align 4
%9 = load i32, ptr @O_RDWR, align 4
%10 = or i32 %8, %9
%11 = load i32, ptr @O_TRUNC, align 4
%12 = or i32 %10, %11
%13 = load i32, ptr %3, align 4
%14 = call i32 @shm_open(ptr noundef @.str, i32 noundef %12, i32 noundef %13)
store i32 %14, ptr %2, align 4
%15 = load i32, ptr %2, align 4
%16 = icmp slt i32 %15, 0
br i1 %16, label %17, label %19
17: ; preds = %0
%18 = call i32 @handle_error(ptr noundef @.str.1)
br label %19
19: ; preds = %17, %0
%20 = load i32, ptr %2, align 4
%21 = call i32 @ftruncate(i32 noundef %20, i32 noundef 4)
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %25
23: ; preds = %19
%24 = call i32 @handle_error(ptr noundef @.str.2)
br label %25
25: ; preds = %23, %19
%26 = load i32, ptr @PROT_READ, align 4
%27 = load i32, ptr @PROT_WRITE, align 4
%28 = or i32 %26, %27
%29 = load i32, ptr @MAP_SHARED, align 4
%30 = load i32, ptr %2, align 4
%31 = call i64 @mmap(ptr noundef null, i32 noundef 4, i32 noundef %28, i32 noundef %29, i32 noundef %30, i32 noundef 0)
%32 = inttoptr i64 %31 to ptr
store ptr %32, ptr %1, align 8
%33 = load ptr, ptr %1, align 8
%34 = load ptr, ptr @MAP_FAILED, align 8
%35 = icmp eq ptr %33, %34
br i1 %35, label %36, label %38
36: ; preds = %25
%37 = call i32 @handle_error(ptr noundef @.str.3)
br label %38
38: ; preds = %36, %25
%39 = call i64 @pthread_mutexattr_init(ptr noundef %4)
%40 = icmp ne i64 %39, 0
br i1 %40, label %41, label %43
41: ; preds = %38
%42 = call i32 @handle_error(ptr noundef @.str.4)
br label %43
43: ; preds = %41, %38
%44 = load i32, ptr @PTHREAD_PROCESS_SHARED, align 4
%45 = call i64 @pthread_mutexattr_setpshared(ptr noundef %4, i32 noundef %44)
%46 = icmp ne i64 %45, 0
br i1 %46, label %47, label %49
47: ; preds = %43
%48 = call i32 @handle_error(ptr noundef @.str.5)
br label %49
49: ; preds = %47, %43
%50 = load i32, ptr @PTHREAD_MUTEX_ERRORCHECK, align 4
%51 = call i64 @pthread_mutexattr_settype(ptr noundef %4, i32 noundef %50)
%52 = icmp ne i64 %51, 0
br i1 %52, label %53, label %55
53: ; preds = %49
%54 = call i32 @handle_error(ptr noundef @.str.6)
br label %55
55: ; preds = %53, %49
%56 = load ptr, ptr %1, align 8
%57 = call i64 @pthread_mutex_init(ptr noundef %56, ptr noundef %4)
%58 = icmp ne i64 %57, 0
br i1 %58, label %59, label %61
59: ; preds = %55
%60 = call i32 @handle_error(ptr noundef @.str.7)
br label %61
61: ; preds = %59, %55
%62 = call i64 @pthread_mutexattr_destroy(ptr noundef %4)
%63 = icmp ne i64 %62, 0
br i1 %63, label %64, label %66
64: ; preds = %61
%65 = call i32 @handle_error(ptr noundef @.str.8)
br label %66
66: ; preds = %64, %61
%67 = load ptr, ptr %1, align 8
ret ptr %67
}
declare i32 @shm_open(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @handle_error(ptr noundef) #1
declare i32 @ftruncate(i32 noundef, i32 noundef) #1
declare i64 @mmap(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i64 @pthread_mutexattr_init(ptr noundef) #1
declare i64 @pthread_mutexattr_setpshared(ptr noundef, i32 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/tmpwx_98mw0.c'
source_filename = "/tmp/tmpwx_98mw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"Incorrect arguments. Expected something like 'e0 08 48 0c'.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Temperature: %.1f\0AHumidity: %.1f\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [5 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 5
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %3, align 4
br label %50
16: ; preds = %2
%17 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strcpy(ptr noundef %17, ptr noundef %20)
%22 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%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 @strcat(ptr noundef %22, ptr noundef %25)
%27 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%28 = call i32 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 16)
store i32 %28, ptr %7, align 4
%29 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 4
%32 = load ptr, ptr %31, align 8
%33 = call i32 @strcpy(ptr noundef %29, ptr noundef %32)
%34 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcat(ptr noundef %34, ptr noundef %37)
%39 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @strtol(ptr noundef %39, ptr noundef null, i32 noundef 16)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = call i32 @humConvert(i32 noundef %41, i32 noundef %42, ptr noundef %9, ptr noundef %10)
%44 = load float, ptr %9, align 4
%45 = fpext float %44 to double
%46 = load float, ptr %10, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %45, double noundef %47)
%49 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %16, %13
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @humConvert(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpwx_98mw0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [61 x i8] c"Incorrect arguments. Expected something like 'e0 08 48 0c'.\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [34 x i8] c"Temperature: %.1f\0AHumidity: %.1f\0A\00", align 1
@EXIT_SUCCESS = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [5 x i8], align 1
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = icmp ne i32 %11, 5
br i1 %12, label %13, label %16
13: ; preds = %2
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%15 = load i32, ptr @EXIT_FAILURE, align 4
store i32 %15, ptr %3, align 4
br label %50
16: ; preds = %2
%17 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 2
%20 = load ptr, ptr %19, align 8
%21 = call i32 @strcpy(ptr noundef %17, ptr noundef %20)
%22 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%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 @strcat(ptr noundef %22, ptr noundef %25)
%27 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%28 = call i32 @strtol(ptr noundef %27, ptr noundef null, i32 noundef 16)
store i32 %28, ptr %7, align 4
%29 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds ptr, ptr %30, i64 4
%32 = load ptr, ptr %31, align 8
%33 = call i32 @strcpy(ptr noundef %29, ptr noundef %32)
%34 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 3
%37 = load ptr, ptr %36, align 8
%38 = call i32 @strcat(ptr noundef %34, ptr noundef %37)
%39 = getelementptr inbounds [5 x i8], ptr %6, i64 0, i64 0
%40 = call i32 @strtol(ptr noundef %39, ptr noundef null, i32 noundef 16)
store i32 %40, ptr %8, align 4
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %8, align 4
%43 = call i32 @humConvert(i32 noundef %41, i32 noundef %42, ptr noundef %9, ptr noundef %10)
%44 = load float, ptr %9, align 4
%45 = fpext float %44 to double
%46 = load float, ptr %10, align 4
%47 = fpext float %46 to double
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %45, double noundef %47)
%49 = load i32, ptr @EXIT_SUCCESS, align 4
store i32 %49, ptr %3, align 4
br label %50
50: ; preds = %16, %13
%51 = load i32, ptr %3, align 4
ret i32 %51
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare i32 @strcat(ptr noundef, ptr noundef) #1
declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @humConvert(i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpeuklct3y.c'
source_filename = "/tmp/tmpeuklct3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"LuckyChef\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"UnluckyChef\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
br label %13
13: ; preds = %47, %0
%14 = load i32, ptr %2, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %2, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %17, label %48
17: ; preds = %13
%18 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%19 = load i32, ptr %3, align 4
%20 = load i32, ptr %4, align 4
%21 = sub nsw i32 %19, %20
store i32 %21, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %8, align 4
br label %22
22: ; preds = %37, %17
%23 = load i32, ptr %8, align 4
%24 = load i32, ptr %6, align 4
%25 = icmp sle i32 %23, %24
br i1 %25, label %26, label %40
26: ; preds = %22
%27 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10, ptr noundef %11)
%28 = load i32, ptr %10, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sge i32 %28, %29
br i1 %30, label %31, label %36
31: ; preds = %26
%32 = load i32, ptr %11, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %35, label %36
35: ; preds = %31
store i32 1, ptr %9, align 4
br label %36
36: ; preds = %35, %31, %26
br label %37
37: ; preds = %36
%38 = load i32, ptr %8, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %8, align 4
br label %22, !llvm.loop !6
40: ; preds = %22
%41 = load i32, ptr %9, align 4
%42 = icmp ne i32 %41, 0
br i1 %42, label %43, label %45
43: ; preds = %40
%44 = call i32 @printf(ptr noundef @.str.3)
br label %47
45: ; preds = %40
%46 = call i32 @printf(ptr noundef @.str.4)
br label %47
47: ; preds = %45, %43
br label %13, !llvm.loop !8
48: ; preds = %13
%49 = load i32, ptr %1, align 4
ret i32 %49
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpeuklct3y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [9 x i8] c"%d%d%d%d\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"%d%d\00", align 1
@.str.3 = private unnamed_addr constant [11 x i8] c"LuckyChef\0A\00", align 1
@.str.4 = private unnamed_addr constant [13 x i8] c"UnluckyChef\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2)
%13 = load i32, ptr %2, align 4
%14 = add nsw i32 %13, -1
store i32 %14, ptr %2, align 4
%15 = icmp ne i32 %13, 0
br i1 %15, label %.lr.ph2, label %52
.lr.ph2: ; preds = %0
br label %16
16: ; preds = %.lr.ph2, %48
%17 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6)
%18 = load i32, ptr %3, align 4
%19 = load i32, ptr %4, align 4
%20 = sub nsw i32 %18, %19
store i32 %20, ptr %7, align 4
store i32 0, ptr %9, align 4
store i32 1, ptr %8, align 4
%21 = load i32, ptr %8, align 4
%22 = load i32, ptr %6, align 4
%23 = icmp sle i32 %21, %22
br i1 %23, label %.lr.ph, label %41
.lr.ph: ; preds = %16
br label %24
24: ; preds = %.lr.ph, %35
%25 = call i32 (ptr, ptr, ...) @scanf(ptr noundef @.str.2, ptr noundef %10, ptr noundef %11)
%26 = load i32, ptr %10, align 4
%27 = load i32, ptr %7, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %34
29: ; preds = %24
%30 = load i32, ptr %11, align 4
%31 = load i32, ptr %5, align 4
%32 = icmp sle i32 %30, %31
br i1 %32, label %33, label %34
33: ; preds = %29
store i32 1, ptr %9, align 4
br label %34
34: ; preds = %33, %29, %24
br label %35
35: ; preds = %34
%36 = load i32, ptr %8, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %8, align 4
%38 = load i32, ptr %8, align 4
%39 = load i32, ptr %6, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %16
%42 = load i32, ptr %9, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %44, label %46
44: ; preds = %41
%45 = call i32 @printf(ptr noundef @.str.3)
br label %48
46: ; preds = %41
%47 = call i32 @printf(ptr noundef @.str.4)
br label %48
48: ; preds = %46, %44
%49 = load i32, ptr %2, align 4
%50 = add nsw i32 %49, -1
store i32 %50, ptr %2, align 4
%51 = icmp ne i32 %49, 0
br i1 %51, label %16, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %48
br label %52
52: ; preds = %._crit_edge3, %0
%53 = load i32, ptr %1, align 4
ret i32 %53
}
declare i32 @scanf(ptr noundef, ptr noundef, ...) #1
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpjl05yb5m.c'
source_filename = "/tmp/tmpjl05yb5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"0:1:2:3:4\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @rsr64_2() #0 {
%1 = call i64 @__builtin_arm_rsr64(ptr noundef @.str)
ret i64 %1
}
declare i64 @__builtin_arm_rsr64(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjl05yb5m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c"0:1:2:3:4\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @rsr64_2() #0 {
%1 = call i64 @__builtin_arm_rsr64(ptr noundef @.str)
ret i64 %1
}
declare i64 @__builtin_arm_rsr64(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqtfevqtv.c'
source_filename = "/tmp/tmpqtfevqtv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
store i32 0, ptr %9, align 4
store i64 0, ptr %10, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store ptr %18, ptr %8, align 8
br label %19
19: ; preds = %30, %3
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp ult ptr %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef zeroext %25)
%27 = icmp ne i64 %26, 0
br label %28
28: ; preds = %23, %19
%29 = phi i1 [ false, %19 ], [ %27, %23 ]
br i1 %29, label %30, label %33
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
br label %19, !llvm.loop !6
33: ; preds = %28
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %8, align 8
%36 = icmp ult ptr %34, %35
br i1 %36, label %37, label %56
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 0
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %12, align 1
%41 = load i8, ptr %12, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 45
br i1 %43, label %48, label %44
44: ; preds = %37
%45 = load i8, ptr %12, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 43
br i1 %47, label %48, label %55
48: ; preds = %44, %37
%49 = load i8, ptr %12, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 45
%52 = zext i1 %51 to i32
store i32 %52, ptr %9, align 4
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %7, align 8
br label %55
55: ; preds = %48, %44
br label %56
56: ; preds = %55, %33
%57 = load i32, ptr %6, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %102
59: ; preds = %56
%60 = load ptr, ptr %7, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 2
%62 = load ptr, ptr %8, align 8
%63 = icmp ult ptr %61, %62
br i1 %63, label %64, label %85
64: ; preds = %59
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 0
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = icmp eq i32 %68, 48
br i1 %69, label %70, label %85
70: ; preds = %64
%71 = load ptr, ptr %7, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
%73 = load i8, ptr %72, align 1
%74 = zext i8 %73 to i32
%75 = icmp eq i32 %74, 120
br i1 %75, label %82, label %76
76: ; preds = %70
%77 = load ptr, ptr %7, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 1
%79 = load i8, ptr %78, align 1
%80 = zext i8 %79 to i32
%81 = icmp eq i32 %80, 88
br i1 %81, label %82, label %85
82: ; preds = %76, %70
%83 = load ptr, ptr %7, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 2
store ptr %84, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %101
85: ; preds = %76, %64, %59
%86 = load ptr, ptr %7, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 1
%88 = load ptr, ptr %8, align 8
%89 = icmp ult ptr %87, %88
br i1 %89, label %90, label %99
90: ; preds = %85
%91 = load ptr, ptr %7, align 8
%92 = getelementptr inbounds i8, ptr %91, i64 0
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = icmp eq i32 %94, 48
br i1 %95, label %96, label %99
96: ; preds = %90
%97 = load ptr, ptr %7, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 1
store ptr %98, ptr %7, align 8
store i32 8, ptr %6, align 4
br label %100
99: ; preds = %90, %85
store i32 10, ptr %6, align 4
br label %100
100: ; preds = %99, %96
br label %101
101: ; preds = %100, %82
br label %133
102: ; preds = %56
%103 = load i32, ptr %6, align 4
%104 = icmp eq i32 %103, 16
br i1 %104, label %105, label %132
105: ; preds = %102
%106 = load ptr, ptr %7, align 8
%107 = getelementptr inbounds i8, ptr %106, i64 2
%108 = load ptr, ptr %8, align 8
%109 = icmp ult ptr %107, %108
br i1 %109, label %110, label %131
110: ; preds = %105
%111 = load ptr, ptr %7, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 0
%113 = load i8, ptr %112, align 1
%114 = zext i8 %113 to i32
%115 = icmp eq i32 %114, 48
br i1 %115, label %116, label %131
116: ; preds = %110
%117 = load ptr, ptr %7, align 8
%118 = getelementptr inbounds i8, ptr %117, i64 1
%119 = load i8, ptr %118, align 1
%120 = zext i8 %119 to i32
%121 = icmp eq i32 %120, 120
br i1 %121, label %128, label %122
122: ; preds = %116
%123 = load ptr, ptr %7, align 8
%124 = getelementptr inbounds i8, ptr %123, i64 1
%125 = load i8, ptr %124, align 1
%126 = zext i8 %125 to i32
%127 = icmp eq i32 %126, 88
br i1 %127, label %128, label %131
128: ; preds = %122, %116
%129 = load ptr, ptr %7, align 8
%130 = getelementptr inbounds i8, ptr %129, i64 2
store ptr %130, ptr %7, align 8
br label %131
131: ; preds = %128, %122, %110, %105
br label %132
132: ; preds = %131, %102
br label %133
133: ; preds = %132, %101
br label %134
134: ; preds = %149, %133
%135 = load ptr, ptr %7, align 8
%136 = load ptr, ptr %8, align 8
%137 = icmp ult ptr %135, %136
br i1 %137, label %138, label %147
138: ; preds = %134
%139 = load ptr, ptr %7, align 8
%140 = load i8, ptr %139, align 1
%141 = call i32 @digitval(i8 noundef zeroext %140)
store i32 %141, ptr %11, align 4
%142 = icmp sge i32 %141, 0
br i1 %142, label %143, label %147
143: ; preds = %138
%144 = load i32, ptr %11, align 4
%145 = load i32, ptr %6, align 4
%146 = icmp slt i32 %144, %145
br label %147
147: ; preds = %143, %138, %134
%148 = phi i1 [ false, %138 ], [ false, %134 ], [ %146, %143 ]
br i1 %148, label %149, label %159
149: ; preds = %147
%150 = load i64, ptr %10, align 8
%151 = load i32, ptr %6, align 4
%152 = sext i32 %151 to i64
%153 = mul i64 %150, %152
%154 = load i32, ptr %11, align 4
%155 = sext i32 %154 to i64
%156 = add i64 %153, %155
store i64 %156, ptr %10, align 8
%157 = load ptr, ptr %7, align 8
%158 = getelementptr inbounds i8, ptr %157, i64 1
store ptr %158, ptr %7, align 8
br label %134, !llvm.loop !8
159: ; preds = %147
%160 = load ptr, ptr %5, align 8
%161 = icmp ne ptr %160, null
br i1 %161, label %162, label %165
162: ; preds = %159
%163 = load ptr, ptr %7, align 8
%164 = load ptr, ptr %5, align 8
store ptr %163, ptr %164, align 8
br label %165
165: ; preds = %162, %159
%166 = load i32, ptr %9, align 4
%167 = icmp ne i32 %166, 0
br i1 %167, label %168, label %171
168: ; preds = %165
%169 = load i64, ptr %10, align 8
%170 = sub i64 0, %169
br label %173
171: ; preds = %165
%172 = load i64, ptr %10, align 8
br label %173
173: ; preds = %171, %168
%174 = phi i64 [ %170, %168 ], [ %172, %171 ]
ret i64 %174
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
declare i32 @digitval(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqtfevqtv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strtoull(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i32, align 4
%12 = alloca i8, align 1
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %7, align 8
store i32 0, ptr %9, align 4
store i64 0, ptr %10, align 8
%14 = load ptr, ptr %7, align 8
%15 = load ptr, ptr %4, align 8
%16 = call i32 @strlen(ptr noundef %15)
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %14, i64 %17
store ptr %18, ptr %8, align 8
br label %19
19: ; preds = %30, %3
%20 = load ptr, ptr %7, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp ult ptr %20, %21
br i1 %22, label %23, label %28
23: ; preds = %19
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = call i64 @isspace(i8 noundef zeroext %25)
%27 = icmp ne i64 %26, 0
br label %28
28: ; preds = %23, %19
%29 = phi i1 [ false, %19 ], [ %27, %23 ]
br i1 %29, label %30, label %33
30: ; preds = %28
%31 = load ptr, ptr %7, align 8
%32 = getelementptr inbounds i8, ptr %31, i32 1
store ptr %32, ptr %7, align 8
br label %19, !llvm.loop !6
33: ; preds = %28
%34 = load ptr, ptr %7, align 8
%35 = load ptr, ptr %8, align 8
%36 = icmp ult ptr %34, %35
br i1 %36, label %37, label %56
37: ; preds = %33
%38 = load ptr, ptr %7, align 8
%39 = getelementptr inbounds i8, ptr %38, i64 0
%40 = load i8, ptr %39, align 1
store i8 %40, ptr %12, align 1
%41 = load i8, ptr %12, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 45
br i1 %43, label %48, label %44
44: ; preds = %37
%45 = load i8, ptr %12, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 43
br i1 %47, label %48, label %55
48: ; preds = %44, %37
%49 = load i8, ptr %12, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 45
%52 = zext i1 %51 to i32
store i32 %52, ptr %9, align 4
%53 = load ptr, ptr %7, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %7, align 8
br label %55
55: ; preds = %48, %44
br label %56
56: ; preds = %55, %33
%57 = load i32, ptr %6, align 4
%58 = icmp eq i32 %57, 0
br i1 %58, label %59, label %102
59: ; preds = %56
%60 = load ptr, ptr %7, align 8
%61 = getelementptr inbounds i8, ptr %60, i64 2
%62 = load ptr, ptr %8, align 8
%63 = icmp ult ptr %61, %62
br i1 %63, label %64, label %85
64: ; preds = %59
%65 = load ptr, ptr %7, align 8
%66 = getelementptr inbounds i8, ptr %65, i64 0
%67 = load i8, ptr %66, align 1
%68 = zext i8 %67 to i32
%69 = icmp eq i32 %68, 48
br i1 %69, label %70, label %85
70: ; preds = %64
%71 = load ptr, ptr %7, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 1
%73 = load i8, ptr %72, align 1
%74 = zext i8 %73 to i32
%75 = icmp eq i32 %74, 120
br i1 %75, label %82, label %76
76: ; preds = %70
%77 = load ptr, ptr %7, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 1
%79 = load i8, ptr %78, align 1
%80 = zext i8 %79 to i32
%81 = icmp eq i32 %80, 88
br i1 %81, label %82, label %85
82: ; preds = %76, %70
%83 = load ptr, ptr %7, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 2
store ptr %84, ptr %7, align 8
store i32 16, ptr %6, align 4
br label %101
85: ; preds = %76, %64, %59
%86 = load ptr, ptr %7, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 1
%88 = load ptr, ptr %8, align 8
%89 = icmp ult ptr %87, %88
br i1 %89, label %90, label %99
90: ; preds = %85
%91 = load ptr, ptr %7, align 8
%92 = getelementptr inbounds i8, ptr %91, i64 0
%93 = load i8, ptr %92, align 1
%94 = zext i8 %93 to i32
%95 = icmp eq i32 %94, 48
br i1 %95, label %96, label %99
96: ; preds = %90
%97 = load ptr, ptr %7, align 8
%98 = getelementptr inbounds i8, ptr %97, i64 1
store ptr %98, ptr %7, align 8
store i32 8, ptr %6, align 4
br label %100
99: ; preds = %90, %85
store i32 10, ptr %6, align 4
br label %100
100: ; preds = %99, %96
br label %101
101: ; preds = %100, %82
br label %133
102: ; preds = %56
%103 = load i32, ptr %6, align 4
%104 = icmp eq i32 %103, 16
br i1 %104, label %105, label %132
105: ; preds = %102
%106 = load ptr, ptr %7, align 8
%107 = getelementptr inbounds i8, ptr %106, i64 2
%108 = load ptr, ptr %8, align 8
%109 = icmp ult ptr %107, %108
br i1 %109, label %110, label %131
110: ; preds = %105
%111 = load ptr, ptr %7, align 8
%112 = getelementptr inbounds i8, ptr %111, i64 0
%113 = load i8, ptr %112, align 1
%114 = zext i8 %113 to i32
%115 = icmp eq i32 %114, 48
br i1 %115, label %116, label %131
116: ; preds = %110
%117 = load ptr, ptr %7, align 8
%118 = getelementptr inbounds i8, ptr %117, i64 1
%119 = load i8, ptr %118, align 1
%120 = zext i8 %119 to i32
%121 = icmp eq i32 %120, 120
br i1 %121, label %128, label %122
122: ; preds = %116
%123 = load ptr, ptr %7, align 8
%124 = getelementptr inbounds i8, ptr %123, i64 1
%125 = load i8, ptr %124, align 1
%126 = zext i8 %125 to i32
%127 = icmp eq i32 %126, 88
br i1 %127, label %128, label %131
128: ; preds = %122, %116
%129 = load ptr, ptr %7, align 8
%130 = getelementptr inbounds i8, ptr %129, i64 2
store ptr %130, ptr %7, align 8
br label %131
131: ; preds = %128, %122, %110, %105
br label %132
132: ; preds = %131, %102
br label %133
133: ; preds = %132, %101
br label %134
134: ; preds = %149, %133
%135 = load ptr, ptr %7, align 8
%136 = load ptr, ptr %8, align 8
%137 = icmp ult ptr %135, %136
br i1 %137, label %138, label %147
138: ; preds = %134
%139 = load ptr, ptr %7, align 8
%140 = load i8, ptr %139, align 1
%141 = call i32 @digitval(i8 noundef zeroext %140)
store i32 %141, ptr %11, align 4
%142 = icmp sge i32 %141, 0
br i1 %142, label %143, label %147
143: ; preds = %138
%144 = load i32, ptr %11, align 4
%145 = load i32, ptr %6, align 4
%146 = icmp slt i32 %144, %145
br label %147
147: ; preds = %143, %138, %134
%148 = phi i1 [ false, %138 ], [ false, %134 ], [ %146, %143 ]
br i1 %148, label %149, label %159
149: ; preds = %147
%150 = load i64, ptr %10, align 8
%151 = load i32, ptr %6, align 4
%152 = sext i32 %151 to i64
%153 = mul i64 %150, %152
%154 = load i32, ptr %11, align 4
%155 = sext i32 %154 to i64
%156 = add i64 %153, %155
store i64 %156, ptr %10, align 8
%157 = load ptr, ptr %7, align 8
%158 = getelementptr inbounds i8, ptr %157, i64 1
store ptr %158, ptr %7, align 8
br label %134, !llvm.loop !8
159: ; preds = %147
%160 = load ptr, ptr %5, align 8
%161 = icmp ne ptr %160, null
br i1 %161, label %162, label %165
162: ; preds = %159
%163 = load ptr, ptr %7, align 8
%164 = load ptr, ptr %5, align 8
store ptr %163, ptr %164, align 8
br label %165
165: ; preds = %162, %159
%166 = load i32, ptr %9, align 4
%167 = icmp ne i32 %166, 0
br i1 %167, label %168, label %171
168: ; preds = %165
%169 = load i64, ptr %10, align 8
%170 = sub i64 0, %169
br label %173
171: ; preds = %165
%172 = load i64, ptr %10, align 8
br label %173
173: ; preds = %171, %168
%174 = phi i64 [ %170, %168 ], [ %172, %171 ]
ret i64 %174
}
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(i8 noundef zeroext) #1
declare i32 @digitval(i8 noundef zeroext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpc_qyhqha.c'
source_filename = "/tmp/tmpc_qyhqha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @ieq(i32 noundef 1, i32 noundef 4, i32 noundef 0)
%3 = call i32 @ieq(i32 noundef 3, i32 noundef 3, i32 noundef 1)
%4 = call i32 @ieq(i32 noundef 5, i32 noundef 2, i32 noundef 0)
%5 = call i32 @ine(i32 noundef 1, i32 noundef 4, i32 noundef 1)
%6 = call i32 @ine(i32 noundef 3, i32 noundef 3, i32 noundef 0)
%7 = call i32 @ine(i32 noundef 5, i32 noundef 2, i32 noundef 1)
%8 = call i32 @ilt(i32 noundef 1, i32 noundef 4, i32 noundef 1)
%9 = call i32 @ilt(i32 noundef 3, i32 noundef 3, i32 noundef 0)
%10 = call i32 @ilt(i32 noundef 5, i32 noundef 2, i32 noundef 0)
%11 = call i32 @ile(i32 noundef 1, i32 noundef 4, i32 noundef 1)
%12 = call i32 @ile(i32 noundef 3, i32 noundef 3, i32 noundef 1)
%13 = call i32 @ile(i32 noundef 5, i32 noundef 2, i32 noundef 0)
%14 = call i32 @igt(i32 noundef 1, i32 noundef 4, i32 noundef 0)
%15 = call i32 @igt(i32 noundef 3, i32 noundef 3, i32 noundef 0)
%16 = call i32 @igt(i32 noundef 5, i32 noundef 2, i32 noundef 1)
%17 = call i32 @ige(i32 noundef 1, i32 noundef 4, i32 noundef 0)
%18 = call i32 @ige(i32 noundef 3, i32 noundef 3, i32 noundef 1)
%19 = call i32 @ige(i32 noundef 5, i32 noundef 2, i32 noundef 1)
ret i32 0
}
declare i32 @ieq(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ine(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ilt(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ile(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @igt(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ige(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpc_qyhqha.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @ieq(i32 noundef 1, i32 noundef 4, i32 noundef 0)
%3 = call i32 @ieq(i32 noundef 3, i32 noundef 3, i32 noundef 1)
%4 = call i32 @ieq(i32 noundef 5, i32 noundef 2, i32 noundef 0)
%5 = call i32 @ine(i32 noundef 1, i32 noundef 4, i32 noundef 1)
%6 = call i32 @ine(i32 noundef 3, i32 noundef 3, i32 noundef 0)
%7 = call i32 @ine(i32 noundef 5, i32 noundef 2, i32 noundef 1)
%8 = call i32 @ilt(i32 noundef 1, i32 noundef 4, i32 noundef 1)
%9 = call i32 @ilt(i32 noundef 3, i32 noundef 3, i32 noundef 0)
%10 = call i32 @ilt(i32 noundef 5, i32 noundef 2, i32 noundef 0)
%11 = call i32 @ile(i32 noundef 1, i32 noundef 4, i32 noundef 1)
%12 = call i32 @ile(i32 noundef 3, i32 noundef 3, i32 noundef 1)
%13 = call i32 @ile(i32 noundef 5, i32 noundef 2, i32 noundef 0)
%14 = call i32 @igt(i32 noundef 1, i32 noundef 4, i32 noundef 0)
%15 = call i32 @igt(i32 noundef 3, i32 noundef 3, i32 noundef 0)
%16 = call i32 @igt(i32 noundef 5, i32 noundef 2, i32 noundef 1)
%17 = call i32 @ige(i32 noundef 1, i32 noundef 4, i32 noundef 0)
%18 = call i32 @ige(i32 noundef 3, i32 noundef 3, i32 noundef 1)
%19 = call i32 @ige(i32 noundef 5, i32 noundef 2, i32 noundef 1)
ret i32 0
}
declare i32 @ieq(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ine(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ilt(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ile(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @igt(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @ige(i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpookx0ya5.c'
source_filename = "/tmp/tmpookx0ya5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d.%d\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 void @three_digit(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 = icmp slt i32 %5, 1000
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sdiv i32 %9, 10
%11 = load i32, ptr %4, align 4
%12 = srem i32 %11, 10
%13 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %10, i32 noundef %12)
br label %19
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = sdiv i32 %16, 10
%18 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %14, %7
ret void
}
declare i32 @sprintf(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/tmpookx0ya5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [6 x i8] c"%d.%d\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 void @three_digit(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 = icmp slt i32 %5, 1000
br i1 %6, label %7, label %14
7: ; preds = %2
%8 = load ptr, ptr %3, align 8
%9 = load i32, ptr %4, align 4
%10 = sdiv i32 %9, 10
%11 = load i32, ptr %4, align 4
%12 = srem i32 %11, 10
%13 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %8, ptr noundef @.str, i32 noundef %10, i32 noundef %12)
br label %19
14: ; preds = %2
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %4, align 4
%17 = sdiv i32 %16, 10
%18 = call i32 (ptr, ptr, i32, ...) @sprintf(ptr noundef %15, ptr noundef @.str.1, i32 noundef %17)
br label %19
19: ; preds = %14, %7
ret void
}
declare i32 @sprintf(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/tmpuu87beuh.c'
source_filename = "/tmp/tmpuu87beuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @init_board_connect_server(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @init_board_connect_server(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/tmpuu87beuh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = load ptr, ptr %5, align 8
%8 = call i32 @init_board_connect_server(i32 noundef %6, ptr noundef %7)
ret i32 0
}
declare i32 @init_board_connect_server(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/tmp5ew8nf6p.c'
source_filename = "/tmp/tmp5ew8nf6p.c"
target datalayout = "e-m:e-p270: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/tmp5ew8nf6p.c"
target datalayout = "e-m:e-p270: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/tmpv0yjt0bc.c'
source_filename = "/tmp/tmpv0yjt0bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [86 x i8] c"keymap: Compile or install a keyboard mapping.\0AUsage: keymap [compile|install] file \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmpv0yjt0bc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [86 x i8] c"keymap: Compile or install a keyboard mapping.\0AUsage: keymap [compile|install] file \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @usage() #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/tmpojmzoroc.c'
source_filename = "/tmp/tmpojmzoroc.c"
target datalayout = "e-m:e-p270: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/tmpojmzoroc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_k209jln.c'
source_filename = "/tmp/tmp_k209jln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%s: erename: rename failed\00", align 1
@.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/TobbeTripitaka/src/refs/heads/master/trip/iwave/sucore/src/subcalls.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @erename(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 ptr, ptr %4, align 8
%8 = call i32 @rename(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @syssuerr(ptr noundef @.str, ptr noundef @.str.1)
br label %12
12: ; preds = %10, %2
%13 = load i32, ptr %5, align 4
ret i32 %13
}
declare i32 @rename(ptr noundef, ptr noundef) #1
declare i32 @syssuerr(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/tmp_k209jln.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [27 x i8] c"%s: erename: rename failed\00", align 1
@.str.1 = private unnamed_addr constant [160 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/TobbeTripitaka/src/refs/heads/master/trip/iwave/sucore/src/subcalls.c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @erename(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 ptr, ptr %4, align 8
%8 = call i32 @rename(ptr noundef %6, ptr noundef %7)
store i32 %8, ptr %5, align 4
%9 = icmp ne i32 %8, 0
br i1 %9, label %10, label %12
10: ; preds = %2
%11 = call i32 @syssuerr(ptr noundef @.str, ptr noundef @.str.1)
br label %12
12: ; preds = %10, %2
%13 = load i32, ptr %5, align 4
ret i32 %13
}
declare i32 @rename(ptr noundef, ptr noundef) #1
declare i32 @syssuerr(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_kqth66x.c'
source_filename = "/tmp/tmp_kqth66x.c"
target datalayout = "e-m:e-p270: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_kqth66x.c"
target datalayout = "e-m:e-p270: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/tmpxp57ho_n.c'
source_filename = "/tmp/tmpxp57ho_n.c"
target datalayout = "e-m:e-p270: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/tmpxp57ho_n.c"
target datalayout = "e-m:e-p270: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/tmpl_83bges.c'
source_filename = "/tmp/tmpl_83bges.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_nan(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
br label %7
7: ; preds = %21, %2
%8 = load i32, ptr %6, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %24
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %6, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds double, ptr %12, i64 %14
%16 = load double, ptr %15, align 8
%17 = call i64 @is_nan(double noundef %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %11
store i32 1, ptr %3, align 4
br label %25
20: ; preds = %11
br label %21
21: ; preds = %20
%22 = load i32, ptr %6, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %6, align 4
br label %7, !llvm.loop !6
24: ; preds = %7
store i32 0, ptr %3, align 4
br label %25
25: ; preds = %24, %19
%26 = load i32, ptr %3, align 4
ret i32 %26
}
declare i64 @is_nan(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/tmpl_83bges.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @has_nan(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 0, ptr %6, align 4
%7 = load i32, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %26
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %20
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %6, 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 i64 @is_nan(double noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %10
store i32 1, ptr %3, align 4
br label %27
19: ; preds = %10
br label %20
20: ; preds = %19
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %6, align 4
%23 = load i32, ptr %6, align 4
%24 = load i32, ptr %5, align 4
%25 = icmp slt i32 %23, %24
br i1 %25, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %26
26: ; preds = %._crit_edge, %2
store i32 0, ptr %3, align 4
br label %27
27: ; preds = %26, %18
%28 = load i32, ptr %3, align 4
ret i32 %28
}
declare i64 @is_nan(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/tmp2xb1vfk5.c'
source_filename = "/tmp/tmp2xb1vfk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"Invalid switch statements, must be either l, a, or v. Code: 1238747\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @determine_switches(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
store i32 1, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %7
7: ; preds = %36, %2
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %3, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %39
11: ; preds = %7
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i8, ptr %12, i64 %14
%16 = load i8, ptr %15, align 1
%17 = sext i8 %16 to i32
switch i32 %17, label %27 [
i32 108, label %18
i32 97, label %21
i32 118, label %24
]
18: ; preds = %11
%19 = load i32, ptr %6, align 4
%20 = mul nsw i32 %19, 3
store i32 %20, ptr %6, align 4
br label %35
21: ; preds = %11
%22 = load i32, ptr %6, align 4
%23 = mul nsw i32 %22, 5
store i32 %23, ptr %6, align 4
br label %35
24: ; preds = %11
%25 = load i32, ptr %6, align 4
%26 = mul nsw i32 %25, 7
store i32 %26, ptr %6, align 4
br label %35
27: ; preds = %11
%28 = load i32, ptr %3, align 4
%29 = icmp eq i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %27
br label %34
31: ; preds = %27
%32 = call i32 @printf(ptr noundef @.str)
%33 = call i32 @exit(i32 noundef -1) #3
unreachable
34: ; preds = %30
br label %35
35: ; preds = %34, %24, %21, %18
br label %36
36: ; preds = %35
%37 = load i32, ptr %5, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %5, align 4
br label %7, !llvm.loop !6
39: ; preds = %7
%40 = load i32, ptr %6, align 4
ret i32 %40
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2xb1vfk5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"Invalid switch statements, must be either l, a, or v. Code: 1238747\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @determine_switches(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
store i32 1, ptr %6, align 4
store i32 0, ptr %5, align 4
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %.lr.ph, label %41
.lr.ph: ; preds = %2
br label %10
10: ; preds = %.lr.ph, %35
%11 = load ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i8, ptr %11, i64 %13
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %26 [
i32 108, label %17
i32 97, label %20
i32 118, label %23
]
17: ; preds = %10
%18 = load i32, ptr %6, align 4
%19 = mul nsw i32 %18, 3
store i32 %19, ptr %6, align 4
br label %34
20: ; preds = %10
%21 = load i32, ptr %6, align 4
%22 = mul nsw i32 %21, 5
store i32 %22, ptr %6, align 4
br label %34
23: ; preds = %10
%24 = load i32, ptr %6, align 4
%25 = mul nsw i32 %24, 7
store i32 %25, ptr %6, align 4
br label %34
26: ; preds = %10
%27 = load i32, ptr %3, align 4
%28 = icmp eq i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %26
br label %33
30: ; preds = %26
%31 = call i32 @printf(ptr noundef @.str)
%32 = call i32 @exit(i32 noundef -1) #3
unreachable
33: ; preds = %29
br label %34
34: ; preds = %33, %23, %20, %17
br label %35
35: ; preds = %34
%36 = load i32, ptr %5, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp slt i32 %38, %39
br i1 %40, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %41
41: ; preds = %._crit_edge, %2
%42 = load i32, ptr %6, align 4
ret i32 %42
}
declare i32 @printf(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpu6hvnf71.c'
source_filename = "/tmp/tmpu6hvnf71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @putnumln(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 @putnum(i32 noundef %3)
%5 = call i32 @putsln(ptr noundef @.str)
ret void
}
declare i32 @putnum(i32 noundef) #1
declare i32 @putsln(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpu6hvnf71.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 @putnumln(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 @putnum(i32 noundef %3)
%5 = call i32 @putsln(ptr noundef @.str)
ret void
}
declare i32 @putnum(i32 noundef) #1
declare i32 @putsln(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpqkurklc4.c'
source_filename = "/tmp/tmpqkurklc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Compare(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %7, align 8
%9 = sub i64 %6, %8
%10 = trunc i64 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqkurklc4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Compare(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %5, align 8
%7 = load ptr, ptr %4, align 8
%8 = load i64, ptr %7, align 8
%9 = sub i64 %6, %8
%10 = trunc i64 %9 to i32
ret i32 %10
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4jjf7u5z.c'
source_filename = "/tmp/tmp4jjf7u5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i64, i32, i32 }
%struct.hostent = type { i32, i32 }
@RPC_ANYSOCK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"can't get addr for %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.sockaddr_in, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = 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 %6, align 4
store i32 1, ptr %7, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %11, align 8
%20 = load i32, ptr @RPC_ANYSOCK, align 4
store i32 %20, ptr %12, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 3
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %13, align 4
store i32 0, ptr %14, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call ptr @gethostbyname(ptr noundef %27)
store ptr %28, ptr %11, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %37
30: ; preds = %2
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef %34)
%36 = call i32 @exit(i32 noundef -1) #3
unreachable
37: ; preds = %2
%38 = load ptr, ptr %11, align 8
%39 = getelementptr inbounds %struct.hostent, ptr %38, i32 0, i32 1
%40 = load i32, ptr %39, align 4
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
%42 = ptrtoint ptr %41 to i32
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds %struct.hostent, ptr %43, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = call i32 @bcopy(i32 noundef %40, i32 noundef %42, i32 noundef %45)
%47 = load i32, ptr @AF_INET, align 4
%48 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
store i32 %47, ptr %48, align 8
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i64 0, ptr %49, align 8
store i32 0, ptr %15, align 4
br label %50
50: ; preds = %63, %37
%51 = load i32, ptr %15, align 4
%52 = load i32, ptr %13, align 4
%53 = icmp slt i32 %51, %52
br i1 %53, label %54, label %66
54: ; preds = %50
%55 = load i32, ptr %8, align 4
%56 = call ptr @clnttcp_create(ptr noundef %10, i32 noundef %55, i32 noundef 1, ptr noundef %12, i32 noundef 0, i32 noundef 0)
store ptr %56, ptr %9, align 8
%57 = load ptr, ptr %9, align 8
%58 = icmp ne ptr %57, null
br i1 %58, label %59, label %62
59: ; preds = %54
%60 = load i32, ptr %14, align 4
%61 = add nsw i32 %60, 1
store i32 %61, ptr %14, align 4
br label %62
62: ; preds = %59, %54
br label %63
63: ; preds = %62
%64 = load i32, ptr %15, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %15, align 4
br label %50, !llvm.loop !6
66: ; preds = %50
%67 = load i32, ptr %6, align 4
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %74
69: ; preds = %66
%70 = load i32, ptr %13, align 4
%71 = call i32 @printf(ptr noundef @.str.1, i32 noundef %70)
%72 = load i32, ptr %14, align 4
%73 = call i32 @printf(ptr noundef @.str.2, i32 noundef %72)
br label %74
74: ; preds = %69, %66
%75 = load i32, ptr %14, align 4
%76 = load i32, ptr %13, align 4
%77 = icmp eq i32 %75, %76
%78 = zext i1 %77 to i64
%79 = select i1 %77, i32 0, i32 1
store i32 %79, ptr %7, align 4
%80 = load i32, ptr %7, align 4
%81 = call i32 @printf(ptr noundef @.str.3, i32 noundef %80)
%82 = load i32, ptr %7, align 4
ret i32 %82
}
declare i32 @atoi(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @clnttcp_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4jjf7u5z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.sockaddr_in = type { i64, i32, i32 }
%struct.hostent = type { i32, i32 }
@RPC_ANYSOCK = dso_local global i32 0, align 4
@stderr = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [23 x i8] c"can't get addr for %s\0A\00", align 1
@AF_INET = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [12 x i8] c"Aimed : %d\0A\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"Got : %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca ptr, align 8
%10 = alloca %struct.sockaddr_in, align 8
%11 = alloca ptr, align 8
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = 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 %6, align 4
store i32 1, ptr %7, align 4
%16 = load ptr, ptr %5, align 8
%17 = getelementptr inbounds ptr, ptr %16, i64 2
%18 = load ptr, ptr %17, align 8
%19 = call i32 @atoi(ptr noundef %18)
store i32 %19, ptr %8, align 4
store ptr null, ptr %9, align 8
store ptr null, ptr %11, align 8
%20 = load i32, ptr @RPC_ANYSOCK, align 4
store i32 %20, ptr %12, align 4
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds ptr, ptr %21, i64 3
%23 = load ptr, ptr %22, align 8
%24 = call i32 @atoi(ptr noundef %23)
store i32 %24, ptr %13, align 4
store i32 0, ptr %14, align 4
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call ptr @gethostbyname(ptr noundef %27)
store ptr %28, ptr %11, align 8
%29 = icmp eq ptr %28, null
br i1 %29, label %30, label %37
30: ; preds = %2
%31 = load i32, ptr @stderr, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = call i32 @fprintf(i32 noundef %31, ptr noundef @.str, ptr noundef %34)
%36 = call i32 @exit(i32 noundef -1) #3
unreachable
37: ; preds = %2
%38 = load ptr, ptr %11, align 8
%39 = getelementptr inbounds %struct.hostent, ptr %38, i32 0, i32 1
%40 = load i32, ptr %39, align 4
%41 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 2
%42 = ptrtoint ptr %41 to i32
%43 = load ptr, ptr %11, align 8
%44 = getelementptr inbounds %struct.hostent, ptr %43, i32 0, i32 0
%45 = load i32, ptr %44, align 4
%46 = call i32 @bcopy(i32 noundef %40, i32 noundef %42, i32 noundef %45)
%47 = load i32, ptr @AF_INET, align 4
%48 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 1
store i32 %47, ptr %48, align 8
%49 = getelementptr inbounds %struct.sockaddr_in, ptr %10, i32 0, i32 0
store i64 0, ptr %49, align 8
store i32 0, ptr %15, align 4
%50 = load i32, ptr %15, align 4
%51 = load i32, ptr %13, align 4
%52 = icmp slt i32 %50, %51
br i1 %52, label %.lr.ph, label %68
.lr.ph: ; preds = %37
br label %53
53: ; preds = %.lr.ph, %62
%54 = load i32, ptr %8, align 4
%55 = call ptr @clnttcp_create(ptr noundef %10, i32 noundef %54, i32 noundef 1, ptr noundef %12, i32 noundef 0, i32 noundef 0)
store ptr %55, ptr %9, align 8
%56 = load ptr, ptr %9, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load i32, ptr %14, align 4
%60 = add nsw i32 %59, 1
store i32 %60, ptr %14, align 4
br label %61
61: ; preds = %58, %53
br label %62
62: ; preds = %61
%63 = load i32, ptr %15, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %15, align 4
%65 = load i32, ptr %15, align 4
%66 = load i32, ptr %13, align 4
%67 = icmp slt i32 %65, %66
br i1 %67, label %53, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %62
br label %68
68: ; preds = %._crit_edge, %37
%69 = load i32, ptr %6, align 4
%70 = icmp eq i32 %69, 1
br i1 %70, label %71, label %76
71: ; preds = %68
%72 = load i32, ptr %13, align 4
%73 = call i32 @printf(ptr noundef @.str.1, i32 noundef %72)
%74 = load i32, ptr %14, align 4
%75 = call i32 @printf(ptr noundef @.str.2, i32 noundef %74)
br label %76
76: ; preds = %71, %68
%77 = load i32, ptr %14, align 4
%78 = load i32, ptr %13, align 4
%79 = icmp eq i32 %77, %78
%80 = zext i1 %79 to i64
%81 = select i1 %79, i32 0, i32 1
store i32 %81, ptr %7, align 4
%82 = load i32, ptr %7, align 4
%83 = call i32 @printf(ptr noundef @.str.3, i32 noundef %82)
%84 = load i32, ptr %7, align 4
ret i32 %84
}
declare i32 @atoi(ptr noundef) #1
declare ptr @gethostbyname(ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) #1
declare ptr @clnttcp_create(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, 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" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpt1lo0evj.c'
source_filename = "/tmp/tmpt1lo0evj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"WARNING: This will lock the (e)MMC!\0A\0A Enter H (big h) to continue.\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 72, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @sd_card_init(ptr noundef %10, i8 noundef signext 76, i32 noundef 0)
br label %12
12: ; preds = %9, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sd_card_init(ptr noundef, 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/tmpt1lo0evj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [68 x i8] c"WARNING: This will lock the (e)MMC!\0A\0A Enter H (big h) to continue.\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c" %c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @lock(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%4 = call i32 @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3)
%6 = load i8, ptr %3, align 1
%7 = sext i8 %6 to i32
%8 = icmp eq i32 72, %7
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load ptr, ptr %2, align 8
%11 = call i32 @sd_card_init(ptr noundef %10, i8 noundef signext 76, i32 noundef 0)
br label %12
12: ; preds = %9, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @sd_card_init(ptr noundef, 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/tmp1b6l1n91.c'
source_filename = "/tmp/tmp1b6l1n91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Msh2Lab(float noundef %0, float noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load float, ptr %7, align 4
%14 = load float, ptr %8, align 4
%15 = call float @cos(float noundef %14)
%16 = fmul float %13, %15
%17 = load ptr, ptr %10, align 8
store float %16, ptr %17, align 4
%18 = load float, ptr %7, align 4
%19 = load float, ptr %8, align 4
%20 = call float @sin(float noundef %19)
%21 = fmul float %18, %20
%22 = load float, ptr %9, align 4
%23 = call float @cos(float noundef %22)
%24 = fmul float %21, %23
%25 = load ptr, ptr %11, align 8
store float %24, ptr %25, align 4
%26 = load float, ptr %7, align 4
%27 = load float, ptr %8, align 4
%28 = call float @sin(float noundef %27)
%29 = fmul float %26, %28
%30 = load float, ptr %9, align 4
%31 = call float @sin(float noundef %30)
%32 = fmul float %29, %31
%33 = load ptr, ptr %12, align 8
store float %32, ptr %33, align 4
ret void
}
declare float @cos(float noundef) #1
declare float @sin(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/tmp1b6l1n91.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Msh2Lab(float noundef %0, float noundef %1, float noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store ptr %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%13 = load float, ptr %7, align 4
%14 = load float, ptr %8, align 4
%15 = call float @cos(float noundef %14)
%16 = fmul float %13, %15
%17 = load ptr, ptr %10, align 8
store float %16, ptr %17, align 4
%18 = load float, ptr %7, align 4
%19 = load float, ptr %8, align 4
%20 = call float @sin(float noundef %19)
%21 = fmul float %18, %20
%22 = load float, ptr %9, align 4
%23 = call float @cos(float noundef %22)
%24 = fmul float %21, %23
%25 = load ptr, ptr %11, align 8
store float %24, ptr %25, align 4
%26 = load float, ptr %7, align 4
%27 = load float, ptr %8, align 4
%28 = call float @sin(float noundef %27)
%29 = fmul float %26, %28
%30 = load float, ptr %9, align 4
%31 = call float @sin(float noundef %30)
%32 = fmul float %29, %31
%33 = load ptr, ptr %12, align 8
store float %32, ptr %33, align 4
ret void
}
declare float @cos(float noundef) #1
declare float @sin(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/tmpzoichlnj.c'
source_filename = "/tmp/tmpzoichlnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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
br label %5
5: ; preds = %6, %2
br label %6
6: ; preds = %5
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i64 @__builtin_arm_strex(i32 noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %5, label %11, !llvm.loop !6
11: ; preds = %6
ret void
}
declare i64 @__builtin_arm_strex(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpzoichlnj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @foo(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
br label %5
5: ; preds = %6, %2
br label %6
6: ; preds = %5
%7 = load i32, ptr %3, align 4
%8 = load ptr, ptr %4, align 8
%9 = call i64 @__builtin_arm_strex(i32 noundef %7, ptr noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %5, label %11, !llvm.loop !6
11: ; preds = %6
ret void
}
declare i64 @__builtin_arm_strex(i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpwfz8dxb0.c'
source_filename = "/tmp/tmpwfz8dxb0.c"
target datalayout = "e-m:e-p270: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/tmpwfz8dxb0.c"
target datalayout = "e-m:e-p270: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/tmpauccihnt.c'
source_filename = "/tmp/tmpauccihnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Util_shiftConsumeBuffer(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = ptrtoint ptr %9 to i64
%12 = ptrtoint ptr %10 to i64
%13 = sub i64 %11, %12
%14 = trunc i64 %13 to i32
store i32 %14, ptr %7, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store ptr %18, ptr %8, align 8
br label %19
19: ; preds = %27, %3
%20 = load ptr, ptr %5, align 8
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %20, %21
br i1 %22, label %23, label %32
23: ; preds = %19
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = load ptr, ptr %4, align 8
store i8 %25, ptr %26, align 1
br label %27
27: ; preds = %23
%28 = load ptr, ptr %4, align 8
%29 = getelementptr inbounds i8, ptr %28, i32 1
store ptr %29, ptr %4, align 8
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i32 1
store ptr %31, ptr %5, align 8
br label %19, !llvm.loop !6
32: ; preds = %19
%33 = load ptr, ptr %4, align 8
%34 = load i32, ptr %7, align 4
%35 = call i32 @memset(ptr noundef %33, i32 noundef 0, i32 noundef %34)
%36 = load i32, ptr %6, align 4
%37 = load i32, ptr %7, align 4
%38 = sub nsw i32 %36, %37
ret i32 %38
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpauccihnt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Util_shiftConsumeBuffer(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %4, align 8
%11 = ptrtoint ptr %9 to i64
%12 = ptrtoint ptr %10 to i64
%13 = sub i64 %11, %12
%14 = trunc i64 %13 to i32
store i32 %14, ptr %7, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %6, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
store ptr %18, ptr %8, align 8
%19 = load ptr, ptr %5, align 8
%20 = load ptr, ptr %8, align 8
%21 = icmp ne ptr %19, %20
br i1 %21, label %.lr.ph, label %34
.lr.ph: ; preds = %3
br label %22
22: ; preds = %.lr.ph, %26
%23 = load ptr, ptr %5, align 8
%24 = load i8, ptr %23, align 1
%25 = load ptr, ptr %4, align 8
store i8 %24, ptr %25, align 1
br label %26
26: ; preds = %22
%27 = load ptr, ptr %4, align 8
%28 = getelementptr inbounds i8, ptr %27, i32 1
store ptr %28, ptr %4, align 8
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
%31 = load ptr, ptr %5, align 8
%32 = load ptr, ptr %8, align 8
%33 = icmp ne ptr %31, %32
br i1 %33, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %26
br label %34
34: ; preds = %._crit_edge, %3
%35 = load ptr, ptr %4, align 8
%36 = load i32, ptr %7, align 4
%37 = call i32 @memset(ptr noundef %35, i32 noundef 0, i32 noundef %36)
%38 = load i32, ptr %6, align 4
%39 = load i32, ptr %7, align 4
%40 = sub nsw i32 %38, %39
ret i32 %40
}
declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmps_x9n0os.c'
source_filename = "/tmp/tmps_x9n0os.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @is_little_endian()
%7 = call i32 @assert(i32 noundef %6)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @is_little_endian(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_x9n0os.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 (...) @is_little_endian()
%7 = call i32 @assert(i32 noundef %6)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @is_little_endian(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpta9kdsie.c'
source_filename = "/tmp/tmpta9kdsie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgroups(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
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/tmpta9kdsie.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getgroups(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
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/tmpgw96n8i9.c'
source_filename = "/tmp/tmpgw96n8i9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ctbenchprintf(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 = call ptr (...) @get_message()
store ptr %5, ptr %4, align 8
store i32 0, ptr %3, align 4
br label %6
6: ; preds = %13, %1
%7 = load i32, ptr %3, align 4
%8 = load i32, ptr %2, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %16
10: ; preds = %6
%11 = load ptr, ptr %4, align 8
%12 = call i32 @printf(ptr noundef @.str, ptr noundef %11)
br label %13
13: ; preds = %10
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %3, align 4
br label %6, !llvm.loop !6
16: ; preds = %6
ret void
}
declare ptr @get_message(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgw96n8i9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @ctbenchprintf(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 = call ptr (...) @get_message()
store ptr %5, ptr %4, align 8
store i32 0, ptr %3, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %18
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %12
%10 = load ptr, ptr %4, align 8
%11 = call i32 @printf(ptr noundef @.str, ptr noundef %10)
br label %12
12: ; preds = %9
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %2, align 4
%17 = icmp slt i32 %15, %16
br i1 %17, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %18
18: ; preds = %._crit_edge, %1
ret void
}
declare ptr @get_message(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpx22c_zm_.c'
source_filename = "/tmp/tmpx22c_zm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FCEUI_AviIsRecording() #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/tmpx22c_zm_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FCEUI_AviIsRecording() #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/tmpxy1tfirk.c'
source_filename = "/tmp/tmpxy1tfirk.c"
target datalayout = "e-m:e-p270: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/tmpxy1tfirk.c"
target datalayout = "e-m:e-p270: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/tmpremvh51x.c'
source_filename = "/tmp/tmpremvh51x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-h\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Usage : %s [Nbr millisecond]\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 %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 2
br i1 %10, label %20, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = icmp sle i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %14, %2
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %21
21: ; preds = %20, %14, %11
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 2
br i1 %23, label %24, label %37
24: ; preds = %21
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str)
%29 = icmp eq i64 %28, 0
br i1 %29, label %36, label %30
30: ; preds = %24
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %30, %24
store i32 1, ptr %7, align 4
br label %37
37: ; preds = %36, %30, %21
%38 = load i32, ptr %7, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 0
%43 = load ptr, ptr %42, align 8
%44 = call i32 @printf(ptr noundef @.str.2, ptr noundef %43)
%45 = load i32, ptr %6, align 4
store i32 %45, ptr %3, align 4
br label %60
46: ; preds = %37
%47 = load i32, ptr %4, align 4
%48 = icmp eq i32 %47, 2
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i32 @atoi(ptr noundef %52)
br label %55
54: ; preds = %46
br label %55
55: ; preds = %54, %49
%56 = phi i32 [ %53, %49 ], [ 10, %54 ]
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = mul nsw i32 %57, 1000
%59 = call i32 @usleep(i32 noundef %58)
store i32 0, ptr %3, align 4
br label %60
60: ; preds = %55, %40
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @atoi(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpremvh51x.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [7 x i8] c"--help\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"-h\00", align 1
@.str.2 = private unnamed_addr constant [30 x i8] c"Usage : %s [Nbr millisecond]\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 %6, align 4
store i32 0, ptr %7, align 4
%9 = load i32, ptr %4, align 4
%10 = icmp sgt i32 %9, 2
br i1 %10, label %20, label %11
11: ; preds = %2
%12 = load i32, ptr %4, align 4
%13 = icmp eq i32 %12, 2
br i1 %13, label %14, label %21
14: ; preds = %11
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 1
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = icmp sle i32 %18, 0
br i1 %19, label %20, label %21
20: ; preds = %14, %2
store i32 1, ptr %6, align 4
store i32 1, ptr %7, align 4
br label %21
21: ; preds = %20, %14, %11
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 2
br i1 %23, label %24, label %37
24: ; preds = %21
%25 = load ptr, ptr %5, align 8
%26 = getelementptr inbounds ptr, ptr %25, i64 1
%27 = load ptr, ptr %26, align 8
%28 = call i64 @strcmp(ptr noundef %27, ptr noundef @.str)
%29 = icmp eq i64 %28, 0
br i1 %29, label %36, label %30
30: ; preds = %24
%31 = load ptr, ptr %5, align 8
%32 = getelementptr inbounds ptr, ptr %31, i64 1
%33 = load ptr, ptr %32, align 8
%34 = call i64 @strcmp(ptr noundef %33, ptr noundef @.str.1)
%35 = icmp eq i64 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %30, %24
store i32 1, ptr %7, align 4
br label %37
37: ; preds = %36, %30, %21
%38 = load i32, ptr %7, align 4
%39 = icmp ne i32 %38, 0
br i1 %39, label %40, label %46
40: ; preds = %37
%41 = load ptr, ptr %5, align 8
%42 = getelementptr inbounds ptr, ptr %41, i64 0
%43 = load ptr, ptr %42, align 8
%44 = call i32 @printf(ptr noundef @.str.2, ptr noundef %43)
%45 = load i32, ptr %6, align 4
store i32 %45, ptr %3, align 4
br label %60
46: ; preds = %37
%47 = load i32, ptr %4, align 4
%48 = icmp eq i32 %47, 2
br i1 %48, label %49, label %54
49: ; preds = %46
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 1
%52 = load ptr, ptr %51, align 8
%53 = call i32 @atoi(ptr noundef %52)
br label %55
54: ; preds = %46
br label %55
55: ; preds = %54, %49
%56 = phi i32 [ %53, %49 ], [ 10, %54 ]
store i32 %56, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = mul nsw i32 %57, 1000
%59 = call i32 @usleep(i32 noundef %58)
store i32 0, ptr %3, align 4
br label %60
60: ; preds = %55, %40
%61 = load i32, ptr %3, align 4
ret i32 %61
}
declare i32 @atoi(ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @usleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5nkhwqo0.c'
source_filename = "/tmp/tmp5nkhwqo0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Cannot open /dev/urandom!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @bench_urandom(i32 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca i64, align 8
store i32 %0, ptr %3, align 4
%8 = call i64 (...) @get_ustime_sec()
store i64 %8, ptr %7, align 8
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %26, %1
%10 = load i32, ptr %4, align 4
%11 = load i32, ptr %3, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %13, label %29
13: ; preds = %9
%14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %14, ptr %5, align 8
%15 = load ptr, ptr %5, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %13
%18 = load i32, ptr @stderr, align 4
%19 = call i32 @fprintf(i32 noundef %18, ptr noundef @.str.2)
store i64 0, ptr %2, align 8
br label %33
20: ; preds = %13
%21 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%22 = load ptr, ptr %5, align 8
%23 = call i32 @fread(ptr noundef %21, i32 noundef 1, i32 noundef 1024, ptr noundef %22)
%24 = load ptr, ptr %5, align 8
%25 = call i32 @fclose(ptr noundef %24)
br label %26
26: ; preds = %20
%27 = load i32, ptr %4, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %4, align 4
br label %9, !llvm.loop !6
29: ; preds = %9
%30 = call i64 (...) @get_ustime_sec()
%31 = load i64, ptr %7, align 8
%32 = sub nsw i64 %30, %31
store i64 %32, ptr %2, align 8
br label %33
33: ; preds = %29, %17
%34 = load i64, ptr %2, align 8
ret i64 %34
}
declare i64 @get_ustime_sec(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5nkhwqo0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"/dev/urandom\00", align 1
@.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.2 = private unnamed_addr constant [27 x i8] c"Cannot open /dev/urandom!\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @bench_urandom(i32 noundef %0) #0 {
%2 = alloca i64, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca [1024 x i8], align 16
%7 = alloca i64, align 8
store i32 %0, ptr %3, align 4
%8 = call i64 (...) @get_ustime_sec()
store i64 %8, ptr %7, align 8
store i32 0, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = load i32, ptr %3, align 4
%11 = icmp slt i32 %9, %10
br i1 %11, label %.lr.ph, label %31
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %25
%13 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp eq ptr %14, null
br i1 %15, label %16, label %19
16: ; preds = %12
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str.2)
store i64 0, ptr %2, align 8
br label %35
19: ; preds = %12
%20 = getelementptr inbounds [1024 x i8], ptr %6, i64 0, i64 0
%21 = load ptr, ptr %5, align 8
%22 = call i32 @fread(ptr noundef %20, i32 noundef 1, i32 noundef 1024, ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = call i32 @fclose(ptr noundef %23)
br label %25
25: ; preds = %19
%26 = load i32, ptr %4, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %4, align 4
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr %3, align 4
%30 = icmp slt i32 %28, %29
br i1 %30, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %25
br label %31
31: ; preds = %._crit_edge, %1
%32 = call i64 (...) @get_ustime_sec()
%33 = load i64, ptr %7, align 8
%34 = sub nsw i64 %32, %33
store i64 %34, ptr %2, align 8
br label %35
35: ; preds = %31, %16
%36 = load i64, ptr %2, align 8
ret i64 %36
}
declare i64 @get_ustime_sec(...) #1
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpy2bahdi0.c'
source_filename = "/tmp/tmpy2bahdi0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @log2(i32 noundef %12)
store i32 %13, ptr %7, align 4
store i32 2, ptr %8, align 4
br label %14
14: ; preds = %45, %3
%15 = load i32, ptr %7, align 4
%16 = add nsw i32 %15, -1
store i32 %16, ptr %7, align 4
%17 = icmp ne i32 %15, 0
br i1 %17, label %18, label %48
18: ; preds = %14
store i32 0, ptr %9, align 4
br label %19
19: ; preds = %42, %18
%20 = load i32, ptr %9, align 4
%21 = load i32, ptr %6, align 4
%22 = add nsw i32 %21, 1
%23 = load i32, ptr %8, align 4
%24 = sdiv i32 %22, %23
%25 = icmp slt i32 %20, %24
br i1 %25, label %26, label %45
26: ; preds = %19
%27 = load i32, ptr %9, align 4
%28 = load i32, ptr %8, align 4
%29 = mul nsw i32 %27, %28
store i32 %29, ptr %10, align 4
%30 = load ptr, ptr %4, align 8
%31 = load i32, ptr %10, align 4
%32 = load i32, ptr %8, align 4
%33 = sub nsw i32 %32, 1
%34 = sdiv i32 %33, 2
%35 = load i32, ptr %10, align 4
%36 = add nsw i32 %34, %35
%37 = load i32, ptr %8, align 4
%38 = load i32, ptr %10, align 4
%39 = add nsw i32 %37, %38
%40 = sub nsw i32 %39, 1
%41 = call i32 @merge(ptr noundef %30, i32 noundef %31, i32 noundef %36, i32 noundef %40)
br label %42
42: ; preds = %26
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
store i32 %44, ptr %9, align 4
br label %19, !llvm.loop !6
45: ; preds = %19
%46 = load i32, ptr %8, align 4
%47 = add nsw i32 %46, 2
store i32 %47, ptr %8, align 4
br label %14, !llvm.loop !8
48: ; preds = %14
ret void
}
declare i32 @log2(i32 noundef) #1
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy2bahdi0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @merge_sort(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 @log2(i32 noundef %12)
store i32 %13, ptr %7, align 4
store i32 2, ptr %8, align 4
%14 = load i32, ptr %7, align 4
%15 = add nsw i32 %14, -1
store i32 %15, ptr %7, align 4
%16 = icmp ne i32 %14, 0
br i1 %16, label %.lr.ph2, label %55
.lr.ph2: ; preds = %3
br label %17
17: ; preds = %.lr.ph2, %49
store i32 0, ptr %9, align 4
%18 = load i32, ptr %9, align 4
%19 = load i32, ptr %6, align 4
%20 = add nsw i32 %19, 1
%21 = load i32, ptr %8, align 4
%22 = sdiv i32 %20, %21
%23 = icmp slt i32 %18, %22
br i1 %23, label %.lr.ph, label %49
.lr.ph: ; preds = %17
br label %24
24: ; preds = %.lr.ph, %40
%25 = load i32, ptr %9, align 4
%26 = load i32, ptr %8, align 4
%27 = mul nsw i32 %25, %26
store i32 %27, ptr %10, align 4
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %10, align 4
%30 = load i32, ptr %8, align 4
%31 = sub nsw i32 %30, 1
%32 = sdiv i32 %31, 2
%33 = load i32, ptr %10, align 4
%34 = add nsw i32 %32, %33
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %10, align 4
%37 = add nsw i32 %35, %36
%38 = sub nsw i32 %37, 1
%39 = call i32 @merge(ptr noundef %28, i32 noundef %29, i32 noundef %34, i32 noundef %38)
br label %40
40: ; preds = %24
%41 = load i32, ptr %9, align 4
%42 = add nsw i32 %41, 1
store i32 %42, ptr %9, align 4
%43 = load i32, ptr %9, align 4
%44 = load i32, ptr %6, align 4
%45 = add nsw i32 %44, 1
%46 = load i32, ptr %8, align 4
%47 = sdiv i32 %45, %46
%48 = icmp slt i32 %43, %47
br i1 %48, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %40
br label %49
49: ; preds = %._crit_edge, %17
%50 = load i32, ptr %8, align 4
%51 = add nsw i32 %50, 2
store i32 %51, ptr %8, align 4
%52 = load i32, ptr %7, align 4
%53 = add nsw i32 %52, -1
store i32 %53, ptr %7, align 4
%54 = icmp ne i32 %52, 0
br i1 %54, label %17, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %55
55: ; preds = %._crit_edge3, %3
ret void
}
declare i32 @log2(i32 noundef) #1
declare i32 @merge(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpoy77pv3h.c'
source_filename = "/tmp/tmpoy77pv3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %6
6: ; preds = %19, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %14, %15
br label %17
17: ; preds = %11, %6
%18 = phi i1 [ false, %6 ], [ %16, %11 ]
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %6, !llvm.loop !6
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
store ptr %29, ptr %3, align 8
br label %31
30: ; preds = %22
store ptr null, ptr %3, align 8
br label %31
31: ; preds = %30, %28
%32 = load ptr, ptr %3, align 8
ret ptr %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpoy77pv3h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @strchr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
br label %6
6: ; preds = %19, %2
%7 = load ptr, ptr %4, align 8
%8 = load i8, ptr %7, align 1
%9 = sext i8 %8 to i32
%10 = icmp ne i32 %9, 0
br i1 %10, label %11, label %17
11: ; preds = %6
%12 = load ptr, ptr %4, align 8
%13 = load i8, ptr %12, align 1
%14 = sext i8 %13 to i32
%15 = load i32, ptr %5, align 4
%16 = icmp ne i32 %14, %15
br label %17
17: ; preds = %11, %6
%18 = phi i1 [ false, %6 ], [ %16, %11 ]
br i1 %18, label %19, label %22
19: ; preds = %17
%20 = load ptr, ptr %4, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %4, align 8
br label %6, !llvm.loop !6
22: ; preds = %17
%23 = load ptr, ptr %4, align 8
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = load i32, ptr %5, align 4
%27 = icmp eq i32 %25, %26
br i1 %27, label %28, label %30
28: ; preds = %22
%29 = load ptr, ptr %4, align 8
store ptr %29, ptr %3, align 8
br label %31
30: ; preds = %22
store ptr null, ptr %3, align 8
br label %31
31: ; preds = %30, %28
%32 = load ptr, ptr %3, align 8
ret ptr %32
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp__s7wd8s.c'
source_filename = "/tmp/tmp__s7wd8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsearch(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i64, ptr %9, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %5
%17 = load i64, ptr %10, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %5
store ptr null, ptr %6, align 8
br label %69
20: ; preds = %16
br label %21
21: ; preds = %59, %20
%22 = load i64, ptr %9, align 8
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %60
24: ; preds = %21
%25 = load ptr, ptr %8, align 8
%26 = load i64, ptr %9, align 8
%27 = udiv i64 %26, 2
%28 = load i64, ptr %10, align 8
%29 = mul i64 %27, %28
%30 = getelementptr inbounds i8, ptr %25, i64 %29
store ptr %30, ptr %12, align 8
%31 = load ptr, ptr %11, align 8
%32 = load ptr, ptr %7, align 8
%33 = load ptr, ptr %12, align 8
%34 = call i32 %31(ptr noundef %32, ptr noundef %33)
store i32 %34, ptr %13, align 4
%35 = load i32, ptr %13, align 4
%36 = icmp slt i32 %35, 0
br i1 %36, label %37, label %40
37: ; preds = %24
%38 = load i64, ptr %9, align 8
%39 = udiv i64 %38, 2
store i64 %39, ptr %9, align 8
br label %59
40: ; preds = %24
%41 = load i32, ptr %13, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %43, label %56
43: ; preds = %40
%44 = load ptr, ptr %12, align 8
%45 = load i64, ptr %10, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
store ptr %46, ptr %8, align 8
%47 = load i64, ptr %9, align 8
%48 = udiv i64 %47, 2
%49 = load i64, ptr %9, align 8
%50 = urem i64 %49, 2
%51 = icmp ne i64 %50, 0
%52 = zext i1 %51 to i64
%53 = select i1 %51, i32 0, i32 1
%54 = sext i32 %53 to i64
%55 = sub i64 %48, %54
store i64 %55, ptr %9, align 8
br label %58
56: ; preds = %40
%57 = load ptr, ptr %12, align 8
store ptr %57, ptr %6, align 8
br label %69
58: ; preds = %43
br label %59
59: ; preds = %58, %37
br label %21, !llvm.loop !6
60: ; preds = %21
%61 = load ptr, ptr %11, align 8
%62 = load ptr, ptr %7, align 8
%63 = load ptr, ptr %8, align 8
%64 = call i32 %61(ptr noundef %62, ptr noundef %63)
%65 = icmp eq i32 %64, 0
br i1 %65, label %66, label %68
66: ; preds = %60
%67 = load ptr, ptr %8, align 8
store ptr %67, ptr %6, align 8
br label %69
68: ; preds = %60
store ptr null, ptr %6, align 8
br label %69
69: ; preds = %68, %66, %56, %19
%70 = load ptr, ptr %6, align 8
ret ptr %70
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__s7wd8s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bsearch(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #0 {
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca i64, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca i32, align 4
store ptr %0, ptr %7, align 8
store ptr %1, ptr %8, align 8
store i64 %2, ptr %9, align 8
store i64 %3, ptr %10, align 8
store ptr %4, ptr %11, align 8
%14 = load i64, ptr %9, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label %19, label %16
16: ; preds = %5
%17 = load i64, ptr %10, align 8
%18 = icmp eq i64 %17, 0
br i1 %18, label %19, label %20
19: ; preds = %16, %5
store ptr null, ptr %6, align 8
br label %70
20: ; preds = %16
%21 = load i64, ptr %9, align 8
%22 = icmp ne i64 %21, 0
br i1 %22, label %.lr.ph, label %61
.lr.ph: ; preds = %20
br label %23
23: ; preds = %.lr.ph, %58
%24 = load ptr, ptr %8, align 8
%25 = load i64, ptr %9, align 8
%26 = udiv i64 %25, 2
%27 = load i64, ptr %10, align 8
%28 = mul i64 %26, %27
%29 = getelementptr inbounds i8, ptr %24, i64 %28
store ptr %29, ptr %12, align 8
%30 = load ptr, ptr %11, align 8
%31 = load ptr, ptr %7, align 8
%32 = load ptr, ptr %12, align 8
%33 = call i32 %30(ptr noundef %31, ptr noundef %32)
store i32 %33, ptr %13, align 4
%34 = load i32, ptr %13, align 4
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %39
36: ; preds = %23
%37 = load i64, ptr %9, align 8
%38 = udiv i64 %37, 2
store i64 %38, ptr %9, align 8
br label %58
39: ; preds = %23
%40 = load i32, ptr %13, align 4
%41 = icmp sgt i32 %40, 0
br i1 %41, label %42, label %55
42: ; preds = %39
%43 = load ptr, ptr %12, align 8
%44 = load i64, ptr %10, align 8
%45 = getelementptr inbounds i8, ptr %43, i64 %44
store ptr %45, ptr %8, align 8
%46 = load i64, ptr %9, align 8
%47 = udiv i64 %46, 2
%48 = load i64, ptr %9, align 8
%49 = urem i64 %48, 2
%50 = icmp ne i64 %49, 0
%51 = zext i1 %50 to i64
%52 = select i1 %50, i32 0, i32 1
%53 = sext i32 %52 to i64
%54 = sub i64 %47, %53
store i64 %54, ptr %9, align 8
br label %57
55: ; preds = %39
%56 = load ptr, ptr %12, align 8
store ptr %56, ptr %6, align 8
br label %70
57: ; preds = %42
br label %58
58: ; preds = %57, %36
%59 = load i64, ptr %9, align 8
%60 = icmp ne i64 %59, 0
br i1 %60, label %23, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %58
br label %61
61: ; preds = %._crit_edge, %20
%62 = load ptr, ptr %11, align 8
%63 = load ptr, ptr %7, align 8
%64 = load ptr, ptr %8, align 8
%65 = call i32 %62(ptr noundef %63, ptr noundef %64)
%66 = icmp eq i32 %65, 0
br i1 %66, label %67, label %69
67: ; preds = %61
%68 = load ptr, ptr %8, align 8
store ptr %68, ptr %6, align 8
br label %70
69: ; preds = %61
store ptr null, ptr %6, align 8
br label %70
70: ; preds = %69, %67, %55, %19
%71 = load ptr, ptr %6, align 8
ret ptr %71
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3fv7ssg0.c'
source_filename = "/tmp/tmp3fv7ssg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGABRT = dso_local global i32 0, align 4
@SIGALRM = dso_local global i32 0, align 4
@SIGBUS = dso_local global i32 0, align 4
@SIGFPE = dso_local global i32 0, align 4
@SIGHUP = dso_local global i32 0, align 4
@SIGILL = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGSEGV = dso_local global i32 0, align 4
@SIGSYS = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3fv7ssg0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@SIGABRT = dso_local global i32 0, align 4
@SIGALRM = dso_local global i32 0, align 4
@SIGBUS = dso_local global i32 0, align 4
@SIGFPE = dso_local global i32 0, align 4
@SIGHUP = dso_local global i32 0, align 4
@SIGILL = dso_local global i32 0, align 4
@SIGPIPE = dso_local global i32 0, align 4
@SIGQUIT = dso_local global i32 0, align 4
@SIGSEGV = dso_local global i32 0, align 4
@SIGSYS = dso_local global i32 0, align 4
@SIGTERM = dso_local global i32 0, align 4
@SIG_IGN = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpl6hsad2d.c'
source_filename = "/tmp/tmpl6hsad2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scanner_init(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 @yy_scan_string(ptr noundef %3)
ret void
}
declare i32 @yy_scan_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpl6hsad2d.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @scanner_init(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 @yy_scan_string(ptr noundef %3)
ret void
}
declare i32 @yy_scan_string(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpijob0umi.c'
source_filename = "/tmp/tmpijob0umi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @queue_test_2()
ret i32 0
}
declare i32 @queue_test_2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpijob0umi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 (...) @queue_test_2()
ret i32 0
}
declare i32 @queue_test_2(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3jbto4lu.c'
source_filename = "/tmp/tmp3jbto4lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 0
%10 = load ptr, ptr %9, align 8
%11 = call i32 @_pselect(ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @_pselect2(ptr noundef %16, i32 noundef 0)
%18 = load i32, ptr %6, align 4
%19 = or i32 %18, %17
store i32 %19, ptr %6, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @_pselect2(ptr noundef %22, i32 noundef 1)
%24 = load i32, ptr %6, align 4
%25 = or i32 %24, %23
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @_select(ptr noundef %28)
%30 = load i32, ptr %6, align 4
%31 = or i32 %30, %29
store i32 %31, ptr %6, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @_select2(ptr noundef %34, i32 noundef 0)
%36 = load i32, ptr %6, align 4
%37 = or i32 %36, %35
store i32 %37, ptr %6, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 0
%40 = load ptr, ptr %39, align 8
%41 = call i32 @_select2(ptr noundef %40, i32 noundef 1)
%42 = load i32, ptr %6, align 4
%43 = or i32 %42, %41
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 0
%46 = zext i1 %45 to i64
%47 = select i1 %45, i32 0, i32 2
ret i32 %47
}
declare i32 @_pselect(ptr noundef) #1
declare i32 @_pselect2(ptr noundef, i32 noundef) #1
declare i32 @_select(ptr noundef) #1
declare i32 @_select2(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/tmp3jbto4lu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i32 0, ptr %6, align 4
%7 = load i32, ptr %4, align 4
%8 = load ptr, ptr %5, align 8
%9 = getelementptr inbounds ptr, ptr %8, i64 0
%10 = load ptr, ptr %9, align 8
%11 = call i32 @_pselect(ptr noundef %10)
%12 = load i32, ptr %6, align 4
%13 = or i32 %12, %11
store i32 %13, ptr %6, align 4
%14 = load ptr, ptr %5, align 8
%15 = getelementptr inbounds ptr, ptr %14, i64 0
%16 = load ptr, ptr %15, align 8
%17 = call i32 @_pselect2(ptr noundef %16, i32 noundef 0)
%18 = load i32, ptr %6, align 4
%19 = or i32 %18, %17
store i32 %19, ptr %6, align 4
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds ptr, ptr %20, i64 0
%22 = load ptr, ptr %21, align 8
%23 = call i32 @_pselect2(ptr noundef %22, i32 noundef 1)
%24 = load i32, ptr %6, align 4
%25 = or i32 %24, %23
store i32 %25, ptr %6, align 4
%26 = load ptr, ptr %5, align 8
%27 = getelementptr inbounds ptr, ptr %26, i64 0
%28 = load ptr, ptr %27, align 8
%29 = call i32 @_select(ptr noundef %28)
%30 = load i32, ptr %6, align 4
%31 = or i32 %30, %29
store i32 %31, ptr %6, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 0
%34 = load ptr, ptr %33, align 8
%35 = call i32 @_select2(ptr noundef %34, i32 noundef 0)
%36 = load i32, ptr %6, align 4
%37 = or i32 %36, %35
store i32 %37, ptr %6, align 4
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 0
%40 = load ptr, ptr %39, align 8
%41 = call i32 @_select2(ptr noundef %40, i32 noundef 1)
%42 = load i32, ptr %6, align 4
%43 = or i32 %42, %41
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp eq i32 %44, 0
%46 = zext i1 %45 to i64
%47 = select i1 %45, i32 0, i32 2
ret i32 %47
}
declare i32 @_pselect(ptr noundef) #1
declare i32 @_pselect2(ptr noundef, i32 noundef) #1
declare i32 @_select(ptr noundef) #1
declare i32 @_select2(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/tmpobj5gd2i.c'
source_filename = "/tmp/tmpobj5gd2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@iptos.ips = internal global [16 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iptos(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, 24
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 16
%7 = and i32 %6, 255
%8 = load i32, ptr %2, align 4
%9 = ashr i32 %8, 8
%10 = and i32 %9, 255
%11 = load i32, ptr %2, align 4
%12 = and i32 %11, 255
%13 = call i32 @sprintf(ptr noundef @iptos.ips, ptr noundef @.str, i32 noundef %4, i32 noundef %7, i32 noundef %10, i32 noundef %12)
ret ptr @iptos.ips
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpobj5gd2i.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@iptos.ips = internal global [16 x i8] zeroinitializer, align 16
@.str = private unnamed_addr constant [12 x i8] c"%d.%d.%d.%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @iptos(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, 24
%5 = load i32, ptr %2, align 4
%6 = ashr i32 %5, 16
%7 = and i32 %6, 255
%8 = load i32, ptr %2, align 4
%9 = ashr i32 %8, 8
%10 = and i32 %9, 255
%11 = load i32, ptr %2, align 4
%12 = and i32 %11, 255
%13 = call i32 @sprintf(ptr noundef @iptos.ips, ptr noundef @.str, i32 noundef %4, i32 noundef %7, i32 noundef %10, i32 noundef %12)
ret ptr @iptos.ips
}
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz7gpuez1.c'
source_filename = "/tmp/tmpz7gpuez1.c"
target datalayout = "e-m:e-p270: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.ip6_rthdr = type { i32 }
%struct.ip6_rthdr0 = type { i32 }
@IPV6_RTHDR_LOOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet6_rthdr_getflags(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i64 @CMSG_DATA(ptr noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds %struct.ip6_rthdr, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 4
switch i32 %14, label %45 [
i32 128, label %15
]
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds %struct.ip6_rthdr0, ptr %17, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = srem i32 %19, 2
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %15
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds %struct.ip6_rthdr0, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 46, %25
br i1 %26, label %27, label %28
27: ; preds = %22, %15
store i32 -1, ptr %3, align 4
br label %46
28: ; preds = %22
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.ip6_rthdr0, ptr %29, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = mul nsw i32 %31, 8
%33 = sext i32 %32 to i64
%34 = udiv i64 %33, 4
%35 = trunc i64 %34 to i32
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %28
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %28
store i32 -1, ptr %3, align 4
br label %46
43: ; preds = %38
%44 = load i32, ptr @IPV6_RTHDR_LOOSE, align 4
store i32 %44, ptr %3, align 4
br label %46
45: ; preds = %2
store i32 -1, ptr %3, align 4
br label %46
46: ; preds = %45, %43, %42, %27
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i64 @CMSG_DATA(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz7gpuez1.c"
target datalayout = "e-m:e-p270: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.ip6_rthdr = type { i32 }
%struct.ip6_rthdr0 = type { i32 }
@IPV6_RTHDR_LOOSE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @inet6_rthdr_getflags(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i64 @CMSG_DATA(ptr noundef %9)
%11 = inttoptr i64 %10 to ptr
store ptr %11, ptr %6, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds %struct.ip6_rthdr, ptr %12, i32 0, i32 0
%14 = load i32, ptr %13, align 4
switch i32 %14, label %45 [
i32 128, label %15
]
15: ; preds = %2
%16 = load ptr, ptr %6, align 8
store ptr %16, ptr %7, align 8
%17 = load ptr, ptr %7, align 8
%18 = getelementptr inbounds %struct.ip6_rthdr0, ptr %17, i32 0, i32 0
%19 = load i32, ptr %18, align 4
%20 = srem i32 %19, 2
%21 = icmp ne i32 %20, 0
br i1 %21, label %27, label %22
22: ; preds = %15
%23 = load ptr, ptr %7, align 8
%24 = getelementptr inbounds %struct.ip6_rthdr0, ptr %23, i32 0, i32 0
%25 = load i32, ptr %24, align 4
%26 = icmp slt i32 46, %25
br i1 %26, label %27, label %28
27: ; preds = %22, %15
store i32 -1, ptr %3, align 4
br label %46
28: ; preds = %22
%29 = load ptr, ptr %7, align 8
%30 = getelementptr inbounds %struct.ip6_rthdr0, ptr %29, i32 0, i32 0
%31 = load i32, ptr %30, align 4
%32 = mul nsw i32 %31, 8
%33 = sext i32 %32 to i64
%34 = udiv i64 %33, 4
%35 = trunc i64 %34 to i32
store i32 %35, ptr %8, align 4
%36 = load i32, ptr %5, align 4
%37 = icmp slt i32 %36, 0
br i1 %37, label %42, label %38
38: ; preds = %28
%39 = load i32, ptr %8, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp slt i32 %39, %40
br i1 %41, label %42, label %43
42: ; preds = %38, %28
store i32 -1, ptr %3, align 4
br label %46
43: ; preds = %38
%44 = load i32, ptr @IPV6_RTHDR_LOOSE, align 4
store i32 %44, ptr %3, align 4
br label %46
45: ; preds = %2
store i32 -1, ptr %3, align 4
br label %46
46: ; preds = %45, %43, %42, %27
%47 = load i32, ptr %3, align 4
ret i32 %47
}
declare i64 @CMSG_DATA(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpz0f6dphz.c'
source_filename = "/tmp/tmpz0f6dphz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @egg_memory_fallback(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpz0f6dphz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @egg_memory_fallback(ptr noundef %0, i64 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i64, align 8
store ptr %0, ptr %3, align 8
store i64 %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load i64, ptr %4, align 8
%7 = call ptr @realloc(ptr noundef %5, i64 noundef %6) #2
ret ptr %7
}
; Function Attrs: allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { allocsize(1) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(1) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpb14ql4gf.c'
source_filename = "/tmp/tmpb14ql4gf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @completeWithSpace(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %10, %1
%5 = load i32, ptr %3, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %5, %6
br i1 %7, label %8, label %13
8: ; preds = %4
%9 = call i32 @printf(ptr noundef @.str, i8 noundef signext 32)
br label %10
10: ; preds = %8
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %3, align 4
br label %4, !llvm.loop !6
13: ; preds = %4
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpb14ql4gf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%c\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @completeWithSpace(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 0, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %4, %5
br i1 %6, label %.lr.ph, label %15
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %9
%8 = call i32 @printf(ptr noundef @.str, i8 noundef signext 32)
br label %9
9: ; preds = %7
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %3, align 4
%12 = load i32, ptr %3, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef, i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpbif6et4d.c'
source_filename = "/tmp/tmpbif6et4d.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"rshell: allocation error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rshell_parse_cmd(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1024, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 8
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %1
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %1
%22 = load ptr, ptr %2, align 8
%23 = call ptr @strtok_r(ptr noundef %22, ptr noundef @.str.1, ptr noundef %7)
store ptr %23, ptr %6, align 8
br label %24
24: ; preds = %55, %21
%25 = load ptr, ptr %6, align 8
%26 = icmp ne ptr %25, null
br i1 %26, label %27, label %57
27: ; preds = %24
%28 = load ptr, ptr %6, align 8
%29 = load ptr, ptr %5, align 8
%30 = load i32, ptr %4, align 4
%31 = add nsw i32 %30, 1
store i32 %31, ptr %4, align 4
%32 = sext i32 %30 to i64
%33 = getelementptr inbounds ptr, ptr %29, i64 %32
store ptr %28, ptr %33, align 8
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr %3, align 4
%36 = icmp sge i32 %34, %35
br i1 %36, label %37, label %55
37: ; preds = %27
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1024
store i32 %39, ptr %3, align 4
%40 = load ptr, ptr %5, align 8
%41 = load i32, ptr %3, align 4
%42 = sext i32 %41 to i64
%43 = mul i64 %42, 8
%44 = trunc i64 %43 to i32
%45 = call i64 @realloc(ptr noundef %40, i32 noundef %44)
%46 = inttoptr i64 %45 to ptr
store ptr %46, ptr %5, align 8
%47 = load ptr, ptr %5, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %54, label %49
49: ; preds = %37
%50 = load i32, ptr @stderr, align 4
%51 = call i32 @fprintf(i32 noundef %50, ptr noundef @.str)
%52 = load i32, ptr @EXIT_FAILURE, align 4
%53 = call i32 @exit(i32 noundef %52) #3
unreachable
54: ; preds = %37
br label %55
55: ; preds = %54, %27
%56 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.1, ptr noundef %7)
store ptr %56, ptr %6, align 8
br label %24, !llvm.loop !6
57: ; preds = %24
%58 = load ptr, ptr %5, align 8
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds ptr, ptr %58, i64 %60
store ptr null, ptr %61, align 8
%62 = load ptr, ptr %5, align 8
ret ptr %62
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpbif6et4d.c"
target datalayout = "e-m:e-p270: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 [26 x i8] c"rshell: allocation error\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @rshell_parse_cmd(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
store i32 1024, ptr %3, align 4
store i32 0, ptr %4, align 4
%8 = load i32, ptr %3, align 4
%9 = sext i32 %8 to i64
%10 = mul i64 %9, 8
%11 = trunc i64 %10 to i32
%12 = call i64 @malloc(i32 noundef %11)
%13 = inttoptr i64 %12 to ptr
store ptr %13, ptr %5, align 8
%14 = load ptr, ptr %5, align 8
%15 = icmp ne ptr %14, null
br i1 %15, label %21, label %16
16: ; preds = %1
%17 = load i32, ptr @stderr, align 4
%18 = call i32 @fprintf(i32 noundef %17, ptr noundef @.str)
%19 = load i32, ptr @EXIT_FAILURE, align 4
%20 = call i32 @exit(i32 noundef %19) #3
unreachable
21: ; preds = %1
%22 = load ptr, ptr %2, align 8
%23 = call ptr @strtok_r(ptr noundef %22, ptr noundef @.str.1, ptr noundef %7)
store ptr %23, ptr %6, align 8
%24 = load ptr, ptr %6, align 8
%25 = icmp ne ptr %24, null
br i1 %25, label %.lr.ph, label %58
.lr.ph: ; preds = %21
br label %26
26: ; preds = %.lr.ph, %54
%27 = load ptr, ptr %6, align 8
%28 = load ptr, ptr %5, align 8
%29 = load i32, ptr %4, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %4, align 4
%31 = sext i32 %29 to i64
%32 = getelementptr inbounds ptr, ptr %28, i64 %31
store ptr %27, ptr %32, align 8
%33 = load i32, ptr %4, align 4
%34 = load i32, ptr %3, align 4
%35 = icmp sge i32 %33, %34
br i1 %35, label %36, label %54
36: ; preds = %26
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1024
store i32 %38, ptr %3, align 4
%39 = load ptr, ptr %5, align 8
%40 = load i32, ptr %3, align 4
%41 = sext i32 %40 to i64
%42 = mul i64 %41, 8
%43 = trunc i64 %42 to i32
%44 = call i64 @realloc(ptr noundef %39, i32 noundef %43)
%45 = inttoptr i64 %44 to ptr
store ptr %45, ptr %5, align 8
%46 = load ptr, ptr %5, align 8
%47 = icmp ne ptr %46, null
br i1 %47, label %53, label %48
48: ; preds = %36
%49 = load i32, ptr @stderr, align 4
%50 = call i32 @fprintf(i32 noundef %49, ptr noundef @.str)
%51 = load i32, ptr @EXIT_FAILURE, align 4
%52 = call i32 @exit(i32 noundef %51) #3
unreachable
53: ; preds = %36
br label %54
54: ; preds = %53, %26
%55 = call ptr @strtok_r(ptr noundef null, ptr noundef @.str.1, ptr noundef %7)
store ptr %55, ptr %6, align 8
%56 = load ptr, ptr %6, align 8
%57 = icmp ne ptr %56, null
br i1 %57, label %26, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %54
br label %58
58: ; preds = %._crit_edge, %21
%59 = load ptr, ptr %5, align 8
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds ptr, ptr %59, i64 %61
store ptr null, ptr %62, align 8
%63 = load ptr, ptr %5, align 8
ret ptr %63
}
declare i64 @malloc(i32 noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare ptr @strtok_r(ptr noundef, ptr noundef, ptr noundef) #1
declare i64 @realloc(ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpjtderms4.c'
source_filename = "/tmp/tmpjtderms4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c" [%d-%d-%d %d:%d:%d] \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writeLogFileTimeStamp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef null)
store i32 %5, ptr %3, align 4
%6 = call ptr @localtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = srem i32 %10, 100
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 3
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.tm, ptr %21, i32 0, i32 4
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 5
%26 = load i32, ptr %25, align 4
%27 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %26)
%28 = load ptr, ptr %2, align 8
%29 = call i32 @strlen(ptr noundef %28)
ret i32 %29
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjtderms4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.tm = type { i32, i32, i32, i32, i32, i32 }
@.str = private unnamed_addr constant [22 x i8] c" [%d-%d-%d %d:%d:%d] \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @writeLogFileTimeStamp(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%5 = call i32 @time(ptr noundef null)
store i32 %5, ptr %3, align 4
%6 = call ptr @localtime(ptr noundef %3)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %2, align 8
%8 = load ptr, ptr %4, align 8
%9 = getelementptr inbounds %struct.tm, ptr %8, i32 0, i32 0
%10 = load i32, ptr %9, align 4
%11 = srem i32 %10, 100
%12 = load ptr, ptr %4, align 8
%13 = getelementptr inbounds %struct.tm, ptr %12, i32 0, i32 1
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds %struct.tm, ptr %15, i32 0, i32 2
%17 = load i32, ptr %16, align 4
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds %struct.tm, ptr %18, i32 0, i32 3
%20 = load i32, ptr %19, align 4
%21 = load ptr, ptr %4, align 8
%22 = getelementptr inbounds %struct.tm, ptr %21, i32 0, i32 4
%23 = load i32, ptr %22, align 4
%24 = load ptr, ptr %4, align 8
%25 = getelementptr inbounds %struct.tm, ptr %24, i32 0, i32 5
%26 = load i32, ptr %25, align 4
%27 = call i32 @sprintf(ptr noundef %7, ptr noundef @.str, i32 noundef %11, i32 noundef %14, i32 noundef %17, i32 noundef %20, i32 noundef %23, i32 noundef %26)
%28 = load ptr, ptr %2, align 8
%29 = call i32 @strlen(ptr noundef %28)
ret i32 %29
}
declare i32 @time(ptr noundef) #1
declare ptr @localtime(ptr noundef) #1
declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp1borvfnk.c'
source_filename = "/tmp/tmp1borvfnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jackknife(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call ptr @xmalloc(i32 noundef %23)
store ptr %24, ptr %13, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 8
%28 = trunc i64 %27 to i32
%29 = call ptr @xmalloc(i32 noundef %28)
store ptr %29, ptr %15, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call ptr @xmalloc(i32 noundef %33)
store ptr %34, ptr %17, align 8
%35 = load ptr, ptr %13, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 8
%40 = trunc i64 %39 to i32
%41 = call i32 @memcpy(ptr noundef %35, ptr noundef %36, i32 noundef %40)
store i32 0, ptr %18, align 4
br label %42
42: ; preds = %81, %6
%43 = load i32, ptr %18, align 4
%44 = load i32, ptr %7, align 4
%45 = icmp slt i32 %43, %44
br i1 %45, label %46, label %84
46: ; preds = %42
store i32 0, ptr %19, align 4
br label %47
47: ; preds = %65, %46
%48 = load i32, ptr %19, align 4
%49 = load i32, ptr %10, align 4
%50 = icmp slt i32 %48, %49
br i1 %50, label %51, label %68
51: ; preds = %47
%52 = load ptr, ptr %12, align 8
%53 = load i32, ptr %19, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds ptr, ptr %52, i64 %54
%56 = load ptr, ptr %55, align 8
%57 = load i32, ptr %7, align 4
%58 = sub nsw i32 %57, 1
%59 = load ptr, ptr %13, align 8
%60 = call double %56(i32 noundef %58, ptr noundef %59)
%61 = load ptr, ptr %15, align 8
%62 = load i32, ptr %19, align 4
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds double, ptr %61, i64 %63
store double %60, ptr %64, align 8
br label %65
65: ; preds = %51
%66 = load i32, ptr %19, align 4
%67 = add nsw i32 %66, 1
store i32 %67, ptr %19, align 4
br label %47, !llvm.loop !6
68: ; preds = %47
%69 = load ptr, ptr %11, align 8
%70 = load ptr, ptr %15, align 8
%71 = call double %69(ptr noundef %70)
%72 = load ptr, ptr %17, align 8
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, ptr %72, i64 %74
store double %71, ptr %75, align 8
%76 = load i32, ptr %18, align 4
%77 = load i32, ptr %7, align 4
%78 = sub nsw i32 %77, 1
%79 = load ptr, ptr %13, align 8
%80 = call i32 @swapvalues(i32 noundef %76, i32 noundef %78, ptr noundef %79)
br label %81
81: ; preds = %68
%82 = load i32, ptr %18, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %18, align 4
br label %42, !llvm.loop !8
84: ; preds = %42
store i32 0, ptr %19, align 4
br label %85
85: ; preds = %102, %84
%86 = load i32, ptr %19, align 4
%87 = load i32, ptr %10, align 4
%88 = icmp slt i32 %86, %87
br i1 %88, label %89, label %105
89: ; preds = %85
%90 = load ptr, ptr %12, align 8
%91 = load i32, ptr %19, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds ptr, ptr %90, i64 %92
%94 = load ptr, ptr %93, align 8
%95 = load i32, ptr %7, align 4
%96 = load ptr, ptr %13, align 8
%97 = call double %94(i32 noundef %95, ptr noundef %96)
%98 = load ptr, ptr %15, align 8
%99 = load i32, ptr %19, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, ptr %98, i64 %100
store double %97, ptr %101, align 8
br label %102
102: ; preds = %89
%103 = load i32, ptr %19, align 4
%104 = add nsw i32 %103, 1
store i32 %104, ptr %19, align 4
br label %85, !llvm.loop !9
105: ; preds = %85
%106 = load i32, ptr %7, align 4
%107 = load ptr, ptr %17, align 8
%108 = call double @moment1(i32 noundef %106, ptr noundef %107)
store double %108, ptr %16, align 8
%109 = load i32, ptr %7, align 4
%110 = sitofp i32 %109 to double
%111 = load ptr, ptr %11, align 8
%112 = load ptr, ptr %15, align 8
%113 = call double %111(ptr noundef %112)
%114 = load i32, ptr %7, align 4
%115 = sub nsw i32 %114, 1
%116 = sitofp i32 %115 to double
%117 = load double, ptr %16, align 8
%118 = fmul double %116, %117
%119 = fneg double %118
%120 = call double @llvm.fmuladd.f64(double %110, double %113, double %119)
store double %120, ptr %14, align 8
%121 = load ptr, ptr %9, align 8
%122 = icmp ne ptr %121, null
br i1 %122, label %123, label %137
123: ; preds = %105
%124 = load i32, ptr %7, align 4
%125 = sub nsw i32 %124, 1
%126 = sitofp i32 %125 to double
%127 = load i32, ptr %7, align 4
%128 = sitofp i32 %127 to double
%129 = fdiv double %126, %128
%130 = load ptr, ptr %17, align 8
%131 = load i32, ptr %7, align 4
%132 = load double, ptr %16, align 8
%133 = call double @tss_m(ptr noundef %130, i32 noundef 1, i32 noundef %131, double noundef %132)
%134 = fmul double %129, %133
%135 = call double @sqrt(double noundef %134) #4
%136 = load ptr, ptr %9, align 8
store double %135, ptr %136, align 8
br label %137
137: ; preds = %123, %105
%138 = load ptr, ptr %13, align 8
%139 = call i32 @free(ptr noundef %138)
%140 = load ptr, ptr %15, align 8
%141 = call i32 @free(ptr noundef %140)
%142 = load ptr, ptr %17, align 8
%143 = call i32 @free(ptr noundef %142)
%144 = load double, ptr %14, align 8
ret double %144
}
declare ptr @xmalloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @swapvalues(i32 noundef, i32 noundef, ptr noundef) #1
declare double @moment1(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare double @tss_m(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1borvfnk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @jackknife(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #0 {
%7 = alloca i32, align 4
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca double, align 8
%15 = alloca ptr, align 8
%16 = alloca double, align 8
%17 = alloca ptr, align 8
%18 = alloca i32, align 4
%19 = alloca i32, align 4
store i32 %0, ptr %7, align 4
store ptr %1, ptr %8, align 8
store ptr %2, ptr %9, align 8
store i32 %3, ptr %10, align 4
store ptr %4, ptr %11, align 8
store ptr %5, ptr %12, align 8
%20 = load i32, ptr %7, align 4
%21 = sext i32 %20 to i64
%22 = mul i64 %21, 8
%23 = trunc i64 %22 to i32
%24 = call ptr @xmalloc(i32 noundef %23)
store ptr %24, ptr %13, align 8
%25 = load i32, ptr %10, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 8
%28 = trunc i64 %27 to i32
%29 = call ptr @xmalloc(i32 noundef %28)
store ptr %29, ptr %15, align 8
%30 = load i32, ptr %7, align 4
%31 = sext i32 %30 to i64
%32 = mul i64 %31, 8
%33 = trunc i64 %32 to i32
%34 = call ptr @xmalloc(i32 noundef %33)
store ptr %34, ptr %17, align 8
%35 = load ptr, ptr %13, align 8
%36 = load ptr, ptr %8, align 8
%37 = load i32, ptr %7, align 4
%38 = sext i32 %37 to i64
%39 = mul i64 %38, 8
%40 = trunc i64 %39 to i32
%41 = call i32 @memcpy(ptr noundef %35, ptr noundef %36, i32 noundef %40)
store i32 0, ptr %18, align 4
%42 = load i32, ptr %18, align 4
%43 = load i32, ptr %7, align 4
%44 = icmp slt i32 %42, %43
br i1 %44, label %.lr.ph2, label %88
.lr.ph2: ; preds = %6
br label %45
45: ; preds = %.lr.ph2, %82
store i32 0, ptr %19, align 4
%46 = load i32, ptr %19, align 4
%47 = load i32, ptr %10, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %.lr.ph, label %69
.lr.ph: ; preds = %45
br label %49
49: ; preds = %.lr.ph, %63
%50 = load ptr, ptr %12, align 8
%51 = load i32, ptr %19, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds ptr, ptr %50, i64 %52
%54 = load ptr, ptr %53, align 8
%55 = load i32, ptr %7, align 4
%56 = sub nsw i32 %55, 1
%57 = load ptr, ptr %13, align 8
%58 = call double %54(i32 noundef %56, ptr noundef %57)
%59 = load ptr, ptr %15, align 8
%60 = load i32, ptr %19, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds double, ptr %59, i64 %61
store double %58, ptr %62, align 8
br label %63
63: ; preds = %49
%64 = load i32, ptr %19, align 4
%65 = add nsw i32 %64, 1
store i32 %65, ptr %19, align 4
%66 = load i32, ptr %19, align 4
%67 = load i32, ptr %10, align 4
%68 = icmp slt i32 %66, %67
br i1 %68, label %49, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %63
br label %69
69: ; preds = %._crit_edge, %45
%70 = load ptr, ptr %11, align 8
%71 = load ptr, ptr %15, align 8
%72 = call double %70(ptr noundef %71)
%73 = load ptr, ptr %17, align 8
%74 = load i32, ptr %18, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds double, ptr %73, i64 %75
store double %72, ptr %76, align 8
%77 = load i32, ptr %18, align 4
%78 = load i32, ptr %7, align 4
%79 = sub nsw i32 %78, 1
%80 = load ptr, ptr %13, align 8
%81 = call i32 @swapvalues(i32 noundef %77, i32 noundef %79, ptr noundef %80)
br label %82
82: ; preds = %69
%83 = load i32, ptr %18, align 4
%84 = add nsw i32 %83, 1
store i32 %84, ptr %18, align 4
%85 = load i32, ptr %18, align 4
%86 = load i32, ptr %7, align 4
%87 = icmp slt i32 %85, %86
br i1 %87, label %45, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %82
br label %88
88: ; preds = %._crit_edge3, %6
store i32 0, ptr %19, align 4
%89 = load i32, ptr %19, align 4
%90 = load i32, ptr %10, align 4
%91 = icmp slt i32 %89, %90
br i1 %91, label %.lr.ph5, label %111
.lr.ph5: ; preds = %88
br label %92
92: ; preds = %.lr.ph5, %105
%93 = load ptr, ptr %12, align 8
%94 = load i32, ptr %19, align 4
%95 = sext i32 %94 to i64
%96 = getelementptr inbounds ptr, ptr %93, i64 %95
%97 = load ptr, ptr %96, align 8
%98 = load i32, ptr %7, align 4
%99 = load ptr, ptr %13, align 8
%100 = call double %97(i32 noundef %98, ptr noundef %99)
%101 = load ptr, ptr %15, align 8
%102 = load i32, ptr %19, align 4
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, ptr %101, i64 %103
store double %100, ptr %104, align 8
br label %105
105: ; preds = %92
%106 = load i32, ptr %19, align 4
%107 = add nsw i32 %106, 1
store i32 %107, ptr %19, align 4
%108 = load i32, ptr %19, align 4
%109 = load i32, ptr %10, align 4
%110 = icmp slt i32 %108, %109
br i1 %110, label %92, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %105
br label %111
111: ; preds = %._crit_edge6, %88
%112 = load i32, ptr %7, align 4
%113 = load ptr, ptr %17, align 8
%114 = call double @moment1(i32 noundef %112, ptr noundef %113)
store double %114, ptr %16, align 8
%115 = load i32, ptr %7, align 4
%116 = sitofp i32 %115 to double
%117 = load ptr, ptr %11, align 8
%118 = load ptr, ptr %15, align 8
%119 = call double %117(ptr noundef %118)
%120 = load i32, ptr %7, align 4
%121 = sub nsw i32 %120, 1
%122 = sitofp i32 %121 to double
%123 = load double, ptr %16, align 8
%124 = fmul double %122, %123
%125 = fneg double %124
%126 = call double @llvm.fmuladd.f64(double %116, double %119, double %125)
store double %126, ptr %14, align 8
%127 = load ptr, ptr %9, align 8
%128 = icmp ne ptr %127, null
br i1 %128, label %129, label %143
129: ; preds = %111
%130 = load i32, ptr %7, align 4
%131 = sub nsw i32 %130, 1
%132 = sitofp i32 %131 to double
%133 = load i32, ptr %7, align 4
%134 = sitofp i32 %133 to double
%135 = fdiv double %132, %134
%136 = load ptr, ptr %17, align 8
%137 = load i32, ptr %7, align 4
%138 = load double, ptr %16, align 8
%139 = call double @tss_m(ptr noundef %136, i32 noundef 1, i32 noundef %137, double noundef %138)
%140 = fmul double %135, %139
%141 = call double @sqrt(double noundef %140) #4
%142 = load ptr, ptr %9, align 8
store double %141, ptr %142, align 8
br label %143
143: ; preds = %129, %111
%144 = load ptr, ptr %13, align 8
%145 = call i32 @free(ptr noundef %144)
%146 = load ptr, ptr %15, align 8
%147 = call i32 @free(ptr noundef %146)
%148 = load ptr, ptr %17, align 8
%149 = call i32 @free(ptr noundef %148)
%150 = load double, ptr %14, align 8
ret double %150
}
declare ptr @xmalloc(i32 noundef) #1
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @swapvalues(i32 noundef, i32 noundef, ptr noundef) #1
declare double @moment1(i32 noundef, ptr noundef) #1
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2
; Function Attrs: nounwind
declare double @sqrt(double noundef) #3
declare double @tss_m(ptr noundef, i32 noundef, i32 noundef, double noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpkyllxhrm.c'
source_filename = "/tmp/tmpkyllxhrm.c"
target datalayout = "e-m:e-p270: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/tmpkyllxhrm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_51i2zss.c'
source_filename = "/tmp/tmp_51i2zss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"f = %f\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
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load float, ptr %2, align 4
%6 = fcmp oge float %5, -1.000000e+00
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load float, ptr %2, align 4
%9 = fcmp ole float %8, 1.000000e+00
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load float, ptr %2, align 4
%12 = call float @acos(float noundef %11)
store float %12, ptr %3, align 4
br label %13
13: ; preds = %10, %7, %0
%14 = load float, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str.1, float noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @acos(float 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/tmp_51i2zss.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%f\00", align 1
@.str.1 = private unnamed_addr constant [8 x i8] c"f = %f\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
store i32 0, ptr %1, align 4
%4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%5 = load float, ptr %2, align 4
%6 = fcmp oge float %5, -1.000000e+00
br i1 %6, label %7, label %13
7: ; preds = %0
%8 = load float, ptr %2, align 4
%9 = fcmp ole float %8, 1.000000e+00
br i1 %9, label %10, label %13
10: ; preds = %7
%11 = load float, ptr %2, align 4
%12 = call float @acos(float noundef %11)
store float %12, ptr %3, align 4
br label %13
13: ; preds = %10, %7, %0
%14 = load float, ptr %3, align 4
%15 = call i32 @printf(ptr noundef @.str.1, float noundef %14)
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare float @acos(float 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/tmpg1emtn4q.c'
source_filename = "/tmp/tmpg1emtn4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, 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/tmpg1emtn4q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@M_PI = dso_local global double 0.000000e+00, 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/tmpbkzap8oe.c'
source_filename = "/tmp/tmpbkzap8oe.c"
target datalayout = "e-m:e-p270: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/tmpbkzap8oe.c"
target datalayout = "e-m:e-p270: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/tmpuhj36z9q.c'
source_filename = "/tmp/tmpuhj36z9q.c"
target datalayout = "e-m:e-p270: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/tmpuhj36z9q.c"
target datalayout = "e-m:e-p270: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/tmpcssdu5_8.c'
source_filename = "/tmp/tmpcssdu5_8.c"
target datalayout = "e-m:e-p270: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/tmpcssdu5_8.c"
target datalayout = "e-m:e-p270: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/tmp1u_ij4u4.c'
source_filename = "/tmp/tmp1u_ij4u4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Couldn't open '%s' for reading\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"Couldn't allocate space for input files\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file_list(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load ptr, ptr %4, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %19, label %15
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %4, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %17)
store i32 -1, ptr %3, align 4
br label %86
19: ; preds = %2
br label %20
20: ; preds = %25, %19
%21 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%22 = load ptr, ptr %6, align 8
%23 = call i64 @fgets(ptr noundef %21, i32 noundef 256, ptr noundef %22)
%24 = icmp ne i64 %23, 0
br i1 %24, label %25, label %28
25: ; preds = %20
%26 = load i32, ptr %8, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %8, align 4
br label %20, !llvm.loop !6
28: ; preds = %20
%29 = load i32, ptr %8, align 4
%30 = sext i32 %29 to i64
%31 = mul i64 8, %30
%32 = trunc i64 %31 to i32
%33 = call ptr @malloc(i32 noundef %32)
%34 = load ptr, ptr %5, align 8
store ptr %33, ptr %34, align 8
%35 = load ptr, ptr %5, align 8
%36 = load ptr, ptr %35, align 8
%37 = icmp ne ptr %36, null
br i1 %37, label %41, label %38
38: ; preds = %28
%39 = load i32, ptr @stderr, align 4
%40 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %39, ptr noundef @.str.2)
store i32 -1, ptr %9, align 4
br label %75
41: ; preds = %28
%42 = load ptr, ptr %6, align 8
%43 = load i32, ptr @SEEK_SET, align 4
%44 = call i32 @fseek(ptr noundef %42, i32 noundef 0, i32 noundef %43)
store i32 0, ptr %8, align 4
br label %45
45: ; preds = %50, %41
%46 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%47 = load ptr, ptr %6, align 8
%48 = call i64 @fgets(ptr noundef %46, i32 noundef 256, ptr noundef %47)
%49 = icmp ne i64 %48, 0
br i1 %49, label %50, label %74
50: ; preds = %45
%51 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%52 = call i32 @strlen(ptr noundef %51)
%53 = call ptr @malloc(i32 noundef %52)
store ptr %53, ptr %10, align 8
%54 = load ptr, ptr %10, align 8
%55 = load ptr, ptr %5, align 8
%56 = load ptr, ptr %55, align 8
%57 = load i32, ptr %8, align 4
%58 = sext i32 %57 to i64
%59 = getelementptr inbounds ptr, ptr %56, i64 %58
store ptr %54, ptr %59, align 8
%60 = load ptr, ptr %10, align 8
%61 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%62 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%63 = call i32 @strlen(ptr noundef %62)
%64 = sub nsw i32 %63, 1
%65 = call i32 @strncpy(ptr noundef %60, ptr noundef %61, i32 noundef %64)
%66 = load ptr, ptr %10, align 8
%67 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%68 = call i32 @strlen(ptr noundef %67)
%69 = sub nsw i32 %68, 1
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %66, i64 %70
store i8 0, ptr %71, align 1
%72 = load i32, ptr %8, align 4
%73 = add nsw i32 %72, 1
store i32 %73, ptr %8, align 4
br label %45, !llvm.loop !8
74: ; preds = %45
br label %75
75: ; preds = %74, %38
%76 = load ptr, ptr %6, align 8
%77 = call i32 @fclose(ptr noundef %76)
%78 = load i32, ptr %9, align 4
%79 = icmp slt i32 %78, 0
br i1 %79, label %80, label %82
80: ; preds = %75
%81 = load i32, ptr %9, align 4
br label %84
82: ; preds = %75
%83 = load i32, ptr %8, align 4
br label %84
84: ; preds = %82, %80
%85 = phi i32 [ %81, %80 ], [ %83, %82 ]
store i32 %85, ptr %3, align 4
br label %86
86: ; preds = %84, %15
%87 = load i32, ptr %3, align 4
ret i32 %87
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1u_ij4u4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"r\00", align 1
@stderr = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [32 x i8] c"Couldn't open '%s' for reading\0A\00", align 1
@.str.2 = private unnamed_addr constant [41 x i8] c"Couldn't allocate space for input files\0A\00", align 1
@SEEK_SET = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @read_file_list(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca [256 x i8], align 16
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 0, ptr %8, align 4
store i32 0, ptr %9, align 4
%11 = load ptr, ptr %4, align 8
%12 = call ptr @fopen(ptr noundef %11, ptr noundef @.str)
store ptr %12, ptr %6, align 8
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
br i1 %14, label %19, label %15
15: ; preds = %2
%16 = load i32, ptr @stderr, align 4
%17 = load ptr, ptr %4, align 8
%18 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef @.str.1, ptr noundef %17)
store i32 -1, ptr %3, align 4
br label %90
19: ; preds = %2
%20 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%21 = load ptr, ptr %6, align 8
%22 = call i64 @fgets(ptr noundef %20, i32 noundef 256, ptr noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %.lr.ph, label %30
.lr.ph: ; preds = %19
br label %24
24: ; preds = %.lr.ph, %24
%25 = load i32, ptr %8, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %8, align 4
%27 = load ptr, ptr %6, align 8
%28 = call i64 @fgets(ptr noundef %20, i32 noundef 256, ptr noundef %27)
%29 = icmp ne i64 %28, 0
br i1 %29, label %24, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %19
%31 = load i32, ptr %8, align 4
%32 = sext i32 %31 to i64
%33 = mul i64 8, %32
%34 = trunc i64 %33 to i32
%35 = call ptr @malloc(i32 noundef %34)
%36 = load ptr, ptr %5, align 8
store ptr %35, ptr %36, align 8
%37 = load ptr, ptr %5, align 8
%38 = load ptr, ptr %37, align 8
%39 = icmp ne ptr %38, null
br i1 %39, label %43, label %40
40: ; preds = %30
%41 = load i32, ptr @stderr, align 4
%42 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %41, ptr noundef @.str.2)
store i32 -1, ptr %9, align 4
br label %79
43: ; preds = %30
%44 = load ptr, ptr %6, align 8
%45 = load i32, ptr @SEEK_SET, align 4
%46 = call i32 @fseek(ptr noundef %44, i32 noundef 0, i32 noundef %45)
store i32 0, ptr %8, align 4
%47 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%48 = load ptr, ptr %6, align 8
%49 = call i64 @fgets(ptr noundef %47, i32 noundef 256, ptr noundef %48)
%50 = icmp ne i64 %49, 0
br i1 %50, label %.lr.ph2, label %78
.lr.ph2: ; preds = %43
br label %51
51: ; preds = %.lr.ph2, %51
%52 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%53 = call i32 @strlen(ptr noundef %52)
%54 = call ptr @malloc(i32 noundef %53)
store ptr %54, ptr %10, align 8
%55 = load ptr, ptr %10, align 8
%56 = load ptr, ptr %5, align 8
%57 = load ptr, ptr %56, align 8
%58 = load i32, ptr %8, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds ptr, ptr %57, i64 %59
store ptr %55, ptr %60, align 8
%61 = load ptr, ptr %10, align 8
%62 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%63 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%64 = call i32 @strlen(ptr noundef %63)
%65 = sub nsw i32 %64, 1
%66 = call i32 @strncpy(ptr noundef %61, ptr noundef %62, i32 noundef %65)
%67 = load ptr, ptr %10, align 8
%68 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0
%69 = call i32 @strlen(ptr noundef %68)
%70 = sub nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds i8, ptr %67, i64 %71
store i8 0, ptr %72, align 1
%73 = load i32, ptr %8, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %8, align 4
%75 = load ptr, ptr %6, align 8
%76 = call i64 @fgets(ptr noundef %47, i32 noundef 256, ptr noundef %75)
%77 = icmp ne i64 %76, 0
br i1 %77, label %51, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %51
br label %78
78: ; preds = %._crit_edge3, %43
br label %79
79: ; preds = %78, %40
%80 = load ptr, ptr %6, align 8
%81 = call i32 @fclose(ptr noundef %80)
%82 = load i32, ptr %9, align 4
%83 = icmp slt i32 %82, 0
br i1 %83, label %84, label %86
84: ; preds = %79
%85 = load i32, ptr %9, align 4
br label %88
86: ; preds = %79
%87 = load i32, ptr %8, align 4
br label %88
88: ; preds = %86, %84
%89 = phi i32 [ %85, %84 ], [ %87, %86 ]
store i32 %89, ptr %3, align 4
br label %90
90: ; preds = %88, %15
%91 = load i32, ptr %3, align 4
ret i32 %91
}
declare ptr @fopen(ptr noundef, ptr noundef) #1
declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1
declare i64 @fgets(ptr noundef, i32 noundef, ptr noundef) #1
declare ptr @malloc(i32 noundef) #1
declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1
declare i32 @fclose(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp7qvqzece.c'
source_filename = "/tmp/tmp7qvqzece.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [63 x i8] c"=============================================================\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"rtpis [serial-port-name] [serial-port-name server-name] \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
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/tmp7qvqzece.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdout = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [63 x i8] c"=============================================================\0A\00", align 1
@.str.1 = private unnamed_addr constant [59 x i8] c"rtpis [serial-port-name] [serial-port-name server-name] \0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @Usage() #0 {
%1 = load i32, ptr @stdout, align 4
%2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str)
%3 = load i32, ptr @stdout, align 4
%4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1)
%5 = load i32, ptr @stdout, align 4
%6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str)
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/tmpxejj4l8z.c'
source_filename = "/tmp/tmpxejj4l8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srgb2linear(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %2, align 4
store float 0x3FA4B5DCC0000000, ptr %3, align 4
store float 0x3FAC28F5C0000000, ptr %4, align 4
store float 0x4029D70A40000000, ptr %5, align 4
store float 0x4003333340000000, ptr %6, align 4
%7 = load float, ptr %2, align 4
%8 = load float, ptr %3, align 4
%9 = fcmp ole float %7, %8
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load float, ptr %2, align 4
%12 = load float, ptr %5, align 4
%13 = fdiv float %11, %12
br label %23
14: ; preds = %1
%15 = load float, ptr %2, align 4
%16 = load float, ptr %4, align 4
%17 = fadd float %15, %16
%18 = load float, ptr %4, align 4
%19 = fadd float 1.000000e+00, %18
%20 = fdiv float %17, %19
%21 = load float, ptr %6, align 4
%22 = call float @powf(float noundef %20, float noundef %21) #2
br label %23
23: ; preds = %14, %10
%24 = phi float [ %13, %10 ], [ %22, %14 ]
ret float %24
}
; Function Attrs: nounwind
declare float @powf(float 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpxejj4l8z.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @srgb2linear(float noundef %0) #0 {
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca float, align 4
%5 = alloca float, align 4
%6 = alloca float, align 4
store float %0, ptr %2, align 4
store float 0x3FA4B5DCC0000000, ptr %3, align 4
store float 0x3FAC28F5C0000000, ptr %4, align 4
store float 0x4029D70A40000000, ptr %5, align 4
store float 0x4003333340000000, ptr %6, align 4
%7 = load float, ptr %2, align 4
%8 = load float, ptr %3, align 4
%9 = fcmp ole float %7, %8
br i1 %9, label %10, label %14
10: ; preds = %1
%11 = load float, ptr %2, align 4
%12 = load float, ptr %5, align 4
%13 = fdiv float %11, %12
br label %23
14: ; preds = %1
%15 = load float, ptr %2, align 4
%16 = load float, ptr %4, align 4
%17 = fadd float %15, %16
%18 = load float, ptr %4, align 4
%19 = fadd float 1.000000e+00, %18
%20 = fdiv float %17, %19
%21 = load float, ptr %6, align 4
%22 = call float @powf(float noundef %20, float noundef %21) #2
br label %23
23: ; preds = %14, %10
%24 = phi float [ %13, %10 ], [ %22, %14 ]
ret float %24
}
; Function Attrs: nounwind
declare float @powf(float 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 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp8zsft360.c'
source_filename = "/tmp/tmp8zsft360.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Enter cards:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [14 x i8], align 1
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
store i32 0, ptr %4, align 4
br label %11
11: ; preds = %73, %0
%12 = load i32, ptr %4, align 4
%13 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%14 = call i32 @strlen(ptr noundef %13)
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %76
16: ; preds = %11
store i32 0, ptr %5, align 4
%17 = load i32, ptr %4, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %18
%20 = load i8, ptr %19, align 1
%21 = sext i8 %20 to i32
%22 = icmp sge i32 %21, 50
br i1 %22, label %23, label %31
23: ; preds = %16
%24 = load i32, ptr %4, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp sle i32 %28, 57
br i1 %29, label %30, label %31
30: ; preds = %23
store i32 1, ptr %5, align 4
br label %68
31: ; preds = %23, %16
%32 = load i32, ptr %4, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %33
%35 = load i8, ptr %34, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 65
br i1 %37, label %66, label %38
38: ; preds = %31
%39 = load i32, ptr %4, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 75
br i1 %44, label %66, label %45
45: ; preds = %38
%46 = load i32, ptr %4, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %47
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 81
br i1 %51, label %66, label %52
52: ; preds = %45
%53 = load i32, ptr %4, align 4
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %54
%56 = load i8, ptr %55, align 1
%57 = sext i8 %56 to i32
%58 = icmp eq i32 %57, 74
br i1 %58, label %66, label %59
59: ; preds = %52
%60 = load i32, ptr %4, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %61
%63 = load i8, ptr %62, align 1
%64 = sext i8 %63 to i32
%65 = icmp eq i32 %64, 84
br i1 %65, label %66, label %67
66: ; preds = %59, %52, %45, %38, %31
store i32 1, ptr %5, align 4
br label %67
67: ; preds = %66, %59
br label %68
68: ; preds = %67, %30
%69 = load i32, ptr %5, align 4
%70 = icmp eq i32 %69, 0
br i1 %70, label %71, label %72
71: ; preds = %68
store i32 0, ptr %1, align 4
br label %133
72: ; preds = %68
br label %73
73: ; preds = %72
%74 = load i32, ptr %4, align 4
%75 = add nsw i32 %74, 1
store i32 %75, ptr %4, align 4
br label %11, !llvm.loop !6
76: ; preds = %11
store i32 0, ptr %2, align 4
br label %77
77: ; preds = %127, %76
%78 = load i32, ptr %2, align 4
%79 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%80 = call i32 @strlen(ptr noundef %79)
%81 = icmp slt i32 %78, %80
br i1 %81, label %82, label %130
82: ; preds = %77
store i32 0, ptr %3, align 4
br label %83
83: ; preds = %123, %82
%84 = load i32, ptr %3, align 4
%85 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%86 = call i32 @strlen(ptr noundef %85)
%87 = sub nsw i32 %86, 1
%88 = icmp slt i32 %84, %87
br i1 %88, label %89, label %126
89: ; preds = %83
%90 = load i32, ptr %3, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = call i64 @Findvalue(i8 noundef signext %93)
%95 = load i32, ptr %3, align 4
%96 = add nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %97
%99 = load i8, ptr %98, align 1
%100 = call i64 @Findvalue(i8 noundef signext %99)
%101 = icmp sgt i64 %94, %100
br i1 %101, label %102, label %122
102: ; preds = %89
%103 = load i32, ptr %3, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
store i32 %108, ptr %7, align 4
%109 = load i32, ptr %3, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %110
%112 = load i8, ptr %111, align 1
%113 = load i32, ptr %3, align 4
%114 = add nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %115
store i8 %112, ptr %116, align 1
%117 = load i32, ptr %7, align 4
%118 = trunc i32 %117 to i8
%119 = load i32, ptr %3, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %120
store i8 %118, ptr %121, align 1
br label %122
122: ; preds = %102, %89
br label %123
123: ; preds = %122
%124 = load i32, ptr %3, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %3, align 4
br label %83, !llvm.loop !8
126: ; preds = %83
br label %127
127: ; preds = %126
%128 = load i32, ptr %2, align 4
%129 = add nsw i32 %128, 1
store i32 %129, ptr %2, align 4
br label %77, !llvm.loop !9
130: ; preds = %77
%131 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%132 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %131)
store i32 0, ptr %1, align 4
br label %133
133: ; preds = %130, %71
%134 = load i32, ptr %1, align 4
ret i32 %134
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @Findvalue(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp8zsft360.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [13 x i8] c"Enter cards:\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"\0A%s\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca [14 x i8], align 1
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%9 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
store i32 0, ptr %4, align 4
%11 = load i32, ptr %4, align 4
%12 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%13 = call i32 @strlen(ptr noundef %12)
%14 = icmp slt i32 %11, %13
br i1 %14, label %.lr.ph, label %78
.lr.ph: ; preds = %0
br label %15
15: ; preds = %.lr.ph, %72
store i32 0, ptr %5, align 4
%16 = load i32, ptr %4, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %17
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp sge i32 %20, 50
br i1 %21, label %22, label %30
22: ; preds = %15
%23 = load i32, ptr %4, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %24
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp sle i32 %27, 57
br i1 %28, label %29, label %30
29: ; preds = %22
store i32 1, ptr %5, align 4
br label %67
30: ; preds = %22, %15
%31 = load i32, ptr %4, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 65
br i1 %36, label %65, label %37
37: ; preds = %30
%38 = load i32, ptr %4, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %39
%41 = load i8, ptr %40, align 1
%42 = sext i8 %41 to i32
%43 = icmp eq i32 %42, 75
br i1 %43, label %65, label %44
44: ; preds = %37
%45 = load i32, ptr %4, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %46
%48 = load i8, ptr %47, align 1
%49 = sext i8 %48 to i32
%50 = icmp eq i32 %49, 81
br i1 %50, label %65, label %51
51: ; preds = %44
%52 = load i32, ptr %4, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %53
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 74
br i1 %57, label %65, label %58
58: ; preds = %51
%59 = load i32, ptr %4, align 4
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %60
%62 = load i8, ptr %61, align 1
%63 = sext i8 %62 to i32
%64 = icmp eq i32 %63, 84
br i1 %64, label %65, label %66
65: ; preds = %58, %51, %44, %37, %30
store i32 1, ptr %5, align 4
br label %66
66: ; preds = %65, %58
br label %67
67: ; preds = %66, %29
%68 = load i32, ptr %5, align 4
%69 = icmp eq i32 %68, 0
br i1 %69, label %70, label %71
70: ; preds = %67
store i32 0, ptr %1, align 4
br label %140
71: ; preds = %67
br label %72
72: ; preds = %71
%73 = load i32, ptr %4, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %4, align 4
%75 = load i32, ptr %4, align 4
%76 = call i32 @strlen(ptr noundef %12)
%77 = icmp slt i32 %75, %76
br i1 %77, label %15, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %72
br label %78
78: ; preds = %._crit_edge, %0
store i32 0, ptr %2, align 4
%79 = load i32, ptr %2, align 4
%80 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%81 = call i32 @strlen(ptr noundef %80)
%82 = icmp slt i32 %79, %81
br i1 %82, label %.lr.ph5, label %137
.lr.ph5: ; preds = %78
br label %83
83: ; preds = %.lr.ph5, %131
store i32 0, ptr %3, align 4
%84 = load i32, ptr %3, align 4
%85 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%86 = call i32 @strlen(ptr noundef %85)
%87 = sub nsw i32 %86, 1
%88 = icmp slt i32 %84, %87
br i1 %88, label %.lr.ph2, label %130
.lr.ph2: ; preds = %83
br label %89
89: ; preds = %.lr.ph2, %123
%90 = load i32, ptr %3, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %91
%93 = load i8, ptr %92, align 1
%94 = call i64 @Findvalue(i8 noundef signext %93)
%95 = load i32, ptr %3, align 4
%96 = add nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %97
%99 = load i8, ptr %98, align 1
%100 = call i64 @Findvalue(i8 noundef signext %99)
%101 = icmp sgt i64 %94, %100
br i1 %101, label %102, label %122
102: ; preds = %89
%103 = load i32, ptr %3, align 4
%104 = add nsw i32 %103, 1
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %105
%107 = load i8, ptr %106, align 1
%108 = sext i8 %107 to i32
store i32 %108, ptr %7, align 4
%109 = load i32, ptr %3, align 4
%110 = sext i32 %109 to i64
%111 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %110
%112 = load i8, ptr %111, align 1
%113 = load i32, ptr %3, align 4
%114 = add nsw i32 %113, 1
%115 = sext i32 %114 to i64
%116 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %115
store i8 %112, ptr %116, align 1
%117 = load i32, ptr %7, align 4
%118 = trunc i32 %117 to i8
%119 = load i32, ptr %3, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 %120
store i8 %118, ptr %121, align 1
br label %122
122: ; preds = %102, %89
br label %123
123: ; preds = %122
%124 = load i32, ptr %3, align 4
%125 = add nsw i32 %124, 1
store i32 %125, ptr %3, align 4
%126 = load i32, ptr %3, align 4
%127 = call i32 @strlen(ptr noundef %85)
%128 = sub nsw i32 %127, 1
%129 = icmp slt i32 %126, %128
br i1 %129, label %89, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %123
br label %130
130: ; preds = %._crit_edge3, %83
br label %131
131: ; preds = %130
%132 = load i32, ptr %2, align 4
%133 = add nsw i32 %132, 1
store i32 %133, ptr %2, align 4
%134 = load i32, ptr %2, align 4
%135 = call i32 @strlen(ptr noundef %80)
%136 = icmp slt i32 %134, %135
br i1 %136, label %83, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %131
br label %137
137: ; preds = %._crit_edge6, %78
%138 = getelementptr inbounds [14 x i8], ptr %6, i64 0, i64 0
%139 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %138)
store i32 0, ptr %1, align 4
br label %140
140: ; preds = %137, %70
%141 = load i32, ptr %1, align 4
ret i32 %141
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @Findvalue(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpyx9ckk96.c'
source_filename = "/tmp/tmpyx9ckk96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort_r(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %26
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @quick_sort_partion(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
%20 = call i32 @quick_sort_r(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
%25 = call i32 @quick_sort_r(ptr noundef %21, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %11, %3
ret i32 0
}
declare i32 @quick_sort_partion(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpyx9ckk96.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @quick_sort_r(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
%8 = load i32, ptr %5, align 4
%9 = load i32, ptr %6, align 4
%10 = icmp slt i32 %8, %9
br i1 %10, label %11, label %26
11: ; preds = %3
%12 = load ptr, ptr %4, align 8
%13 = load i32, ptr %5, align 4
%14 = load i32, ptr %6, align 4
%15 = call i32 @quick_sort_partion(ptr noundef %12, i32 noundef %13, i32 noundef %14)
store i32 %15, ptr %7, align 4
%16 = load ptr, ptr %4, align 8
%17 = load i32, ptr %5, align 4
%18 = load i32, ptr %7, align 4
%19 = sub nsw i32 %18, 1
%20 = call i32 @quick_sort_r(ptr noundef %16, i32 noundef %17, i32 noundef %19)
%21 = load ptr, ptr %4, align 8
%22 = load i32, ptr %7, align 4
%23 = add nsw i32 %22, 1
%24 = load i32, ptr %6, align 4
%25 = call i32 @quick_sort_r(ptr noundef %21, i32 noundef %23, i32 noundef %24)
br label %26
26: ; preds = %11, %3
ret i32 0
}
declare i32 @quick_sort_partion(ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp77w40ovy.c'
source_filename = "/tmp/tmp77w40ovy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Testing Tweedle... %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"PASSED\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"FAILED!!\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Testing Twotter... %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"Testing Transform... %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Testing ld_sha1... %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"Testing ValueString... %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"Testing StringShifter... %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c"Testing string_combine... %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [41 x i8] c"Testing number_compare_deprecated... %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"Testing AddToHeap... %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [28 x i8] c"Testing ProcessReloc... %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"Testing ProcessImport... %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [30 x i8] c"Testing ArrangeRecords... %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [27 x i8] c"Testing ldheap_sort... %s\0A\00", align 1
@.str.15 = private unnamed_addr constant [27 x i8] c"Testing ld_sha1_pad... %s\0A\00", align 1
@.str.16 = private unnamed_addr constant [21 x i8] c"Testing Hash1... %s\0A\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c"Testing hash_file... %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_all_lockdown() #0 {
%1 = call i32 @srand(i32 noundef 31415926)
%2 = call i32 (...) @real_sha1_initialize()
%3 = call i64 (...) @test_tweedle()
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i64
%6 = select i1 %4, ptr @.str.1, ptr @.str.2
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = call i64 (...) @test_twitter()
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.1, ptr @.str.2
%12 = call i32 @printf(ptr noundef @.str.3, ptr noundef %11)
%13 = call i64 (...) @test_transform()
%14 = icmp ne i64 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, ptr @.str.1, ptr @.str.2
%17 = call i32 @printf(ptr noundef @.str.4, ptr noundef %16)
%18 = call i64 (...) @test_sha1()
%19 = icmp ne i64 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, ptr @.str.1, ptr @.str.2
%22 = call i32 @printf(ptr noundef @.str.5, ptr noundef %21)
%23 = call i64 (...) @test_valuestring()
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str.1, ptr @.str.2
%27 = call i32 @printf(ptr noundef @.str.6, ptr noundef %26)
%28 = call i64 (...) @test_stringshifter()
%29 = icmp ne i64 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, ptr @.str.1, ptr @.str.2
%32 = call i32 @printf(ptr noundef @.str.7, ptr noundef %31)
%33 = call i64 (...) @test_string_combine()
%34 = icmp ne i64 %33, 0
%35 = zext i1 %34 to i64
%36 = select i1 %34, ptr @.str.1, ptr @.str.2
%37 = call i32 @printf(ptr noundef @.str.8, ptr noundef %36)
%38 = call i64 (...) @test_number_compare_deprecated()
%39 = icmp ne i64 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.1, ptr @.str.2
%42 = call i32 @printf(ptr noundef @.str.9, ptr noundef %41)
%43 = call i64 (...) @test_addtoheap()
%44 = icmp ne i64 %43, 0
%45 = zext i1 %44 to i64
%46 = select i1 %44, ptr @.str.1, ptr @.str.2
%47 = call i32 @printf(ptr noundef @.str.10, ptr noundef %46)
%48 = call i64 (...) @test_processreloc()
%49 = icmp ne i64 %48, 0
%50 = zext i1 %49 to i64
%51 = select i1 %49, ptr @.str.1, ptr @.str.2
%52 = call i32 @printf(ptr noundef @.str.11, ptr noundef %51)
%53 = call i64 (...) @test_processimport()
%54 = icmp ne i64 %53, 0
%55 = zext i1 %54 to i64
%56 = select i1 %54, ptr @.str.1, ptr @.str.2
%57 = call i32 @printf(ptr noundef @.str.12, ptr noundef %56)
%58 = call i64 (...) @test_arrangerecords()
%59 = icmp ne i64 %58, 0
%60 = zext i1 %59 to i64
%61 = select i1 %59, ptr @.str.1, ptr @.str.2
%62 = call i32 @printf(ptr noundef @.str.13, ptr noundef %61)
%63 = call i64 (...) @test_ldheap_sort()
%64 = icmp ne i64 %63, 0
%65 = zext i1 %64 to i64
%66 = select i1 %64, ptr @.str.1, ptr @.str.2
%67 = call i32 @printf(ptr noundef @.str.14, ptr noundef %66)
%68 = call i64 (...) @test_ld_sha1_pad()
%69 = icmp ne i64 %68, 0
%70 = zext i1 %69 to i64
%71 = select i1 %69, ptr @.str.1, ptr @.str.2
%72 = call i32 @printf(ptr noundef @.str.15, ptr noundef %71)
%73 = call i64 (...) @test_hash1()
%74 = icmp ne i64 %73, 0
%75 = zext i1 %74 to i64
%76 = select i1 %74, ptr @.str.1, ptr @.str.2
%77 = call i32 @printf(ptr noundef @.str.16, ptr noundef %76)
%78 = call i64 (...) @test_hash_file()
%79 = icmp ne i64 %78, 0
%80 = zext i1 %79 to i64
%81 = select i1 %79, ptr @.str.1, ptr @.str.2
%82 = call i32 @printf(ptr noundef @.str.17, ptr noundef %81)
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @real_sha1_initialize(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @test_tweedle(...) #1
declare i64 @test_twitter(...) #1
declare i64 @test_transform(...) #1
declare i64 @test_sha1(...) #1
declare i64 @test_valuestring(...) #1
declare i64 @test_stringshifter(...) #1
declare i64 @test_string_combine(...) #1
declare i64 @test_number_compare_deprecated(...) #1
declare i64 @test_addtoheap(...) #1
declare i64 @test_processreloc(...) #1
declare i64 @test_processimport(...) #1
declare i64 @test_arrangerecords(...) #1
declare i64 @test_ldheap_sort(...) #1
declare i64 @test_ld_sha1_pad(...) #1
declare i64 @test_hash1(...) #1
declare i64 @test_hash_file(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp77w40ovy.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Testing Tweedle... %s\0A\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"PASSED\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"FAILED!!\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Testing Twotter... %s\0A\00", align 1
@.str.4 = private unnamed_addr constant [25 x i8] c"Testing Transform... %s\0A\00", align 1
@.str.5 = private unnamed_addr constant [23 x i8] c"Testing ld_sha1... %s\0A\00", align 1
@.str.6 = private unnamed_addr constant [27 x i8] c"Testing ValueString... %s\0A\00", align 1
@.str.7 = private unnamed_addr constant [29 x i8] c"Testing StringShifter... %s\0A\00", align 1
@.str.8 = private unnamed_addr constant [30 x i8] c"Testing string_combine... %s\0A\00", align 1
@.str.9 = private unnamed_addr constant [41 x i8] c"Testing number_compare_deprecated... %s\0A\00", align 1
@.str.10 = private unnamed_addr constant [25 x i8] c"Testing AddToHeap... %s\0A\00", align 1
@.str.11 = private unnamed_addr constant [28 x i8] c"Testing ProcessReloc... %s\0A\00", align 1
@.str.12 = private unnamed_addr constant [29 x i8] c"Testing ProcessImport... %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [30 x i8] c"Testing ArrangeRecords... %s\0A\00", align 1
@.str.14 = private unnamed_addr constant [27 x i8] c"Testing ldheap_sort... %s\0A\00", align 1
@.str.15 = private unnamed_addr constant [27 x i8] c"Testing ld_sha1_pad... %s\0A\00", align 1
@.str.16 = private unnamed_addr constant [21 x i8] c"Testing Hash1... %s\0A\00", align 1
@.str.17 = private unnamed_addr constant [25 x i8] c"Testing hash_file... %s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @test_all_lockdown() #0 {
%1 = call i32 @srand(i32 noundef 31415926)
%2 = call i32 (...) @real_sha1_initialize()
%3 = call i64 (...) @test_tweedle()
%4 = icmp ne i64 %3, 0
%5 = zext i1 %4 to i64
%6 = select i1 %4, ptr @.str.1, ptr @.str.2
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = call i64 (...) @test_twitter()
%9 = icmp ne i64 %8, 0
%10 = zext i1 %9 to i64
%11 = select i1 %9, ptr @.str.1, ptr @.str.2
%12 = call i32 @printf(ptr noundef @.str.3, ptr noundef %11)
%13 = call i64 (...) @test_transform()
%14 = icmp ne i64 %13, 0
%15 = zext i1 %14 to i64
%16 = select i1 %14, ptr @.str.1, ptr @.str.2
%17 = call i32 @printf(ptr noundef @.str.4, ptr noundef %16)
%18 = call i64 (...) @test_sha1()
%19 = icmp ne i64 %18, 0
%20 = zext i1 %19 to i64
%21 = select i1 %19, ptr @.str.1, ptr @.str.2
%22 = call i32 @printf(ptr noundef @.str.5, ptr noundef %21)
%23 = call i64 (...) @test_valuestring()
%24 = icmp ne i64 %23, 0
%25 = zext i1 %24 to i64
%26 = select i1 %24, ptr @.str.1, ptr @.str.2
%27 = call i32 @printf(ptr noundef @.str.6, ptr noundef %26)
%28 = call i64 (...) @test_stringshifter()
%29 = icmp ne i64 %28, 0
%30 = zext i1 %29 to i64
%31 = select i1 %29, ptr @.str.1, ptr @.str.2
%32 = call i32 @printf(ptr noundef @.str.7, ptr noundef %31)
%33 = call i64 (...) @test_string_combine()
%34 = icmp ne i64 %33, 0
%35 = zext i1 %34 to i64
%36 = select i1 %34, ptr @.str.1, ptr @.str.2
%37 = call i32 @printf(ptr noundef @.str.8, ptr noundef %36)
%38 = call i64 (...) @test_number_compare_deprecated()
%39 = icmp ne i64 %38, 0
%40 = zext i1 %39 to i64
%41 = select i1 %39, ptr @.str.1, ptr @.str.2
%42 = call i32 @printf(ptr noundef @.str.9, ptr noundef %41)
%43 = call i64 (...) @test_addtoheap()
%44 = icmp ne i64 %43, 0
%45 = zext i1 %44 to i64
%46 = select i1 %44, ptr @.str.1, ptr @.str.2
%47 = call i32 @printf(ptr noundef @.str.10, ptr noundef %46)
%48 = call i64 (...) @test_processreloc()
%49 = icmp ne i64 %48, 0
%50 = zext i1 %49 to i64
%51 = select i1 %49, ptr @.str.1, ptr @.str.2
%52 = call i32 @printf(ptr noundef @.str.11, ptr noundef %51)
%53 = call i64 (...) @test_processimport()
%54 = icmp ne i64 %53, 0
%55 = zext i1 %54 to i64
%56 = select i1 %54, ptr @.str.1, ptr @.str.2
%57 = call i32 @printf(ptr noundef @.str.12, ptr noundef %56)
%58 = call i64 (...) @test_arrangerecords()
%59 = icmp ne i64 %58, 0
%60 = zext i1 %59 to i64
%61 = select i1 %59, ptr @.str.1, ptr @.str.2
%62 = call i32 @printf(ptr noundef @.str.13, ptr noundef %61)
%63 = call i64 (...) @test_ldheap_sort()
%64 = icmp ne i64 %63, 0
%65 = zext i1 %64 to i64
%66 = select i1 %64, ptr @.str.1, ptr @.str.2
%67 = call i32 @printf(ptr noundef @.str.14, ptr noundef %66)
%68 = call i64 (...) @test_ld_sha1_pad()
%69 = icmp ne i64 %68, 0
%70 = zext i1 %69 to i64
%71 = select i1 %69, ptr @.str.1, ptr @.str.2
%72 = call i32 @printf(ptr noundef @.str.15, ptr noundef %71)
%73 = call i64 (...) @test_hash1()
%74 = icmp ne i64 %73, 0
%75 = zext i1 %74 to i64
%76 = select i1 %74, ptr @.str.1, ptr @.str.2
%77 = call i32 @printf(ptr noundef @.str.16, ptr noundef %76)
%78 = call i64 (...) @test_hash_file()
%79 = icmp ne i64 %78, 0
%80 = zext i1 %79 to i64
%81 = select i1 %79, ptr @.str.1, ptr @.str.2
%82 = call i32 @printf(ptr noundef @.str.17, ptr noundef %81)
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @real_sha1_initialize(...) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i64 @test_tweedle(...) #1
declare i64 @test_twitter(...) #1
declare i64 @test_transform(...) #1
declare i64 @test_sha1(...) #1
declare i64 @test_valuestring(...) #1
declare i64 @test_stringshifter(...) #1
declare i64 @test_string_combine(...) #1
declare i64 @test_number_compare_deprecated(...) #1
declare i64 @test_addtoheap(...) #1
declare i64 @test_processreloc(...) #1
declare i64 @test_processimport(...) #1
declare i64 @test_arrangerecords(...) #1
declare i64 @test_ldheap_sort(...) #1
declare i64 @test_ld_sha1_pad(...) #1
declare i64 @test_hash1(...) #1
declare i64 @test_hash_file(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpcumaeeb4.c'
source_filename = "/tmp/tmpcumaeeb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Il vous reste %f / %d de vie\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Vous etes mort dans d'attroce souffrance\0A\00", align 1
@.str.2 = private unnamed_addr constant [77 x i8] c"Soit %f pourcent de vie, toute mes f\C3\A9licitations vous etes toujours en vie\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @vie_calcul(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sdiv i32 %6, %7
%9 = mul nsw i32 %8, 100
%10 = sitofp i32 %9 to double
store double %10, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = load double, ptr %5, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20, double noundef %21)
br label %23
23: ; preds = %18, %16
%24 = load double, ptr %5, align 8
ret double %24
}
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/tmpcumaeeb4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [30 x i8] c"Il vous reste %f / %d de vie\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"Vous etes mort dans d'attroce souffrance\0A\00", align 1
@.str.2 = private unnamed_addr constant [77 x i8] c"Soit %f pourcent de vie, toute mes f\C3\A9licitations vous etes toujours en vie\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @vie_calcul(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca double, align 8
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = load i32, ptr %3, align 4
%8 = sdiv i32 %6, %7
%9 = mul nsw i32 %8, 100
%10 = sitofp i32 %9 to double
store double %10, ptr %5, align 8
%11 = load i32, ptr %4, align 4
%12 = load i32, ptr %3, align 4
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %11, i32 noundef %12)
%14 = load i32, ptr %4, align 4
%15 = icmp sle i32 %14, 0
br i1 %15, label %16, label %18
16: ; preds = %2
%17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
br label %23
18: ; preds = %2
%19 = load i32, ptr %4, align 4
%20 = load i32, ptr %3, align 4
%21 = load double, ptr %5, align 8
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %19, i32 noundef %20, double noundef %21)
br label %23
23: ; preds = %18, %16
%24 = load double, ptr %5, align 8
ret double %24
}
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/tmptyzrrhmp.c'
source_filename = "/tmp/tmptyzrrhmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHT20_read_user_reg() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @I2C_ReadByte(i32 noundef 64, i32 noundef 231, ptr noundef %1)
%3 = load i8, ptr %1, align 1
ret i8 %3
}
declare i32 @I2C_ReadByte(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/tmptyzrrhmp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @SHT20_read_user_reg() #0 {
%1 = alloca i8, align 1
store i8 0, ptr %1, align 1
%2 = call i32 @I2C_ReadByte(i32 noundef 64, i32 noundef 231, ptr noundef %1)
%3 = load i8, ptr %1, align 1
ret i8 %3
}
declare i32 @I2C_ReadByte(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/tmpao0sivoa.c'
source_filename = "/tmp/tmpao0sivoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"- \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"o \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"31\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"33\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"32\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"34\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"36\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"35\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @afficherPionMastermind(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %20 [
i32 0, label %4
i32 1, label %6
i32 114, label %6
i32 2, label %8
i32 106, label %8
i32 3, label %10
i32 118, label %10
i32 4, label %12
i32 98, label %12
i32 5, label %14
i32 66, label %14
i32 6, label %16
i32 99, label %16
i32 7, label %18
i32 102, label %18
]
4: ; preds = %1
%5 = call i32 @printf(ptr noundef @.str)
br label %20
6: ; preds = %1, %1
%7 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.2)
br label %20
8: ; preds = %1, %1
%9 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.3)
br label %20
10: ; preds = %1, %1
%11 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.4)
br label %20
12: ; preds = %1, %1
%13 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.5)
br label %20
14: ; preds = %1, %1
%15 = call i32 @printf(ptr noundef @.str.1)
br label %20
16: ; preds = %1, %1
%17 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.6)
br label %20
18: ; preds = %1, %1
%19 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.7)
br label %20
20: ; preds = %1, %18, %16, %14, %12, %10, %8, %6, %4
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @coloration(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/tmpao0sivoa.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"- \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"o \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"31\00", align 1
@.str.3 = private unnamed_addr constant [3 x i8] c"33\00", align 1
@.str.4 = private unnamed_addr constant [3 x i8] c"32\00", align 1
@.str.5 = private unnamed_addr constant [3 x i8] c"34\00", align 1
@.str.6 = private unnamed_addr constant [3 x i8] c"36\00", align 1
@.str.7 = private unnamed_addr constant [3 x i8] c"35\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @afficherPionMastermind(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
switch i32 %3, label %20 [
i32 0, label %4
i32 1, label %6
i32 114, label %6
i32 2, label %8
i32 106, label %8
i32 3, label %10
i32 118, label %10
i32 4, label %12
i32 98, label %12
i32 5, label %14
i32 66, label %14
i32 6, label %16
i32 99, label %16
i32 7, label %18
i32 102, label %18
]
4: ; preds = %1
%5 = call i32 @printf(ptr noundef @.str)
br label %20
6: ; preds = %1, %1
%7 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.2)
br label %20
8: ; preds = %1, %1
%9 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.3)
br label %20
10: ; preds = %1, %1
%11 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.4)
br label %20
12: ; preds = %1, %1
%13 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.5)
br label %20
14: ; preds = %1, %1
%15 = call i32 @printf(ptr noundef @.str.1)
br label %20
16: ; preds = %1, %1
%17 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.6)
br label %20
18: ; preds = %1, %1
%19 = call i32 @coloration(ptr noundef @.str.1, ptr noundef @.str.7)
br label %20
20: ; preds = %18, %16, %14, %12, %10, %8, %6, %4, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i32 @coloration(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/tmpovzc9uv9.c'
source_filename = "/tmp/tmpovzc9uv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__strspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %5, align 8
br label %10
10: ; preds = %27, %2
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds i8, ptr %11, i32 1
store ptr %12, ptr %5, align 8
%13 = load i8, ptr %11, align 1
store i8 %13, ptr %7, align 1
%14 = load ptr, ptr %4, align 8
store ptr %14, ptr %6, align 8
br label %15
15: ; preds = %28, %10
%16 = load ptr, ptr %6, align 8
%17 = getelementptr inbounds i8, ptr %16, i32 1
store ptr %17, ptr %6, align 8
%18 = load i8, ptr %16, align 1
store i8 %18, ptr %8, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 0
br i1 %20, label %21, label %29
21: ; preds = %15
%22 = load i8, ptr %8, align 1
%23 = sext i8 %22 to i32
%24 = load i8, ptr %7, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %23, %25
br i1 %26, label %27, label %28
27: ; preds = %21
br label %10
28: ; preds = %21
br label %15, !llvm.loop !6
29: ; preds = %15
%30 = load ptr, ptr %5, align 8
%31 = getelementptr inbounds i8, ptr %30, i64 -1
%32 = load ptr, ptr %3, align 8
%33 = ptrtoint ptr %31 to i64
%34 = ptrtoint ptr %32 to i64
%35 = sub i64 %33, %34
ret i64 %35
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpovzc9uv9.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__strspn(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i8, align 1
%8 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%9 = load ptr, ptr %3, align 8
store ptr %9, ptr %5, align 8
%10 = load ptr, ptr %5, align 8
%11 = getelementptr inbounds i8, ptr %10, i32 1
store ptr %11, ptr %5, align 8
%12 = load i8, ptr %10, align 1
store i8 %12, ptr %7, align 1
%13 = load ptr, ptr %4, align 8
store ptr %13, ptr %6, align 8
%14 = load ptr, ptr %6, align 8
%15 = getelementptr inbounds i8, ptr %14, i32 1
store ptr %15, ptr %6, align 8
%16 = load i8, ptr %14, align 1
store i8 %16, ptr %8, align 1
%17 = sext i8 %16 to i32
%18 = icmp ne i32 %17, 0
br i1 %18, label %.lr.ph.lr.ph, label %._crit_edge
.lr.ph.lr.ph: ; preds = %2
br label %.lr.ph
.lr.ph: ; preds = %.lr.ph.lr.ph, %31
br label %25
19: ; preds = %25
%20 = load ptr, ptr %6, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %6, align 8
%22 = load i8, ptr %20, align 1
store i8 %22, ptr %8, align 1
%23 = sext i8 %22 to i32
%24 = icmp ne i32 %23, 0
br i1 %24, label %25, label %._crit_edge1, !llvm.loop !6
25: ; preds = %.lr.ph, %19
%26 = load i8, ptr %8, align 1
%27 = sext i8 %26 to i32
%28 = load i8, ptr %7, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %27, %29
br i1 %30, label %31, label %19
31: ; preds = %25
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
%34 = load i8, ptr %32, align 1
store i8 %34, ptr %7, align 1
%35 = load ptr, ptr %4, align 8
store ptr %35, ptr %6, align 8
%36 = load ptr, ptr %6, align 8
%37 = getelementptr inbounds i8, ptr %36, i32 1
store ptr %37, ptr %6, align 8
%38 = load i8, ptr %36, align 1
store i8 %38, ptr %8, align 1
%39 = sext i8 %38 to i32
%40 = icmp ne i32 %39, 0
br i1 %40, label %.lr.ph, label %.._crit_edge_crit_edge
.._crit_edge_crit_edge: ; preds = %31
br label %._crit_edge
._crit_edge: ; preds = %.._crit_edge_crit_edge, %2
br label %41
._crit_edge1: ; preds = %19
br label %41
41: ; preds = %._crit_edge1, %._crit_edge
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds i8, ptr %42, i64 -1
%44 = load ptr, ptr %3, align 8
%45 = ptrtoint ptr %43 to i64
%46 = ptrtoint ptr %44 to i64
%47 = sub i64 %45, %46
ret i64 %47
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpmxoixl9o.c'
source_filename = "/tmp/tmpmxoixl9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = 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/tmpmxoixl9o.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@RAND_MAX = 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/tmp4kfuc188.c'
source_filename = "/tmp/tmp4kfuc188.c"
target datalayout = "e-m:e-p270: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/tmp4kfuc188.c"
target datalayout = "e-m:e-p270: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/tmpznbsty2h.c'
source_filename = "/tmp/tmpznbsty2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d! + \00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d! = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Nevalidna vrednost\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %40
9: ; preds = %0
store i32 0, ptr %4, align 4
store i32 1, ptr %3, align 4
br label %10
10: ; preds = %25, %9
%11 = load i32, ptr %3, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %28
14: ; preds = %10
%15 = load i32, ptr %3, align 4
%16 = call i32 @suma(i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %5, align 4
%18 = call i64 @faktoriel(i32 noundef %17)
%19 = load i32, ptr %4, align 4
%20 = sext i32 %19 to i64
%21 = add nsw i64 %20, %18
%22 = trunc i64 %21 to i32
store i32 %22, ptr %4, align 4
%23 = load i32, ptr %5, align 4
%24 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %23)
br label %25
25: ; preds = %14
%26 = load i32, ptr %3, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %3, align 4
br label %10, !llvm.loop !6
28: ; preds = %10
%29 = load i32, ptr %2, align 4
%30 = call i32 @suma(i32 noundef %29)
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %5, align 4
%32 = call i64 @faktoriel(i32 noundef %31)
%33 = load i32, ptr %4, align 4
%34 = sext i32 %33 to i64
%35 = add nsw i64 %34, %32
%36 = trunc i64 %35 to i32
store i32 %36, ptr %4, align 4
%37 = load i32, ptr %5, align 4
%38 = load i32, ptr %4, align 4
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %37, i32 noundef %38)
br label %42
40: ; preds = %0
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %42
42: ; preds = %40, %28
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @suma(i32 noundef) #1
declare i64 @faktoriel(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpznbsty2h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"%d! + \00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"%d! = %d\0A\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"Nevalidna vrednost\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store i32 0, ptr %1, align 4
%6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2)
%7 = load i32, ptr %2, align 4
%8 = icmp sgt i32 %7, 0
br i1 %8, label %9, label %42
9: ; preds = %0
store i32 0, ptr %4, align 4
store i32 1, ptr %3, align 4
%10 = load i32, ptr %3, align 4
%11 = load i32, ptr %2, align 4
%12 = icmp slt i32 %10, %11
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %9
br label %13
13: ; preds = %.lr.ph, %24
%14 = load i32, ptr %3, align 4
%15 = call i32 @suma(i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %5, align 4
%17 = call i64 @faktoriel(i32 noundef %16)
%18 = load i32, ptr %4, align 4
%19 = sext i32 %18 to i64
%20 = add nsw i64 %19, %17
%21 = trunc i64 %20 to i32
store i32 %21, ptr %4, align 4
%22 = load i32, ptr %5, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %22)
br label %24
24: ; preds = %13
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %3, align 4
%28 = load i32, ptr %2, align 4
%29 = icmp slt i32 %27, %28
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %30
30: ; preds = %._crit_edge, %9
%31 = load i32, ptr %2, align 4
%32 = call i32 @suma(i32 noundef %31)
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = call i64 @faktoriel(i32 noundef %33)
%35 = load i32, ptr %4, align 4
%36 = sext i32 %35 to i64
%37 = add nsw i64 %36, %34
%38 = trunc i64 %37 to i32
store i32 %38, ptr %4, align 4
%39 = load i32, ptr %5, align 4
%40 = load i32, ptr %4, align 4
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %39, i32 noundef %40)
br label %44
42: ; preds = %0
%43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %44
44: ; preds = %42, %30
ret i32 0
}
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i32 @suma(i32 noundef) #1
declare i64 @faktoriel(i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpvs6un1j3.c'
source_filename = "/tmp/tmpvs6un1j3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tim_strstr(ptr noalias noundef %0, i64 noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %3
store ptr null, ptr %4, align 8
br label %70
14: ; preds = %3
store i64 0, ptr %8, align 8
br label %15
15: ; preds = %66, %14
%16 = load i64, ptr %8, align 8
%17 = load i64, ptr %6, align 8
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %69
19: ; preds = %15
%20 = load ptr, ptr %5, align 8
%21 = load i64, ptr %8, align 8
%22 = getelementptr inbounds i8, ptr %20, i64 %21
%23 = load i8, ptr %22, align 1
%24 = sext i8 %23 to i32
%25 = load ptr, ptr %7, align 8
%26 = load i8, ptr %25, align 1
%27 = sext i8 %26 to i32
%28 = icmp eq i32 %24, %27
br i1 %28, label %29, label %65
29: ; preds = %19
store i64 0, ptr %9, align 8
br label %30
30: ; preds = %63, %29
%31 = load i64, ptr %9, align 8
%32 = load i64, ptr %6, align 8
%33 = load i64, ptr %8, align 8
%34 = sub i64 %32, %33
%35 = icmp ult i64 %31, %34
br i1 %35, label %36, label %64
36: ; preds = %30
%37 = load ptr, ptr %5, align 8
%38 = load i64, ptr %8, align 8
%39 = load i64, ptr %9, align 8
%40 = add i64 %38, %39
%41 = getelementptr inbounds i8, ptr %37, i64 %40
%42 = load i8, ptr %41, align 1
%43 = sext i8 %42 to i32
%44 = load ptr, ptr %7, align 8
%45 = load i64, ptr %9, align 8
%46 = getelementptr inbounds i8, ptr %44, i64 %45
%47 = load i8, ptr %46, align 1
%48 = sext i8 %47 to i32
%49 = icmp ne i32 %43, %48
br i1 %49, label %50, label %51
50: ; preds = %36
br label %64
51: ; preds = %36
%52 = load i64, ptr %9, align 8
%53 = add i64 %52, 1
store i64 %53, ptr %9, align 8
%54 = load ptr, ptr %7, align 8
%55 = load i64, ptr %9, align 8
%56 = getelementptr inbounds i8, ptr %54, i64 %55
%57 = load i8, ptr %56, align 1
%58 = icmp ne i8 %57, 0
br i1 %58, label %63, label %59
59: ; preds = %51
%60 = load ptr, ptr %5, align 8
%61 = load i64, ptr %8, align 8
%62 = getelementptr inbounds i8, ptr %60, i64 %61
store ptr %62, ptr %4, align 8
br label %70
63: ; preds = %51
br label %30, !llvm.loop !6
64: ; preds = %50, %30
br label %65
65: ; preds = %64, %19
br label %66
66: ; preds = %65
%67 = load i64, ptr %8, align 8
%68 = add i64 %67, 1
store i64 %68, ptr %8, align 8
br label %15, !llvm.loop !8
69: ; preds = %15
store ptr null, ptr %4, align 8
br label %70
70: ; preds = %69, %59, %13
%71 = load ptr, ptr %4, align 8
ret ptr %71
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpvs6un1j3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @tim_strstr(ptr noalias noundef %0, i64 noundef %1, ptr noalias noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca ptr, align 8
%8 = alloca i64, align 8
%9 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load i8, ptr %10, align 1
%12 = icmp ne i8 %11, 0
br i1 %12, label %14, label %13
13: ; preds = %3
store ptr null, ptr %4, align 8
br label %76
14: ; preds = %3
store i64 0, ptr %8, align 8
%15 = load i64, ptr %8, align 8
%16 = load i64, ptr %6, align 8
%17 = icmp ult i64 %15, %16
br i1 %17, label %.lr.ph1, label %75
.lr.ph1: ; preds = %14
br label %18
18: ; preds = %.lr.ph1, %69
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %8, align 8
%21 = getelementptr inbounds i8, ptr %19, i64 %20
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %7, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %23, %26
br i1 %27, label %28, label %68
28: ; preds = %18
store i64 0, ptr %9, align 8
%29 = load i64, ptr %9, align 8
%30 = load i64, ptr %6, align 8
%31 = load i64, ptr %8, align 8
%32 = sub i64 %30, %31
%33 = icmp ult i64 %29, %32
br i1 %33, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %28
br label %40
34: ; preds = %55
%35 = load i64, ptr %9, align 8
%36 = load i64, ptr %6, align 8
%37 = load i64, ptr %8, align 8
%38 = sub i64 %36, %37
%39 = icmp ult i64 %35, %38
br i1 %39, label %40, label %..loopexit_crit_edge, !llvm.loop !6
40: ; preds = %.lr.ph, %34
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %8, align 8
%43 = load i64, ptr %9, align 8
%44 = add i64 %42, %43
%45 = getelementptr inbounds i8, ptr %41, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = load ptr, ptr %7, align 8
%49 = load i64, ptr %9, align 8
%50 = getelementptr inbounds i8, ptr %48, i64 %49
%51 = load i8, ptr %50, align 1
%52 = sext i8 %51 to i32
%53 = icmp ne i32 %47, %52
br i1 %53, label %54, label %55
54: ; preds = %40
br label %67
55: ; preds = %40
%56 = load i64, ptr %9, align 8
%57 = add i64 %56, 1
store i64 %57, ptr %9, align 8
%58 = load ptr, ptr %7, align 8
%59 = load i64, ptr %9, align 8
%60 = getelementptr inbounds i8, ptr %58, i64 %59
%61 = load i8, ptr %60, align 1
%62 = icmp ne i8 %61, 0
br i1 %62, label %34, label %63
63: ; preds = %55
%64 = load ptr, ptr %5, align 8
%65 = load i64, ptr %8, align 8
%66 = getelementptr inbounds i8, ptr %64, i64 %65
store ptr %66, ptr %4, align 8
br label %76
..loopexit_crit_edge: ; preds = %34
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %28
br label %67
67: ; preds = %.loopexit, %54
br label %68
68: ; preds = %67, %18
br label %69
69: ; preds = %68
%70 = load i64, ptr %8, align 8
%71 = add i64 %70, 1
store i64 %71, ptr %8, align 8
%72 = load i64, ptr %8, align 8
%73 = load i64, ptr %6, align 8
%74 = icmp ult i64 %72, %73
br i1 %74, label %18, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %69
br label %75
75: ; preds = %._crit_edge, %14
store ptr null, ptr %4, align 8
br label %76
76: ; preds = %75, %63, %13
%77 = load ptr, ptr %4, align 8
ret ptr %77
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpkl7q3fbd.c'
source_filename = "/tmp/tmpkl7q3fbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"RND Invoke Response: AVTransport/Seek[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_AVTransport_Seek(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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/tmpkl7q3fbd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [56 x i8] c"RND Invoke Response: AVTransport/Seek[ErrorCode:%d]()\0D\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @RNDResponseSink_AVTransport_Seek(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, align 8
%7 = load i32, ptr %5, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %7)
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/tmpg2m4f12z.c'
source_filename = "/tmp/tmpg2m4f12z.c"
target datalayout = "e-m:e-p270: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 @symlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load 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/tmpg2m4f12z.c"
target datalayout = "e-m:e-p270: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 @symlink(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load 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/tmpo78lmee0.c'
source_filename = "/tmp/tmpo78lmee0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c" ax sx fx\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"------------\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"-------------\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 @puts(ptr noundef @.str)
%4 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %2, align 4
br label %5
5: ; preds = %10, %0
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 10
br i1 %7, label %8, label %13
8: ; preds = %5
%9 = call i32 (...) @func()
br label %10
10: ; preds = %8
%11 = load i32, ptr %2, align 4
%12 = add nsw i32 %11, 1
store i32 %12, ptr %2, align 4
br label %5, !llvm.loop !6
13: ; preds = %5
%14 = call i32 @puts(ptr noundef @.str.2)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpo78lmee0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [10 x i8] c" ax sx fx\00", align 1
@.str.1 = private unnamed_addr constant [13 x i8] c"------------\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"-------------\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 @puts(ptr noundef @.str)
%4 = call i32 @puts(ptr noundef @.str.1)
store i32 0, ptr %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp slt i32 %5, 10
br i1 %6, label %.lr.ph, label %14
.lr.ph: ; preds = %0
br label %7
7: ; preds = %.lr.ph, %9
%8 = call i32 (...) @func()
br label %9
9: ; preds = %7
%10 = load i32, ptr %2, align 4
%11 = add nsw i32 %10, 1
store i32 %11, ptr %2, align 4
%12 = load i32, ptr %2, align 4
%13 = icmp slt i32 %12, 10
br i1 %13, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %9
br label %14
14: ; preds = %._crit_edge, %0
%15 = call i32 @puts(ptr noundef @.str.2)
ret i32 0
}
declare i32 @puts(ptr noundef) #1
declare i32 @func(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpoc0h5gnl.c'
source_filename = "/tmp/tmpoc0h5gnl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clearScreen() #0 {
%1 = call i32 @lcd_command(i32 noundef 1)
%2 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @lcd_command(i32 noundef) #1
declare i32 @print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpoc0h5gnl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [2 x i8] c"\0C\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @clearScreen() #0 {
%1 = call i32 @lcd_command(i32 noundef 1)
%2 = call i32 @print(ptr noundef @.str)
ret void
}
declare i32 @lcd_command(i32 noundef) #1
declare i32 @print(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3pgurste.c'
source_filename = "/tmp/tmp3pgurste.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_get_lifted_point(i32 noundef %0, i32 noundef %1, i32 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 i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @_ada_use_c2phc4c(i32 noundef 86, ptr noundef %6, ptr noundef %7, ptr noundef %10, i32 noundef 0)
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
ret i32 %12
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3pgurste.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @celcon_get_lifted_point(i32 noundef %0, i32 noundef %1, i32 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 i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store ptr %3, ptr %8, align 8
%10 = load ptr, ptr %8, align 8
%11 = call i32 @_ada_use_c2phc4c(i32 noundef 86, ptr noundef %6, ptr noundef %7, ptr noundef %10, i32 noundef 0)
store i32 %11, ptr %9, align 4
%12 = load i32, ptr %9, align 4
ret i32 %12
}
declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx_2dp428.c'
source_filename = "/tmp/tmpx_2dp428.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"leak_check\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"result_folder: biobj produce_all_data 1\00", align 1
@.str.2 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 0\00", align 1
@.str.3 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0\00", align 1
@.str.4 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 0\00", align 1
@.str.5 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1\00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 1\00", align 1
@.str.7 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1\00", align 1
@.str.8 = private unnamed_addr constant [95 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1 log_decision_variables: all\00", align 1
@.str.9 = private unnamed_addr constant [96 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0 log_decision_variables: none\00", align 1
@.str.10 = private unnamed_addr constant [99 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1 log_decision_variables: low_dim\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @run_once(ptr noundef @.str.1)
br label %27
16: ; preds = %8, %2
%17 = call i32 @run_once(ptr noundef @.str.1)
%18 = call i32 @run_once(ptr noundef @.str.2)
%19 = call i32 @run_once(ptr noundef @.str.3)
%20 = call i32 @run_once(ptr noundef @.str.4)
%21 = call i32 @run_once(ptr noundef @.str.5)
%22 = call i32 @run_once(ptr noundef @.str.6)
%23 = call i32 @run_once(ptr noundef @.str.7)
%24 = call i32 @run_once(ptr noundef @.str.8)
%25 = call i32 @run_once(ptr noundef @.str.9)
%26 = call i32 @run_once(ptr noundef @.str.10)
br label %27
27: ; preds = %16, %14
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @run_once(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx_2dp428.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [11 x i8] c"leak_check\00", align 1
@.str.1 = private unnamed_addr constant [40 x i8] c"result_folder: biobj produce_all_data 1\00", align 1
@.str.2 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 0\00", align 1
@.str.3 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0\00", align 1
@.str.4 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 0\00", align 1
@.str.5 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1\00", align 1
@.str.6 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 1\00", align 1
@.str.7 = private unnamed_addr constant [67 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1\00", align 1
@.str.8 = private unnamed_addr constant [95 x i8] c"result_folder: biobj log_nondominated: none compute_indicators: 1 log_decision_variables: all\00", align 1
@.str.9 = private unnamed_addr constant [96 x i8] c"result_folder: biobj log_nondominated: all compute_indicators: 0 log_decision_variables: none\00", align 1
@.str.10 = private unnamed_addr constant [99 x i8] c"result_folder: biobj log_nondominated: final compute_indicators: 1 log_decision_variables: low_dim\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load i32, ptr %4, align 4
%7 = icmp eq i32 %6, 2
br i1 %7, label %8, label %16
8: ; preds = %2
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = call i64 @strcmp(ptr noundef %11, ptr noundef @.str)
%13 = icmp eq i64 %12, 0
br i1 %13, label %14, label %16
14: ; preds = %8
%15 = call i32 @run_once(ptr noundef @.str.1)
br label %27
16: ; preds = %8, %2
%17 = call i32 @run_once(ptr noundef @.str.1)
%18 = call i32 @run_once(ptr noundef @.str.2)
%19 = call i32 @run_once(ptr noundef @.str.3)
%20 = call i32 @run_once(ptr noundef @.str.4)
%21 = call i32 @run_once(ptr noundef @.str.5)
%22 = call i32 @run_once(ptr noundef @.str.6)
%23 = call i32 @run_once(ptr noundef @.str.7)
%24 = call i32 @run_once(ptr noundef @.str.8)
%25 = call i32 @run_once(ptr noundef @.str.9)
%26 = call i32 @run_once(ptr noundef @.str.10)
br label %27
27: ; preds = %16, %14
ret i32 0
}
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @run_once(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp96z6hpt.c'
source_filename = "/tmp/tmpp96z6hpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_control(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @configure_pulse()
%4 = call i32 (...) @configure_ramp()
%5 = load i32, ptr %2, align 4
%6 = call i32 @configure_ADC(i32 noundef %5)
ret void
}
declare i32 @configure_pulse(...) #1
declare i32 @configure_ramp(...) #1
declare i32 @configure_ADC(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/tmpp96z6hpt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @init_control(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 (...) @configure_pulse()
%4 = call i32 (...) @configure_ramp()
%5 = load i32, ptr %2, align 4
%6 = call i32 @configure_ADC(i32 noundef %5)
ret void
}
declare i32 @configure_pulse(...) #1
declare i32 @configure_ramp(...) #1
declare i32 @configure_ADC(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/tmpjf4k7huq.c'
source_filename = "/tmp/tmpjf4k7huq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @relation_expr_new(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = call i32 (...) @relation_expr_class_get()
%9 = call ptr @object_new(i32 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @binary_expr_init(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13)
%15 = load ptr, ptr %7, align 8
ret ptr %15
}
declare ptr @object_new(i32 noundef) #1
declare i32 @relation_expr_class_get(...) #1
declare i32 @binary_expr_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjf4k7huq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @relation_expr_new(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%8 = call i32 (...) @relation_expr_class_get()
%9 = call ptr @object_new(i32 noundef %8)
store ptr %9, ptr %7, align 8
%10 = load ptr, ptr %7, align 8
%11 = load ptr, ptr %4, align 8
%12 = load ptr, ptr %5, align 8
%13 = load i32, ptr %6, align 4
%14 = call i32 @binary_expr_init(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13)
%15 = load ptr, ptr %7, align 8
ret ptr %15
}
declare ptr @object_new(i32 noundef) #1
declare i32 @relation_expr_class_get(...) #1
declare i32 @binary_expr_init(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps89a8hlx.c'
source_filename = "/tmp/tmps89a8hlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s,%s,%s,%d,%d,%d,%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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 3
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 4
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 5
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 6
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
%31 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %11, ptr noundef %14, i32 noundef %18, i32 noundef %22, i32 noundef %26, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 3
%40 = load ptr, ptr %39, align 8
%41 = call i32 @atoi(ptr noundef %40)
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 4
%44 = load ptr, ptr %43, align 8
%45 = call i32 @atoi(ptr noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 5
%48 = load ptr, ptr %47, align 8
%49 = call i32 @atoi(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 6
%52 = load ptr, ptr %51, align 8
%53 = call i32 @atoi(ptr noundef %52)
%54 = call i32 @syscall(i32 noundef 316, ptr noundef %34, ptr noundef %37, i32 noundef %41, i32 noundef %45, i32 noundef %49, i32 noundef %53)
ret i32 %54
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps89a8hlx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s,%s,%s,%d,%d,%d,%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
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = load ptr, ptr %5, align 8
%7 = getelementptr inbounds ptr, ptr %6, i64 0
%8 = load ptr, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 1
%11 = load ptr, ptr %10, align 8
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 2
%14 = load ptr, ptr %13, align 8
%15 = load ptr, ptr %5, align 8
%16 = getelementptr inbounds ptr, ptr %15, i64 3
%17 = load ptr, ptr %16, align 8
%18 = call i32 @atoi(ptr noundef %17)
%19 = load ptr, ptr %5, align 8
%20 = getelementptr inbounds ptr, ptr %19, i64 4
%21 = load ptr, ptr %20, align 8
%22 = call i32 @atoi(ptr noundef %21)
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds ptr, ptr %23, i64 5
%25 = load ptr, ptr %24, align 8
%26 = call i32 @atoi(ptr noundef %25)
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 6
%29 = load ptr, ptr %28, align 8
%30 = call i32 @atoi(ptr noundef %29)
%31 = call i32 @printf(ptr noundef @.str, ptr noundef %8, ptr noundef %11, ptr noundef %14, i32 noundef %18, i32 noundef %22, i32 noundef %26, i32 noundef %30)
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds ptr, ptr %32, i64 1
%34 = load ptr, ptr %33, align 8
%35 = load ptr, ptr %5, align 8
%36 = getelementptr inbounds ptr, ptr %35, i64 2
%37 = load ptr, ptr %36, align 8
%38 = load ptr, ptr %5, align 8
%39 = getelementptr inbounds ptr, ptr %38, i64 3
%40 = load ptr, ptr %39, align 8
%41 = call i32 @atoi(ptr noundef %40)
%42 = load ptr, ptr %5, align 8
%43 = getelementptr inbounds ptr, ptr %42, i64 4
%44 = load ptr, ptr %43, align 8
%45 = call i32 @atoi(ptr noundef %44)
%46 = load ptr, ptr %5, align 8
%47 = getelementptr inbounds ptr, ptr %46, i64 5
%48 = load ptr, ptr %47, align 8
%49 = call i32 @atoi(ptr noundef %48)
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds ptr, ptr %50, i64 6
%52 = load ptr, ptr %51, align 8
%53 = call i32 @atoi(ptr noundef %52)
%54 = call i32 @syscall(i32 noundef 316, ptr noundef %34, ptr noundef %37, i32 noundef %41, i32 noundef %45, i32 noundef %49, i32 noundef %53)
ret i32 %54
}
declare i32 @printf(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @atoi(ptr noundef) #1
declare i32 @syscall(i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp967wqeov.c'
source_filename = "/tmp/tmp967wqeov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Jogador 1: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Jogador 2: \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\0AVelhou!\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0AO jogador %d gannhou\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 (...) @show_menu()
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %16
15: ; preds = %0
store i32 0, ptr %1, align 4
br label %211
16: ; preds = %0
%17 = call ptr @malloc(i32 noundef 3)
store ptr %17, ptr %3, align 8
%18 = call ptr @malloc(i32 noundef 3)
store ptr %18, ptr %4, align 8
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %5, align 4
br label %19
19: ; preds = %33, %16
%20 = load i32, ptr %5, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = call ptr @malloc(i32 noundef 3)
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
store ptr %23, ptr %27, align 8
%28 = call ptr @malloc(i32 noundef 3)
%29 = load ptr, ptr %4, align 8
%30 = load i32, ptr %5, align 4
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds ptr, ptr %29, i64 %31
store ptr %28, ptr %32, align 8
br label %33
33: ; preds = %22
%34 = load i32, ptr %5, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %5, align 4
br label %19, !llvm.loop !6
36: ; preds = %19
store i32 0, ptr %5, align 4
br label %37
37: ; preds = %61, %36
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %38, 3
br i1 %39, label %40, label %64
40: ; preds = %37
store i32 0, ptr %6, align 4
br label %41
41: ; preds = %57, %40
%42 = load i32, ptr %6, align 4
%43 = icmp slt i32 %42, 3
br i1 %43, label %44, label %60
44: ; preds = %41
%45 = load i32, ptr %7, align 4
%46 = call signext i8 @int_to_char(i32 noundef %45)
%47 = load ptr, ptr %3, align 8
%48 = load i32, ptr %5, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds ptr, ptr %47, i64 %49
%51 = load ptr, ptr %50, align 8
%52 = load i32, ptr %6, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds i8, ptr %51, i64 %53
store i8 %46, ptr %54, align 1
%55 = load i32, ptr %7, align 4
%56 = add nsw i32 %55, 1
store i32 %56, ptr %7, align 4
br label %57
57: ; preds = %44
%58 = load i32, ptr %6, align 4
%59 = add nsw i32 %58, 1
store i32 %59, ptr %6, align 4
br label %41, !llvm.loop !8
60: ; preds = %41
br label %61
61: ; preds = %60
%62 = load i32, ptr %5, align 4
%63 = add nsw i32 %62, 1
store i32 %63, ptr %5, align 4
br label %37, !llvm.loop !9
64: ; preds = %37
store i32 0, ptr %7, align 4
store i32 1, ptr %10, align 4
store i32 1, ptr %11, align 4
%65 = call i64 @time(ptr noundef null)
%66 = trunc i64 %65 to i32
%67 = call i32 @srand(i32 noundef %66)
br label %68
68: ; preds = %200, %64
%69 = load i32, ptr %11, align 4
%70 = icmp sle i32 %69, 9
br i1 %70, label %71, label %201
71: ; preds = %68
%72 = load ptr, ptr %3, align 8
%73 = call i32 @show_tab(ptr noundef %72)
%74 = load i32, ptr %10, align 4
%75 = icmp eq i32 %74, 1
br i1 %75, label %76, label %126
76: ; preds = %71
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%78 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%79 = load ptr, ptr %3, align 8
%80 = load i32, ptr %9, align 4
%81 = call ptr @jogada(ptr noundef %79, i32 noundef %80, i32 noundef 1)
store ptr %81, ptr %4, align 8
%82 = load ptr, ptr %4, align 8
%83 = getelementptr inbounds ptr, ptr %82, i64 0
%84 = load ptr, ptr %83, align 8
%85 = getelementptr inbounds i8, ptr %84, i64 0
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
%88 = icmp ne i32 %87, 32
br i1 %88, label %89, label %125
89: ; preds = %76
store i32 0, ptr %5, align 4
br label %90
90: ; preds = %119, %89
%91 = load i32, ptr %5, align 4
%92 = icmp slt i32 %91, 3
br i1 %92, label %93, label %122
93: ; preds = %90
store i32 0, ptr %6, align 4
br label %94
94: ; preds = %115, %93
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %95, 3
br i1 %96, label %97, label %118
97: ; preds = %94
%98 = load ptr, ptr %4, align 8
%99 = load i32, ptr %5, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = load ptr, ptr %3, align 8
%108 = load i32, ptr %5, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds ptr, ptr %107, i64 %109
%111 = load ptr, ptr %110, align 8
%112 = load i32, ptr %6, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
store i8 %106, ptr %114, align 1
br label %115
115: ; preds = %97
%116 = load i32, ptr %6, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %6, align 4
br label %94, !llvm.loop !10
118: ; preds = %94
br label %119
119: ; preds = %118
%120 = load i32, ptr %5, align 4
%121 = add nsw i32 %120, 1
store i32 %121, ptr %5, align 4
br label %90, !llvm.loop !11
122: ; preds = %90
store i32 2, ptr %10, align 4
%123 = load i32, ptr %11, align 4
%124 = add nsw i32 %123, 1
store i32 %124, ptr %11, align 4
br label %125
125: ; preds = %122, %76
br label %194
126: ; preds = %71
%127 = load i32, ptr %2, align 4
%128 = icmp eq i32 %127, 2
br i1 %128, label %129, label %132
129: ; preds = %126
%130 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%131 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
br label %132
132: ; preds = %129, %126
%133 = load i32, ptr %2, align 4
%134 = icmp eq i32 %133, 1
br i1 %134, label %135, label %140
135: ; preds = %132
%136 = call i32 (...) @rand()
%137 = srem i32 %136, 9
store i32 %137, ptr %9, align 4
%138 = load i32, ptr %9, align 4
%139 = add nsw i32 %138, 1
store i32 %139, ptr %9, align 4
br label %140
140: ; preds = %135, %132
%141 = load i32, ptr %2, align 4
%142 = icmp eq i32 %141, 4
br i1 %142, label %143, label %146
143: ; preds = %140
%144 = load ptr, ptr %3, align 8
%145 = call i32 @joga_minimax(ptr noundef %144)
store i32 %145, ptr %9, align 4
br label %146
146: ; preds = %143, %140
%147 = load ptr, ptr %3, align 8
%148 = load i32, ptr %9, align 4
%149 = call ptr @jogada(ptr noundef %147, i32 noundef %148, i32 noundef 2)
store ptr %149, ptr %4, align 8
%150 = load ptr, ptr %4, align 8
%151 = getelementptr inbounds ptr, ptr %150, i64 0
%152 = load ptr, ptr %151, align 8
%153 = getelementptr inbounds i8, ptr %152, i64 0
%154 = load i8, ptr %153, align 1
%155 = sext i8 %154 to i32
%156 = icmp ne i32 %155, 32
br i1 %156, label %157, label %193
157: ; preds = %146
store i32 0, ptr %5, align 4
br label %158
158: ; preds = %187, %157
%159 = load i32, ptr %5, align 4
%160 = icmp slt i32 %159, 3
br i1 %160, label %161, label %190
161: ; preds = %158
store i32 0, ptr %6, align 4
br label %162
162: ; preds = %183, %161
%163 = load i32, ptr %6, align 4
%164 = icmp slt i32 %163, 3
br i1 %164, label %165, label %186
165: ; preds = %162
%166 = load ptr, ptr %4, align 8
%167 = load i32, ptr %5, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds ptr, ptr %166, i64 %168
%170 = load ptr, ptr %169, align 8
%171 = load i32, ptr %6, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds i8, ptr %170, i64 %172
%174 = load i8, ptr %173, align 1
%175 = load ptr, ptr %3, align 8
%176 = load i32, ptr %5, align 4
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds ptr, ptr %175, i64 %177
%179 = load ptr, ptr %178, align 8
%180 = load i32, ptr %6, align 4
%181 = sext i32 %180 to i64
%182 = getelementptr inbounds i8, ptr %179, i64 %181
store i8 %174, ptr %182, align 1
br label %183
183: ; preds = %165
%184 = load i32, ptr %6, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %6, align 4
br label %162, !llvm.loop !12
186: ; preds = %162
br label %187
187: ; preds = %186
%188 = load i32, ptr %5, align 4
%189 = add nsw i32 %188, 1
store i32 %189, ptr %5, align 4
br label %158, !llvm.loop !13
190: ; preds = %158
store i32 1, ptr %10, align 4
%191 = load i32, ptr %11, align 4
%192 = add nsw i32 %191, 1
store i32 %192, ptr %11, align 4
br label %193
193: ; preds = %190, %146
br label %194
194: ; preds = %193, %125
%195 = load ptr, ptr %3, align 8
%196 = call i32 @fim(ptr noundef %195)
store i32 %196, ptr %8, align 4
%197 = load i32, ptr %8, align 4
%198 = icmp ne i32 %197, 0
br i1 %198, label %199, label %200
199: ; preds = %194
store i32 10, ptr %11, align 4
br label %200
200: ; preds = %199, %194
br label %68, !llvm.loop !14
201: ; preds = %68
%202 = load ptr, ptr %3, align 8
%203 = call i32 @show_tab(ptr noundef %202)
%204 = load i32, ptr %8, align 4
%205 = icmp eq i32 %204, 0
br i1 %205, label %206, label %208
206: ; preds = %201
%207 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %211
208: ; preds = %201
%209 = load i32, ptr %8, align 4
%210 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %209)
br label %211
211: ; preds = %15, %208, %206
%212 = load i32, ptr %1, align 4
ret i32 %212
}
declare i32 @show_menu(...) #1
declare ptr @malloc(i32 noundef) #1
declare signext i8 @int_to_char(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @show_tab(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @jogada(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @joga_minimax(ptr noundef) #1
declare i32 @fim(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp967wqeov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Jogador 1: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [12 x i8] c"Jogador 2: \00", align 1
@.str.3 = private unnamed_addr constant [10 x i8] c"\0AVelhou!\0A\00", align 1
@.str.4 = private unnamed_addr constant [23 x i8] c"\0AO jogador %d gannhou\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
store i32 0, ptr %1, align 4
%12 = call i32 (...) @show_menu()
store i32 %12, ptr %2, align 4
%13 = load i32, ptr %2, align 4
%14 = icmp eq i32 %13, 3
br i1 %14, label %15, label %16
15: ; preds = %0
store i32 0, ptr %1, align 4
br label %219
16: ; preds = %0
%17 = call ptr @malloc(i32 noundef 3)
store ptr %17, ptr %3, align 8
%18 = call ptr @malloc(i32 noundef 3)
store ptr %18, ptr %4, align 8
store i32 1, ptr %7, align 4
store i32 0, ptr %8, align 4
store i32 0, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = icmp slt i32 %19, 3
br i1 %20, label %.lr.ph, label %37
.lr.ph: ; preds = %16
br label %21
21: ; preds = %.lr.ph, %32
%22 = call ptr @malloc(i32 noundef 3)
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds ptr, ptr %23, i64 %25
store ptr %22, ptr %26, align 8
%27 = call ptr @malloc(i32 noundef 3)
%28 = load ptr, ptr %4, align 8
%29 = load i32, ptr %5, align 4
%30 = sext i32 %29 to i64
%31 = getelementptr inbounds ptr, ptr %28, i64 %30
store ptr %27, ptr %31, align 8
br label %32
32: ; preds = %21
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
store i32 %34, ptr %5, align 4
%35 = load i32, ptr %5, align 4
%36 = icmp slt i32 %35, 3
br i1 %36, label %21, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %32
br label %37
37: ; preds = %._crit_edge, %16
store i32 0, ptr %5, align 4
%38 = load i32, ptr %5, align 4
%39 = icmp slt i32 %38, 3
br i1 %39, label %.lr.ph5, label %67
.lr.ph5: ; preds = %37
br label %40
40: ; preds = %.lr.ph5, %62
store i32 0, ptr %6, align 4
%41 = load i32, ptr %6, align 4
%42 = icmp slt i32 %41, 3
br i1 %42, label %.lr.ph2, label %61
.lr.ph2: ; preds = %40
br label %43
43: ; preds = %.lr.ph2, %56
%44 = load i32, ptr %7, align 4
%45 = call signext i8 @int_to_char(i32 noundef %44)
%46 = load ptr, ptr %3, align 8
%47 = load i32, ptr %5, align 4
%48 = sext i32 %47 to i64
%49 = getelementptr inbounds ptr, ptr %46, i64 %48
%50 = load ptr, ptr %49, align 8
%51 = load i32, ptr %6, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i8, ptr %50, i64 %52
store i8 %45, ptr %53, align 1
%54 = load i32, ptr %7, align 4
%55 = add nsw i32 %54, 1
store i32 %55, ptr %7, align 4
br label %56
56: ; preds = %43
%57 = load i32, ptr %6, align 4
%58 = add nsw i32 %57, 1
store i32 %58, ptr %6, align 4
%59 = load i32, ptr %6, align 4
%60 = icmp slt i32 %59, 3
br i1 %60, label %43, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %56
br label %61
61: ; preds = %._crit_edge3, %40
br label %62
62: ; preds = %61
%63 = load i32, ptr %5, align 4
%64 = add nsw i32 %63, 1
store i32 %64, ptr %5, align 4
%65 = load i32, ptr %5, align 4
%66 = icmp slt i32 %65, 3
br i1 %66, label %40, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %62
br label %67
67: ; preds = %._crit_edge6, %37
store i32 0, ptr %7, align 4
store i32 1, ptr %10, align 4
store i32 1, ptr %11, align 4
%68 = call i64 @time(ptr noundef null)
%69 = trunc i64 %68 to i32
%70 = call i32 @srand(i32 noundef %69)
%71 = load i32, ptr %11, align 4
%72 = icmp sle i32 %71, 9
br i1 %72, label %.lr.ph20, label %209
.lr.ph20: ; preds = %67
br label %73
73: ; preds = %.lr.ph20, %206
%74 = load ptr, ptr %3, align 8
%75 = call i32 @show_tab(ptr noundef %74)
%76 = load i32, ptr %10, align 4
%77 = icmp eq i32 %76, 1
br i1 %77, label %78, label %130
78: ; preds = %73
%79 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%80 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %9, align 4
%83 = call ptr @jogada(ptr noundef %81, i32 noundef %82, i32 noundef 1)
store ptr %83, ptr %4, align 8
%84 = load ptr, ptr %4, align 8
%85 = getelementptr inbounds ptr, ptr %84, i64 0
%86 = load ptr, ptr %85, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 0
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp ne i32 %89, 32
br i1 %90, label %91, label %129
91: ; preds = %78
store i32 0, ptr %5, align 4
%92 = load i32, ptr %5, align 4
%93 = icmp slt i32 %92, 3
br i1 %93, label %.lr.ph17, label %126
.lr.ph17: ; preds = %91
br label %94
94: ; preds = %.lr.ph17, %121
store i32 0, ptr %6, align 4
%95 = load i32, ptr %6, align 4
%96 = icmp slt i32 %95, 3
br i1 %96, label %.lr.ph14, label %120
.lr.ph14: ; preds = %94
br label %97
97: ; preds = %.lr.ph14, %115
%98 = load ptr, ptr %4, align 8
%99 = load i32, ptr %5, align 4
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds ptr, ptr %98, i64 %100
%102 = load ptr, ptr %101, align 8
%103 = load i32, ptr %6, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i8, ptr %102, i64 %104
%106 = load i8, ptr %105, align 1
%107 = load ptr, ptr %3, align 8
%108 = load i32, ptr %5, align 4
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds ptr, ptr %107, i64 %109
%111 = load ptr, ptr %110, align 8
%112 = load i32, ptr %6, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i8, ptr %111, i64 %113
store i8 %106, ptr %114, align 1
br label %115
115: ; preds = %97
%116 = load i32, ptr %6, align 4
%117 = add nsw i32 %116, 1
store i32 %117, ptr %6, align 4
%118 = load i32, ptr %6, align 4
%119 = icmp slt i32 %118, 3
br i1 %119, label %97, label %._crit_edge15, !llvm.loop !10
._crit_edge15: ; preds = %115
br label %120
120: ; preds = %._crit_edge15, %94
br label %121
121: ; preds = %120
%122 = load i32, ptr %5, align 4
%123 = add nsw i32 %122, 1
store i32 %123, ptr %5, align 4
%124 = load i32, ptr %5, align 4
%125 = icmp slt i32 %124, 3
br i1 %125, label %94, label %._crit_edge18, !llvm.loop !11
._crit_edge18: ; preds = %121
br label %126
126: ; preds = %._crit_edge18, %91
store i32 2, ptr %10, align 4
%127 = load i32, ptr %11, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %11, align 4
br label %129
129: ; preds = %126, %78
br label %200
130: ; preds = %73
%131 = load i32, ptr %2, align 4
%132 = icmp eq i32 %131, 2
br i1 %132, label %133, label %136
133: ; preds = %130
%134 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%135 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9)
br label %136
136: ; preds = %133, %130
%137 = load i32, ptr %2, align 4
%138 = icmp eq i32 %137, 1
br i1 %138, label %139, label %144
139: ; preds = %136
%140 = call i32 (...) @rand()
%141 = srem i32 %140, 9
store i32 %141, ptr %9, align 4
%142 = load i32, ptr %9, align 4
%143 = add nsw i32 %142, 1
store i32 %143, ptr %9, align 4
br label %144
144: ; preds = %139, %136
%145 = load i32, ptr %2, align 4
%146 = icmp eq i32 %145, 4
br i1 %146, label %147, label %150
147: ; preds = %144
%148 = load ptr, ptr %3, align 8
%149 = call i32 @joga_minimax(ptr noundef %148)
store i32 %149, ptr %9, align 4
br label %150
150: ; preds = %147, %144
%151 = load ptr, ptr %3, align 8
%152 = load i32, ptr %9, align 4
%153 = call ptr @jogada(ptr noundef %151, i32 noundef %152, i32 noundef 2)
store ptr %153, ptr %4, align 8
%154 = load ptr, ptr %4, align 8
%155 = getelementptr inbounds ptr, ptr %154, i64 0
%156 = load ptr, ptr %155, align 8
%157 = getelementptr inbounds i8, ptr %156, i64 0
%158 = load i8, ptr %157, align 1
%159 = sext i8 %158 to i32
%160 = icmp ne i32 %159, 32
br i1 %160, label %161, label %199
161: ; preds = %150
store i32 0, ptr %5, align 4
%162 = load i32, ptr %5, align 4
%163 = icmp slt i32 %162, 3
br i1 %163, label %.lr.ph11, label %196
.lr.ph11: ; preds = %161
br label %164
164: ; preds = %.lr.ph11, %191
store i32 0, ptr %6, align 4
%165 = load i32, ptr %6, align 4
%166 = icmp slt i32 %165, 3
br i1 %166, label %.lr.ph8, label %190
.lr.ph8: ; preds = %164
br label %167
167: ; preds = %.lr.ph8, %185
%168 = load ptr, ptr %4, align 8
%169 = load i32, ptr %5, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds ptr, ptr %168, i64 %170
%172 = load ptr, ptr %171, align 8
%173 = load i32, ptr %6, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i8, ptr %172, i64 %174
%176 = load i8, ptr %175, align 1
%177 = load ptr, ptr %3, align 8
%178 = load i32, ptr %5, align 4
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds ptr, ptr %177, i64 %179
%181 = load ptr, ptr %180, align 8
%182 = load i32, ptr %6, align 4
%183 = sext i32 %182 to i64
%184 = getelementptr inbounds i8, ptr %181, i64 %183
store i8 %176, ptr %184, align 1
br label %185
185: ; preds = %167
%186 = load i32, ptr %6, align 4
%187 = add nsw i32 %186, 1
store i32 %187, ptr %6, align 4
%188 = load i32, ptr %6, align 4
%189 = icmp slt i32 %188, 3
br i1 %189, label %167, label %._crit_edge9, !llvm.loop !12
._crit_edge9: ; preds = %185
br label %190
190: ; preds = %._crit_edge9, %164
br label %191
191: ; preds = %190
%192 = load i32, ptr %5, align 4
%193 = add nsw i32 %192, 1
store i32 %193, ptr %5, align 4
%194 = load i32, ptr %5, align 4
%195 = icmp slt i32 %194, 3
br i1 %195, label %164, label %._crit_edge12, !llvm.loop !13
._crit_edge12: ; preds = %191
br label %196
196: ; preds = %._crit_edge12, %161
store i32 1, ptr %10, align 4
%197 = load i32, ptr %11, align 4
%198 = add nsw i32 %197, 1
store i32 %198, ptr %11, align 4
br label %199
199: ; preds = %196, %150
br label %200
200: ; preds = %199, %129
%201 = load ptr, ptr %3, align 8
%202 = call i32 @fim(ptr noundef %201)
store i32 %202, ptr %8, align 4
%203 = load i32, ptr %8, align 4
%204 = icmp ne i32 %203, 0
br i1 %204, label %205, label %206
205: ; preds = %200
store i32 10, ptr %11, align 4
br label %206
206: ; preds = %205, %200
%207 = load i32, ptr %11, align 4
%208 = icmp sle i32 %207, 9
br i1 %208, label %73, label %._crit_edge21, !llvm.loop !14
._crit_edge21: ; preds = %206
br label %209
209: ; preds = %._crit_edge21, %67
%210 = load ptr, ptr %3, align 8
%211 = call i32 @show_tab(ptr noundef %210)
%212 = load i32, ptr %8, align 4
%213 = icmp eq i32 %212, 0
br i1 %213, label %214, label %216
214: ; preds = %209
%215 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %219
216: ; preds = %209
%217 = load i32, ptr %8, align 4
%218 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %217)
br label %219
219: ; preds = %216, %214, %15
%220 = load i32, ptr %1, align 4
ret i32 %220
}
declare i32 @show_menu(...) #1
declare ptr @malloc(i32 noundef) #1
declare signext i8 @int_to_char(i32 noundef) #1
declare i32 @srand(i32 noundef) #1
declare i64 @time(ptr noundef) #1
declare i32 @show_tab(ptr noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare ptr @jogada(ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @rand(...) #1
declare i32 @joga_minimax(ptr noundef) #1
declare i32 @fim(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
!12 = distinct !{!12, !7}
!13 = distinct !{!13, !7}
!14 = distinct !{!14, !7}
|
; ModuleID = '/tmp/tmpupk9mbh3.c'
source_filename = "/tmp/tmpupk9mbh3.c"
target datalayout = "e-m:e-p270: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/tmpupk9mbh3.c"
target datalayout = "e-m:e-p270: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/tmpgi1j2uk0.c'
source_filename = "/tmp/tmpgi1j2uk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_CANCEL_DISABLE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @func(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load i32, ptr @PTHREAD_CANCEL_DISABLE, align 4
%6 = call i32 @pthread_setcancelstate(i32 noundef %5, ptr noundef null)
store i32 0, ptr %4, align 4
store i32 0, ptr %4, align 4
br label %7
7: ; preds = %13, %1
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %10, label %16
10: ; preds = %7
%11 = call i32 @printf(ptr noundef @.str)
%12 = call i32 @sleep(i32 noundef 1)
br label %13
13: ; preds = %10
%14 = load i32, ptr %4, align 4
%15 = add nsw i32 %14, 1
store i32 %15, ptr %4, align 4
br label %7, !llvm.loop !6
16: ; preds = %7
%17 = load ptr, ptr %2, align 8
ret ptr %17
}
declare i32 @pthread_setcancelstate(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpgi1j2uk0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@PTHREAD_CANCEL_DISABLE = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [13 x i8] c"hello world\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @func(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%5 = load i32, ptr @PTHREAD_CANCEL_DISABLE, align 4
%6 = call i32 @pthread_setcancelstate(i32 noundef %5, ptr noundef null)
store i32 0, ptr %4, align 4
store i32 0, ptr %4, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %.lr.ph, label %17
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %12
%10 = call i32 @printf(ptr noundef @.str)
%11 = call i32 @sleep(i32 noundef 1)
br label %12
12: ; preds = %9
%13 = load i32, ptr %4, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %4, align 4
%15 = load i32, ptr %4, align 4
%16 = icmp slt i32 %15, 5
br i1 %16, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %12
br label %17
17: ; preds = %._crit_edge, %1
%18 = load ptr, ptr %2, align 8
ret ptr %18
}
declare i32 @pthread_setcancelstate(i32 noundef, ptr noundef) #1
declare i32 @printf(ptr noundef) #1
declare i32 @sleep(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_hbzbrgo.c'
source_filename = "/tmp/tmp_hbzbrgo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bellman_ford(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%22 = load ptr, ptr %14, align 8
%23 = load ptr, ptr %15, align 8
%24 = load i32, ptr %16, align 4
%25 = load i32, ptr %17, align 4
%26 = call i32 @initialize_single_source(ptr noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %25)
store i32 1, ptr %20, align 4
br label %27
27: ; preds = %72, %8
%28 = load i32, ptr %20, align 4
%29 = load i32, ptr %17, align 4
%30 = sub nsw i32 %29, 1
%31 = icmp sle i32 %28, %30
br i1 %31, label %32, label %75
32: ; preds = %27
store i32 1, ptr %18, align 4
br label %33
33: ; preds = %68, %32
%34 = load i32, ptr %18, align 4
%35 = load i32, ptr %17, align 4
%36 = icmp sle i32 %34, %35
br i1 %36, label %37, label %71
37: ; preds = %33
%38 = load ptr, ptr %10, align 8
%39 = load i32, ptr %18, align 4
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds i32, ptr %38, i64 %40
%42 = load i32, ptr %41, align 4
store i32 %42, ptr %21, align 4
br label %43
43: ; preds = %46, %37
%44 = load i32, ptr %21, align 4
%45 = icmp sgt i32 %44, 0
br i1 %45, label %46, label %67
46: ; preds = %43
%47 = load ptr, ptr %11, align 8
%48 = load i32, ptr %21, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
%51 = load i32, ptr %50, align 4
store i32 %51, ptr %19, align 4
%52 = load i32, ptr %18, align 4
%53 = load i32, ptr %19, align 4
%54 = load ptr, ptr %13, align 8
%55 = load i32, ptr %21, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds double, ptr %54, i64 %56
%58 = load double, ptr %57, align 8
%59 = load ptr, ptr %14, align 8
%60 = load ptr, ptr %15, align 8
%61 = call i32 @relax(i32 noundef %52, i32 noundef %53, double noundef %58, ptr noundef %59, ptr noundef %60)
%62 = load ptr, ptr %12, align 8
%63 = load i32, ptr %21, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i32, ptr %62, i64 %64
%66 = load i32, ptr %65, align 4
store i32 %66, ptr %21, align 4
br label %43, !llvm.loop !6
67: ; preds = %43
br label %68
68: ; preds = %67
%69 = load i32, ptr %18, align 4
%70 = add nsw i32 %69, 1
store i32 %70, ptr %18, align 4
br label %33, !llvm.loop !8
71: ; preds = %33
br label %72
72: ; preds = %71
%73 = load i32, ptr %20, align 4
%74 = add nsw i32 %73, 1
store i32 %74, ptr %20, align 4
br label %27, !llvm.loop !9
75: ; preds = %27
store i32 1, ptr %18, align 4
br label %76
76: ; preds = %120, %75
%77 = load i32, ptr %18, align 4
%78 = load i32, ptr %17, align 4
%79 = icmp sle i32 %77, %78
br i1 %79, label %80, label %123
80: ; preds = %76
%81 = load ptr, ptr %10, align 8
%82 = load i32, ptr %18, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i32, ptr %81, i64 %83
%85 = load i32, ptr %84, align 4
store i32 %85, ptr %21, align 4
br label %86
86: ; preds = %113, %80
%87 = load i32, ptr %21, align 4
%88 = icmp sgt i32 %87, 0
br i1 %88, label %89, label %119
89: ; preds = %86
%90 = load ptr, ptr %11, align 8
%91 = load i32, ptr %21, align 4
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds i32, ptr %90, i64 %92
%94 = load i32, ptr %93, align 4
store i32 %94, ptr %19, align 4
%95 = load ptr, ptr %14, align 8
%96 = load i32, ptr %19, align 4
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, ptr %95, i64 %97
%99 = load double, ptr %98, align 8
%100 = load ptr, ptr %14, align 8
%101 = load i32, ptr %18, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, ptr %100, i64 %102
%104 = load double, ptr %103, align 8
%105 = load ptr, ptr %13, align 8
%106 = load i32, ptr %21, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds double, ptr %105, i64 %107
%109 = load double, ptr %108, align 8
%110 = fadd double %104, %109
%111 = fcmp ogt double %99, %110
br i1 %111, label %112, label %113
112: ; preds = %89
store i32 0, ptr %9, align 4
br label %124
113: ; preds = %89
%114 = load ptr, ptr %12, align 8
%115 = load i32, ptr %21, align 4
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds i32, ptr %114, i64 %116
%118 = load i32, ptr %117, align 4
store i32 %118, ptr %21, align 4
br label %86, !llvm.loop !10
119: ; preds = %86
br label %120
120: ; preds = %119
%121 = load i32, ptr %18, align 4
%122 = add nsw i32 %121, 1
store i32 %122, ptr %18, align 4
br label %76, !llvm.loop !11
123: ; preds = %76
store i32 1, ptr %9, align 4
br label %124
124: ; preds = %123, %112
%125 = load i32, ptr %9, align 4
ret i32 %125
}
declare i32 @initialize_single_source(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @relax(i32 noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmp_hbzbrgo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @bellman_ford(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7) #0 {
%9 = alloca i32, align 4
%10 = alloca ptr, align 8
%11 = alloca ptr, align 8
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
store ptr %0, ptr %10, align 8
store ptr %1, ptr %11, align 8
store ptr %2, ptr %12, align 8
store ptr %3, ptr %13, align 8
store ptr %4, ptr %14, align 8
store ptr %5, ptr %15, align 8
store i32 %6, ptr %16, align 4
store i32 %7, ptr %17, align 4
%22 = load ptr, ptr %14, align 8
%23 = load ptr, ptr %15, align 8
%24 = load i32, ptr %16, align 4
%25 = load i32, ptr %17, align 4
%26 = call i32 @initialize_single_source(ptr noundef %22, ptr noundef %23, i32 noundef %24, i32 noundef %25)
store i32 1, ptr %20, align 4
%27 = load i32, ptr %20, align 4
%28 = load i32, ptr %17, align 4
%29 = sub nsw i32 %28, 1
%30 = icmp sle i32 %27, %29
br i1 %30, label %.lr.ph5, label %81
.lr.ph5: ; preds = %8
br label %31
31: ; preds = %.lr.ph5, %74
store i32 1, ptr %18, align 4
%32 = load i32, ptr %18, align 4
%33 = load i32, ptr %17, align 4
%34 = icmp sle i32 %32, %33
br i1 %34, label %.lr.ph2, label %73
.lr.ph2: ; preds = %31
br label %35
35: ; preds = %.lr.ph2, %67
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %18, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %36, i64 %38
%40 = load i32, ptr %39, align 4
store i32 %40, ptr %21, align 4
%41 = load i32, ptr %21, align 4
%42 = icmp sgt i32 %41, 0
br i1 %42, label %.lr.ph, label %66
.lr.ph: ; preds = %35
br label %43
43: ; preds = %.lr.ph, %43
%44 = load ptr, ptr %11, align 8
%45 = load i32, ptr %21, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i32, ptr %44, i64 %46
%48 = load i32, ptr %47, align 4
store i32 %48, ptr %19, align 4
%49 = load i32, ptr %18, align 4
%50 = load i32, ptr %19, align 4
%51 = load ptr, ptr %13, align 8
%52 = load i32, ptr %21, align 4
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, ptr %51, i64 %53
%55 = load double, ptr %54, align 8
%56 = load ptr, ptr %14, align 8
%57 = load ptr, ptr %15, align 8
%58 = call i32 @relax(i32 noundef %49, i32 noundef %50, double noundef %55, ptr noundef %56, ptr noundef %57)
%59 = load ptr, ptr %12, align 8
%60 = load i32, ptr %21, align 4
%61 = sext i32 %60 to i64
%62 = getelementptr inbounds i32, ptr %59, i64 %61
%63 = load i32, ptr %62, align 4
store i32 %63, ptr %21, align 4
%64 = load i32, ptr %21, align 4
%65 = icmp sgt i32 %64, 0
br i1 %65, label %43, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %43
br label %66
66: ; preds = %._crit_edge, %35
br label %67
67: ; preds = %66
%68 = load i32, ptr %18, align 4
%69 = add nsw i32 %68, 1
store i32 %69, ptr %18, align 4
%70 = load i32, ptr %18, align 4
%71 = load i32, ptr %17, align 4
%72 = icmp sle i32 %70, %71
br i1 %72, label %35, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %31
br label %74
74: ; preds = %73
%75 = load i32, ptr %20, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %20, align 4
%77 = load i32, ptr %20, align 4
%78 = load i32, ptr %17, align 4
%79 = sub nsw i32 %78, 1
%80 = icmp sle i32 %77, %79
br i1 %80, label %31, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %74
br label %81
81: ; preds = %._crit_edge6, %8
store i32 1, ptr %18, align 4
%82 = load i32, ptr %18, align 4
%83 = load i32, ptr %17, align 4
%84 = icmp sle i32 %82, %83
br i1 %84, label %.lr.ph11, label %132
.lr.ph11: ; preds = %81
br label %85
85: ; preds = %.lr.ph11, %126
%86 = load ptr, ptr %10, align 8
%87 = load i32, ptr %18, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
store i32 %90, ptr %21, align 4
%91 = load i32, ptr %21, align 4
%92 = icmp sgt i32 %91, 0
br i1 %92, label %.lr.ph8, label %125
.lr.ph8: ; preds = %85
br label %93
93: ; preds = %.lr.ph8, %117
%94 = load ptr, ptr %11, align 8
%95 = load i32, ptr %21, align 4
%96 = sext i32 %95 to i64
%97 = getelementptr inbounds i32, ptr %94, i64 %96
%98 = load i32, ptr %97, align 4
store i32 %98, ptr %19, align 4
%99 = load ptr, ptr %14, align 8
%100 = load i32, ptr %19, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds double, ptr %99, i64 %101
%103 = load double, ptr %102, align 8
%104 = load ptr, ptr %14, align 8
%105 = load i32, ptr %18, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds double, ptr %104, i64 %106
%108 = load double, ptr %107, align 8
%109 = load ptr, ptr %13, align 8
%110 = load i32, ptr %21, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds double, ptr %109, i64 %111
%113 = load double, ptr %112, align 8
%114 = fadd double %108, %113
%115 = fcmp ogt double %103, %114
br i1 %115, label %116, label %117
116: ; preds = %93
store i32 0, ptr %9, align 4
br label %133
117: ; preds = %93
%118 = load ptr, ptr %12, align 8
%119 = load i32, ptr %21, align 4
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds i32, ptr %118, i64 %120
%122 = load i32, ptr %121, align 4
store i32 %122, ptr %21, align 4
%123 = load i32, ptr %21, align 4
%124 = icmp sgt i32 %123, 0
br i1 %124, label %93, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %117
br label %125
125: ; preds = %._crit_edge9, %85
br label %126
126: ; preds = %125
%127 = load i32, ptr %18, align 4
%128 = add nsw i32 %127, 1
store i32 %128, ptr %18, align 4
%129 = load i32, ptr %18, align 4
%130 = load i32, ptr %17, align 4
%131 = icmp sle i32 %129, %130
br i1 %131, label %85, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %126
br label %132
132: ; preds = %._crit_edge12, %81
store i32 1, ptr %9, align 4
br label %133
133: ; preds = %132, %116
%134 = load i32, ptr %9, align 4
ret i32 %134
}
declare i32 @initialize_single_source(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1
declare i32 @relax(i32 noundef, i32 noundef, double noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!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/tmp6q6bc67h.c'
source_filename = "/tmp/tmp6q6bc67h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcdPuts(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 %13
7: ; preds = %3
%8 = load ptr, ptr %2, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %2, align 8
%10 = load i8, ptr %8, align 1
%11 = sext i8 %10 to i32
%12 = call i32 @lcdPutchar(i32 noundef %11)
br label %3, !llvm.loop !6
13: ; preds = %3
ret void
}
declare i32 @lcdPutchar(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/tmp6q6bc67h.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @lcdPuts(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 %15
.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, i32 1
store ptr %8, ptr %2, align 8
%9 = load i8, ptr %7, align 1
%10 = sext i8 %9 to i32
%11 = call i32 @lcdPutchar(i32 noundef %10)
%12 = load ptr, ptr %2, align 8
%13 = load i8, ptr %12, align 1
%14 = icmp ne i8 %13, 0
br i1 %14, label %6, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %6
br label %15
15: ; preds = %._crit_edge, %1
ret void
}
declare i32 @lcdPutchar(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/tmp4jiilmc6.c'
source_filename = "/tmp/tmp4jiilmc6.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"usage: %s <str>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @revstr(ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @revstr(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp4jiilmc6.c"
target datalayout = "e-m:e-p270: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 [17 x i8] c"usage: %s <str>\0A\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
@.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%7 = load i32, ptr %4, align 4
%8 = icmp ne i32 %7, 2
br i1 %8, label %9, label %17
9: ; preds = %2
%10 = load i32, ptr @stderr, align 4
%11 = load ptr, ptr %5, align 8
%12 = getelementptr inbounds ptr, ptr %11, i64 0
%13 = load ptr, ptr %12, align 8
%14 = call i32 @fprintf(i32 noundef %10, ptr noundef @.str, ptr noundef %13)
%15 = load i32, ptr @EXIT_FAILURE, align 4
%16 = call i32 @exit(i32 noundef %15) #3
unreachable
17: ; preds = %2
%18 = load ptr, ptr %5, align 8
%19 = getelementptr inbounds ptr, ptr %18, i64 1
%20 = load ptr, ptr %19, align 8
store ptr %20, ptr %6, align 8
%21 = load ptr, ptr %6, align 8
%22 = call i32 @revstr(ptr noundef %21)
%23 = load ptr, ptr %6, align 8
%24 = call i32 @printf(ptr noundef @.str.1, ptr noundef %23)
ret i32 0
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @revstr(ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmp3faww9ov.c'
source_filename = "/tmp/tmp3faww9ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upsample_component_linear(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%29 = load i32, ptr %13, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %15, align 8
%32 = alloca float, i64 %30, align 16
store i64 %30, ptr %16, align 8
%33 = load i32, ptr %13, align 4
%34 = zext i32 %33 to i64
%35 = alloca float, i64 %34, align 16
store i64 %34, ptr %17, align 8
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %36, %37
%39 = load i32, ptr %13, align 4
%40 = add nsw i32 %38, %39
%41 = zext i32 %40 to i64
%42 = alloca i8, i64 %41, align 16
store i64 %41, ptr %18, align 8
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
%45 = zext i32 %44 to i64
%46 = alloca i8, i64 %45, align 16
store i64 %45, ptr %19, align 8
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %12, align 4
%49 = add nsw i32 %47, %48
%50 = load i32, ptr %14, align 4
%51 = add nsw i32 %49, %50
%52 = zext i32 %51 to i64
%53 = alloca i8, i64 %52, align 16
store i64 %52, ptr %20, align 8
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
%56 = zext i32 %55 to i64
%57 = alloca i8, i64 %56, align 16
store i64 %56, ptr %21, align 8
%58 = load i32, ptr %14, align 4
%59 = zext i32 %58 to i64
%60 = alloca float, i64 %59, align 16
store i64 %59, ptr %22, align 8
%61 = load i32, ptr %14, align 4
%62 = zext i32 %61 to i64
%63 = alloca float, i64 %62, align 16
store i64 %62, ptr %23, align 8
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %11, align 4
%66 = load i32, ptr %13, align 4
%67 = call i32 @return_downscaled_array_len(i32 noundef %64, i32 noundef %65, i32 noundef %66)
store i32 %67, ptr %24, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %14, align 4
%71 = call i32 @return_downscaled_array_len(i32 noundef %68, i32 noundef %69, i32 noundef %70)
store i32 %71, ptr %25, align 4
%72 = load i32, ptr %13, align 4
%73 = call i32 @build_upsample_pixelprop_table(ptr noundef %32, ptr noundef %35, i32 noundef %72)
%74 = load i32, ptr %14, align 4
%75 = call i32 @build_upsample_pixelprop_table(ptr noundef %60, ptr noundef %63, i32 noundef %74)
%76 = load i32, ptr %13, align 4
%77 = icmp ne i32 %76, 1
br i1 %77, label %81, label %78
78: ; preds = %7
%79 = load i32, ptr %11, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %116
81: ; preds = %78, %7
store i32 0, ptr %26, align 4
br label %82
82: ; preds = %112, %81
%83 = load i32, ptr %26, align 4
%84 = load i32, ptr %25, align 4
%85 = icmp slt i32 %83, %84
br i1 %85, label %86, label %115
86: ; preds = %82
%87 = load ptr, ptr %8, align 8
%88 = load i32, ptr %26, align 4
%89 = load i32, ptr %9, align 4
%90 = mul nsw i32 %88, %89
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %87, i64 %91
store ptr %92, ptr %27, align 8
%93 = load ptr, ptr %27, align 8
%94 = load i32, ptr %24, align 4
%95 = call i32 @memcpy(ptr noundef %46, ptr noundef %93, i32 noundef %94)
%96 = load i32, ptr %24, align 4
%97 = sub nsw i32 %96, 1
%98 = sext i32 %97 to i64
%99 = getelementptr inbounds i8, ptr %46, i64 %98
%100 = load i8, ptr %99, align 1
%101 = load i32, ptr %24, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %46, i64 %102
store i8 %100, ptr %103, align 1
%104 = load i32, ptr %9, align 4
%105 = load i32, ptr %11, align 4
%106 = load i32, ptr %13, align 4
%107 = load i32, ptr %24, align 4
%108 = call i32 @upsample_component_line_linear(ptr noundef %46, ptr noundef %42, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, ptr noundef %32, ptr noundef %35)
%109 = load ptr, ptr %27, align 8
%110 = load i32, ptr %9, align 4
%111 = call i32 @memcpy(ptr noundef %109, ptr noundef %42, i32 noundef %110)
br label %112
112: ; preds = %86
%113 = load i32, ptr %26, align 4
%114 = add nsw i32 %113, 1
store i32 %114, ptr %26, align 4
br label %82, !llvm.loop !6
115: ; preds = %82
br label %116
116: ; preds = %115, %78
%117 = load i32, ptr %14, align 4
%118 = icmp ne i32 %117, 1
br i1 %118, label %122, label %119
119: ; preds = %116
%120 = load i32, ptr %12, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %122, label %187
122: ; preds = %119, %116
store i32 0, ptr %26, align 4
br label %123
123: ; preds = %183, %122
%124 = load i32, ptr %26, align 4
%125 = load i32, ptr %9, align 4
%126 = icmp slt i32 %124, %125
br i1 %126, label %127, label %186
127: ; preds = %123
%128 = load ptr, ptr %8, align 8
%129 = load i32, ptr %26, align 4
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds i8, ptr %128, i64 %130
store ptr %131, ptr %27, align 8
store i32 0, ptr %28, align 4
br label %132
132: ; preds = %147, %127
%133 = load i32, ptr %28, align 4
%134 = load i32, ptr %25, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %136, label %150
136: ; preds = %132
%137 = load ptr, ptr %27, align 8
%138 = load i32, ptr %9, align 4
%139 = load i32, ptr %28, align 4
%140 = mul nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %137, i64 %141
%143 = load i8, ptr %142, align 1
%144 = load i32, ptr %28, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, ptr %57, i64 %145
store i8 %143, ptr %146, align 1
br label %147
147: ; preds = %136
%148 = load i32, ptr %28, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %28, align 4
br label %132, !llvm.loop !8
150: ; preds = %132
%151 = load i32, ptr %25, align 4
%152 = sub nsw i32 %151, 1
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds i8, ptr %57, i64 %153
%155 = load i8, ptr %154, align 1
%156 = load i32, ptr %25, align 4
%157 = sext i32 %156 to i64
%158 = getelementptr inbounds i8, ptr %57, i64 %157
store i8 %155, ptr %158, align 1
%159 = load i32, ptr %10, align 4
%160 = load i32, ptr %12, align 4
%161 = load i32, ptr %14, align 4
%162 = load i32, ptr %25, align 4
%163 = call i32 @upsample_component_line_linear(ptr noundef %57, ptr noundef %53, i32 noundef %159, i32 noundef %160, i32 noundef %161, i32 noundef %162, ptr noundef %60, ptr noundef %63)
store i32 0, ptr %28, align 4
br label %164
164: ; preds = %179, %150
%165 = load i32, ptr %28, align 4
%166 = load i32, ptr %10, align 4
%167 = icmp slt i32 %165, %166
br i1 %167, label %168, label %182
168: ; preds = %164
%169 = load i32, ptr %28, align 4
%170 = sext i32 %169 to i64
%171 = getelementptr inbounds i8, ptr %53, i64 %170
%172 = load i8, ptr %171, align 1
%173 = load ptr, ptr %27, align 8
%174 = load i32, ptr %9, align 4
%175 = load i32, ptr %28, align 4
%176 = mul nsw i32 %174, %175
%177 = sext i32 %176 to i64
%178 = getelementptr inbounds i8, ptr %173, i64 %177
store i8 %172, ptr %178, align 1
br label %179
179: ; preds = %168
%180 = load i32, ptr %28, align 4
%181 = add nsw i32 %180, 1
store i32 %181, ptr %28, align 4
br label %164, !llvm.loop !9
182: ; preds = %164
br label %183
183: ; preds = %182
%184 = load i32, ptr %26, align 4
%185 = add nsw i32 %184, 1
store i32 %185, ptr %26, align 4
br label %123, !llvm.loop !10
186: ; preds = %123
br label %187
187: ; preds = %186, %119
%188 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %188)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @return_downscaled_array_len(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @build_upsample_pixelprop_table(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @upsample_component_line_linear(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3faww9ov.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @upsample_component_linear(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
%15 = alloca ptr, align 8
%16 = alloca i64, align 8
%17 = alloca i64, align 8
%18 = alloca i64, align 8
%19 = alloca i64, align 8
%20 = alloca i64, align 8
%21 = alloca i64, align 8
%22 = alloca i64, align 8
%23 = alloca i64, align 8
%24 = alloca i32, align 4
%25 = alloca i32, align 4
%26 = alloca i32, align 4
%27 = alloca ptr, align 8
%28 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store i32 %1, ptr %9, align 4
store i32 %2, ptr %10, align 4
store i32 %3, ptr %11, align 4
store i32 %4, ptr %12, align 4
store i32 %5, ptr %13, align 4
store i32 %6, ptr %14, align 4
%29 = load i32, ptr %13, align 4
%30 = zext i32 %29 to i64
%31 = call ptr @llvm.stacksave()
store ptr %31, ptr %15, align 8
%32 = alloca float, i64 %30, align 16
store i64 %30, ptr %16, align 8
%33 = load i32, ptr %13, align 4
%34 = zext i32 %33 to i64
%35 = alloca float, i64 %34, align 16
store i64 %34, ptr %17, align 8
%36 = load i32, ptr %9, align 4
%37 = load i32, ptr %11, align 4
%38 = add nsw i32 %36, %37
%39 = load i32, ptr %13, align 4
%40 = add nsw i32 %38, %39
%41 = zext i32 %40 to i64
%42 = alloca i8, i64 %41, align 16
store i64 %41, ptr %18, align 8
%43 = load i32, ptr %9, align 4
%44 = add nsw i32 %43, 1
%45 = zext i32 %44 to i64
%46 = alloca i8, i64 %45, align 16
store i64 %45, ptr %19, align 8
%47 = load i32, ptr %10, align 4
%48 = load i32, ptr %12, align 4
%49 = add nsw i32 %47, %48
%50 = load i32, ptr %14, align 4
%51 = add nsw i32 %49, %50
%52 = zext i32 %51 to i64
%53 = alloca i8, i64 %52, align 16
store i64 %52, ptr %20, align 8
%54 = load i32, ptr %10, align 4
%55 = add nsw i32 %54, 1
%56 = zext i32 %55 to i64
%57 = alloca i8, i64 %56, align 16
store i64 %56, ptr %21, align 8
%58 = load i32, ptr %14, align 4
%59 = zext i32 %58 to i64
%60 = alloca float, i64 %59, align 16
store i64 %59, ptr %22, align 8
%61 = load i32, ptr %14, align 4
%62 = zext i32 %61 to i64
%63 = alloca float, i64 %62, align 16
store i64 %62, ptr %23, align 8
%64 = load i32, ptr %9, align 4
%65 = load i32, ptr %11, align 4
%66 = load i32, ptr %13, align 4
%67 = call i32 @return_downscaled_array_len(i32 noundef %64, i32 noundef %65, i32 noundef %66)
store i32 %67, ptr %24, align 4
%68 = load i32, ptr %10, align 4
%69 = load i32, ptr %12, align 4
%70 = load i32, ptr %14, align 4
%71 = call i32 @return_downscaled_array_len(i32 noundef %68, i32 noundef %69, i32 noundef %70)
store i32 %71, ptr %25, align 4
%72 = load i32, ptr %13, align 4
%73 = call i32 @build_upsample_pixelprop_table(ptr noundef %32, ptr noundef %35, i32 noundef %72)
%74 = load i32, ptr %14, align 4
%75 = call i32 @build_upsample_pixelprop_table(ptr noundef %60, ptr noundef %63, i32 noundef %74)
%76 = load i32, ptr %13, align 4
%77 = icmp ne i32 %76, 1
br i1 %77, label %81, label %78
78: ; preds = %7
%79 = load i32, ptr %11, align 4
%80 = icmp ne i32 %79, 0
br i1 %80, label %81, label %118
81: ; preds = %78, %7
store i32 0, ptr %26, align 4
%82 = load i32, ptr %26, align 4
%83 = load i32, ptr %25, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %.lr.ph, label %117
.lr.ph: ; preds = %81
br label %85
85: ; preds = %.lr.ph, %111
%86 = load ptr, ptr %8, align 8
%87 = load i32, ptr %26, align 4
%88 = load i32, ptr %9, align 4
%89 = mul nsw i32 %87, %88
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds i8, ptr %86, i64 %90
store ptr %91, ptr %27, align 8
%92 = load ptr, ptr %27, align 8
%93 = load i32, ptr %24, align 4
%94 = call i32 @memcpy(ptr noundef %46, ptr noundef %92, i32 noundef %93)
%95 = load i32, ptr %24, align 4
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i8, ptr %46, i64 %97
%99 = load i8, ptr %98, align 1
%100 = load i32, ptr %24, align 4
%101 = sext i32 %100 to i64
%102 = getelementptr inbounds i8, ptr %46, i64 %101
store i8 %99, ptr %102, align 1
%103 = load i32, ptr %9, align 4
%104 = load i32, ptr %11, align 4
%105 = load i32, ptr %13, align 4
%106 = load i32, ptr %24, align 4
%107 = call i32 @upsample_component_line_linear(ptr noundef %46, ptr noundef %42, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, ptr noundef %32, ptr noundef %35)
%108 = load ptr, ptr %27, align 8
%109 = load i32, ptr %9, align 4
%110 = call i32 @memcpy(ptr noundef %108, ptr noundef %42, i32 noundef %109)
br label %111
111: ; preds = %85
%112 = load i32, ptr %26, align 4
%113 = add nsw i32 %112, 1
store i32 %113, ptr %26, align 4
%114 = load i32, ptr %26, align 4
%115 = load i32, ptr %25, align 4
%116 = icmp slt i32 %114, %115
br i1 %116, label %85, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %111
br label %117
117: ; preds = %._crit_edge, %81
br label %118
118: ; preds = %117, %78
%119 = load i32, ptr %14, align 4
%120 = icmp ne i32 %119, 1
br i1 %120, label %124, label %121
121: ; preds = %118
%122 = load i32, ptr %12, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %124, label %195
124: ; preds = %121, %118
store i32 0, ptr %26, align 4
%125 = load i32, ptr %26, align 4
%126 = load i32, ptr %9, align 4
%127 = icmp slt i32 %125, %126
br i1 %127, label %.lr.ph8, label %194
.lr.ph8: ; preds = %124
br label %128
128: ; preds = %.lr.ph8, %188
%129 = load ptr, ptr %8, align 8
%130 = load i32, ptr %26, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i8, ptr %129, i64 %131
store ptr %132, ptr %27, align 8
store i32 0, ptr %28, align 4
%133 = load i32, ptr %28, align 4
%134 = load i32, ptr %25, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %.lr.ph2, label %153
.lr.ph2: ; preds = %128
br label %136
136: ; preds = %.lr.ph2, %147
%137 = load ptr, ptr %27, align 8
%138 = load i32, ptr %9, align 4
%139 = load i32, ptr %28, align 4
%140 = mul nsw i32 %138, %139
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %137, i64 %141
%143 = load i8, ptr %142, align 1
%144 = load i32, ptr %28, align 4
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds i8, ptr %57, i64 %145
store i8 %143, ptr %146, align 1
br label %147
147: ; preds = %136
%148 = load i32, ptr %28, align 4
%149 = add nsw i32 %148, 1
store i32 %149, ptr %28, align 4
%150 = load i32, ptr %28, align 4
%151 = load i32, ptr %25, align 4
%152 = icmp slt i32 %150, %151
br i1 %152, label %136, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %147
br label %153
153: ; preds = %._crit_edge3, %128
%154 = load i32, ptr %25, align 4
%155 = sub nsw i32 %154, 1
%156 = sext i32 %155 to i64
%157 = getelementptr inbounds i8, ptr %57, i64 %156
%158 = load i8, ptr %157, align 1
%159 = load i32, ptr %25, align 4
%160 = sext i32 %159 to i64
%161 = getelementptr inbounds i8, ptr %57, i64 %160
store i8 %158, ptr %161, align 1
%162 = load i32, ptr %10, align 4
%163 = load i32, ptr %12, align 4
%164 = load i32, ptr %14, align 4
%165 = load i32, ptr %25, align 4
%166 = call i32 @upsample_component_line_linear(ptr noundef %57, ptr noundef %53, i32 noundef %162, i32 noundef %163, i32 noundef %164, i32 noundef %165, ptr noundef %60, ptr noundef %63)
store i32 0, ptr %28, align 4
%167 = load i32, ptr %28, align 4
%168 = load i32, ptr %10, align 4
%169 = icmp slt i32 %167, %168
br i1 %169, label %.lr.ph5, label %187
.lr.ph5: ; preds = %153
br label %170
170: ; preds = %.lr.ph5, %181
%171 = load i32, ptr %28, align 4
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds i8, ptr %53, i64 %172
%174 = load i8, ptr %173, align 1
%175 = load ptr, ptr %27, align 8
%176 = load i32, ptr %9, align 4
%177 = load i32, ptr %28, align 4
%178 = mul nsw i32 %176, %177
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds i8, ptr %175, i64 %179
store i8 %174, ptr %180, align 1
br label %181
181: ; preds = %170
%182 = load i32, ptr %28, align 4
%183 = add nsw i32 %182, 1
store i32 %183, ptr %28, align 4
%184 = load i32, ptr %28, align 4
%185 = load i32, ptr %10, align 4
%186 = icmp slt i32 %184, %185
br i1 %186, label %170, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %181
br label %187
187: ; preds = %._crit_edge6, %153
br label %188
188: ; preds = %187
%189 = load i32, ptr %26, align 4
%190 = add nsw i32 %189, 1
store i32 %190, ptr %26, align 4
%191 = load i32, ptr %26, align 4
%192 = load i32, ptr %9, align 4
%193 = icmp slt i32 %191, %192
br i1 %193, label %128, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %188
br label %194
194: ; preds = %._crit_edge9, %124
br label %195
195: ; preds = %194, %121
%196 = load ptr, ptr %15, align 8
call void @llvm.stackrestore(ptr %196)
ret void
}
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave() #1
declare i32 @return_downscaled_array_len(i32 noundef, i32 noundef, i32 noundef) #2
declare i32 @build_upsample_pixelprop_table(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #2
declare i32 @upsample_component_line_linear(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2
; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore(ptr) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
|
; ModuleID = '/tmp/tmph1he0lzs.c'
source_filename = "/tmp/tmph1he0lzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r=%d c=%d sum=%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 %2, align 4
br label %5
5: ; preds = %24, %0
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 3
br i1 %7, label %8, label %27
8: ; preds = %5
store i32 1, ptr %3, align 4
br label %9
9: ; preds = %20, %8
%10 = load i32, ptr %3, align 4
%11 = icmp sle i32 %10, 2
br i1 %11, label %12, label %23
12: ; preds = %9
%13 = load i32, ptr %2, align 4
%14 = load i32, ptr %3, align 4
%15 = add nsw i32 %13, %14
store i32 %15, ptr %4, align 4
%16 = load i32, ptr %2, align 4
%17 = load i32, ptr %3, align 4
%18 = load i32, ptr %4, align 4
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %16, i32 noundef %17, i32 noundef %18)
br label %20
20: ; preds = %12
%21 = load i32, ptr %3, align 4
%22 = add nsw i32 %21, 1
store i32 %22, ptr %3, align 4
br label %9, !llvm.loop !6
23: ; preds = %9
br label %24
24: ; preds = %23
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
br label %5, !llvm.loop !8
27: ; preds = %5
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph1he0lzs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"r=%d c=%d sum=%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 %2, align 4
%5 = load i32, ptr %2, align 4
%6 = icmp sle i32 %5, 3
br i1 %6, label %.lr.ph2, label %29
.lr.ph2: ; preds = %0
br label %7
7: ; preds = %.lr.ph2, %24
store i32 1, ptr %3, align 4
%8 = load i32, ptr %3, align 4
%9 = icmp sle i32 %8, 2
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %7
br label %10
10: ; preds = %.lr.ph, %18
%11 = load i32, ptr %2, align 4
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %11, %12
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %2, align 4
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %4, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %14, i32 noundef %15, i32 noundef %16)
br label %18
18: ; preds = %10
%19 = load i32, ptr %3, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %3, align 4
%21 = load i32, ptr %3, align 4
%22 = icmp sle i32 %21, 2
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %18
br label %23
23: ; preds = %._crit_edge, %7
br label %24
24: ; preds = %23
%25 = load i32, ptr %2, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %2, align 4
%27 = load i32, ptr %2, align 4
%28 = icmp sle i32 %27, 3
br i1 %28, label %7, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %24
br label %29
29: ; preds = %._crit_edge3, %0
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp9pi9ifhc.c'
source_filename = "/tmp/tmp9pi9ifhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [100 x i8] c"Fase de incicializacion.\0A\0APara indicar que el espacio de jugador ser\C3\A1 usado, presionar 'S' o 's'.\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"En caso contrario, presionar 'N' o 'n'.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Jugador %d: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @i_j(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
br label %7
7: ; preds = %28, %1
%8 = load i32, ptr %3, align 4
%9 = icmp slt i32 %8, 5
br i1 %9, label %10, label %31
10: ; preds = %7
%11 = load i32, ptr %3, align 4
%12 = add nsw i32 %11, 1
%13 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %12)
%14 = call signext i8 (...) @getchar()
store i8 %14, ptr %4, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 83
br i1 %16, label %21, label %17
17: ; preds = %10
%18 = load i8, ptr %4, align 1
%19 = sext i8 %18 to i32
%20 = icmp eq i32 %19, 115
br i1 %20, label %21, label %26
21: ; preds = %17, %10
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds i8, ptr %22, i64 %24
store i8 1, ptr %25, align 1
br label %26
26: ; preds = %21, %17
%27 = call signext i8 (...) @getchar()
br label %28
28: ; preds = %26
%29 = load i32, ptr %3, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %3, align 4
br label %7, !llvm.loop !6
31: ; preds = %7
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9pi9ifhc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [100 x i8] c"Fase de incicializacion.\0A\0APara indicar que el espacio de jugador ser\C3\A1 usado, presionar 'S' o 's'.\0A\00", align 1
@.str.1 = private unnamed_addr constant [42 x i8] c"En caso contrario, presionar 'N' o 'n'.\0A\0A\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"Jugador %d: \00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @i_j(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i8, align 1
store ptr %0, ptr %2, align 8
%5 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%6 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
store i32 0, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = icmp slt i32 %7, 5
br i1 %8, label %.lr.ph, label %32
.lr.ph: ; preds = %1
br label %9
9: ; preds = %.lr.ph, %27
%10 = load i32, ptr %3, align 4
%11 = add nsw i32 %10, 1
%12 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %11)
%13 = call signext i8 (...) @getchar()
store i8 %13, ptr %4, align 1
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 83
br i1 %15, label %20, label %16
16: ; preds = %9
%17 = load i8, ptr %4, align 1
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 115
br i1 %19, label %20, label %25
20: ; preds = %16, %9
%21 = load ptr, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds i8, ptr %21, i64 %23
store i8 1, ptr %24, align 1
br label %25
25: ; preds = %20, %16
%26 = call signext i8 (...) @getchar()
br label %27
27: ; preds = %25
%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 = icmp slt i32 %30, 5
br i1 %31, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %1
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare signext i8 @getchar(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmplvr9nb0w.c'
source_filename = "/tmp/tmplvr9nb0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call signext i8 (...) @__VERIFIER_nondet_char()
store i8 %4, ptr %2, align 1
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = sub nsw i32 0, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %2, align 1
br label %13
13: ; preds = %8, %0
%14 = load i8, ptr %2, align 1
store i8 %14, ptr %3, align 1
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = or i32 %16, 128
%18 = trunc i32 %17 to i8
store i8 %18, ptr %2, align 1
%19 = load i8, ptr %3, align 1
%20 = zext i8 %19 to i32
%21 = or i32 %20, 128
%22 = trunc i32 %21 to i8
store i8 %22, ptr %3, align 1
%23 = load i8, ptr %2, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr %3, align 1
%26 = zext i8 %25 to i32
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %29
28: ; preds = %13
br label %44
29: ; preds = %13
%30 = load i8, ptr %2, align 1
%31 = sext i8 %30 to i32
%32 = ashr i32 %31, 1
%33 = trunc i32 %32 to i8
store i8 %33, ptr %2, align 1
%34 = load i8, ptr %3, align 1
%35 = zext i8 %34 to i32
%36 = ashr i32 %35, 1
%37 = trunc i32 %36 to i8
store i8 %37, ptr %3, align 1
%38 = load i8, ptr %2, align 1
%39 = sext i8 %38 to i32
%40 = load i8, ptr %3, align 1
%41 = zext i8 %40 to i32
%42 = icmp eq i32 %39, %41
br i1 %42, label %43, label %45
43: ; preds = %29
br label %44
44: ; preds = %43, %28
store i32 -1, ptr %1, align 4
br label %46
45: ; preds = %29
store i32 0, ptr %1, align 4
br label %46
46: ; preds = %45, %44
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare signext i8 @__VERIFIER_nondet_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplvr9nb0w.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
%3 = alloca i8, align 1
store i32 0, ptr %1, align 4
%4 = call signext i8 (...) @__VERIFIER_nondet_char()
store i8 %4, ptr %2, align 1
%5 = load i8, ptr %2, align 1
%6 = sext i8 %5 to i32
%7 = icmp slt i32 %6, 0
br i1 %7, label %8, label %13
8: ; preds = %0
%9 = load i8, ptr %2, align 1
%10 = sext i8 %9 to i32
%11 = sub nsw i32 0, %10
%12 = trunc i32 %11 to i8
store i8 %12, ptr %2, align 1
br label %13
13: ; preds = %8, %0
%14 = load i8, ptr %2, align 1
store i8 %14, ptr %3, align 1
%15 = load i8, ptr %2, align 1
%16 = sext i8 %15 to i32
%17 = or i32 %16, 128
%18 = trunc i32 %17 to i8
store i8 %18, ptr %2, align 1
%19 = load i8, ptr %3, align 1
%20 = zext i8 %19 to i32
%21 = or i32 %20, 128
%22 = trunc i32 %21 to i8
store i8 %22, ptr %3, align 1
%23 = load i8, ptr %2, align 1
%24 = sext i8 %23 to i32
%25 = load i8, ptr %3, align 1
%26 = zext i8 %25 to i32
%27 = icmp eq i32 %24, %26
br i1 %27, label %28, label %29
28: ; preds = %13
br label %44
29: ; preds = %13
%30 = load i8, ptr %2, align 1
%31 = sext i8 %30 to i32
%32 = ashr i32 %31, 1
%33 = trunc i32 %32 to i8
store i8 %33, ptr %2, align 1
%34 = load i8, ptr %3, align 1
%35 = zext i8 %34 to i32
%36 = ashr i32 %35, 1
%37 = trunc i32 %36 to i8
store i8 %37, ptr %3, align 1
%38 = load i8, ptr %2, align 1
%39 = sext i8 %38 to i32
%40 = load i8, ptr %3, align 1
%41 = zext i8 %40 to i32
%42 = icmp eq i32 %39, %41
br i1 %42, label %43, label %45
43: ; preds = %29
br label %44
44: ; preds = %43, %28
store i32 -1, ptr %1, align 4
br label %46
45: ; preds = %29
store i32 0, ptr %1, align 4
br label %46
46: ; preds = %45, %44
%47 = load i32, ptr %1, align 4
ret i32 %47
}
declare signext i8 @__VERIFIER_nondet_char(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpaajt111g.c'
source_filename = "/tmp/tmpaajt111g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FlashAllUserRegisterGet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @ASSERT(i32 noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @ASSERT(i32 noundef %15)
%17 = load ptr, ptr %7, align 8
%18 = icmp ne ptr %17, null
%19 = zext i1 %18 to i32
%20 = call i32 @ASSERT(i32 noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
%23 = zext i1 %22 to i32
%24 = call i32 @ASSERT(i32 noundef %23)
%25 = load volatile i32, ptr inttoptr (i64 1074782688 to ptr), align 4
%26 = load ptr, ptr %5, align 8
store i32 %25, ptr %26, align 4
%27 = load volatile i32, ptr inttoptr (i64 1074782692 to ptr), align 4
%28 = load ptr, ptr %6, align 8
store i32 %27, ptr %28, align 4
%29 = load volatile i32, ptr inttoptr (i64 1074782696 to ptr), align 4
%30 = load ptr, ptr %7, align 8
store i32 %29, ptr %30, align 4
%31 = load volatile i32, ptr inttoptr (i64 1074782700 to ptr), align 4
%32 = load ptr, ptr %8, align 8
store i32 %31, ptr %32, align 4
ret i32 0
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpaajt111g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @FlashAllUserRegisterGet(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
%9 = load ptr, ptr %5, align 8
%10 = icmp ne ptr %9, null
%11 = zext i1 %10 to i32
%12 = call i32 @ASSERT(i32 noundef %11)
%13 = load ptr, ptr %6, align 8
%14 = icmp ne ptr %13, null
%15 = zext i1 %14 to i32
%16 = call i32 @ASSERT(i32 noundef %15)
%17 = load ptr, ptr %7, align 8
%18 = icmp ne ptr %17, null
%19 = zext i1 %18 to i32
%20 = call i32 @ASSERT(i32 noundef %19)
%21 = load ptr, ptr %8, align 8
%22 = icmp ne ptr %21, null
%23 = zext i1 %22 to i32
%24 = call i32 @ASSERT(i32 noundef %23)
%25 = load volatile i32, ptr inttoptr (i64 1074782688 to ptr), align 4
%26 = load ptr, ptr %5, align 8
store i32 %25, ptr %26, align 4
%27 = load volatile i32, ptr inttoptr (i64 1074782692 to ptr), align 4
%28 = load ptr, ptr %6, align 8
store i32 %27, ptr %28, align 4
%29 = load volatile i32, ptr inttoptr (i64 1074782696 to ptr), align 4
%30 = load ptr, ptr %7, align 8
store i32 %29, ptr %30, align 4
%31 = load volatile i32, ptr inttoptr (i64 1074782700 to ptr), align 4
%32 = load ptr, ptr %8, align 8
store i32 %31, ptr %32, align 4
ret i32 0
}
declare i32 @ASSERT(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7aoubtfm.c'
source_filename = "/tmp/tmp7aoubtfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7aoubtfm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@AF_INET = dso_local global i32 0, align 4
@SOCK_STREAM = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpw1n_pzxj.c'
source_filename = "/tmp/tmpw1n_pzxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"sabs2\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
br label %11
11: ; preds = %41, %0
%12 = load i32, ptr %6, align 4
%13 = icmp sle i32 %12, 6
br i1 %13, label %14, label %44
14: ; preds = %11
%15 = load i32, ptr %6, align 4
%16 = call i32 @pow(i32 noundef 10, i32 noundef %15)
store i32 %16, ptr %5, align 4
%17 = load i32, ptr %6, align 4
%18 = sub nsw i32 %17, 1
%19 = call i32 @pow(i32 noundef 10, i32 noundef %18)
%20 = sdiv i32 10000000, %19
store i32 %20, ptr %4, align 4
store i32 0, ptr %7, align 4
br label %21
21: ; preds = %37, %14
%22 = load i32, ptr %7, align 4
%23 = icmp slt i32 %22, 3
br i1 %23, label %24, label %40
24: ; preds = %21
%25 = load i32, ptr %3, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %3, align 4
%27 = load i32, ptr %5, align 4
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %27)
%29 = load i32, ptr %4, align 4
%30 = load i32, ptr %5, align 4
%31 = call double @benchmark(i32 noundef %29, i32 noundef %30)
store double %31, ptr %2, align 8
%32 = load i32, ptr %4, align 4
%33 = load double, ptr %2, align 8
%34 = call i32 @print_results(i32 noundef %32, double noundef %33)
%35 = load i32, ptr %3, align 4
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %35)
br label %37
37: ; preds = %24
%38 = load i32, ptr %7, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %7, align 4
br label %21, !llvm.loop !6
40: ; preds = %21
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
br label %11, !llvm.loop !8
44: ; preds = %11
%45 = load i32, ptr %3, align 4
%46 = load i32, ptr %3, align 4
%47 = call i32 @print_summary(i32 noundef %45, i32 noundef %46)
%48 = load i32, ptr %1, align 4
ret i32 %48
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpw1n_pzxj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"# c::%s:len=%d\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"sabs2\00", align 1
@.str.2 = private unnamed_addr constant [26 x i8] c"ok %d benchmark finished\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca double, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %1, align 4
%8 = call i32 @time(ptr noundef null)
%9 = call i32 @srand(i32 noundef %8)
%10 = call i32 (...) @print_version()
store i32 0, ptr %3, align 4
store i32 1, ptr %6, align 4
%11 = load i32, ptr %6, align 4
%12 = icmp sle i32 %11, 6
br i1 %12, label %.lr.ph2, label %46
.lr.ph2: ; preds = %0
br label %13
13: ; preds = %.lr.ph2, %41
%14 = load i32, ptr %6, align 4
%15 = call i32 @pow(i32 noundef 10, i32 noundef %14)
store i32 %15, ptr %5, align 4
%16 = load i32, ptr %6, align 4
%17 = sub nsw i32 %16, 1
%18 = call i32 @pow(i32 noundef 10, i32 noundef %17)
%19 = sdiv i32 10000000, %18
store i32 %19, ptr %4, align 4
store i32 0, ptr %7, align 4
%20 = load i32, ptr %7, align 4
%21 = icmp slt i32 %20, 3
br i1 %21, label %.lr.ph, label %40
.lr.ph: ; preds = %13
br label %22
22: ; preds = %.lr.ph, %35
%23 = load i32, ptr %3, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %3, align 4
%25 = load i32, ptr %5, align 4
%26 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %25)
%27 = load i32, ptr %4, align 4
%28 = load i32, ptr %5, align 4
%29 = call double @benchmark(i32 noundef %27, i32 noundef %28)
store double %29, ptr %2, align 8
%30 = load i32, ptr %4, align 4
%31 = load double, ptr %2, align 8
%32 = call i32 @print_results(i32 noundef %30, double noundef %31)
%33 = load i32, ptr %3, align 4
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %33)
br label %35
35: ; preds = %22
%36 = load i32, ptr %7, align 4
%37 = add nsw i32 %36, 1
store i32 %37, ptr %7, align 4
%38 = load i32, ptr %7, align 4
%39 = icmp slt i32 %38, 3
br i1 %39, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %35
br label %40
40: ; preds = %._crit_edge, %13
br label %41
41: ; preds = %40
%42 = load i32, ptr %6, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %6, align 4
%44 = load i32, ptr %6, align 4
%45 = icmp sle i32 %44, 6
br i1 %45, label %13, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %41
br label %46
46: ; preds = %._crit_edge3, %0
%47 = load i32, ptr %3, align 4
%48 = load i32, ptr %3, align 4
%49 = call i32 @print_summary(i32 noundef %47, i32 noundef %48)
%50 = load i32, ptr %1, align 4
ret i32 %50
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i32 @print_version(...) #1
declare i32 @pow(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ...) #1
declare double @benchmark(i32 noundef, i32 noundef) #1
declare i32 @print_results(i32 noundef, double noundef) #1
declare i32 @print_summary(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp0mbaxxvl.c'
source_filename = "/tmp/tmp0mbaxxvl.c"
target datalayout = "e-m:e-p270: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/tmp0mbaxxvl.c"
target datalayout = "e-m:e-p270: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/tmpvxjs0lvp.c'
source_filename = "/tmp/tmpvxjs0lvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_ndarray_set_float64(ptr noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @stdlib_ndarray_get_ptr(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %19
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load double, ptr %7, align 8
%18 = call i32 @stdlib_ndarray_set_ptr_float64(ptr noundef %16, double noundef %17)
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %15, %14
%20 = load i32, ptr %4, align 4
ret i32 %20
}
declare ptr @stdlib_ndarray_get_ptr(ptr noundef, ptr noundef) #1
declare i32 @stdlib_ndarray_set_ptr_float64(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvxjs0lvp.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_ndarray_set_float64(ptr noundef %0, ptr noundef %1, double noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store double %2, ptr %7, align 8
%9 = load ptr, ptr %5, align 8
%10 = load ptr, ptr %6, align 8
%11 = call ptr @stdlib_ndarray_get_ptr(ptr noundef %9, ptr noundef %10)
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %8, align 8
%13 = icmp eq ptr %12, null
br i1 %13, label %14, label %15
14: ; preds = %3
store i32 -1, ptr %4, align 4
br label %19
15: ; preds = %3
%16 = load ptr, ptr %8, align 8
%17 = load double, ptr %7, align 8
%18 = call i32 @stdlib_ndarray_set_ptr_float64(ptr noundef %16, double noundef %17)
store i32 %18, ptr %4, align 4
br label %19
19: ; preds = %15, %14
%20 = load i32, ptr %4, align 4
ret i32 %20
}
declare ptr @stdlib_ndarray_get_ptr(ptr noundef, ptr noundef) #1
declare i32 @stdlib_ndarray_set_ptr_float64(ptr noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps60pgvnx.c'
source_filename = "/tmp/tmps60pgvnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINTMAX_MAX = dso_local global i32 0, align 4
@ERANGE = 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 @wcstoumax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
br label %15
15: ; preds = %20, %3
%16 = load ptr, ptr %5, align 8
%17 = load i8, ptr %16, align 1
%18 = call i64 @isspace(i8 noundef signext %17)
%19 = icmp ne i64 %18, 0
br i1 %19, label %20, label %23
20: ; preds = %15
%21 = load ptr, ptr %5, align 8
%22 = getelementptr inbounds i8, ptr %21, i32 1
store ptr %22, ptr %5, align 8
br label %15, !llvm.loop !6
23: ; preds = %15
%24 = load ptr, ptr %5, align 8
%25 = load i8, ptr %24, align 1
%26 = sext i8 %25 to i32
%27 = icmp eq i32 %26, 45
br i1 %27, label %28, label %31
28: ; preds = %23
store i32 1, ptr %8, align 4
%29 = load ptr, ptr %5, align 8
%30 = getelementptr inbounds i8, ptr %29, i32 1
store ptr %30, ptr %5, align 8
br label %41
31: ; preds = %23
%32 = load ptr, ptr %5, align 8
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 43
br i1 %35, label %36, label %39
36: ; preds = %31
store i32 0, ptr %8, align 4
%37 = load ptr, ptr %5, align 8
%38 = getelementptr inbounds i8, ptr %37, i32 1
store ptr %38, ptr %5, align 8
br label %40
39: ; preds = %31
store i32 0, ptr %8, align 4
br label %40
40: ; preds = %39, %36
br label %41
41: ; preds = %40, %28
%42 = load i32, ptr %7, align 4
%43 = icmp ne i32 %42, 0
br i1 %43, label %67, label %44
44: ; preds = %41
%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, 48
br i1 %48, label %49, label %65
49: ; preds = %44
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %5, align 8
%52 = load i8, ptr %51, align 1
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 88
br i1 %54, label %60, label %55
55: ; preds = %49
%56 = load ptr, ptr %5, align 8
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 120
br i1 %59, label %60, label %63
60: ; preds = %55, %49
store i32 16, ptr %7, align 4
%61 = load ptr, ptr %5, align 8
%62 = getelementptr inbounds i8, ptr %61, i32 1
store ptr %62, ptr %5, align 8
br label %64
63: ; preds = %55
store i32 8, ptr %7, align 4
br label %64
64: ; preds = %63, %60
br label %66
65: ; preds = %44
store i32 10, ptr %7, align 4
br label %66
66: ; preds = %65, %64
br label %93
67: ; preds = %41
%68 = load i32, ptr %7, align 4
%69 = icmp eq i32 %68, 16
br i1 %69, label %70, label %92
70: ; preds = %67
%71 = load ptr, ptr %5, align 8
%72 = getelementptr inbounds i8, ptr %71, i64 0
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
%75 = icmp eq i32 %74, 48
br i1 %75, label %76, label %91
76: ; preds = %70
%77 = load ptr, ptr %5, align 8
%78 = getelementptr inbounds i8, ptr %77, i64 1
%79 = load i8, ptr %78, align 1
%80 = sext i8 %79 to i32
%81 = icmp eq i32 %80, 88
br i1 %81, label %88, label %82
82: ; preds = %76
%83 = load ptr, ptr %5, align 8
%84 = getelementptr inbounds i8, ptr %83, i64 1
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp eq i32 %86, 120
br i1 %87, label %88, label %91
88: ; preds = %82, %76
%89 = load ptr, ptr %5, align 8
%90 = getelementptr inbounds i8, ptr %89, i64 2
store ptr %90, ptr %5, align 8
br label %91
91: ; preds = %88, %82, %70
br label %92
92: ; preds = %91, %67
br label %93
93: ; preds = %92, %66
store i32 0, ptr %9, align 4
%94 = load i32, ptr %7, align 4
store i32 %94, ptr %10, align 4
%95 = load i32, ptr @UINTMAX_MAX, align 4
%96 = load i32, ptr %10, align 4
%97 = sdiv i32 %95, %96
store i32 %97, ptr %11, align 4
%98 = load i32, ptr @UINTMAX_MAX, align 4
%99 = load i32, ptr %10, align 4
%100 = srem i32 %98, %99
store i32 %100, ptr %12, align 4
store i32 0, ptr %13, align 4
br label %101
101: ; preds = %126, %93
%102 = load ptr, ptr %5, align 8
%103 = load i8, ptr %102, align 1
%104 = call i32 @CharToInt(i8 noundef signext %103)
store i32 %104, ptr %14, align 4
%105 = load i32, ptr %7, align 4
%106 = icmp slt i32 %104, %105
br i1 %106, label %107, label %129
107: ; preds = %101
%108 = load i32, ptr %9, align 4
%109 = load i32, ptr %11, align 4
%110 = icmp sgt i32 %108, %109
br i1 %110, label %119, label %111
111: ; preds = %107
%112 = load i32, ptr %9, align 4
%113 = load i32, ptr %11, align 4
%114 = icmp eq i32 %112, %113
br i1 %114, label %115, label %120
115: ; preds = %111
%116 = load i32, ptr %14, align 4
%117 = load i32, ptr %12, align 4
%118 = icmp sgt i32 %116, %117
br i1 %118, label %119, label %120
119: ; preds = %115, %107
store i32 1, ptr %13, align 4
br label %120
120: ; preds = %119, %115, %111
%121 = load i32, ptr %9, align 4
%122 = load i32, ptr %10, align 4
%123 = mul nsw i32 %121, %122
%124 = load i32, ptr %14, align 4
%125 = add nsw i32 %123, %124
store i32 %125, ptr %9, align 4
br label %126
126: ; preds = %120
%127 = load ptr, ptr %5, align 8
%128 = getelementptr inbounds i8, ptr %127, i32 1
store ptr %128, ptr %5, align 8
br label %101, !llvm.loop !8
129: ; preds = %101
%130 = load ptr, ptr %6, align 8
%131 = icmp ne ptr %130, null
br i1 %131, label %132, label %135
132: ; preds = %129
%133 = load ptr, ptr %5, align 8
%134 = load ptr, ptr %6, align 8
store ptr %133, ptr %134, align 8
br label %135
135: ; preds = %132, %129
%136 = load i32, ptr %13, align 4
%137 = icmp ne i32 %136, 0
br i1 %137, label %138, label %141
138: ; preds = %135
%139 = load i32, ptr @ERANGE, align 4
store i32 %139, ptr @errno, align 4
%140 = load i32, ptr @UINTMAX_MAX, align 4
store i32 %140, ptr %4, align 4
br label %151
141: ; preds = %135
%142 = load i32, ptr %8, align 4
%143 = icmp ne i32 %142, 0
br i1 %143, label %144, label %147
144: ; preds = %141
%145 = load i32, ptr %9, align 4
%146 = sub nsw i32 0, %145
br label %149
147: ; preds = %141
%148 = load i32, ptr %9, align 4
br label %149
149: ; preds = %147, %144
%150 = phi i32 [ %146, %144 ], [ %148, %147 ]
store i32 %150, ptr %4, align 4
br label %151
151: ; preds = %149, %138
%152 = load i32, ptr %4, align 4
ret i32 %152
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @CharToInt(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps60pgvnx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@UINTMAX_MAX = dso_local global i32 0, align 4
@ERANGE = 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 @wcstoumax(ptr noalias noundef %0, ptr noalias noundef %1, i32 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i32, align 4
%13 = alloca i32, align 4
%14 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
%15 = load ptr, ptr %5, align 8
%16 = load i8, ptr %15, align 1
%17 = call i64 @isspace(i8 noundef signext %16)
%18 = icmp ne i64 %17, 0
br i1 %18, label %.lr.ph, label %26
.lr.ph: ; preds = %3
br label %19
19: ; preds = %.lr.ph, %19
%20 = load ptr, ptr %5, align 8
%21 = getelementptr inbounds i8, ptr %20, i32 1
store ptr %21, ptr %5, align 8
%22 = load ptr, ptr %5, align 8
%23 = load i8, ptr %22, align 1
%24 = call i64 @isspace(i8 noundef signext %23)
%25 = icmp ne i64 %24, 0
br i1 %25, label %19, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %19
br label %26
26: ; preds = %._crit_edge, %3
%27 = load ptr, ptr %5, align 8
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 45
br i1 %30, label %31, label %34
31: ; preds = %26
store i32 1, ptr %8, align 4
%32 = load ptr, ptr %5, align 8
%33 = getelementptr inbounds i8, ptr %32, i32 1
store ptr %33, ptr %5, align 8
br label %44
34: ; preds = %26
%35 = load ptr, ptr %5, align 8
%36 = load i8, ptr %35, align 1
%37 = sext i8 %36 to i32
%38 = icmp eq i32 %37, 43
br i1 %38, label %39, label %42
39: ; preds = %34
store i32 0, ptr %8, align 4
%40 = load ptr, ptr %5, align 8
%41 = getelementptr inbounds i8, ptr %40, i32 1
store ptr %41, ptr %5, align 8
br label %43
42: ; preds = %34
store i32 0, ptr %8, align 4
br label %43
43: ; preds = %42, %39
br label %44
44: ; preds = %43, %31
%45 = load i32, ptr %7, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %70, label %47
47: ; preds = %44
%48 = load ptr, ptr %5, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp eq i32 %50, 48
br i1 %51, label %52, label %68
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i32 1
store ptr %54, ptr %5, align 8
%55 = load i8, ptr %54, align 1
%56 = sext i8 %55 to i32
%57 = icmp eq i32 %56, 88
br i1 %57, label %63, label %58
58: ; preds = %52
%59 = load ptr, ptr %5, align 8
%60 = load i8, ptr %59, align 1
%61 = sext i8 %60 to i32
%62 = icmp eq i32 %61, 120
br i1 %62, label %63, label %66
63: ; preds = %58, %52
store i32 16, ptr %7, align 4
%64 = load ptr, ptr %5, align 8
%65 = getelementptr inbounds i8, ptr %64, i32 1
store ptr %65, ptr %5, align 8
br label %67
66: ; preds = %58
store i32 8, ptr %7, align 4
br label %67
67: ; preds = %66, %63
br label %69
68: ; preds = %47
store i32 10, ptr %7, align 4
br label %69
69: ; preds = %68, %67
br label %96
70: ; preds = %44
%71 = load i32, ptr %7, align 4
%72 = icmp eq i32 %71, 16
br i1 %72, label %73, label %95
73: ; preds = %70
%74 = load ptr, ptr %5, align 8
%75 = getelementptr inbounds i8, ptr %74, i64 0
%76 = load i8, ptr %75, align 1
%77 = sext i8 %76 to i32
%78 = icmp eq i32 %77, 48
br i1 %78, label %79, label %94
79: ; preds = %73
%80 = load ptr, ptr %5, align 8
%81 = getelementptr inbounds i8, ptr %80, i64 1
%82 = load i8, ptr %81, align 1
%83 = sext i8 %82 to i32
%84 = icmp eq i32 %83, 88
br i1 %84, label %91, label %85
85: ; preds = %79
%86 = load ptr, ptr %5, align 8
%87 = getelementptr inbounds i8, ptr %86, i64 1
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp eq i32 %89, 120
br i1 %90, label %91, label %94
91: ; preds = %85, %79
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 2
store ptr %93, ptr %5, align 8
br label %94
94: ; preds = %91, %85, %73
br label %95
95: ; preds = %94, %70
br label %96
96: ; preds = %95, %69
store i32 0, ptr %9, align 4
%97 = load i32, ptr %7, align 4
store i32 %97, ptr %10, align 4
%98 = load i32, ptr @UINTMAX_MAX, align 4
%99 = load i32, ptr %10, align 4
%100 = sdiv i32 %98, %99
store i32 %100, ptr %11, align 4
%101 = load i32, ptr @UINTMAX_MAX, align 4
%102 = load i32, ptr %10, align 4
%103 = srem i32 %101, %102
store i32 %103, ptr %12, align 4
store i32 0, ptr %13, align 4
%104 = load ptr, ptr %5, align 8
%105 = load i8, ptr %104, align 1
%106 = call i32 @CharToInt(i8 noundef signext %105)
store i32 %106, ptr %14, align 4
%107 = load i32, ptr %7, align 4
%108 = icmp slt i32 %106, %107
br i1 %108, label %.lr.ph2, label %136
.lr.ph2: ; preds = %96
br label %109
109: ; preds = %.lr.ph2, %128
%110 = load i32, ptr %9, align 4
%111 = load i32, ptr %11, align 4
%112 = icmp sgt i32 %110, %111
br i1 %112, label %121, label %113
113: ; preds = %109
%114 = load i32, ptr %9, align 4
%115 = load i32, ptr %11, align 4
%116 = icmp eq i32 %114, %115
br i1 %116, label %117, label %122
117: ; preds = %113
%118 = load i32, ptr %14, align 4
%119 = load i32, ptr %12, align 4
%120 = icmp sgt i32 %118, %119
br i1 %120, label %121, label %122
121: ; preds = %117, %109
store i32 1, ptr %13, align 4
br label %122
122: ; preds = %121, %117, %113
%123 = load i32, ptr %9, align 4
%124 = load i32, ptr %10, align 4
%125 = mul nsw i32 %123, %124
%126 = load i32, ptr %14, align 4
%127 = add nsw i32 %125, %126
store i32 %127, ptr %9, align 4
br label %128
128: ; preds = %122
%129 = load ptr, ptr %5, align 8
%130 = getelementptr inbounds i8, ptr %129, i32 1
store ptr %130, ptr %5, align 8
%131 = load ptr, ptr %5, align 8
%132 = load i8, ptr %131, align 1
%133 = call i32 @CharToInt(i8 noundef signext %132)
store i32 %133, ptr %14, align 4
%134 = load i32, ptr %7, align 4
%135 = icmp slt i32 %133, %134
br i1 %135, label %109, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %128
br label %136
136: ; preds = %._crit_edge3, %96
%137 = load ptr, ptr %6, align 8
%138 = icmp ne ptr %137, null
br i1 %138, label %139, label %142
139: ; preds = %136
%140 = load ptr, ptr %5, align 8
%141 = load ptr, ptr %6, align 8
store ptr %140, ptr %141, align 8
br label %142
142: ; preds = %139, %136
%143 = load i32, ptr %13, align 4
%144 = icmp ne i32 %143, 0
br i1 %144, label %145, label %148
145: ; preds = %142
%146 = load i32, ptr @ERANGE, align 4
store i32 %146, ptr @errno, align 4
%147 = load i32, ptr @UINTMAX_MAX, align 4
store i32 %147, ptr %4, align 4
br label %158
148: ; preds = %142
%149 = load i32, ptr %8, align 4
%150 = icmp ne i32 %149, 0
br i1 %150, label %151, label %154
151: ; preds = %148
%152 = load i32, ptr %9, align 4
%153 = sub nsw i32 0, %152
br label %156
154: ; preds = %148
%155 = load i32, ptr %9, align 4
br label %156
156: ; preds = %154, %151
%157 = phi i32 [ %153, %151 ], [ %155, %154 ]
store i32 %157, ptr %4, align 4
br label %158
158: ; preds = %156, %145
%159 = load i32, ptr %4, align 4
ret i32 %159
}
declare i64 @isspace(i8 noundef signext) #1
declare i32 @CharToInt(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpiucwlop3.c'
source_filename = "/tmp/tmpiucwlop3.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readint(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
br label %6
6: ; preds = %1, %32
%7 = load ptr, ptr %3, align 8
%8 = call i32 @getc(ptr noundef %7)
store i32 %8, ptr %4, align 4
%9 = load i32, ptr %4, align 4
%10 = call i64 @isdigit(i32 noundef %9)
%11 = icmp ne i64 %10, 0
br i1 %11, label %12, label %16
12: ; preds = %6
%13 = load i32, ptr %4, align 4
%14 = load ptr, ptr %3, align 8
%15 = call i32 @ungetc(i32 noundef %13, ptr noundef %14)
br label %33
16: ; preds = %6
%17 = load i32, ptr %4, align 4
%18 = icmp eq i32 %17, 35
br i1 %18, label %19, label %27
19: ; preds = %16
br label %20
20: ; preds = %23, %19
%21 = load i32, ptr %4, align 4
%22 = icmp sge i32 %21, 32
br i1 %22, label %23, label %26
23: ; preds = %20
%24 = load ptr, ptr %3, align 8
%25 = call i32 @getc(ptr noundef %24)
store i32 %25, ptr %4, align 4
br label %20, !llvm.loop !6
26: ; preds = %20
br label %27
27: ; preds = %26, %16
%28 = load i32, ptr %4, align 4
%29 = load i32, ptr @EOF, align 4
%30 = icmp eq i32 %28, %29
br i1 %30, label %31, label %32
31: ; preds = %27
store i32 -1, ptr %2, align 4
br label %37
32: ; preds = %27
br label %6
33: ; preds = %12
%34 = load ptr, ptr %3, align 8
%35 = call i32 @fscanf(ptr noundef %34, ptr noundef @.str, ptr noundef %5)
%36 = load i32, ptr %5, align 4
store i32 %36, ptr %2, align 4
br label %37
37: ; preds = %33, %31
%38 = load i32, ptr %2, align 4
ret i32 %38
}
declare i32 @getc(ptr noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpiucwlop3.c"
target datalayout = "e-m:e-p270: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
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @readint(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
%6 = load ptr, ptr %3, align 8
%7 = call i32 @getc(ptr noundef %6)
store i32 %7, ptr %4, align 4
%8 = load i32, ptr %4, align 4
%9 = call i64 @isdigit(i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %17, label %.lr.ph2
.lr.ph2: ; preds = %1
br label %21
11: ; preds = %33
%12 = load ptr, ptr %3, align 8
%13 = call i32 @getc(ptr noundef %12)
store i32 %13, ptr %4, align 4
%14 = load i32, ptr %4, align 4
%15 = call i64 @isdigit(i32 noundef %14)
%16 = icmp ne i64 %15, 0
br i1 %16, label %._crit_edge3, label %21
._crit_edge3: ; preds = %11
br label %17
17: ; preds = %._crit_edge3, %1
%18 = load i32, ptr %4, align 4
%19 = load ptr, ptr %3, align 8
%20 = call i32 @ungetc(i32 noundef %18, ptr noundef %19)
br label %38
21: ; preds = %.lr.ph2, %11
%22 = load i32, ptr %4, align 4
%23 = icmp eq i32 %22, 35
br i1 %23, label %24, label %33
24: ; preds = %21
%25 = load i32, ptr %4, align 4
%26 = icmp sge i32 %25, 32
br i1 %26, label %.lr.ph, label %32
.lr.ph: ; preds = %24
br label %27
27: ; preds = %.lr.ph, %27
%28 = load ptr, ptr %3, align 8
%29 = call i32 @getc(ptr noundef %28)
store i32 %29, ptr %4, align 4
%30 = load i32, ptr %4, align 4
%31 = icmp sge i32 %30, 32
br i1 %31, label %27, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %27
br label %32
32: ; preds = %._crit_edge, %24
br label %33
33: ; preds = %32, %21
%34 = load i32, ptr %4, align 4
%35 = load i32, ptr @EOF, align 4
%36 = icmp eq i32 %34, %35
br i1 %36, label %37, label %11
37: ; preds = %33
store i32 -1, ptr %2, align 4
br label %42
38: ; preds = %17
%39 = load ptr, ptr %3, align 8
%40 = call i32 @fscanf(ptr noundef %39, ptr noundef @.str, ptr noundef %5)
%41 = load i32, ptr %5, align 4
store i32 %41, ptr %2, align 4
br label %42
42: ; preds = %38, %37
%43 = load i32, ptr %2, align 4
ret i32 %43
}
declare i32 @getc(ptr noundef) #1
declare i64 @isdigit(i32 noundef) #1
declare i32 @ungetc(i32 noundef, ptr noundef) #1
declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.