llvm-ir
stringlengths 479
303k
| llvm-optimized-ir
stringlengths 468
303k
|
---|---|
; ModuleID = '/tmp/tmps4m6af2g.c'
source_filename = "/tmp/tmps4m6af2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 9, ptr %9, align 1
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %9, align 1
br label %18
18: ; preds = %12, %2
br label %19
19: ; preds = %43, %18
%20 = call i32 (...) @getchar()
store i32 %20, ptr %6, align 4
%21 = load i32, ptr @EOF, align 4
%22 = icmp ne i32 %20, %21
br i1 %22, label %23, label %44
23: ; preds = %19
%24 = load i32, ptr %6, align 4
%25 = icmp eq i32 %24, 32
br i1 %25, label %26, label %31
26: ; preds = %23
%27 = load i32, ptr %7, align 4
%28 = add nsw i32 %27, 1
store i32 %28, ptr %7, align 4
%29 = load i32, ptr %8, align 4
%30 = add nsw i32 %29, 1
store i32 %30, ptr %8, align 4
br label %43
31: ; preds = %23
%32 = load i32, ptr %6, align 4
%33 = icmp ne i32 %32, 10
br i1 %33, label %34, label %39
34: ; preds = %31
%35 = load i32, ptr %8, align 4
%36 = load i32, ptr %7, align 4
%37 = load i8, ptr %9, align 1
%38 = call i32 @print_blank_with_tab(i32 noundef %35, i32 noundef %36, i32 noundef 8, i8 noundef signext %37)
br label %40
39: ; preds = %31
store i32 0, ptr %8, align 4
br label %40
40: ; preds = %39, %34
%41 = load i32, ptr %6, align 4
%42 = call i32 @putchar(i32 noundef %41)
store i32 0, ptr %7, align 4
br label %43
43: ; preds = %40, %26
br label %19, !llvm.loop !6
44: ; preds = %19
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @print_blank_with_tab(i32 noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps4m6af2g.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EOF = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
store i8 9, ptr %9, align 1
store i32 0, ptr %7, align 4
store i32 0, ptr %8, align 4
%10 = load i32, ptr %4, align 4
%11 = icmp sgt i32 %10, 1
br i1 %11, label %12, label %18
12: ; preds = %2
%13 = load ptr, ptr %5, align 8
%14 = getelementptr inbounds ptr, ptr %13, i64 1
%15 = load ptr, ptr %14, align 8
%16 = getelementptr inbounds i8, ptr %15, i64 0
%17 = load i8, ptr %16, align 1
store i8 %17, ptr %9, align 1
br label %18
18: ; preds = %12, %2
%19 = call i32 (...) @getchar()
store i32 %19, ptr %6, align 4
%20 = load i32, ptr @EOF, align 4
%21 = icmp ne i32 %19, %20
br i1 %21, label %.lr.ph, label %46
.lr.ph: ; preds = %18
br label %22
22: ; preds = %.lr.ph, %42
%23 = load i32, ptr %6, align 4
%24 = icmp eq i32 %23, 32
br i1 %24, label %25, label %30
25: ; preds = %22
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %7, align 4
%28 = load i32, ptr %8, align 4
%29 = add nsw i32 %28, 1
store i32 %29, ptr %8, align 4
br label %42
30: ; preds = %22
%31 = load i32, ptr %6, align 4
%32 = icmp ne i32 %31, 10
br i1 %32, label %33, label %38
33: ; preds = %30
%34 = load i32, ptr %8, align 4
%35 = load i32, ptr %7, align 4
%36 = load i8, ptr %9, align 1
%37 = call i32 @print_blank_with_tab(i32 noundef %34, i32 noundef %35, i32 noundef 8, i8 noundef signext %36)
br label %39
38: ; preds = %30
store i32 0, ptr %8, align 4
br label %39
39: ; preds = %38, %33
%40 = load i32, ptr %6, align 4
%41 = call i32 @putchar(i32 noundef %40)
store i32 0, ptr %7, align 4
br label %42
42: ; preds = %39, %25
%43 = call i32 (...) @getchar()
store i32 %43, ptr %6, align 4
%44 = load i32, ptr @EOF, align 4
%45 = icmp ne i32 %43, %44
br i1 %45, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %42
br label %46
46: ; preds = %._crit_edge, %18
ret i32 0
}
declare i32 @getchar(...) #1
declare i32 @print_blank_with_tab(i32 noundef, i32 noundef, i32 noundef, i8 noundef signext) #1
declare i32 @putchar(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpdspyb8y4.c'
source_filename = "/tmp/tmpdspyb8y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gain_root_group_privilege() #0 {
%1 = call i32 @setgid(i32 noundef 0)
%2 = call i32 @assert_gid(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @setgid(i32 noundef) #1
declare i32 @assert_gid(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/tmpdspyb8y4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @gain_root_group_privilege() #0 {
%1 = call i32 @setgid(i32 noundef 0)
%2 = call i32 @assert_gid(i32 noundef 0, i32 noundef 0)
ret void
}
declare i32 @setgid(i32 noundef) #1
declare i32 @assert_gid(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/tmpxtcofc5y.c'
source_filename = "/tmp/tmpxtcofc5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @days(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %17, label %14
14: ; preds = %4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %22
17: ; preds = %14, %4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 12
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %17, %14
%23 = load i32, ptr %5, align 4
%24 = sdiv i32 %23, 100
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = sub nsw i32 2, %25
%27 = load i32, ptr %9, align 4
%28 = sdiv i32 %27, 4
%29 = add nsw i32 %26, %28
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 4716
%32 = sitofp i32 %31 to double
%33 = fmul double 3.652500e+02, %32
%34 = call i32 @floor(double noundef %33)
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
%37 = sitofp i32 %36 to double
%38 = fmul double 3.060010e+01, %37
%39 = call i32 @floor(double noundef %38)
%40 = add nsw i32 %34, %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %40, %41
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %42, %43
%45 = sitofp i32 %44 to double
%46 = fsub double %45, 1.524500e+03
%47 = fsub double %46, 0x4142B42C80000000
%48 = load double, ptr %8, align 8
%49 = fdiv double %48, 2.400000e+01
%50 = fadd double %47, %49
store double %50, ptr %11, align 8
%51 = load double, ptr %11, align 8
ret double %51
}
declare i32 @floor(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/tmpxtcofc5y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @days(i32 noundef %0, i32 noundef %1, i32 noundef %2, double noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca double, align 8
%9 = alloca i32, align 4
%10 = alloca i32, align 4
%11 = alloca double, align 8
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store double %3, ptr %8, align 8
%12 = load i32, ptr %6, align 4
%13 = icmp eq i32 %12, 1
br i1 %13, label %17, label %14
14: ; preds = %4
%15 = load i32, ptr %6, align 4
%16 = icmp eq i32 %15, 2
br i1 %16, label %17, label %22
17: ; preds = %14, %4
%18 = load i32, ptr %6, align 4
%19 = add nsw i32 %18, 12
store i32 %19, ptr %6, align 4
%20 = load i32, ptr %5, align 4
%21 = sub nsw i32 %20, 1
store i32 %21, ptr %5, align 4
br label %22
22: ; preds = %17, %14
%23 = load i32, ptr %5, align 4
%24 = sdiv i32 %23, 100
store i32 %24, ptr %9, align 4
%25 = load i32, ptr %9, align 4
%26 = sub nsw i32 2, %25
%27 = load i32, ptr %9, align 4
%28 = sdiv i32 %27, 4
%29 = add nsw i32 %26, %28
store i32 %29, ptr %10, align 4
%30 = load i32, ptr %5, align 4
%31 = add nsw i32 %30, 4716
%32 = sitofp i32 %31 to double
%33 = fmul double 3.652500e+02, %32
%34 = call i32 @floor(double noundef %33)
%35 = load i32, ptr %6, align 4
%36 = add nsw i32 %35, 1
%37 = sitofp i32 %36 to double
%38 = fmul double 3.060010e+01, %37
%39 = call i32 @floor(double noundef %38)
%40 = add nsw i32 %34, %39
%41 = load i32, ptr %7, align 4
%42 = add nsw i32 %40, %41
%43 = load i32, ptr %10, align 4
%44 = add nsw i32 %42, %43
%45 = sitofp i32 %44 to double
%46 = fsub double %45, 1.524500e+03
%47 = fsub double %46, 0x4142B42C80000000
%48 = load double, ptr %8, align 8
%49 = fdiv double %48, 2.400000e+01
%50 = fadd double %47, %49
store double %50, ptr %11, align 8
%51 = load double, ptr %11, align 8
ret double %51
}
declare i32 @floor(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/tmp90uh55km.c'
source_filename = "/tmp/tmp90uh55km.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@main.long_options = internal global [2 x %struct.option] [%struct.option { ptr @.str, i8 -128, i32 0, i32 97 }, %struct.option zeroinitializer], align 16
@.str = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a:\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"-name %s\0A\00", align 1
@optarg = dso_local global ptr null, align 8
@optind = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [20 x i8] c"Remaining arg: %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 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 %7, align 4
store i32 0, ptr %8, align 4
br label %9
9: ; preds = %21, %2
%10 = load i32, ptr %4, align 4
%11 = load ptr, ptr %5, align 8
%12 = call i32 @getopt_long_only(i32 noundef %10, ptr noundef %11, ptr noundef @.str.1, ptr noundef @main.long_options, ptr noundef %8)
store i32 %12, ptr %6, align 4
%13 = icmp ne i32 %12, -1
br i1 %13, label %14, label %22
14: ; preds = %9
%15 = load i32, ptr %6, align 4
switch i32 %15, label %21 [
i32 97, label %16
i32 63, label %19
]
16: ; preds = %14
%17 = load ptr, ptr @optarg, align 8
%18 = call i32 @printf(ptr noundef @.str.2, ptr noundef %17)
br label %21
19: ; preds = %14
%20 = call i32 (...) @error()
br label %21
21: ; preds = %19, %14, %16
br label %9, !llvm.loop !6
22: ; preds = %9
%23 = load i64, ptr @optind, align 8
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds ptr, ptr %24, i64 %23
store ptr %25, ptr %5, align 8
%26 = load i64, ptr @optind, align 8
%27 = load i32, ptr %4, align 4
%28 = sext i32 %27 to i64
%29 = sub nsw i64 %28, %26
%30 = trunc i64 %29 to i32
store i32 %30, ptr %4, align 4
br label %31
31: ; preds = %35, %22
%32 = load i32, ptr %7, align 4
%33 = load i32, ptr %4, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %43
35: ; preds = %31
%36 = load ptr, ptr %5, align 8
%37 = load i32, ptr %7, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %7, align 4
%39 = sext i32 %37 to i64
%40 = getelementptr inbounds ptr, ptr %36, i64 %39
%41 = load ptr, ptr %40, align 8
%42 = call i32 @printf(ptr noundef @.str.3, ptr noundef %41)
br label %31, !llvm.loop !8
43: ; preds = %31
ret i32 0
}
declare i32 @getopt_long_only(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp90uh55km.c"
target datalayout = "e-m:e-p270: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.option = type { ptr, i8, i32, i32 }
@main.long_options = internal global [2 x %struct.option] [%struct.option { ptr @.str, i8 -128, i32 0, i32 97 }, %struct.option zeroinitializer], align 16
@.str = private unnamed_addr constant [5 x i8] c"name\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"a:\00", align 1
@.str.2 = private unnamed_addr constant [10 x i8] c"-name %s\0A\00", align 1
@optarg = dso_local global ptr null, align 8
@optind = dso_local global i64 0, align 8
@.str.3 = private unnamed_addr constant [20 x i8] c"Remaining arg: %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 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 %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %4, align 4
%10 = load ptr, ptr %5, align 8
%11 = call i32 @getopt_long_only(i32 noundef %9, ptr noundef %10, ptr noundef @.str.1, ptr noundef @main.long_options, ptr noundef %8)
store i32 %11, ptr %6, align 4
%12 = icmp ne i32 %11, -1
br i1 %12, label %.lr.ph, label %25
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %20
%14 = load i32, ptr %6, align 4
switch i32 %14, label %20 [
i32 97, label %15
i32 63, label %18
]
15: ; preds = %13
%16 = load ptr, ptr @optarg, align 8
%17 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16)
br label %20
18: ; preds = %13
%19 = call i32 (...) @error()
br label %20
20: ; preds = %18, %15, %13
%21 = load i32, ptr %4, align 4
%22 = load ptr, ptr %5, align 8
%23 = call i32 @getopt_long_only(i32 noundef %21, ptr noundef %22, ptr noundef @.str.1, ptr noundef @main.long_options, ptr noundef %8)
store i32 %23, ptr %6, align 4
%24 = icmp ne i32 %23, -1
br i1 %24, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %20
br label %25
25: ; preds = %._crit_edge, %2
%26 = load i64, ptr @optind, align 8
%27 = load ptr, ptr %5, align 8
%28 = getelementptr inbounds ptr, ptr %27, i64 %26
store ptr %28, ptr %5, align 8
%29 = load i64, ptr @optind, align 8
%30 = load i32, ptr %4, align 4
%31 = sext i32 %30 to i64
%32 = sub nsw i64 %31, %29
%33 = trunc i64 %32 to i32
store i32 %33, ptr %4, align 4
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr %4, align 4
%36 = icmp slt i32 %34, %35
br i1 %36, label %.lr.ph2, label %48
.lr.ph2: ; preds = %25
br label %37
37: ; preds = %.lr.ph2, %37
%38 = load ptr, ptr %5, align 8
%39 = load i32, ptr %7, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %7, align 4
%41 = sext i32 %39 to i64
%42 = getelementptr inbounds ptr, ptr %38, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = call i32 @printf(ptr noundef @.str.3, ptr noundef %43)
%45 = load i32, ptr %7, align 4
%46 = load i32, ptr %4, align 4
%47 = icmp slt i32 %45, %46
br i1 %47, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %48
48: ; preds = %._crit_edge3, %25
ret i32 0
}
declare i32 @getopt_long_only(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @error(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp6nhdiuz7.c'
source_filename = "/tmp/tmp6nhdiuz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__cyg_profile_func_exit(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 (...) @abort() #2
unreachable
9: ; preds = %2
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6nhdiuz7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @__cyg_profile_func_exit(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %4, align 8
%6 = icmp eq ptr %5, null
br i1 %6, label %7, label %9
7: ; preds = %2
%8 = call i32 (...) @abort() #2
unreachable
9: ; preds = %2
ret void
}
; Function Attrs: noreturn
declare i32 @abort(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplvngc6k3.c'
source_filename = "/tmp/tmplvngc6k3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findlevel(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 4
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %15, align 8
store i32 0, ptr %16, align 4
br label %31
31: ; preds = %52, %7
%32 = load i32, ptr %16, align 4
%33 = load i32, ptr %11, align 4
%34 = icmp slt i32 %32, %33
br i1 %34, label %35, label %55
35: ; preds = %31
%36 = load ptr, ptr %10, align 8
%37 = load i32, ptr %16, align 4
%38 = add nsw i32 %37, 1
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %36, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load ptr, ptr %10, align 8
%43 = load i32, ptr %16, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i32, ptr %42, i64 %44
%46 = load i32, ptr %45, align 4
%47 = sub nsw i32 %41, %46
%48 = load ptr, ptr %15, align 8
%49 = load i32, ptr %16, align 4
%50 = sext i32 %49 to i64
%51 = getelementptr inbounds i32, ptr %48, i64 %50
store i32 %47, ptr %51, align 4
br label %52
52: ; preds = %35
%53 = load i32, ptr %16, align 4
%54 = add nsw i32 %53, 1
store i32 %54, ptr %16, align 4
br label %31, !llvm.loop !6
55: ; preds = %31
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
%56 = load ptr, ptr %13, align 8
%57 = getelementptr inbounds i32, ptr %56, i64 0
store i32 0, ptr %57, align 4
store i32 0, ptr %19, align 4
br label %58
58: ; preds = %78, %55
%59 = load i32, ptr %19, align 4
%60 = load i32, ptr %11, align 4
%61 = icmp slt i32 %59, %60
br i1 %61, label %62, label %81
62: ; preds = %58
%63 = load ptr, ptr %15, align 8
%64 = load i32, ptr %19, align 4
%65 = sext i32 %64 to i64
%66 = getelementptr inbounds i32, ptr %63, i64 %65
%67 = load i32, ptr %66, align 4
%68 = icmp eq i32 %67, 1
br i1 %68, label %69, label %77
69: ; preds = %62
%70 = load i32, ptr %19, align 4
%71 = load ptr, ptr %14, align 8
%72 = load i32, ptr %18, align 4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds i32, ptr %71, i64 %73
store i32 %70, ptr %74, align 4
%75 = load i32, ptr %18, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %18, align 4
br label %77
77: ; preds = %69, %62
br label %78
78: ; preds = %77
%79 = load i32, ptr %19, align 4
%80 = add nsw i32 %79, 1
store i32 %80, ptr %19, align 4
br label %58, !llvm.loop !8
81: ; preds = %58
%82 = load i32, ptr %18, align 4
%83 = load ptr, ptr %13, align 8
%84 = getelementptr inbounds i32, ptr %83, i64 1
store i32 %82, ptr %84, align 4
store i32 1, ptr %20, align 4
br label %85
85: ; preds = %162, %81
%86 = load ptr, ptr %13, align 8
%87 = load i32, ptr %20, align 4
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds i32, ptr %86, i64 %88
%90 = load i32, ptr %89, align 4
%91 = load i32, ptr %11, align 4
%92 = icmp ne i32 %90, %91
br i1 %92, label %93, label %170
93: ; preds = %85
%94 = load ptr, ptr %13, align 8
%95 = load i32, ptr %20, align 4
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds i32, ptr %94, i64 %97
%99 = load i32, ptr %98, align 4
store i32 %99, ptr %21, align 4
br label %100
100: ; preds = %159, %93
%101 = load i32, ptr %21, align 4
%102 = load ptr, ptr %13, align 8
%103 = load i32, ptr %20, align 4
%104 = sext i32 %103 to i64
%105 = getelementptr inbounds i32, ptr %102, i64 %104
%106 = load i32, ptr %105, align 4
%107 = icmp slt i32 %101, %106
br i1 %107, label %108, label %162
108: ; preds = %100
%109 = load ptr, ptr %14, align 8
%110 = load i32, ptr %21, align 4
%111 = sext i32 %110 to i64
%112 = getelementptr inbounds i32, ptr %109, i64 %111
%113 = load i32, ptr %112, align 4
store i32 %113, ptr %22, align 4
%114 = load ptr, ptr %8, align 8
%115 = load i32, ptr %22, 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 %23, align 4
br label %119
119: ; preds = %155, %108
%120 = load i32, ptr %23, align 4
%121 = load ptr, ptr %8, align 8
%122 = load i32, ptr %22, align 4
%123 = add nsw i32 %122, 1
%124 = sext i32 %123 to i64
%125 = getelementptr inbounds i32, ptr %121, i64 %124
%126 = load i32, ptr %125, align 4
%127 = icmp slt i32 %120, %126
br i1 %127, label %128, label %158
128: ; preds = %119
%129 = load ptr, ptr %9, align 8
%130 = load i32, ptr %23, align 4
%131 = sext i32 %130 to i64
%132 = getelementptr inbounds i32, ptr %129, i64 %131
%133 = load i32, ptr %132, align 4
store i32 %133, ptr %24, align 4
%134 = load ptr, ptr %15, align 8
%135 = load i32, ptr %24, align 4
%136 = sext i32 %135 to i64
%137 = getelementptr inbounds i32, ptr %134, i64 %136
%138 = load i32, ptr %137, align 4
%139 = add nsw i32 %138, -1
store i32 %139, ptr %137, align 4
%140 = load ptr, ptr %15, align 8
%141 = load i32, ptr %24, align 4
%142 = sext i32 %141 to i64
%143 = getelementptr inbounds i32, ptr %140, i64 %142
%144 = load i32, ptr %143, align 4
%145 = icmp eq i32 %144, 1
br i1 %145, label %146, label %154
146: ; preds = %128
%147 = load i32, ptr %24, align 4
%148 = load ptr, ptr %14, align 8
%149 = load i32, ptr %18, align 4
%150 = sext i32 %149 to i64
%151 = getelementptr inbounds i32, ptr %148, i64 %150
store i32 %147, ptr %151, align 4
%152 = load i32, ptr %18, align 4
%153 = add nsw i32 %152, 1
store i32 %153, ptr %18, align 4
br label %154
154: ; preds = %146, %128
br label %155
155: ; preds = %154
%156 = load i32, ptr %23, align 4
%157 = add nsw i32 %156, 1
store i32 %157, ptr %23, align 4
br label %119, !llvm.loop !9
158: ; preds = %119
br label %159
159: ; preds = %158
%160 = load i32, ptr %21, align 4
%161 = add nsw i32 %160, 1
store i32 %161, ptr %21, align 4
br label %100, !llvm.loop !10
162: ; preds = %100
%163 = load i32, ptr %20, align 4
%164 = add nsw i32 %163, 1
store i32 %164, ptr %20, align 4
%165 = load i32, ptr %18, align 4
%166 = load ptr, ptr %13, align 8
%167 = load i32, ptr %20, align 4
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds i32, ptr %166, i64 %168
store i32 %165, ptr %169, align 4
br label %85, !llvm.loop !11
170: ; preds = %85
%171 = load i32, ptr %20, align 4
%172 = load ptr, ptr %12, align 8
store i32 %171, ptr %172, align 4
%173 = load ptr, ptr %15, align 8
%174 = call i32 @free(ptr noundef %173)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplvngc6k3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @findlevel(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca ptr, align 8
%11 = alloca i32, align 4
%12 = alloca ptr, align 8
%13 = alloca ptr, align 8
%14 = alloca ptr, align 8
%15 = alloca ptr, align 8
%16 = alloca i32, align 4
%17 = alloca i32, align 4
%18 = alloca i32, align 4
%19 = alloca i32, align 4
%20 = alloca i32, align 4
%21 = alloca i32, align 4
%22 = alloca i32, align 4
%23 = alloca i32, align 4
%24 = alloca i32, align 4
store ptr %0, ptr %8, align 8
store ptr %1, ptr %9, align 8
store ptr %2, ptr %10, align 8
store i32 %3, ptr %11, align 4
store ptr %4, ptr %12, align 8
store ptr %5, ptr %13, align 8
store ptr %6, ptr %14, align 8
%25 = load i32, ptr %11, align 4
%26 = sext i32 %25 to i64
%27 = mul i64 %26, 4
%28 = trunc i64 %27 to i32
%29 = call i64 @malloc(i32 noundef %28)
%30 = inttoptr i64 %29 to ptr
store ptr %30, ptr %15, align 8
store i32 0, ptr %16, align 4
%31 = load i32, ptr %16, align 4
%32 = load i32, ptr %11, align 4
%33 = icmp slt i32 %31, %32
br i1 %33, label %.lr.ph, label %57
.lr.ph: ; preds = %7
br label %34
34: ; preds = %.lr.ph, %51
%35 = load ptr, ptr %10, align 8
%36 = load i32, ptr %16, align 4
%37 = add nsw i32 %36, 1
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds i32, ptr %35, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load ptr, ptr %10, align 8
%42 = load i32, ptr %16, align 4
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds i32, ptr %41, i64 %43
%45 = load i32, ptr %44, align 4
%46 = sub nsw i32 %40, %45
%47 = load ptr, ptr %15, align 8
%48 = load i32, ptr %16, align 4
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds i32, ptr %47, i64 %49
store i32 %46, ptr %50, align 4
br label %51
51: ; preds = %34
%52 = load i32, ptr %16, align 4
%53 = add nsw i32 %52, 1
store i32 %53, ptr %16, align 4
%54 = load i32, ptr %16, align 4
%55 = load i32, ptr %11, align 4
%56 = icmp slt i32 %54, %55
br i1 %56, label %34, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %51
br label %57
57: ; preds = %._crit_edge, %7
store i32 0, ptr %17, align 4
store i32 0, ptr %18, align 4
%58 = load ptr, ptr %13, align 8
%59 = getelementptr inbounds i32, ptr %58, i64 0
store i32 0, ptr %59, align 4
store i32 0, ptr %19, align 4
%60 = load i32, ptr %19, align 4
%61 = load i32, ptr %11, align 4
%62 = icmp slt i32 %60, %61
br i1 %62, label %.lr.ph2, label %85
.lr.ph2: ; preds = %57
br label %63
63: ; preds = %.lr.ph2, %79
%64 = load ptr, ptr %15, align 8
%65 = load i32, ptr %19, align 4
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds i32, ptr %64, i64 %66
%68 = load i32, ptr %67, align 4
%69 = icmp eq i32 %68, 1
br i1 %69, label %70, label %78
70: ; preds = %63
%71 = load i32, ptr %19, align 4
%72 = load ptr, ptr %14, align 8
%73 = load i32, ptr %18, align 4
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds i32, ptr %72, i64 %74
store i32 %71, ptr %75, align 4
%76 = load i32, ptr %18, align 4
%77 = add nsw i32 %76, 1
store i32 %77, ptr %18, align 4
br label %78
78: ; preds = %70, %63
br label %79
79: ; preds = %78
%80 = load i32, ptr %19, align 4
%81 = add nsw i32 %80, 1
store i32 %81, ptr %19, align 4
%82 = load i32, ptr %19, align 4
%83 = load i32, ptr %11, align 4
%84 = icmp slt i32 %82, %83
br i1 %84, label %63, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %79
br label %85
85: ; preds = %._crit_edge3, %57
%86 = load i32, ptr %18, align 4
%87 = load ptr, ptr %13, align 8
%88 = getelementptr inbounds i32, ptr %87, i64 1
store i32 %86, ptr %88, align 4
store i32 1, ptr %20, align 4
%89 = load ptr, ptr %13, align 8
%90 = load i32, ptr %20, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i32, ptr %89, i64 %91
%93 = load i32, ptr %92, align 4
%94 = load i32, ptr %11, align 4
%95 = icmp ne i32 %93, %94
br i1 %95, label %.lr.ph11, label %193
.lr.ph11: ; preds = %85
br label %96
96: ; preds = %.lr.ph11, %178
%97 = load ptr, ptr %13, align 8
%98 = load i32, ptr %20, align 4
%99 = sub nsw i32 %98, 1
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds i32, ptr %97, i64 %100
%102 = load i32, ptr %101, align 4
store i32 %102, ptr %21, align 4
%103 = load i32, ptr %21, align 4
%104 = load ptr, ptr %13, align 8
%105 = load i32, ptr %20, align 4
%106 = sext i32 %105 to i64
%107 = getelementptr inbounds i32, ptr %104, i64 %106
%108 = load i32, ptr %107, align 4
%109 = icmp slt i32 %103, %108
br i1 %109, label %.lr.ph8, label %178
.lr.ph8: ; preds = %96
br label %110
110: ; preds = %.lr.ph8, %168
%111 = load ptr, ptr %14, align 8
%112 = load i32, ptr %21, align 4
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds i32, ptr %111, i64 %113
%115 = load i32, ptr %114, align 4
store i32 %115, ptr %22, align 4
%116 = load ptr, ptr %8, align 8
%117 = load i32, ptr %22, align 4
%118 = sext i32 %117 to i64
%119 = getelementptr inbounds i32, ptr %116, i64 %118
%120 = load i32, ptr %119, align 4
store i32 %120, ptr %23, align 4
%121 = load i32, ptr %23, align 4
%122 = load ptr, ptr %8, align 8
%123 = load i32, ptr %22, align 4
%124 = add nsw i32 %123, 1
%125 = sext i32 %124 to i64
%126 = getelementptr inbounds i32, ptr %122, i64 %125
%127 = load i32, ptr %126, align 4
%128 = icmp slt i32 %121, %127
br i1 %128, label %.lr.ph5, label %167
.lr.ph5: ; preds = %110
br label %129
129: ; preds = %.lr.ph5, %156
%130 = load ptr, ptr %9, align 8
%131 = load i32, ptr %23, align 4
%132 = sext i32 %131 to i64
%133 = getelementptr inbounds i32, ptr %130, i64 %132
%134 = load i32, ptr %133, align 4
store i32 %134, ptr %24, align 4
%135 = load ptr, ptr %15, align 8
%136 = load i32, ptr %24, align 4
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds i32, ptr %135, i64 %137
%139 = load i32, ptr %138, align 4
%140 = add nsw i32 %139, -1
store i32 %140, ptr %138, align 4
%141 = load ptr, ptr %15, align 8
%142 = load i32, ptr %24, align 4
%143 = sext i32 %142 to i64
%144 = getelementptr inbounds i32, ptr %141, i64 %143
%145 = load i32, ptr %144, align 4
%146 = icmp eq i32 %145, 1
br i1 %146, label %147, label %155
147: ; preds = %129
%148 = load i32, ptr %24, align 4
%149 = load ptr, ptr %14, align 8
%150 = load i32, ptr %18, align 4
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds i32, ptr %149, i64 %151
store i32 %148, ptr %152, align 4
%153 = load i32, ptr %18, align 4
%154 = add nsw i32 %153, 1
store i32 %154, ptr %18, align 4
br label %155
155: ; preds = %147, %129
br label %156
156: ; preds = %155
%157 = load i32, ptr %23, align 4
%158 = add nsw i32 %157, 1
store i32 %158, ptr %23, align 4
%159 = load i32, ptr %23, align 4
%160 = load ptr, ptr %8, align 8
%161 = load i32, ptr %22, align 4
%162 = add nsw i32 %161, 1
%163 = sext i32 %162 to i64
%164 = getelementptr inbounds i32, ptr %160, i64 %163
%165 = load i32, ptr %164, align 4
%166 = icmp slt i32 %159, %165
br i1 %166, label %129, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %156
br label %167
167: ; preds = %._crit_edge6, %110
br label %168
168: ; preds = %167
%169 = load i32, ptr %21, align 4
%170 = add nsw i32 %169, 1
store i32 %170, ptr %21, align 4
%171 = load i32, ptr %21, align 4
%172 = load ptr, ptr %13, align 8
%173 = load i32, ptr %20, align 4
%174 = sext i32 %173 to i64
%175 = getelementptr inbounds i32, ptr %172, i64 %174
%176 = load i32, ptr %175, align 4
%177 = icmp slt i32 %171, %176
br i1 %177, label %110, label %._crit_edge9, !llvm.loop !10
._crit_edge9: ; preds = %168
br label %178
178: ; preds = %._crit_edge9, %96
%179 = load i32, ptr %20, align 4
%180 = add nsw i32 %179, 1
store i32 %180, ptr %20, align 4
%181 = load i32, ptr %18, align 4
%182 = load ptr, ptr %13, align 8
%183 = load i32, ptr %20, align 4
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds i32, ptr %182, i64 %184
store i32 %181, ptr %185, align 4
%186 = load ptr, ptr %13, align 8
%187 = load i32, ptr %20, align 4
%188 = sext i32 %187 to i64
%189 = getelementptr inbounds i32, ptr %186, i64 %188
%190 = load i32, ptr %189, align 4
%191 = load i32, ptr %11, align 4
%192 = icmp ne i32 %190, %191
br i1 %192, label %96, label %._crit_edge12, !llvm.loop !11
._crit_edge12: ; preds = %178
br label %193
193: ; preds = %._crit_edge12, %85
%194 = load i32, ptr %20, align 4
%195 = load ptr, ptr %12, align 8
store i32 %194, ptr %195, align 4
%196 = load ptr, ptr %15, align 8
%197 = call i32 @free(ptr noundef %196)
ret i32 0
}
declare i64 @malloc(i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
!10 = distinct !{!10, !7}
!11 = distinct !{!11, !7}
|
; ModuleID = '/tmp/tmpkkts3we5.c'
source_filename = "/tmp/tmpkkts3we5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkkts3we5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EINTR = dso_local global i64 0, align 8
@errno = dso_local global i64 0, align 8
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmphc520szo.c'
source_filename = "/tmp/tmphc520szo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @opcode_96() #0 {
%1 = call i32 (...) @sub_a_hl()
ret void
}
declare i32 @sub_a_hl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphc520szo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @opcode_96() #0 {
%1 = call i32 (...) @sub_a_hl()
ret void
}
declare i32 @sub_a_hl(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpge05_ivw.c'
source_filename = "/tmp/tmpge05_ivw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Table of temperatures (while version)\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"F\09C\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Table of temperatures (for version)\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"%3d %6.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca 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 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
store i32 300, ptr %5, align 4
store i32 20, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = sitofp i32 %11 to float
store float %12, ptr %2, align 4
br label %13
13: ; preds = %18, %0
%14 = load float, ptr %2, align 4
%15 = load i32, ptr %5, align 4
%16 = sitofp i32 %15 to float
%17 = fcmp ole float %14, %16
br i1 %17, label %18, label %33
18: ; preds = %13
%19 = load float, ptr %2, align 4
%20 = fpext float %19 to double
%21 = fsub double %20, 3.200000e+01
%22 = fmul double 0x3FE1C71C71C71C72, %21
%23 = fptrunc double %22 to float
store float %23, ptr %3, align 4
%24 = load float, ptr %2, align 4
%25 = fpext float %24 to double
%26 = load float, ptr %3, align 4
%27 = fpext float %26 to double
%28 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %25, double noundef %27)
%29 = load float, ptr %2, align 4
%30 = load i32, ptr %6, align 4
%31 = sitofp i32 %30 to float
%32 = fadd float %29, %31
store float %32, ptr %2, align 4
br label %13, !llvm.loop !6
33: ; preds = %13
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
br label %37
37: ; preds = %47, %33
%38 = load i32, ptr %7, align 4
%39 = icmp sle i32 %38, 300
br i1 %39, label %40, label %50
40: ; preds = %37
%41 = load i32, ptr %7, align 4
%42 = load i32, ptr %7, align 4
%43 = sitofp i32 %42 to double
%44 = fsub double %43, 3.200000e+01
%45 = fmul double 0x3FE1C71C71C71C72, %44
%46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %41, double noundef %45)
br label %47
47: ; preds = %40
%48 = load i32, ptr %7, align 4
%49 = add nsw i32 %48, 15
store i32 %49, ptr %7, align 4
br label %37, !llvm.loop !8
50: ; preds = %37
%51 = load i32, ptr %1, align 4
ret i32 %51
}
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/tmpge05_ivw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"Table of temperatures (while version)\0A\00", align 1
@.str.1 = private unnamed_addr constant [32 x i8] c"------------------------------\0A\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"F\09C\0A\00", align 1
@.str.3 = private unnamed_addr constant [13 x i8] c"%3.0f %6.1f\0A\00", align 1
@.str.4 = private unnamed_addr constant [37 x i8] c"Table of temperatures (for version)\0A\00", align 1
@.str.5 = private unnamed_addr constant [11 x i8] c"%3d %6.1f\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca float, align 4
%3 = alloca float, align 4
%4 = alloca 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 (ptr, ...) @printf(ptr noundef @.str)
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %4, align 4
store i32 300, ptr %5, align 4
store i32 20, ptr %6, align 4
%11 = load i32, ptr %4, align 4
%12 = sitofp i32 %11 to float
store float %12, ptr %2, align 4
%13 = load float, ptr %2, align 4
%14 = load i32, ptr %5, align 4
%15 = sitofp i32 %14 to float
%16 = fcmp ole float %13, %15
br i1 %16, label %.lr.ph, label %36
.lr.ph: ; preds = %0
br label %17
17: ; preds = %.lr.ph, %17
%18 = load float, ptr %2, align 4
%19 = fpext float %18 to double
%20 = fsub double %19, 3.200000e+01
%21 = fmul double 0x3FE1C71C71C71C72, %20
%22 = fptrunc double %21 to float
store float %22, ptr %3, align 4
%23 = load float, ptr %2, align 4
%24 = fpext float %23 to double
%25 = load float, ptr %3, align 4
%26 = fpext float %25 to double
%27 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %24, double noundef %26)
%28 = load float, ptr %2, align 4
%29 = load i32, ptr %6, align 4
%30 = sitofp i32 %29 to float
%31 = fadd float %28, %30
store float %31, ptr %2, align 4
%32 = load float, ptr %2, align 4
%33 = load i32, ptr %5, align 4
%34 = sitofp i32 %33 to float
%35 = fcmp ole float %32, %34
br i1 %35, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %36
36: ; preds = %._crit_edge, %0
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
%38 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%39 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
store i32 0, ptr %7, align 4
%40 = load i32, ptr %7, align 4
%41 = icmp sle i32 %40, 300
br i1 %41, label %.lr.ph2, label %54
.lr.ph2: ; preds = %36
br label %42
42: ; preds = %.lr.ph2, %49
%43 = load i32, ptr %7, align 4
%44 = load i32, ptr %7, align 4
%45 = sitofp i32 %44 to double
%46 = fsub double %45, 3.200000e+01
%47 = fmul double 0x3FE1C71C71C71C72, %46
%48 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %43, double noundef %47)
br label %49
49: ; preds = %42
%50 = load i32, ptr %7, align 4
%51 = add nsw i32 %50, 15
store i32 %51, ptr %7, align 4
%52 = load i32, ptr %7, align 4
%53 = icmp sle i32 %52, 300
br i1 %53, label %42, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %49
br label %54
54: ; preds = %._crit_edge3, %36
%55 = load i32, ptr %1, align 4
ret i32 %55
}
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/tmpuw6tltfy.c'
source_filename = "/tmp/tmpuw6tltfy.c"
target datalayout = "e-m:e-p270: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/tmpuw6tltfy.c"
target datalayout = "e-m:e-p270: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/tmpjzpwf5sc.c'
source_filename = "/tmp/tmpjzpwf5sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @replace_illegal_character(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 95, ptr %4, align 1
%5 = load i8, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp sge i32 %6, 97
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = load i8, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = icmp sle i32 %10, 122
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i8, ptr %3, align 1
%14 = sext i8 %13 to i32
%15 = add nsw i32 %14, 65
%16 = sub nsw i32 %15, 97
%17 = trunc i32 %16 to i8
store i8 %17, ptr %2, align 1
br label %65
18: ; preds = %8, %1
%19 = load i8, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = icmp sle i32 %20, 32
br i1 %21, label %62, label %22
22: ; preds = %18
%23 = load i8, ptr %3, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 34
br i1 %25, label %62, label %26
26: ; preds = %22
%27 = load i8, ptr %3, align 1
%28 = sext i8 %27 to i32
%29 = icmp sge i32 %28, 42
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp sle i32 %32, 12
br i1 %33, label %62, label %34
34: ; preds = %30, %26
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 46
br i1 %37, label %62, label %38
38: ; preds = %34
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 47
br i1 %41, label %62, label %42
42: ; preds = %38
%43 = load i8, ptr %3, align 1
%44 = sext i8 %43 to i32
%45 = icmp sge i32 %44, 58
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i8, ptr %3, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 63
br i1 %49, label %62, label %50
50: ; preds = %46, %42
%51 = load i8, ptr %3, align 1
%52 = sext i8 %51 to i32
%53 = icmp sge i32 %52, 91
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load i8, ptr %3, align 1
%56 = sext i8 %55 to i32
%57 = icmp sle i32 %56, 93
br i1 %57, label %62, label %58
58: ; preds = %54, %50
%59 = load i8, ptr %3, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 124
br i1 %61, label %62, label %63
62: ; preds = %58, %54, %46, %38, %34, %30, %22, %18
store i8 95, ptr %2, align 1
br label %65
63: ; preds = %58
%64 = load i8, ptr %3, align 1
store i8 %64, ptr %2, align 1
br label %65
65: ; preds = %63, %62, %12
%66 = load i8, ptr %2, align 1
ret i8 %66
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjzpwf5sc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local signext i8 @replace_illegal_character(i8 noundef signext %0) #0 {
%2 = alloca i8, align 1
%3 = alloca i8, align 1
%4 = alloca i8, align 1
store i8 %0, ptr %3, align 1
store i8 95, ptr %4, align 1
%5 = load i8, ptr %3, align 1
%6 = sext i8 %5 to i32
%7 = icmp sge i32 %6, 97
br i1 %7, label %8, label %18
8: ; preds = %1
%9 = load i8, ptr %3, align 1
%10 = sext i8 %9 to i32
%11 = icmp sle i32 %10, 122
br i1 %11, label %12, label %18
12: ; preds = %8
%13 = load i8, ptr %3, align 1
%14 = sext i8 %13 to i32
%15 = add nsw i32 %14, 65
%16 = sub nsw i32 %15, 97
%17 = trunc i32 %16 to i8
store i8 %17, ptr %2, align 1
br label %65
18: ; preds = %8, %1
%19 = load i8, ptr %3, align 1
%20 = sext i8 %19 to i32
%21 = icmp sle i32 %20, 32
br i1 %21, label %62, label %22
22: ; preds = %18
%23 = load i8, ptr %3, align 1
%24 = sext i8 %23 to i32
%25 = icmp eq i32 %24, 34
br i1 %25, label %62, label %26
26: ; preds = %22
%27 = load i8, ptr %3, align 1
%28 = sext i8 %27 to i32
%29 = icmp sge i32 %28, 42
br i1 %29, label %30, label %34
30: ; preds = %26
%31 = load i8, ptr %3, align 1
%32 = sext i8 %31 to i32
%33 = icmp sle i32 %32, 12
br i1 %33, label %62, label %34
34: ; preds = %30, %26
%35 = load i8, ptr %3, align 1
%36 = sext i8 %35 to i32
%37 = icmp eq i32 %36, 46
br i1 %37, label %62, label %38
38: ; preds = %34
%39 = load i8, ptr %3, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 47
br i1 %41, label %62, label %42
42: ; preds = %38
%43 = load i8, ptr %3, align 1
%44 = sext i8 %43 to i32
%45 = icmp sge i32 %44, 58
br i1 %45, label %46, label %50
46: ; preds = %42
%47 = load i8, ptr %3, align 1
%48 = sext i8 %47 to i32
%49 = icmp sle i32 %48, 63
br i1 %49, label %62, label %50
50: ; preds = %46, %42
%51 = load i8, ptr %3, align 1
%52 = sext i8 %51 to i32
%53 = icmp sge i32 %52, 91
br i1 %53, label %54, label %58
54: ; preds = %50
%55 = load i8, ptr %3, align 1
%56 = sext i8 %55 to i32
%57 = icmp sle i32 %56, 93
br i1 %57, label %62, label %58
58: ; preds = %54, %50
%59 = load i8, ptr %3, align 1
%60 = sext i8 %59 to i32
%61 = icmp eq i32 %60, 124
br i1 %61, label %62, label %63
62: ; preds = %58, %54, %46, %38, %34, %30, %22, %18
store i8 95, ptr %2, align 1
br label %65
63: ; preds = %58
%64 = load i8, ptr %3, align 1
store i8 %64, ptr %2, align 1
br label %65
65: ; preds = %63, %62, %12
%66 = load i8, ptr %2, align 1
ret i8 %66
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp5ewwdhfv.c'
source_filename = "/tmp/tmp5ewwdhfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
store i32 0, ptr %2, align 4
br label %6
6: ; preds = %17, %0
%7 = load i32, ptr %2, align 4
%8 = icmp slt i32 %7, 20
br i1 %8, label %9, label %20
9: ; preds = %6
%10 = load i32, ptr %2, align 4
%11 = load i32, ptr %2, align 4
%12 = mul nsw i32 %10, %11
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %2, align 4
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i32, ptr %13, i64 %15
store i32 %12, ptr %16, align 4
br label %17
17: ; preds = %9
%18 = load i32, ptr %2, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %2, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = load i32, ptr %1, align 4
ret i32 %21
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5ewwdhfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call i64 @malloc(i32 noundef 40)
%5 = inttoptr i64 %4 to ptr
store ptr %5, ptr %3, align 8
store i32 0, ptr %2, align 4
%6 = load i32, ptr %2, align 4
%7 = icmp slt i32 %6, 20
br i1 %7, label %.lr.ph, label %21
.lr.ph: ; preds = %0
br label %8
8: ; preds = %.lr.ph, %16
%9 = load i32, ptr %2, align 4
%10 = load i32, ptr %2, align 4
%11 = mul nsw i32 %9, %10
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %2, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
store i32 %11, ptr %15, align 4
br label %16
16: ; preds = %8
%17 = load i32, ptr %2, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %2, align 4
%19 = load i32, ptr %2, align 4
%20 = icmp slt i32 %19, 20
br i1 %20, label %8, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %21
21: ; preds = %._crit_edge, %0
%22 = load i32, ptr %1, align 4
ret i32 %22
}
declare i64 @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpv06po_mh.c'
source_filename = "/tmp/tmpv06po_mh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ECHO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpv06po_mh.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@ECHO = dso_local global i32 0, align 4
@ICANON = dso_local global i32 0, align 4
@STDIN_FILENO = dso_local global i32 0, align 4
@TCSANOW = dso_local global i32 0, align 4
@stdout = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplo2fuob3.c'
source_filename = "/tmp/tmplo2fuob3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fstatat(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @__fxstatat(i32 noundef 1, i32 noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @__fxstatat(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplo2fuob3.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @fstatat(i32 noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
%7 = alloca ptr, align 8
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store ptr %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store i32 %3, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %6, align 8
%11 = load ptr, ptr %7, align 8
%12 = load i32, ptr %8, align 4
%13 = call i32 @__fxstatat(i32 noundef 1, i32 noundef %9, ptr noundef %10, ptr noundef %11, i32 noundef %12)
ret i32 %13
}
declare i32 @__fxstatat(i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9k1jgjfp.c'
source_filename = "/tmp/tmp9k1jgjfp.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"\1B[%d;%dH\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @term_move(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stdout, align 4
%6 = load i32, ptr %4, align 4
%7 = add nsw i32 %6, 1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %7, i32 noundef %9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9k1jgjfp.c"
target datalayout = "e-m:e-p270: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 [9 x i8] c"\1B[%d;%dH\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @term_move(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%5 = load i32, ptr @stdout, align 4
%6 = load i32, ptr %4, align 4
%7 = add nsw i32 %6, 1
%8 = load i32, ptr %3, align 4
%9 = add nsw i32 %8, 1
%10 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %7, i32 noundef %9)
ret void
}
declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpi7qffv20.c'
source_filename = "/tmp/tmpi7qffv20.c"
target datalayout = "e-m:e-p270: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/tmpi7qffv20.c"
target datalayout = "e-m:e-p270: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/tmp3f0qkv4r.c'
source_filename = "/tmp/tmp3f0qkv4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @priv_vfs_chroot_setup(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, 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/tmp3f0qkv4r.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @priv_vfs_chroot_setup(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca ptr, align 8
store i32 %0, ptr %4, align 4
store i32 %1, ptr %5, align 4
store ptr %2, ptr %6, 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/tmp4934jgvj.c'
source_filename = "/tmp/tmp4934jgvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_int(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca [100 x i8], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 100, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr @stdin, align 4
%14 = call ptr @fgets(ptr noundef %11, i32 noundef %12, i32 noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
store i64 %19, ptr %3, align 8
br label %24
20: ; preds = %2
%21 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%22 = load i32, ptr %5, align 4
%23 = call i64 @oatoi(ptr noundef %21, i32 noundef %22)
store i64 %23, ptr %3, align 8
br label %24
24: ; preds = %20, %17
%25 = load i64, ptr %3, align 8
ret i64 %25
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @oatoi(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/tmp4934jgvj.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%s: \00", align 1
@stdin = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @get_int(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca i64, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca ptr, align 8
%8 = alloca [100 x i8], align 16
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 100, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @printf(ptr noundef @.str, ptr noundef %9)
%11 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%12 = load i32, ptr %6, align 4
%13 = load i32, ptr @stdin, align 4
%14 = call ptr @fgets(ptr noundef %11, i32 noundef %12, i32 noundef %13)
store ptr %14, ptr %7, align 8
%15 = load ptr, ptr %7, align 8
%16 = icmp eq ptr %15, null
br i1 %16, label %17, label %20
17: ; preds = %2
%18 = load i32, ptr %5, align 4
%19 = sext i32 %18 to i64
store i64 %19, ptr %3, align 8
br label %24
20: ; preds = %2
%21 = getelementptr inbounds [100 x i8], ptr %8, i64 0, i64 0
%22 = load i32, ptr %5, align 4
%23 = call i64 @oatoi(ptr noundef %21, i32 noundef %22)
store i64 %23, ptr %3, align 8
br label %24
24: ; preds = %20, %17
%25 = load i64, ptr %3, align 8
ret i64 %25
}
declare i32 @printf(ptr noundef, ptr noundef) #1
declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) #1
declare i64 @oatoi(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/tmpvzult07f.c'
source_filename = "/tmp/tmpvzult07f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mwm_manage(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 @reloadmwmhints(ptr noundef %3)
ret void
}
declare i32 @reloadmwmhints(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpvzult07f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @mwm_manage(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 @reloadmwmhints(ptr noundef %3)
ret void
}
declare i32 @reloadmwmhints(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpx5k3nw7e.c'
source_filename = "/tmp/tmpx5k3nw7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getip_prefix(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @bzero(ptr noundef %7, i32 noundef 8)
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
br label %9
9: ; preds = %39, %2
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = call i32 @strlen(ptr noundef %11)
%13 = icmp slt i32 %10, %12
br i1 %13, label %14, label %42
14: ; preds = %9
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i8, ptr %15, i64 %17
%19 = load i8, ptr %18, align 1
%20 = load ptr, ptr %4, align 8
%21 = load i32, ptr %5, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
store i8 %19, ptr %23, align 1
%24 = load ptr, ptr %3, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, ptr %24, i64 %26
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = icmp eq i32 %29, 46
br i1 %30, label %31, label %34
31: ; preds = %14
%32 = load i32, ptr %6, align 4
%33 = add nsw i32 %32, 1
store i32 %33, ptr %6, align 4
br label %34
34: ; preds = %31, %14
%35 = load i32, ptr %6, align 4
%36 = icmp eq i32 %35, 3
br i1 %36, label %37, label %38
37: ; preds = %34
br label %42
38: ; preds = %34
br label %39
39: ; preds = %38
%40 = load i32, ptr %5, align 4
%41 = add nsw i32 %40, 1
store i32 %41, ptr %5, align 4
br label %9, !llvm.loop !6
42: ; preds = %37, %9
ret void
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpx5k3nw7e.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getip_prefix(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = call i32 @bzero(ptr noundef %7, i32 noundef 8)
store i32 0, ptr %6, align 4
store i32 0, ptr %5, align 4
%9 = load i32, ptr %5, align 4
%10 = load ptr, ptr %3, align 8
%11 = call i32 @strlen(ptr noundef %10)
%12 = icmp slt i32 %9, %11
br i1 %12, label %.lr.ph, label %.loopexit
.lr.ph: ; preds = %2
br label %13
13: ; preds = %.lr.ph, %38
%14 = load ptr, ptr %3, align 8
%15 = load i32, ptr %5, align 4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8, ptr %14, i64 %16
%18 = load i8, ptr %17, align 1
%19 = load ptr, ptr %4, align 8
%20 = load i32, ptr %5, align 4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, ptr %19, i64 %21
store i8 %18, ptr %22, align 1
%23 = load ptr, ptr %3, align 8
%24 = load i32, ptr %5, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds i8, ptr %23, i64 %25
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 46
br i1 %29, label %30, label %33
30: ; preds = %13
%31 = load i32, ptr %6, align 4
%32 = add nsw i32 %31, 1
store i32 %32, ptr %6, align 4
br label %33
33: ; preds = %30, %13
%34 = load i32, ptr %6, align 4
%35 = icmp eq i32 %34, 3
br i1 %35, label %36, label %37
36: ; preds = %33
br label %45
37: ; preds = %33
br label %38
38: ; preds = %37
%39 = load i32, ptr %5, align 4
%40 = add nsw i32 %39, 1
store i32 %40, ptr %5, align 4
%41 = load i32, ptr %5, align 4
%42 = load ptr, ptr %3, align 8
%43 = call i32 @strlen(ptr noundef %42)
%44 = icmp slt i32 %41, %43
br i1 %44, label %13, label %..loopexit_crit_edge, !llvm.loop !6
..loopexit_crit_edge: ; preds = %38
br label %.loopexit
.loopexit: ; preds = %..loopexit_crit_edge, %2
br label %45
45: ; preds = %.loopexit, %36
ret void
}
declare i32 @bzero(ptr noundef, i32 noundef) #1
declare i32 @strlen(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpapdzma3b.c'
source_filename = "/tmp/tmpapdzma3b.c"
target datalayout = "e-m:e-p270: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.passwd = type { ptr }
@uid_to_name.str = internal global [10 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uid_to_name(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call ptr @getpwuid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = call i32 @sprintf(ptr noundef @uid_to_name.str, ptr noundef @.str, i32 noundef %10)
store ptr @uid_to_name.str, ptr %2, align 8
br label %16
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.passwd, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %2, align 8
br label %16
16: ; preds = %12, %9
%17 = load ptr, ptr %2, align 8
ret ptr %17
}
declare ptr @getpwuid(i32 noundef) #1
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/tmpapdzma3b.c"
target datalayout = "e-m:e-p270: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.passwd = type { ptr }
@uid_to_name.str = internal global [10 x i8] zeroinitializer, align 1
@.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @uid_to_name(i32 noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
store i32 %0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = call ptr @getpwuid(i32 noundef %5)
store ptr %6, ptr %4, align 8
%7 = load ptr, ptr %4, align 8
%8 = icmp eq ptr %7, null
br i1 %8, label %9, label %12
9: ; preds = %1
%10 = load i32, ptr %3, align 4
%11 = call i32 @sprintf(ptr noundef @uid_to_name.str, ptr noundef @.str, i32 noundef %10)
store ptr @uid_to_name.str, ptr %2, align 8
br label %16
12: ; preds = %1
%13 = load ptr, ptr %4, align 8
%14 = getelementptr inbounds %struct.passwd, ptr %13, i32 0, i32 0
%15 = load ptr, ptr %14, align 8
store ptr %15, ptr %2, align 8
br label %16
16: ; preds = %12, %9
%17 = load ptr, ptr %2, align 8
ret ptr %17
}
declare ptr @getpwuid(i32 noundef) #1
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/tmp_jj78lcs.c'
source_filename = "/tmp/tmp_jj78lcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstrip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @skipspaces(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
store ptr %10, ptr %3, align 8
br label %11
11: ; preds = %23, %1
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp ne ptr %12, %13
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 -1
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br label %21
21: ; preds = %15, %11
%22 = phi i1 [ false, %11 ], [ %20, %15 ]
br i1 %22, label %23, label %26
23: ; preds = %21
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 -1
store ptr %25, ptr %3, align 8
br label %11, !llvm.loop !6
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare ptr @skipspaces(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(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/tmp_jj78lcs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @strstrip(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%4 = load ptr, ptr %2, align 8
%5 = call ptr @skipspaces(ptr noundef %4)
store ptr %5, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = load ptr, ptr %2, align 8
%8 = call i32 @strlen(ptr noundef %7)
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds i8, ptr %6, i64 %9
store ptr %10, ptr %3, align 8
br label %11
11: ; preds = %23, %1
%12 = load ptr, ptr %3, align 8
%13 = load ptr, ptr %2, align 8
%14 = icmp ne ptr %12, %13
br i1 %14, label %15, label %21
15: ; preds = %11
%16 = load ptr, ptr %3, align 8
%17 = getelementptr inbounds i8, ptr %16, i64 -1
%18 = load i8, ptr %17, align 1
%19 = call i64 @isspace(i8 noundef signext %18)
%20 = icmp ne i64 %19, 0
br label %21
21: ; preds = %15, %11
%22 = phi i1 [ false, %11 ], [ %20, %15 ]
br i1 %22, label %23, label %26
23: ; preds = %21
%24 = load ptr, ptr %3, align 8
%25 = getelementptr inbounds i8, ptr %24, i32 -1
store ptr %25, ptr %3, align 8
br label %11, !llvm.loop !6
26: ; preds = %21
%27 = load ptr, ptr %3, align 8
store i8 0, ptr %27, align 1
%28 = load ptr, ptr %2, align 8
ret ptr %28
}
declare ptr @skipspaces(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @isspace(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/tmpv_2nwt3v.c'
source_filename = "/tmp/tmpv_2nwt3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hoare_partition(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 ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 1
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %9, align 4
br label %19
19: ; preds = %3, %71
br label %20
20: ; preds = %23, %19
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %9, align 4
br label %23
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
%31 = xor i1 %30, true
br i1 %31, label %20, label %32, !llvm.loop !6
32: ; preds = %23
br label %33
33: ; preds = %36, %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %36
36: ; preds = %33
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp sge i32 %41, %42
%44 = xor i1 %43, true
br i1 %44, label %33, label %45, !llvm.loop !8
45: ; preds = %36
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %69
49: ; preds = %45
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
store i32 %54, ptr %10, align 4
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
store i32 %59, ptr %63, align 4
%64 = load i32, ptr %10, align 4
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
store i32 %64, ptr %68, align 4
br label %71
69: ; preds = %45
%70 = load i32, ptr %9, align 4
ret i32 %70
71: ; preds = %49
br label %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpv_2nwt3v.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hoare_partition(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 ptr, ptr %4, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
store i32 %15, ptr %7, align 4
%16 = load i32, ptr %5, align 4
%17 = sub nsw i32 %16, 1
store i32 %17, ptr %8, align 4
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %9, align 4
br label %19
19: ; preds = %71, %3
br label %20
20: ; preds = %23, %19
%21 = load i32, ptr %9, align 4
%22 = add nsw i32 %21, -1
store i32 %22, ptr %9, align 4
br label %23
23: ; preds = %20
%24 = load ptr, ptr %4, align 8
%25 = load i32, ptr %9, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i32, ptr %24, i64 %26
%28 = load i32, ptr %27, align 4
%29 = load i32, ptr %7, align 4
%30 = icmp sle i32 %28, %29
%31 = xor i1 %30, true
br i1 %31, label %20, label %32, !llvm.loop !6
32: ; preds = %23
br label %33
33: ; preds = %36, %32
%34 = load i32, ptr %8, align 4
%35 = add nsw i32 %34, 1
store i32 %35, ptr %8, align 4
br label %36
36: ; preds = %33
%37 = load ptr, ptr %4, align 8
%38 = load i32, ptr %8, align 4
%39 = sext i32 %38 to i64
%40 = getelementptr inbounds i32, ptr %37, i64 %39
%41 = load i32, ptr %40, align 4
%42 = load i32, ptr %7, align 4
%43 = icmp sge i32 %41, %42
%44 = xor i1 %43, true
br i1 %44, label %33, label %45, !llvm.loop !8
45: ; preds = %36
%46 = load i32, ptr %8, align 4
%47 = load i32, ptr %9, align 4
%48 = icmp slt i32 %46, %47
br i1 %48, label %49, label %69
49: ; preds = %45
%50 = load ptr, ptr %4, align 8
%51 = load i32, ptr %8, align 4
%52 = sext i32 %51 to i64
%53 = getelementptr inbounds i32, ptr %50, i64 %52
%54 = load i32, ptr %53, align 4
store i32 %54, ptr %10, align 4
%55 = load ptr, ptr %4, align 8
%56 = load i32, ptr %9, align 4
%57 = sext i32 %56 to i64
%58 = getelementptr inbounds i32, ptr %55, i64 %57
%59 = load i32, ptr %58, align 4
%60 = load ptr, ptr %4, align 8
%61 = load i32, ptr %8, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i32, ptr %60, i64 %62
store i32 %59, ptr %63, align 4
%64 = load i32, ptr %10, align 4
%65 = load ptr, ptr %4, align 8
%66 = load i32, ptr %9, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i32, ptr %65, i64 %67
store i32 %64, ptr %68, align 4
br label %71
69: ; preds = %45
%70 = load i32, ptr %9, align 4
ret i32 %70
71: ; preds = %49
br label %19
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmps5zp0njw.c'
source_filename = "/tmp/tmps5zp0njw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcde\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"cde\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"cdef\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @strend(ptr noundef @.str, ptr noundef @.str.1)
%6 = call i32 @assert(i32 noundef %5)
%7 = call i32 @strend(ptr noundef @.str, ptr noundef @.str.2)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @strend(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/tmps5zp0njw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"abcde\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"cde\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"cdef\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 ptr, align 8
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%5 = call i32 @strend(ptr noundef @.str, ptr noundef @.str.1)
%6 = call i32 @assert(i32 noundef %5)
%7 = call i32 @strend(ptr noundef @.str, ptr noundef @.str.2)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 noundef %10)
ret i32 0
}
declare i32 @assert(i32 noundef) #1
declare i32 @strend(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/tmp4upfzv_5.c'
source_filename = "/tmp/tmp4upfzv_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@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 @lstat(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/tmp4upfzv_5.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@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 @lstat(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/tmp1uaxsmf1.c'
source_filename = "/tmp/tmp1uaxsmf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @benchmark()
ret i32 0
}
declare i32 @benchmark(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp1uaxsmf1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @benchmark()
ret i32 0
}
declare i32 @benchmark(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmps_tf5_6q.c'
source_filename = "/tmp/tmps_tf5_6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XWindowAttributes_border_width(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmps_tf5_6q.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.TYPE_2__ = type { i32 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_XWindowAttributes_border_width(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
%5 = load i32, ptr %4, align 4
%6 = load ptr, ptr %3, align 8
%7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0
store i32 %5, ptr %7, align 4
ret void
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpjf68h32m.c'
source_filename = "/tmp/tmpjf68h32m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @network_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpjf68h32m.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @network_close(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = load i32, ptr %2, align 4
%4 = call i32 @close(i32 noundef %3)
ret void
}
declare i32 @close(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp_4zb97wl.c'
source_filename = "/tmp/tmp_4zb97wl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llrintf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = call i64 (...) @__infer_nondet_long_long_int()
ret i64 %3
}
declare i64 @__infer_nondet_long_long_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!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_4zb97wl.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @llrintf(float noundef %0) #0 {
%2 = alloca float, align 4
store float %0, ptr %2, align 4
%3 = call i64 (...) @__infer_nondet_long_long_int()
ret i64 %3
}
declare i64 @__infer_nondet_long_long_int(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuvbtup1g.c'
source_filename = "/tmp/tmpuvbtup1g.c"
target datalayout = "e-m:e-p270: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/tmpuvbtup1g.c"
target datalayout = "e-m:e-p270: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/tmp0kwlaly1.c'
source_filename = "/tmp/tmp0kwlaly1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @count_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7)
store i32 0, ptr %4, align 4
br label %9
9: ; preds = %16, %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 %19
13: ; preds = %9
%14 = load i32, ptr %4, align 4
%15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14)
br label %16
16: ; preds = %13
%17 = load i32, ptr %4, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %4, align 4
br label %9, !llvm.loop !6
19: ; preds = %9
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0kwlaly1.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I is %d\0A\00", align 1
@.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1
@.str.2 = private unnamed_addr constant [3 x i8] c"\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @count_print(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %5, align 4
store i32 %6, ptr %3, align 4
%7 = load i32, ptr %3, align 4
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %7)
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 %21
.lr.ph: ; preds = %1
br label %12
12: ; preds = %.lr.ph, %15
%13 = load i32, ptr %4, align 4
%14 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %13)
br label %15
15: ; preds = %12
%16 = load i32, ptr %4, align 4
%17 = add nsw i32 %16, 1
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %4, align 4
%19 = load i32, ptr %3, align 4
%20 = icmp slt i32 %18, %19
br i1 %20, label %12, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %15
br label %21
21: ; preds = %._crit_edge, %1
%22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpif3zl0ea.c'
source_filename = "/tmp/tmpif3zl0ea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @set_bit_test()
%7 = call i32 (...) @clear_bit_test()
%8 = call i32 (...) @find_first_zero_bit_test()
%9 = call i32 (...) @find_first_bit_test()
ret i32 0
}
declare i32 @set_bit_test(...) #1
declare i32 @clear_bit_test(...) #1
declare i32 @find_first_zero_bit_test(...) #1
declare i32 @find_first_bit_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpif3zl0ea.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 (...) @set_bit_test()
%7 = call i32 (...) @clear_bit_test()
%8 = call i32 (...) @find_first_zero_bit_test()
%9 = call i32 (...) @find_first_bit_test()
ret i32 0
}
declare i32 @set_bit_test(...) #1
declare i32 @clear_bit_test(...) #1
declare i32 @find_first_zero_bit_test(...) #1
declare i32 @find_first_bit_test(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpuk4jpga7.c'
source_filename = "/tmp/tmpuk4jpga7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeSpaces(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %18, %1
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %4, 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
%17 = icmp eq i32 %16, 32
br i1 %17, label %18, label %21
18: ; preds = %10
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = load i32, ptr %3, align 4
%23 = sub nsw i32 %22, 1
store i32 %23, ptr %5, align 4
br label %24
24: ; preds = %32, %21
%25 = load ptr, ptr %2, align 8
%26 = load i32, ptr %5, align 4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i8, ptr %25, i64 %27
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = icmp eq i32 %30, 32
br i1 %31, label %32, label %35
32: ; preds = %24
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, -1
store i32 %34, ptr %5, align 4
br label %24, !llvm.loop !8
35: ; preds = %24
store i32 0, ptr %6, align 4
%36 = load i32, ptr %4, align 4
store i32 %36, ptr %7, align 4
br label %37
37: ; preds = %74, %35
%38 = load i32, ptr %7, align 4
%39 = load i32, ptr %5, align 4
%40 = icmp sle i32 %38, %39
br i1 %40, label %41, label %77
41: ; preds = %37
%42 = load ptr, ptr %2, align 8
%43 = load i32, ptr %7, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds i8, ptr %42, i64 %44
%46 = load i8, ptr %45, align 1
%47 = sext i8 %46 to i32
%48 = icmp eq i32 %47, 32
br i1 %48, label %49, label %61
49: ; preds = %41
%50 = load i32, ptr %6, align 4
%51 = icmp sgt i32 %50, 0
br i1 %51, label %52, label %61
52: ; preds = %49
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %6, align 4
%55 = sub nsw i32 %54, 1
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i8, ptr %53, i64 %56
%58 = load i8, ptr %57, align 1
%59 = sext i8 %58 to i32
%60 = icmp eq i32 %59, 32
br i1 %60, label %73, label %61
61: ; preds = %52, %49, %41
%62 = load ptr, ptr %2, align 8
%63 = load i32, ptr %7, align 4
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds i8, ptr %62, i64 %64
%66 = load i8, ptr %65, align 1
%67 = load ptr, ptr %2, align 8
%68 = load i32, ptr %6, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store i8 %66, ptr %70, align 1
%71 = load i32, ptr %6, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %6, align 4
br label %73
73: ; preds = %61, %52
br label %74
74: ; preds = %73
%75 = load i32, ptr %7, align 4
%76 = add nsw i32 %75, 1
store i32 %76, ptr %7, align 4
br label %37, !llvm.loop !9
77: ; preds = %37
%78 = load ptr, ptr %2, align 8
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store i8 0, ptr %81, align 1
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpuk4jpga7.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @removeSpaces(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
store i32 %9, ptr %3, align 4
store i32 0, ptr %4, align 4
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp eq i32 %15, 32
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %2, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp eq i32 %25, 32
br i1 %26, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %3, align 4
%29 = sub nsw i32 %28, 1
store i32 %29, ptr %5, align 4
%30 = load ptr, ptr %2, align 8
%31 = load i32, ptr %5, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds i8, ptr %30, i64 %32
%34 = load i8, ptr %33, align 1
%35 = sext i8 %34 to i32
%36 = icmp eq i32 %35, 32
br i1 %36, label %.lr.ph2, label %47
.lr.ph2: ; preds = %27
br label %37
37: ; preds = %.lr.ph2, %37
%38 = load i32, ptr %5, align 4
%39 = add nsw i32 %38, -1
store i32 %39, ptr %5, align 4
%40 = load ptr, ptr %2, align 8
%41 = load i32, ptr %5, align 4
%42 = sext i32 %41 to i64
%43 = getelementptr inbounds i8, ptr %40, i64 %42
%44 = load i8, ptr %43, align 1
%45 = sext i8 %44 to i32
%46 = icmp eq i32 %45, 32
br i1 %46, label %37, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %37
br label %47
47: ; preds = %._crit_edge3, %27
store i32 0, ptr %6, align 4
%48 = load i32, ptr %4, align 4
store i32 %48, ptr %7, align 4
%49 = load i32, ptr %7, align 4
%50 = load i32, ptr %5, align 4
%51 = icmp sle i32 %49, %50
br i1 %51, label %.lr.ph5, label %91
.lr.ph5: ; preds = %47
br label %52
52: ; preds = %.lr.ph5, %85
%53 = load ptr, ptr %2, align 8
%54 = load i32, ptr %7, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i8, ptr %53, i64 %55
%57 = load i8, ptr %56, align 1
%58 = sext i8 %57 to i32
%59 = icmp eq i32 %58, 32
br i1 %59, label %60, label %72
60: ; preds = %52
%61 = load i32, ptr %6, align 4
%62 = icmp sgt i32 %61, 0
br i1 %62, label %63, label %72
63: ; preds = %60
%64 = load ptr, ptr %2, align 8
%65 = load i32, ptr %6, align 4
%66 = sub nsw i32 %65, 1
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %64, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp eq i32 %70, 32
br i1 %71, label %84, label %72
72: ; preds = %63, %60, %52
%73 = load ptr, ptr %2, align 8
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = load ptr, ptr %2, align 8
%79 = load i32, ptr %6, align 4
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds i8, ptr %78, i64 %80
store i8 %77, ptr %81, align 1
%82 = load i32, ptr %6, align 4
%83 = add nsw i32 %82, 1
store i32 %83, ptr %6, align 4
br label %84
84: ; preds = %72, %63
br label %85
85: ; preds = %84
%86 = load i32, ptr %7, align 4
%87 = add nsw i32 %86, 1
store i32 %87, ptr %7, align 4
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %5, align 4
%90 = icmp sle i32 %88, %89
br i1 %90, label %52, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %85
br label %91
91: ; preds = %._crit_edge6, %47
%92 = load ptr, ptr %2, align 8
%93 = load i32, ptr %6, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
store i8 0, ptr %95, align 1
ret void
}
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"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp27gb_rwu.c'
source_filename = "/tmp/tmp27gb_rwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dnanvariancepn(i64 noundef %0, double noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca [2 x double], align 16
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
store i64 %0, ptr %6, align 8
store double %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 16, i1 false)
%20 = load i64, ptr %6, align 8
%21 = icmp sle i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %4
store double 0x7FF8000000000000, ptr %5, align 8
br label %114
23: ; preds = %4
%24 = load i64, ptr %6, align 8
%25 = icmp eq i64 %24, 1
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = load i64, ptr %9, align 8
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %44
29: ; preds = %26, %23
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds double, ptr %30, i64 0
%32 = load double, ptr %31, align 8
store double %32, ptr %19, align 8
%33 = load double, ptr %19, align 8
%34 = load double, ptr %19, align 8
%35 = fcmp oeq double %33, %34
br i1 %35, label %36, label %43
36: ; preds = %29
%37 = load i64, ptr %6, align 8
%38 = sitofp i64 %37 to double
%39 = load double, ptr %7, align 8
%40 = fsub double %38, %39
%41 = fcmp ogt double %40, 0.000000e+00
br i1 %41, label %42, label %43
42: ; preds = %36
store double 0.000000e+00, ptr %5, align 8
br label %114
43: ; preds = %36, %29
store double 0x7FF8000000000000, ptr %5, align 8
br label %114
44: ; preds = %26
%45 = load i64, ptr %6, align 8
%46 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%47 = load ptr, ptr %8, align 8
%48 = load i64, ptr %9, align 8
%49 = call i32 @dnansumpw(i64 noundef %45, ptr noundef %46, ptr noundef %47, i64 noundef %48)
%50 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 1
%51 = load double, ptr %50, align 8
store double %51, ptr %17, align 8
%52 = load double, ptr %17, align 8
%53 = load double, ptr %7, align 8
%54 = fsub double %52, %53
store double %54, ptr %15, align 8
%55 = load double, ptr %15, align 8
%56 = fcmp ole double %55, 0.000000e+00
br i1 %56, label %57, label %58
57: ; preds = %44
store double 0x7FF8000000000000, ptr %5, align 8
br label %114
58: ; preds = %44
%59 = load i64, ptr %9, align 8
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %66
61: ; preds = %58
%62 = load i64, ptr %6, align 8
%63 = sub nsw i64 1, %62
%64 = load i64, ptr %9, align 8
%65 = mul nsw i64 %63, %64
store i64 %65, ptr %11, align 8
br label %67
66: ; preds = %58
store i64 0, ptr %11, align 8
br label %67
67: ; preds = %66, %61
%68 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%69 = load double, ptr %68, align 16
%70 = load double, ptr %17, align 8
%71 = fdiv double %69, %70
store double %71, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %16, align 8
store i64 0, ptr %12, align 8
br label %72
72: ; preds = %99, %67
%73 = load i64, ptr %12, align 8
%74 = load i64, ptr %6, align 8
%75 = icmp slt i64 %73, %74
br i1 %75, label %76, label %102
76: ; preds = %72
%77 = load ptr, ptr %8, align 8
%78 = load i64, ptr %11, align 8
%79 = getelementptr inbounds double, ptr %77, i64 %78
%80 = load double, ptr %79, align 8
store double %80, ptr %19, align 8
%81 = load double, ptr %19, align 8
%82 = load double, ptr %19, align 8
%83 = fcmp oeq double %81, %82
br i1 %83, label %84, label %95
84: ; preds = %76
%85 = load double, ptr %19, align 8
%86 = load double, ptr %13, align 8
%87 = fsub double %85, %86
store double %87, ptr %18, align 8
%88 = load double, ptr %18, align 8
%89 = load double, ptr %18, align 8
%90 = load double, ptr %14, align 8
%91 = call double @llvm.fmuladd.f64(double %88, double %89, double %90)
store double %91, ptr %14, align 8
%92 = load double, ptr %18, align 8
%93 = load double, ptr %16, align 8
%94 = fadd double %93, %92
store double %94, ptr %16, align 8
br label %95
95: ; preds = %84, %76
%96 = load i64, ptr %9, align 8
%97 = load i64, ptr %11, align 8
%98 = add nsw i64 %97, %96
store i64 %98, ptr %11, align 8
br label %99
99: ; preds = %95
%100 = load i64, ptr %12, align 8
%101 = add nsw i64 %100, 1
store i64 %101, ptr %12, align 8
br label %72, !llvm.loop !6
102: ; preds = %72
%103 = load double, ptr %14, align 8
%104 = load double, ptr %15, align 8
%105 = fdiv double %103, %104
%106 = load double, ptr %16, align 8
%107 = load double, ptr %17, align 8
%108 = fdiv double %106, %107
%109 = load double, ptr %16, align 8
%110 = load double, ptr %15, align 8
%111 = fdiv double %109, %110
%112 = fneg double %108
%113 = call double @llvm.fmuladd.f64(double %112, double %111, double %105)
store double %113, ptr %5, align 8
br label %114
114: ; preds = %102, %57, %43, %42, %22
%115 = load double, ptr %5, align 8
ret double %115
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @dnansumpw(i64 noundef, ptr noundef, ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp27gb_rwu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @stdlib_strided_dnanvariancepn(i64 noundef %0, double noundef %1, ptr noundef %2, i64 noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca i64, align 8
%7 = alloca double, align 8
%8 = alloca ptr, align 8
%9 = alloca i64, align 8
%10 = alloca [2 x double], align 16
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca double, align 8
%14 = alloca double, align 8
%15 = alloca double, align 8
%16 = alloca double, align 8
%17 = alloca double, align 8
%18 = alloca double, align 8
%19 = alloca double, align 8
store i64 %0, ptr %6, align 8
store double %1, ptr %7, align 8
store ptr %2, ptr %8, align 8
store i64 %3, ptr %9, align 8
call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 16, i1 false)
%20 = load i64, ptr %6, align 8
%21 = icmp sle i64 %20, 0
br i1 %21, label %22, label %23
22: ; preds = %4
store double 0x7FF8000000000000, ptr %5, align 8
br label %116
23: ; preds = %4
%24 = load i64, ptr %6, align 8
%25 = icmp eq i64 %24, 1
br i1 %25, label %29, label %26
26: ; preds = %23
%27 = load i64, ptr %9, align 8
%28 = icmp eq i64 %27, 0
br i1 %28, label %29, label %44
29: ; preds = %26, %23
%30 = load ptr, ptr %8, align 8
%31 = getelementptr inbounds double, ptr %30, i64 0
%32 = load double, ptr %31, align 8
store double %32, ptr %19, align 8
%33 = load double, ptr %19, align 8
%34 = load double, ptr %19, align 8
%35 = fcmp oeq double %33, %34
br i1 %35, label %36, label %43
36: ; preds = %29
%37 = load i64, ptr %6, align 8
%38 = sitofp i64 %37 to double
%39 = load double, ptr %7, align 8
%40 = fsub double %38, %39
%41 = fcmp ogt double %40, 0.000000e+00
br i1 %41, label %42, label %43
42: ; preds = %36
store double 0.000000e+00, ptr %5, align 8
br label %116
43: ; preds = %36, %29
store double 0x7FF8000000000000, ptr %5, align 8
br label %116
44: ; preds = %26
%45 = load i64, ptr %6, align 8
%46 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%47 = load ptr, ptr %8, align 8
%48 = load i64, ptr %9, align 8
%49 = call i32 @dnansumpw(i64 noundef %45, ptr noundef %46, ptr noundef %47, i64 noundef %48)
%50 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 1
%51 = load double, ptr %50, align 8
store double %51, ptr %17, align 8
%52 = load double, ptr %17, align 8
%53 = load double, ptr %7, align 8
%54 = fsub double %52, %53
store double %54, ptr %15, align 8
%55 = load double, ptr %15, align 8
%56 = fcmp ole double %55, 0.000000e+00
br i1 %56, label %57, label %58
57: ; preds = %44
store double 0x7FF8000000000000, ptr %5, align 8
br label %116
58: ; preds = %44
%59 = load i64, ptr %9, align 8
%60 = icmp slt i64 %59, 0
br i1 %60, label %61, label %66
61: ; preds = %58
%62 = load i64, ptr %6, align 8
%63 = sub nsw i64 1, %62
%64 = load i64, ptr %9, align 8
%65 = mul nsw i64 %63, %64
store i64 %65, ptr %11, align 8
br label %67
66: ; preds = %58
store i64 0, ptr %11, align 8
br label %67
67: ; preds = %66, %61
%68 = getelementptr inbounds [2 x double], ptr %10, i64 0, i64 0
%69 = load double, ptr %68, align 16
%70 = load double, ptr %17, align 8
%71 = fdiv double %69, %70
store double %71, ptr %13, align 8
store double 0.000000e+00, ptr %14, align 8
store double 0.000000e+00, ptr %16, align 8
store i64 0, ptr %12, align 8
%72 = load i64, ptr %12, align 8
%73 = load i64, ptr %6, align 8
%74 = icmp slt i64 %72, %73
br i1 %74, label %.lr.ph, label %104
.lr.ph: ; preds = %67
br label %75
75: ; preds = %.lr.ph, %98
%76 = load ptr, ptr %8, align 8
%77 = load i64, ptr %11, align 8
%78 = getelementptr inbounds double, ptr %76, i64 %77
%79 = load double, ptr %78, align 8
store double %79, ptr %19, align 8
%80 = load double, ptr %19, align 8
%81 = load double, ptr %19, align 8
%82 = fcmp oeq double %80, %81
br i1 %82, label %83, label %94
83: ; preds = %75
%84 = load double, ptr %19, align 8
%85 = load double, ptr %13, align 8
%86 = fsub double %84, %85
store double %86, ptr %18, align 8
%87 = load double, ptr %18, align 8
%88 = load double, ptr %18, align 8
%89 = load double, ptr %14, align 8
%90 = call double @llvm.fmuladd.f64(double %87, double %88, double %89)
store double %90, ptr %14, align 8
%91 = load double, ptr %18, align 8
%92 = load double, ptr %16, align 8
%93 = fadd double %92, %91
store double %93, ptr %16, align 8
br label %94
94: ; preds = %83, %75
%95 = load i64, ptr %9, align 8
%96 = load i64, ptr %11, align 8
%97 = add nsw i64 %96, %95
store i64 %97, ptr %11, align 8
br label %98
98: ; preds = %94
%99 = load i64, ptr %12, align 8
%100 = add nsw i64 %99, 1
store i64 %100, ptr %12, align 8
%101 = load i64, ptr %12, align 8
%102 = load i64, ptr %6, align 8
%103 = icmp slt i64 %101, %102
br i1 %103, label %75, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %98
br label %104
104: ; preds = %._crit_edge, %67
%105 = load double, ptr %14, align 8
%106 = load double, ptr %15, align 8
%107 = fdiv double %105, %106
%108 = load double, ptr %16, align 8
%109 = load double, ptr %17, align 8
%110 = fdiv double %108, %109
%111 = load double, ptr %16, align 8
%112 = load double, ptr %15, align 8
%113 = fdiv double %111, %112
%114 = fneg double %110
%115 = call double @llvm.fmuladd.f64(double %114, double %113, double %107)
store double %115, ptr %5, align 8
br label %116
116: ; preds = %104, %57, %43, %42, %22
%117 = load double, ptr %5, align 8
ret double %117
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1
declare i32 @dnansumpw(i64 noundef, ptr noundef, ptr noundef, i64 noundef) #2
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpm7x120m8.c'
source_filename = "/tmp/tmpm7x120m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetStationPressure(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = call double @GetSeaLevelPressure(i32 noundef 1, double noundef %8, double noundef %9)
%11 = fdiv double %7, %10
ret double %11
}
declare double @GetSeaLevelPressure(i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpm7x120m8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @GetStationPressure(double noundef %0, double noundef %1, double noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
store double %0, ptr %4, align 8
store double %1, ptr %5, align 8
store double %2, ptr %6, align 8
%7 = load double, ptr %4, align 8
%8 = load double, ptr %5, align 8
%9 = load double, ptr %6, align 8
%10 = call double @GetSeaLevelPressure(i32 noundef 1, double noundef %8, double noundef %9)
%11 = fdiv double %7, %10
ret double %11
}
declare double @GetSeaLevelPressure(i32 noundef, double noundef, double noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg_9od3rs.c'
source_filename = "/tmp/tmpg_9od3rs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"It was the best of times.\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"It was the worse of times.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg_9od3rs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"It was the best of times.\0A\00", align 1
@.str.1 = private unnamed_addr constant [28 x i8] c"It was the worse of times.\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%6 = call i32 @printf(ptr noundef @.str)
%7 = call i32 @printf(ptr noundef @.str.1)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpep8pbmlw.c'
source_filename = "/tmp/tmpep8pbmlw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plainstring_not_equals(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @plainstring_equals(ptr noundef %5, ptr noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @plainstring_equals(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/tmpep8pbmlw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @plainstring_not_equals(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%5 = load ptr, ptr %3, align 8
%6 = load ptr, ptr %4, align 8
%7 = call i32 @plainstring_equals(ptr noundef %5, ptr noundef %6)
%8 = icmp ne i32 %7, 0
%9 = xor i1 %8, true
%10 = zext i1 %9 to i32
ret i32 %10
}
declare i32 @plainstring_equals(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/tmphpqfqxlb.c'
source_filename = "/tmp/tmphpqfqxlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I'm fake\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ptrace(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = call i32 @printf(ptr noundef @.str)
ret i64 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmphpqfqxlb.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"I'm fake\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i64 @ptrace(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 {
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store i32 %0, ptr %5, align 4
store i32 %1, ptr %6, align 4
store i32 %2, ptr %7, align 4
store i32 %3, ptr %8, align 4
%9 = call i32 @printf(ptr noundef @.str)
ret i64 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpda4nydio.c'
source_filename = "/tmp/tmpda4nydio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"ms: %u\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
br label %1
1: ; preds = %0, %1
%2 = call i32 (...) @msec()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
br label %1
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @msec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpda4nydio.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"ms: %u\0D\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @main() #0 {
br label %1
1: ; preds = %1, %0
%2 = call i32 (...) @msec()
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
br label %1
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @msec(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp3n9vjxnn.c'
source_filename = "/tmp/tmp3n9vjxnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = call ptr @malloc(i32 noundef 4)
store ptr %5, ptr %1, align 8
%6 = call ptr @realloc(ptr noundef null, i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = call ptr @calloc(i32 noundef 1, i32 noundef 4)
store ptr %7, ptr %3, align 8
%8 = call ptr @calloc(i32 noundef 4, i32 noundef 1)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %1, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load ptr, ptr %3, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @free(ptr noundef %24)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3n9vjxnn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"%d %d %d %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @func2() #0 {
%1 = alloca ptr, align 8
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = call ptr @malloc(i32 noundef 4)
store ptr %5, ptr %1, align 8
%6 = call ptr @realloc(ptr noundef null, i32 noundef 4)
store ptr %6, ptr %2, align 8
%7 = call ptr @calloc(i32 noundef 1, i32 noundef 4)
store ptr %7, ptr %3, align 8
%8 = call ptr @calloc(i32 noundef 4, i32 noundef 1)
store ptr %8, ptr %4, align 8
%9 = load ptr, ptr %1, align 8
%10 = load i32, ptr %9, align 4
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %11, align 4
%13 = load ptr, ptr %3, align 8
%14 = load i32, ptr %13, align 4
%15 = load ptr, ptr %4, align 8
%16 = load i32, ptr %15, align 4
%17 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %16)
%18 = load ptr, ptr %1, align 8
%19 = call i32 @free(ptr noundef %18)
%20 = load ptr, ptr %2, align 8
%21 = call i32 @free(ptr noundef %20)
%22 = load ptr, ptr %3, align 8
%23 = call i32 @free(ptr noundef %22)
%24 = load ptr, ptr %4, align 8
%25 = call i32 @free(ptr noundef %24)
ret void
}
declare ptr @malloc(i32 noundef) #1
declare ptr @realloc(ptr noundef, i32 noundef) #1
declare ptr @calloc(i32 noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpy3lyinla.c'
source_filename = "/tmp/tmpy3lyinla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_get_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i64 @str_get_length(ptr noundef %7)
%9 = add i64 %8, 1
ret i64 %9
}
declare i32 @assert(i32 noundef) #1
declare i64 @str_get_length(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpy3lyinla.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @str_get_size(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = icmp ne ptr %3, null
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 noundef %5)
%7 = load ptr, ptr %2, align 8
%8 = call i64 @str_get_length(ptr noundef %7)
%9 = add i64 %8, 1
ret i64 %9
}
declare i32 @assert(i32 noundef) #1
declare i64 @str_get_length(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp20gzhko3.c'
source_filename = "/tmp/tmp20gzhko3.c"
target datalayout = "e-m:e-p270: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/tmp20gzhko3.c"
target datalayout = "e-m:e-p270: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/tmp2__f2si0.c'
source_filename = "/tmp/tmp2__f2si0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
store i32 5678910, ptr %1, align 4
store i32 10, ptr %3, align 4
%4 = load i32, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr %3, align 4
%7 = call i32 @itoa(i32 noundef %4, ptr noundef %5, i32 noundef %6)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp2__f2si0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [1000 x i8], align 16
%3 = alloca i32, align 4
store i32 5678910, ptr %1, align 4
store i32 10, ptr %3, align 4
%4 = load i32, ptr %1, align 4
%5 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%6 = load i32, ptr %3, align 4
%7 = call i32 @itoa(i32 noundef %4, ptr noundef %5, i32 noundef %6)
%8 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare i32 @itoa(i32 noundef, ptr noundef, i32 noundef) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpsu5859jw.c'
source_filename = "/tmp/tmpsu5859jw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Expo__easeIn(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store float %5, ptr %12, align 4
%13 = load float, ptr %7, align 4
%14 = fcmp oeq float %13, 0.000000e+00
br i1 %14, label %15, label %17
15: ; preds = %6
%16 = load float, ptr %8, align 4
br label %28
17: ; preds = %6
%18 = load float, ptr %9, align 4
%19 = load float, ptr %7, align 4
%20 = load float, ptr %10, align 4
%21 = fdiv float %19, %20
%22 = fsub float %21, 1.000000e+00
%23 = fmul float 1.000000e+01, %22
%24 = fptosi float %23 to i32
%25 = call float @pow(i32 noundef 2, i32 noundef %24)
%26 = load float, ptr %8, align 4
%27 = call float @llvm.fmuladd.f32(float %18, float %25, float %26)
br label %28
28: ; preds = %17, %15
%29 = phi float [ %16, %15 ], [ %27, %17 ]
ret float %29
}
declare float @pow(i32 noundef, i32 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/tmpsu5859jw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @Expo__easeIn(float noundef %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4, float noundef %5) #0 {
%7 = alloca float, align 4
%8 = alloca float, align 4
%9 = alloca float, align 4
%10 = alloca float, align 4
%11 = alloca float, align 4
%12 = alloca float, align 4
store float %0, ptr %7, align 4
store float %1, ptr %8, align 4
store float %2, ptr %9, align 4
store float %3, ptr %10, align 4
store float %4, ptr %11, align 4
store float %5, ptr %12, align 4
%13 = load float, ptr %7, align 4
%14 = fcmp oeq float %13, 0.000000e+00
br i1 %14, label %15, label %17
15: ; preds = %6
%16 = load float, ptr %8, align 4
br label %28
17: ; preds = %6
%18 = load float, ptr %9, align 4
%19 = load float, ptr %7, align 4
%20 = load float, ptr %10, align 4
%21 = fdiv float %19, %20
%22 = fsub float %21, 1.000000e+00
%23 = fmul float 1.000000e+01, %22
%24 = fptosi float %23 to i32
%25 = call float @pow(i32 noundef 2, i32 noundef %24)
%26 = load float, ptr %8, align 4
%27 = call float @llvm.fmuladd.f32(float %18, float %25, float %26)
br label %28
28: ; preds = %17, %15
%29 = phi float [ %16, %15 ], [ %27, %17 ]
ret float %29
}
declare float @pow(i32 noundef, i32 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/tmpa4tnyoim.c'
source_filename = "/tmp/tmpa4tnyoim.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Syntaxe : %s fichier_cl\EF\BF\BD \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ftok\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"semget/shmget\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef 1) #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
%21 = call i32 @ftok(ptr noundef %20, i32 noundef 0)
store i32 %21, ptr %6, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = call i32 @perror(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %17
%27 = load i32, ptr %6, align 4
%28 = call i32 @shmget(i32 noundef %27, i32 noundef 256, i32 noundef 0)
store i32 %28, ptr %7, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = call i32 @perror(ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr @IPC_RMID, align 4
%36 = call i32 @shmctl(i32 noundef %34, i32 noundef %35, ptr noundef null)
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ftok(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpa4tnyoim.c"
target datalayout = "e-m:e-p270: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 [29 x i8] c"Syntaxe : %s fichier_cl\EF\BF\BD \0A\00", align 1
@.str.1 = private unnamed_addr constant [5 x i8] c"ftok\00", align 1
@.str.2 = private unnamed_addr constant [14 x i8] c"semget/shmget\00", align 1
@IPC_RMID = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i32 0, ptr %3, align 4
store i32 %0, ptr %4, align 4
store ptr %1, ptr %5, align 8
%8 = load i32, ptr %4, align 4
%9 = icmp ne i32 %8, 2
br i1 %9, label %10, label %17
10: ; preds = %2
%11 = load i32, ptr @stderr, align 4
%12 = load ptr, ptr %5, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 0
%14 = load ptr, ptr %13, align 8
%15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14)
%16 = call i32 @exit(i32 noundef 1) #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
%21 = call i32 @ftok(ptr noundef %20, i32 noundef 0)
store i32 %21, ptr %6, align 4
%22 = icmp eq i32 %21, -1
br i1 %22, label %23, label %26
23: ; preds = %17
%24 = call i32 @perror(ptr noundef @.str.1)
%25 = call i32 @exit(i32 noundef 1) #3
unreachable
26: ; preds = %17
%27 = load i32, ptr %6, align 4
%28 = call i32 @shmget(i32 noundef %27, i32 noundef 256, i32 noundef 0)
store i32 %28, ptr %7, align 4
%29 = icmp eq i32 %28, -1
br i1 %29, label %30, label %33
30: ; preds = %26
%31 = call i32 @perror(ptr noundef @.str.2)
%32 = call i32 @exit(i32 noundef 1) #3
unreachable
33: ; preds = %26
%34 = load i32, ptr %7, align 4
%35 = load i32, ptr @IPC_RMID, align 4
%36 = call i32 @shmctl(i32 noundef %34, i32 noundef %35, ptr noundef null)
%37 = call i32 @exit(i32 noundef 0) #3
unreachable
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @ftok(ptr noundef, i32 noundef) #1
declare i32 @perror(ptr noundef) #1
declare i32 @shmget(i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpr44btklt.c'
source_filename = "/tmp/tmpr44btklt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Start\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Before %lu, 0x%lx\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"%c, %lu, 0x%lx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hash() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store ptr @.str, ptr %1, align 8
store i64 5381, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = load i64, ptr %2, align 8
%7 = call i32 (ptr, i32, i64, ...) @printf(ptr noundef @.str.1, i32 noundef %5, i64 noundef %6)
br label %8
8: ; preds = %14, %0
%9 = load ptr, ptr %1, align 8
%10 = getelementptr inbounds i8, ptr %9, i32 1
store ptr %10, ptr %1, align 8
%11 = load i8, ptr %9, align 1
%12 = zext i8 %11 to i32
store i32 %12, ptr %3, align 4
%13 = icmp ne i32 %12, 0
br i1 %13, label %14, label %26
14: ; preds = %8
%15 = load i64, ptr %2, align 8
%16 = shl i64 %15, 5
%17 = load i64, ptr %2, align 8
%18 = add i64 %16, %17
%19 = load i32, ptr %3, align 4
%20 = sext i32 %19 to i64
%21 = add i64 %18, %20
store i64 %21, ptr %2, align 8
%22 = load i32, ptr %3, align 4
%23 = load i64, ptr %2, align 8
%24 = load i64, ptr %2, align 8
%25 = call i32 (ptr, i32, i64, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i64 noundef %23, i64 noundef %24)
br label %8, !llvm.loop !6
26: ; preds = %8
%27 = load i64, ptr %2, align 8
%28 = trunc i64 %27 to i32
ret i32 %28
}
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpr44btklt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Start\00", align 1
@.str.1 = private unnamed_addr constant [19 x i8] c"Before %lu, 0x%lx\0A\00", align 1
@.str.2 = private unnamed_addr constant [16 x i8] c"%c, %lu, 0x%lx\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hash() #0 {
%1 = alloca ptr, align 8
%2 = alloca i64, align 8
%3 = alloca i32, align 4
store ptr @.str, ptr %1, align 8
store i64 5381, ptr %2, align 8
%4 = load i64, ptr %2, align 8
%5 = trunc i64 %4 to i32
%6 = load i64, ptr %2, align 8
%7 = call i32 (ptr, i32, i64, ...) @printf(ptr noundef @.str.1, i32 noundef %5, i64 noundef %6)
%8 = load ptr, ptr %1, align 8
%9 = getelementptr inbounds i8, ptr %8, i32 1
store ptr %9, ptr %1, align 8
%10 = load i8, ptr %8, align 1
%11 = zext i8 %10 to i32
store i32 %11, ptr %3, align 4
%12 = icmp ne i32 %11, 0
br i1 %12, label %.lr.ph, label %30
.lr.ph: ; preds = %0
br label %13
13: ; preds = %.lr.ph, %13
%14 = load i64, ptr %2, align 8
%15 = shl i64 %14, 5
%16 = load i64, ptr %2, align 8
%17 = add i64 %15, %16
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = add i64 %17, %19
store i64 %20, ptr %2, align 8
%21 = load i32, ptr %3, align 4
%22 = load i64, ptr %2, align 8
%23 = load i64, ptr %2, align 8
%24 = call i32 (ptr, i32, i64, ...) @printf(ptr noundef @.str.2, i32 noundef %21, i64 noundef %22, i64 noundef %23)
%25 = load ptr, ptr %1, align 8
%26 = getelementptr inbounds i8, ptr %25, i32 1
store ptr %26, ptr %1, align 8
%27 = load i8, ptr %25, align 1
%28 = zext i8 %27 to i32
store i32 %28, ptr %3, align 4
%29 = icmp ne i32 %28, 0
br i1 %29, label %13, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %13
br label %30
30: ; preds = %._crit_edge, %0
%31 = load i64, ptr %2, align 8
%32 = trunc i64 %31 to i32
ret i32 %32
}
declare i32 @printf(ptr noundef, i32 noundef, i64 noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp9_32h2nu.c'
source_filename = "/tmp/tmp9_32h2nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"provided string isn't hexademical value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hex2int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
br label %10
10: ; preds = %18, %1
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %4, 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
%17 = icmp ne i32 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %10
%19 = load i32, ptr %4, align 4
%20 = add nsw i32 %19, 1
store i32 %20, ptr %4, align 4
br label %10, !llvm.loop !6
21: ; preds = %10
%22 = load i32, ptr %4, align 4
%23 = icmp sgt i32 %22, 2
br i1 %23, label %24, label %43
24: ; preds = %21
%25 = load ptr, ptr %3, align 8
%26 = getelementptr inbounds i8, ptr %25, i64 0
%27 = load i8, ptr %26, align 1
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 48
br i1 %29, label %30, label %43
30: ; preds = %24
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 1
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 120
br i1 %35, label %42, label %36
36: ; preds = %30
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 88
br i1 %41, label %42, label %43
42: ; preds = %36, %30
store i32 1, ptr %5, align 4
br label %44
43: ; preds = %36, %24, %21
store i32 0, ptr %5, align 4
br label %44
44: ; preds = %43, %42
%45 = load i32, ptr %5, align 4
%46 = icmp ne i32 %45, 0
br i1 %46, label %47, label %52
47: ; preds = %44
store i32 2, ptr %6, align 4
%48 = load i32, ptr %6, align 4
%49 = load i32, ptr %4, align 4
%50 = add nsw i32 %48, %49
%51 = sub nsw i32 %50, 2
store i32 %51, ptr %7, align 4
br label %54
52: ; preds = %44
store i32 0, ptr %6, align 4
%53 = load i32, ptr %4, align 4
store i32 %53, ptr %7, align 4
br label %54
54: ; preds = %52, %47
store i32 1, ptr %8, align 4
br label %55
55: ; preds = %108, %54
%56 = load i32, ptr %6, align 4
%57 = load i32, ptr %7, align 4
%58 = icmp slt i32 %56, %57
br i1 %58, label %59, label %111
59: ; preds = %55
%60 = load ptr, ptr %3, align 8
%61 = load i32, ptr %6, align 4
%62 = sext i32 %61 to i64
%63 = getelementptr inbounds i8, ptr %60, i64 %62
%64 = load i8, ptr %63, align 1
%65 = sext i8 %64 to i32
%66 = icmp sge i32 %65, 48
br i1 %66, label %67, label %75
67: ; preds = %59
%68 = load ptr, ptr %3, align 8
%69 = load i32, ptr %6, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
%72 = load i8, ptr %71, align 1
%73 = sext i8 %72 to i32
%74 = icmp sle i32 %73, 57
br i1 %74, label %108, label %75
75: ; preds = %67, %59
%76 = load ptr, ptr %3, align 8
%77 = load i32, ptr %6, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
%80 = load i8, ptr %79, align 1
%81 = sext i8 %80 to i32
%82 = icmp sge i32 %81, 65
br i1 %82, label %83, label %91
83: ; preds = %75
%84 = load ptr, ptr %3, align 8
%85 = load i32, ptr %6, align 4
%86 = sext i32 %85 to i64
%87 = getelementptr inbounds i8, ptr %84, i64 %86
%88 = load i8, ptr %87, align 1
%89 = sext i8 %88 to i32
%90 = icmp sle i32 %89, 70
br i1 %90, label %108, label %91
91: ; preds = %83, %75
%92 = load ptr, ptr %3, align 8
%93 = load i32, ptr %6, align 4
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds i8, ptr %92, i64 %94
%96 = load i8, ptr %95, align 1
%97 = sext i8 %96 to i32
%98 = icmp sge i32 %97, 97
br i1 %98, label %99, label %107
99: ; preds = %91
%100 = load ptr, ptr %3, align 8
%101 = load i32, ptr %6, align 4
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds i8, ptr %100, i64 %102
%104 = load i8, ptr %103, align 1
%105 = sext i8 %104 to i32
%106 = icmp sle i32 %105, 102
br i1 %106, label %108, label %107
107: ; preds = %99, %91
store i32 0, ptr %8, align 4
br label %108
108: ; preds = %107, %99, %83, %67
%109 = load i32, ptr %6, align 4
%110 = add nsw i32 %109, 1
store i32 %110, ptr %6, align 4
br label %55, !llvm.loop !8
111: ; preds = %55
%112 = load i32, ptr %8, align 4
%113 = icmp ne i32 %112, 0
br i1 %113, label %116, label %114
114: ; preds = %111
%115 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %151
116: ; preds = %111
%117 = load i32, ptr %5, align 4
%118 = icmp ne i32 %117, 0
br i1 %118, label %119, label %124
119: ; preds = %116
store i32 2, ptr %6, align 4
%120 = load i32, ptr %6, align 4
%121 = load i32, ptr %4, align 4
%122 = add nsw i32 %120, %121
%123 = sub nsw i32 %122, 2
store i32 %123, ptr %7, align 4
br label %126
124: ; preds = %116
store i32 0, ptr %6, align 4
%125 = load i32, ptr %4, align 4
store i32 %125, ptr %7, align 4
br label %126
126: ; preds = %124, %119
store i32 0, ptr %9, align 4
br label %127
127: ; preds = %131, %126
%128 = load i32, ptr %6, align 4
%129 = load i32, ptr %7, align 4
%130 = icmp slt i32 %128, %129
br i1 %130, label %131, label %149
131: ; preds = %127
%132 = load ptr, ptr %3, align 8
%133 = load i32, ptr %6, align 4
%134 = sext i32 %133 to i64
%135 = getelementptr inbounds i8, ptr %132, i64 %134
%136 = load i8, ptr %135, align 1
%137 = call i32 @hexDic(i8 noundef signext %136)
%138 = load i32, ptr %7, align 4
%139 = load i32, ptr %6, align 4
%140 = sub nsw i32 %138, %139
%141 = sub nsw i32 %140, 1
%142 = call i64 @pow(i32 noundef 16, i32 noundef %141)
%143 = trunc i64 %142 to i32
%144 = mul nsw i32 %137, %143
%145 = load i32, ptr %9, align 4
%146 = add nsw i32 %145, %144
store i32 %146, ptr %9, align 4
%147 = load i32, ptr %6, align 4
%148 = add nsw i32 %147, 1
store i32 %148, ptr %6, align 4
br label %127, !llvm.loop !9
149: ; preds = %127
%150 = load i32, ptr %9, align 4
store i32 %150, ptr %2, align 4
br label %151
151: ; preds = %149, %114
%152 = load i32, ptr %2, align 4
ret i32 %152
}
declare i32 @printf(ptr noundef) #1
declare i32 @hexDic(i8 noundef signext) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp9_32h2nu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [41 x i8] c"provided string isn't hexademical value\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @hex2int(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
%9 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 0, ptr %4, align 4
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %4, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i8, ptr %10, i64 %12
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = icmp ne i32 %15, 0
br i1 %16, label %.lr.ph, label %27
.lr.ph: ; preds = %1
br label %17
17: ; preds = %.lr.ph, %17
%18 = load i32, ptr %4, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %4, align 4
%20 = load ptr, ptr %3, align 8
%21 = load i32, ptr %4, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds i8, ptr %20, i64 %22
%24 = load i8, ptr %23, align 1
%25 = sext i8 %24 to i32
%26 = icmp ne i32 %25, 0
br i1 %26, label %17, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %17
br label %27
27: ; preds = %._crit_edge, %1
%28 = load i32, ptr %4, align 4
%29 = icmp sgt i32 %28, 2
br i1 %29, label %30, label %49
30: ; preds = %27
%31 = load ptr, ptr %3, align 8
%32 = getelementptr inbounds i8, ptr %31, i64 0
%33 = load i8, ptr %32, align 1
%34 = sext i8 %33 to i32
%35 = icmp eq i32 %34, 48
br i1 %35, label %36, label %49
36: ; preds = %30
%37 = load ptr, ptr %3, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i8, ptr %38, align 1
%40 = sext i8 %39 to i32
%41 = icmp eq i32 %40, 120
br i1 %41, label %48, label %42
42: ; preds = %36
%43 = load ptr, ptr %3, align 8
%44 = getelementptr inbounds i8, ptr %43, i64 1
%45 = load i8, ptr %44, align 1
%46 = sext i8 %45 to i32
%47 = icmp eq i32 %46, 88
br i1 %47, label %48, label %49
48: ; preds = %42, %36
store i32 1, ptr %5, align 4
br label %50
49: ; preds = %42, %30, %27
store i32 0, ptr %5, align 4
br label %50
50: ; preds = %49, %48
%51 = load i32, ptr %5, align 4
%52 = icmp ne i32 %51, 0
br i1 %52, label %53, label %58
53: ; preds = %50
store i32 2, ptr %6, align 4
%54 = load i32, ptr %6, align 4
%55 = load i32, ptr %4, align 4
%56 = add nsw i32 %54, %55
%57 = sub nsw i32 %56, 2
store i32 %57, ptr %7, align 4
br label %60
58: ; preds = %50
store i32 0, ptr %6, align 4
%59 = load i32, ptr %4, align 4
store i32 %59, ptr %7, align 4
br label %60
60: ; preds = %58, %53
store i32 1, ptr %8, align 4
%61 = load i32, ptr %6, align 4
%62 = load i32, ptr %7, align 4
%63 = icmp slt i32 %61, %62
br i1 %63, label %.lr.ph2, label %119
.lr.ph2: ; preds = %60
br label %64
64: ; preds = %.lr.ph2, %113
%65 = load ptr, ptr %3, align 8
%66 = load i32, ptr %6, align 4
%67 = sext i32 %66 to i64
%68 = getelementptr inbounds i8, ptr %65, i64 %67
%69 = load i8, ptr %68, align 1
%70 = sext i8 %69 to i32
%71 = icmp sge i32 %70, 48
br i1 %71, label %72, label %80
72: ; preds = %64
%73 = load ptr, ptr %3, align 8
%74 = load i32, ptr %6, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds i8, ptr %73, i64 %75
%77 = load i8, ptr %76, align 1
%78 = sext i8 %77 to i32
%79 = icmp sle i32 %78, 57
br i1 %79, label %113, label %80
80: ; preds = %72, %64
%81 = load ptr, ptr %3, align 8
%82 = load i32, ptr %6, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds i8, ptr %81, i64 %83
%85 = load i8, ptr %84, align 1
%86 = sext i8 %85 to i32
%87 = icmp sge i32 %86, 65
br i1 %87, label %88, label %96
88: ; preds = %80
%89 = load ptr, ptr %3, align 8
%90 = load i32, ptr %6, align 4
%91 = sext i32 %90 to i64
%92 = getelementptr inbounds i8, ptr %89, i64 %91
%93 = load i8, ptr %92, align 1
%94 = sext i8 %93 to i32
%95 = icmp sle i32 %94, 70
br i1 %95, label %113, label %96
96: ; preds = %88, %80
%97 = load ptr, ptr %3, align 8
%98 = load i32, ptr %6, align 4
%99 = sext i32 %98 to i64
%100 = getelementptr inbounds i8, ptr %97, i64 %99
%101 = load i8, ptr %100, align 1
%102 = sext i8 %101 to i32
%103 = icmp sge i32 %102, 97
br i1 %103, label %104, label %112
104: ; preds = %96
%105 = load ptr, ptr %3, align 8
%106 = load i32, ptr %6, align 4
%107 = sext i32 %106 to i64
%108 = getelementptr inbounds i8, ptr %105, i64 %107
%109 = load i8, ptr %108, align 1
%110 = sext i8 %109 to i32
%111 = icmp sle i32 %110, 102
br i1 %111, label %113, label %112
112: ; preds = %104, %96
store i32 0, ptr %8, align 4
br label %113
113: ; preds = %112, %104, %88, %72
%114 = load i32, ptr %6, align 4
%115 = add nsw i32 %114, 1
store i32 %115, ptr %6, align 4
%116 = load i32, ptr %6, align 4
%117 = load i32, ptr %7, align 4
%118 = icmp slt i32 %116, %117
br i1 %118, label %64, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %113
br label %119
119: ; preds = %._crit_edge3, %60
%120 = load i32, ptr %8, align 4
%121 = icmp ne i32 %120, 0
br i1 %121, label %124, label %122
122: ; preds = %119
%123 = call i32 @printf(ptr noundef @.str)
store i32 -1, ptr %2, align 4
br label %161
124: ; preds = %119
%125 = load i32, ptr %5, align 4
%126 = icmp ne i32 %125, 0
br i1 %126, label %127, label %132
127: ; preds = %124
store i32 2, ptr %6, align 4
%128 = load i32, ptr %6, align 4
%129 = load i32, ptr %4, align 4
%130 = add nsw i32 %128, %129
%131 = sub nsw i32 %130, 2
store i32 %131, ptr %7, align 4
br label %134
132: ; preds = %124
store i32 0, ptr %6, align 4
%133 = load i32, ptr %4, align 4
store i32 %133, ptr %7, align 4
br label %134
134: ; preds = %132, %127
store i32 0, ptr %9, align 4
%135 = load i32, ptr %6, align 4
%136 = load i32, ptr %7, align 4
%137 = icmp slt i32 %135, %136
br i1 %137, label %.lr.ph5, label %159
.lr.ph5: ; preds = %134
br label %138
138: ; preds = %.lr.ph5, %138
%139 = load ptr, ptr %3, align 8
%140 = load i32, ptr %6, align 4
%141 = sext i32 %140 to i64
%142 = getelementptr inbounds i8, ptr %139, i64 %141
%143 = load i8, ptr %142, align 1
%144 = call i32 @hexDic(i8 noundef signext %143)
%145 = load i32, ptr %7, align 4
%146 = load i32, ptr %6, align 4
%147 = sub nsw i32 %145, %146
%148 = sub nsw i32 %147, 1
%149 = call i64 @pow(i32 noundef 16, i32 noundef %148)
%150 = trunc i64 %149 to i32
%151 = mul nsw i32 %144, %150
%152 = load i32, ptr %9, align 4
%153 = add nsw i32 %152, %151
store i32 %153, ptr %9, align 4
%154 = load i32, ptr %6, align 4
%155 = add nsw i32 %154, 1
store i32 %155, ptr %6, align 4
%156 = load i32, ptr %6, align 4
%157 = load i32, ptr %7, align 4
%158 = icmp slt i32 %156, %157
br i1 %158, label %138, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %138
br label %159
159: ; preds = %._crit_edge6, %134
%160 = load i32, ptr %9, align 4
store i32 %160, ptr %2, align 4
br label %161
161: ; preds = %159, %122
%162 = load i32, ptr %2, align 4
ret i32 %162
}
declare i32 @printf(ptr noundef) #1
declare i32 @hexDic(i8 noundef signext) #1
declare i64 @pow(i32 noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp0qkeyxfv.c'
source_filename = "/tmp/tmp0qkeyxfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOTEMPTY = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Fatal error in rename_unlink()\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rename_unlink(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %1
%13 = load i32, ptr @EINVAL, align 4
store i32 %13, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %110
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call i64 @lstat(ptr noundef %15, ptr noundef %6)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 -1, ptr %2, align 4
br label %110
19: ; preds = %14
%20 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = call i64 @S_ISDIR(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = call i64 @empty_directory(ptr noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr @ENOTEMPTY, align 4
store i32 %29, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %110
30: ; preds = %24, %19
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = add nsw i32 %32, 15
%34 = sext i32 %33 to i64
store i64 %34, ptr %7, align 8
%35 = load i64, ptr %7, align 8
%36 = call i64 @alloca(i64 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %4, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %41
39: ; preds = %30
%40 = load i32, ptr @ENOMEM, align 4
store i32 %40, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %110
41: ; preds = %30
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i64, ptr %7, align 8
%45 = call i32 @strncpy(ptr noundef %42, ptr noundef %43, i64 noundef %44)
%46 = load ptr, ptr %4, align 8
%47 = call ptr @strrchr(ptr noundef %46, i8 noundef signext 47)
store ptr %47, ptr %5, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %53
49: ; preds = %41
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %5, align 8
%52 = load ptr, ptr %5, align 8
store i8 0, ptr %52, align 1
br label %55
53: ; preds = %41
%54 = load ptr, ptr %4, align 8
store ptr %54, ptr %5, align 8
br label %55
55: ; preds = %53, %49
br label %56
56: ; preds = %80, %55
store i32 0, ptr %8, align 4
br label %57
57: ; preds = %74, %56
%58 = load i32, ptr %8, align 4
%59 = icmp slt i32 %58, 14
br i1 %59, label %60, label %75
60: ; preds = %57
%61 = call zeroext i8 (...) @random_char()
store i8 %61, ptr %9, align 1
%62 = load i8, ptr %9, align 1
%63 = zext i8 %62 to i32
%64 = call i64 @isalnum(i32 noundef %63)
%65 = icmp ne i64 %64, 0
br i1 %65, label %66, label %74
66: ; preds = %60
%67 = load i8, ptr %9, align 1
%68 = load ptr, ptr %5, align 8
%69 = load i32, ptr %8, align 4
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds i8, ptr %68, i64 %70
store i8 %67, 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 %74
74: ; preds = %66, %60
br label %57, !llvm.loop !6
75: ; preds = %57
%76 = load ptr, ptr %5, align 8
%77 = load i32, ptr %8, align 4
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds i8, ptr %76, i64 %78
store i8 0, ptr %79, align 1
br label %80
80: ; preds = %75
%81 = load ptr, ptr %4, align 8
%82 = call i64 @lstat(ptr noundef %81, ptr noundef %6)
%83 = icmp eq i64 %82, 0
br i1 %83, label %56, label %84, !llvm.loop !8
84: ; preds = %80
%85 = load ptr, ptr %3, align 8
%86 = load ptr, ptr %4, align 8
%87 = call i64 @rename(ptr noundef %85, ptr noundef %86)
%88 = icmp slt i64 %87, 0
br i1 %88, label %89, label %90
89: ; preds = %84
store i32 -1, ptr %2, align 4
br label %110
90: ; preds = %84
%91 = call i32 (...) @sync()
%92 = load ptr, ptr %4, align 8
%93 = call i64 @lstat(ptr noundef %92, ptr noundef %6)
%94 = icmp slt i64 %93, 0
br i1 %94, label %95, label %99
95: ; preds = %90
%96 = call i32 @perror(ptr noundef @.str)
%97 = load i32, ptr @EXIT_FAILURE, align 4
%98 = call i32 @exit(i32 noundef %97) #3
unreachable
99: ; preds = %90
%100 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%101 = load i32, ptr %100, align 4
%102 = call i64 @S_ISDIR(i32 noundef %101)
%103 = icmp ne i64 %102, 0
br i1 %103, label %104, label %107
104: ; preds = %99
%105 = load ptr, ptr %4, align 8
%106 = call i32 @rmdir(ptr noundef %105)
store i32 %106, ptr %2, align 4
br label %110
107: ; preds = %99
%108 = load ptr, ptr %4, align 8
%109 = call i32 @unlink(ptr noundef %108)
store i32 %109, ptr %2, align 4
br label %110
110: ; preds = %107, %104, %89, %39, %28, %18, %12
%111 = load i32, ptr %2, align 4
ret i32 %111
}
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @empty_directory(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @alloca(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare zeroext i8 @random_char(...) #1
declare i64 @isalnum(i32 noundef) #1
declare i64 @rename(ptr noundef, ptr noundef) #1
declare i32 @sync(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @rmdir(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp0qkeyxfv.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct.stat = type { i32 }
@EINVAL = dso_local global i32 0, align 4
@errno = dso_local global i32 0, align 4
@ENOTEMPTY = dso_local global i32 0, align 4
@ENOMEM = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [31 x i8] c"Fatal error in rename_unlink()\00", align 1
@EXIT_FAILURE = dso_local global i32 0, align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @rename_unlink(ptr noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca %struct.stat, align 4
%7 = alloca i64, align 8
%8 = alloca i32, align 4
%9 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store i32 0, ptr %8, align 4
%10 = load ptr, ptr %3, align 8
%11 = icmp ne ptr %10, null
br i1 %11, label %14, label %12
12: ; preds = %1
%13 = load i32, ptr @EINVAL, align 4
store i32 %13, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %111
14: ; preds = %1
%15 = load ptr, ptr %3, align 8
%16 = call i64 @lstat(ptr noundef %15, ptr noundef %6)
%17 = icmp slt i64 %16, 0
br i1 %17, label %18, label %19
18: ; preds = %14
store i32 -1, ptr %2, align 4
br label %111
19: ; preds = %14
%20 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%21 = load i32, ptr %20, align 4
%22 = call i64 @S_ISDIR(i32 noundef %21)
%23 = icmp ne i64 %22, 0
br i1 %23, label %24, label %30
24: ; preds = %19
%25 = load ptr, ptr %3, align 8
%26 = call i64 @empty_directory(ptr noundef %25)
%27 = icmp slt i64 %26, 0
br i1 %27, label %28, label %30
28: ; preds = %24
%29 = load i32, ptr @ENOTEMPTY, align 4
store i32 %29, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %111
30: ; preds = %24, %19
%31 = load ptr, ptr %3, align 8
%32 = call i32 @strlen(ptr noundef %31)
%33 = add nsw i32 %32, 15
%34 = sext i32 %33 to i64
store i64 %34, ptr %7, align 8
%35 = load i64, ptr %7, align 8
%36 = call i64 @alloca(i64 noundef %35)
%37 = inttoptr i64 %36 to ptr
store ptr %37, ptr %4, align 8
%38 = icmp eq ptr %37, null
br i1 %38, label %39, label %41
39: ; preds = %30
%40 = load i32, ptr @ENOMEM, align 4
store i32 %40, ptr @errno, align 4
store i32 -1, ptr %2, align 4
br label %111
41: ; preds = %30
%42 = load ptr, ptr %4, align 8
%43 = load ptr, ptr %3, align 8
%44 = load i64, ptr %7, align 8
%45 = call i32 @strncpy(ptr noundef %42, ptr noundef %43, i64 noundef %44)
%46 = load ptr, ptr %4, align 8
%47 = call ptr @strrchr(ptr noundef %46, i8 noundef signext 47)
store ptr %47, ptr %5, align 8
%48 = icmp ne ptr %47, null
br i1 %48, label %49, label %53
49: ; preds = %41
%50 = load ptr, ptr %5, align 8
%51 = getelementptr inbounds i8, ptr %50, i32 1
store ptr %51, ptr %5, align 8
%52 = load ptr, ptr %5, align 8
store i8 0, ptr %52, align 1
br label %55
53: ; preds = %41
%54 = load ptr, ptr %4, align 8
store ptr %54, ptr %5, align 8
br label %55
55: ; preds = %53, %49
br label %56
56: ; preds = %81, %55
store i32 0, ptr %8, align 4
%57 = load i32, ptr %8, align 4
%58 = icmp slt i32 %57, 14
br i1 %58, label %.lr.ph, label %76
.lr.ph: ; preds = %56
br label %59
59: ; preds = %.lr.ph, %73
%60 = call zeroext i8 (...) @random_char()
store i8 %60, ptr %9, align 1
%61 = load i8, ptr %9, align 1
%62 = zext i8 %61 to i32
%63 = call i64 @isalnum(i32 noundef %62)
%64 = icmp ne i64 %63, 0
br i1 %64, label %65, label %73
65: ; preds = %59
%66 = load i8, ptr %9, align 1
%67 = load ptr, ptr %5, align 8
%68 = load i32, ptr %8, align 4
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds i8, ptr %67, i64 %69
store i8 %66, ptr %70, align 1
%71 = load i32, ptr %8, align 4
%72 = add nsw i32 %71, 1
store i32 %72, ptr %8, align 4
br label %73
73: ; preds = %65, %59
%74 = load i32, ptr %8, align 4
%75 = icmp slt i32 %74, 14
br i1 %75, label %59, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %73
br label %76
76: ; preds = %._crit_edge, %56
%77 = load ptr, ptr %5, align 8
%78 = load i32, ptr %8, align 4
%79 = sext i32 %78 to i64
%80 = getelementptr inbounds i8, ptr %77, i64 %79
store i8 0, ptr %80, align 1
br label %81
81: ; preds = %76
%82 = load ptr, ptr %4, align 8
%83 = call i64 @lstat(ptr noundef %82, ptr noundef %6)
%84 = icmp eq i64 %83, 0
br i1 %84, label %56, label %85, !llvm.loop !8
85: ; preds = %81
%86 = load ptr, ptr %3, align 8
%87 = load ptr, ptr %4, align 8
%88 = call i64 @rename(ptr noundef %86, ptr noundef %87)
%89 = icmp slt i64 %88, 0
br i1 %89, label %90, label %91
90: ; preds = %85
store i32 -1, ptr %2, align 4
br label %111
91: ; preds = %85
%92 = call i32 (...) @sync()
%93 = load ptr, ptr %4, align 8
%94 = call i64 @lstat(ptr noundef %93, ptr noundef %6)
%95 = icmp slt i64 %94, 0
br i1 %95, label %96, label %100
96: ; preds = %91
%97 = call i32 @perror(ptr noundef @.str)
%98 = load i32, ptr @EXIT_FAILURE, align 4
%99 = call i32 @exit(i32 noundef %98) #3
unreachable
100: ; preds = %91
%101 = getelementptr inbounds %struct.stat, ptr %6, i32 0, i32 0
%102 = load i32, ptr %101, align 4
%103 = call i64 @S_ISDIR(i32 noundef %102)
%104 = icmp ne i64 %103, 0
br i1 %104, label %105, label %108
105: ; preds = %100
%106 = load ptr, ptr %4, align 8
%107 = call i32 @rmdir(ptr noundef %106)
store i32 %107, ptr %2, align 4
br label %111
108: ; preds = %100
%109 = load ptr, ptr %4, align 8
%110 = call i32 @unlink(ptr noundef %109)
store i32 %110, ptr %2, align 4
br label %111
111: ; preds = %108, %105, %90, %39, %28, %18, %12
%112 = load i32, ptr %2, align 4
ret i32 %112
}
declare i64 @lstat(ptr noundef, ptr noundef) #1
declare i64 @S_ISDIR(i32 noundef) #1
declare i64 @empty_directory(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i64 @alloca(i64 noundef) #1
declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #1
declare ptr @strrchr(ptr noundef, i8 noundef signext) #1
declare zeroext i8 @random_char(...) #1
declare i64 @isalnum(i32 noundef) #1
declare i64 @rename(ptr noundef, ptr noundef) #1
declare i32 @sync(...) #1
declare i32 @perror(ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare i32 @rmdir(ptr noundef) #1
declare i32 @unlink(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpuch_8odo.c'
source_filename = "/tmp/tmpuch_8odo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search_subspace(i32 noundef 6, i32 noundef 6, i32 noundef 6)
ret i32 0
}
declare i32 @search_subspace(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/tmpuch_8odo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @search_subspace(i32 noundef 6, i32 noundef 6, i32 noundef 6)
ret i32 0
}
declare i32 @search_subspace(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/tmppa8v9z07.c'
source_filename = "/tmp/tmppa8v9z07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strmatch_patmat(ptr noundef %0, ptr 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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %7, align 4
%10 = and i32 %9, 2
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 1, ptr %8, align 4
br label %13
13: ; preds = %12, %3
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %63 [
i32 0, label %17
i32 42, label %23
i32 63, label %47
]
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
%21 = xor i1 %20, true
%22 = zext i1 %21 to i32
store i32 %22, ptr %4, align 4
br label %102
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = call i32 @_strmatch_patmat(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = icmp ne i32 %28, 0
br i1 %29, label %44, label %30
30: ; preds = %23
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %30
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i32, ptr %7, align 4
%40 = call i32 @_strmatch_patmat(ptr noundef %36, ptr noundef %38, i32 noundef %39)
%41 = icmp ne i32 %40, 0
br label %42
42: ; preds = %35, %30
%43 = phi i1 [ false, %30 ], [ %41, %35 ]
br label %44
44: ; preds = %42, %23
%45 = phi i1 [ true, %23 ], [ %43, %42 ]
%46 = zext i1 %45 to i32
store i32 %46, ptr %4, align 4
br label %102
47: ; preds = %13
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %60
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = load ptr, ptr %6, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 1
%57 = load i32, ptr %7, align 4
%58 = call i32 @_strmatch_patmat(ptr noundef %54, ptr noundef %56, i32 noundef %57)
%59 = icmp ne i32 %58, 0
br label %60
60: ; preds = %52, %47
%61 = phi i1 [ false, %47 ], [ %59, %52 ]
%62 = zext i1 %61 to i32
store i32 %62, ptr %4, align 4
br label %102
63: ; preds = %13
%64 = load i32, ptr %8, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %71
66: ; preds = %63
%67 = load ptr, ptr %5, align 8
%68 = load i8, ptr %67, align 1
%69 = call signext i8 @tolower(i8 noundef signext %68)
%70 = sext i8 %69 to i32
br label %75
71: ; preds = %63
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
br label %75
75: ; preds = %71, %66
%76 = phi i32 [ %70, %66 ], [ %74, %71 ]
%77 = load i32, ptr %8, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load ptr, ptr %6, align 8
%81 = load i8, ptr %80, align 1
%82 = call signext i8 @tolower(i8 noundef signext %81)
%83 = sext i8 %82 to i32
br label %88
84: ; preds = %75
%85 = load ptr, ptr %6, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
br label %88
88: ; preds = %84, %79
%89 = phi i32 [ %83, %79 ], [ %87, %84 ]
%90 = icmp eq i32 %76, %89
br i1 %90, label %91, label %99
91: ; preds = %88
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 1
%94 = load ptr, ptr %6, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 1
%96 = load i32, ptr %7, align 4
%97 = call i32 @_strmatch_patmat(ptr noundef %93, ptr noundef %95, i32 noundef %96)
%98 = icmp ne i32 %97, 0
br label %99
99: ; preds = %91, %88
%100 = phi i1 [ false, %88 ], [ %98, %91 ]
%101 = zext i1 %100 to i32
store i32 %101, ptr %4, align 4
br label %102
102: ; preds = %99, %60, %44, %17
%103 = load i32, ptr %4, align 4
ret i32 %103
}
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppa8v9z07.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @_strmatch_patmat(ptr noundef %0, ptr 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
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i32 %2, ptr %7, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %7, align 4
%10 = and i32 %9, 2
%11 = icmp eq i32 %10, 2
br i1 %11, label %12, label %13
12: ; preds = %3
store i32 1, ptr %8, align 4
br label %13
13: ; preds = %12, %3
%14 = load ptr, ptr %5, align 8
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
switch i32 %16, label %63 [
i32 0, label %17
i32 42, label %23
i32 63, label %47
]
17: ; preds = %13
%18 = load ptr, ptr %6, align 8
%19 = load i8, ptr %18, align 1
%20 = icmp ne i8 %19, 0
%21 = xor i1 %20, true
%22 = zext i1 %21 to i32
store i32 %22, ptr %4, align 4
br label %102
23: ; preds = %13
%24 = load ptr, ptr %5, align 8
%25 = getelementptr inbounds i8, ptr %24, i64 1
%26 = load ptr, ptr %6, align 8
%27 = load i32, ptr %7, align 4
%28 = call i32 @_strmatch_patmat(ptr noundef %25, ptr noundef %26, i32 noundef %27)
%29 = icmp ne i32 %28, 0
br i1 %29, label %44, label %30
30: ; preds = %23
%31 = load ptr, ptr %6, align 8
%32 = load i8, ptr %31, align 1
%33 = sext i8 %32 to i32
%34 = icmp ne i32 %33, 0
br i1 %34, label %35, label %42
35: ; preds = %30
%36 = load ptr, ptr %5, align 8
%37 = load ptr, ptr %6, align 8
%38 = getelementptr inbounds i8, ptr %37, i64 1
%39 = load i32, ptr %7, align 4
%40 = call i32 @_strmatch_patmat(ptr noundef %36, ptr noundef %38, i32 noundef %39)
%41 = icmp ne i32 %40, 0
br label %42
42: ; preds = %35, %30
%43 = phi i1 [ false, %30 ], [ %41, %35 ]
br label %44
44: ; preds = %42, %23
%45 = phi i1 [ true, %23 ], [ %43, %42 ]
%46 = zext i1 %45 to i32
store i32 %46, ptr %4, align 4
br label %102
47: ; preds = %13
%48 = load ptr, ptr %6, align 8
%49 = load i8, ptr %48, align 1
%50 = sext i8 %49 to i32
%51 = icmp ne i32 %50, 0
br i1 %51, label %52, label %60
52: ; preds = %47
%53 = load ptr, ptr %5, align 8
%54 = getelementptr inbounds i8, ptr %53, i64 1
%55 = load ptr, ptr %6, align 8
%56 = getelementptr inbounds i8, ptr %55, i64 1
%57 = load i32, ptr %7, align 4
%58 = call i32 @_strmatch_patmat(ptr noundef %54, ptr noundef %56, i32 noundef %57)
%59 = icmp ne i32 %58, 0
br label %60
60: ; preds = %52, %47
%61 = phi i1 [ false, %47 ], [ %59, %52 ]
%62 = zext i1 %61 to i32
store i32 %62, ptr %4, align 4
br label %102
63: ; preds = %13
%64 = load i32, ptr %8, align 4
%65 = icmp ne i32 %64, 0
br i1 %65, label %66, label %71
66: ; preds = %63
%67 = load ptr, ptr %5, align 8
%68 = load i8, ptr %67, align 1
%69 = call signext i8 @tolower(i8 noundef signext %68)
%70 = sext i8 %69 to i32
br label %75
71: ; preds = %63
%72 = load ptr, ptr %5, align 8
%73 = load i8, ptr %72, align 1
%74 = sext i8 %73 to i32
br label %75
75: ; preds = %71, %66
%76 = phi i32 [ %70, %66 ], [ %74, %71 ]
%77 = load i32, ptr %8, align 4
%78 = icmp ne i32 %77, 0
br i1 %78, label %79, label %84
79: ; preds = %75
%80 = load ptr, ptr %6, align 8
%81 = load i8, ptr %80, align 1
%82 = call signext i8 @tolower(i8 noundef signext %81)
%83 = sext i8 %82 to i32
br label %88
84: ; preds = %75
%85 = load ptr, ptr %6, align 8
%86 = load i8, ptr %85, align 1
%87 = sext i8 %86 to i32
br label %88
88: ; preds = %84, %79
%89 = phi i32 [ %83, %79 ], [ %87, %84 ]
%90 = icmp eq i32 %76, %89
br i1 %90, label %91, label %99
91: ; preds = %88
%92 = load ptr, ptr %5, align 8
%93 = getelementptr inbounds i8, ptr %92, i64 1
%94 = load ptr, ptr %6, align 8
%95 = getelementptr inbounds i8, ptr %94, i64 1
%96 = load i32, ptr %7, align 4
%97 = call i32 @_strmatch_patmat(ptr noundef %93, ptr noundef %95, i32 noundef %96)
%98 = icmp ne i32 %97, 0
br label %99
99: ; preds = %91, %88
%100 = phi i1 [ false, %88 ], [ %98, %91 ]
%101 = zext i1 %100 to i32
store i32 %101, ptr %4, align 4
br label %102
102: ; preds = %99, %60, %44, %17
%103 = load i32, ptr %4, align 4
ret i32 %103
}
declare signext i8 @tolower(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpac_jg0fu.c'
source_filename = "/tmp/tmpac_jg0fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getheap(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call ptr @malloc(i32 noundef 100)
store ptr %3, ptr %2, align 8
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpac_jg0fu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @getheap(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = call ptr @malloc(i32 noundef 100)
store ptr %3, ptr %2, align 8
ret void
}
declare ptr @malloc(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpptxs243k.c'
source_filename = "/tmp/tmpptxs243k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"%s by zero in #if, zero result assumed\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"divide\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"mod\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"#if bug, operand = %d.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @evaleval(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 3
br i1 %10, label %11, label %18
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %12, 23
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 -1
store ptr %16, ptr %4, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %14, %11, %3
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i32, ptr %19, i32 -1
store ptr %20, ptr %4, align 8
%21 = load i32, ptr %20, align 4
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %5, align 4
switch i32 %22, label %153 [
i32 0, label %23
i32 3, label %24
i32 4, label %28
i32 5, label %32
i32 6, label %36
i32 7, label %36
i32 8, label %62
i32 9, label %66
i32 10, label %70
i32 11, label %74
i32 12, label %78
i32 13, label %82
i32 14, label %87
i32 15, label %92
i32 16, label %97
i32 17, label %102
i32 18, label %107
i32 19, label %112
i32 20, label %121
i32 22, label %130
i32 25, label %141
i32 24, label %144
i32 26, label %145
i32 27, label %148
]
23: ; preds = %18
br label %156
24: ; preds = %18
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %7, align 4
br label %156
28: ; preds = %18
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = sub nsw i32 %30, %29
store i32 %31, ptr %7, align 4
br label %156
32: ; preds = %18
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = mul nsw i32 %34, %33
store i32 %35, ptr %7, align 4
br label %156
36: ; preds = %18, %18
%37 = load i32, ptr %8, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load i32, ptr %6, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %48, label %42
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 6
%45 = zext i1 %44 to i64
%46 = select i1 %44, ptr @.str.1, ptr @.str.2
%47 = call i32 @cwarn(ptr noundef @.str, ptr noundef %46)
br label %48
48: ; preds = %42, %39
store i32 0, ptr %7, align 4
br label %61
49: ; preds = %36
%50 = load i32, ptr %5, align 4
%51 = icmp eq i32 %50, 6
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %7, align 4
%55 = sdiv i32 %54, %53
store i32 %55, ptr %7, align 4
br label %60
56: ; preds = %49
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %7, align 4
%59 = srem i32 %58, %57
store i32 %59, ptr %7, align 4
br label %60
60: ; preds = %56, %52
br label %61
61: ; preds = %60, %48
br label %156
62: ; preds = %18
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %7, align 4
%65 = shl i32 %64, %63
store i32 %65, ptr %7, align 4
br label %156
66: ; preds = %18
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %7, align 4
%69 = ashr i32 %68, %67
store i32 %69, ptr %7, align 4
br label %156
70: ; preds = %18
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %7, align 4
%73 = and i32 %72, %71
store i32 %73, ptr %7, align 4
br label %156
74: ; preds = %18
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %7, align 4
%77 = or i32 %76, %75
store i32 %77, ptr %7, align 4
br label %156
78: ; preds = %18
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %7, align 4
%81 = xor i32 %80, %79
store i32 %81, ptr %7, align 4
br label %156
82: ; preds = %18
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp eq i32 %83, %84
%86 = zext i1 %85 to i32
store i32 %86, ptr %7, align 4
br label %156
87: ; preds = %18
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %8, align 4
%90 = icmp ne i32 %88, %89
%91 = zext i1 %90 to i32
store i32 %91, ptr %7, align 4
br label %156
92: ; preds = %18
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %8, align 4
%95 = icmp slt i32 %93, %94
%96 = zext i1 %95 to i32
store i32 %96, ptr %7, align 4
br label %156
97: ; preds = %18
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp sle i32 %98, %99
%101 = zext i1 %100 to i32
store i32 %101, ptr %7, align 4
br label %156
102: ; preds = %18
%103 = load i32, ptr %7, align 4
%104 = load i32, ptr %8, align 4
%105 = icmp sge i32 %103, %104
%106 = zext i1 %105 to i32
store i32 %106, ptr %7, align 4
br label %156
107: ; preds = %18
%108 = load i32, ptr %7, align 4
%109 = load i32, ptr %8, align 4
%110 = icmp sgt i32 %108, %109
%111 = zext i1 %110 to i32
store i32 %111, ptr %7, align 4
br label %156
112: ; preds = %18
%113 = load i32, ptr %7, align 4
%114 = icmp ne i32 %113, 0
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = load i32, ptr %8, align 4
%117 = icmp ne i32 %116, 0
br label %118
118: ; preds = %115, %112
%119 = phi i1 [ false, %112 ], [ %117, %115 ]
%120 = zext i1 %119 to i32
store i32 %120, ptr %7, align 4
br label %156
121: ; preds = %18
%122 = load i32, ptr %7, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %127, label %124
124: ; preds = %121
%125 = load i32, ptr %8, align 4
%126 = icmp ne i32 %125, 0
br label %127
127: ; preds = %124, %121
%128 = phi i1 [ true, %121 ], [ %126, %124 ]
%129 = zext i1 %128 to i32
store i32 %129, ptr %7, align 4
br label %156
130: ; preds = %18
%131 = load ptr, ptr %4, align 8
%132 = getelementptr inbounds i32, ptr %131, i32 -1
store ptr %132, ptr %4, align 8
%133 = load i32, ptr %132, align 4
%134 = icmp ne i32 %133, 0
br i1 %134, label %135, label %137
135: ; preds = %130
%136 = load i32, ptr %7, align 4
br label %139
137: ; preds = %130
%138 = load i32, ptr %8, align 4
br label %139
139: ; preds = %137, %135
%140 = phi i32 [ %136, %135 ], [ %138, %137 ]
store i32 %140, ptr %7, align 4
br label %156
141: ; preds = %18
%142 = load i32, ptr %7, align 4
%143 = sub nsw i32 0, %142
store i32 %143, ptr %7, align 4
br label %156
144: ; preds = %18
br label %156
145: ; preds = %18
%146 = load i32, ptr %7, align 4
%147 = xor i32 %146, -1
store i32 %147, ptr %7, align 4
br label %156
148: ; preds = %18
%149 = load i32, ptr %7, align 4
%150 = icmp ne i32 %149, 0
%151 = xor i1 %150, true
%152 = zext i1 %151 to i32
store i32 %152, ptr %7, align 4
br label %156
153: ; preds = %18
%154 = load i32, ptr %5, align 4
%155 = call i32 @cierror(ptr noundef @.str.3, i32 noundef %154)
store i32 0, ptr %7, align 4
br label %156
156: ; preds = %153, %148, %145, %144, %141, %139, %127, %118, %107, %102, %97, %92, %87, %82, %78, %74, %70, %66, %62, %61, %32, %28, %24, %23
%157 = load i32, ptr %7, align 4
%158 = load ptr, ptr %4, align 8
%159 = getelementptr inbounds i32, ptr %158, i32 1
store ptr %159, ptr %4, align 8
store i32 %157, ptr %158, align 4
%160 = load ptr, ptr %4, align 8
ret ptr %160
}
declare i32 @cwarn(ptr noundef, ptr noundef) #1
declare i32 @cierror(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/tmpptxs243k.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [39 x i8] c"%s by zero in #if, zero result assumed\00", align 1
@.str.1 = private unnamed_addr constant [7 x i8] c"divide\00", align 1
@.str.2 = private unnamed_addr constant [4 x i8] c"mod\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"#if bug, operand = %d.\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local ptr @evaleval(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
%8 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store i32 %1, ptr %5, align 4
store i32 %2, ptr %6, align 4
store i32 0, ptr %8, align 4
%9 = load i32, ptr %5, align 4
%10 = icmp sge i32 %9, 3
br i1 %10, label %11, label %18
11: ; preds = %3
%12 = load i32, ptr %5, align 4
%13 = icmp sle i32 %12, 23
br i1 %13, label %14, label %18
14: ; preds = %11
%15 = load ptr, ptr %4, align 8
%16 = getelementptr inbounds i32, ptr %15, i32 -1
store ptr %16, ptr %4, align 8
%17 = load i32, ptr %16, align 4
store i32 %17, ptr %8, align 4
br label %18
18: ; preds = %14, %11, %3
%19 = load ptr, ptr %4, align 8
%20 = getelementptr inbounds i32, ptr %19, i32 -1
store ptr %20, ptr %4, align 8
%21 = load i32, ptr %20, align 4
store i32 %21, ptr %7, align 4
%22 = load i32, ptr %5, align 4
switch i32 %22, label %153 [
i32 0, label %23
i32 3, label %24
i32 4, label %28
i32 5, label %32
i32 6, label %36
i32 7, label %36
i32 8, label %62
i32 9, label %66
i32 10, label %70
i32 11, label %74
i32 12, label %78
i32 13, label %82
i32 14, label %87
i32 15, label %92
i32 16, label %97
i32 17, label %102
i32 18, label %107
i32 19, label %112
i32 20, label %121
i32 22, label %130
i32 25, label %141
i32 24, label %144
i32 26, label %145
i32 27, label %148
]
23: ; preds = %18
br label %156
24: ; preds = %18
%25 = load i32, ptr %8, align 4
%26 = load i32, ptr %7, align 4
%27 = add nsw i32 %26, %25
store i32 %27, ptr %7, align 4
br label %156
28: ; preds = %18
%29 = load i32, ptr %8, align 4
%30 = load i32, ptr %7, align 4
%31 = sub nsw i32 %30, %29
store i32 %31, ptr %7, align 4
br label %156
32: ; preds = %18
%33 = load i32, ptr %8, align 4
%34 = load i32, ptr %7, align 4
%35 = mul nsw i32 %34, %33
store i32 %35, ptr %7, align 4
br label %156
36: ; preds = %18, %18
%37 = load i32, ptr %8, align 4
%38 = icmp eq i32 %37, 0
br i1 %38, label %39, label %49
39: ; preds = %36
%40 = load i32, ptr %6, align 4
%41 = icmp ne i32 %40, 0
br i1 %41, label %48, label %42
42: ; preds = %39
%43 = load i32, ptr %5, align 4
%44 = icmp eq i32 %43, 6
%45 = zext i1 %44 to i64
%46 = select i1 %44, ptr @.str.1, ptr @.str.2
%47 = call i32 @cwarn(ptr noundef @.str, ptr noundef %46)
br label %48
48: ; preds = %42, %39
store i32 0, ptr %7, align 4
br label %61
49: ; preds = %36
%50 = load i32, ptr %5, align 4
%51 = icmp eq i32 %50, 6
br i1 %51, label %52, label %56
52: ; preds = %49
%53 = load i32, ptr %8, align 4
%54 = load i32, ptr %7, align 4
%55 = sdiv i32 %54, %53
store i32 %55, ptr %7, align 4
br label %60
56: ; preds = %49
%57 = load i32, ptr %8, align 4
%58 = load i32, ptr %7, align 4
%59 = srem i32 %58, %57
store i32 %59, ptr %7, align 4
br label %60
60: ; preds = %56, %52
br label %61
61: ; preds = %60, %48
br label %156
62: ; preds = %18
%63 = load i32, ptr %8, align 4
%64 = load i32, ptr %7, align 4
%65 = shl i32 %64, %63
store i32 %65, ptr %7, align 4
br label %156
66: ; preds = %18
%67 = load i32, ptr %8, align 4
%68 = load i32, ptr %7, align 4
%69 = ashr i32 %68, %67
store i32 %69, ptr %7, align 4
br label %156
70: ; preds = %18
%71 = load i32, ptr %8, align 4
%72 = load i32, ptr %7, align 4
%73 = and i32 %72, %71
store i32 %73, ptr %7, align 4
br label %156
74: ; preds = %18
%75 = load i32, ptr %8, align 4
%76 = load i32, ptr %7, align 4
%77 = or i32 %76, %75
store i32 %77, ptr %7, align 4
br label %156
78: ; preds = %18
%79 = load i32, ptr %8, align 4
%80 = load i32, ptr %7, align 4
%81 = xor i32 %80, %79
store i32 %81, ptr %7, align 4
br label %156
82: ; preds = %18
%83 = load i32, ptr %7, align 4
%84 = load i32, ptr %8, align 4
%85 = icmp eq i32 %83, %84
%86 = zext i1 %85 to i32
store i32 %86, ptr %7, align 4
br label %156
87: ; preds = %18
%88 = load i32, ptr %7, align 4
%89 = load i32, ptr %8, align 4
%90 = icmp ne i32 %88, %89
%91 = zext i1 %90 to i32
store i32 %91, ptr %7, align 4
br label %156
92: ; preds = %18
%93 = load i32, ptr %7, align 4
%94 = load i32, ptr %8, align 4
%95 = icmp slt i32 %93, %94
%96 = zext i1 %95 to i32
store i32 %96, ptr %7, align 4
br label %156
97: ; preds = %18
%98 = load i32, ptr %7, align 4
%99 = load i32, ptr %8, align 4
%100 = icmp sle i32 %98, %99
%101 = zext i1 %100 to i32
store i32 %101, ptr %7, align 4
br label %156
102: ; preds = %18
%103 = load i32, ptr %7, align 4
%104 = load i32, ptr %8, align 4
%105 = icmp sge i32 %103, %104
%106 = zext i1 %105 to i32
store i32 %106, ptr %7, align 4
br label %156
107: ; preds = %18
%108 = load i32, ptr %7, align 4
%109 = load i32, ptr %8, align 4
%110 = icmp sgt i32 %108, %109
%111 = zext i1 %110 to i32
store i32 %111, ptr %7, align 4
br label %156
112: ; preds = %18
%113 = load i32, ptr %7, align 4
%114 = icmp ne i32 %113, 0
br i1 %114, label %115, label %118
115: ; preds = %112
%116 = load i32, ptr %8, align 4
%117 = icmp ne i32 %116, 0
br label %118
118: ; preds = %115, %112
%119 = phi i1 [ false, %112 ], [ %117, %115 ]
%120 = zext i1 %119 to i32
store i32 %120, ptr %7, align 4
br label %156
121: ; preds = %18
%122 = load i32, ptr %7, align 4
%123 = icmp ne i32 %122, 0
br i1 %123, label %127, label %124
124: ; preds = %121
%125 = load i32, ptr %8, align 4
%126 = icmp ne i32 %125, 0
br label %127
127: ; preds = %124, %121
%128 = phi i1 [ true, %121 ], [ %126, %124 ]
%129 = zext i1 %128 to i32
store i32 %129, ptr %7, align 4
br label %156
130: ; preds = %18
%131 = load ptr, ptr %4, align 8
%132 = getelementptr inbounds i32, ptr %131, i32 -1
store ptr %132, ptr %4, align 8
%133 = load i32, ptr %132, align 4
%134 = icmp ne i32 %133, 0
br i1 %134, label %135, label %137
135: ; preds = %130
%136 = load i32, ptr %7, align 4
br label %139
137: ; preds = %130
%138 = load i32, ptr %8, align 4
br label %139
139: ; preds = %137, %135
%140 = phi i32 [ %136, %135 ], [ %138, %137 ]
store i32 %140, ptr %7, align 4
br label %156
141: ; preds = %18
%142 = load i32, ptr %7, align 4
%143 = sub nsw i32 0, %142
store i32 %143, ptr %7, align 4
br label %156
144: ; preds = %18
br label %156
145: ; preds = %18
%146 = load i32, ptr %7, align 4
%147 = xor i32 %146, -1
store i32 %147, ptr %7, align 4
br label %156
148: ; preds = %18
%149 = load i32, ptr %7, align 4
%150 = icmp ne i32 %149, 0
%151 = xor i1 %150, true
%152 = zext i1 %151 to i32
store i32 %152, ptr %7, align 4
br label %156
153: ; preds = %18
%154 = load i32, ptr %5, align 4
%155 = call i32 @cierror(ptr noundef @.str.3, i32 noundef %154)
store i32 0, ptr %7, align 4
br label %156
156: ; preds = %153, %148, %145, %144, %141, %139, %127, %118, %107, %102, %97, %92, %87, %82, %78, %74, %70, %66, %62, %61, %32, %28, %24, %23
%157 = load i32, ptr %7, align 4
%158 = load ptr, ptr %4, align 8
%159 = getelementptr inbounds i32, ptr %158, i32 1
store ptr %159, ptr %4, align 8
store i32 %157, ptr %158, align 4
%160 = load ptr, ptr %4, align 8
ret ptr %160
}
declare i32 @cwarn(ptr noundef, ptr noundef) #1
declare i32 @cierror(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/tmp6qj1wgji.c'
source_filename = "/tmp/tmp6qj1wgji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E4\B8\80\E4\B8\AA\E6\95\B4\E6\95\B0\EF\BC\9A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"\E4\BB\96\E7\9A\8410\E5\80\8D\E6\95\B0\E6\98\AF%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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 %5, 10
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp6qj1wgji.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [25 x i8] c"\E8\AF\B7\E8\BE\93\E5\85\A5\E4\B8\80\E4\B8\AA\E6\95\B4\E6\95\B0\EF\BC\9A\00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [21 x i8] c"\E4\BB\96\E7\9A\8410\E5\80\8D\E6\95\B0\E6\98\AF%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
store i32 0, ptr %1, align 4
%3 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%5 = load i32, ptr %2, align 4
%6 = mul nsw i32 %5, 10
%7 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %6)
ret i32 0
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpkeu43wyk.c'
source_filename = "/tmp/tmpkeu43wyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\09\09\09\09\09\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%c | %c | %c\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"\0A\09\09\09\09\09----------\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"\0A\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @desenhar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
br label %5
5: ; preds = %37, %1
%6 = load i32, ptr %3, align 4
%7 = icmp sle i32 %6, 2
br i1 %7, label %8, label %40
8: ; preds = %5
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = load ptr, ptr %2, align 8
%11 = load i32, ptr %3, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds [3 x i8], ptr %10, i64 %12
%14 = getelementptr inbounds [3 x i8], ptr %13, i64 0, i64 0
%15 = load i8, ptr %14, align 1
%16 = sext i8 %15 to i32
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [3 x i8], ptr %17, i64 %19
%21 = getelementptr inbounds [3 x i8], ptr %20, i64 0, i64 1
%22 = load i8, ptr %21, align 1
%23 = sext i8 %22 to i32
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %3, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds [3 x i8], ptr %24, i64 %26
%28 = getelementptr inbounds [3 x i8], ptr %27, i64 0, i64 2
%29 = load i8, ptr %28, align 1
%30 = sext i8 %29 to i32
%31 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %16, i32 noundef %23, i32 noundef %30)
%32 = load i32, ptr %3, align 4
%33 = icmp slt i32 %32, 2
br i1 %33, label %34, label %36
34: ; preds = %8
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %36
36: ; preds = %34, %8
br label %37
37: ; preds = %36
%38 = load i32, ptr %3, align 4
%39 = add nsw i32 %38, 1
store i32 %39, ptr %3, align 4
br label %5, !llvm.loop !6
40: ; preds = %5
%41 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkeu43wyk.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"\0A\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\09\09\09\09\09\00", align 1
@.str.2 = private unnamed_addr constant [13 x i8] c"%c | %c | %c\00", align 1
@.str.3 = private unnamed_addr constant [18 x i8] c"\0A\09\09\09\09\09----------\0A\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"\0A\0A\0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @desenhar(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
store i32 0, ptr %3, align 4
%5 = load i32, ptr %3, align 4
%6 = icmp sle i32 %5, 2
br i1 %6, label %.lr.ph, label %41
.lr.ph: ; preds = %1
br label %7
7: ; preds = %.lr.ph, %36
%8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%9 = load ptr, ptr %2, align 8
%10 = load i32, ptr %3, align 4
%11 = sext i32 %10 to i64
%12 = getelementptr inbounds [3 x i8], ptr %9, i64 %11
%13 = getelementptr inbounds [3 x i8], ptr %12, i64 0, i64 0
%14 = load i8, ptr %13, align 1
%15 = sext i8 %14 to i32
%16 = load ptr, ptr %2, align 8
%17 = load i32, ptr %3, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds [3 x i8], ptr %16, i64 %18
%20 = getelementptr inbounds [3 x i8], ptr %19, i64 0, i64 1
%21 = load i8, ptr %20, align 1
%22 = sext i8 %21 to i32
%23 = load ptr, ptr %2, align 8
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [3 x i8], ptr %23, i64 %25
%27 = getelementptr inbounds [3 x i8], ptr %26, i64 0, i64 2
%28 = load i8, ptr %27, align 1
%29 = sext i8 %28 to i32
%30 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %15, i32 noundef %22, i32 noundef %29)
%31 = load i32, ptr %3, align 4
%32 = icmp slt i32 %31, 2
br i1 %32, label %33, label %35
33: ; preds = %7
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
br label %35
35: ; preds = %33, %7
br label %36
36: ; preds = %35
%37 = load i32, ptr %3, align 4
%38 = add nsw i32 %37, 1
store i32 %38, ptr %3, align 4
%39 = load i32, ptr %3, align 4
%40 = icmp sle i32 %39, 2
br i1 %40, label %7, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %36
br label %41
41: ; preds = %._crit_edge, %1
%42 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
ret void
}
declare i32 @printf(ptr noundef, ...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmpp4wihfpp.c'
source_filename = "/tmp/tmpp4wihfpp.c"
target datalayout = "e-m:e-p270: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/tmpp4wihfpp.c"
target datalayout = "e-m:e-p270: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/tmpp0kyw6c8.c'
source_filename = "/tmp/tmpp0kyw6c8.c"
target datalayout = "e-m:e-p270: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/tmpp0kyw6c8.c"
target datalayout = "e-m:e-p270: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/tmp9mjsk7vu.c'
source_filename = "/tmp/tmp9mjsk7vu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgn_set(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @cgn_memory(i32 noundef %4, ptr noundef %2)
ret void
}
declare i32 @cgn_memory(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/tmp9mjsk7vu.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cgn_set(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca i32, align 4
store i32 %0, ptr %2, align 4
store i32 1, ptr %3, align 4
%4 = load i32, ptr %3, align 4
%5 = call i32 @cgn_memory(i32 noundef %4, ptr noundef %2)
ret void
}
declare i32 @cgn_memory(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/tmp390a3kyx.c'
source_filename = "/tmp/tmp390a3kyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UP3D_GetCheckWorkRoomFan() #0 {
%1 = call i32 @UP3D_GetParameter(i32 noundef 53)
ret i32 %1
}
declare i32 @UP3D_GetParameter(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/tmp390a3kyx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @UP3D_GetCheckWorkRoomFan() #0 {
%1 = call i32 @UP3D_GetParameter(i32 noundef 53)
ret i32 %1
}
declare i32 @UP3D_GetParameter(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/tmp96aq_gqs.c'
source_filename = "/tmp/tmp96aq_gqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"caught SIGQUIT\0A\00", align 1
@SIGQUIT = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@SIG_ERR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"can't reset SIGQUIT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_quit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr @SIGQUIT, align 4
%5 = load i32, ptr @SIG_DFL, align 4
%6 = call i64 @signal(i32 noundef %4, i32 noundef %5)
%7 = load i64, ptr @SIG_ERR, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.1)
br label %11
11: ; preds = %9, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i64 @signal(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/tmp96aq_gqs.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"caught SIGQUIT\0A\00", align 1
@SIGQUIT = dso_local global i32 0, align 4
@SIG_DFL = dso_local global i32 0, align 4
@SIG_ERR = dso_local global i64 0, align 8
@.str.1 = private unnamed_addr constant [21 x i8] c"can't reset SIGQUIT\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @sig_quit(i32 noundef %0) #0 {
%2 = alloca i32, align 4
store i32 %0, ptr %2, align 4
%3 = call i32 @printf(ptr noundef @.str)
%4 = load i32, ptr @SIGQUIT, align 4
%5 = load i32, ptr @SIG_DFL, align 4
%6 = call i64 @signal(i32 noundef %4, i32 noundef %5)
%7 = load i64, ptr @SIG_ERR, align 8
%8 = icmp eq i64 %6, %7
br i1 %8, label %9, label %11
9: ; preds = %1
%10 = call i32 @printf(ptr noundef @.str.1)
br label %11
11: ; preds = %9, %1
ret void
}
declare i32 @printf(ptr noundef) #1
declare i64 @signal(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/tmp_ngu5i6h.c'
source_filename = "/tmp/tmp_ngu5i6h.c"
target datalayout = "e-m:e-p270: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_ngu5i6h.c"
target datalayout = "e-m:e-p270: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/tmp5045cksn.c'
source_filename = "/tmp/tmp5045cksn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp5045cksn.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpc8oow003.c'
source_filename = "/tmp/tmpc8oow003.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"linked result %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @add(i32 noundef 1, i32 noundef 2)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add(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/tmpc8oow003.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"linked result %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @add(i32 noundef 1, i32 noundef 2)
%3 = call i32 @printf(ptr noundef @.str, i32 noundef %2)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @add(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/tmpotr2sgcw.c'
source_filename = "/tmp/tmpotr2sgcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msr_size() #0 {
ret i32 8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpotr2sgcw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @msr_size() #0 {
ret i32 8
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp4w0w1s22.c'
source_filename = "/tmp/tmp4w0w1s22.c"
target datalayout = "e-m:e-p270: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/tmp4w0w1s22.c"
target datalayout = "e-m:e-p270: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/tmpakktd7uk.c'
source_filename = "/tmp/tmpakktd7uk.c"
target datalayout = "e-m:e-p270: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.sembuf = type { i32, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @V(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1 x %struct.sembuf], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%5 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 2
store i64 0, ptr %5, align 16
%6 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%7 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 0
store i32 1, ptr %7, align 16
%8 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds %struct.sembuf, ptr %8, i32 0, i32 1
store i64 0, ptr %9, align 8
%10 = load i32, ptr %2, align 4
%11 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%12 = call i32 @semop(i32 noundef %10, ptr noundef %11, i32 noundef 1)
ret i32 %12
}
declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpakktd7uk.c"
target datalayout = "e-m:e-p270: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.sembuf = type { i32, i64, i64 }
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @V(i32 noundef %0) #0 {
%2 = alloca i32, align 4
%3 = alloca [1 x %struct.sembuf], align 16
store i32 %0, ptr %2, align 4
%4 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%5 = getelementptr inbounds %struct.sembuf, ptr %4, i32 0, i32 2
store i64 0, ptr %5, align 16
%6 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%7 = getelementptr inbounds %struct.sembuf, ptr %6, i32 0, i32 0
store i32 1, ptr %7, align 16
%8 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%9 = getelementptr inbounds %struct.sembuf, ptr %8, i32 0, i32 1
store i64 0, ptr %9, align 8
%10 = load i32, ptr %2, align 4
%11 = getelementptr inbounds [1 x %struct.sembuf], ptr %3, i64 0, i64 0
%12 = call i32 @semop(i32 noundef %10, ptr noundef %11, i32 noundef 1)
ret i32 %12
}
declare i32 @semop(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpg00rtb_y.c'
source_filename = "/tmp/tmpg00rtb_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [100000 x i32], align 16
%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 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %8, align 16
store i32 %9, ptr %4, align 4
%10 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 1
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %0
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %15, %0
store i32 2, ptr %3, align 4
br label %20
20: ; preds = %50, %19
%21 = load i32, ptr %3, align 4
%22 = icmp slt i32 %21, 100000
br i1 %22, label %23, label %53
23: ; preds = %20
%24 = load i32, ptr %3, align 4
%25 = sext i32 %24 to i64
%26 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %25
%27 = load i32, ptr %26, align 4
%28 = load i32, ptr %4, align 4
%29 = icmp sge i32 %27, %28
br i1 %29, label %30, label %36
30: ; preds = %23
%31 = load i32, ptr %4, align 4
store i32 %31, ptr %5, align 4
%32 = load i32, ptr %3, align 4
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %33
%35 = load i32, ptr %34, align 4
store i32 %35, ptr %4, align 4
br label %49
36: ; preds = %23
%37 = load i32, ptr %3, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %38
%40 = load i32, ptr %39, align 4
%41 = load i32, ptr %5, align 4
%42 = icmp sgt i32 %40, %41
br i1 %42, label %43, label %48
43: ; preds = %36
%44 = load i32, ptr %3, align 4
%45 = sext i32 %44 to i64
%46 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %45
%47 = load i32, ptr %46, align 4
store i32 %47, ptr %5, align 4
br label %48
48: ; preds = %43, %36
br label %49
49: ; preds = %48, %30
br label %50
50: ; preds = %49
%51 = load i32, ptr %3, align 4
%52 = add nsw i32 %51, 1
store i32 %52, ptr %3, align 4
br label %20, !llvm.loop !6
53: ; preds = %20
store i32 0, ptr %7, align 4
br label %54
54: ; preds = %66, %53
%55 = load i32, ptr %7, align 4
%56 = icmp slt i32 %55, 100000
br i1 %56, label %57, label %69
57: ; preds = %54
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp sle i32 %61, %62
%64 = zext i1 %63 to i32
%65 = call i32 @__VERIFIER_assert(i32 noundef %64)
br label %66
66: ; preds = %57
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
br label %54, !llvm.loop !8
69: ; preds = %54
store i32 0, ptr %7, align 4
br label %70
70: ; preds = %91, %69
%71 = load i32, ptr %7, align 4
%72 = icmp slt i32 %71, 100000
br i1 %72, label %73, label %94
73: ; preds = %70
%74 = load i32, ptr %7, align 4
%75 = sext i32 %74 to i64
%76 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %75
%77 = load i32, ptr %76, align 4
%78 = load i32, ptr %5, align 4
%79 = icmp sle i32 %77, %78
br i1 %79, label %87, label %80
80: ; preds = %73
%81 = load i32, ptr %7, align 4
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %82
%84 = load i32, ptr %83, align 4
%85 = load i32, ptr %4, align 4
%86 = icmp eq i32 %84, %85
br label %87
87: ; preds = %80, %73
%88 = phi i1 [ true, %73 ], [ %86, %80 ]
%89 = zext i1 %88 to i32
%90 = call i32 @__VERIFIER_assert(i32 noundef %89)
br label %91
91: ; preds = %87
%92 = load i32, ptr %7, align 4
%93 = add nsw i32 %92, 1
store i32 %93, ptr %7, align 4
br label %70, !llvm.loop !9
94: ; preds = %70
ret i32 0
}
declare i32 @__VERIFIER_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpg00rtb_y.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 [100000 x i32], align 16
%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 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 0
%9 = load i32, ptr %8, align 16
store i32 %9, ptr %4, align 4
%10 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 1
%11 = load i32, ptr %10, align 4
store i32 %11, ptr %5, align 4
%12 = load i32, ptr %4, align 4
%13 = load i32, ptr %5, align 4
%14 = icmp slt i32 %12, %13
br i1 %14, label %15, label %19
15: ; preds = %0
%16 = load i32, ptr %4, align 4
store i32 %16, ptr %6, align 4
%17 = load i32, ptr %5, align 4
store i32 %17, ptr %4, align 4
%18 = load i32, ptr %6, align 4
store i32 %18, ptr %5, align 4
br label %19
19: ; preds = %15, %0
store i32 2, ptr %3, align 4
%20 = load i32, ptr %3, align 4
%21 = icmp slt i32 %20, 100000
br i1 %21, label %.lr.ph, label %54
.lr.ph: ; preds = %19
br label %22
22: ; preds = %.lr.ph, %49
%23 = load i32, ptr %3, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %24
%26 = load i32, ptr %25, align 4
%27 = load i32, ptr %4, align 4
%28 = icmp sge i32 %26, %27
br i1 %28, label %29, label %35
29: ; preds = %22
%30 = load i32, ptr %4, align 4
store i32 %30, ptr %5, align 4
%31 = load i32, ptr %3, align 4
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %32
%34 = load i32, ptr %33, align 4
store i32 %34, ptr %4, align 4
br label %48
35: ; preds = %22
%36 = load i32, ptr %3, align 4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %37
%39 = load i32, ptr %38, align 4
%40 = load i32, ptr %5, align 4
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %47
42: ; preds = %35
%43 = load i32, ptr %3, align 4
%44 = sext i32 %43 to i64
%45 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %44
%46 = load i32, ptr %45, align 4
store i32 %46, ptr %5, align 4
br label %47
47: ; preds = %42, %35
br label %48
48: ; preds = %47, %29
br label %49
49: ; preds = %48
%50 = load i32, ptr %3, align 4
%51 = add nsw i32 %50, 1
store i32 %51, ptr %3, align 4
%52 = load i32, ptr %3, align 4
%53 = icmp slt i32 %52, 100000
br i1 %53, label %22, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %49
br label %54
54: ; preds = %._crit_edge, %19
store i32 0, ptr %7, align 4
%55 = load i32, ptr %7, align 4
%56 = icmp slt i32 %55, 100000
br i1 %56, label %.lr.ph2, label %71
.lr.ph2: ; preds = %54
br label %57
57: ; preds = %.lr.ph2, %66
%58 = load i32, ptr %7, align 4
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %59
%61 = load i32, ptr %60, align 4
%62 = load i32, ptr %4, align 4
%63 = icmp sle i32 %61, %62
%64 = zext i1 %63 to i32
%65 = call i32 @__VERIFIER_assert(i32 noundef %64)
br label %66
66: ; preds = %57
%67 = load i32, ptr %7, align 4
%68 = add nsw i32 %67, 1
store i32 %68, ptr %7, align 4
%69 = load i32, ptr %7, align 4
%70 = icmp slt i32 %69, 100000
br i1 %70, label %57, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %66
br label %71
71: ; preds = %._crit_edge3, %54
store i32 0, ptr %7, align 4
%72 = load i32, ptr %7, align 4
%73 = icmp slt i32 %72, 100000
br i1 %73, label %.lr.ph5, label %97
.lr.ph5: ; preds = %71
br label %74
74: ; preds = %.lr.ph5, %92
%75 = load i32, ptr %7, align 4
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %76
%78 = load i32, ptr %77, align 4
%79 = load i32, ptr %5, align 4
%80 = icmp sle i32 %78, %79
br i1 %80, label %88, label %81
81: ; preds = %74
%82 = load i32, ptr %7, align 4
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds [100000 x i32], ptr %2, i64 0, i64 %83
%85 = load i32, ptr %84, align 4
%86 = load i32, ptr %4, align 4
%87 = icmp eq i32 %85, %86
br label %88
88: ; preds = %81, %74
%89 = phi i1 [ true, %74 ], [ %87, %81 ]
%90 = zext i1 %89 to i32
%91 = call i32 @__VERIFIER_assert(i32 noundef %90)
br label %92
92: ; preds = %88
%93 = load i32, ptr %7, align 4
%94 = add nsw i32 %93, 1
store i32 %94, ptr %7, align 4
%95 = load i32, ptr %7, align 4
%96 = icmp slt i32 %95, 100000
br i1 %96, label %74, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %92
br label %97
97: ; preds = %._crit_edge6, %71
ret i32 0
}
declare i32 @__VERIFIER_assert(i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmpqjw4jz2f.c'
source_filename = "/tmp/tmpqjw4jz2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EI_MAG0 = dso_local global i64 0, align 8
@EI_MAG1 = dso_local global i64 0, align 8
@EI_MAG2 = dso_local global i64 0, align 8
@EI_MAG3 = dso_local global i64 0, align 8
@ELFMAG0 = dso_local global i64 0, align 8
@ELFMAG1 = dso_local global i64 0, align 8
@ELFMAG2 = dso_local global i64 0, align 8
@ELFMAG3 = 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/tmpqjw4jz2f.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@EI_MAG0 = dso_local global i64 0, align 8
@EI_MAG1 = dso_local global i64 0, align 8
@EI_MAG2 = dso_local global i64 0, align 8
@EI_MAG3 = dso_local global i64 0, align 8
@ELFMAG0 = dso_local global i64 0, align 8
@ELFMAG1 = dso_local global i64 0, align 8
@ELFMAG2 = dso_local global i64 0, align 8
@ELFMAG3 = 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/tmpore1oh8a.c'
source_filename = "/tmp/tmpore1oh8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a1 = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
@.str = private unnamed_addr constant [10 x i8] c", %i, %i\0A\00", align 1
@__const.main.a2 = private unnamed_addr constant [5 x i32] [i32 2, i32 2, i32 2, i32 2, i32 2], align 16
@__const.main.a3 = private unnamed_addr constant [1 x i32] [i32 2], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca [5 x i32], align 16
%5 = alloca [1 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a1, i64 20, i1 false)
store i32 2, ptr %3, align 4
%6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @printArray(ptr noundef %6, i32 noundef 5)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%11 = call i32 @count(i32 noundef %9, ptr noundef %10, i32 noundef 5)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %11)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a2, i64 20, i1 false)
store i32 2, ptr %3, align 4
%13 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%14 = call i32 @printArray(ptr noundef %13, i32 noundef 5)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%18 = call i32 @count(i32 noundef %16, ptr noundef %17, i32 noundef 5)
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %18)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.a3, i64 4, i1 false)
store i32 0, ptr %3, align 4
%20 = getelementptr inbounds [1 x i32], ptr %5, i64 0, i64 0
%21 = call i32 @printArray(ptr noundef %20, i32 noundef 5)
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [1 x i32], ptr %5, i64 0, i64 0
%25 = call i32 @count(i32 noundef %23, ptr noundef %24, i32 noundef 5)
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printArray(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @count(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpore1oh8a.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.a1 = private unnamed_addr constant [5 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5], align 16
@.str = private unnamed_addr constant [10 x i8] c", %i, %i\0A\00", align 1
@__const.main.a2 = private unnamed_addr constant [5 x i32] [i32 2, i32 2, i32 2, i32 2, i32 2], align 16
@__const.main.a3 = private unnamed_addr constant [1 x i32] [i32 2], align 4
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [5 x i32], align 16
%3 = alloca i32, align 4
%4 = alloca [5 x i32], align 16
%5 = alloca [1 x i32], align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.main.a1, i64 20, i1 false)
store i32 2, ptr %3, align 4
%6 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%7 = call i32 @printArray(ptr noundef %6, i32 noundef 5)
%8 = load i32, ptr %3, align 4
%9 = load i32, ptr %3, align 4
%10 = getelementptr inbounds [5 x i32], ptr %2, i64 0, i64 0
%11 = call i32 @count(i32 noundef %9, ptr noundef %10, i32 noundef 5)
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %8, i32 noundef %11)
call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.main.a2, i64 20, i1 false)
store i32 2, ptr %3, align 4
%13 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%14 = call i32 @printArray(ptr noundef %13, i32 noundef 5)
%15 = load i32, ptr %3, align 4
%16 = load i32, ptr %3, align 4
%17 = getelementptr inbounds [5 x i32], ptr %4, i64 0, i64 0
%18 = call i32 @count(i32 noundef %16, ptr noundef %17, i32 noundef 5)
%19 = call i32 @printf(ptr noundef @.str, i32 noundef %15, i32 noundef %18)
call void @llvm.memcpy.p0.p0.i64(ptr align 4 %5, ptr align 4 @__const.main.a3, i64 4, i1 false)
store i32 0, ptr %3, align 4
%20 = getelementptr inbounds [1 x i32], ptr %5, i64 0, i64 0
%21 = call i32 @printArray(ptr noundef %20, i32 noundef 5)
%22 = load i32, ptr %3, align 4
%23 = load i32, ptr %3, align 4
%24 = getelementptr inbounds [1 x i32], ptr %5, i64 0, i64 0
%25 = call i32 @count(i32 noundef %23, ptr noundef %24, i32 noundef 5)
%26 = call i32 @printf(ptr noundef @.str, i32 noundef %22, i32 noundef %25)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i32 @printArray(ptr noundef, i32 noundef) #2
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #2
declare i32 @count(i32 noundef, ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmplmbae5a0.c'
source_filename = "/tmp/tmplmbae5a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_c4matrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, i64 noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, 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
store ptr %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store i64 %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store i64 %7, ptr %17, align 8
store i64 %8, ptr %18, align 8
%22 = load i64, ptr %12, align 8
store i64 %22, ptr %21, align 8
br label %23
23: ; preds = %78, %9
%24 = load i64, ptr %21, align 8
%25 = load i64, ptr %11, align 8
%26 = icmp sge i64 %24, %25
br i1 %26, label %27, label %81
27: ; preds = %23
%28 = load i64, ptr %14, align 8
store i64 %28, ptr %19, align 8
br label %29
29: ; preds = %67, %27
%30 = load i64, ptr %19, align 8
%31 = load i64, ptr %13, align 8
%32 = icmp sge i64 %30, %31
br i1 %32, label %33, label %70
33: ; preds = %29
%34 = load i64, ptr %16, align 8
store i64 %34, ptr %20, align 8
br label %35
35: ; preds = %53, %33
%36 = load i64, ptr %20, align 8
%37 = load i64, ptr %15, align 8
%38 = icmp sge i64 %36, %37
br i1 %38, label %39, label %56
39: ; preds = %35
%40 = load ptr, ptr %10, align 8
%41 = load i64, ptr %21, align 8
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i64, ptr %19, align 8
%45 = getelementptr inbounds ptr, ptr %43, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load i64, ptr %20, align 8
%48 = getelementptr inbounds ptr, ptr %46, i64 %47
%49 = load ptr, ptr %48, align 8
%50 = load i64, ptr %17, align 8
%51 = getelementptr inbounds i8, ptr %49, i64 %50
%52 = call i32 @free(ptr noundef %51)
br label %53
53: ; preds = %39
%54 = load i64, ptr %20, align 8
%55 = add nsw i64 %54, -1
store i64 %55, ptr %20, align 8
br label %35, !llvm.loop !6
56: ; preds = %35
%57 = load ptr, ptr %10, align 8
%58 = load i64, ptr %21, align 8
%59 = getelementptr inbounds ptr, ptr %57, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i64, ptr %19, align 8
%62 = getelementptr inbounds ptr, ptr %60, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = load i64, ptr %15, align 8
%65 = getelementptr inbounds ptr, ptr %63, i64 %64
%66 = call i32 @free(ptr noundef %65)
br label %67
67: ; preds = %56
%68 = load i64, ptr %19, align 8
%69 = add nsw i64 %68, -1
store i64 %69, ptr %19, align 8
br label %29, !llvm.loop !8
70: ; preds = %29
%71 = load ptr, ptr %10, align 8
%72 = load i64, ptr %21, align 8
%73 = getelementptr inbounds ptr, ptr %71, i64 %72
%74 = load ptr, ptr %73, align 8
%75 = load i64, ptr %13, align 8
%76 = getelementptr inbounds ptr, ptr %74, i64 %75
%77 = call i32 @free(ptr noundef %76)
br label %78
78: ; preds = %70
%79 = load i64, ptr %21, align 8
%80 = add nsw i64 %79, -1
store i64 %80, ptr %21, align 8
br label %23, !llvm.loop !9
81: ; preds = %23
%82 = load ptr, ptr %10, align 8
%83 = load i64, ptr %11, align 8
%84 = getelementptr inbounds ptr, ptr %82, i64 %83
%85 = call i32 @free(ptr noundef %84)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmplmbae5a0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_c4matrix(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, i64 noundef %6, i64 noundef %7, i64 noundef %8) #0 {
%10 = alloca ptr, align 8
%11 = alloca i64, align 8
%12 = alloca i64, align 8
%13 = alloca i64, align 8
%14 = alloca i64, align 8
%15 = alloca i64, 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
store ptr %0, ptr %10, align 8
store i64 %1, ptr %11, align 8
store i64 %2, ptr %12, align 8
store i64 %3, ptr %13, align 8
store i64 %4, ptr %14, align 8
store i64 %5, ptr %15, align 8
store i64 %6, ptr %16, align 8
store i64 %7, ptr %17, align 8
store i64 %8, ptr %18, align 8
%22 = load i64, ptr %12, align 8
store i64 %22, ptr %21, align 8
%23 = load i64, ptr %21, align 8
%24 = load i64, ptr %11, align 8
%25 = icmp sge i64 %23, %24
br i1 %25, label %.lr.ph5, label %87
.lr.ph5: ; preds = %9
br label %26
26: ; preds = %.lr.ph5, %81
%27 = load i64, ptr %14, align 8
store i64 %27, ptr %19, align 8
%28 = load i64, ptr %19, align 8
%29 = load i64, ptr %13, align 8
%30 = icmp sge i64 %28, %29
br i1 %30, label %.lr.ph2, label %73
.lr.ph2: ; preds = %26
br label %31
31: ; preds = %.lr.ph2, %67
%32 = load i64, ptr %16, align 8
store i64 %32, ptr %20, align 8
%33 = load i64, ptr %20, align 8
%34 = load i64, ptr %15, align 8
%35 = icmp sge i64 %33, %34
br i1 %35, label %.lr.ph, label %56
.lr.ph: ; preds = %31
br label %36
36: ; preds = %.lr.ph, %50
%37 = load ptr, ptr %10, align 8
%38 = load i64, ptr %21, align 8
%39 = getelementptr inbounds ptr, ptr %37, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = load i64, ptr %19, align 8
%42 = getelementptr inbounds ptr, ptr %40, i64 %41
%43 = load ptr, ptr %42, align 8
%44 = load i64, ptr %20, align 8
%45 = getelementptr inbounds ptr, ptr %43, i64 %44
%46 = load ptr, ptr %45, align 8
%47 = load i64, ptr %17, align 8
%48 = getelementptr inbounds i8, ptr %46, i64 %47
%49 = call i32 @free(ptr noundef %48)
br label %50
50: ; preds = %36
%51 = load i64, ptr %20, align 8
%52 = add nsw i64 %51, -1
store i64 %52, ptr %20, align 8
%53 = load i64, ptr %20, align 8
%54 = load i64, ptr %15, align 8
%55 = icmp sge i64 %53, %54
br i1 %55, label %36, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %50
br label %56
56: ; preds = %._crit_edge, %31
%57 = load ptr, ptr %10, align 8
%58 = load i64, ptr %21, align 8
%59 = getelementptr inbounds ptr, ptr %57, i64 %58
%60 = load ptr, ptr %59, align 8
%61 = load i64, ptr %19, align 8
%62 = getelementptr inbounds ptr, ptr %60, i64 %61
%63 = load ptr, ptr %62, align 8
%64 = load i64, ptr %15, align 8
%65 = getelementptr inbounds ptr, ptr %63, i64 %64
%66 = call i32 @free(ptr noundef %65)
br label %67
67: ; preds = %56
%68 = load i64, ptr %19, align 8
%69 = add nsw i64 %68, -1
store i64 %69, ptr %19, align 8
%70 = load i64, ptr %19, align 8
%71 = load i64, ptr %13, align 8
%72 = icmp sge i64 %70, %71
br i1 %72, label %31, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %67
br label %73
73: ; preds = %._crit_edge3, %26
%74 = load ptr, ptr %10, align 8
%75 = load i64, ptr %21, align 8
%76 = getelementptr inbounds ptr, ptr %74, i64 %75
%77 = load ptr, ptr %76, align 8
%78 = load i64, ptr %13, align 8
%79 = getelementptr inbounds ptr, ptr %77, i64 %78
%80 = call i32 @free(ptr noundef %79)
br label %81
81: ; preds = %73
%82 = load i64, ptr %21, align 8
%83 = add nsw i64 %82, -1
store i64 %83, ptr %21, align 8
%84 = load i64, ptr %21, align 8
%85 = load i64, ptr %11, align 8
%86 = icmp sge i64 %84, %85
br i1 %86, label %26, label %._crit_edge6, !llvm.loop !9
._crit_edge6: ; preds = %81
br label %87
87: ; preds = %._crit_edge6, %9
%88 = load ptr, ptr %10, align 8
%89 = load i64, ptr %11, align 8
%90 = getelementptr inbounds ptr, ptr %88, i64 %89
%91 = call i32 @free(ptr noundef %90)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
!9 = distinct !{!9, !7}
|
; ModuleID = '/tmp/tmp4i8wp0bz.c'
source_filename = "/tmp/tmp4i8wp0bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%c: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i8 65, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @_isupper(i8 noundef signext %4)
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3, i32 noundef %5)
store i8 97, ptr %2, align 1
%7 = load i8, ptr %2, align 1
%8 = load i8, ptr %2, align 1
%9 = call i32 @_isupper(i8 noundef signext %8)
%10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @_isupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4i8wp0bz.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c"%c: %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i8, align 1
store i32 0, ptr %1, align 4
store i8 65, ptr %2, align 1
%3 = load i8, ptr %2, align 1
%4 = load i8, ptr %2, align 1
%5 = call i32 @_isupper(i8 noundef signext %4)
%6 = call i32 @printf(ptr noundef @.str, i8 noundef signext %3, i32 noundef %5)
store i8 97, ptr %2, align 1
%7 = load i8, ptr %2, align 1
%8 = load i8, ptr %2, align 1
%9 = call i32 @_isupper(i8 noundef signext %8)
%10 = call i32 @printf(ptr noundef @.str, i8 noundef signext %7, i32 noundef %9)
ret i32 0
}
declare i32 @printf(ptr noundef, i8 noundef signext, i32 noundef) #1
declare i32 @_isupper(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp16mizszo.c'
source_filename = "/tmp/tmp16mizszo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [16 x i8] c"LA PALABRA :%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @split(ptr noundef @.str, i8 noundef signext 44)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @join(ptr noundef %5, i8 noundef signext 45)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @free(ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @free_strv(ptr noundef %11)
ret i32 0
}
declare ptr @split(ptr noundef, i8 noundef signext) #1
declare ptr @join(ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @free_strv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp16mizszo.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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
@.str.1 = private unnamed_addr constant [16 x i8] c"LA PALABRA :%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca ptr, align 8
%3 = alloca ptr, align 8
store i32 0, ptr %1, align 4
%4 = call ptr @split(ptr noundef @.str, i8 noundef signext 44)
store ptr %4, ptr %2, align 8
%5 = load ptr, ptr %2, align 8
%6 = call ptr @join(ptr noundef %5, i8 noundef signext 45)
store ptr %6, ptr %3, align 8
%7 = load ptr, ptr %3, align 8
%8 = call i32 @printf(ptr noundef @.str.1, ptr noundef %7)
%9 = load ptr, ptr %3, align 8
%10 = call i32 @free(ptr noundef %9)
%11 = load ptr, ptr %2, align 8
%12 = call i32 @free_strv(ptr noundef %11)
ret i32 0
}
declare ptr @split(ptr noundef, i8 noundef signext) #1
declare ptr @join(ptr noundef, i8 noundef signext) #1
declare i32 @printf(ptr noundef, ptr noundef) #1
declare i32 @free(ptr noundef) #1
declare i32 @free_strv(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyw18w2_0.c'
source_filename = "/tmp/tmpyw18w2_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_int_arr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %17, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %20
10: ; preds = %6
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
%15 = load i32, ptr %14, align 4
%16 = call i32 @printf(ptr noundef @.str, i32 noundef %15)
br label %17
17: ; preds = %10
%18 = load i32, ptr %5, align 4
%19 = add nsw i32 %18, 1
store i32 %19, ptr %5, align 4
br label %6, !llvm.loop !6
20: ; preds = %6
%21 = call i32 (...) @ln()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @ln(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpyw18w2_0.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [5 x i8] c"%d \09\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @print_int_arr(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %22
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %16
%10 = load ptr, ptr %3, align 8
%11 = load i32, ptr %5, align 4
%12 = sext i32 %11 to i64
%13 = getelementptr inbounds i32, ptr %10, i64 %12
%14 = load i32, ptr %13, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %14)
br label %16
16: ; preds = %9
%17 = load i32, ptr %5, align 4
%18 = add nsw i32 %17, 1
store i32 %18, ptr %5, align 4
%19 = load i32, ptr %5, align 4
%20 = load i32, ptr %4, align 4
%21 = icmp slt i32 %19, %20
br i1 %21, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %16
br label %22
22: ; preds = %._crit_edge, %2
%23 = call i32 (...) @ln()
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @ln(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmp3uabiyvw.c'
source_filename = "/tmp/tmp3uabiyvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp3uabiyvw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%3 = load ptr, ptr %2, align 8
%4 = call i32 @free(ptr noundef %3)
ret void
}
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp9y4befi5.c'
source_filename = "/tmp/tmp9y4befi5.c"
target datalayout = "e-m:e-p270: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/tmp9y4befi5.c"
target datalayout = "e-m:e-p270: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/tmp59yd6xbc.c'
source_filename = "/tmp/tmp59yd6xbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_int(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4 x i64], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %6, 24
%8 = and i32 %7, 255
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 0
store i64 %9, ptr %10, align 16
%11 = load i32, ptr %4, align 4
%12 = ashr i32 %11, 16
%13 = and i32 %12, 255
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 1
store i64 %14, ptr %15, align 8
%16 = load i32, ptr %4, align 4
%17 = ashr i32 %16, 8
%18 = and i32 %17, 255
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 2
store i64 %19, ptr %20, align 16
%21 = load i32, ptr %4, align 4
%22 = ashr i32 %21, 0
%23 = and i32 %22, 255
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 3
store i64 %24, ptr %25, align 8
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 0
%28 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef 4)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp59yd6xbc.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @write_int(i32 noundef %0, i32 noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
%5 = alloca [4 x i64], align 16
store i32 %0, ptr %3, align 4
store i32 %1, ptr %4, align 4
%6 = load i32, ptr %4, align 4
%7 = ashr i32 %6, 24
%8 = and i32 %7, 255
%9 = sext i32 %8 to i64
%10 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 0
store i64 %9, ptr %10, align 16
%11 = load i32, ptr %4, align 4
%12 = ashr i32 %11, 16
%13 = and i32 %12, 255
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 1
store i64 %14, ptr %15, align 8
%16 = load i32, ptr %4, align 4
%17 = ashr i32 %16, 8
%18 = and i32 %17, 255
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 2
store i64 %19, ptr %20, align 16
%21 = load i32, ptr %4, align 4
%22 = ashr i32 %21, 0
%23 = and i32 %22, 255
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 3
store i64 %24, ptr %25, align 8
%26 = load i32, ptr %3, align 4
%27 = getelementptr inbounds [4 x i64], ptr %5, i64 0, i64 0
%28 = call i32 @write(i32 noundef %26, ptr noundef %27, i32 noundef 4)
ret void
}
declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpyz_v_siw.c'
source_filename = "/tmp/tmpyz_v_siw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_splited_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
br label %4
4: ; preds = %11, %1
%5 = load ptr, ptr %2, align 8
%6 = load i32, ptr %3, align 4
%7 = sext i32 %6 to i64
%8 = getelementptr inbounds ptr, ptr %5, i64 %7
%9 = load ptr, ptr %8, align 8
%10 = icmp ne ptr %9, null
br i1 %10, label %11, label %18
11: ; preds = %4
%12 = load ptr, ptr %2, align 8
%13 = load i32, ptr %3, align 4
%14 = add nsw i32 %13, 1
store i32 %14, ptr %3, align 4
%15 = sext i32 %13 to i64
%16 = getelementptr inbounds ptr, ptr %12, i64 %15
%17 = call i32 @ft_memdel(ptr noundef %16)
br label %4, !llvm.loop !6
18: ; preds = %4
%19 = call i32 @ft_memdel(ptr noundef %2)
ret void
}
declare i32 @ft_memdel(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpyz_v_siw.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @free_splited_str(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca i32, align 4
store ptr %0, ptr %2, align 8
store i32 0, ptr %3, align 4
%4 = load ptr, ptr %2, align 8
%5 = load i32, ptr %3, align 4
%6 = sext i32 %5 to i64
%7 = getelementptr inbounds ptr, ptr %4, i64 %6
%8 = load ptr, ptr %7, align 8
%9 = icmp ne ptr %8, null
br i1 %9, label %.lr.ph, label %23
.lr.ph: ; preds = %1
br label %10
10: ; preds = %.lr.ph, %10
%11 = load ptr, ptr %2, align 8
%12 = load i32, ptr %3, align 4
%13 = add nsw i32 %12, 1
store i32 %13, ptr %3, align 4
%14 = sext i32 %12 to i64
%15 = getelementptr inbounds ptr, ptr %11, i64 %14
%16 = call i32 @ft_memdel(ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = load i32, ptr %3, align 4
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds ptr, ptr %17, i64 %19
%21 = load ptr, ptr %20, align 8
%22 = icmp ne ptr %21, null
br i1 %22, label %10, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %10
br label %23
23: ; preds = %._crit_edge, %1
%24 = call i32 @ft_memdel(ptr noundef %2)
ret void
}
declare i32 @ft_memdel(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpeoo9aztq.c'
source_filename = "/tmp/tmpeoo9aztq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
br label %13
13: ; preds = %28, %3
%14 = load i64, ptr %7, align 8
%15 = add i64 %14, -1
store i64 %15, ptr %7, align 8
%16 = icmp ne i64 %14, 0
br i1 %16, label %17, label %29
17: ; preds = %13
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds i32, ptr %18, i32 1
store ptr %19, ptr %8, align 8
%20 = load i32, ptr %18, align 4
%21 = load ptr, ptr %9, align 8
%22 = getelementptr inbounds i32, ptr %21, i32 1
store ptr %22, ptr %9, align 8
%23 = load i32, ptr %21, align 4
%24 = sub nsw i32 %20, %23
store i32 %24, ptr %10, align 4
%25 = icmp ne i32 %24, 0
br i1 %25, label %26, label %28
26: ; preds = %17
%27 = load i32, ptr %10, align 4
store i32 %27, ptr %4, align 4
br label %30
28: ; preds = %17
br label %13, !llvm.loop !6
29: ; preds = %13
store i32 0, ptr %4, align 4
br label %30
30: ; preds = %29, %26
%31 = load i32, ptr %4, align 4
ret i32 %31
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpeoo9aztq.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @memcmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 {
%4 = alloca i32, align 4
%5 = alloca ptr, align 8
%6 = alloca ptr, align 8
%7 = alloca i64, align 8
%8 = alloca ptr, align 8
%9 = alloca ptr, align 8
%10 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store ptr %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
%11 = load ptr, ptr %5, align 8
store ptr %11, ptr %8, align 8
%12 = load ptr, ptr %6, align 8
store ptr %12, ptr %9, align 8
%13 = load i64, ptr %7, align 8
%14 = add i64 %13, -1
store i64 %14, ptr %7, align 8
%15 = icmp ne i64 %13, 0
br i1 %15, label %.lr.ph, label %31
.lr.ph: ; preds = %3
br label %20
16: ; preds = %20
%17 = load i64, ptr %7, align 8
%18 = add i64 %17, -1
store i64 %18, ptr %7, align 8
%19 = icmp ne i64 %17, 0
br i1 %19, label %20, label %._crit_edge, !llvm.loop !6
20: ; preds = %.lr.ph, %16
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds i32, ptr %21, i32 1
store ptr %22, ptr %8, align 8
%23 = load i32, ptr %21, align 4
%24 = load ptr, ptr %9, align 8
%25 = getelementptr inbounds i32, ptr %24, i32 1
store ptr %25, ptr %9, align 8
%26 = load i32, ptr %24, align 4
%27 = sub nsw i32 %23, %26
store i32 %27, ptr %10, align 4
%28 = icmp ne i32 %27, 0
br i1 %28, label %29, label %16
29: ; preds = %20
%30 = load i32, ptr %10, align 4
store i32 %30, ptr %4, align 4
br label %32
._crit_edge: ; preds = %16
br label %31
31: ; preds = %._crit_edge, %3
store i32 0, ptr %4, align 4
br label %32
32: ; preds = %31, %29
%33 = load i32, ptr %4, align 4
ret i32 %33
}
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"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/tmpsf1xhpdi.c'
source_filename = "/tmp/tmpsf1xhpdi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpsf1xhpdi.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stderr = dso_local global i32 0, align 4
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmppt8_v10n.c'
source_filename = "/tmp/tmppt8_v10n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dcs_photonuclear_range(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store double 0x3FEE0B9ECF638002, ptr %9, align 8
store double 0x3FC1DD6F874C6508, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
store double 0x3FC3315B2B4DFCE1, ptr %14, align 8
br label %15
15: ; preds = %13, %4
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %29
18: ; preds = %15
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fadd double %19, %20
%22 = load double, ptr %5, align 8
%23 = load double, ptr %5, align 8
%24 = fmul double %22, %23
%25 = fdiv double %24, 0x3FEE0B9ECF638002
%26 = fadd double 0x3FEE0B9ECF638002, %25
%27 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %26, double %21)
%28 = load ptr, ptr %8, align 8
store double %27, ptr %28, align 8
br label %29
29: ; preds = %18, %15
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppt8_v10n.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @dcs_photonuclear_range(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3) #0 {
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
%8 = alloca ptr, align 8
%9 = alloca double, align 8
%10 = alloca double, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
store ptr %3, ptr %8, align 8
store double 0x3FEE0B9ECF638002, ptr %9, align 8
store double 0x3FC1DD6F874C6508, ptr %10, align 8
%11 = load ptr, ptr %7, align 8
%12 = icmp ne ptr %11, null
br i1 %12, label %13, label %15
13: ; preds = %4
%14 = load ptr, ptr %7, align 8
store double 0x3FC3315B2B4DFCE1, ptr %14, align 8
br label %15
15: ; preds = %13, %4
%16 = load ptr, ptr %8, align 8
%17 = icmp ne ptr %16, null
br i1 %17, label %18, label %29
18: ; preds = %15
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fadd double %19, %20
%22 = load double, ptr %5, align 8
%23 = load double, ptr %5, align 8
%24 = fmul double %22, %23
%25 = fdiv double %24, 0x3FEE0B9ECF638002
%26 = fadd double 0x3FEE0B9ECF638002, %25
%27 = call double @llvm.fmuladd.f64(double -5.000000e-01, double %26, double %21)
%28 = load ptr, ptr %8, align 8
store double %27, ptr %28, align 8
br label %29
29: ; preds = %18, %15
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp__zqxbar.c'
source_filename = "/tmp/tmp__zqxbar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arr_init_linspace(ptr noundef %0, double noundef %1, double noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i32 0, ptr %9, align 4
br label %10
10: ; preds = %25, %4
%11 = load i32, ptr %9, align 4
%12 = sext i32 %11 to i64
%13 = load i64, ptr %8, align 8
%14 = icmp ult i64 %12, %13
br i1 %14, label %15, label %28
15: ; preds = %10
%16 = load double, ptr %6, align 8
%17 = load i32, ptr %9, align 4
%18 = sitofp i32 %17 to double
%19 = load double, ptr %7, align 8
%20 = call double @llvm.fmuladd.f64(double %18, double %19, double %16)
%21 = load ptr, ptr %5, align 8
%22 = load i32, ptr %9, align 4
%23 = sext i32 %22 to i64
%24 = getelementptr inbounds double, ptr %21, i64 %23
store double %20, ptr %24, align 8
br label %25
25: ; preds = %15
%26 = load i32, ptr %9, align 4
%27 = add nsw i32 %26, 1
store i32 %27, ptr %9, align 4
br label %10, !llvm.loop !6
28: ; preds = %10
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp__zqxbar.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @arr_init_linspace(ptr noundef %0, double noundef %1, double noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca double, align 8
%7 = alloca double, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
store ptr %0, ptr %5, align 8
store double %1, ptr %6, align 8
store double %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i32 0, ptr %9, align 4
%10 = load i32, ptr %9, align 4
%11 = sext i32 %10 to i64
%12 = load i64, ptr %8, align 8
%13 = icmp ult i64 %11, %12
br i1 %13, label %.lr.ph, label %31
.lr.ph: ; preds = %4
br label %14
14: ; preds = %.lr.ph, %24
%15 = load double, ptr %6, align 8
%16 = load i32, ptr %9, align 4
%17 = sitofp i32 %16 to double
%18 = load double, ptr %7, align 8
%19 = call double @llvm.fmuladd.f64(double %17, double %18, double %15)
%20 = load ptr, ptr %5, align 8
%21 = load i32, ptr %9, align 4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, ptr %20, i64 %22
store double %19, ptr %23, align 8
br label %24
24: ; preds = %14
%25 = load i32, ptr %9, align 4
%26 = add nsw i32 %25, 1
store i32 %26, ptr %9, align 4
%27 = load i32, ptr %9, align 4
%28 = sext i32 %27 to i64
%29 = load i64, ptr %8, align 8
%30 = icmp ult i64 %28, %29
br i1 %30, label %14, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %24
br label %31
31: ; preds = %._crit_edge, %4
ret void
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
; ModuleID = '/tmp/tmp_x6wdbpv.c'
source_filename = "/tmp/tmp_x6wdbpv.c"
target datalayout = "e-m:e-p270: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_x6wdbpv.c"
target datalayout = "e-m:e-p270: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/tmpndsqhmf8.c'
source_filename = "/tmp/tmpndsqhmf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.string = private unnamed_addr constant [4 x i8] c"123\00", align 1
@.str = private unnamed_addr constant [20 x i8] c"Your number is: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string, i64 4, i1 false)
%4 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @is_integer(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @atoi(ptr noundef %8)
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %7, %0
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @is_integer(ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpndsqhmf8.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@__const.main.string = private unnamed_addr constant [4 x i8] c"123\00", align 1
@.str = private unnamed_addr constant [20 x i8] c"Your number is: %i\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [4 x i8], align 1
%3 = alloca i32, align 4
store i32 0, ptr %1, align 4
call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.main.string, i64 4, i1 false)
%4 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%5 = call i64 @is_integer(ptr noundef %4)
%6 = icmp ne i64 %5, 0
br i1 %6, label %7, label %10
7: ; preds = %0
%8 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0
%9 = call i32 @atoi(ptr noundef %8)
store i32 %9, ptr %3, align 4
br label %10
10: ; preds = %7, %0
%11 = load i32, ptr %3, align 4
%12 = call i32 @printf(ptr noundef @.str, i32 noundef %11)
ret i32 0
}
; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1
declare i64 @is_integer(ptr noundef) #2
declare i32 @atoi(ptr noundef) #2
declare i32 @printf(ptr noundef, i32 noundef) #2
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp34u8vsh4.c'
source_filename = "/tmp/tmp34u8vsh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"sstdevwd\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 1000000, %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/tmp34u8vsh4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 [9 x i8] c"sstdevwd\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 1000000, %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/tmppuypfbnf.c'
source_filename = "/tmp/tmppuypfbnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cg_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @malloc(i64 noundef %3) #2
ret ptr %4
}
; Function Attrs: allocsize(0)
declare ptr @malloc(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(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmppuypfbnf.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @cg_malloc(i64 noundef %0) #0 {
%2 = alloca i64, align 8
store i64 %0, ptr %2, align 8
%3 = load i64, ptr %2, align 8
%4 = call ptr @malloc(i64 noundef %3) #2
ret ptr %4
}
; Function Attrs: allocsize(0)
declare ptr @malloc(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(0) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { allocsize(0) }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpmbj84k_g.c'
source_filename = "/tmp/tmpmbj84k_g.c"
target datalayout = "e-m:e-p270: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/tmpmbj84k_g.c"
target datalayout = "e-m:e-p270: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/tmph65kv_rt.c'
source_filename = "/tmp/tmph65kv_rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s|%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @for_each_row_output_each_field(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
%4 = alloca [128 x i8], align 16
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
br label %6
6: ; preds = %48, %1
%7 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%8 = load i32, ptr @stdin, align 4
%9 = call i64 @get_line(ptr noundef %7, i32 noundef %8)
%10 = icmp ne i64 %9, 0
br i1 %10, label %11, label %49
11: ; preds = %6
%12 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%13 = load i8, ptr %12, align 16
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 124
br i1 %15, label %16, label %47
16: ; preds = %11
%17 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%18 = getelementptr inbounds i8, ptr %17, i64 1
%19 = load i8, ptr %18, align 1
%20 = sext i8 %19 to i32
%21 = icmp ne i32 %20, 45
br i1 %21, label %22, label %47
22: ; preds = %16
store i32 0, ptr %5, align 4
br label %23
23: ; preds = %43, %22
%24 = load ptr, ptr %2, align 8
%25 = load i32, ptr %5, align 4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds ptr, ptr %24, i64 %26
%28 = load ptr, ptr %27, align 8
%29 = icmp ne ptr %28, null
br i1 %29, label %30, label %46
30: ; preds = %23
%31 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%32 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%33 = load i32, ptr %5, align 4
%34 = add nsw i32 %33, 1
%35 = call i32 @piece(ptr noundef %31, i8 noundef signext 124, ptr noundef %32, i32 noundef %34)
%36 = load ptr, ptr %2, align 8
%37 = load i32, ptr %5, align 4
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds ptr, ptr %36, i64 %38
%40 = load ptr, ptr %39, align 8
%41 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%42 = call i32 @printf(ptr noundef @.str, ptr noundef %40, ptr noundef %41)
br label %43
43: ; preds = %30
%44 = load i32, ptr %5, align 4
%45 = add nsw i32 %44, 1
store i32 %45, ptr %5, align 4
br label %23, !llvm.loop !6
46: ; preds = %23
br label %48
47: ; preds = %16, %11
br label %48
48: ; preds = %47, %46
br label %6, !llvm.loop !8
49: ; preds = %6
ret void
}
declare i64 @get_line(ptr noundef, i32 noundef) #1
declare i32 @piece(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) #1
declare i32 @printf(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"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmph65kv_rt.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@stdin = dso_local global i32 0, align 4
@.str = private unnamed_addr constant [7 x i8] c"%s|%s\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @for_each_row_output_each_field(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [128 x i8], align 16
%4 = alloca [128 x i8], align 16
%5 = alloca i32, align 4
store ptr %0, ptr %2, align 8
%6 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%7 = load i32, ptr @stdin, align 4
%8 = call i64 @get_line(ptr noundef %6, i32 noundef %7)
%9 = icmp ne i64 %8, 0
br i1 %9, label %.lr.ph2, label %56
.lr.ph2: ; preds = %1
br label %10
10: ; preds = %.lr.ph2, %52
%11 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%12 = load i8, ptr %11, align 16
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 124
br i1 %14, label %15, label %51
15: ; preds = %10
%16 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%17 = getelementptr inbounds i8, ptr %16, i64 1
%18 = load i8, ptr %17, align 1
%19 = sext i8 %18 to i32
%20 = icmp ne i32 %19, 45
br i1 %20, label %21, label %51
21: ; preds = %15
store i32 0, ptr %5, align 4
%22 = load ptr, ptr %2, align 8
%23 = load i32, ptr %5, align 4
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds ptr, ptr %22, i64 %24
%26 = load ptr, ptr %25, align 8
%27 = icmp ne ptr %26, null
br i1 %27, label %.lr.ph, label %50
.lr.ph: ; preds = %21
br label %28
28: ; preds = %.lr.ph, %41
%29 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%30 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, 1
%33 = call i32 @piece(ptr noundef %29, i8 noundef signext 124, ptr noundef %30, i32 noundef %32)
%34 = load ptr, ptr %2, align 8
%35 = load i32, ptr %5, align 4
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds ptr, ptr %34, i64 %36
%38 = load ptr, ptr %37, align 8
%39 = getelementptr inbounds [128 x i8], ptr %4, i64 0, i64 0
%40 = call i32 @printf(ptr noundef @.str, ptr noundef %38, ptr noundef %39)
br label %41
41: ; preds = %28
%42 = load i32, ptr %5, align 4
%43 = add nsw i32 %42, 1
store i32 %43, ptr %5, align 4
%44 = load ptr, ptr %2, align 8
%45 = load i32, ptr %5, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds ptr, ptr %44, i64 %46
%48 = load ptr, ptr %47, align 8
%49 = icmp ne ptr %48, null
br i1 %49, label %28, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %41
br label %50
50: ; preds = %._crit_edge, %21
br label %52
51: ; preds = %15, %10
br label %52
52: ; preds = %51, %50
%53 = load i32, ptr @stdin, align 4
%54 = call i64 @get_line(ptr noundef %6, i32 noundef %53)
%55 = icmp ne i64 %54, 0
br i1 %55, label %10, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %52
br label %56
56: ; preds = %._crit_edge3, %1
ret void
}
declare i64 @get_line(ptr noundef, i32 noundef) #1
declare i32 @piece(ptr noundef, i8 noundef signext, ptr noundef, i32 noundef) #1
declare i32 @printf(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"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmp_b2plh9s.c'
source_filename = "/tmp/tmp_b2plh9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yates_shuffle(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i64 0, ptr %10, align 8
store i64 0, ptr %11, align 8
store i64 0, ptr %11, align 8
%12 = load i64, ptr %8, align 8
store i64 %12, ptr %10, align 8
br label %13
13: ; preds = %22, %4
%14 = load i64, ptr %11, align 8
%15 = load i64, ptr %6, align 8
%16 = icmp ult i64 %14, %15
br i1 %16, label %17, label %27
17: ; preds = %13
%18 = load i64, ptr %10, align 8
%19 = load ptr, ptr %5, align 8
%20 = load i64, ptr %11, align 8
%21 = getelementptr inbounds i64, ptr %19, i64 %20
store i64 %18, ptr %21, align 8
br label %22
22: ; preds = %17
%23 = load i64, ptr %10, align 8
%24 = add i64 %23, 1
store i64 %24, ptr %10, align 8
%25 = load i64, ptr %11, align 8
%26 = add i64 %25, 1
store i64 %26, ptr %11, align 8
br label %13, !llvm.loop !6
27: ; preds = %13
%28 = call i32 @time(ptr noundef null)
%29 = call i32 @srand(i32 noundef %28)
%30 = load i64, ptr %6, align 8
%31 = sub i64 %30, 1
store i64 %31, ptr %10, align 8
br label %32
32: ; preds = %57, %27
%33 = load i64, ptr %10, align 8
%34 = icmp ugt i64 %33, 0
br i1 %34, label %35, label %60
35: ; preds = %32
%36 = call i64 (...) @rand()
%37 = load i64, ptr %10, align 8
%38 = urem i64 %36, %37
%39 = trunc i64 %38 to i32
store i32 %39, ptr %9, align 4
%40 = load ptr, ptr %5, align 8
%41 = load i64, ptr %10, align 8
%42 = getelementptr inbounds i64, ptr %40, i64 %41
%43 = load i64, ptr %42, align 8
store i64 %43, ptr %11, align 8
%44 = load ptr, ptr %5, align 8
%45 = load i32, ptr %9, align 4
%46 = sext i32 %45 to i64
%47 = getelementptr inbounds i64, ptr %44, i64 %46
%48 = load i64, ptr %47, align 8
%49 = load ptr, ptr %5, align 8
%50 = load i64, ptr %10, align 8
%51 = getelementptr inbounds i64, ptr %49, i64 %50
store i64 %48, ptr %51, align 8
%52 = load i64, ptr %11, align 8
%53 = load ptr, ptr %5, align 8
%54 = load i32, ptr %9, align 4
%55 = sext i32 %54 to i64
%56 = getelementptr inbounds i64, ptr %53, i64 %55
store i64 %52, ptr %56, align 8
br label %57
57: ; preds = %35
%58 = load i64, ptr %10, align 8
%59 = add i64 %58, -1
store i64 %59, ptr %10, align 8
br label %32, !llvm.loop !8
60: ; preds = %32
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp_b2plh9s.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @yates_shuffle(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 {
%5 = alloca ptr, align 8
%6 = alloca i64, align 8
%7 = alloca i64, align 8
%8 = alloca i64, align 8
%9 = alloca i32, align 4
%10 = alloca i64, align 8
%11 = alloca i64, align 8
store ptr %0, ptr %5, align 8
store i64 %1, ptr %6, align 8
store i64 %2, ptr %7, align 8
store i64 %3, ptr %8, align 8
store i32 0, ptr %9, align 4
store i64 0, ptr %10, align 8
store i64 0, ptr %11, align 8
store i64 0, ptr %11, align 8
%12 = load i64, ptr %8, align 8
store i64 %12, ptr %10, align 8
%13 = load i64, ptr %11, align 8
%14 = load i64, ptr %6, align 8
%15 = icmp ult i64 %13, %14
br i1 %15, label %.lr.ph, label %29
.lr.ph: ; preds = %4
br label %16
16: ; preds = %.lr.ph, %21
%17 = load i64, ptr %10, align 8
%18 = load ptr, ptr %5, align 8
%19 = load i64, ptr %11, align 8
%20 = getelementptr inbounds i64, ptr %18, i64 %19
store i64 %17, ptr %20, align 8
br label %21
21: ; preds = %16
%22 = load i64, ptr %10, align 8
%23 = add i64 %22, 1
store i64 %23, ptr %10, align 8
%24 = load i64, ptr %11, align 8
%25 = add i64 %24, 1
store i64 %25, ptr %11, align 8
%26 = load i64, ptr %11, align 8
%27 = load i64, ptr %6, align 8
%28 = icmp ult i64 %26, %27
br i1 %28, label %16, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %29
29: ; preds = %._crit_edge, %4
%30 = call i32 @time(ptr noundef null)
%31 = call i32 @srand(i32 noundef %30)
%32 = load i64, ptr %6, align 8
%33 = sub i64 %32, 1
store i64 %33, ptr %10, align 8
%34 = load i64, ptr %10, align 8
%35 = icmp ugt i64 %34, 0
br i1 %35, label %.lr.ph2, label %63
.lr.ph2: ; preds = %29
br label %36
36: ; preds = %.lr.ph2, %58
%37 = call i64 (...) @rand()
%38 = load i64, ptr %10, align 8
%39 = urem i64 %37, %38
%40 = trunc i64 %39 to i32
store i32 %40, ptr %9, align 4
%41 = load ptr, ptr %5, align 8
%42 = load i64, ptr %10, align 8
%43 = getelementptr inbounds i64, ptr %41, i64 %42
%44 = load i64, ptr %43, align 8
store i64 %44, ptr %11, align 8
%45 = load ptr, ptr %5, align 8
%46 = load i32, ptr %9, align 4
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds i64, ptr %45, i64 %47
%49 = load i64, ptr %48, align 8
%50 = load ptr, ptr %5, align 8
%51 = load i64, ptr %10, align 8
%52 = getelementptr inbounds i64, ptr %50, i64 %51
store i64 %49, ptr %52, align 8
%53 = load i64, ptr %11, align 8
%54 = load ptr, ptr %5, align 8
%55 = load i32, ptr %9, align 4
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds i64, ptr %54, i64 %56
store i64 %53, ptr %57, align 8
br label %58
58: ; preds = %36
%59 = load i64, ptr %10, align 8
%60 = add i64 %59, -1
store i64 %60, ptr %10, align 8
%61 = load i64, ptr %10, align 8
%62 = icmp ugt i64 %61, 0
br i1 %62, label %36, label %._crit_edge3, !llvm.loop !8
._crit_edge3: ; preds = %58
br label %63
63: ; preds = %._crit_edge3, %29
ret void
}
declare i32 @srand(i32 noundef) #1
declare i32 @time(ptr noundef) #1
declare i64 @rand(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpe4i_obbm.c'
source_filename = "/tmp/tmpe4i_obbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeFile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @out(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef %9)
ret i32 %10
}
declare i32 @out(ptr noundef, i32 noundef, i32 noundef, 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/tmpe4i_obbm.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @writeFile(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
%4 = alloca ptr, align 8
%5 = alloca ptr, align 8
%6 = alloca i32, align 4
store ptr %0, ptr %4, align 8
store ptr %1, ptr %5, align 8
store i32 %2, ptr %6, align 4
%7 = load ptr, ptr %5, align 8
%8 = load i32, ptr %6, align 4
%9 = load ptr, ptr %4, align 8
%10 = call i32 @out(ptr noundef %7, i32 noundef 0, i32 noundef %8, i32 noundef 1, i32 noundef 0, ptr noundef %9)
ret i32 %10
}
declare i32 @out(ptr noundef, i32 noundef, i32 noundef, 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/tmp4nykb0w4.c'
source_filename = "/tmp/tmp4nykb0w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test1_h() #0 {
%1 = call i32 (...) @test1_g()
ret void
}
declare i32 @test1_g(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp4nykb0w4.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @test1_h() #0 {
%1 = call i32 (...) @test1_g()
ret void
}
declare i32 @test1_g(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpbz5d9670.c'
source_filename = "/tmp/tmpbz5d9670.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite o primeiro numero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"\0AVoce deve digitar um valor maior que zero!\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"O numero %d eh par!\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"O numero %d nao eh par!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %11, %0
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %8, %3
br label %11
11: ; preds = %10
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %3, label %14, !llvm.loop !6
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i64 @imparPar(i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19)
br label %24
21: ; preds = %14
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
br label %24
24: ; preds = %21, %18
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @imparPar(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/tmpbz5d9670.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Digite o primeiro numero: \00", align 1
@.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1
@.str.2 = private unnamed_addr constant [44 x i8] c"\0AVoce deve digitar um valor maior que zero!\00", align 1
@.str.3 = private unnamed_addr constant [20 x i8] c"O numero %d eh par!\00", align 1
@.str.4 = private unnamed_addr constant [24 x i8] c"O numero %d nao eh par!\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 0, ptr %2, align 4
br label %3
3: ; preds = %11, %0
%4 = call i32 (ptr, ...) @printf(ptr noundef @.str)
%5 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2)
%6 = load i32, ptr %2, align 4
%7 = icmp sle i32 %6, 0
br i1 %7, label %8, label %10
8: ; preds = %3
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
br label %10
10: ; preds = %8, %3
br label %11
11: ; preds = %10
%12 = load i32, ptr %2, align 4
%13 = icmp sle i32 %12, 0
br i1 %13, label %3, label %14, !llvm.loop !6
14: ; preds = %11
%15 = load i32, ptr %2, align 4
%16 = call i64 @imparPar(i32 noundef %15)
%17 = icmp ne i64 %16, 0
br i1 %17, label %18, label %21
18: ; preds = %14
%19 = load i32, ptr %2, align 4
%20 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %19)
br label %24
21: ; preds = %14
%22 = load i32, ptr %2, align 4
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %22)
br label %24
24: ; preds = %21, %18
%25 = load i32, ptr %1, align 4
ret i32 %25
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @scanf(ptr noundef, ptr noundef) #1
declare i64 @imparPar(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/tmprlb1bz4_.c'
source_filename = "/tmp/tmprlb1bz4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c" value \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Personality\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Min Time\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Max Time\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Hash\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"OwnBook\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"OwnBookFile\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_option(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [64 x i8], align 16
%4 = alloca [64 x i8], align 16
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strip(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp sgt i32 %9, 64
br i1 %10, label %11, label %12
11: ; preds = %1
br label %87
12: ; preds = %1
%13 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 15
%16 = call i32 @strcpy(ptr noundef %13, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %35
21: ; preds = %12
%22 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 7
%25 = call i32 @strcpy(ptr noundef %22, ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 15
%28 = call i32 @strlen(ptr noundef %27)
%29 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = sub nsw i32 %28, %30
%32 = sub nsw i32 %31, 7
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 %33
store i8 0, ptr %34, align 1
br label %37
35: ; preds = %12
%36 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
store i8 0, ptr %36, align 16
br label %37
37: ; preds = %35, %21
%38 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.1)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%43 = call i32 @set_personality_name(ptr noundef %42)
br label %87
44: ; preds = %37
%45 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.2)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%50 = call i32 @set_min_time(ptr noundef %49)
br label %86
51: ; preds = %44
%52 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.3)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%57 = call i32 @set_max_time(ptr noundef %56)
br label %85
58: ; preds = %51
%59 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.4)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%64 = call i32 @set_hash(ptr noundef %63)
br label %84
65: ; preds = %58
%66 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.5)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %65
%70 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.6)
%72 = icmp eq i64 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 @set_ownbook(i32 noundef %73)
br label %83
75: ; preds = %65
%76 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%77 = call i64 @strcmp(ptr noundef %76, ptr noundef @.str.7)
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %82
79: ; preds = %75
%80 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%81 = call i32 @set_ownbookfile(ptr noundef %80)
br label %82
82: ; preds = %79, %75
br label %83
83: ; preds = %82, %69
br label %84
84: ; preds = %83, %62
br label %85
85: ; preds = %84, %55
br label %86
86: ; preds = %85, %48
br label %87
87: ; preds = %11, %86, %41
ret void
}
declare i32 @strip(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @set_personality_name(ptr noundef) #1
declare i32 @set_min_time(ptr noundef) #1
declare i32 @set_max_time(ptr noundef) #1
declare i32 @set_hash(ptr noundef) #1
declare i32 @set_ownbook(i32 noundef) #1
declare i32 @set_ownbookfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmprlb1bz4_.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [8 x i8] c" value \00", align 1
@.str.1 = private unnamed_addr constant [12 x i8] c"Personality\00", align 1
@.str.2 = private unnamed_addr constant [9 x i8] c"Min Time\00", align 1
@.str.3 = private unnamed_addr constant [9 x i8] c"Max Time\00", align 1
@.str.4 = private unnamed_addr constant [5 x i8] c"Hash\00", align 1
@.str.5 = private unnamed_addr constant [8 x i8] c"OwnBook\00", align 1
@.str.6 = private unnamed_addr constant [5 x i8] c"true\00", align 1
@.str.7 = private unnamed_addr constant [12 x i8] c"OwnBookFile\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @set_option(ptr noundef %0) #0 {
%2 = alloca ptr, align 8
%3 = alloca [64 x i8], align 16
%4 = alloca [64 x i8], align 16
%5 = alloca ptr, align 8
store ptr %0, ptr %2, align 8
%6 = load ptr, ptr %2, align 8
%7 = call i32 @strip(ptr noundef %6)
%8 = load ptr, ptr %2, align 8
%9 = call i32 @strlen(ptr noundef %8)
%10 = icmp sgt i32 %9, 64
br i1 %10, label %11, label %12
11: ; preds = %1
br label %87
12: ; preds = %1
%13 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%14 = load ptr, ptr %2, align 8
%15 = getelementptr inbounds i8, ptr %14, i64 15
%16 = call i32 @strcpy(ptr noundef %13, ptr noundef %15)
%17 = load ptr, ptr %2, align 8
%18 = call ptr @strstr(ptr noundef %17, ptr noundef @.str)
store ptr %18, ptr %5, align 8
%19 = load ptr, ptr %5, align 8
%20 = icmp ne ptr %19, null
br i1 %20, label %21, label %35
21: ; preds = %12
%22 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%23 = load ptr, ptr %5, align 8
%24 = getelementptr inbounds i8, ptr %23, i64 7
%25 = call i32 @strcpy(ptr noundef %22, ptr noundef %24)
%26 = load ptr, ptr %2, align 8
%27 = getelementptr inbounds i8, ptr %26, i64 15
%28 = call i32 @strlen(ptr noundef %27)
%29 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%30 = call i32 @strlen(ptr noundef %29)
%31 = sub nsw i32 %28, %30
%32 = sub nsw i32 %31, 7
%33 = sext i32 %32 to i64
%34 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 %33
store i8 0, ptr %34, align 1
br label %37
35: ; preds = %12
%36 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
store i8 0, ptr %36, align 16
br label %37
37: ; preds = %35, %21
%38 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%39 = call i64 @strcmp(ptr noundef %38, ptr noundef @.str.1)
%40 = icmp eq i64 %39, 0
br i1 %40, label %41, label %44
41: ; preds = %37
%42 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%43 = call i32 @set_personality_name(ptr noundef %42)
br label %87
44: ; preds = %37
%45 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%46 = call i64 @strcmp(ptr noundef %45, ptr noundef @.str.2)
%47 = icmp eq i64 %46, 0
br i1 %47, label %48, label %51
48: ; preds = %44
%49 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%50 = call i32 @set_min_time(ptr noundef %49)
br label %86
51: ; preds = %44
%52 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%53 = call i64 @strcmp(ptr noundef %52, ptr noundef @.str.3)
%54 = icmp eq i64 %53, 0
br i1 %54, label %55, label %58
55: ; preds = %51
%56 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%57 = call i32 @set_max_time(ptr noundef %56)
br label %85
58: ; preds = %51
%59 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%60 = call i64 @strcmp(ptr noundef %59, ptr noundef @.str.4)
%61 = icmp eq i64 %60, 0
br i1 %61, label %62, label %65
62: ; preds = %58
%63 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%64 = call i32 @set_hash(ptr noundef %63)
br label %84
65: ; preds = %58
%66 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%67 = call i64 @strcmp(ptr noundef %66, ptr noundef @.str.5)
%68 = icmp eq i64 %67, 0
br i1 %68, label %69, label %75
69: ; preds = %65
%70 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%71 = call i64 @strcmp(ptr noundef %70, ptr noundef @.str.6)
%72 = icmp eq i64 %71, 0
%73 = zext i1 %72 to i32
%74 = call i32 @set_ownbook(i32 noundef %73)
br label %83
75: ; preds = %65
%76 = getelementptr inbounds [64 x i8], ptr %3, i64 0, i64 0
%77 = call i64 @strcmp(ptr noundef %76, ptr noundef @.str.7)
%78 = icmp eq i64 %77, 0
br i1 %78, label %79, label %82
79: ; preds = %75
%80 = getelementptr inbounds [64 x i8], ptr %4, i64 0, i64 0
%81 = call i32 @set_ownbookfile(ptr noundef %80)
br label %82
82: ; preds = %79, %75
br label %83
83: ; preds = %82, %69
br label %84
84: ; preds = %83, %62
br label %85
85: ; preds = %84, %55
br label %86
86: ; preds = %85, %48
br label %87
87: ; preds = %86, %41, %11
ret void
}
declare i32 @strip(ptr noundef) #1
declare i32 @strlen(ptr noundef) #1
declare i32 @strcpy(ptr noundef, ptr noundef) #1
declare ptr @strstr(ptr noundef, ptr noundef) #1
declare i64 @strcmp(ptr noundef, ptr noundef) #1
declare i32 @set_personality_name(ptr noundef) #1
declare i32 @set_min_time(ptr noundef) #1
declare i32 @set_max_time(ptr noundef) #1
declare i32 @set_hash(ptr noundef) #1
declare i32 @set_ownbook(i32 noundef) #1
declare i32 @set_ownbookfile(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp109qm56b.c'
source_filename = "/tmp/tmp109qm56b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Basic\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"********** Basic Can Mode **********\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Switch on Reset Mode\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Switch off reset mode\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Extended\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"************************************\0A\00", align 1
@.str.6 = private unnamed_addr constant [38 x i8] c"******** Extended Can Mode *********\0A\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"control_register: 0x%X \0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [49 x i8] c"Set clock divider register to extended can mode\0A\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"clock_divider_register: 0x%X \0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"Set bus timing register 0\0A\00", align 1
@.str.11 = private unnamed_addr constant [45 x i8] c"Sync Jump Width = 2 Baudrate Prescaler = 1\0A\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c"bus timing register 0: 0x%X \0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"Set bus timing register 1\0A\00", align 1
@.str.14 = private unnamed_addr constant [30 x i8] c"SAM = 0 ---> Single Sampling\0A\00", align 1
@.str.15 = private unnamed_addr constant [31 x i8] c"bus timing register 1: 0x%X \0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Set acceptance code register\0A\00", align 1
@.str.17 = private unnamed_addr constant [35 x i8] c"acceptance code register 0: 0x%X \0A\00", align 1
@.str.18 = private unnamed_addr constant [35 x i8] c"acceptance code register 1: 0x%X \0A\00", align 1
@.str.19 = private unnamed_addr constant [35 x i8] c"acceptance code register 2: 0x%X \0A\00", align 1
@.str.20 = private unnamed_addr constant [36 x i8] c"acceptance code register 3: 0x%X \0A\0A\00", align 1
@.str.21 = private unnamed_addr constant [30 x i8] c"Set acceptance mask register\0A\00", align 1
@.str.22 = private unnamed_addr constant [33 x i8] c"acceptance mask register: 0x%X \0A\00", align 1
@.str.23 = private unnamed_addr constant [34 x i8] c"acceptance mask register: 0x%X \0A\0A\00", align 1
@.str.24 = private unnamed_addr constant [10 x i8] c"self_test\00", align 1
@.str.25 = private unnamed_addr constant [25 x i8] c"control_register 0x%X \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_can(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, @.str
br i1 %7, label %8, label %30
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%12 = zext i8 %11 to i32
%13 = or i32 %12, 1
%14 = trunc i32 %13 to i8
store i8 %14, ptr %5, align 1
%15 = load i8, ptr %5, align 1
store i8 %15, ptr inttoptr (i64 4294705152 to ptr), align 1
%16 = load i8, ptr inttoptr (i64 4294705183 to ptr), align 1
%17 = zext i8 %16 to i32
%18 = and i32 %17, 127
%19 = or i32 %18, 7
%20 = trunc i32 %19 to i8
store i8 %20, ptr %5, align 1
%21 = load i8, ptr %5, align 1
store i8 %21, ptr inttoptr (i64 4294705183 to ptr), align 1
store i8 -125, ptr inttoptr (i64 4294705158 to ptr), align 1
store i8 37, ptr inttoptr (i64 4294705159 to ptr), align 1
store i8 -120, ptr inttoptr (i64 4294705156 to ptr), align 1
store i8 -1, ptr inttoptr (i64 4294705157 to ptr), align 1
%22 = call i32 @kill_time(i32 noundef 50)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%24 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%25 = zext i8 %24 to i32
%26 = and i32 %25, 254
%27 = trunc i32 %26 to i8
store i8 %27, ptr %5, align 1
%28 = load i8, ptr %5, align 1
store i8 %28, ptr inttoptr (i64 4294705152 to ptr), align 1
%29 = call i32 @kill_time(i32 noundef 50)
br label %110
30: ; preds = %2
%31 = load ptr, ptr %3, align 8
%32 = icmp eq ptr %31, @.str.4
br i1 %32, label %33, label %109
33: ; preds = %30
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%38 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%39 = zext i8 %38 to i32
%40 = or i32 %39, 1
%41 = trunc i32 %40 to i8
store i8 %41, ptr %5, align 1
%42 = load i8, ptr %5, align 1
store i8 %42, ptr inttoptr (i64 4294705152 to ptr), align 1
%43 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%44 = zext i8 %43 to i32
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %44)
%46 = call i32 @kill_time(i32 noundef 50)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%48 = load i8, ptr inttoptr (i64 4294705183 to ptr), align 1
%49 = zext i8 %48 to i32
%50 = or i32 %49, 128
%51 = or i32 %50, 7
%52 = trunc i32 %51 to i8
store i8 %52, ptr %5, align 1
%53 = load i8, ptr %5, align 1
store i8 %53, ptr inttoptr (i64 4294705183 to ptr), align 1
%54 = load i8, ptr inttoptr (i64 4294705183 to ptr), align 1
%55 = zext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %55)
%57 = call i32 @kill_time(i32 noundef 50)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i8 -125, ptr inttoptr (i64 4294705158 to ptr), align 1
%60 = load i8, ptr inttoptr (i64 4294705158 to ptr), align 1
%61 = zext i8 %60 to i32
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %61)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
store i8 37, ptr inttoptr (i64 4294705159 to ptr), align 1
%65 = load i8, ptr inttoptr (i64 4294705159 to ptr), align 1
%66 = zext i8 %65 to i32
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %66)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
store i8 -90, ptr inttoptr (i64 4294705168 to ptr), align 1
%69 = load i8, ptr inttoptr (i64 4294705168 to ptr), align 1
%70 = zext i8 %69 to i32
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %70)
store i8 -80, ptr inttoptr (i64 4294705169 to ptr), align 1
%72 = load i8, ptr inttoptr (i64 4294705169 to ptr), align 1
%73 = zext i8 %72 to i32
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %73)
store i8 18, ptr inttoptr (i64 4294705170 to ptr), align 1
%75 = load i8, ptr inttoptr (i64 4294705170 to ptr), align 1
%76 = zext i8 %75 to i32
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %76)
store i8 48, ptr inttoptr (i64 4294705171 to ptr), align 1
%78 = load i8, ptr inttoptr (i64 4294705171 to ptr), align 1
%79 = zext i8 %78 to i32
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %79)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
store i8 -1, ptr inttoptr (i64 4294705172 to ptr), align 1
%82 = load i8, ptr inttoptr (i64 4294705172 to ptr), align 1
%83 = zext i8 %82 to i32
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %83)
store i8 -1, ptr inttoptr (i64 4294705173 to ptr), align 1
%85 = load i8, ptr inttoptr (i64 4294705173 to ptr), align 1
%86 = zext i8 %85 to i32
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %86)
store i8 -1, ptr inttoptr (i64 4294705174 to ptr), align 1
%88 = load i8, ptr inttoptr (i64 4294705174 to ptr), align 1
%89 = zext i8 %88 to i32
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %89)
store i8 -1, ptr inttoptr (i64 4294705175 to ptr), align 1
%91 = load i8, ptr inttoptr (i64 4294705175 to ptr), align 1
%92 = zext i8 %91 to i32
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %92)
%94 = load ptr, ptr %4, align 8
%95 = icmp eq ptr %94, @.str.24
br i1 %95, label %96, label %98
96: ; preds = %33
%97 = call i32 (...) @self_testing_mode()
br label %98
98: ; preds = %96, %33
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%100 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%101 = zext i8 %100 to i32
%102 = and i32 %101, 254
%103 = trunc i32 %102 to i8
store i8 %103, ptr %5, align 1
%104 = load i8, ptr %5, align 1
store i8 %104, ptr inttoptr (i64 4294705152 to ptr), align 1
%105 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%106 = zext i8 %105 to i32
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %106)
%108 = call i32 @kill_time(i32 noundef 50)
br label %109
109: ; preds = %98, %30
br label %110
110: ; preds = %109, %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @kill_time(i32 noundef) #1
declare i32 @self_testing_mode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp109qm56b.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Basic\00", align 1
@.str.1 = private unnamed_addr constant [38 x i8] c"********** Basic Can Mode **********\0A\00", align 1
@.str.2 = private unnamed_addr constant [22 x i8] c"Switch on Reset Mode\0A\00", align 1
@.str.3 = private unnamed_addr constant [23 x i8] c"Switch off reset mode\0A\00", align 1
@.str.4 = private unnamed_addr constant [9 x i8] c"Extended\00", align 1
@.str.5 = private unnamed_addr constant [38 x i8] c"************************************\0A\00", align 1
@.str.6 = private unnamed_addr constant [38 x i8] c"******** Extended Can Mode *********\0A\00", align 1
@.str.7 = private unnamed_addr constant [26 x i8] c"control_register: 0x%X \0A\0A\00", align 1
@.str.8 = private unnamed_addr constant [49 x i8] c"Set clock divider register to extended can mode\0A\00", align 1
@.str.9 = private unnamed_addr constant [32 x i8] c"clock_divider_register: 0x%X \0A\0A\00", align 1
@.str.10 = private unnamed_addr constant [27 x i8] c"Set bus timing register 0\0A\00", align 1
@.str.11 = private unnamed_addr constant [45 x i8] c"Sync Jump Width = 2 Baudrate Prescaler = 1\0A\00", align 1
@.str.12 = private unnamed_addr constant [31 x i8] c"bus timing register 0: 0x%X \0A\0A\00", align 1
@.str.13 = private unnamed_addr constant [27 x i8] c"Set bus timing register 1\0A\00", align 1
@.str.14 = private unnamed_addr constant [30 x i8] c"SAM = 0 ---> Single Sampling\0A\00", align 1
@.str.15 = private unnamed_addr constant [31 x i8] c"bus timing register 1: 0x%X \0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [30 x i8] c"Set acceptance code register\0A\00", align 1
@.str.17 = private unnamed_addr constant [35 x i8] c"acceptance code register 0: 0x%X \0A\00", align 1
@.str.18 = private unnamed_addr constant [35 x i8] c"acceptance code register 1: 0x%X \0A\00", align 1
@.str.19 = private unnamed_addr constant [35 x i8] c"acceptance code register 2: 0x%X \0A\00", align 1
@.str.20 = private unnamed_addr constant [36 x i8] c"acceptance code register 3: 0x%X \0A\0A\00", align 1
@.str.21 = private unnamed_addr constant [30 x i8] c"Set acceptance mask register\0A\00", align 1
@.str.22 = private unnamed_addr constant [33 x i8] c"acceptance mask register: 0x%X \0A\00", align 1
@.str.23 = private unnamed_addr constant [34 x i8] c"acceptance mask register: 0x%X \0A\0A\00", align 1
@.str.24 = private unnamed_addr constant [10 x i8] c"self_test\00", align 1
@.str.25 = private unnamed_addr constant [25 x i8] c"control_register 0x%X \0A\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @init_can(ptr noundef %0, ptr noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca ptr, align 8
%5 = alloca i8, align 1
store ptr %0, ptr %3, align 8
store ptr %1, ptr %4, align 8
%6 = load ptr, ptr %3, align 8
%7 = icmp eq ptr %6, @.str
br i1 %7, label %8, label %30
8: ; preds = %2
%9 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
%10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%11 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%12 = zext i8 %11 to i32
%13 = or i32 %12, 1
%14 = trunc i32 %13 to i8
store i8 %14, ptr %5, align 1
%15 = load i8, ptr %5, align 1
store i8 %15, ptr inttoptr (i64 4294705152 to ptr), align 1
%16 = load i8, ptr inttoptr (i64 4294705183 to ptr), align 1
%17 = zext i8 %16 to i32
%18 = and i32 %17, 127
%19 = or i32 %18, 7
%20 = trunc i32 %19 to i8
store i8 %20, ptr %5, align 1
%21 = load i8, ptr %5, align 1
store i8 %21, ptr inttoptr (i64 4294705183 to ptr), align 1
store i8 -125, ptr inttoptr (i64 4294705158 to ptr), align 1
store i8 37, ptr inttoptr (i64 4294705159 to ptr), align 1
store i8 -120, ptr inttoptr (i64 4294705156 to ptr), align 1
store i8 -1, ptr inttoptr (i64 4294705157 to ptr), align 1
%22 = call i32 @kill_time(i32 noundef 50)
%23 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%24 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%25 = zext i8 %24 to i32
%26 = and i32 %25, 254
%27 = trunc i32 %26 to i8
store i8 %27, ptr %5, align 1
%28 = load i8, ptr %5, align 1
store i8 %28, ptr inttoptr (i64 4294705152 to ptr), align 1
%29 = call i32 @kill_time(i32 noundef 50)
br label %110
30: ; preds = %2
%31 = load ptr, ptr %3, align 8
%32 = icmp eq ptr %31, @.str.4
br i1 %32, label %33, label %109
33: ; preds = %30
%34 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%35 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
%36 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
%37 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
%38 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%39 = zext i8 %38 to i32
%40 = or i32 %39, 1
%41 = trunc i32 %40 to i8
store i8 %41, ptr %5, align 1
%42 = load i8, ptr %5, align 1
store i8 %42, ptr inttoptr (i64 4294705152 to ptr), align 1
%43 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%44 = zext i8 %43 to i32
%45 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, i32 noundef %44)
%46 = call i32 @kill_time(i32 noundef 50)
%47 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
%48 = load i8, ptr inttoptr (i64 4294705183 to ptr), align 1
%49 = zext i8 %48 to i32
%50 = or i32 %49, 128
%51 = or i32 %50, 7
%52 = trunc i32 %51 to i8
store i8 %52, ptr %5, align 1
%53 = load i8, ptr %5, align 1
store i8 %53, ptr inttoptr (i64 4294705183 to ptr), align 1
%54 = load i8, ptr inttoptr (i64 4294705183 to ptr), align 1
%55 = zext i8 %54 to i32
%56 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, i32 noundef %55)
%57 = call i32 @kill_time(i32 noundef 50)
%58 = call i32 (ptr, ...) @printf(ptr noundef @.str.10)
%59 = call i32 (ptr, ...) @printf(ptr noundef @.str.11)
store i8 -125, ptr inttoptr (i64 4294705158 to ptr), align 1
%60 = load i8, ptr inttoptr (i64 4294705158 to ptr), align 1
%61 = zext i8 %60 to i32
%62 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, i32 noundef %61)
%63 = call i32 (ptr, ...) @printf(ptr noundef @.str.13)
%64 = call i32 (ptr, ...) @printf(ptr noundef @.str.14)
store i8 37, ptr inttoptr (i64 4294705159 to ptr), align 1
%65 = load i8, ptr inttoptr (i64 4294705159 to ptr), align 1
%66 = zext i8 %65 to i32
%67 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef %66)
%68 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
store i8 -90, ptr inttoptr (i64 4294705168 to ptr), align 1
%69 = load i8, ptr inttoptr (i64 4294705168 to ptr), align 1
%70 = zext i8 %69 to i32
%71 = call i32 (ptr, ...) @printf(ptr noundef @.str.17, i32 noundef %70)
store i8 -80, ptr inttoptr (i64 4294705169 to ptr), align 1
%72 = load i8, ptr inttoptr (i64 4294705169 to ptr), align 1
%73 = zext i8 %72 to i32
%74 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, i32 noundef %73)
store i8 18, ptr inttoptr (i64 4294705170 to ptr), align 1
%75 = load i8, ptr inttoptr (i64 4294705170 to ptr), align 1
%76 = zext i8 %75 to i32
%77 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, i32 noundef %76)
store i8 48, ptr inttoptr (i64 4294705171 to ptr), align 1
%78 = load i8, ptr inttoptr (i64 4294705171 to ptr), align 1
%79 = zext i8 %78 to i32
%80 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, i32 noundef %79)
%81 = call i32 (ptr, ...) @printf(ptr noundef @.str.21)
store i8 -1, ptr inttoptr (i64 4294705172 to ptr), align 1
%82 = load i8, ptr inttoptr (i64 4294705172 to ptr), align 1
%83 = zext i8 %82 to i32
%84 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %83)
store i8 -1, ptr inttoptr (i64 4294705173 to ptr), align 1
%85 = load i8, ptr inttoptr (i64 4294705173 to ptr), align 1
%86 = zext i8 %85 to i32
%87 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %86)
store i8 -1, ptr inttoptr (i64 4294705174 to ptr), align 1
%88 = load i8, ptr inttoptr (i64 4294705174 to ptr), align 1
%89 = zext i8 %88 to i32
%90 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, i32 noundef %89)
store i8 -1, ptr inttoptr (i64 4294705175 to ptr), align 1
%91 = load i8, ptr inttoptr (i64 4294705175 to ptr), align 1
%92 = zext i8 %91 to i32
%93 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %92)
%94 = load ptr, ptr %4, align 8
%95 = icmp eq ptr %94, @.str.24
br i1 %95, label %96, label %98
96: ; preds = %33
%97 = call i32 (...) @self_testing_mode()
br label %98
98: ; preds = %96, %33
%99 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
%100 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%101 = zext i8 %100 to i32
%102 = and i32 %101, 254
%103 = trunc i32 %102 to i8
store i8 %103, ptr %5, align 1
%104 = load i8, ptr %5, align 1
store i8 %104, ptr inttoptr (i64 4294705152 to ptr), align 1
%105 = load i8, ptr inttoptr (i64 4294705152 to ptr), align 1
%106 = zext i8 %105 to i32
%107 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, i32 noundef %106)
%108 = call i32 @kill_time(i32 noundef 50)
br label %109
109: ; preds = %98, %30
br label %110
110: ; preds = %109, %8
ret void
}
declare i32 @printf(ptr noundef, ...) #1
declare i32 @kill_time(i32 noundef) #1
declare i32 @self_testing_mode(...) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmparlx_a5l.c'
source_filename = "/tmp/tmparlx_a5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_inoiseP(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
%7 = alloca ptr, align 8
%8 = 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
%9 = load ptr, ptr %6, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds float, ptr %15, i64 0
%17 = load float, ptr %16, align 4
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds float, ptr %18, i64 1
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds float, ptr %21, i64 2
%23 = load float, ptr %22, align 4
%24 = call float @noise3(float noundef %17, float noundef %20, float noundef %23)
%25 = fadd float 1.000000e+00, %24
%26 = fmul float %25, 5.000000e-01
%27 = load ptr, ptr %7, align 8
store float %26, ptr %27, align 4
ret i32 0
}
declare float @noise3(float noundef, 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmparlx_a5l.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @f_inoiseP(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
%7 = alloca ptr, align 8
%8 = 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
%9 = load ptr, ptr %6, align 8
%10 = getelementptr inbounds ptr, ptr %9, i64 0
%11 = load ptr, ptr %10, align 8
store ptr %11, ptr %7, align 8
%12 = load ptr, ptr %6, align 8
%13 = getelementptr inbounds ptr, ptr %12, i64 1
%14 = load ptr, ptr %13, align 8
store ptr %14, ptr %8, align 8
%15 = load ptr, ptr %8, align 8
%16 = getelementptr inbounds float, ptr %15, i64 0
%17 = load float, ptr %16, align 4
%18 = load ptr, ptr %8, align 8
%19 = getelementptr inbounds float, ptr %18, i64 1
%20 = load float, ptr %19, align 4
%21 = load ptr, ptr %8, align 8
%22 = getelementptr inbounds float, ptr %21, i64 2
%23 = load float, ptr %22, align 4
%24 = call float @noise3(float noundef %17, float noundef %20, float noundef %23)
%25 = fadd float 1.000000e+00, %24
%26 = fmul float %25, 5.000000e-01
%27 = load ptr, ptr %7, align 8
store float %26, ptr %27, align 4
ret i32 0
}
declare float @noise3(float noundef, 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 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7wr0l2rd.c'
source_filename = "/tmp/tmp7wr0l2rd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
call void @intToStr(i32 noundef 123, ptr noundef %4)
%5 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
call void @intToStr(i32 noundef -123, ptr noundef %5)
%6 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare void @intToStr(i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7wr0l2rd.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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 i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca [8 x i8], align 1
%3 = alloca [8 x i8], align 1
store i32 0, ptr %1, align 4
%4 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
call void @intToStr(i32 noundef 123, ptr noundef %4)
%5 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
call void @intToStr(i32 noundef -123, ptr noundef %5)
%6 = getelementptr inbounds [8 x i8], ptr %2, i64 0, i64 0
%7 = call i32 @printf(ptr noundef @.str, ptr noundef %6)
%8 = getelementptr inbounds [8 x i8], ptr %3, i64 0, i64 0
%9 = call i32 @printf(ptr noundef @.str, ptr noundef %8)
ret i32 0
}
declare void @intToStr(i32 noundef, 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" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp2t6horb0.c'
source_filename = "/tmp/tmp2t6horb0.c"
target datalayout = "e-m:e-p270: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/tmp2t6horb0.c"
target datalayout = "e-m:e-p270: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/tmpkyt8m4rx.c'
source_filename = "/tmp/tmpkyt8m4rx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Foo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpkyt8m4rx.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-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"Foo\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
store i32 0, ptr %1, align 4
%2 = call i32 @printf(ptr noundef @.str)
ret i32 0
}
declare i32 @printf(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmpp7ar0x62.c'
source_filename = "/tmp/tmpp7ar0x62.c"
target datalayout = "e-m:e-p270: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 [77 x i8] c"%s: IMPLEMENTATION ERROR! (Invalid argument in function \22incomplete_gamma\22)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @incomplete_gamma(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load double, ptr %6, align 8
%9 = fcmp olt double %8, 0.000000e+00
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load double, ptr %5, align 8
%12 = fcmp ole double %11, 0.000000e+00
br i1 %12, label %13, label %18
13: ; preds = %10, %3
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %7, align 8
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 4) #3
unreachable
18: ; preds = %10
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fadd double %20, 1.000000e+00
%22 = fcmp olt double %19, %21
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load double, ptr %5, align 8
%25 = load double, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = call double @gamma_help_1(double noundef %24, double noundef %25, ptr noundef %26)
store double %27, ptr %4, align 8
br label %34
28: ; preds = %18
%29 = load double, ptr %5, align 8
%30 = load double, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = call double @gamma_help_2(double noundef %29, double noundef %30, ptr noundef %31)
%33 = fsub double 1.000000e+00, %32
store double %33, ptr %4, align 8
br label %34
34: ; preds = %28, %23
%35 = load double, ptr %4, align 8
ret double %35
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @gamma_help_1(double noundef, double noundef, ptr noundef) #1
declare double @gamma_help_2(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpp7ar0x62.c"
target datalayout = "e-m:e-p270: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 [77 x i8] c"%s: IMPLEMENTATION ERROR! (Invalid argument in function \22incomplete_gamma\22)\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local double @incomplete_gamma(double noundef %0, double noundef %1, ptr noundef %2) #0 {
%4 = alloca double, align 8
%5 = alloca double, align 8
%6 = alloca double, align 8
%7 = alloca ptr, align 8
store double %0, ptr %5, align 8
store double %1, ptr %6, align 8
store ptr %2, ptr %7, align 8
%8 = load double, ptr %6, align 8
%9 = fcmp olt double %8, 0.000000e+00
br i1 %9, label %13, label %10
10: ; preds = %3
%11 = load double, ptr %5, align 8
%12 = fcmp ole double %11, 0.000000e+00
br i1 %12, label %13, label %18
13: ; preds = %10, %3
%14 = load i32, ptr @stderr, align 4
%15 = load ptr, ptr %7, align 8
%16 = call i32 @fprintf(i32 noundef %14, ptr noundef @.str, ptr noundef %15)
%17 = call i32 @exit(i32 noundef 4) #3
unreachable
18: ; preds = %10
%19 = load double, ptr %6, align 8
%20 = load double, ptr %5, align 8
%21 = fadd double %20, 1.000000e+00
%22 = fcmp olt double %19, %21
br i1 %22, label %23, label %28
23: ; preds = %18
%24 = load double, ptr %5, align 8
%25 = load double, ptr %6, align 8
%26 = load ptr, ptr %7, align 8
%27 = call double @gamma_help_1(double noundef %24, double noundef %25, ptr noundef %26)
store double %27, ptr %4, align 8
br label %34
28: ; preds = %18
%29 = load double, ptr %5, align 8
%30 = load double, ptr %6, align 8
%31 = load ptr, ptr %7, align 8
%32 = call double @gamma_help_2(double noundef %29, double noundef %30, ptr noundef %31)
%33 = fsub double 1.000000e+00, %32
store double %33, ptr %4, align 8
br label %34
34: ; preds = %28, %23
%35 = load double, ptr %4, align 8
ret double %35
}
declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1
; Function Attrs: noreturn
declare i32 @exit(i32 noundef) #2
declare double @gamma_help_1(double noundef, double noundef, ptr noundef) #1
declare double @gamma_help_2(double noundef, double noundef, ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
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/tmpqi4gvybe.c'
source_filename = "/tmp/tmpqi4gvybe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"a = %d, b = %d, c = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %2, align 4
store i32 20, ptr %3, align 4
store i32 101, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7)
%9 = call i32 @adjust_point(ptr noundef %2)
%10 = call i32 @adjust_point(ptr noundef %3)
%11 = call i32 @adjust_point(ptr noundef %4)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @adjust_point(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqi4gvybe.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [24 x i8] c"a = %d, b = %d, c = %d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4
%2 = alloca i32, align 4
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 0, ptr %1, align 4
store i32 -1, ptr %2, align 4
store i32 20, ptr %3, align 4
store i32 101, ptr %4, align 4
%5 = load i32, ptr %2, align 4
%6 = load i32, ptr %3, align 4
%7 = load i32, ptr %4, align 4
%8 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %7)
%9 = call i32 @adjust_point(ptr noundef %2)
%10 = call i32 @adjust_point(ptr noundef %3)
%11 = call i32 @adjust_point(ptr noundef %4)
%12 = load i32, ptr %2, align 4
%13 = load i32, ptr %3, align 4
%14 = load i32, ptr %4, align 4
%15 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13, i32 noundef %14)
ret i32 0
}
declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1
declare i32 @adjust_point(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
|
; ModuleID = '/tmp/tmp7go6iu69.c'
source_filename = "/tmp/tmp7go6iu69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hzf_put(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %5, align 4
br label %7
7: ; preds = %22, %2
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %10, %7
%16 = phi i1 [ false, %7 ], [ %14, %10 ]
br i1 %16, label %17, label %25
17: ; preds = %15
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i8, ptr %18, align 1
%21 = call i32 @putchar(i8 noundef signext %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %5, align 4
br label %7, !llvm.loop !6
25: ; preds = %15
br label %26
26: ; preds = %31, %25
%27 = load i32, ptr %5, align 4
%28 = icmp sgt i32 %27, 0
br i1 %28, label %29, label %34
29: ; preds = %26
%30 = call i32 @putchar(i8 noundef signext 32)
br label %31
31: ; preds = %29
%32 = load i32, ptr %5, align 4
%33 = add nsw i32 %32, -1
store i32 %33, ptr %5, align 4
br label %26, !llvm.loop !8
34: ; preds = %26
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmp7go6iu69.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64: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 @hzf_put(i32 noundef %0, ptr noundef %1) #0 {
%3 = alloca i32, align 4
%4 = alloca ptr, align 8
%5 = alloca i32, align 4
store i32 %0, ptr %3, align 4
store ptr %1, ptr %4, align 8
%6 = load i32, ptr %3, align 4
store i32 %6, ptr %5, align 4
br label %7
7: ; preds = %22, %2
%8 = load i32, ptr %5, align 4
%9 = icmp sgt i32 %8, 0
br i1 %9, label %10, label %15
10: ; preds = %7
%11 = load ptr, ptr %4, align 8
%12 = load i8, ptr %11, align 1
%13 = sext i8 %12 to i32
%14 = icmp ne i32 %13, 0
br label %15
15: ; preds = %10, %7
%16 = phi i1 [ false, %7 ], [ %14, %10 ]
br i1 %16, label %17, label %25
17: ; preds = %15
%18 = load ptr, ptr %4, align 8
%19 = getelementptr inbounds i8, ptr %18, i32 1
store ptr %19, ptr %4, align 8
%20 = load i8, ptr %18, align 1
%21 = call i32 @putchar(i8 noundef signext %20)
br label %22
22: ; preds = %17
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, -1
store i32 %24, ptr %5, align 4
br label %7, !llvm.loop !6
25: ; preds = %15
%26 = load i32, ptr %5, align 4
%27 = icmp sgt i32 %26, 0
br i1 %27, label %.lr.ph, label %35
.lr.ph: ; preds = %25
br label %28
28: ; preds = %.lr.ph, %30
%29 = call i32 @putchar(i8 noundef signext 32)
br label %30
30: ; preds = %28
%31 = load i32, ptr %5, align 4
%32 = add nsw i32 %31, -1
store i32 %32, ptr %5, align 4
%33 = load i32, ptr %5, align 4
%34 = icmp sgt i32 %33, 0
br i1 %34, label %28, label %._crit_edge, !llvm.loop !8
._crit_edge: ; preds = %30
br label %35
35: ; preds = %._crit_edge, %25
ret void
}
declare i32 @putchar(i8 noundef signext) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
!8 = distinct !{!8, !7}
|
; ModuleID = '/tmp/tmpqmn9a283.c'
source_filename = "/tmp/tmpqmn9a283.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
br label %6
6: ; preds = %22, %2
%7 = load i32, ptr %5, align 4
%8 = load i32, ptr %4, align 4
%9 = icmp slt i32 %7, %8
br i1 %9, label %10, label %25
10: ; preds = %6
%11 = load i32, ptr %5, align 4
%12 = load ptr, ptr %3, align 8
%13 = load i32, ptr %5, align 4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds i32, ptr %12, i64 %14
store i32 %11, ptr %15, align 4
%16 = load ptr, ptr %3, align 8
%17 = load i32, ptr %5, align 4
%18 = sext i32 %17 to i64
%19 = getelementptr inbounds i32, ptr %16, i64 %18
%20 = load i32, ptr %19, align 4
%21 = call i32 @printf(ptr noundef @.str, i32 noundef %20)
br label %22
22: ; preds = %10
%23 = load i32, ptr %5, align 4
%24 = add nsw i32 %23, 1
store i32 %24, ptr %5, align 4
br label %6, !llvm.loop !6
25: ; preds = %6
%26 = load ptr, ptr %3, align 8
%27 = call i32 @free(ptr noundef %26)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
| ; ModuleID = '<stdin>'
source_filename = "/tmp/tmpqmn9a283.c"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
@.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1
; Function Attrs: noinline nounwind sspstrong uwtable
define dso_local void @f(ptr noundef %0, i32 noundef %1) #0 {
%3 = alloca ptr, align 8
%4 = alloca i32, align 4
%5 = alloca i32, align 4
store ptr %0, ptr %3, align 8
store i32 %1, ptr %4, align 4
store i32 0, ptr %5, align 4
store i32 0, ptr %5, align 4
%6 = load i32, ptr %5, align 4
%7 = load i32, ptr %4, align 4
%8 = icmp slt i32 %6, %7
br i1 %8, label %.lr.ph, label %27
.lr.ph: ; preds = %2
br label %9
9: ; preds = %.lr.ph, %21
%10 = load i32, ptr %5, align 4
%11 = load ptr, ptr %3, align 8
%12 = load i32, ptr %5, align 4
%13 = sext i32 %12 to i64
%14 = getelementptr inbounds i32, ptr %11, i64 %13
store i32 %10, ptr %14, align 4
%15 = load ptr, ptr %3, align 8
%16 = load i32, ptr %5, align 4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32, ptr %15, i64 %17
%19 = load i32, ptr %18, align 4
%20 = call i32 @printf(ptr noundef @.str, i32 noundef %19)
br label %21
21: ; preds = %9
%22 = load i32, ptr %5, align 4
%23 = add nsw i32 %22, 1
store i32 %23, ptr %5, align 4
%24 = load i32, ptr %5, align 4
%25 = load i32, ptr %4, align 4
%26 = icmp slt i32 %24, %25
br i1 %26, label %9, label %._crit_edge, !llvm.loop !6
._crit_edge: ; preds = %21
br label %27
27: ; preds = %._crit_edge, %2
%28 = load ptr, ptr %3, align 8
%29 = call i32 @free(ptr noundef %28)
ret void
}
declare i32 @printf(ptr noundef, i32 noundef) #1
declare i32 @free(ptr noundef) #1
attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
!llvm.module.flags = !{!0, !1, !2, !3, !4}
!llvm.ident = !{!5}
!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{i32 7, !"frame-pointer", i32 2}
!5 = !{!"clang version 17.0.6"}
!6 = distinct !{!6, !7}
!7 = !{!"llvm.loop.mustprogress"}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.